:root {
  --navy-950: #06182b;
  --navy-900: #09213b;
  --navy-800: #103558;
  --blue-600: #176b9c;
  --accent-600: #0876b8;
  --accent-400: #65c8fa;
  --ink: #102238;
  --muted: #647489;
  --line: #dce4eb;
  --surface: #f4f8fa;
  --white: #fff;
  --shadow: 0 24px 70px rgba(8, 33, 59, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Georgia, "Times New Roman", serif; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; padding: 10px 14px; background: white; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(6,24,43,.9); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-shell { width: min(1180px, calc(100% - 40px)); height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; text-decoration: none; }
.brand-logo { width: 270px; height: 68px; display: block; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a { color: #d8e4ed; text-decoration: none; font-size: .94rem; font-weight: 600; transition: color .2s; }
.main-nav a:hover { color: white; }
.main-nav .nav-cta { padding: 12px 18px; color: #06182b; background: var(--accent-400); border-radius: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: white; border-radius: 3px; }

.hero { position: relative; overflow: hidden; padding-top: 82px; color: white; background: radial-gradient(circle at 78% 35%, rgba(23,107,156,.45), transparent 30%), linear-gradient(135deg, #06182b, #0a2744 58%, #0b3552); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, transparent, black 40%, black); }
.hero-grid { position: relative; width: min(1180px, calc(100% - 40px)); min-height: 650px; margin: auto; display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; padding: 82px 0 74px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #9edfff; font-size: .88rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; margin: 0; letter-spacing: -.025em; }
h1 { max-width: 760px; font-size: clamp(2.85rem, 4.3vw, 4.5rem); line-height: 1.13; text-wrap: balance; }
h1 em { color: var(--accent-400); font-style: normal; text-decoration: underline; text-decoration-color: rgba(101,200,250,.5); text-decoration-thickness: .045em; text-underline-offset: .14em; }
.hero-copy > p { max-width: 640px; margin: 25px 0 0; color: #c4d1dc; font-size: 1.13rem; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 21px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(101,200,250,.55); outline-offset: 3px; }
.button-primary { color: #06182b; background: var(--accent-400); box-shadow: 0 10px 30px rgba(8,118,184,.22); }
.button-primary:hover { background: #93dcff; }
.button-ghost { color: white; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.05); }
.trust-list { display: flex; flex-wrap: wrap; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; color: #d7e3eb; font-size: .83rem; }
.trust-list li { display: flex; align-items: center; gap: 7px; }
.trust-list svg { width: 19px; height: 19px; padding: 3px; border-radius: 50%; background: rgba(101,200,250,.16); stroke: var(--accent-400); stroke-width: 2.6; fill: none; }
.hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
/* Contemporary decision ledger: the rows describe services, not fictional results. */
.growth-card { position: relative; width: 100%; padding: clamp(26px, 3vw, 38px); overflow: hidden; border: 1px solid rgba(101,200,250,.34); border-radius: 25px; color: #fff; background: linear-gradient(145deg, #17415f, #0b2b47 65%, #08253f); box-shadow: 0 30px 70px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.12); }
.growth-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #168ed3, #a8e4ff, #168ed3); }
.growth-head { display: flex; justify-content: space-between; align-items: center; color: #9edfff; font-size: .75rem; font-weight: 800; letter-spacing: .13em; }
.growth-spark { font-size: 1.5rem; line-height: 1; }
.growth-card h2 { margin: 17px 0 0; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.12; }
.growth-card h2 em { color: #79d1fc; font-style: normal; }
.growth-card > p { margin: 10px 0 0; color: #c7d9e6; font-size: 1rem; }
.decision-ledger { margin: 26px 0 20px; overflow: hidden; border: 1px solid rgba(101,200,250,.4); border-radius: 16px; background: #f7f8f7; box-shadow: 0 18px 35px rgba(0,13,28,.25); }
.ledger-heading, .ledger-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 17px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.ledger-heading { color: #a8e4ff; background: #092741; }
.ledger-heading span:last-child { color: #a5c4d3; white-space: nowrap; }
.decision-ledger table { width: 100%; border-collapse: collapse; color: #17354b; font-size: .84rem; }
.decision-ledger thead { color: #607587; background: #e8edf0; text-align: left; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.decision-ledger th, .decision-ledger td { padding: 13px 16px; text-align: left; }
.decision-ledger tbody tr { border-top: 1px solid #dce5e8; transition: background .3s, transform .3s; }
.decision-ledger tbody tr:hover { background: #e9f1f4; }
.decision-ledger tbody th { white-space: nowrap; font-weight: 700; }
.decision-ledger tbody td { color: #36546a; }
.decision-ledger tbody td span { float: right; margin-left: 7px; color: #0876b8; font-size: 1.15rem; line-height: .8; }
.ledger-number { margin-right: 8px; color: #0876b8; font-family: Georgia, "Times New Roman", serif; font-size: .9rem; }
.ledger-foot { border-top: 1px solid #dce5e8; color: #667c89; background: #eef2f3; letter-spacing: .04em; }
.ledger-foot span:last-child { color: #0876b8; letter-spacing: .12em; white-space: nowrap; }
.ledger-foot i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #168ed3; }
.growth-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.17); }
.growth-pillars > div { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.07); }
.pillar-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #132d43; background: #79d1fc; font-weight: 800; }
.growth-pillars b, .growth-pillars small { display: block; }
.growth-pillars b { font-size: .86rem; }
.growth-pillars small { margin-top: 2px; color: #c2d1df; font-size: .78rem; }
.hero-band { position: relative; border-top: 1px solid rgba(255,255,255,.1); background: rgba(2,14,26,.32); }
.hero-band p { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 19px 0; color: #96aabc; text-align: center; font-size: .87rem; letter-spacing: .02em; }
.hero-band strong { color: #e4edf3; }

.section { padding: 105px max(20px, calc((100% - 1180px) / 2)); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 32px; }
.section-heading > div { max-width: 660px; }
.kicker { display: block; margin-bottom: 14px; color: #0876b8; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.12; }
.section-heading p { max-width: 430px; margin: 0; color: var(--muted); line-height: 1.7; }
.services { background: var(--surface); }
.indicators { background: #fff; }
.indicator-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.indicator-card { display: flex; flex-direction: column; min-height: 265px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 38px rgba(8,33,59,.055); transition: transform .3s ease, box-shadow .3s ease; }
.indicator-card:hover, .resource-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(8,33,59,.13); }
.indicator-feature { grid-column: span 2; color: white; border-color: #254460; background: radial-gradient(circle at 80% 15%, #1e5877, transparent 48%), #0a2540; }
.indicator-tag { color: #0876b8; font-size: .77rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.indicator-feature .indicator-tag { color: var(--accent-400); }
.indicator-card h3 { margin: 14px 0; font-size: 1.08rem; }
.indicator-card strong { font-size: clamp(1.55rem, 2.35vw, 2.25rem); letter-spacing: -.045em; line-height: 1.15; }
.indicator-feature strong { font-size: clamp(1.9rem, 3vw, 3rem); color: #93dcff; }
.indicator-card p { margin: 14px 0 20px; color: var(--muted); line-height: 1.55; font-size: .91rem; }
.indicator-feature p { color: #c9d8e5; }
.indicator-card a { margin-top: auto; color: #0a527c; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.indicator-feature a { color: #93dcff; }
.indicator-card small { display: block; margin-top: 17px; color: #aec4d4; line-height: 1.5; font-size: .78rem; }
.resources { background: var(--surface); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-card { min-height: 250px; display: flex; flex-direction: column; padding: 30px; border: 1px solid #dfe7ee; border-radius: 20px; background: white; text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; }
.resource-card span { color: #0876b8; font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.resource-card h3 { margin-top: 20px; font-size: 1.35rem; }
.resource-card p { color: var(--muted); line-height: 1.65; }
.resource-card b { margin-top: auto; color: #0b527b; }
.software { color: white; background: #09213b; overflow: hidden; }
.software-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.software-inner > div:first-child { max-width: 690px; }
.software p { color: #c5d4df; line-height: 1.75; font-size: 1.08rem; }
.software-state { display: inline-block; margin-top: 12px; padding: 11px 17px; border: 1px solid rgba(101,200,250,.5); border-radius: 99px; color: #93dcff; font-weight: 700; }
.software-mark { flex: 0 0 auto; width: 260px; height: 260px; display: grid; place-items: center; background: #fff; border: 1px solid rgba(101,200,250,.25); border-radius: 50%; box-shadow: 0 0 0 32px rgba(101,200,250,.045), 0 0 0 64px rgba(101,200,250,.025); font-size: 3rem; font-weight: 850; letter-spacing: -.06em; }
.software-mark img { width: 72%; height: 72%; object-fit: contain; }
.software-mark span { color: var(--accent-400); }
section[id] { scroll-margin-top: 80px; }
.service-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.service-tab { padding: 9px 16px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; background: white; cursor: pointer; font-weight: 700; font-size: .9rem; }
.service-tab.is-active { color: white; border-color: var(--navy-900); background: var(--navy-900); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 328px; display: flex; flex-direction: column; padding: 28px; border: 1px solid #e0e8ee; border-radius: var(--radius-md); background: white; box-shadow: 0 4px 0 transparent; transition: transform .25s, box-shadow .25s, border .25s, opacity .2s; }
.service-card:hover { transform: translateY(-6px); border-color: #8ecdf0; box-shadow: 0 18px 44px rgba(8,33,59,.09); }
.service-card.is-hidden { display: none; }
.service-card.is-selected { border-color: var(--accent-600); box-shadow: inset 0 0 0 1px var(--accent-600); }
.service-icon { position: relative; width: 78px; height: 78px; display: grid; place-items: center; margin-bottom: 22px; border: 1px solid #29455f; border-radius: 20px; background: linear-gradient(145deg, #133b5d, #091e34); box-shadow: 0 12px 24px rgba(8,33,59,.14), inset 0 1px rgba(255,255,255,.13); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover .service-icon, .service-card:focus-within .service-icon { transform: translateY(-4px); box-shadow: 0 18px 28px rgba(8,33,59,.2); }
.service-icon svg { width: 51px; height: 51px; overflow: visible; }
.service-icon .icon-main { fill: #f4f7f9; }
.service-icon .icon-accent { fill: #79d1fc; }
.service-icon .icon-cut { fill: none; stroke: #173a56; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.service-icon .icon-accent-stroke { fill: none; stroke: #79d1fc; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.service-label { color: #0876b8; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-card h3 { margin-top: 9px; font-size: 1.2rem; }
.service-card p { margin: 13px 0 22px; color: var(--muted); font-size: .95rem; line-height: 1.66; }
.text-action { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 13px 0 0; color: var(--navy-800); border: 0; border-top: 1px solid #edf1f4; background: transparent; cursor: pointer; font-size: .82rem; font-weight: 800; text-align: left; }
.text-action span { width: 27px; height: 27px; display: grid; place-items: center; color: #0876b8; border-radius: 50%; background: #e9f6fe; font-size: 1.15rem; }
.service-card.is-selected .text-action span { color: #06182b; background: var(--accent-400); }

.quote { min-height: 760px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 78px; align-items: start; color: white; background: radial-gradient(circle at 12% 85%, rgba(8,118,184,.2), transparent 28%), var(--navy-950); }
.quote-intro { position: sticky; top: 120px; padding-top: 48px; }
.kicker.light { color: var(--accent-400); }
.quote-intro > p { margin: 24px 0 32px; color: #b7c6d2; font-size: 1.03rem; line-height: 1.75; }
.privacy-note { display: flex; gap: 13px; padding: 17px; border: 1px solid rgba(101,200,250,.2); border-radius: 14px; background: rgba(8,118,184,.08); }
.privacy-note svg { flex: 0 0 auto; width: 23px; fill: none; stroke: var(--accent-400); stroke-width: 1.8; }
.privacy-note strong, .privacy-note span { display: block; }
.privacy-note strong { margin-bottom: 4px; font-size: .83rem; }
.privacy-note span { color: #c4d1dc; font-size: .85rem; line-height: 1.45; }
.quote-panel { min-height: 620px; padding: 38px; color: var(--ink); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.progress-wrap { margin-bottom: 36px; }
.progress-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .76rem; font-weight: 700; }
.progress-meta span:last-child { color: var(--navy-800); }
.progress-track { height: 5px; margin-top: 12px; overflow: hidden; border-radius: 99px; background: #e8eef2; }
.progress-track span { display: block; width: 33.333%; height: 100%; background: linear-gradient(90deg, var(--accent-600), var(--accent-400)); border-radius: inherit; transition: width .35s ease; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-step { display: none; }
.form-step.is-active { display: block; animation: stepIn .28s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } }
legend { width: 100%; margin-bottom: 8px; padding: 0; font: 700 1.55rem Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.field-help { margin: 0 0 23px; color: var(--muted); font-size: .86rem; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.check-card { position: relative; min-height: 67px; display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .9rem; font-weight: 700; transition: border .2s, background .2s; }
.check-card:hover { border-color: #8ecdf0; }
.check-card:has(input:checked) { border-color: var(--accent-600); background: #eef8ff; box-shadow: inset 0 0 0 1px var(--accent-600); }
.check-card input { position: absolute; opacity: 0; }
.check-ui { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; border: 1.5px solid #a6b3bd; border-radius: 6px; }
.check-card input:checked + .check-ui { border-color: var(--accent-600); background: var(--accent-600); }
.check-card input:checked + .check-ui::after { content:""; width:8px; height:4px; margin-top:-2px; border:solid white; border-width:0 0 2px 2px; transform:rotate(-45deg); }
.check-card:has(input:focus-visible) { outline: 3px solid rgba(101,200,250,.4); outline-offset: 2px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.field { position: relative; display: grid; gap: 8px; color: #34475b; font-size: .9rem; font-weight: 700; }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; outline: none; }
.field input, .field select { height: 48px; padding: 0 13px; }
.field textarea { min-height: 110px; padding: 12px 13px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-600); box-shadow: 0 0 0 3px rgba(8,118,184,.12); }
.char-count { position: absolute; right: 11px; bottom: 9px; color: #94a1ac; font-size: .67rem; font-weight: 500; }
.consent-line { display: flex; align-items: start; gap: 9px; margin-top: 24px; color: var(--muted); font-size: .78rem; line-height: 1.5; cursor: pointer; }
.consent-line input { accent-color: var(--accent-600); }
.form-error { min-height: 18px; margin: 10px 0 0; color: #b33e50; font-size: .75rem; font-weight: 700; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 25px; padding-top: 23px; border-top: 1px solid #edf1f4; }
.button-back { margin-right: auto; color: var(--navy-800); border-color: var(--line); background: white; }
.summary { text-align: center; animation: stepIn .35s ease both; }
.summary-badge { width: max-content; margin: 0 auto 17px; padding: 7px 11px; color: #0876b8; border-radius: 999px; background: #e9f6fe; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.summary h3 { font-size: 1.8rem; }
.summary > p { margin: 8px 0 22px; color: var(--muted); font-size: .86rem; }
.summary-sheet { max-height: 280px; overflow: auto; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #f7fafb; text-align: left; }
.summary-sheet dl { display: grid; grid-template-columns: 130px 1fr; gap: 11px 18px; margin: 0; font-size: .9rem; }
.summary-sheet dt { color: var(--muted); font-weight: 600; }
.summary-sheet dd { margin: 0; color: var(--ink); font-weight: 700; white-space: pre-wrap; }
.summary-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.button-outline { color: var(--navy-800); border-color: var(--line); background: white; }
.text-reset { width: 100%; margin-top: 3px; color: var(--muted); border: 0; background: transparent; text-decoration: underline; cursor: pointer; font-size: .76rem; }
.copy-status { min-height: 18px; margin: 10px 0 0 !important; color: #0876b8 !important; font-weight: 700; }

.site-footer { padding: 31px 20px; color: #a6b5c2; border-top: 1px solid rgba(255,255,255,.08); background: #04111f; }
.footer-inner { width: min(1180px, 100%); margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; font-size: .75rem; }
.footer-inner > span { justify-self: end; }
.footer-brand .brand-logo { width: 235px; height: 58px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .indicator-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 72px; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .hero-visual { min-height: 380px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .quote { grid-template-columns: 1fr; gap: 36px; }
  .quote-intro { position: static; padding-top: 0; text-align: center; }
  .privacy-note { max-width: 520px; margin: auto; text-align: left; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner p { display: none; }
}

@media (max-width: 720px) {
  .indicator-grid, .resource-grid { grid-template-columns: 1fr; }
  .indicator-feature { grid-column: auto; }
  .software-inner { display: block; }
  .software-mark { width: 155px; height: 155px; margin: 65px auto 10px; font-size: 2rem; }
  .nav-shell { width: min(100% - 28px, 1180px); height: 72px; }
  .brand-logo { width: 225px; height: 56px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; inset: 72px 14px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #0b2946; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px; text-align: center; }
  .main-nav .nav-cta { margin-top: 7px; }
  .hero { padding-top: 72px; }
  .hero-grid { width: min(100% - 32px, 1180px); min-height: 0; padding: 62px 0 47px; }
  h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .hero-copy > p { font-size: 1rem; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 100%; }
  .trust-list { justify-content: center; gap: 11px 16px; }
  .hero-visual { min-height: 325px; }
  .growth-card { padding: 22px; text-align: left; }
  .growth-pillars { grid-template-columns: 1fr 1fr; }
  .section { padding-top: 75px; padding-bottom: 75px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 17px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .quote-panel { min-height: 580px; padding: 25px 19px; border-radius: 20px; }
  .choice-grid, .field-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .form-actions .button { padding: 0 16px; }
  .summary-sheet dl { grid-template-columns: 1fr; gap: 3px; }
  .summary-sheet dd { margin-bottom: 10px; }
  .summary-actions .button { flex: 1 1 100%; }
  .footer-inner { display: flex; flex-direction: column; text-align: center; }
  .footer-inner > span { justify-self: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Movimiento sutil para recorrer cifras y servicios. */
.indicator-card, .service-card, .resource-card { position: relative; overflow: hidden; }
.indicator-card::before, .service-card::before, .resource-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: linear-gradient(90deg, transparent, var(--accent-400), transparent); transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.indicator-card:hover::before, .service-card:hover::before, .resource-card:hover::before, .indicator-card:focus-within::before, .service-card:focus-within::before, .resource-card:focus-within::before { transform: scaleX(1); }
.indicator-grid > .reveal:nth-child(4n + 2), .service-grid > .reveal:nth-child(3n + 2) { transition-delay: .075s; }
.indicator-grid > .reveal:nth-child(4n + 3), .service-grid > .reveal:nth-child(3n + 3) { transition-delay: .15s; }
.indicator-grid > .reveal:nth-child(4n + 4) { transition-delay: .225s; }
.indicator-mora { grid-column: span 2; background: linear-gradient(135deg, #f7f9fc, #eef4fa); border-color: #c8d8e7; }
.indicator-mora strong { color: #0a385b; }
.indicator-mora small { color: #52677c; }
.service-card:focus-within, .indicator-card:focus-within, .resource-card:focus-visible { border-color: var(--accent-600); box-shadow: 0 18px 44px rgba(8,33,59,.12); }
@media (max-width: 720px) { .indicator-mora { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .indicator-grid > .reveal, .service-grid > .reveal { transition-delay: 0s; } }
.indicator-card.reveal.is-visible:hover, .resource-card.reveal.is-visible:hover { transform: translateY(-6px); }
.service-card.reveal.is-visible:hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .indicator-card.reveal.is-visible:hover, .resource-card.reveal.is-visible:hover, .service-card.reveal.is-visible:hover { transform: none; } }

/* Clear editorial hierarchy with the corporate blue accent. */
.hero-copy { position: relative; }
.hero-copy::before { content: ""; position: absolute; left: -24px; top: 0; width: 2px; height: 72px; background: linear-gradient(var(--accent-400), transparent); }
.growth-card h2 { max-width: 11ch; text-wrap: balance; }
@media (max-width: 390px) {
  .growth-card { padding: 18px; }
  .growth-card h2 { font-size: 1.85rem; }
  .decision-ledger th, .decision-ledger td { padding: 11px 9px; }
  .decision-ledger table { font-size: .75rem; }
  .ledger-number { margin-right: 3px; }
  .growth-pillars > div { gap: 6px; padding: 8px; }
  .pillar-icon { width: 26px; height: 26px; }
  .growth-pillars b { font-size: .73rem; }
  .growth-pillars small { font-size: .68rem; }
}
@media (max-width: 960px) { .hero-copy::before { display: none; } }

/* Cinematic reveal from the reference, then the established trip to the header. */
.logo-intro { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 28px; pointer-events: none; animation: intro-finish 3s linear forwards; }
.logo-intro::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 43%, #174365, #06182b 67%); animation: intro-backdrop 3s ease forwards; }
.logo-intro::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(207,229,232,.55), rgba(190,216,223,.15) 44%, transparent 72%); animation: intro-glow 3s ease forwards; }
.logo-intro-inner { position: relative; z-index: 1; width: min(820px, 92vw); display: grid; justify-items: center; gap: 20px; }
.logo-intro img { display: block; width: 100%; height: auto; transform-origin: center; backface-visibility: hidden; will-change: transform, opacity, filter; }
.logo-intro-line { display: block; width: min(240px, 45vw); height: 2px; background: linear-gradient(90deg, transparent, #79d1fc, transparent); animation: intro-rule 3s ease forwards; }
.site-header .brand-logo { animation: header-mark-appear 3s linear both; }
@keyframes intro-glow { 0% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes intro-backdrop { 0%, 55% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes intro-rule { 0%, 12% { opacity: 0; transform: scaleX(0); } 42%, 55% { opacity: 1; transform: scaleX(1); } 77%, 100% { opacity: 0; transform: scaleX(.6); } }
@keyframes intro-finish { 0%, 99% { visibility: visible; } 100% { visibility: hidden; } }
@keyframes header-mark-appear { 0%, 89% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .logo-intro { display: none; } .site-header .brand-logo { animation: none; } }

/* Direct conversation, kept clear of the navigation and page copy. */
.whatsapp-contact { position: fixed; z-index: 60; right: max(20px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 18px 0 15px; border: 2px solid #fff; border-radius: 999px; color: #fff; background: #176b43; box-shadow: 0 12px 30px rgba(5,36,26,.32); font-size: .95rem; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.whatsapp-contact:hover { transform: translateY(-3px); background: #0e5633; box-shadow: 0 17px 36px rgba(5,36,26,.38); }
.whatsapp-contact svg { width: 29px; height: 29px; flex: none; }
@media (max-width: 720px) { .whatsapp-contact { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 58px; height: 58px; min-height: 58px; padding: 0; justify-content: center; } .whatsapp-contact span { display: none; } }

.button-email { color: #fff; border-color: var(--navy-800); background: var(--navy-800); }
.button-email:hover { background: var(--navy-900); }
.summary-actions > .button { flex: 1 1 44%; }
.summary .share-help { margin: 13px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
@media (max-width: 720px) { .summary-actions > .button { flex: 1 1 100%; } }

.summary-actions > .new-request { flex: 1 1 100%; margin-top: 8px; }

/* Menu destinations remain visible below the fixed header. */
main section[id] { scroll-margin-top: 82px; }
.nav-transition { position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: 0; background: radial-gradient(circle at 55% 45%, #234f6b, #071c33 75%); transition: opacity .48s ease; }
.nav-transition.is-active { opacity: .94; transition-duration: .26s; }
.nav-transition::after { content: ""; position: absolute; width: min(240px, 55vw); height: 2px; left: 50%; top: 50%; background: linear-gradient(90deg, transparent, #79d1fc, transparent); transform: translate(-50%, -50%) scaleX(.2); opacity: 0; transition: transform .48s ease, opacity .28s ease; }
.nav-transition.is-active::after { transform: translate(-50%, -50%) scaleX(1); opacity: 1; }
.nav-arrival { animation: nav-arrive .85s cubic-bezier(.18,.75,.22,1) both; }
@keyframes nav-arrive { from { opacity: .15; filter: blur(7px); transform: translateY(28px) scale(.96); } to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); } }
@media (min-width: 721px) and (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; inset: 82px 14px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #0b2946; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px; text-align: center; }
  .main-nav .nav-cta { margin-top: 7px; }
}
@media (max-width: 720px) { main section[id] { scroll-margin-top: 72px; } }
@media (prefers-reduced-motion: reduce) { .nav-arrival { animation: none; } .nav-transition { display: none; } }

/* Updated corporate identity and the knowledge emblem in services. */
.brand-logo { background: #fff; padding: 4px 8px; border-radius: 7px; object-position: center; }
.logo-intro img { background: #fff; border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.services-heading-brand { display: flex; align-items: center; gap: 22px; }
.services-book { flex: none; width: 110px; height: 116px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(10,39,66,.12)); }
@media (max-width: 720px) {
 .services-heading-brand { gap: 14px; }
 .services-book { width: 74px; height: 80px; }
}
@media (max-width: 390px) {
 .services-heading-brand { align-items: flex-start; gap: 10px; }
 .services-book { width: 58px; height: 65px; }
}

/* Corporate blue identity: white navigation, bright blue accents and ink surfaces. */
:root { --blue-600: #2099dd; --surface: #f1f7fb; }
.site-header { background: rgba(255,255,255,.96); border-bottom-color: #d8e7f0; box-shadow: 0 5px 22px rgba(11,48,74,.08); }
.main-nav a { color: #183b54; }
.main-nav a:hover { color: #0876b8; }
.main-nav .nav-cta, .button-primary { color: #fff; background: #0876b8; }
.button-primary:hover, .main-nav .nav-cta:hover { color: #fff; background: #06669f; }
.menu-toggle span:not(.sr-only) { background: #173b56; }
.hero { background: radial-gradient(circle at 82% 30%, rgba(32,153,221,.34), transparent 42%), linear-gradient(125deg, #071b2b, #0c304c 60%, #0c4468); }
.growth-card { background: linear-gradient(145deg, #164969, #0b304b 65%, #09273e); }
.pillar-icon { color: #fff; background: #168ed3; }
.brand-logo { background: transparent; padding: 0; border-radius: 0; }
.logo-intro img { background: #fff; border-radius: 8px; box-shadow: 0 24px 70px rgba(8,64,102,.12); }
.logo-intro::before { background: radial-gradient(circle at 50% 43%, #fff, #e6f3fc 67%); }
.logo-intro::after { background: radial-gradient(circle at center, rgba(32,153,221,.15), transparent 65%); }
.footer-brand { padding: 8px 14px; border-radius: 8px; background: #fff; }
.services-book { filter: hue-rotate(150deg) saturate(.85) drop-shadow(0 8px 12px rgba(10,70,110,.12)); }
@media (max-width: 1080px) {
 .main-nav { background: #fff; border-color: #d8e7f0; box-shadow: 0 20px 50px rgba(7,45,72,.15); }
}

/* White transparent logo and stronger text contrast throughout. */
:root { --muted: #526477; }
.site-header { background: rgba(6,28,46,.97); border-bottom-color: #285675; }
.main-nav a { color: #edf6fc; }
.main-nav a:hover { color: #99ddff; }
.menu-toggle span:not(.sr-only) { background: #fff; }
.brand-logo, .logo-intro img { background: transparent; border-radius: 0; box-shadow: none; }
.footer-brand { padding: 0; background: transparent; border-radius: 0; }
.logo-intro::before { background: radial-gradient(circle at 50% 43%, #164e72, #061c2e 70%); }
.logo-intro::after { background: radial-gradient(circle at center, rgba(87,193,250,.15), transparent 65%); }
.hero-copy > p, .growth-card > p, .quote-intro > p { color: #dbe8f1; }
.hero-band p, .growth-pillars small, .privacy-note span { color: #ccdeeb; }
.indicator-card small { color: #526477; }
.indicator-feature small { color: #d2e4f0; }
.ledger-heading span:last-child { color: #d2eafa; }
.ledger-foot { color: #465e70; font-size: .75rem; }
.decision-ledger thead { color: #415b6d; font-size: .75rem; }
.service-label { font-size: .8rem; color: #06659d; }
.char-count { color: #536779; font-size: .75rem; }
.field input::placeholder, .field textarea::placeholder { color: #637489; opacity: 1; }
.site-footer { color: #d0e0ec; }
.footer-inner { font-size: .85rem; }
@media (max-width: 1080px) {
 .main-nav { background: #082a43; border-color: #315976; }
}

/* The knowledge emblem and its close-set promise. */
.confidence-emblem { flex: none; display: flex; flex-direction: column; align-items: center; width: 132px; }
.confidence-emblem .services-book { width: 126px; height: 126px; filter: drop-shadow(0 8px 12px rgba(10,70,110,.12)); }
.confidence-emblem > span { margin-top: -3px; color: #075f96; font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; }
@media (max-width: 720px) {
 .confidence-emblem { width: 88px; }
 .confidence-emblem .services-book { width: 86px; height: 86px; }
 .confidence-emblem > span { font-size: 1rem; }
}

/* The world turns into knowledge when the visitor reaches services. */
.confidence-emblem { width: 178px; }
.confidence-morph { position: relative; width: 178px; height: 178px; perspective: 850px; isolation: isolate; }
.confidence-morph::before { content: ""; position: absolute; inset: 5%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(44,171,237,.25), rgba(44,171,237,.08) 58%, transparent 72%); }
.confidence-morph img, .confidence-emblem .confidence-morph .services-book { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; filter: drop-shadow(0 12px 16px rgba(10,92,151,.2)); }
.confidence-morph .services-book { opacity: 0; transform: rotateY(-90deg) scale(.72); }
.confidence-emblem > span { margin-top: 3px; font-size: 1.45rem; color: #075f96; }
.confidence-emblem.is-transformed .confidence-globe { animation: world-to-knowledge 3s cubic-bezier(.25,.65,.2,1) both; }
.confidence-emblem.is-transformed .services-book { animation: knowledge-arrival 3s cubic-bezier(.25,.65,.2,1) both; }
@keyframes world-to-knowledge {
  0%, 28% { opacity: 1; transform: rotateY(0) scale(1); }
  58%, 100% { opacity: 0; transform: rotateY(95deg) scale(.75); }
}
@keyframes knowledge-arrival {
  0%, 28% { opacity: 0; transform: rotateY(-90deg) scale(.72); }
  74% { opacity: 1; transform: rotateY(0) scale(1.08); }
  100% { opacity: 1; transform: rotateY(0) scale(1); }
}
@media (max-width: 720px) {
 .confidence-emblem { width: 116px; }
 .confidence-morph { width: 116px; height: 116px; }
 .confidence-emblem > span { font-size: 1.1rem; }
}
@media (max-width: 390px) {
 .services-heading-brand { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
 .confidence-morph .confidence-globe { display: none; }
 .confidence-morph .services-book, .confidence-emblem.is-transformed .services-book { opacity: 1; transform: none; animation: none; }
}

/* Personal tax calendar. */
.tax-calendar { margin-top: 34px; padding: clamp(22px,3vw,36px); border: 1px solid #cbdfe9; border-radius: 24px; background: linear-gradient(125deg,#f3f9fd,#fff 65%); box-shadow: 0 16px 42px rgba(9,57,89,.06); scroll-margin-top: 110px; }
.calendar-intro h3 { font-size: clamp(1.7rem,3vw,2.2rem); }
.calendar-intro > p { color: #526477; line-height: 1.6; }
.calendar-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 25px; }
.calendar-wide { grid-column: span 2; }
.calendar-note { color: #526477; font-size: .875rem; line-height: 1.65; }
.calendar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.calendar-actions > a, .calendar-result > a, .calendar-sources a { color: #075f96; font-weight: 700; text-underline-offset: 3px; }
.calendar-result { margin-top: 24px; padding: 24px; border: 1px solid #cbdfe9; border-radius: 16px; background: #fff; animation: stepIn .3s ease; }
.calendar-result h4 { margin: 0; color: #123a56; font-size: 1.3rem; }
.calendar-match { color: #526477; font-size: .9rem; }
.calendar-next { padding: 15px; border-left: 4px solid #168ed3; border-radius: 0 8px 8px 0; background: #eaf6fd; color: #114d74; font-weight: 700; }
.calendar-table-scroll { overflow-x: auto; margin: 20px 0; }
.calendar-result table { width: 100%; min-width: 550px; border-collapse: collapse; font-size: .9rem; }
.calendar-result th, .calendar-result td { padding: 14px 13px; text-align: left; border-bottom: 1px solid #dce7ee; line-height: 1.5; }
.calendar-result thead { color: #fff; background: #0b3655; }
.calendar-result tbody th { font-weight: 600; }
.calendar-upcoming { background: #edf8ff; }
.calendar-sources { margin-top: 18px; color: #526477; font-size: .875rem; line-height: 1.65; }
.calendar-sources summary { cursor: pointer; color: #164967; font-weight: 700; }
@media (max-width: 720px) {
 .calendar-fields { grid-template-columns: 1fr; gap: 15px; }
 .calendar-wide { grid-column: auto; }
 .calendar-result { padding: 17px; }
 .calendar-actions .button { flex: 1 1 100%; }
}

/* Daily tax newsroom. */
.tax-news { margin-top: 36px; padding: clamp(22px,3vw,36px); border: 1px solid #cbdfe9; border-radius: 24px; background: #f3f8fc; scroll-margin-top: 110px; }
.news-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.news-heading h3 { font-size: clamp(1.7rem,3vw,2.3rem); }
.news-heading > p { flex: none; color: #526477; font-size: .85rem; }
.news-intro, .news-status, .news-footnote { color: #526477; line-height: 1.65; }
.news-footnote { font-size: .875rem; }
.tax-news-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 24px 0; }
.tax-news-card { padding: 25px; border: 1px solid #d6e5ed; border-radius: 18px; background: #fff; box-shadow: 0 12px 28px rgba(8,51,82,.05); }
.news-meta { color: #075f96; font-size: .8rem; font-weight: 700; line-height: 1.6; }
.tax-news-card h4 { margin: 13px 0; color: #173b56; font: 700 1.35rem/1.3 Georgia,serif; }
.tax-news-card p { color: #526477; line-height: 1.65; font-size: .95rem; }
.news-action { padding: 13px; border-left: 3px solid #2099dd; background: #eef8ff; }
.tax-news-card a, .news-source { color: #075f96; font-weight: 700; text-underline-offset: 3px; }
@media(max-width:720px) { .news-heading { display: block; } .tax-news-grid { grid-template-columns: 1fr; } }

.news-toggle { font: inherit; color: inherit; text-align: left; cursor: pointer; }
.news-toggle:focus-visible { outline: 3px solid #2099dd; outline-offset: 4px; }
.news-close { margin-top: 20px; }
.calendar-service-offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 20px; border-radius: 14px; background: #e8f5fe; border: 1px solid #b7dcec; }
.calendar-service-offer p { margin: 0; max-width: 460px; color: #124f76; font-size: 1.15rem; font-weight: 700; line-height: 1.5; }
@media(max-width:720px) { .calendar-service-offer .button { width: 100%; } }

.calendar-consultation { display: flex; width: fit-content; max-width: 100%; margin: 20px 0; text-align: center; }

/* Readable consultation action with deliberate pointer feedback. */
.calendar-result > a.calendar-consultation {
  color: #fff;
  background: #075f96;
  border: 2px solid #075f96;
  min-height: 56px;
  padding: 15px 23px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  box-shadow: 0 9px 22px rgba(7,95,150,.24);
  transform-origin: center;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.calendar-result > a.calendar-consultation:hover,
.calendar-result > a.calendar-consultation:focus-visible {
  color: #fff;
  background: #064d79;
  border-color: #064d79;
  transform: translateY(-3px) scale(1.045);
  box-shadow: 0 15px 30px rgba(7,95,150,.34);
}
@media (prefers-reduced-motion: reduce) {
  .calendar-result > a.calendar-consultation:hover,
  .calendar-result > a.calendar-consultation:focus-visible { transform: none; }
}
