:root {
    --ink: #13213a;
    --muted: #5e687b;
    --line: #dfe6ef;
    --paper: #ffffff;
    --soft: #f3f7fb;
    --navy: #0f1e36;
    --navy-2: #172a4a;
    --teal: #0a6c75;
    --gold: #b88932;
    --green: #28785f;
    --red: #b42318;
    --shadow: 0 24px 70px rgba(16, 32, 63, .12);
    --shadow-soft: 0 16px 38px rgba(16, 32, 63, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--teal)); z-index: 100; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(223, 230, 239, .86);
    backdrop-filter: blur(18px);
    transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 36px rgba(16, 32, 63, .08); background: rgba(255,255,255,.96); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; background: var(--navy); color: white; font-weight: 850; letter-spacing: 0; box-shadow: inset 0 -10px 20px rgba(255,255,255,.08); }
.brand strong { display: block; font-size: 15px; line-height: 1.15; white-space: nowrap; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.nav { display: flex; justify-content: center; gap: clamp(12px, 2vw, 26px); font-size: 14px; font-weight: 700; color: #31415f; }
.nav a { position: relative; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px; background: var(--gold); transition: width .22s ease; }
.nav a:hover { color: var(--teal); }
.nav a:hover::after { width: 100%; }
.header-action, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border-radius: 7px; font-weight: 800; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.header-action, .button.primary { background: var(--gold); color: #fff; box-shadow: 0 12px 24px rgba(184, 137, 50, .22); }
.button.secondary { border-color: rgba(255,255,255,.48); color: #fff; background: rgba(255,255,255,.08); }
.header-action:hover, .button.primary:hover { background: #9f7428; transform: translateY(-2px); }
.button.secondary:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 36px)); }
.section { padding: clamp(64px, 8vw, 108px) 0; }
.muted { background: var(--soft); }
.eyebrow { color: var(--teal); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 850; margin: 0 0 12px; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(42px, 7vw, 78px); max-width: 900px; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 22px; }
p { color: var(--muted); margin: 14px 0 0; }

.hero-section { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(28px, 6vw, 76px); align-items: center; min-height: calc(100vh - 78px); padding: clamp(60px, 9vw, 118px) clamp(18px, 5vw, 72px); color: white; position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, rgba(15,30,54,.95), rgba(10,108,117,.78)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80') center/cover; }
.hero-section::before { content: ""; position: absolute; inset: auto -10% -20% 40%; height: 320px; background: radial-gradient(circle, rgba(184,137,50,.26), transparent 58%); z-index: -1; animation: pulseGlow 7s ease-in-out infinite alternate; }
.hero-section::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent, black 25%, black 80%, transparent); z-index: -1; }
.hero-copy p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.84); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-panel { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.11); backdrop-filter: blur(18px); border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,.18); }
.panel-label { color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 850; }
.metric { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.metric strong { font-size: 36px; line-height: 1; }
.metric span { max-width: 190px; color: rgba(255,255,255,.78); text-align: right; }
.hero-note { padding: 18px; border-radius: 8px; background: rgba(255,255,255,.14); color: #fff; }

.intro-band { background: #fff; border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 6vw, 70px); align-items: start; }
.split.center { align-items: center; }
.section-heading { text-align: center; max-width: 780px; margin-bottom: 34px; }
.section-heading.left { text-align: left; margin-left: auto; margin-right: auto; }
.card-grid { display: grid; gap: 22px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini-points, .outcome-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mini-points span, .outcome-grid span { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 9px 13px; color: #31415f; font-weight: 750; font-size: 13px; }

.service-card, .team-card, .insight-card, .contact-card, .side-panel, .appointment-form, .process-card, .feature-grid > div { border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow-soft); }
.service-card, .insight-card { padding: 28px; min-height: 330px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.service-card::before, .insight-card::before, .team-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--gold), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.service-card:hover::before, .insight-card:hover::before, .team-card:hover::before { transform: scaleX(1); }
.lift-card { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.lift-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(10,108,117,.24); }
.service-card span, .insight-card span, .process-card span { color: var(--gold); font-weight: 850; margin-bottom: 20px; }
.service-card p, .insight-card p { flex: 1; }
.service-card a, .insight-card a, .team-card a, .side-panel a { color: var(--teal); font-weight: 850; margin-top: 22px; }
.service-card ul { padding-left: 18px; color: var(--muted); margin-top: 18px; }
.compact-list { display: grid; gap: 8px; margin: 18px 0 0; padding-left: 18px; color: var(--muted); }
.tall { min-height: 560px; }

.dark-band { background: linear-gradient(135deg, var(--navy), #173f48); color: white; position: relative; overflow: hidden; }
.dark-band .eyebrow { color: #d9b66c; }
.dark-band p { color: rgba(255,255,255,.72); }
.timeline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.timeline > div { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); border-radius: 8px; padding: 22px; }
.timeline strong { color: #d9b66c; }
.timeline.light { grid-template-columns: 1fr; margin-top: 24px; }
.timeline.light > div { background: white; border-color: var(--line); }
.timeline.light p { color: var(--muted); }
.quote-panel { border-left: 4px solid var(--gold); padding: 28px; background: rgba(255,255,255,.08); border-radius: 0 8px 8px 0; font-size: 24px; line-height: 1.35; }

.team-card { position: relative; padding: 30px; text-align: center; overflow: hidden; }
.team-card.large { min-height: 380px; }
.avatar { width: 88px; height: 88px; border-radius: 8px; display: grid; place-items: center; margin: 0 auto 22px; color: white; background: linear-gradient(135deg, var(--navy), var(--green)); font-size: 26px; font-weight: 900; box-shadow: 0 16px 30px rgba(15,30,54,.16); }
.team-card strong { display: block; color: var(--ink); margin-top: 14px; }

.insight-strip { display: grid; gap: 12px; }
.insight-strip a { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow-soft); transition: transform .2s ease; }
.insight-strip a:hover { transform: translateX(8px); }
.insight-strip span { color: var(--gold); font-weight: 850; }
.insight-strip small { color: var(--muted); }

.cta-band { background: linear-gradient(180deg, #f8fafc, #eef5f7); }
.contact-note { margin-top: 22px; padding: 18px; border-radius: 8px; background: white; border: 1px solid var(--line); color: var(--ink); font-weight: 750; }
.appointment-form { padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; width: 100%; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label span { display: block; font-size: 13px; font-weight: 850; color: #344563; margin-bottom: 7px; }
input, select, textarea { width: 100%; border: 1px solid #cfd8e5; border-radius: 7px; padding: 13px 14px; font: inherit; color: var(--ink); background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(10,108,117,.14); }
label small { color: var(--red); display: block; margin-top: 5px; }
.form-success { border: 1px solid rgba(40,120,95,.25); background: #eef8f4; color: var(--green); padding: 12px 14px; border-radius: 7px; font-weight: 750; }

.page-hero { padding: clamp(78px, 10vw, 128px) 0; background: linear-gradient(135deg, #f8fbfd, #e8f2f4); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border: 1px solid rgba(10,108,117,.16); border-radius: 50%; }
.page-hero p:not(.eyebrow) { font-size: 19px; max-width: 780px; }
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 34px; align-items: start; }
.detail-copy { font-size: 18px; }
.check-list { display: grid; gap: 14px; padding: 0; margin: 26px 0; list-style: none; }
.check-list li { padding: 16px 18px; border-left: 4px solid var(--gold); background: var(--soft); border-radius: 0 8px 8px 0; transition: transform .2s ease; }
.check-list li:hover { transform: translateX(5px); }
.side-panel { padding: 22px; position: sticky; top: 100px; display: grid; gap: 10px; }
.side-panel a { margin: 0; padding: 12px 14px; border-radius: 7px; background: var(--soft); }
.side-panel a.active { background: var(--navy); color: white; }
.process-grid, .feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid.compact { grid-template-columns: 1fr; }
.process-card, .feature-grid > div { padding: 22px; }
.process-card p { margin-top: 8px; }
.story-grid, .contact-grid, .appointment-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.values { display: grid; gap: 12px; padding: 28px; border-radius: 8px; background: var(--navy); color: white; }
.values span { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.84); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats-row div { padding: 26px; border-radius: 8px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.stats-row strong { display: block; font-size: 34px; }
.stats-row span { color: var(--muted); font-weight: 750; }
.contact-card { padding: 30px; }
.map-card { margin-top: 24px; min-height: 190px; display: grid; place-items: center; border-radius: 8px; color: white; font-weight: 850; text-align: center; background: linear-gradient(135deg, rgba(15,30,54,.92), rgba(10,108,117,.74)), url('https://images.unsplash.com/photo-1595658658481-d53d3f999875?auto=format&fit=crop&w=1000&q=80') center/cover; }

.footer { padding: 54px clamp(18px, 4vw, 56px) 26px; background: #10182b; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; max-width: 1120px; margin: 0 auto; }
.footer p, .footer small { color: rgba(255,255,255,.68); }
.footer h2 { font-size: 16px; margin-bottom: 12px; }
.footer a:not(.brand) { display: block; color: rgba(255,255,255,.76); margin-top: 8px; }
.footer .brand-mark { background: var(--gold); }
.copyright { max-width: 1120px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.58); font-size: 14px; }

.reveal-section { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal-section.is-visible { opacity: 1; transform: translateY(0); }
.stagger-2 { transition-delay: .12s; }
.stagger-3 { transition-delay: .22s; }
.stagger-4 { transition-delay: .32s; }
@keyframes pulseGlow { from { transform: translate3d(0,0,0) scale(.95); opacity: .7; } to { transform: translate3d(-8%, -8%, 0) scale(1.08); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal-section { opacity: 1; transform: none; } }

@media (max-width: 980px) {
    .site-header { grid-template-columns: 1fr auto; }
    .nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
    .hero-section, .split, .detail-layout, .story-grid, .contact-grid, .appointment-layout { grid-template-columns: 1fr; }
    .card-grid.three, .card-grid.two, .footer-grid, .process-grid, .feature-grid, .stats-row, .timeline { grid-template-columns: 1fr; }
    .hero-section { min-height: auto; }
    .side-panel { position: static; }
    .insight-strip a { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .brand strong { white-space: normal; }
    .header-action { display: none; }
    .site-header { padding: 14px 18px; }
    .field-grid { grid-template-columns: 1fr; }
    h1 { font-size: 40px; }
    .metric { display: block; }
    .metric span { display: block; text-align: left; margin-top: 6px; }
    .hero-section { padding-top: 44px; }
}
