:root {
  --navy: #0d3550;
  --navy-2: #14506f;
  --gold: #5bbcd9;
  --gold-dark: #1b7a9c;
  --ink: #1b2b38;
  --muted: #5b6b78;
  --bg: #fbfdfe;
  --tint: #eef5f8;
  --line: #dde8ed;
  --radius: 14px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; color: var(--navy); font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.left { margin-bottom: 0; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-dark); margin-bottom: 14px; }
.eyebrow-light { color: var(--gold); }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-dark); color: #fff; }
.btn-gold:hover { background: #14607b; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 9px 20px; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: block; }
.logo img { height: 56px; width: auto; display: block; border-radius: 6px; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a { color: #fff; text-decoration: none; font-size: .93rem; }
.menu a:not(.btn):hover { color: var(--gold); }
.scrolled .menu a:not(.btn) { color: var(--ink); }
.scrolled .menu a:not(.btn):hover { color: var(--gold-dark); }
.menu .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: .2s; }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 26px; }
.scrolled .menu-toggle span { background: var(--navy); }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { background: radial-gradient(900px 500px at 85% 0%, rgba(91,188,217,.22), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: calc(76px + clamp(50px, 8vw, 100px)) 0 clamp(70px, 10vw, 120px); }
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-video, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-video { object-fit: cover; }
.hero-overlay { background: linear-gradient(100deg, rgba(13,53,80,.94) 0%, rgba(13,53,80,.82) 45%, rgba(13,53,80,.55) 100%); }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--gold); font-style: italic; font-weight: 400; }
.hero .eyebrow { color: var(--gold); }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.12rem; color: #cbd8e0; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 12px 32px; }
.stat { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-bottom: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1.1; font-weight: 600; }
.stat span { color: #b9c9d4; font-size: .92rem; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -20px rgba(15,42,61,.3); border-color: var(--gold); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; margin-bottom: 20px; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Audience */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.aud-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px 36px; display: flex; flex-direction: column; box-shadow: 0 24px 50px -34px rgba(13,53,80,.4); }
.aud-dark { background: linear-gradient(160deg, var(--navy), var(--navy-2)); border-color: transparent; color: #fff; }
.aud-dark h3 { color: #fff; }
.aud-top { display: flex; gap: 18px; align-items: center; margin-bottom: 26px; }
.aud-top .icon { margin: 0; flex: none; }
.aud-top h3 { font-size: 1.6rem; margin: 0 0 2px; }
.aud-top p { margin: 0; color: var(--muted); font-size: .95rem; }
.aud-dark .aud-top p { color: #b9c9d4; }
.aud-dark .icon { background: rgba(255,255,255,.1); }
.aud-dark .icon svg { stroke: var(--gold); }
.tick-list { list-style: none; margin: 0 0 30px; padding: 0; flex: 1; }
.tick-list li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px solid var(--line); font-size: .97rem; }
.aud-dark .tick-list li { border-color: rgba(255,255,255,.12); }
.tick-list li:last-child { border-bottom: 0; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.aud-dark .tick-list li::before { background-color: var(--gold); }
.aud-link { font-weight: 600; text-decoration: none; color: var(--gold-dark); align-self: flex-start; }
.aud-link span { display: inline-block; transition: transform .2s; }
.aud-link:hover span { transform: translateX(5px); }
.aud-dark .aud-link { color: var(--gold); }

/* Consulting */
.section-dark { background: var(--navy); color: #fff; }
.section-dark h2 { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.lead-light { color: #c3d1da; margin-bottom: 30px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: 20px 0 20px 44px; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; }
.checklist li:first-child { padding-top: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 24px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.checklist li:first-child::before { top: 4px; }
.checklist strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.checklist span { color: #a9bac6; font-size: .93rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(13,53,80,.5); }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: 20px; z-index: -1; opacity: .6; }
.about-photo figcaption { position: absolute; left: -18px; bottom: 32px; background: var(--navy); color: #fff; padding: 16px 22px; border-radius: 12px; box-shadow: 0 16px 34px -14px rgba(13,53,80,.6); }
.about-photo figcaption strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.about-photo figcaption span { font-size: .85rem; color: var(--gold); }
.about-grid p { color: var(--muted); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.value { padding: 24px; border-left: 3px solid var(--gold); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: 0 6px 24px -16px rgba(15,42,61,.3); }
.value h3 { margin-bottom: 6px; }
.value p { margin: 0; font-size: .92rem; }

/* Process */
.section-tint { background: var(--tint); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.steps li { position: relative; padding-top: 22px; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(13,53,80,.22); }
.steps li::after { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--gold-dark); transition: width .35s; }
.steps li:hover::after { width: 100%; }
.steps li span { display: block; font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px var(--gold-dark); margin-bottom: 18px; transition: color .3s; }
.steps li:hover span { color: var(--gold-dark); }
.steps h3 { font-size: 1.3rem; margin-bottom: .4em; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; max-width: 260px; }
.steps-cta { margin-top: 56px; text-align: center; }
.steps-cta p { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); margin-bottom: 18px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-grid .section-head p { color: var(--muted); }
.text-link { color: var(--gold-dark); font-weight: 600; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--navy); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; font-weight: 400; color: var(--gold-dark); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list summary:hover { color: var(--gold-dark); }
.faq-list details p { margin: 0 0 22px; color: var(--muted); max-width: 620px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-grid .section-head p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.contact-list span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--gold-dark); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 18px; box-shadow: 0 24px 50px -30px rgba(15,42,61,.35); }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.form input, .form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(27,122,156,.2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .85rem; color: var(--muted); cursor: pointer; }
.form .consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--gold-dark); }
.form-status { margin: 0; font-size: .92rem; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: #1d7a4d; }
.form-status.err { color: #b3402f; }
.form button[disabled] { opacity: .6; cursor: wait; }
.form-note { font-size: .78rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: #0a2536; color: #a9bac6; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr 1.5fr 1fr; gap: 40px; padding: 72px 0 56px; }
.f-logo { display: inline-block; margin-bottom: 18px; }
.f-logo img { height: 64px; width: auto; display: block; border-radius: 8px; }
.f-brand p { max-width: 300px; margin: 0; }
.f-brand .f-reg { margin-top: 14px; font-size: .85rem; color: #8fa4b3; }
.f-col h4 { font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; font-weight: 600; }
.f-col a:not(.btn) { display: block; color: #d6e1e8; text-decoration: none; padding: 5px 0; transition: color .2s, transform .2s; }
.f-col a:not(.btn):hover { color: var(--gold); transform: translateX(3px); }
.f-col p { margin: 0 0 18px; color: #d6e1e8; }
.f-col .btn { white-space: nowrap; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .85rem; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Floating contact buttons (mobile only) */
.fab { display: none; }
@media (max-width: 760px) {
  .fab { display: flex; flex-direction: column; gap: 12px; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; }
  .fab-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(13,53,80,.55); transition: transform .15s; }
  .fab-btn:active { transform: scale(.92); }
  .fab-btn svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .fab-call { background: #1d9a5b; animation: fab-pulse 2.6s ease-out infinite; }
  .fab-mail { background: var(--navy); border: 2px solid var(--gold); }
  .fab-top { background: #fff; border: 2px solid var(--navy); max-height: 0; width: 56px; opacity: 0; margin-top: -12px; overflow: hidden; pointer-events: none; transition: opacity .25s, max-height .3s, margin .3s; box-shadow: none; }
  .fab-top svg { stroke: var(--navy); flex: none; }
  .fab.at-footer .fab-top { max-height: 56px; opacity: 1; margin-top: 0; pointer-events: auto; box-shadow: 0 10px 24px -6px rgba(13,53,80,.55); }
  .to-top { display: none; }
  body.menu-open .fab { display: none; }
  .footer-row { padding-right: 76px; }
}
@keyframes fab-pulse { 0% { box-shadow: 0 10px 24px -6px rgba(13,53,80,.55), 0 0 0 0 rgba(29,154,91,.5); } 70%, 100% { box-shadow: 0 10px 24px -6px rgba(13,53,80,.55), 0 0 0 16px rgba(29,154,91,0); } }
@media (prefers-reduced-motion: reduce) { .fab-call { animation: none; } }

/* Legal pages */
.legal-hero { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: calc(76px + 56px) 0 56px; }
.legal-hero h1 { color: #fff; margin-bottom: 8px; }
.legal-hero .eyebrow { color: var(--gold); }
.legal-updated { color: #b9c9d4; margin: 0; font-size: .92rem; }
.legal { padding-top: 56px; }
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 1.4rem; margin: 2em 0 .5em; }
.legal-body p, .legal-body li { color: var(--ink); }
.legal-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal-body li { margin-bottom: .4em; }
.legal-body a:not(.btn) { color: var(--gold-dark); }
.legal-back { margin-top: 2.5em; }
.form .consent a { color: var(--gold-dark); }
.footer-row a + a { margin-left: 20px; }
.footer-row .f-links { display: flex; gap: 20px; }
.site-footer a { text-decoration: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .about-grid, .contact-grid, .faq-grid, .audience { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 36px; }
  .menu-toggle { display: block; }
  .site-header.scrolled { backdrop-filter: none; background: #fff; }
  .logo, .menu-toggle { position: relative; z-index: 60; }
  .menu { position: fixed; inset: 0; z-index: 55; width: 100%; height: 100dvh; flex-direction: column; justify-content: center; align-items: stretch; gap: 0; background: var(--navy); padding: 90px 28px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .4s cubic-bezier(.22,.8,.3,1), visibility 0s .4s; }
  .menu.open { transform: none; visibility: visible; transition: transform .4s cubic-bezier(.22,.8,.3,1), visibility 0s; }
  .menu a { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-family: var(--serif); font-size: 1.5rem; }
  .scrolled .menu a:not(.btn) { color: #fff; }
  .scrolled .menu-toggle[aria-expanded="true"] span { background: #fff; }
  body.menu-open { overflow: hidden; }
  .menu .btn { margin-top: 28px; text-align: center; border: 0; font-family: var(--sans); font-size: 1.05rem; padding: 16px; }
  .cards, .values, .steps { grid-template-columns: 1fr; }
  .aud-card { padding: 30px 24px; }
  .about-photo { margin: 0 18px 0 0; }
  .about-photo figcaption { left: -8px; }
}
@media (max-width: 760px) { .hero-overlay { background: linear-gradient(rgba(13,53,80,.86), rgba(13,53,80,.9)); } }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background: linear-gradient(rgba(13,53,80,.88), rgba(13,53,80,.88)), url("images/hero-poster.jpg") center/cover; }
  .hero-overlay { display: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
