/* =========================================================================
   DESIGN TOKENS — Blueprint & Site Drawing theme
   A civil engineering practice lives in two materials: the blueprint sheet
   (navy ground, cyan drafting lines, mono annotations) and the site itself
   (concrete, steel, brand red). The palette below pairs both.
   ========================================================================= */
:root {
    --navy:        #0B2A50;   /* blueprint ground */
    --navy-deep:   #091A2C;   /* darkest panels / footer */
    --cyan:        #6FB7E0;   /* drafting line / accent */
    --cyan-dim:    rgba(111, 183, 224, 0.28);
    --concrete:    #F1EEE7;   /* page background */
    --concrete-mid:#DFD9CC;   /* card / section alt background */
    --steel:       #4B5563;
    --charcoal:    #1B1F24;   /* body text */
    --orange:      #B8202F;   /* JU brand red — CTAs (from the logo) */
    --orange-dark: #8F1824;
    --white:       #FFFFFF;

    --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-body:    'Inter', 'Segoe UI', sans-serif;
    --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

    --radius: 3px;
    --container: 1180px;
}

/* =========================================================================
   RESET & BASE
   ========================================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--concrete);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Eyebrow / mono label — used like a drawing annotation */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--orange);
    display: inline-block;
}

/* =========================================================================
   DIMENSION-LINE DIVIDER — signature structural device
   Mimics the tick-marked dimension lines on an architectural drawing;
   used between major sections instead of a plain <hr>.
   ========================================================================= */
.dim-divider {
    position: relative;
    height: 34px;
    margin: 0 auto;
    max-width: var(--container);
    padding: 0 24px;
}
.dim-divider::before {
    content: "";
    position: absolute;
    left: 24px; right: 24px; top: 16px;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        var(--concrete-mid) 0, var(--concrete-mid) 6px,
        transparent 6px, transparent 12px
    );
}
.dim-divider::after {
    content: attr(data-label);
    position: absolute;
    left: 24px; top: 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--steel);
    background: var(--concrete);
    padding-right: 10px;
    text-transform: uppercase;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 13px 26px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
    background: var(--orange);
    color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); }
.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 14px; font-size: 0.72rem; }

/* =========================================================================
   TOPBAR + HEADER
   ========================================================================= */
.topbar {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.75);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--cyan); }
.topbar-links { display: flex; gap: 20px; }

.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}
.brand-mark {
    width: 42px; height: 42px;
    border: 1.5px solid var(--cyan);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.brand-text .name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.1;
}
.brand-text .tagline {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--cyan);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.main-nav ul { display: flex; gap: 34px; align-items: center; }
.main-nav a {
    color: rgba(255,255,255,0.82);
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}
.main-nav a::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width 0.2s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--white); }
.nav-cta { margin-left: 6px; }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    width: 42px; height: 38px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--navy);
        border-top: 1px solid rgba(255,255,255,0.08);
        padding: 10px 24px 24px;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; align-items: flex-start; gap: 6px; }
    .main-nav a { display: block; padding: 10px 0; width: 100%; }
    .nav-cta { margin-left: 0; margin-top: 8px; }
}

/* =========================================================================
   HERO — blueprint grid ground with a title-block corner tag
   ========================================================================= */
.hero {
    position: relative;
    background:
        linear-gradient(180deg, rgba(9,26,44,0.85) 0%, rgba(9,26,44,0.94) 100%),
        var(--navy);
    color: var(--white);
    overflow: hidden;
    padding: 96px 0 120px;
}
.hero::before {
    /* blueprint grid */
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--cyan-dim) 1px, transparent 1px),
        linear-gradient(90deg, var(--cyan-dim) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.35;
    mask-image: radial-gradient(ellipse 90% 70% at 30% 30%, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 30% 30%, black 30%, transparent 85%);
}
.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    max-width: 12ch;
}
.hero h1 .accent { color: var(--cyan); }
.hero-lead {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.78);
    max-width: 46ch;
}
.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.hero-stats .stat-num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    color: var(--white);
    font-weight: 700;
}
.hero-stats .stat-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan);
}

