/* ============================================================
   ARDINA PROJECTS — STYLESHEET
   Brand Guidelines (derived from logo):
   ─────────────────────────────────────
   PRIMARY GOLD:    #F5A623  — "PROJECTS" label colour
   BRAND SILVER:    #ABABAB  — "Ardina" serif colour
   BACKGROUND:      #090807  — Warm near-black (logo bg)
   DARK SURFACE:    #1A1815  — Slightly warm dark panels
   ACCENT GREY:     #999999  — "EST. 2020" / secondary text
   RULE COLOUR:     #888888  — Decorative horizontal rules
   ─────────────────────────────────────
   DISPLAY FONT:    Cormorant Garamond (Regular 400) — "Ardina"
   LABEL FONT:      Montserrat (ExtraBold 800) — "PROJECTS"
   BODY FONT:       Montserrat (Light/Regular 300–400)
   MOTIF:           Bilateral rules flanking centred label text
                    mirrors the "— EST. 2020 —" device in logo
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* ── Brand-accurate palette ── */
    --black:      #090807;   /* Warm near-black — logo background base  */
    --dark:       #0e0d0b;   /* Slightly warm dark                       */
    --dark-2:     #141210;   /* Panel/section alternate                  */
    --dark-3:     #1a1815;   /* Card backgrounds — warm dark             */
    --dark-4:     #222018;   /* Elevated surface                         */
    --dark-5:     #2c2a24;   /* Highlight surface                        */
    --grey:       #5a5850;   /* Muted warm grey                          */
    --grey-mid:   #999999;   /* "EST. 2020" text colour from logo        */
    --silver:     #ABABAB;   /* "Ardina" silver-grey from logo           */
    --light:      #D4D4D4;   /* Light silver for headings                */
    --white:      #F2F0EC;   /* Warm white (not pure — matches logo feel)*/
    --gold:       #F5A623;   /* "PROJECTS" gold — exact logo match       */
    --gold-dk:    #C4831A;   /* Darker gold for hover states             */
    --gold-lt:    #FFB74D;   /* Lighter gold for highlights              */
    --gold-10:    rgba(245,166,35,0.10);
    --gold-15:    rgba(245,166,35,0.15);
    --gold-20:    rgba(245,166,35,0.20);
    --gold-30:    rgba(245,166,35,0.30);
    --white-5:    rgba(242,240,236,0.05);
    --white-8:    rgba(242,240,236,0.08);
    --white-12:   rgba(242,240,236,0.12);

    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans:  'Montserrat', system-ui, sans-serif;

    --sp: 120px;  /* section padding */
    --cw: 1300px; /* container width */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--black);
    color: var(--silver);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
    cursor: auto;
}
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container { max-width: var(--cw); margin: 0 auto; padding: 0 48px; }


/* ── PAGE LOADER ── */
.page-loader {
    position: fixed; inset: 0;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000;
    transition: opacity .6s ease, visibility .6s ease;
}
.page-loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 0; }

.loader-logo { display: flex; flex-direction: column; align-items: center; margin-bottom: 36px; }
.loader-logo-svg {
    height: 120px; width: auto; display: block;
    animation: fadeSlideUp .7s var(--ease-out) .2s both;
}
.loader-bar-track {
    width: 220px; height: 1.5px; background: var(--dark-4); overflow: hidden;
    animation: fadeSlideUp .6s var(--ease-out) .5s both;
}
.loader-bar-fill {
    height: 100%; width: 0; background: var(--gold);
    animation: loadBar 1.6s var(--ease-in-out) .7s forwards;
}
.loader-text {
    font-size: .6rem; font-weight: 600; letter-spacing: 4px;
    text-transform: uppercase; color: var(--grey); margin-top: 14px;
    animation: fadeSlideUp .6s var(--ease-out) .7s both;
}
@keyframes loadBar { to { width: 100%; } }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 32px;
    font-family: var(--sans); font-size: .78rem; font-weight: 700;
    letter-spacing: 1.8px; text-transform: uppercase;
    border: none; cursor: pointer;
    transition: all .28s ease; position: relative; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,.12);
    transform: translateX(-102%);
    transition: transform .3s var(--ease-out);
}
.btn:hover::after { transform: translateX(0); }
.btn i { transition: transform .28s ease; }
.btn:hover i { transform: translateX(5px); }

.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-lt); }

.btn-outline {
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255,255,255,.25);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-full { width: 100%; justify-content: center; }

