/* ============================================================================
   Sri Vinayaga Mills — marketing site stylesheet (v2: edge-to-edge, modern)
   Single file. Mobile-first. Token-driven. No frameworks.
============================================================================ */

:root {
    /* Brand */
    --primary:        #1b5e20;
    --primary-dark:   #0e3d12;
    --primary-light:  #2e7d32;
    --primary-pale:   #e8f5e9;

    /* Neutrals */
    --black:          #0a0a0a;
    --ink:            #111827;
    --slate:          #1f2937;
    --gray:           #6b7280;
    --gray-light:     #d1d5db;
    --paper:          #fafaf7;
    --soft:           #f4f4ef;
    --border:         #e5e7eb;
    --white:          #ffffff;

    /* Layout — fluid, edge-to-edge friendly */
    --container:      1320px;
    --container-wide: 1560px;
    --gutter:         max(1.5rem, 5vw);
    --header-h:       88px;
    --radius:         10px;
    --radius-lg:      18px;

    /* Type scale (fluid, clamps to viewport) */
    --t-eyebrow:      0.78rem;
    --t-sm:           0.92rem;
    --t-base:         1rem;
    --t-lg:           1.1rem;
    --t-xl:           clamp(1.25rem, 1.5vw, 1.5rem);
    --t-h3:           clamp(1.35rem, 1.8vw, 1.65rem);
    --t-h2:           clamp(2rem, 3.6vw, 3rem);
    --t-display:      clamp(2.8rem, 7vw, 6rem);

    --shadow-sm:      0 1px 2px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.05);
    --shadow:         0 4px 24px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.05);
    --shadow-lg:      0 24px 60px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);

    --easing:         cubic-bezier(.2, 0, 0, 1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .2s var(--easing); }
a:hover { color: var(--primary-dark); }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.08; color: var(--black); margin: 0 0 .4em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: var(--t-display); font-weight: 900; letter-spacing: -.035em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 700; letter-spacing: -.015em; }
p  { margin: 0 0 1em; color: var(--slate); }
.lead { font-size: var(--t-lg); color: var(--slate); }
.muted { color: var(--gray); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: var(--t-eyebrow); font-weight: 600; color: var(--primary);
    letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2em;
}
.eyebrow::before {
    content: ''; width: 1.5rem; height: 1px; background: currentColor;
}

/* ── Containers ── */
.container       { width: 100%; max-width: var(--container);      margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter); }
.container--bleed{ width: 100%; padding: 0 var(--gutter); }   /* full bleed with side padding only */

