/* ============================================================
   DONOVAN & REEVE INC  —  "EVERGREEN" DESIGN SYSTEM
   Emerald (#0F7A5A) + Champagne Gold (#E0A83B) on ivory.
   A ground-up layout: split hero, stat band, bento grid,
   solutions grid, horizontal timeline, split blocks, TOC legal.
   Fully self-contained layout (built with CSS grid, not the
   base framework grid) and re-skins base header/footer/form.
   ============================================================ */

:root {
    --brand:        #0F7A5A;   /* emerald */
    --brand-600:    #0C6A4E;
    --brand-700:    #0A5940;   /* deep */
    --brand-800:    #073B2C;
    --brand-300:    #34D399;   /* mint */
    --brand-050:    #E8F3EE;

    --gold:         #E0A83B;   /* champagne gold */
    --gold-600:     #C68A1E;
    --gold-300:     #F2CD82;
    --gold-050:     #FBF3E2;

    --ink:          #14261E;   /* deep green-charcoal */
    --ink-2:        #2E403A;
    --muted:        #5E6B64;   /* body copy */
    --line:         #E7EAE4;   /* hairlines */
    --line-warm:    #ECE6D8;

    --bg:           #FFFFFF;
    --cream:        #F7F5EC;   /* warm section tint */
    --mint:         #EDF6F1;   /* cool section tint */

    --footer:       #0B241B;   /* deep forest */
    --footer-2:     #113A2C;

    --grad:         linear-gradient(135deg, #0A5940 0%, #12A46E 100%);   /* emerald */
    --grad-gold:    linear-gradient(135deg, #C68A1E 0%, #F2CD82 100%);   /* gold */
    --grad-mix:     linear-gradient(120deg, #0A5940 0%, #0F7A5A 55%, #1BA774 100%);

    --shadow-sm:    0 8px 26px rgba(20,38,30,.07);
    --shadow-md:    0 20px 46px rgba(15,122,90,.14);
    --shadow-lg:    0 30px 70px rgba(20,38,30,.16);

    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 26px;
    --r-xl: 34px;

    --sec-pad: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: var(--muted);
    background: var(--bg);
}
::selection { background: rgba(15,122,90,.15); color: var(--ink); }
img { max-width: 100%; }

.container {
    width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px;
}
@media (min-width: 1200px) { .container { max-width: 1160px; } }
@media (min-width: 992px) and (max-width: 1199px) { .container { max-width: 960px; } }
@media (min-width: 768px) and (max-width: 991px)  { .container { max-width: 720px; } }
@media (min-width: 576px) and (max-width: 767px)  { .container { max-width: 540px; } }

/* generic new section */
.sec { position: relative; padding: var(--sec-pad) 0; overflow: hidden; }
.sec--cream { background: var(--cream); }
.sec--mint  { background: var(--mint); }
.sec--forest { background: linear-gradient(160deg, var(--footer) 0%, var(--footer-2) 100%); }

/* ========================================
   BUTTONS
   ======================================== */
.btn2 {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 14px; font-weight: 700; letter-spacing: .2px;
    padding: 14px 30px; border-radius: 40px; border: 2px solid transparent;
    text-decoration: none; cursor: pointer; transition: transform .3s ease, box-shadow .3s ease, background-position .5s ease, color .3s ease, border-color .3s ease;
    line-height: 1;
}
.btn2-primary {
    color: #fff; background: var(--grad); background-size: 160% 160%;
    box-shadow: 0 12px 28px rgba(15,122,90,.30);
}
.btn2-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 34px rgba(198,138,30,.32); color: #fff; }
.btn2-ghost { color: var(--brand); border-color: var(--brand); background: transparent; }
.btn2-ghost:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn2-gold { color: var(--ink); background: var(--grad-gold); box-shadow: 0 12px 26px rgba(198,138,30,.32); }
.btn2-gold:hover { transform: translateY(-2px); color: var(--ink); }
.btn2-light { color: var(--brand-700); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.btn2-light:hover { transform: translateY(-2px); color: var(--brand-700); }
.btn2-outline-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn2-outline-light:hover { background: #fff; color: var(--brand-700); border-color:#fff; transform: translateY(-2px); }

/* ========================================
   SECTION HEADER  (left or centered)
   ======================================== */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12.5px; font-weight: 800; letter-spacing: 2.6px; text-transform: uppercase;
    color: var(--gold-600); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow.center::after { content: ''; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }

.sec-head { max-width: 620px; margin-bottom: 54px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 {
    color: var(--ink); font-weight: 800; letter-spacing: -.6px; line-height: 1.14; margin: 0 0 14px;
    font-size: clamp(26px, 3.4vw, 40px);
}
.sec-head h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* on dark forest sections the emerald gradient text is too dark — use bright gold->mint */
.sec--forest h2 em { background: linear-gradient(120deg, var(--gold-300), var(--brand-300)) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important; }
.sec-head p { font-size: 16px; line-height: 1.75; margin: 0; color: var(--muted); }

/* split header: title left, intro right */
.sec-head-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 54px; }
.sec-head-split .sh-l h2 { color: var(--ink); font-weight: 800; letter-spacing: -.6px; line-height: 1.14; margin: 0; font-size: clamp(26px, 3.4vw, 40px); }
.sec-head-split .sh-l h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sec-head-split .sh-r p { margin: 0; font-size: 15.5px; line-height: 1.8; color: var(--muted); }
@media (max-width: 860px){ .sec-head-split { grid-template-columns: 1fr; gap: 16px; } }

/* ========================================
   HEADER  (light, clean) + TOP BAR
   ======================================== */
.header-topbar { background: var(--grad); padding: 9px 0; position: relative; z-index: 2; }
.topbar-inner { display: flex; align-items: center; justify-content: flex-end; }
.topbar-left { display: flex; align-items: center; gap: 26px; }
.topbar-left a { color: rgba(255,255,255,.92) !important; font-size: 12.5px; text-decoration: none; display: flex; align-items: center; gap: 7px; transition: color .3s ease, transform .3s ease; }
.topbar-left a:hover { color: #fff !important; transform: translateY(-1px); }
.topbar-left a i { font-size: 12px; color: var(--gold-300); }

.header {
    background: rgba(255,255,255,.9) !important;
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line) !important; box-shadow: 0 2px 18px rgba(20,38,30,.05) !important;
    transition: background .4s ease, box-shadow .4s ease, padding .4s ease; padding: 10px 0; position: relative;
}
.header.is--scrolled { background: rgba(255,255,255,.98) !important; box-shadow: 0 8px 30px rgba(20,38,30,.1) !important; padding: 6px 0 !important; }
.header .fflex { display: flex; align-items: center; justify-content: space-between; }
.header .logo { flex-shrink: 0; }
.header .navigation { flex-grow: 1; display: flex; justify-content: flex-end; align-items: center; }
.header .logo img, .header.is--scrolled .logo img { max-height: 50px !important; height: auto !important; width: auto !important; transition: none !important; transform: none !important; }
.nav-hamburger { display: none; }

.navigation > ul > li > a { letter-spacing: .2px; font-size: 14px !important; font-weight: 600 !important; color: var(--ink) !important; transition: color .3s ease !important; position: relative; }
.navigation > ul > li > a::before { display: none !important; content: none !important; }
.navigation > ul > li > a::after {
    content: '' !important; display: block !important; position: absolute; left: 16px; right: 16px; bottom: 4px;
    height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left center; transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.navigation > ul > li:hover > a::after, .navigation > ul > li.is--active > a::after { transform: scaleX(1); }
.navigation > ul > li.dropdown > a::after { display: none !important; }
.navigation > ul > li:hover > a, .navigation > ul > li.is--active > a { color: var(--brand) !important; }
.navigation > ul > li.dropdown > a > i { transition: transform .3s ease; font-size: 10px !important; margin-left: 4px !important; margin-right: 0 !important; color: var(--ink) !important; }
.navigation > ul > li.dropdown:hover > a > i { transform: rotate(180deg); color: var(--brand) !important; }

.navigation .dropdown ul { border-radius: 14px !important; box-shadow: 0 20px 50px rgba(20,38,30,.16) !important; background: #fff !important; border: 1px solid var(--line) !important; padding: 8px !important; overflow: hidden; margin-top: 8px !important; }
.navigation .dropdown ul li { min-width: 250px; }
.navigation .dropdown ul li a, .navigation .dropdown ul a { padding: 11px 16px !important; font-size: 13.5px !important; color: var(--ink-2) !important; font-weight: 500 !important; border-radius: 10px !important; transition: all .25s ease !important; text-align: left; position: relative; }
.navigation .dropdown ul li a:hover, .navigation .dropdown ul a:hover { color: var(--brand) !important; background: var(--brand-050) !important; padding-left: 22px !important; }
.navigation .dropdown ul li.is--active a { color: #fff !important; font-weight: 600 !important; background: var(--grad) !important; }

.header-cta-btn { display: inline-block !important; background: var(--gold) !important; color: var(--ink) !important; padding: 10px 24px !important; border-radius: 40px !important; font-size: 13px !important; font-weight: 800 !important; letter-spacing: .3px; box-shadow: 0 8px 20px rgba(198,138,30,.28) !important; transition: background-color .28s ease, color .28s ease, transform .28s ease, box-shadow .28s ease !important; text-decoration: none !important; will-change: transform; }
.header-cta-btn:hover { transform: translateY(-2px); background: var(--brand) !important; color: #fff !important; box-shadow: 0 12px 24px rgba(15,122,90,.3) !important; }
/* The CTA sits inside .navigation > ul.gesture-nav, so the main-nav link rules leak onto it.
   Shield it: keep its own colors and drop the stray underline. */
.navigation .gesture-nav > li > a.header-cta-btn::after { display: none !important; }
.navigation .gesture-nav > li:hover > a.header-cta-btn,
.navigation .gesture-nav > li.is--active > a.header-cta-btn { color: #fff !important; }
.navigation .gesture-nav { background: none !important; }
.navigation .gesture-nav::before { display: none !important; content: none !important; }

@media (min-width: 992px) {
    .nav-hamburger { display: none !important; }
    .header .navigation { display: flex !important; position: static !important; left: auto !important; width: auto !important; height: auto !important; max-height: none !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; overflow: visible !important; flex-direction: row !important; align-items: center !important; justify-content: flex-end !important; flex-grow: 1 !important; }
    .navigation > ul { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-end !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
    .navigation > ul > li { border: none !important; margin: 0 !important; position: relative; display: inline-block !important; }
    .navigation > ul > li > a { display: inline-block !important; padding: 10px 16px !important; }
    .navigation .gesture-nav { display: flex !important; align-items: center !important; margin: 0 0 0 22px !important; padding: 0 !important; border: none !important; background: none !important; list-style: none !important; }
    .navigation .gesture-nav li { display: inline-block !important; border: none !important; }
    .navigation .gesture-nav .header-cta-btn { display: inline-block !important; width: auto !important; }
    .navigation .dropdown ul { position: absolute !important; max-height: none !important; overflow: visible !important; }
}

/* ========================================
   HERO  —  split, light, image collage
   ======================================== */
.hero { position: relative; background: linear-gradient(180deg, #FBFAF4 0%, #F3F6F1 100%); padding: 66px 0 92px; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -140px; right: -140px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(15,122,90,.14), transparent 62%); border-radius: 50%; pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -160px; left: -120px; width: 440px; height: 440px; background: radial-gradient(circle, rgba(224,168,59,.16), transparent 64%); border-radius: 50%; pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: center; }

.hero-body { animation: fadeSlideUp .8s ease-out both; }
.hero-title { color: var(--ink); font-weight: 800; letter-spacing: -1px; line-height: 1.06; margin: 6px 0 18px; font-size: clamp(34px, 5vw, 60px); }
.hero-title strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }
.hero-lead-sub { display: block; font-size: clamp(17px, 2vw, 22px); font-weight: 400; color: var(--ink-2); margin-bottom: 6px; }
.hero-text { font-size: 16.5px; line-height: 1.8; color: var(--muted); max-width: 540px; margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-bullets li { position: relative; padding-left: 30px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.hero-bullets li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; background: var(--brand-050); }
.hero-bullets li::after { content: '\2713'; position: absolute; left: 4px; top: 0; color: var(--brand); font-size: 12px; font-weight: 900; }

/* media collage */
.hero-media { position: relative; animation: slideInRight .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-media-main { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; }
.hero-media-main img { display: block; width: 100%; height: 480px; object-fit: cover; }
.hero-media-blob { position: absolute; inset: auto -18px -18px auto; width: 130px; height: 130px; background: var(--grad-gold); border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; z-index: -1; animation: blobMorph 16s ease-in-out infinite; }
.hero-badge { position: absolute; left: -22px; bottom: 40px; background: #fff; border-radius: var(--r-md); padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px; }
.hero-badge .hb-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.hero-badge .hb-num { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1; }
.hero-badge .hb-label { font-size: 12px; color: var(--muted); }
.hero-chip { position: absolute; right: -14px; top: 30px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .4px; padding: 10px 16px; border-radius: 40px; box-shadow: var(--shadow-md); }
.hero-chip b { color: var(--gold-300); }

/* inner (legal) hero */
.hero--inner { padding: 62px 0 58px; text-align: center; }
.hero--inner .hero-title { font-size: clamp(30px, 4vw, 46px); margin: 8px 0 10px; }
.hero-crumb { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.hero-crumb a { color: var(--brand); text-decoration: none; }
.hero-crumb span { color: var(--gold-600); }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-media { order: -1; max-width: 520px; }
    .hero-media-main img { height: 340px; }
}

/* ========================================
   STAT BAND
   ======================================== */
.statband { position: relative; z-index: 5; }
.statband .container { margin-top: -56px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.stat { padding: 30px 26px; text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: var(--line); }
.stat-num { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-num sup { color: var(--gold-600); -webkit-text-fill-color: var(--gold-600); }
.stat-label { font-size: 13.5px; color: var(--muted); font-weight: 600; }
@media (max-width: 760px){ .stat-row { grid-template-columns: repeat(2,1fr); } .stat:nth-child(2)::before{ display:none;} }

/* ========================================
   BENTO FEATURE GRID
   ======================================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 22px; }
.bento-tile {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 34px 30px; overflow: hidden; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease; box-shadow: var(--shadow-sm);
}
.bento-tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(15,122,90,.28); }
.bento-tile .bt-ic { width: 62px; height: 62px; border-radius: 16px; background: var(--brand-050); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; transition: transform .4s ease; }
.bento-tile:hover .bt-ic { transform: rotate(-6deg) scale(1.06); }
.bento-tile h4 { color: var(--ink); font-size: 20px; font-weight: 800; margin: 0 0 10px; }
.bento-tile p { font-size: 14.5px; line-height: 1.75; color: var(--muted); margin: 0; }
.bento-tile .bt-corner { position: absolute; top: 0; right: 0; width: 74px; height: 74px; background: var(--gold-050); border-bottom-left-radius: var(--r-lg); }
.bento-tile .bt-ic { position: relative; z-index: 1; }
/* wide feature tile spanning 2 cols */
.bento-tile.wide { grid-column: span 2; }
/* gradient promo tile */
.bento-tile.promo { background: var(--grad-mix); border: none; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.bento-tile.promo::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(224,168,59,.4), transparent 65%); }
.bento-tile.promo h4 { color: #fff; font-size: 23px; }
.bento-tile.promo p { color: rgba(255,255,255,.86); margin-bottom: 20px; }
.bento-tile.promo .bt-corner { display: none; }
@media (max-width: 900px){ .bento { grid-template-columns: repeat(2,1fr);} .bento-tile.wide{grid-column: span 2;} }
@media (max-width: 620px){ .bento { grid-template-columns: 1fr;} .bento-tile.wide{grid-column:auto;} }

/* ========================================
   SOLUTIONS GRID  (cards linking to pages)
   ======================================== */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sol-card {
    position: relative; display: block; text-decoration: none; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 30px 26px 26px; overflow: hidden;
    transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; box-shadow: var(--shadow-sm);
}
.sol-card::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sol-card:hover::before { transform: scaleX(1); }
.sol-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-600); background: var(--gold-050); padding: 5px 10px; border-radius: 20px; margin-bottom: 16px; }
.sol-card h4 { color: var(--ink); font-size: 18.5px; font-weight: 800; margin: 0 0 8px; }
.sol-card p { font-size: 13.8px; line-height: 1.7; color: var(--muted); margin: 0 0 16px; }
.sol-more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--brand); }
.sol-more i { transition: transform .3s ease; }
.sol-card:hover .sol-more i { transform: translateX(5px); }
.sol-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.sol-group + .sol-group { margin-top: 46px; }
.sol-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sol-group-head .eyebrow { margin: 0; }
.sol-group-head .sg-line { flex: 1; height: 1px; background: var(--line); }
@media (max-width: 1000px){ .sol-grid.cols-4 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 900px){ .sol-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 600px){ .sol-grid, .sol-grid.cols-4 { grid-template-columns: 1fr;} }

/* ========================================
   HORIZONTAL TIMELINE  (process)
   ======================================== */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 10px, transparent 10px 20px); }
.sec--forest .timeline::before { background: repeating-linear-gradient(90deg, rgba(224,168,59,.5) 0 10px, transparent 10px 20px); }
.tl-step { position: relative; text-align: center; padding-top: 0; }
.tl-node { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; position: relative; z-index: 2; box-shadow: 0 12px 30px rgba(0,0,0,.28); border: 5px solid var(--footer); }
.sec:not(.sec--forest) .tl-node { border-color: #fff; box-shadow: 0 12px 30px rgba(15,122,90,.25); }
.tl-num { position: absolute; top: -6px; right: calc(50% - 44px); width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; z-index: 3; }
.tl-step h4 { font-size: 18px; font-weight: 800; margin: 0 0 8px; color: #fff; }
.tl-step p { font-size: 14px; line-height: 1.7; margin: 0 auto; max-width: 300px; color: rgba(255,255,255,.74); }
.sec:not(.sec--forest) .tl-step h4 { color: var(--ink); }
.sec:not(.sec--forest) .tl-step p { color: var(--muted); }
@media (max-width: 820px){ .timeline { grid-template-columns: 1fr; gap: 34px; } .timeline::before { display: none; } }

/* ========================================
   SPLIT BLOCK  (image + content + checklist)
   ======================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.split-media .sm-frame { position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: var(--r-lg); z-index: -1; }
.split-media .sm-tag { position: absolute; left: 22px; bottom: 22px; background: #fff; border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow-md); font-weight: 800; color: var(--ink); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.split-media .sm-tag i { color: var(--brand); font-size: 20px; }
.split-body h2 { color: var(--ink); font-weight: 800; letter-spacing: -.5px; line-height: 1.14; margin: 8px 0 16px; font-size: clamp(24px, 3.2vw, 36px); }
.split-body h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.split-body p { font-size: 15.5px; line-height: 1.85; color: var(--muted); margin: 0 0 20px; }
.checklist { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checklist li { position: relative; padding-left: 32px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.checklist li i { position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 7px; background: var(--brand-050); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 12px; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse .split-media { order: -1; } .split-media img { height: 320px; } .checklist { grid-template-columns: 1fr; } }

/* ========================================
   BENEFIT CARDS  (service pages)
   ======================================== */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; display: flex; flex-direction: column; }
.benefit-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.benefit-media { position: relative; height: 170px; overflow: hidden; }
.benefit-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.benefit-card:hover .benefit-media img { transform: scale(1.07); }
.benefit-num { position: absolute; left: 18px; bottom: -20px; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-gold); color: var(--ink); font-size: 18px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); }
.benefit-body { padding: 32px 26px 28px; flex: 1; }
.benefit-body h4 { color: var(--ink); font-size: 18px; font-weight: 800; margin: 0 0 10px; }
.benefit-body p { font-size: 14px; line-height: 1.78; color: var(--muted); margin: 0; }
@media (max-width: 900px){ .benefit-grid { grid-template-columns: 1fr; } .benefit-media { height: 200px; } }

/* capability chips */
.cap-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cap-chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: 10px 18px 10px 12px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.cap-chip i { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-050); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 15px; }

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-card { display: grid; grid-template-columns: .92fr 1.08fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-aside { position: relative; background: var(--grad-mix); color: #fff; padding: 46px 40px; overflow: hidden; }
.contact-aside::after { content: ''; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(224,168,59,.4), transparent 65%); }
.contact-aside h3 { color: #fff; font-size: 27px; font-weight: 800; margin: 0 0 12px; letter-spacing: -.3px; position: relative; z-index: 1; }
.contact-aside > p { color: rgba(255,255,255,.9); font-size: 15px; line-height: 1.7; margin: 0 0 26px; position: relative; z-index: 1; }
.contact-info { position: relative; z-index: 1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22); }
.contact-info a { display: flex; align-items: center; gap: 12px; color: #fff !important; font-size: 14.5px; margin-bottom: 16px; text-decoration: none; transition: padding-left .3s ease; }
.contact-info a:hover { padding-left: 5px; }
.contact-info a i { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.contact-form-body { padding: 46px 44px; }
.contact-form-body h4 { font-size: 26px; font-weight: 800; color: var(--ink); margin: 0 0 6px; letter-spacing: -.3px; }
.contact-form-body .form-subtitle { font-size: 14px; color: var(--muted); margin: 0 0 24px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-wrap { margin-bottom: 16px; }
.field-wrap > label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.form-control { width: 100%; border: 1.5px solid var(--line) !important; border-radius: var(--r-sm) !important; padding: 12px 15px !important; font-size: 14px !important; background: #fafcfa !important; color: var(--ink) !important; transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease; height: auto !important; }
.form-control::placeholder { color: #9fb0a8; font-size: 13px; }
.form-control:focus { border-color: var(--brand) !important; box-shadow: 0 0 0 4px rgba(15,122,90,.1); background: #fff !important; outline: none; }
.checkbox-wrap { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 8px; }
.checkbox-wrap label { font-size: 13px; color: var(--ink-2); cursor: pointer; }
.note { font-size: 11px !important; color: #97a39c !important; line-height: 1.55 !important; margin-bottom: 14px !important; }
.note a { color: var(--brand) !important; }
.btn-primary { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; background: var(--grad) !important; background-size: 160% 160% !important; border: none !important; border-radius: 40px !important; padding: 14px 42px !important; font-size: 15px !important; font-weight: 700 !important; letter-spacing: .3px; color: #fff !important; text-transform: none !important; box-shadow: 0 12px 30px rgba(15,122,90,.3) !important; transition: transform .3s ease, box-shadow .3s ease, background-position .5s ease; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0 !important; box-shadow: 0 16px 36px rgba(198,138,30,.34) !important; color: #fff !important; }
.form-status { padding: 11px 15px; border-radius: 10px; font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.form-status-success { background: #e8f6ee; color: #12805a; border: 1px solid #bde6cf; }
.form-status-error { background: #fef1f2; color: #c8323f; border: 1px solid #f8ccd1; }
.form-control.is-invalid { border-color: #e53e3e !important; }
@media (max-width: 860px){ .contact-card { grid-template-columns: 1fr; } .contact-form-body { padding: 32px 24px; } .contact-aside { padding: 36px 28px; } .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ========================================
   CTA PANEL  (floating gradient)
   ======================================== */
.cta-wrap { padding: 44px 0; background: var(--bg); }
.cta-panel { position: relative; background: var(--grad-mix); border-radius: var(--r-xl); padding: 60px 56px; overflow: hidden; text-align: center; box-shadow: var(--shadow-lg); }
.cta-panel::before { content: ''; position: absolute; left: -60px; top: -60px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(224,168,59,.34), transparent 66%); }
.cta-panel::after { content: ''; position: absolute; right: -70px; bottom: -80px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(52,211,153,.3), transparent 66%); }
.cta-panel .eyebrow { color: var(--gold-300); justify-content: center; }
.cta-panel .eyebrow::before, .cta-panel .eyebrow::after { background: var(--gold-300); }
.cta-panel h3 { position: relative; z-index: 1; color: #fff; font-weight: 800; letter-spacing: -.4px; font-size: clamp(24px, 3.4vw, 38px); margin: 0 0 14px; }
.cta-panel p { position: relative; z-index: 1; color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.7; max-width: 660px; margin: 0 auto 28px; }
.cta-panel .cta-btns { position: relative; z-index: 1; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 620px){ .cta-panel { padding: 44px 26px; } }

/* ========================================
   LEGAL LAYOUT  (TOC sidebar + article)
   ======================================== */
.legal { padding: 76px 0; }
.legal-grid { display: grid; grid-template-columns: 290px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 92px; background: var(--cream); border: 1px solid var(--line-warm); border-radius: var(--r-md); padding: 24px 22px; }
.legal-toc h5 { font-size: 12.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-600); margin: 0 0 16px; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; }
.legal-toc li { margin-bottom: 4px; }
.legal-toc a { display: block; font-size: 13.5px; color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 9px; border-left: 3px solid transparent; transition: all .25s ease; }
.legal-toc a:hover { background: #fff; color: var(--brand); border-left-color: var(--brand); }
.legal-article h2 { color: var(--ink); font-weight: 800; letter-spacing: -.4px; font-size: 26px; margin: 0 0 10px; }
.legal-article > p:first-of-type { font-size: 15.5px; }
.legal-article h4 { color: var(--brand); font-weight: 800; font-size: 18px; margin: 34px 0 12px; scroll-margin-top: 90px; }
.legal-article p { color: var(--muted); font-size: 14.8px; line-height: 1.85; margin: 0 0 14px; }
.legal-article p strong { color: var(--ink); }
.legal-article a { color: var(--brand); }
.legal-article .listingterms { background: var(--mint); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r-sm); padding: 20px 22px 20px 26px; margin: 18px 0 24px; }
.listingterms ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 34px; }
.listingterms ul li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 13.5px; color: var(--ink-2); break-inside: avoid; }
.listingterms ul li::before { content: ''; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 3px; background: var(--grad); }
.listingterms ul li strong { color: var(--ink); }
.legal-article .listingoth ul { list-style: disc; padding-left: 22px; margin: 0 0 14px; }
.legal-article .listingoth li { font-size: 14.5px; line-height: 1.8; color: var(--muted); margin-bottom: 9px; }
.legal-article .listingoth ul ul { list-style: circle; margin-top: 9px; }
.legal-toc ul:empty { display: none; }
@media (max-width: 860px){ .legal-grid { grid-template-columns: 1fr; } .legal-toc { position: static; } .listingterms ul { columns: 1; } }

/* ========================================
   FOOTER
   ======================================== */
.footer-modern { background: linear-gradient(160deg, var(--footer) 0%, var(--footer-2) 100%) !important; color: #fff; position: relative; overflow: hidden; }
.footer-modern::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-gold); }
.footer-modern::after { content: ''; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(15,122,90,.4), transparent 68%); pointer-events: none; }
.footer-top { padding: 66px 0 42px !important; position: relative; z-index: 1; }
.footer-brand .footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-brand .footer-logo img { max-height: 52px; }
.footer-brand .footer-desc { color: rgba(255,255,255,.6) !important; font-size: 13.5px !important; line-height: 1.75 !important; max-width: 300px; margin: 0 !important; }
.footer-widget h5 { color: #fff !important; font-size: 15px !important; font-weight: 700 !important; margin-bottom: 20px !important; position: relative; padding-bottom: 12px; text-transform: none !important; letter-spacing: 0 !important; }
.footer-widget h5::after { content: ''; position: absolute; bottom: 0; left: 0; width: 32px; height: 3px; background: var(--grad-gold); border-radius: 3px; }
.footer-widget ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.footer-widget ul li { margin-bottom: 11px; }
.footer-widget ul li a { color: rgba(255,255,255,.6) !important; font-size: 13.5px !important; text-decoration: none !important; transition: color .3s ease, padding-left .3s ease; display: inline-block; }
.footer-widget ul li a:hover { color: var(--gold-300) !important; padding-left: 6px; }
.footer-contact li a { display: flex !important; align-items: center; gap: 10px; }
.footer-contact li a i { color: var(--gold-300); font-size: 14px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; position: relative; z-index: 1; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: center; }
.footer-bottom-inner p { color: rgba(255,255,255,.45) !important; font-size: 13px !important; margin: 0 !important; }

/* ========================================
   POPUP
   ======================================== */
.popup.popup-style1 { border-radius: var(--r-md) !important; box-shadow: var(--shadow-lg) !important; }
.popup .logo-wrap img { max-height: 46px; }
.popupContent h4 .cl-iPrimary { color: var(--brand) !important; }

/* ========================================
   SCROLL-REVEAL
   ======================================== */
.reveal { opacity: 0; transform: translateY(42px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.reveal-l { transform: translateX(-46px); }
.reveal.reveal-r { transform: translateX(46px); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--grad); border-radius: 10px; border: 2px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--brand-700), var(--gold-600)); }

/* ========================================
   KEYFRAMES
   ======================================== */
@keyframes slideInLeft  { from { opacity: 0; transform: translateX(-54px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(54px);  } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeSlideUp  { from { opacity: 0; transform: translateY(26px);  } to { opacity: 1; transform: translateY(0); } }
@keyframes blobMorph {
    0%,100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 40% 60% / 60% 50% 50% 40%; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* ============================================================
   MOBILE NAVIGATION (drawer)
   ============================================================ */
@media (max-width: 991px) {
    .header-topbar { display: none; }
    .header { padding: 12px 0 !important; position: relative; z-index: 1001; }
    .header .container { padding: 0 20px; max-width: 100%; }
    .header .fflex { display: flex; align-items: center; justify-content: space-between; width: 100%; position: relative; gap: 15px; }
    .header .logo { flex: 0 0 auto; display: flex; align-items: center; }
    .header .logo img { max-height: 40px !important; height: auto; width: auto; }

    .nav-hamburger { display: block !important; width: 30px; height: 24px; cursor: pointer; z-index: 1000; position: relative; padding: 0; margin: 0; flex: 0 0 auto; background: transparent; border: none; -webkit-tap-highlight-color: transparent; }
    .nav-hamburger span { display: block; height: 2px; width: 100%; background: var(--brand); border-radius: 2px; transition: all .25s ease-in-out; position: absolute; left: 0; transform-origin: center center; }
    .nav-hamburger span:nth-child(1) { top: 0; }
    .nav-hamburger span:nth-child(2) { top: 11px; }
    .nav-hamburger span:nth-child(3) { top: 22px; }
    .nav-hamburger span:nth-child(4), .nav-hamburger span:nth-child(5), .nav-hamburger span:nth-child(6) { display: none !important; }
    .nav-hamburger.is--active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
    .nav-hamburger.is--active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

    .navigation, .header .navigation {
        position: fixed !important; top: 0 !important; left: -100% !important; width: 300px !important; height: 100vh !important; max-height: 100vh !important;
        background: linear-gradient(165deg, var(--footer), var(--footer-2)) !important; z-index: 999 !important; padding-top: 74px !important; padding-bottom: 20px !important;
        overflow-y: auto !important; overflow-x: hidden !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important;
        transition: left .4s cubic-bezier(.4,0,.2,1) !important; box-shadow: 6px 0 40px rgba(0,0,0,.5) !important;
    }
    .navigation.is--open, .header .navigation.is--open { left: 0 !important; }
    .navigation > ul { width: 100% !important; display: flex !important; flex-direction: column !important; padding: 0 !important; margin: 0 !important; }
    .navigation > ul > li { width: 100% !important; border-bottom: 1px solid rgba(255,255,255,.07); margin: 0 !important; }
    .navigation > ul > li > a { color: rgba(255,255,255,.9) !important; padding: 15px 22px !important; font-size: 15px !important; font-weight: 600 !important; justify-content: space-between !important; align-items: center !important; width: 100%; display: flex !important; text-decoration: none; transition: all .3s ease !important; min-height: 48px; }
    .navigation > ul > li > a::after, .navigation > ul > li > a::before { display: none !important; }
    .navigation > ul > li.dropdown > a > i { margin-left: auto; color: #fff !important; transition: transform .3s ease; }
    .navigation > ul > li:hover > a, .navigation > ul > li.is--active > a { color: var(--gold-300) !important; background: rgba(15,122,90,.16); }

    .navigation .dropdown ul { position: static !important; opacity: 1 !important; visibility: visible !important; border-radius: 0 !important; box-shadow: none !important; background: rgba(0,0,0,.2) !important; border: none !important; border-top: 1px solid rgba(255,255,255,.05) !important; padding: 0 !important; margin: 0 !important; min-width: 0 !important; max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .4s ease; display: block !important; }
    .navigation .dropdown.is--active > ul { max-height: 600px; padding: 6px 0 !important; }
    .navigation .dropdown.is--active > a > i { transform: rotate(180deg); }
    .navigation .dropdown ul li { min-width: 0 !important; width: 100% !important; border-bottom: 1px solid rgba(255,255,255,.04); }
    .navigation .dropdown ul li:last-child { border-bottom: none; }
    .navigation .dropdown ul li a, .navigation .dropdown ul a { color: rgba(255,255,255,.72) !important; padding: 13px 22px 13px 40px !important; font-size: 13.5px !important; font-weight: 400 !important; border-left: 3px solid transparent !important; background: transparent !important; display: block !important; transition: all .3s ease !important; position: relative; min-height: 44px; }
    .navigation .dropdown ul li a::before { content: '\203A'; position: absolute; left: 24px; top: 50%; transform: translateY(-50%); font-size: 18px; opacity: .5; transition: all .3s ease; }
    .navigation .dropdown ul li a:hover, .navigation .dropdown ul a:hover { color: var(--gold-300) !important; background: rgba(15,122,90,.12) !important; border-left-color: var(--gold) !important; padding-left: 45px !important; }
    .navigation .dropdown ul li a:hover::before { opacity: 1; left: 28px; }
    .navigation .dropdown ul li.is--active a { color: var(--gold-300) !important; font-weight: 500 !important; border-left-color: var(--gold) !important; background: rgba(15,122,90,.12) !important; }

    .navigation .gesture-nav { width: 100% !important; padding: 20px !important; background: none !important; margin: 10px 0 0 !important; border-top: 1px solid rgba(255,255,255,.1); }
    .navigation .gesture-nav::before { display: none !important; content: none !important; }
    .navigation .gesture-nav li { width: 100% !important; border: none !important; }
    .header-cta-btn { display: block !important; text-align: center !important; padding: 14px 24px !important; border-radius: 40px !important; font-size: 14px !important; font-weight: 700 !important; width: 100% !important; box-shadow: 0 8px 22px rgba(15,122,90,.4) !important; }

    body.is--menu { overflow: hidden; height: 100vh; }
    .defaultOverlay { position: fixed; inset: 0; width: 100%; height: 100vh; background: rgba(11,36,27,.6) !important; backdrop-filter: blur(3px); z-index: 998; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
    body.is--menu .defaultOverlay { opacity: 1; visibility: visible; }
    .navigation::-webkit-scrollbar { width: 4px; }
    .navigation::-webkit-scrollbar-track { background: rgba(255,255,255,.05); }
    .navigation::-webkit-scrollbar-thumb { background: rgba(224,168,59,.5); border-radius: 10px; }
}

/* ============================================================
   RESPONSIVE SECTION RHYTHM
   ============================================================ */
@media (max-width: 991px) {
    :root { --sec-pad: 60px; }
    .footer-brand { margin-bottom: 30px; }
    .footer-widget { margin-bottom: 26px; }
    .sec-head { margin-bottom: 38px; }
    .cta-wrap { padding: 32px 0; }
}
@media (max-width: 620px) {
    .hero-title { font-size: 32px; }
    .hero-media-main img { height: 280px; }
    .hero-badge { left: 10px; }
}