/* ── SECTION LABELS & TITLES ── */
/* Left-aligned: single leading rule */
.sec-label {
    display: inline-flex; align-items: center; gap: 14px;
    font-size: .65rem; font-weight: 700; letter-spacing: 4px;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px;
}
.sec-label::before {
    content: ''; display: block;
    width: 32px; height: 1px; background: var(--gold); opacity: .7;
}
/* Centred: bilateral rules — mirrors "— EST. 2020 —" logo motif */
.sec-head.centered .sec-label {
    justify-content: center; gap: 18px;
}
.sec-head.centered .sec-label::before,
.sec-head.centered .sec-label::after {
    content: ''; display: block;
    width: 40px; height: 1px;
    background: linear-gradient(to var(--dir, right), var(--gold), rgba(245,166,35,.2));
    opacity: .8;
}
.sec-head.centered .sec-label::before { --dir: right; }
.sec-head.centered .sec-label::after  { --dir: left;  }

.sec-title {
    font-family: var(--serif); font-size: clamp(2rem, 3.8vw, 3.4rem);
    font-weight: 400; color: var(--silver); line-height: 1.12; margin-bottom: 20px;
}
.sec-sub { font-size: .95rem; color: var(--grey-mid); max-width: 580px; line-height: 1.85; }
.sec-head.centered { text-align: center; margin-bottom: 72px; }
.sec-head.centered .sec-sub { margin: 0 auto; }

/* ── REVEAL ANIMATIONS ── */
.reveal {
    opacity: 0; transform: translateY(36px);
    transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }
.reveal-d4 { transition-delay: .48s; }
.reveal-d5 { transition-delay: .60s; }
.reveal-d6 { transition-delay: .72s; }

/* ════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 22px 0;
    transition: padding .4s ease, background .4s ease, border-color .4s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(8,8,8,.92); backdrop-filter: blur(24px);
    padding: 14px 0; border-color: var(--white-8);
}
.nav-inner {
    max-width: var(--cw); margin: 0 auto; padding: 0 48px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; line-height: 1; }
.nav-logo { height: 78px; width: auto; display: block; }

/* Kept for loader / any remaining text instances */
.brand-ardina { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; color: var(--silver); letter-spacing: 2px; }
.brand-projects { font-family: var(--sans); font-size: .54rem; font-weight: 800; color: var(--gold); letter-spacing: 6px; margin-top: -1px; }

.nav-links { display: flex; align-items: center; gap: 44px; flex-shrink: 0; }
.nav-link {
    font-size: .73rem; font-weight: 600; letter-spacing: 1.8px;
    text-transform: uppercase; color: var(--grey-mid);
    transition: color .25s; position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width .3s var(--ease-out);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    background: var(--gold); color: var(--black) !important;
    padding: 10px 22px; font-weight: 700;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold-lt); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--silver); transition: all .3s ease; }

/* ── MOBILE MENU ── */
.mobile-menu {
    position: fixed; inset: 0; background: var(--black);
    z-index: 999; display: flex; align-items: center; justify-content: center;
    transform: translateX(100%); transition: transform .45s var(--ease-in-out);
}
.mobile-menu.open { transform: none; }
.mob-link {
    display: block; font-family: var(--serif); font-size: 2.8rem;
    font-weight: 400; color: var(--silver); padding: 12px 0; text-align: center;
    transition: color .25s;
}
.mob-link:hover { color: var(--gold); }

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; overflow: hidden;
    background:
        radial-gradient(ellipse 60% 80% at 15% 60%, rgba(40,25,0,.6) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 85% 20%, rgba(15,15,15,.8) 0%, transparent 70%),
        var(--black);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-noise {
    position: absolute; inset: 0; opacity: .028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
}