.section            { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--tight     { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--soft      { background: var(--soft); }
.section--ink       { background: var(--black); color: rgba(255,255,255,.8); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255,255,255,.75); }
.section--ink .eyebrow { color: var(--primary-light); }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .95rem 1.65rem; font-weight: 600; font-size: var(--t-sm);
    border-radius: 999px; border: 1px solid transparent; cursor: pointer;
    transition: all .2s var(--easing); white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ink { background: var(--black); color: #fff; }
.btn-ink:hover { background: #1d1d1d; color: #fff; transform: translateY(-1px); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ============================================================================
   Header — compact, refined, sticky-transparent over hero
============================================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: background .3s var(--easing), border-color .3s var(--easing), box-shadow .3s var(--easing);
}
.site-header--over { background: transparent; border-bottom-color: transparent; }
.site-header--over .brand-name,
.site-header--over .brand-sub { color: #fff; }
.site-header--over .site-nav a { color: rgba(255,255,255,.92); }
.site-header--over .site-nav a:hover,
.site-header--over .site-nav a[aria-current="page"] { color: #fff; }
.site-header--over .cta-phone { color: #fff; }
.site-header--over .nav-toggle span { background: #fff; }

/* When scrolled, force solid look even on home.
   NOTE: NO `backdrop-filter` here — it creates a containing block that
   traps the fixed-position .site-nav drawer inside the header, causing
   the mobile drawer to render behind page content after scrolling. */
.site-header.scrolled,
.site-header.scrolled.site-header--over {
    background: var(--white);
    border-bottom-color: var(--border);
    box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.site-header.scrolled .brand-name,
.site-header.scrolled .brand-sub { color: var(--black); }
.site-header.scrolled .site-nav a { color: var(--ink); }
.site-header.scrolled .cta-phone { color: var(--ink); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

body { padding-top: var(--header-h); }
body[data-page="home"] { padding-top: 0; }   /* hero sits under transparent header on home */

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-h); gap: 1.5rem; padding: 0 var(--gutter);
    max-width: var(--container-wide); margin: 0 auto;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: auto; height: 76px; flex-shrink: 0; transition: filter .3s var(--easing); }
/* When header is transparent over the hero, give the dark logo a soft glow
   so it pops against the dark video overlay without changing its colours. */
.site-header--over:not(.scrolled) .brand img {
    filter:
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.55))
        drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}
/* Brand name visible on ALL widths now (was hidden under 1100px). Slightly
   smaller on mobile so it fits beside the logo + hamburger. */
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: .9rem; color: var(--black); letter-spacing: -.005em; }
.brand-sub  { font-size: .65rem; color: var(--gray); letter-spacing: .12em; text-transform: uppercase; margin-top: .15rem; }
@media (min-width: 700px) {
    .brand-name { font-size: 1rem; }
    .brand-sub  { font-size: .72rem; }
}
/* When over the hero, brand text is white */
.site-header--over:not(.scrolled) .brand-name { color: #fff; }
.site-header--over:not(.scrolled) .brand-sub  { color: rgba(255,255,255,.75); }

/* Mobile toggle */
.nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0;
    padding: 8px; cursor: pointer; width: 40px; height: 40px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--easing), opacity .2s var(--easing); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav drawer (mobile) — green panel for contrast against white headers */
.site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 999;
    background: var(--primary-dark);
    transform: translateX(100%); transition: transform .3s var(--easing);
    padding: 2.5rem var(--gutter); overflow-y: auto;
}
body.nav-open .site-nav { transform: translateX(0); }
.site-nav ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: .25rem;
}
.site-nav a {
    display: block; padding: 1rem 0; color: rgba(255,255,255,.88); font-weight: 600; font-size: 1.5rem;
    letter-spacing: -.01em; border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; padding-left: .35rem; }

/* CTA cluster */
.header-cta { display: none; align-items: center; gap: .65rem; }
.cta-phone {
    display: inline-flex; align-items: center; gap: .45rem;
    color: var(--ink); font-weight: 600; font-size: .88rem;
    padding: .4rem .6rem;
    transition: color .2s var(--easing);
}
.cta-phone svg { color: var(--primary); flex-shrink: 0; }
.cta-phone:hover { color: var(--primary); }
.cta-wa {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: #25d366; color: #fff;
    transition: transform .15s var(--easing), background .2s var(--easing);
}
.cta-wa:hover { background: #1ebd5b; transform: scale(1.05); color: #fff; }
@media (min-width: 700px) { .header-cta { display: inline-flex; } }

/* Desktop nav */
@media (min-width: 960px) {
    .nav-toggle { display: none; }
    .site-nav {
        position: static; transform: none; padding: 0; background: transparent; overflow: visible;
        flex: 1; display: flex; justify-content: center;
    }
    .site-nav ul { flex-direction: row; gap: .25rem; }
    .site-nav a {
        padding: .5rem 1rem; border: 0; font-size: .9rem; font-weight: 500;
        letter-spacing: 0; position: relative;
        color: var(--ink);   /* default: dark text on white header (inner pages) */
    }
    .site-nav a:hover { color: var(--primary); }
    .site-nav a[aria-current="page"] { color: var(--primary); }
    .site-nav a[aria-current="page"]::after {
        content: ''; position: absolute; left: 1rem; right: 1rem; bottom: -2px;
        height: 2px; background: var(--primary);
    }
    /* Over the hero (homepage, not scrolled): force white nav links */
    .site-header--over:not(.scrolled) .site-nav a { color: rgba(255,255,255,.92); }
    .site-header--over:not(.scrolled) .site-nav a:hover,
    .site-header--over:not(.scrolled) .site-nav a[aria-current="page"] { color: #fff; }
}

/* ============================================================================
   Landing — hero + stats fit one viewport (100vh)
============================================================================ */
.landing {
    min-height: 100vh; display: flex; flex-direction: column; background: var(--black);
}
.landing .hero {
    flex: 1 1 auto;
    min-height: 60vh;
    padding-bottom: clamp(2rem, 5vh, 3.5rem);
}
.landing .stats-band { flex: 0 0 auto; padding: clamp(1.25rem, 3vh, 2.25rem) 0; }
.landing .hero-scroll { bottom: .8rem; }

/* ============================================================================
   Hero — full-bleed video/image, left-aligned content
============================================================================ */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: flex-end;
    color: #fff; overflow: hidden; background: var(--black);
    padding: 0 0 clamp(3rem, 8vh, 6rem);
}
.hero--short { min-height: 65vh; align-items: center; padding: 0; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
    content: ''; position: absolute; inset: 0;
    background:
        /* Uniform dark-grey wash at ~48% — drops the video to roughly half visible
           for the premium muted look (no longer raw / over-bright). */
        linear-gradient(0deg, rgba(18, 22, 30, 0.48), rgba(18, 22, 30, 0.48)),
        /* Small bottom vignette — adds contrast for the headline + buttons. */
        linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.35) 100%);
}
.hero-content {
    position: relative; z-index: 1; max-width: 880px;
    margin-left: 0;
}
.hero h1 {
    color: #fff; margin-bottom: 1.2rem;
    text-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.hero h1 .accent { color: var(--primary-light); font-style: italic; font-weight: 700; }
.hero p {
    color: rgba(255,255,255,.88); font-size: var(--t-lg); margin-bottom: 2.5rem; max-width: 560px;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Scroll cue */
.hero-scroll {
    position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
    z-index: 1; color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero-scroll::after {
    content: ''; width: 1px; height: 32px; background: linear-gradient(180deg, currentColor, transparent);
    animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop { 0% { transform: translateY(-6px); opacity: .4 } 50% { opacity: 1 } 100% { transform: translateY(6px); opacity: .4 } }
/* Hide scroll cue on mobile — it overlaps the hero buttons */
@media (max-width: 760px) { .hero-scroll { display: none; } }

/* Inner page banner variant — compact (~20vh on mobile, ~30vh on desktop) */
.banner {
    position: relative; min-height: 28vh; display: flex; align-items: center;
    color: #fff; overflow: hidden; background: var(--black);
    padding: clamp(2rem, 5vh, 3.5rem) 0;
}
@media (min-width: 800px) { .banner { min-height: 38vh; } }
.banner-media { position: absolute; inset: 0; z-index: 0; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; }
.banner-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 70%); }
.banner-content { position: relative; z-index: 1; }
.banner h1 { color: #fff; font-size: clamp(1.7rem, 5.5vw, 3.5rem); margin-bottom: .5rem; }
.banner p { color: rgba(255,255,255,.85); font-size: 1rem; margin: 0; }
@media (min-width: 800px) { .banner p { font-size: var(--t-lg); } }

/* ============================================================================
   Stats band — edge-to-edge dark strip
============================================================================ */
.stats-band {
    background: var(--black); color: #fff;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.stats-band .container--wide {
    display: grid; gap: 2rem;
    grid-template-columns: 1fr 1fr;
}
@media (min-width: 720px) { .stats-band .container--wide { grid-template-columns: repeat(4, 1fr); } }
.stat { border-left: 1px solid rgba(255,255,255,.15); padding-left: 1.5rem; }
@media (max-width: 719px) { .stat:nth-child(odd) { border-left: 0; padding-left: 0; } }
.stat-value { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; color: var(--primary-light); line-height: 1; letter-spacing: -.03em; }
.stat-label { font-size: .82rem; color: rgba(255,255,255,.65); margin-top: .65rem; letter-spacing: .04em; }

/* ============================================================================
   Split sections (image + text)
============================================================================ */
.split {
    display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .split { grid-template-columns: 1.05fr 1fr; }
    .split--reverse { grid-template-columns: 1fr 1.05fr; }
    .split--reverse > :first-child { order: 2; }
}
.split-media { position: relative; }
.split-media img {
    width: 100%; aspect-ratio: 4/5; object-fit: cover;
    border-radius: var(--radius-lg);
}
.split-list {
    list-style: none; padding: 0; margin: 1.5rem 0 0;
    display: grid; gap: .85rem;
}
.split-list li {
    position: relative; padding-left: 1.75rem; font-size: var(--t-base); color: var(--slate);
}
.split-list li::before {
    content: ''; position: absolute; left: 0; top: .5em;
    width: 12px; height: 12px; border: 2px solid var(--primary); border-radius: 50%;
}

/* ============================================================================
   Service cards
============================================================================ */
.service-grid {
    display: grid; gap: .75rem;
    grid-template-columns: repeat(2, 1fr);   /* 2 cols on mobile by default */
}
@media (min-width: 700px)  { .service-grid { gap: 1.25rem; } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 3/4; color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.75rem;
    text-decoration: none;
    transition: transform .35s var(--easing);
}
.service-card::before {
    content: ''; position: absolute; inset: 0;
    background-image: var(--bg); background-size: cover; background-position: center;
    transition: transform .8s var(--easing);
    z-index: 0;
}
.service-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.85) 100%);
    z-index: 1;
}
.service-card > * { position: relative; z-index: 2; color: #fff; }
.service-card:hover { color: #fff; transform: translateY(-4px); }
.service-card:hover::before { transform: scale(1.06); }
.service-card .num { font-size: .8rem; opacity: .65; letter-spacing: .14em; text-transform: uppercase; margin-bottom: auto; }
.service-card h3 { color: #fff; margin: 0 0 .5rem; font-size: 1.4rem; }
.service-card p { color: rgba(255,255,255,.82); font-size: .9rem; margin: 0; }
.service-card .arrow { display: inline-flex; margin-top: 1rem; font-weight: 600; font-size: .85rem; }

/* On mobile, hide the eyebrow number + "Learn more" arrow so each card
   stays clean: just title + 1-line description. */
@media (max-width: 700px) {
    .service-card { padding: 1.25rem; aspect-ratio: 4/5; }
    .service-card .num,
    .service-card .arrow { display: none; }
    .service-card h3 { font-size: 1.05rem; line-height: 1.15; }
    .service-card p { font-size: .82rem; line-height: 1.4; }
}

/* ============================================================================
   Gallery teaser strip (homepage) — 4 wide cards, no max-width
============================================================================ */
.gallery-strip {
    display: grid; gap: 2px;
    grid-template-columns: repeat(2, 1fr);   /* 2 cols on mobile */
}
@media (min-width: 1100px) { .gallery-strip { grid-template-columns: repeat(4, 1fr); } }
.gallery-strip-item {
    position: relative; aspect-ratio: 4/5; overflow: hidden; color: #fff;
    text-decoration: none; display: block;
}
.gallery-strip-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .8s var(--easing);
}
.gallery-strip-item::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.85) 100%);
}
.gallery-strip-item:hover img { transform: scale(1.06); }
.gallery-strip-item .label {
    position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; z-index: 2;
    color: #fff; font-weight: 600; font-size: 1rem;
    display: flex; justify-content: space-between; align-items: center;
}
.gallery-strip-item .label::after { content: '→'; opacity: .7; transition: transform .25s var(--easing); }
.gallery-strip-item:hover .label::after { transform: translateX(4px); }