/* the "title block" panel — mimics the corner info box on a real drawing sheet */
.title-block {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(111,183,224,0.4);
    border-radius: var(--radius);
    overflow: hidden;
}
.title-block img { width: 100%; height: 320px; object-fit: cover; display: block; }
.title-block-meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.75);
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.title-block-meta div {
    padding: 10px 14px;
    border-top: 1px solid rgba(111,183,224,0.25);
    border-right: 1px solid rgba(111,183,224,0.25);
}
.title-block-meta div:nth-child(even) { border-right: none; }
.title-block-meta span { display: block; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.62rem; margin-bottom: 3px;}

@media (max-width: 860px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero { padding: 56px 0 72px; text-align: left; }
}

/* =========================================================================
   SECTION SHELLS
   ========================================================================= */
.section { padding: 84px 0; }
.section-alt { background: var(--concrete-mid); }
.section-dark { background: var(--navy); color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-dark .section-head p,
.section-dark .eyebrow { color: rgba(255,255,255,0.75); }

/* =========================================================================
   SERVICES GRID / CARDS
   ========================================================================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--concrete-mid);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15,42,71,0.14);
}
.service-card .thumb { position: relative; height: 190px; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .thumb .tag {
    position: absolute; top: 12px; left: 12px;
    background: var(--navy);
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: var(--radius);
}
.service-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service-card p { color: var(--steel); font-size: 0.92rem; flex: 1; }
.service-card .more {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--orange);
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.service-card .more::after { content: "→"; transition: transform 0.2s ease; }
.service-card:hover .more::after { transform: translateX(4px); }

/* =========================================================================
   PROCESS / NUMBERED STEPS (real sequence: our build process)
   ========================================================================= */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .process-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process-list { grid-template-columns: 1fr; } }
.process-step {
    border-top: 2px solid var(--orange);
    padding-top: 16px;
}
.process-step .num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--orange);
    letter-spacing: 0.08em;
}
.process-step h4 { margin-top: 8px; font-size: 1.02rem; }
.process-step p { color: var(--steel); font-size: 0.9rem; margin-bottom: 0; }

/* =========================================================================
   ABOUT / SPLIT SECTIONS
   ========================================================================= */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split img { border-radius: var(--radius); width: 100%; height: 420px; object-fit: cover; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--concrete-mid);
    border-bottom: 1px solid var(--concrete-mid);
    margin: 8px 0 0;
}
.stat-strip > div {
    padding: 22px 20px;
    border-right: 1px solid var(--concrete-mid);
}
.stat-strip > div:last-child { border-right: none; }
.stat-strip .stat-num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--navy); }
.stat-strip .stat-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel); }
@media (max-width: 640px) { .stat-strip { grid-template-columns: 1fr 1fr; } .stat-strip > div:nth-child(2) { border-right: none; } }