/* ── HERO: SPLIT SCREEN LAYOUT ── */
.hero-inner {
    position: relative; z-index: 2;
    max-width: var(--cw); margin: 0 auto; width: 100%;
    padding: 120px 48px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left { display: flex; flex-direction: column; }

.hero-eyebrow {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 32px;
}
.ew-word {
    font-family: var(--sans); font-size: .72rem; font-weight: 700;
    letter-spacing: 5px; text-transform: uppercase; color: var(--gold);
    opacity: 0; transform: translateY(10px);
    animation: ewIn .55s var(--ease-out) calc(var(--d) * 0.18s + 0.4s) forwards;
}
.ew-sep {
    color: var(--gold); font-size: .6rem; opacity: 0;
    animation: ewFade .4s ease calc(var(--d) * 0.18s + 0.58s) forwards;
}
@keyframes ewIn  { to { opacity: 1; transform: none; } }
@keyframes ewFade { to { opacity: 0.35; } }

.hero-title {
    font-family: var(--serif);
    font-size: clamp(3.5rem, 6.5vw, 8.5rem);
    font-weight: 500; line-height: 1.0; margin-bottom: 32px;
}
.ht-line { display: block; color: var(--white); margin-bottom: 0.12em; }
.ht-line:last-child { margin-bottom: 0; }
.ht-line.gold { color: var(--gold); }
.ht-line.italic { font-style: italic; }
/* More cinematic reveal for hero title lines */
.hero-title .ht-line.reveal {
    transform: translateY(70px);
    transition-duration: 1.1s;
}
.hero-title .ht-line.reveal.visible { transform: none; }

.hero-sub {
    font-size: clamp(.88rem, 1.2vw, 1rem);
    color: var(--grey-mid); line-height: 1.85; margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── HERO: RIGHT VISUAL PANEL ── */
.hero-right {
    display: flex; align-items: center; justify-content: center;
}

.hero-visual {
    position: relative;
    width: min(420px, 45vw);
    height: min(420px, 45vw);
    flex-shrink: 0;
}

/* Concentric rotating rings */
.hv-ring {
    position: absolute; border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.hv-ring-outer {
    width: 100%; height: 100%;
    border: 1px dashed rgba(245,166,35,.22);
    animation: hvSpin 40s linear infinite;
}
.hv-ring-mid {
    width: 76%; height: 76%;
    border: 1px solid rgba(245,166,35,.1);
    animation: hvSpin 25s linear infinite reverse;
}
.hv-ring-inner {
    width: 52%; height: 52%;
    border: 1px solid rgba(245,166,35,.18);
    /* subtle inner glow */
    box-shadow: inset 0 0 40px rgba(245,166,35,.04), 0 0 40px rgba(245,166,35,.04);
}
@keyframes hvSpin {
    from { transform: translate(-50%,-50%) rotate(0deg); }
    to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* Cross-hair lines */
.hv-cross {
    position: absolute; background: rgba(245,166,35,.07);
}
.hv-cross-h { top: 50%; left: 5%; right: 5%; height: 1px; transform: translateY(-50%); }
.hv-cross-v { left: 50%; top: 5%; bottom: 5%; width: 1px; transform: translateX(-50%); }

/* Corner tick marks — like technical/architectural drawings */
.hv-tick {
    position: absolute; width: 14px; height: 14px;
}
.hv-tick-tl { top: 0; left: 0;     border-top: 1.5px solid var(--gold-30); border-left: 1.5px solid var(--gold-30); }
.hv-tick-tr { top: 0; right: 0;    border-top: 1.5px solid var(--gold-30); border-right: 1.5px solid var(--gold-30); }
.hv-tick-bl { bottom: 0; left: 0;  border-bottom: 1.5px solid var(--gold-30); border-left: 1.5px solid var(--gold-30); }
.hv-tick-br { bottom: 0; right: 0; border-bottom: 1.5px solid var(--gold-30); border-right: 1.5px solid var(--gold-30); }

/* Centre monogram */
.hv-center {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center; z-index: 2; pointer-events: none;
}
.hv-mono {
    display: block; font-family: var(--serif); font-size: min(9rem, 20vw);
    font-weight: 400; color: rgba(245,166,35,.07); line-height: 1;
    letter-spacing: -4px;
}
.hv-mono-sub {
    display: block; font-family: var(--sans); font-size: .42rem;
    font-weight: 800; letter-spacing: 7px; text-transform: uppercase;
    color: rgba(245,166,35,.2); margin-top: -6px;
}

/* Floating stat cards */
.hv-stat {
    position: absolute; z-index: 3;
    display: flex; flex-direction: column; align-items: center;
    padding: 10px 18px;
    background: rgba(10,9,7,.8); backdrop-filter: blur(12px);
    border: 1px solid rgba(245,166,35,.25);
    white-space: nowrap;
}
.hv-snum {
    font-family: var(--serif); font-size: 1.5rem; font-weight: 500;
    color: var(--gold); line-height: 1;
}
.hv-slabel {
    font-size: .55rem; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; color: var(--grey-mid); margin-top: 4px;
}
/* Position: top centre, right middle, bottom centre */
.hv-stat-top    { top: -1%;  left: 50%; transform: translateX(-50%); }
.hv-stat-right  { right: -4%; top: 50%; transform: translateY(-50%); }
.hv-stat-bottom { bottom: -1%; left: 50%; transform: translateX(-50%); }

/* Radial accent lines emanating from ring */
.hv-accent {
    position: absolute; background: linear-gradient(to right, var(--gold-20), transparent);
    height: 1px; top: 50%; transform-origin: left center;
}
.hv-accent-1 { width: 15%; left: 100%; transform: rotate(-30deg); }
.hv-accent-2 { width: 12%; left: 100%; transform: rotate(20deg); }
.hv-accent-3 {
    width: 15%; right: 100%; left: auto;
    background: linear-gradient(to left, var(--gold-20), transparent);
    transform: rotate(160deg); transform-origin: right center;
}


.hero-scroll {
    position: absolute; bottom: 40px; right: 48px; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--grey); font-size: .6rem; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase; writing-mode: vertical-rl;
}
.scroll-track {
    width: 1.5px; height: 56px; background: var(--dark-5); overflow: hidden;
}
.scroll-thumb {
    width: 100%; height: 40%;
    background: var(--gold);
    animation: scrollAnim 2s var(--ease-in-out) infinite;
}
@keyframes scrollAnim {
    0%   { transform: translateY(-100%); opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { transform: translateY(350%); opacity: 0; }
}
.hero-deco-line {
    position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-15), transparent);
}

/* ════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════ */
.services { padding: var(--sp) 0; background: var(--dark); }

/* 6-col base: cards span 2 each → 3 per row; last 2 centred on row 2 */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
.svc-card { grid-column: span 2; }
.svc-card:nth-child(4) { grid-column: 2 / 4; }
.svc-card:nth-child(5) { grid-column: 4 / 6; }

.svc-card {
    position: relative; padding: 52px 44px;
    border: 1px solid var(--white-8);
    overflow: hidden;
    transition: border-color .4s, transform .4s var(--ease-out), box-shadow .4s;
    cursor: default;
}
.svc-card:hover {
    border-color: var(--gold-20);
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    z-index: 2;
}
.svc-card-bg {
    position: absolute; inset: 0; transition: opacity .4s;
}
.bg-1 { background: linear-gradient(140deg, #140e00 0%, #1e1700 60%, #111 100%); opacity: .7; }
.bg-2 { background: linear-gradient(140deg, #1a0c00 0%, #2b1900 60%, #111 100%); opacity: .7; }
.bg-3 { background: linear-gradient(140deg, #0d0d0d 0%, #191919 60%, #0a0a0a 100%); opacity: .7; }
.bg-4 { background: linear-gradient(140deg, #0e1000 0%, #181c00 60%, #0f0f0f 100%); opacity: .7; }
.bg-5 { background: linear-gradient(140deg, #00100e 0%, #001a17 60%, #0a0f0e 100%); opacity: .7; }
.svc-card:hover .svc-card-bg { opacity: 1; }

.svc-featured { border-color: var(--gold-20); }

.svc-number {
    position: absolute; top: 20px; right: 28px;
    font-family: var(--serif); font-size: 6rem; font-weight: 700;
    color: rgba(255,255,255,.025); line-height: 1; z-index: 0;
    transition: color .4s;
}
.svc-card:hover .svc-number { color: rgba(245,166,35,.04); }

.svc-icon {
    position: relative; z-index: 1;
    width: 54px; height: 54px;
    background: var(--gold-10); border: 1px solid var(--gold-20);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 26px;
    transition: background .3s, border-color .3s;
}
.svc-card:hover .svc-icon { background: var(--gold); border-color: var(--gold); }
.svc-icon i { font-size: 1.25rem; color: var(--gold); transition: color .3s; }
.svc-card:hover .svc-icon i { color: var(--black); }

.svc-title {
    position: relative; z-index: 1;
    font-family: var(--serif); font-size: 1.9rem; font-weight: 500;
    color: var(--white); line-height: 1.18; margin-bottom: 18px;
}
.svc-desc {
    position: relative; z-index: 1;
    font-size: .88rem; color: var(--grey-mid); line-height: 1.85; margin-bottom: 28px;
}
.svc-list {
    position: relative; z-index: 1; margin-bottom: 36px;
}
.svc-list li {
    display: flex; align-items: center; gap: 12px;
    font-size: .8rem; color: var(--silver);
    padding: 9px 0; border-bottom: 1px solid var(--white-5);
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li i { color: var(--gold); font-size: .6rem; }

.svc-link {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .72rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--gold);
    transition: gap .3s;
}
.svc-link:hover { gap: 14px; }

/* ════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════ */
.about {
    padding: var(--sp) 0; background: var(--black);
    position: relative; overflow: hidden;
}
.about::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 40%;
    background: radial-gradient(ellipse at right, rgba(245,166,35,.025) 0%, transparent 70%);
    pointer-events: none;
}

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }

.about-visual { position: relative; height: 580px; }

.av-main {
    position: absolute; top: 0; right: 0;
    width: 72%; height: 78%;
    background:
        linear-gradient(140deg, #1e1400 0%, #2d1f00 40%, #111 100%);
    border: 1px solid var(--gold-15); overflow: hidden;
}
.av-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 55%); }
.av-pattern {
    position: absolute; inset: 0; opacity: .06;
    background-image: repeating-linear-gradient(
        45deg,
        var(--gold) 0px, var(--gold) 1px,
        transparent 1px, transparent 24px
    );
}
.av-label { position: absolute; bottom: 24px; left: 28px; z-index: 2; }
.av-est {
    display: block; font-size: .65rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.av-name { font-family: var(--serif); font-size: 1.5rem; color: var(--white); }

.av-accent {
    position: absolute; bottom: 0; left: 0;
    width: 54%; height: 52%;
    background: linear-gradient(140deg, #111 0%, #1c1c1c 100%);
    border: 1px solid var(--white-8);
}
.av-badge {
    position: absolute; bottom: 64px; right: -18px;
    background: var(--dark-3); border: 1px solid var(--gold-20);
    padding: 22px 28px; text-align: center; z-index: 3;
    display: flex; flex-direction: column; align-items: center;
}
.av-badge-num {
    font-family: var(--serif); font-size: 2.8rem; color: var(--gold);
    font-weight: 500; line-height: 1;
}
.av-badge span:nth-child(2) { font-family: var(--serif); font-size: 2rem; color: var(--gold); }
.av-badge-label {
    font-size: .62rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--grey-mid); margin-top: 8px;
}
.av-line-v {
    position: absolute; top: 20%; left: 20px; width: 1px; height: 60%;
    background: linear-gradient(to bottom, transparent, var(--gold-30), transparent);
}

.about-content { display: flex; flex-direction: column; }
.about-body { font-size: .93rem; color: var(--grey-mid); line-height: 1.9; margin-bottom: 18px; }

.values-list { display: flex; flex-direction: column; gap: 22px; margin: 32px 0 40px; }
.value { display: flex; gap: 18px; align-items: flex-start; }
.value-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--gold-10); border: 1px solid var(--gold-20);
    display: flex; align-items: center; justify-content: center;
}
.value-icon i { color: var(--gold); font-size: .95rem; }
.value h4 { font-size: .88rem; font-weight: 700; color: var(--white); margin-bottom: 4px; letter-spacing: .3px; }
.value p { font-size: .82rem; color: var(--grey-mid); line-height: 1.65; }

/* ════════════════════════════════════════
   WHO WE SERVE
   ════════════════════════════════════════ */
.clients {
    padding: var(--sp) 0; background: var(--dark);
    position: relative;
}
.clients-top-line, .clients-bot-line {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-15), transparent);
}

.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }

.client-card {
    background: var(--dark-2); border: 1px solid var(--white-5);
    padding: 44px 32px; text-align: center;
    transition: background .3s, border-color .3s, transform .35s var(--ease-out);
    position: relative; overflow: hidden;
}
a.client-card { cursor: pointer; display: block; }
.client-card::before {
    content: ''; position: absolute; inset: 0; opacity: 0;
    background: radial-gradient(ellipse at center, var(--gold-10) 0%, transparent 70%);
    transition: opacity .4s;
}
.client-card:hover { background: var(--dark-3); border-color: var(--gold-20); transform: translateY(-6px); }
.client-card:hover::before { opacity: 1; }
.cc-icon { margin-bottom: 20px; transition: transform .3s; }
.client-card:hover .cc-icon { transform: scale(1.1); }
.cc-icon i { font-size: 2rem; color: var(--gold); display: inline-block; }
.client-card h4 {
    font-family: var(--serif); font-size: 1.2rem; font-weight: 500;
    color: var(--white); margin-bottom: 12px; line-height: 1.3;
}
.client-card p { font-size: .82rem; color: var(--grey-mid); line-height: 1.75; }
.cc-arrow {
    margin-top: 20px; color: var(--gold-30); font-size: .8rem;
    transition: color .3s, transform .3s;
}
.client-card:hover .cc-arrow { color: var(--gold); transform: translateX(4px); }

/* ════════════════════════════════════════
   PROCESS
   ════════════════════════════════════════ */
.process {
    padding: var(--sp) 0; background: var(--black);
    position: relative;
}
.process::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-20), transparent);
}

.process-track {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; position: relative;
}
.process-connector {
    position: absolute; top: 50px; left: 8%; right: 8%; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-20) 20%, var(--gold-20) 80%, transparent);
    pointer-events: none; z-index: 0;
}