/* ============================================================================
   Process steps
============================================================================ */
.steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px)  { .steps { gap: 2rem; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 0; position: relative; }
.step::before {
    content: ''; display: block; width: 100%; height: 1px; background: var(--border); margin-bottom: 1.5rem;
}
.step-num { font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -.04em; margin-bottom: 1rem; }
.step h3 { color: var(--black); font-size: 1.15rem; margin-bottom: .65rem; }
.step p { color: var(--slate); font-size: .92rem; margin: 0; }

/* ============================================================================
   Testimonials
============================================================================ */
.testimonials { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px)  { .testimonials { gap: 1.5rem; } }
@media (min-width: 1100px) { .testimonials { grid-template-columns: repeat(4, 1fr); } }
.testimonial {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.75rem;
}
.testimonial-stars { color: #f59e0b; margin-bottom: 1rem; letter-spacing: .15em; }
.testimonial-text { font-size: .95rem; color: var(--ink); margin: 0 0 1.25rem; line-height: 1.6; }
.testimonial-author { font-weight: 700; color: var(--black); font-size: .92rem; }
.testimonial-role { font-size: .82rem; color: var(--gray); margin-top: .1rem; }

/* ============================================================================
   CTA band — dark, edge-to-edge
============================================================================ */
.cta-strip {
    background: var(--black); color: #fff;
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    position: relative; overflow: hidden;
}
.cta-strip::before {
    content: ''; position: absolute; inset: 0;
    background-image: url('/assets/img/drone-01.jpg'); background-size: cover; background-position: center;
    opacity: .15;
}
.cta-strip .container { position: relative; }
.cta-strip-inner {
    display: grid; gap: 2rem; grid-template-columns: 1fr;
}
@media (min-width: 800px) { .cta-strip-inner { grid-template-columns: 2.5fr 1fr; align-items: center; } }
.cta-strip h2 { color: #fff; max-width: 16ch; }
.cta-strip p { color: rgba(255,255,255,.75); margin: 0; }
.cta-strip-actions { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 500px) { .cta-strip-actions { flex-direction: row; flex-wrap: wrap; } }

/* ============================================================================
   Footer
============================================================================ */
.site-footer { background: var(--black); color: rgba(255,255,255,.82); padding: 5rem 0 1.5rem; }
.site-footer p { color: rgba(255,255,255,.78); }
.footer-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; margin-bottom: 3rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { filter: brightness(0) invert(1); margin-bottom: 1.5rem; height: 72px; width: auto; }
.footer-brand p { max-width: 36ch; color: rgba(255,255,255,.78); }
.site-footer h4 { color: #fff; margin-bottom: 1.25rem; font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.site-footer a { color: rgba(255,255,255,.78); transition: color .2s var(--easing); }
.site-footer a:hover { color: var(--primary-light); }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .8rem; font-size: 1rem; }
.footer-contact p { line-height: 1.9; }
.footer-cta { margin-top: 1.5rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer-bottom p { margin: 0; color: inherit; }

/* ============================================================================
   Utilities
============================================================================ */
.text-center { text-align: center; }
.max-w-prose { max-width: 60ch; }
.section-head { max-width: 760px; margin: 0 0 3rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

/* ============================================================================
   Feature grid — text-only cards with optional icon or big number
============================================================================ */
.feature-grid {
    display: grid; gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 700px)  { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    transition: border-color .2s var(--easing), transform .2s var(--easing), box-shadow .2s var(--easing);
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.feature-card-icon {
    width: 48px; height: 48px;
    background: var(--primary-pale); color: var(--primary);
    border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.feature-card-num {
    font-size: 2rem; font-weight: 800; color: var(--primary);
    line-height: 1; letter-spacing: -.03em; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: .65rem; }
.feature-card p { font-size: .95rem; color: var(--slate); margin: 0; line-height: 1.65; }

/* Variant: services-page detail cards (icon top-right + image at bottom) */
.feature-grid--detail { gap: 1.5rem; }
.feature-card--with-image { position: relative; padding: 1.75rem; display: flex; flex-direction: column; }
.feature-card--with-image .feature-card-icon {
    position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px;
    border-radius: 50%; background: var(--primary-pale); margin: 0;
}
.feature-card-kicker {
    display: block; font-size: .72rem; color: var(--primary);
    font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6rem;
}
.feature-card--with-image h3 { padding-right: 3.25rem; font-size: 1.25rem; margin-bottom: .75rem; line-height: 1.2; }
.feature-card--with-image p { font-size: .92rem; margin-bottom: 1.25rem; }
.feature-card-bullets {
    list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem;
}
.feature-card-bullets li {
    position: relative; padding-left: 1.4rem; font-size: .9rem; color: var(--slate); line-height: 1.5;
}
.feature-card-bullets li::before {
    content: ''; position: absolute; left: 0; top: .5em;
    width: 8px; height: 8px; border: 2px solid var(--primary); border-radius: 50%;
}
.feature-card-image {
    margin-top: auto; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10;
}
.feature-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--easing); }
.feature-card--with-image:hover .feature-card-image img { transform: scale(1.04); }

/* ============================================================================
   Contact page — info cards + channel cards + map
============================================================================ */
.info-grid {
    display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .info-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.info-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center;
    transition: border-color .2s var(--easing), box-shadow .2s var(--easing), transform .2s var(--easing);
}
.info-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.info-icon {
    width: 56px; height: 56px; margin: 0 auto 1.25rem;
    background: var(--primary-pale); color: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: .75rem; }
.info-card p  { color: var(--slate); font-size: .9rem; margin: 0; line-height: 1.65; }
.info-card a  { color: var(--slate); }
.info-card a:hover { color: var(--primary); }

/* Channel cards (reused on contact page) */
.contact-channels { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.channel {
    display: flex; align-items: center; gap: 1.25rem; padding: 1.1rem 1.25rem;
    border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--ink); text-decoration: none;
    transition: all .2s var(--easing);
}
.channel:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-1px); color: var(--ink); }
.channel-icon {
    flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px;
    background: var(--primary-pale); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
}
.channel-body { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.channel-body strong { color: var(--black); font-size: 1rem; font-weight: 600; }
.channel-body .muted { font-size: .87rem; color: var(--gray); }
.channel-arrow { color: var(--gray); font-size: 1.2rem; transition: transform .2s var(--easing); }
.channel:hover .channel-arrow { transform: translateX(4px); color: var(--primary); }

/* Embedded map */
.map-section iframe { width: 100%; display: block; }

/* ============================================================================
   Service rows — premium alternating image/text per service
============================================================================ */
.service-row { padding: clamp(3rem, 7vw, 6rem) 0; }
.service-row__layout {
    display: grid; gap: clamp(2rem, 5vw, 4.5rem);
    grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) {
    .service-row__layout { grid-template-columns: 1.1fr 1fr; }
    .service-row--reverse .service-row__layout { grid-template-columns: 1fr 1.1fr; }
    .service-row--reverse .service-row__media { order: 2; }
}
.service-row__media {
    position: relative; aspect-ratio: 4/5;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow);
}
@media (min-width: 900px) { .service-row__media { aspect-ratio: 5/6; } }
.service-row__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s var(--easing);
}
.service-row:hover .service-row__media img { transform: scale(1.03); }

.service-row__content { max-width: 560px; }
.service-row__num {
    font-size: clamp(4rem, 9vw, 8rem); font-weight: 800;
    color: var(--primary); line-height: .85;
    letter-spacing: -.05em; margin-bottom: 1.5rem;
    font-feature-settings: 'tnum';
}
.service-row__content h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.75rem); margin-bottom: 1rem;
    line-height: 1.1;
}
.service-row__content .lead { margin-bottom: 1.25rem; }
.service-row__list {
    list-style: none; padding: 0; margin: 1.75rem 0 0;
    display: grid; gap: .75rem;
}
.service-row__list li {
    position: relative; padding-left: 1.6rem;
    font-size: .95rem; color: var(--slate); line-height: 1.5;
}
.service-row__list li::before {
    content: ''; position: absolute; left: 0; top: .55em;
    width: 10px; height: 10px; border: 2px solid var(--primary); border-radius: 50%;
}

