:root {
  --navy: #012883;
  --navy-dark: #001d62;
  --coral: #fa5034;
  --graphite: #1c2430;
  --muted: #617087;
  --cloud: #f5f7fb;
  --white: #ffffff;
  --line: #d9e0ec;
  --success: #16734a;
  --curve: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 64px rgba(1, 40, 131, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--graphite);
  background: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 24px;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3 { margin-top: 0; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.heading-1 { margin-bottom: 24px; font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.heading-2 { margin-bottom: 24px; font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.035em; }
.heading-3 { margin-bottom: 24px; font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.025em; }
.heading-5 { margin-bottom: 16px; font-size: 24px; line-height: 32px; font-weight: 600; }
.heading-6 { margin-bottom: 8px; font-size: 20px; line-height: 28px; font-weight: 600; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-lead { max-width: 680px; margin-bottom: 32px; color: var(--muted); font-size: 18px; line-height: 28px; }

.container { width: min(100% - 48px, 1200px); margin-inline: auto; }
.section-pad { padding-block: 96px; }
.eyebrow { margin-bottom: 16px; color: var(--coral); font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow-light { color: #ffc1b7; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 8px 12px; color: var(--white); background: var(--navy); border-radius: 8px; transform: translateY(-160%); transition: transform 300ms var(--curve); }
.skip-link:focus { transform: translateY(0); }
:where(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.site-header { position: fixed; z-index: 100; top: 16px; left: 0; width: 100%; pointer-events: none; }
.nav-shell { display: flex; align-items: center; justify-content: space-between; width: min(100% - 48px, 1120px); min-height: 64px; margin-inline: auto; padding: 8px 12px 8px 16px; border: 1px solid rgba(217, 224, 236, 0.8); border-radius: 16px; background: rgba(255, 255, 255, 0.86); box-shadow: 0 12px 40px rgba(1, 40, 131, 0.08); backdrop-filter: blur(18px); pointer-events: auto; }
.brand { width: 172px; padding: 8px 0; }
.desktop-nav { display: flex; align-items: center; gap: 8px; }
.desktop-nav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 600; transition: color 300ms var(--curve), background-color 300ms var(--curve), transform 300ms var(--curve); }
.desktop-nav a:hover { color: var(--navy); background: var(--cloud); }
.desktop-nav a:active { transform: scale(0.98); }
.desktop-nav .nav-cta { color: var(--white); background: var(--navy); }
.desktop-nav .nav-cta:hover { color: var(--white); background: var(--navy-dark); }
.language-switch { display: flex; align-items: center; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--cloud); }
.desktop-nav .language-switch a { min-width: 36px; padding: 4px 8px; text-align: center; }
.desktop-nav .language-switch a[aria-current="page"] { color: var(--white); background: var(--navy); }
.menu-toggle { display: none; place-items: center; width: 40px; height: 40px; padding: 8px; border: 0; border-radius: 8px; color: var(--navy); background: var(--cloud); }
.menu-toggle span { grid-area: 1 / 1; width: 20px; height: 2px; background: currentColor; transition: transform 500ms var(--curve); }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.mobile-menu { position: fixed; z-index: -1; inset: -16px 0 0; min-height: 100dvh; padding: 144px 24px 48px; background: rgba(245, 247, 251, 0.98); backdrop-filter: blur(24px); pointer-events: auto; }
.mobile-menu nav { display: grid; gap: 16px; width: min(100%, 520px); margin-inline: auto; }
.mobile-menu a { padding: 12px 16px; border-radius: 12px; font-size: 30px; line-height: 36px; font-weight: 600; opacity: 0; transform: translateY(24px); }
.mobile-menu.is-open a { opacity: 1; transform: translateY(0); transition: opacity 500ms var(--curve), transform 500ms var(--curve); }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 60ms; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 120ms; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 180ms; color: var(--coral); }
.mobile-language { display: flex; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.mobile-language a { padding: 8px 12px; font-size: 18px; line-height: 28px; }
.mobile-language a[aria-current="page"] { color: var(--white); background: var(--navy); }

.hero { overflow: hidden; padding-top: 160px; background: var(--cloud); }
.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 40px; align-items: center; min-height: 680px; }
.hero-copy { position: relative; z-index: 2; }
.hero .heading-1 { max-width: 680px; color: transparent; background: linear-gradient(90deg, #000000, #666666); background-clip: text; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 12px; border: 0; border-radius: 8px; font-size: 16px; line-height: 24px; font-weight: 600; transition: background-color 300ms var(--curve), color 300ms var(--curve), transform 500ms var(--curve), box-shadow 500ms var(--curve); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(0.98); }
.button-primary { color: var(--white); background: var(--navy); box-shadow: 0 12px 32px rgba(1, 40, 131, 0.2); }
.button-primary:hover { background: var(--navy-dark); box-shadow: 0 16px 40px rgba(1, 40, 131, 0.26); }
.button-coral { color: var(--white); background: var(--coral); }
.button-coral:hover { background: #e83f24; }
.text-link { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; color: var(--navy); font-weight: 600; }
.text-link span { transition: transform 300ms var(--curve); }
.text-link:hover span { transform: translateX(4px); }
.text-link.light { color: var(--white); }
.proof-line { display: flex; align-items: center; gap: 8px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.proof-line span { width: 8px; height: 8px; border-radius: 999px; background: var(--success); box-shadow: 0 0 0 4px rgba(22, 115, 74, 0.12); }

.hero-visual { position: relative; min-height: 560px; padding: 32px; overflow: hidden; color: var(--white); background: var(--navy); border-radius: 24px; box-shadow: var(--shadow); }
.signal-mark { position: absolute; top: -32px; right: -48px; display: flex; align-items: center; gap: 8px; height: 240px; opacity: 0.16; transform: rotate(-18deg); }
.signal-mark span { display: block; width: 16px; border-radius: 999px; background: var(--white); }
.signal-mark span:nth-child(1), .signal-mark span:nth-child(5) { height: 48px; }
.signal-mark span:nth-child(2), .signal-mark span:nth-child(4) { height: 112px; }
.signal-mark span:nth-child(3) { height: 184px; background: var(--coral); }
.visual-head { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 64px; }
.visual-head p { margin-bottom: 0; color: #d9e2ff; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 600; }
.status-dot::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #75e5ac; }
.visual-flow { position: relative; display: grid; gap: 12px; }
.visual-flow article { padding: 16px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; background: rgba(255, 255, 255, 0.08); }
.visual-flow article:nth-child(2) { margin-left: 40px; background: var(--white); color: var(--graphite); }
.visual-flow article:nth-child(3) { margin-left: 80px; }
.visual-flow article > span { color: var(--coral); font-size: 12px; line-height: 16px; font-weight: 700; }
.visual-flow h2 { margin: 4px 0; }
.visual-flow p { margin: 0; color: #d9e2ff; font-size: 14px; line-height: 20px; }
.visual-flow article:nth-child(2) p { color: var(--muted); }
.visual-foot { position: absolute; right: 32px; bottom: 32px; left: 32px; display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.16); color: #d9e2ff; font-size: 12px; line-height: 16px; }

.trust-strip { color: var(--white); background: var(--graphite); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid p { display: grid; gap: 4px; margin: 0; padding: 24px 32px; border-right: 1px solid rgba(255, 255, 255, 0.14); }
.trust-grid p:first-child { padding-left: 0; }
.trust-grid p:last-child { border-right: 0; }
.trust-grid strong { font-size: 16px; line-height: 24px; }
.trust-grid span { color: #b9c1ce; font-size: 14px; line-height: 20px; }

.section-intro { max-width: 680px; margin-bottom: 48px; }
.section-intro > p:last-child { margin-bottom: 0; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { min-height: 480px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--cloud); }
.service-card-dark { color: var(--white); background: var(--navy); border-color: var(--navy); transform: translateY(32px); }
.service-card > p { color: var(--muted); }
.service-card-dark > p { color: #d9e2ff; }
.card-number { display: block; margin-bottom: 64px; color: var(--coral); font-size: 14px; line-height: 20px; font-weight: 700; }
.service-card ul { display: grid; gap: 12px; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-card-dark ul { border-color: rgba(255, 255, 255, 0.16); }
.service-card li { position: relative; padding-left: 20px; font-size: 14px; line-height: 20px; }
.service-card li::before { content: ""; position: absolute; top: 7px; left: 0; width: 6px; height: 6px; border-radius: 999px; background: var(--coral); }

.tagline-section { padding-block: 160px; background: var(--cloud); }
.tagline-section .heading-2 { max-width: 880px; margin-bottom: 0; }
.word-reveal span { color: rgba(28, 36, 48, 0.28); transition: color 500ms var(--curve); }
.word-reveal span.active { color: var(--graphite); }

.process-section { background: var(--white); }
.process-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 96px; align-items: start; }
.process-grid .section-intro { position: sticky; top: 128px; margin-bottom: 0; }
.process-grid .section-intro .text-link { margin-top: 24px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li > span { display: grid; place-items: center; width: 48px; height: 48px; color: var(--coral); background: #fff0ed; border-radius: 12px; font-size: 14px; line-height: 20px; font-weight: 700; }
.steps p { margin-bottom: 0; color: var(--muted); }

.format-section { padding-top: 0; }
.format-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; }
.format-card, .location-card { min-height: 400px; padding: 48px; border-radius: 24px; }
.format-card { background: var(--cloud); }
.format-card h2 { max-width: 680px; }
.format-card > p:last-child { max-width: 680px; color: var(--muted); }
.location-card { display: flex; flex-direction: column; color: var(--white); background: var(--navy); }
.location-card > p { color: #d9e2ff; }
.location-card address { margin-bottom: auto; color: #d9e2ff; font-style: normal; }

.faq-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 96px; align-items: start; }
.faq-grid .section-intro { position: sticky; top: 128px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 16px 0; font-size: 18px; line-height: 28px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; display: grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; color: var(--navy); background: var(--cloud); border-radius: 8px; transition: transform 500ms var(--curve), color 300ms var(--curve), background-color 300ms var(--curve); }
.faq-list details[open] summary::after { color: var(--white); background: var(--navy); transform: rotate(45deg); }
.faq-list details p { max-width: 680px; margin: 0; padding: 0 48px 24px 0; color: var(--muted); }

.contact-section { color: var(--white); background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 96px; align-items: start; }
.contact-copy { position: sticky; top: 128px; }
.contact-copy > p:not(.eyebrow) { color: #d9e2ff; }
.contact-copy > a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 4px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px; color: var(--graphite); background: var(--white); border-radius: 24px; }
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; line-height: 20px; font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 16px; scroll-margin-top: 120px; color: var(--graphite); background: var(--cloud); border: 1px solid var(--line); border-radius: 8px; transition: border-color 300ms var(--curve), background-color 300ms var(--curve); }
.field textarea { min-height: 144px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #9aabc5; }
.field input:focus, .field textarea:focus { background: var(--white); border-color: var(--navy); }
.field :is(:user-invalid, .user-invalid-fallback) { border-color: #c6331d; background: #fff0ed; }
.error-message { display: none; color: #a32312; font-size: 12px; line-height: 16px; }
.field :is(:user-invalid, .user-invalid-fallback) + .error-message { display: block; }
.form-note, .form-status { margin: 0; color: var(--muted); font-size: 12px; line-height: 16px; }
.form-status { color: var(--success); font-weight: 600; }

.site-footer { padding-top: 64px; color: #c7ceda; background: var(--graphite); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 64px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-brand { width: 180px; padding: 8px; background: var(--white); border-radius: 8px; }
.footer-grid p { margin-bottom: 0; font-size: 14px; line-height: 20px; }
.footer-title { color: var(--white); font-weight: 700; }
.footer-grid a:not(.footer-brand) { font-size: 14px; line-height: 20px; }
.footer-grid a:not(.footer-brand):hover { color: var(--white); }
.footer-bottom { padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12px; line-height: 16px; }

.legal-main { min-height: 70dvh; padding: 160px 0 96px; }
.legal-copy { max-width: 800px; }
.legal-copy h1 { margin-bottom: 32px; }
.legal-copy h2 { margin: 40px 0 16px; font-size: 24px; line-height: 32px; font-weight: 600; }
.legal-copy p, .legal-copy li { color: var(--muted); }
.legal-copy a { color: var(--navy); text-decoration: underline; }
.back-link { display: inline-flex; margin-bottom: 32px; color: var(--navy); font-weight: 600; }
.legal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.legal-nav .back-link { margin-bottom: 0; }
.legal-nav > a:last-child { padding: 8px 12px; color: var(--navy); background: var(--cloud); border-radius: 8px; font-weight: 600; }
.not-found { display: grid; min-height: 100dvh; place-items: center; padding: 48px 24px; text-align: center; background: var(--cloud); }
.not-found-card { max-width: 680px; padding: 48px; background: var(--white); border-radius: 24px; box-shadow: var(--shadow); }
.not-found-code { margin-bottom: 24px; color: var(--coral); font-size: 72px; line-height: 1; font-weight: 700; }

.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.reveal-ready { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--curve), transform 700ms var(--curve); }
  .reveal.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .heading-1 { font-size: 48px; }
  .heading-2 { font-size: 36px; line-height: 40px; }
  .section-pad { padding-block: 80px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 680px; }
  .hero-visual { width: min(100%, 680px); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card-dark { transform: none; }
  .process-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-grid .section-intro, .faq-grid .section-intro, .contact-copy { position: static; }
  .format-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 840px) {
  .container, .nav-shell { width: min(100% - 32px, 1200px); }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .brand { width: 152px; }
  .hero { padding-top: 136px; }
  .hero-grid { gap: 48px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .button { width: 100%; }
  .text-link { justify-content: center; }
  .hero-visual { min-height: 600px; padding: 24px; }
  .visual-flow article:nth-child(2), .visual-flow article:nth-child(3) { margin-left: 0; }
  .visual-foot { right: 24px; bottom: 24px; left: 24px; }
  .trust-grid { grid-template-columns: 1fr; padding-block: 8px; }
  .trust-grid p, .trust-grid p:first-child { padding: 16px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .trust-grid p:last-child { border-bottom: 0; }
  .tagline-section { padding-block: 96px; }
  .format-card, .location-card { min-height: 360px; padding: 32px; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .field-wide { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .heading-1 { font-size: 36px; line-height: 40px; }
  .heading-2, .heading-3 { font-size: 30px; line-height: 36px; }
  .section-pad { padding-block: 64px; }
  .hero { padding-top: 120px; }
  .hero-visual { min-height: 616px; }
  .visual-head { margin-bottom: 48px; }
  .service-card, .format-card, .location-card, .contact-form { padding: 24px; }
  .steps li { grid-template-columns: 48px 1fr; gap: 16px; }
  .not-found-card { padding: 32px 24px; }
}

@media (pointer: coarse) {
  .desktop-nav a, .text-link, .footer-grid a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .word-reveal span { color: var(--graphite); transition: none; }
  .mobile-menu a { opacity: 1; transform: none; }
}