.proc-step {
    position: relative; z-index: 1;
    padding: 44px 36px;
    border: 1px solid var(--white-8);
    border-right: none;
    transition: background .4s, border-color .4s;
}
.proc-step:last-child { border-right: 1px solid var(--white-8); }
.proc-step:hover { background: var(--dark-2); border-color: var(--gold-15); }

.ps-num {
    font-family: var(--serif); font-size: 3.5rem; font-weight: 700;
    color: rgba(245,166,35,.12); line-height: 1; margin-bottom: 20px;
    transition: color .4s;
}
.proc-step:hover .ps-num { color: rgba(245,166,35,.3); }
.ps-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--gold-30); border: 1.5px solid var(--gold);
    margin-bottom: 18px;
    transition: background .3s;
}
.proc-step:hover .ps-dot { background: var(--gold); }
.ps-icon {
    width: 40px; height: 40px;
    background: var(--gold-10); border: 1px solid var(--gold-20);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.ps-icon i { color: var(--gold); font-size: .95rem; }
.ps-body h3 {
    font-family: var(--serif); font-size: 1.3rem; font-weight: 500;
    color: var(--white); margin-bottom: 12px;
}
.ps-body p { font-size: .82rem; color: var(--grey-mid); line-height: 1.8; }

/* ════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════ */
.contact { padding: var(--sp) 0; background: var(--dark); position: relative; overflow: hidden; }
.contact-glow {
    position: absolute; top: 0; left: 0; bottom: 0; width: 40%;
    background: radial-gradient(ellipse at left, rgba(245,166,35,.04) 0%, transparent 70%);
    pointer-events: none;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }

.contact-intro { font-size: .93rem; color: var(--grey-mid); line-height: 1.88; margin-bottom: 44px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-item {
    display: flex; align-items: center; gap: 18px;
    transition: color .25s;
}
.ci-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--gold-10); border: 1px solid var(--gold-20);
    display: flex; align-items: center; justify-content: center;
}
.ci-icon i { color: var(--gold); font-size: .9rem; }
.ci-label {
    display: block; font-size: .62rem; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase; color: var(--grey); margin-bottom: 3px;
}
.ci-val { font-size: .93rem; color: var(--silver); transition: color .25s; }
a.contact-item:hover .ci-val { color: var(--gold); }