/* ============================================================================
   Pillars — vertical numbered list with prominent number on the left
============================================================================ */
.pillars { display: grid; gap: 0; max-width: 880px; margin: 0 auto; }
.pillar-item {
    display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
    align-items: start; padding: 1.75rem 0;
    border-bottom: 1px solid var(--border);
}
.pillar-item:last-child { border-bottom: 0; }
@media (min-width: 700px) { .pillar-item { gap: 2rem; padding: 2rem 0; } }
.pillar-num {
    font-size: 2.25rem; font-weight: 800; color: var(--primary);
    line-height: 1; letter-spacing: -.03em; min-width: 2.5rem;
}
.pillar-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.pillar-content p  { color: var(--slate); font-size: .95rem; margin: 0; line-height: 1.7; }

/* ============================================================================
   Timeline — vertical, single-rail with dotted markers
============================================================================ */
.timeline {
    position: relative; list-style: none;
    padding: .5rem 0 .5rem 2.25rem;
    max-width: 840px; margin: 0 auto;
}
.timeline::before {
    content: ''; position: absolute;
    left: .5rem; top: .65rem; bottom: .65rem;
    width: 2px; background: var(--primary-pale);
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: ''; position: absolute;
    left: -1.83rem; top: .4rem;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--primary-pale);
}
.timeline-year {
    display: inline-block;
    font-size: .75rem; color: var(--primary); font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; margin-bottom: .4rem;
}
.timeline-item h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; color: var(--black); }
.timeline-item p  { color: var(--slate); font-size: .95rem; margin: 0; line-height: 1.7; }