/* =========================================================================
   GALLERY (used on home + services)
   ========================================================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.gallery-grid a { display: block; overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid a:hover img { transform: scale(1.08); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   BLOG
   ========================================================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: var(--white); border: 1px solid var(--concrete-mid); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.blog-card .thumb { height: 180px; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card .meta { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.blog-card p { color: var(--steel); font-size: 0.9rem; flex: 1; }
.blog-card .read-more { font-family: var(--font-mono); font-size: 0.78rem; color: var(--navy); margin-top: 10px; }

.post-header { padding: 56px 0 32px; background: var(--navy); color: var(--white); }
.post-header .meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.post-header h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 24ch; }
.post-hero-img { width: 100%; max-height: 460px; object-fit: cover; }
.post-body { max-width: 760px; margin: 0 auto; padding: 56px 24px; }
.post-body p, .post-body li { color: var(--charcoal); font-size: 1.02rem; }
.post-body h2, .post-body h3 { margin-top: 1.6em; }
.post-body ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.post-body ul li { margin-bottom: 6px; }

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta-band {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::after {
    content: "";
    position: absolute; right: -60px; top: -60px;
    width: 260px; height: 260px;
    border: 1px solid rgba(111,183,224,0.25);
    border-radius: 50%;
}
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; position: relative; }
.cta-band h2 { font-size: 1.6rem; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.72); margin-bottom: 0; }

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info-card {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 32px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-item { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-info-item:first-of-type { border-top: none; }
.contact-info-item .ico { color: var(--cyan); font-family: var(--font-mono); }
.contact-info-item span { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cyan); font-family: var(--font-mono); margin-bottom: 3px; }

.form-card { background: var(--white); border: 1px solid var(--concrete-mid); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--steel);
    margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--concrete-mid);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--concrete);
    color: var(--charcoal);
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--navy);
    background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.92rem; }
.alert-success { background: #E4F4E9; color: #1E5B34; border: 1px solid #B5DEC2; }
.alert-error { background: #FBE7E2; color: #8A2A0F; border: 1px solid #F1BFAE; }

.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 24px; border: 1px solid var(--concrete-mid); }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); margin-bottom: 18px; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer .brand .name { color: var(--white); }
.site-footer p { font-size: 0.9rem; color: rgba(255,255,255,0.55); }
.footer-links li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255,255,255,0.45);
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    right: 22px; bottom: 22px;
    width: 56px; height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 60;
    color: var(--white);
    font-size: 1.5rem;
}
.whatsapp-float:hover { filter: brightness(1.05); }

/* =========================================================================
   PAGE HEADER (inner pages: services / about / blog / contact)
   ========================================================================= */
.page-header {
    background: var(--navy);
    color: var(--white);
    padding: 70px 0 46px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--cyan-dim) 1px, transparent 1px),
        linear-gradient(90deg, var(--cyan-dim) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.25;
}
.page-header .container { position: relative; }
.page-header .breadcrumb { font-family: var(--font-mono); font-size: 0.75rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.page-header h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,0.72); max-width: 60ch; margin-bottom: 0; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }


/* =========================================================================
   JU ROOF DESIGNERS — brand additions
   ========================================================================= */
.brand-logo { height: 46px; width: auto; display: block; flex-shrink: 0; }
.site-footer .brand-logo { height: 54px; }