.emergency-card {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px 22px;
    background: var(--gold-10); border: 1px solid var(--gold-20);
    border-left: 3px solid var(--gold);
    position: relative; overflow: hidden;
}
.ec-pulse {
    position: absolute; top: 12px; right: 16px;
    width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
    animation: ecPulse 2s ease infinite;
}
@keyframes ecPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(245,166,35,.5); }
    50% { box-shadow: 0 0 0 6px rgba(245,166,35,0); }
}
.emergency-card > i { color: var(--gold); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.emergency-card strong { display: block; font-size: .85rem; color: var(--white); margin-bottom: 4px; }
.emergency-card span { font-size: .78rem; color: var(--grey-mid); }

/* ── FORM ── */
.form-wrapper { position: relative; }
.cform {
    background: var(--dark-2); border: 1px solid var(--white-8); padding: 48px;
}
.cform-head {
    margin-bottom: 32px; padding-bottom: 24px;
    border-bottom: 1px solid var(--white-8);
}
.cform-head h3 { font-family: var(--serif); font-size: 1.9rem; color: var(--white); margin-bottom: 5px; }
.cform-head p { font-size: .78rem; color: var(--grey-mid); letter-spacing: 1px; }

.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.cform-group { margin-bottom: 18px; }
.cform-row .cform-group { margin-bottom: 0; }

.cform-group label {
    display: block; font-size: .67rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; color: var(--grey-mid); margin-bottom: 9px;
}
.cform-group input,
.cform-group select,
.cform-group textarea {
    width: 100%;
    background: var(--dark-3); border: 1px solid var(--white-8);
    color: var(--silver); font-family: var(--sans); font-size: .88rem;
    padding: 14px 16px; outline: none;
    transition: border-color .3s, background .3s;
    -webkit-appearance: none; appearance: none;
}
.cform-group input::placeholder, .cform-group textarea::placeholder { color: var(--grey); }
.cform-group input:focus, .cform-group select:focus, .cform-group textarea:focus {
    border-color: var(--gold); background: var(--dark-4);
}
.cform-group select option { background: var(--dark-3); }
.cform-group textarea { resize: vertical; min-height: 120px; }

.select-wrap { position: relative; }
.select-wrap select { padding-right: 40px; cursor: pointer; }
.select-wrap > i {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    color: var(--grey-mid); font-size: .75rem; pointer-events: none;
}

.form-note { text-align: center; font-size: .68rem; color: var(--grey); margin-top: 14px; line-height: 1.5; }

.form-success {
    display: none; text-align: center; padding: 60px 40px;
    background: var(--dark-2); border: 1px solid var(--gold-20);
}
.fs-icon { margin-bottom: 20px; }
.fs-icon i { font-size: 3.2rem; color: var(--gold); }
.form-success h3 { font-family: var(--serif); font-size: 2rem; color: var(--white); margin-bottom: 12px; }
.form-success p { font-size: .9rem; color: var(--grey-mid); line-height: 1.7; margin-bottom: 28px; }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer { background: var(--black); padding: 80px 0 36px; }
.footer-top-line {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-20), transparent);
    margin-bottom: 80px;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 56px; margin-bottom: 56px; }