/* ============================================================================
   Preloader
   - Homepage: full-screen MP4 video (plays at 1.6×, hides on end)
   - Inner pages: logo + "loading..." with animated dots, hides after 500ms
============================================================================ */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .35s ease, visibility .35s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
body.preloader-active { overflow: hidden; }

/* Homepage video preloader */
.preloader-video {
    width: 100vw; height: 100vh; object-fit: cover;
}

/* Inner-page logo preloader */
.preloader-content {
    display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.preloader-logo {
    width: 120px; height: 120px;
    animation: preloader-pulse 1.2s ease-in-out infinite;
}
@keyframes preloader-pulse {
    0%, 100% { opacity: .65; transform: scale(.96); }
    50%      { opacity: 1;   transform: scale(1); }
}
.preloader-text {
    color: rgba(255, 255, 255, .85);
    font-size: .85rem;
    letter-spacing: .18em;
    text-transform: lowercase;
    font-weight: 500;
}
.preloader-dots span {
    display: inline-block;
    opacity: 0;
    animation: preloader-dot 1.2s infinite;
}
.preloader-dots span:nth-child(1) { animation-delay: 0s; }
.preloader-dots span:nth-child(2) { animation-delay: .2s; }
.preloader-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes preloader-dot {
    0%, 60%, 100% { opacity: 0; }
    30%           { opacity: 1; }
}