/* logo plate inside the hero title block — a white "drawing sheet" stamp */
.title-block .title-block-logo { background: #fff; padding: 26px 22px 18px; }
.title-block .title-block-logo img { width: 100%; height: auto; max-height: 300px; object-fit: contain; }

/* turnkey band on the home page */
.turnkey-band { background: var(--navy-deep); color: var(--white); padding: 56px 0; border-top: 3px solid var(--orange); }
.turnkey-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.turnkey-band h2 { color: var(--white); margin-bottom: 8px; }
.turnkey-band p { color: rgba(255,255,255,0.78); max-width: 62ch; margin-bottom: 0; }

/* service detail page */
.service-hero-img { display: block; width: 100%; max-width: 980px; height: 380px; object-fit: cover; margin: 40px auto 0; border-radius: var(--radius); }
.service-layout { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.service-layout .post-body { padding-left: 0; padding-right: 0; max-width: 760px; margin: 0; }
.post-body h2 { font-size: 1.5rem; }
.post-body h3 { font-size: 1.15rem; }
.other-services { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.other-services a { border: 1px solid var(--concrete-mid); background: #fff; padding: 8px 14px; border-radius: var(--radius); font-size: 0.9rem; color: var(--navy); }
.other-services a:hover { border-color: var(--orange); color: var(--orange); }
.login-card .brand-logo { height: 64px; margin-bottom: 14px; }
.admin-brand .brand-logo { height: 40px; }
@media (max-width: 640px) { .service-hero-img { height: 240px; } .turnkey-band .container { flex-direction: column; align-items: flex-start; } }

/* brand fixes: legibility of the red accent on navy, header lockup, headline width */
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-text .tagline { font-size: 0.62rem; }
.hero .eyebrow, .page-header .eyebrow { color: var(--cyan); }
.hero .eyebrow::before, .page-header .eyebrow::before { background: var(--cyan); }
.hero h1 { max-width: 17ch; }
.brand-logo { height: 52px; }
.service-layout { padding: 0; }
@media (max-width: 1010px) { .service-layout { padding: 0 24px; } .service-hero-img { width: calc(100% - 48px); } }

/* =========================================================================
   v3 — full logo at top-left (light header) + horizontal service cards
   ========================================================================= */
.site-header { background: #fff; border-bottom: 1px solid var(--concrete-mid); box-shadow: 0 2px 10px rgba(11,42,80,0.06); }
.site-header .container { padding-top: 8px; padding-bottom: 8px; }
.brand-logo-full { height: 70px; width: auto; display: block; }
.main-nav a { color: var(--navy); }
.main-nav a.active { color: var(--orange); }
.nav-toggle { border-color: var(--navy); color: var(--navy); }
@media (max-width: 900px) {
    .brand-logo-full { height: 58px; }
    .main-nav { background: #fff; border-top: 1px solid var(--concrete-mid); box-shadow: 0 12px 24px rgba(11,42,80,0.12); }
}

/* services: photo on the left, details on the right, shorter photo */
.card-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 960px) { .card-grid { grid-template-columns: 1fr; } }
.card-grid .service-card { flex-direction: row; align-items: stretch; }
.card-grid .service-card .thumb { flex: 0 0 40%; height: auto; min-height: 150px; }
.card-grid .service-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-grid .service-card .body { padding: 18px 20px; justify-content: center; }
.card-grid .service-card h3 { font-size: 1.05rem; }
.card-grid .service-card p { flex: 0 1 auto; font-size: 0.88rem; margin-bottom: 0; }
@media (max-width: 560px) {
    .card-grid .service-card .thumb { flex-basis: 36%; min-height: 140px; }
    .card-grid .service-card .thumb .tag { display: none; }
    .card-grid .service-card .body { padding: 14px; }
    .card-grid .service-card h3 { font-size: 0.98rem; }
    .card-grid .service-card p { font-size: 0.82rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}
.main-nav .btn-primary, .main-nav .btn-primary:hover { color: #fff; }
.main-nav .btn-primary::after { display: none; }
.service-card .thumb .tag { z-index: 2; }
.title-block .title-block-photo { height: 300px; }
.title-block .title-block-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }


/* =========================================================================
   v4 — PROFESSIONAL POLISH (header, buttons, typography, footer)
   ========================================================================= */
body { font-size: 16px; color: #1f2937; }
h1, h2, h3, h4 { color: var(--navy); }
.hero h1, .page-header h1, .turnkey-band h2, .cta-band h2, .site-footer h4 { color: #fff; }

/* buttons: clean sans-serif instead of monospace */
.btn { font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em; border-radius: 6px; padding: 13px 28px; white-space: nowrap; }
.btn-primary { box-shadow: 0 6px 16px rgba(184,32,47,0.28); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(184,32,47,0.36); }
.btn-sm { padding: 10px 20px; font-size: 0.78rem; }

/* eyebrow labels */
.eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.16em; }

/* top bar */
.topbar { background: var(--navy); font-family: var(--font-body); font-size: 0.8rem; color: rgba(255,255,255,0.85); }
.topbar .container { padding-top: 9px; padding-bottom: 9px; }
.topbar-links { gap: 26px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar-meta { color: rgba(255,255,255,0.8); }
@media (max-width: 760px) { .topbar-meta { display: none; } .topbar .container { justify-content: center; } }

/* header: white, logo sized properly, nav on one line */
.site-header { background: #fff; box-shadow: 0 2px 14px rgba(11,42,80,0.08); }
.site-header .container { padding-top: 10px; padding-bottom: 10px; gap: 24px; flex-wrap: nowrap; }
.brand { flex-shrink: 0; }
.brand-logo-full { height: 64px; width: auto; max-width: none; }
.main-nav ul { gap: 30px; flex-wrap: nowrap; }
.main-nav a { white-space: nowrap; font-size: 0.93rem; font-weight: 600; color: var(--navy); }
.main-nav a.active { color: var(--orange); }
.main-nav a::after { background: var(--orange); }
.nav-cta { margin-left: 8px; }
.main-nav .btn-primary { color: #fff; }
@media (max-width: 1060px) { .main-nav ul { gap: 20px; } .main-nav a { font-size: 0.88rem; } }
@media (max-width: 900px) {
    .site-header .container { flex-wrap: wrap; }
    .brand-logo-full { height: 52px; }
    .main-nav { left: 0; right: 0; }
    .main-nav a { font-size: 1rem; }
}

/* hero */
.hero { padding: 88px 0 104px; background: linear-gradient(135deg, #08213f 0%, #0B2A50 55%, #123a6b 100%); }
.hero h1 { max-width: 16ch; font-weight: 700; letter-spacing: -0.02em; }
.hero-lead { color: rgba(255,255,255,0.85); }
.hero-stats { padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14); gap: 40px; }
.hero-stats .stat-label { font-family: var(--font-body); font-weight: 600; }
.title-block { border-radius: 10px; border-color: rgba(255,255,255,0.18); box-shadow: 0 24px 50px rgba(0,0,0,0.35); }
.title-block-meta { font-family: var(--font-body); }
.title-block-meta span { font-family: var(--font-body); font-weight: 700; }

/* section rhythm + cards */
.section { padding: 88px 0; }
.section-head { max-width: 680px; }
.section-head h2 { font-weight: 700; letter-spacing: -0.015em; }
.section-head p { color: var(--steel); }
.service-card, .blog-card, .contact-info-card, .form-card { border-radius: 10px; }
.service-card { box-shadow: 0 2px 10px rgba(11,42,80,0.06); }
.service-card .thumb .tag { font-family: var(--font-body); font-weight: 700; border-radius: 4px; background: rgba(11,42,80,0.92); }
.service-card .more, .blog-card .read-more { font-family: var(--font-body); font-weight: 700; color: var(--orange); }
.gallery-grid img { border-radius: 8px; }
.process-step .num { font-family: var(--font-body); font-weight: 700; color: var(--orange); }

/* inner page headers */
.page-header { background: linear-gradient(135deg, #08213f 0%, #0B2A50 100%); padding: 64px 0 48px; }
.page-header .breadcrumb { font-family: var(--font-body); font-weight: 600; }

/* contact + forms */
.field label { font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; }
.field input, .field textarea, .field select { border-radius: 6px; padding: 13px 14px; }
.contact-info-item span { font-family: var(--font-body); font-weight: 600; }

/* footer */
.site-footer { background: #08182b; padding-top: 72px; }
.site-footer h4 { font-family: var(--font-body); font-weight: 700; letter-spacing: 0.1em; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: #fff; }
.footer-tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); margin: 4px 0 16px; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,0.75); }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.92rem; line-height: 1.5; color: rgba(255,255,255,0.75); }
.footer-contact li span { flex: 0 0 20px; }
.footer-bottom { font-family: var(--font-body); font-size: 0.8rem; }

/* WhatsApp floating button */
.whatsapp-float { width: 58px; height: 58px; }
.main-nav .nav-cta a.btn { padding: 11px 24px; font-size: 0.78rem; }
.main-nav .nav-cta a.btn::after { display: none; }
@media (max-width: 900px) { .main-nav .nav-cta a.btn { display: inline-flex; width: auto; } }

/* ---- service detail page: rich sections + FAQ ---- */
.service-layout { max-width: 1040px; }
.service-layout .post-body { max-width: 820px; font-size: 1.05rem; line-height: 1.8; padding-top: 36px; }
.service-layout .post-body p { color: #374151; }
.service-hero-img { max-width: 1040px; height: 420px; border-radius: 12px; box-shadow: 0 18px 40px rgba(11,42,80,0.18); }
.svc-block { margin-top: 56px; }
.svc-block > h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.svc-block > h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--orange); border-radius: 2px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--concrete-mid); border-radius: 10px; padding: 20px; box-shadow: 0 2px 10px rgba(11,42,80,0.05); }
.svc-tick { flex: 0 0 36px; height: 36px; border-radius: 50%; background: rgba(184,32,47,0.1); color: var(--orange); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.svc-item h3 { font-size: 1.02rem; margin: 0 0 4px; }
.svc-item p { margin: 0; color: var(--steel); font-size: 0.93rem; line-height: 1.55; }
.svc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-step { background: var(--navy); color: #fff; border-radius: 10px; padding: 24px 20px; }
.svc-step span { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--cyan); display: block; margin-bottom: 6px; }
.svc-step h3 { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.svc-step p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.55; }
.svc-why { background: #fff; border: 1px solid var(--concrete-mid); border-radius: 12px; padding: 32px; }
.svc-why ul { margin: 0 0 24px; display: grid; gap: 12px; }
.svc-why li { padding-left: 28px; position: relative; color: #374151; }
.svc-why li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--concrete-mid); border-radius: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange); transition: transform .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--concrete-mid); }
.faq-item p { margin: 0; padding: 16px 22px 20px; color: #4b5563; line-height: 1.7; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } .svc-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-steps { grid-template-columns: 1fr; } .service-hero-img { height: 240px; } .svc-why { padding: 22px; } }

/* =========================================================================
   OUR TEAM (about.php) — profile rows with framed portraits
   ========================================================================= */
.team-list { display: flex; flex-direction: column; gap: 72px; }
.team-row {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 56px;
    align-items: start;
}
.team-row:nth-child(even) { grid-template-columns: 1fr 340px; }
.team-row:nth-child(even) .team-photo { order: 2; }
.team-photo { position: relative; }
.team-photo::before {               /* blueprint-style offset frame */
    content: "";
    position: absolute;
    inset: 14px -14px -14px 14px;
    border: 2px solid var(--cyan);
    border-radius: var(--radius);
    z-index: 0;
}
.team-row:nth-child(even) .team-photo::before { inset: 14px 14px -14px -14px; }
.team-photo img {
    position: relative; z-index: 1;
    display: block;
    width: 100%; height: auto;
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(11, 42, 80, 0.18);
}
.team-photo .team-flag {
    position: absolute; z-index: 2; left: 0; bottom: 22px;
    background: var(--orange); color: var(--white);
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 7px 14px 7px 12px;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.team-info h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 4px; color: var(--navy); }
.team-role {
    font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.04em;
    color: var(--orange); margin-bottom: 16px; display: block;
}
.team-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.team-tags span {
    font-size: 0.76rem; font-weight: 600; color: var(--navy);
    background: var(--white); border: 1px solid var(--concrete-mid);
    padding: 4px 12px; border-radius: 999px;
}
.team-info p { color: var(--steel); }
.team-more { margin-top: 4px; }
.team-more summary {
    cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--navy);
    list-style: none; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.team-more summary::-webkit-details-marker { display: none; }
.team-more summary::after { content: "+"; font-size: 1.2rem; line-height: 1; color: var(--orange); }
.team-more[open] summary::after { content: "–"; }
.team-more summary:hover { color: var(--orange); }
.team-quote {
    margin: 22px 0 0; padding: 18px 22px;
    background: var(--navy); color: var(--white);
    border-left: 4px solid var(--orange); border-radius: var(--radius);
    font-size: 1rem; line-height: 1.6;
}
.team-quote small {
    display: block; margin-top: 8px; color: var(--cyan);
    font-family: var(--font-mono); font-size: 0.78rem;
}
@media (max-width: 860px) {
    .team-list { gap: 56px; }
    .team-row,
    .team-row:nth-child(even) { grid-template-columns: 1fr; gap: 36px; }
    .team-row:nth-child(even) .team-photo { order: 0; }
    .team-photo { max-width: 340px; margin: 0 auto 0 0; width: calc(100% - 14px); }
    .team-photo::before,
    .team-row:nth-child(even) .team-photo::before { inset: 12px -12px -12px 12px; }
}

/* Fallback monogram shown when a logo file is missing */
.logo-fallback { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 6px; background: var(--navy); color: #fff; font: 700 1.1rem var(--font-display); letter-spacing: .02em; flex-shrink: 0; }
.admin-brand .logo-fallback { background: transparent; border: 1.5px solid var(--cyan); color: var(--cyan); width: 40px; height: 40px; }
.login-card .logo-fallback { width: 56px; height: 56px; margin-bottom: 14px; }