.footer-logo { margin-bottom: 16px; }
.footer-logo-svg { height: 136px; width: auto; display: block; }
.footer-tagline { font-size: .84rem; color: var(--grey-mid); margin-bottom: 8px; line-height: 1.5; }
.footer-meta { font-size: .72rem; color: var(--grey); letter-spacing: .5px; margin-bottom: 3px; }

.footer-col h4 {
    font-size: .65rem; font-weight: 800; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a, .footer-col ul li { font-size: .83rem; color: var(--grey-mid); transition: color .25s; }
.footer-col ul li a:hover { color: var(--gold); }

.footer-emergency {
    display: flex; align-items: center; gap: 8px; margin-top: 20px;
    font-size: .72rem; color: var(--grey-mid);
}
.blink { color: var(--gold); animation: blinkDot 2s ease infinite; }
@keyframes blinkDot { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 28px; border-top: 1px solid var(--white-5);
}
.footer-bottom p, .footer-bottom a { font-size: .75rem; color: var(--grey); }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; align-items: center; gap: 12px; }
.footer-legal span { color: var(--grey); }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1200px) {
    .nav-links { gap: 28px; }
    .nav-cta { padding: 10px 18px; }
}

@media (max-width: 1100px) {
    :root { --sp: 80px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero-inner { gap: 36px; }
    .hero-visual { width: min(340px, 40vw); height: min(340px, 40vw); }
    .svc-grid { grid-template-columns: 1fr; max-width: 580px; margin: 0 auto; }
    .svc-card, .svc-card:nth-child(4), .svc-card:nth-child(5) { grid-column: 1 / -1; }
    .about-grid { grid-template-columns: 1fr; gap: 56px; }
    .about-visual { height: 420px; }
    .av-badge { right: 0; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .process-track { grid-template-columns: repeat(2, 1fr); }
    .process-connector { display: none; }
    .proc-step { border-right: 1px solid var(--white-8); }
    .contact-grid { grid-template-columns: 1fr; gap: 56px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --sp: 60px; }
    .container { padding: 0 22px; }
    .nav-inner { padding: 0 22px; }
    .hero-inner { padding: 100px 22px 60px; grid-template-columns: 1fr; gap: 48px; }
    /* Text first, visual second on mobile (natural DOM order) */
    .hero-visual { width: min(280px, 72vw); height: min(280px, 72vw); }
    .hv-stat { padding: 7px 12px; }
    .hv-snum { font-size: 1.1rem; }
    .hero-title { font-size: clamp(3rem, 12vw, 5rem); }
    .hero-scroll { display: none; }
    .clients-grid { grid-template-columns: 1fr; }
    .process-track { grid-template-columns: 1fr; }
    .proc-step { border-right: 1px solid var(--white-8); border-bottom: none; }
    .cform-row { grid-template-columns: 1fr; }
    .cform { padding: 28px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .about-visual { height: 340px; }
    .av-badge { right: 0; bottom: 40px; }
    .sec-title { font-size: clamp(1.8rem, 6vw, 2.6rem); }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .svc-card { padding: 36px 24px; }
}

/* ════════════════════════════════════════
   INNER PAGES — WHO WE SERVE
   ════════════════════════════════════════ */

/* Page hero banner */
.page-hero {
    position: relative; padding: 180px 0 100px;
    background: var(--dark); overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 60%, rgba(40,25,0,.5) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(15,15,15,.8) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-15), transparent);
}
.page-hero .container { position: relative; z-index: 1; }

.page-hero .breadcrumb {
    display: flex; align-items: center; gap: 10px;
    font-size: .7rem; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--grey-mid); margin-bottom: 28px;
}
.page-hero .breadcrumb a { color: var(--grey-mid); transition: color .25s; }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb .sep { color: var(--grey); }

.page-hero-grid {
    display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center;
}
.page-hero-icon {
    width: 120px; height: 120px;
    background: var(--gold-10); border: 1px solid var(--gold-20);
    display: flex; align-items: center; justify-content: center;
}
.page-hero-icon i { font-size: 3.2rem; color: var(--gold); }

.page-hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 400; color: var(--white); line-height: 1.12; margin-bottom: 20px;
}
.page-hero .page-hero-sub {
    font-size: 1rem; color: var(--grey-mid); line-height: 1.85;
    max-width: 640px;
}

/* Inner page content sections */
.inner-section { padding: var(--sp) 0; }
.inner-section:nth-child(odd) { background: var(--black); }
.inner-section:nth-child(even) { background: var(--dark); }

.inner-section .sec-head { margin-bottom: 56px; }

/* Service relevance grid */
.relevance-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.relevance-card {
    background: var(--dark-2); border: 1px solid var(--white-5);
    padding: 40px 32px;
    transition: background .3s, border-color .3s, transform .35s var(--ease-out);
}
.relevance-card:hover {
    background: var(--dark-3); border-color: var(--gold-20); transform: translateY(-6px);
}
.relevance-card .rc-icon {
    width: 48px; height: 48px;
    background: var(--gold-10); border: 1px solid var(--gold-20);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    transition: background .3s, border-color .3s;
}
.relevance-card:hover .rc-icon { background: var(--gold); border-color: var(--gold); }
.relevance-card .rc-icon i { font-size: 1.15rem; color: var(--gold); transition: color .3s; }
.relevance-card:hover .rc-icon i { color: var(--black); }
.relevance-card h3 {
    font-family: var(--serif); font-size: 1.35rem; font-weight: 500;
    color: var(--white); margin-bottom: 12px; line-height: 1.3;
}
.relevance-card p { font-size: .85rem; color: var(--grey-mid); line-height: 1.8; }

/* Why choose section */
.why-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.why-points { display: flex; flex-direction: column; gap: 28px; }
.why-point {
    display: flex; gap: 20px; align-items: flex-start;
}
.why-point .wp-num {
    flex-shrink: 0; width: 44px; height: 44px;
    background: var(--gold-10); border: 1px solid var(--gold-20);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--gold);
}
.why-point h4 {
    font-size: .92rem; font-weight: 700; color: var(--white); margin-bottom: 6px;
}
.why-point p { font-size: .85rem; color: var(--grey-mid); line-height: 1.75; }

/* Stats bar */
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
    border-top: 1px solid var(--gold-15);
    border-bottom: 1px solid var(--gold-15);
}
.stat-item {
    text-align: center; padding: 40px 20px;
    background: var(--dark-2);
}
.stat-item .stat-num {
    font-family: var(--serif); font-size: 2.6rem; font-weight: 500;
    color: var(--gold); line-height: 1; margin-bottom: 8px;
}
.stat-item .stat-label {
    font-size: .68rem; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; color: var(--grey-mid);
}

/* CTA banner */
.cta-banner {
    padding: var(--sp) 0; background: var(--dark);
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(245,166,35,.04) 0%, transparent 70%);
    pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; text-align: center; }
.cta-banner h2 {
    font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400; color: var(--white); margin-bottom: 16px;
}
.cta-banner p {
    font-size: .95rem; color: var(--grey-mid); line-height: 1.85;
    max-width: 560px; margin: 0 auto 36px;
}
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Navbar for inner pages — always visible with back link */
.navbar .nav-back {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .73rem; font-weight: 600; letter-spacing: 1.8px;
    text-transform: uppercase; color: var(--grey-mid); transition: color .25s;
}
.navbar .nav-back:hover { color: var(--gold); }
.navbar .nav-back i { font-size: .65rem; transition: transform .25s; }
.navbar .nav-back:hover i { transform: translateX(-3px); }

/* Inner page responsive */
@media (max-width: 1100px) {
    .relevance-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; gap: 48px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .page-hero { padding: 140px 0 60px; }
    .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .page-hero-icon { width: 80px; height: 80px; order: -1; }
    .page-hero-icon i { font-size: 2rem; }
    .relevance-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .stats-bar { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   LEGAL PAGES (Privacy Policy / Terms)
   ════════════════════════════════════════ */
.legal-content {
    max-width: 780px;
}
.legal-updated {
    font-size: .78rem; color: var(--grey); margin-bottom: 40px;
    padding-bottom: 20px; border-bottom: 1px solid var(--white-8);
}
.legal-content h2 {
    font-family: var(--serif); font-size: 1.5rem; font-weight: 500;
    color: var(--white); margin: 40px 0 16px; line-height: 1.3;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p {
    font-size: .9rem; color: var(--grey-mid); line-height: 1.9; margin-bottom: 16px;
}
.legal-content ul {
    margin: 0 0 16px 20px; list-style: disc;
}
.legal-content ul li {
    font-size: .88rem; color: var(--grey-mid); line-height: 1.85;
    padding: 4px 0;
}
.legal-content a { color: var(--gold); transition: color .25s; }
.legal-content a:hover { color: var(--gold-lt); }
