:root {
  --z-skip: 100;
  --z-banner: 70;
  --z-float: 55;
  --z-header: 50;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --bg: oklch(0.967 0.008 95);
  --surface: oklch(0.992 0.004 95);
  --ink: oklch(0.28 0.02 200);
  --muted: oklch(0.52 0.025 200);
  --brand: oklch(0.42 0.08 172);
  --brand-deep: oklch(0.34 0.07 172);
  --brand-ink: oklch(0.95 0.02 172);
  --line: oklch(0.9 0.01 95);
  --accent-soft: oklch(0.93 0.03 172);
  --radius: 14px;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
h1, h2, h3, .brand { font-family: "Fraunces", Georgia, "Times New Roman", serif; letter-spacing: -0.015em; font-optical-sizing: auto; }
::selection { background: var(--brand); color: var(--brand-ink); }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-top: 2.5rem; }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.35rem); font-weight: 700; letter-spacing: -0.01em; }
p { max-width: 70ch; }
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; top: 0; transform: translateX(-200%); background: var(--ink); color: var(--brand-ink); padding: 12px 16px; min-height: 44px; z-index: var(--z-skip); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.portals { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.portals a { min-height: 44px; display: inline-flex; align-items: center; }
.hint { color: var(--muted); font-size: 0.9rem; margin: 4px 0 0; }
.skip-link:focus { transform: none; left: 8px; top: 8px; }

.site-header { position: sticky; top: 0; z-index: var(--z-header); background: var(--surface); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); min-height: 76px; }
footer.site-footer { min-height: 480px; }
@media (max-width: 1023px) {
  .site-header { min-height: 76px; }
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 800; text-decoration: none; color: var(--ink); }
.brand small { display: block; font-weight: 600; color: var(--ink); opacity: 0.75; font-size: 0.75rem; line-height: 1.4; letter-spacing: 0.08em; }
nav.primary { display: flex; gap: 14px; margin-left: auto; flex-wrap: wrap; }
nav.primary > a { text-decoration: none; color: var(--ink); padding: 10px 14px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
nav.primary > a:hover { background: var(--accent-soft); }
.header-cta { display: flex; gap: 10px; margin-left: 8px; }
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); padding: 12px 20px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; font-weight: 600; min-height: 44px; transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), color 180ms cubic-bezier(0.22, 1, 0.36, 1), transform 120ms ease-out; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { opacity: 0.75; }
main p a:not(.btn), footer p a:not(.btn) { text-underline-offset: 3px; }
.stars { color: var(--brand); letter-spacing: 2px; }
.footer-cols h2 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }
.linklike { background: none; border: none; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
.consent-row { display: flex; gap: 8px; align-items: start; }
.consent-row input { width: auto; margin-top: 6px; }
.btn:hover { color: var(--brand-ink); background: var(--brand-deep); }
.btn.ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.hero { background: var(--brand); color: var(--brand-ink); padding: 72px 0 64px; border-bottom: 6px solid var(--brand-deep); }
.hero a { color: var(--brand-ink); }
.hero .btn.ghost { border-color: var(--brand-ink); color: var(--brand-ink); }
.hero .btn:hover { background: var(--brand-ink); color: var(--brand-deep); }
.hero .btn:not(.ghost) { background: var(--brand-ink); color: var(--brand-deep); border-color: var(--brand-ink); }
.hero :focus-visible { outline-color: var(--brand-ink); box-shadow: 0 0 0 5px var(--brand-deep); }
.table-scroll { overflow-x: auto; }
nav.primary a[aria-current="page"] { background: var(--accent-soft); font-weight: 700; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; margin: 32px 0; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.service-index { list-style: none; padding: 0; display: grid; gap: 20px; }
.service-index li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 76px; position: relative; }
.service-index .idx { position: absolute; left: 20px; top: 18px; font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.6rem; color: var(--brand); }
.accreditations { list-style: none; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.hero figure { margin: 0; }
figure { margin: 24px 0; }
figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.hero img { box-shadow: 0 12px 32px rgba(0,0,0,.25); }
figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.hero figcaption { color: var(--brand-ink); opacity: .85; }
.team-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.team-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; justify-items: start; }
.team-list img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }

.steps-nav { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.steps-nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.steps-nav a .n { font-family: "Fraunces", Georgia, serif; font-weight: 700; color: var(--brand); }
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.journey .meta { color: var(--muted); font-size: 0.9rem; }
.contact-channels { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.strip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; }
.notice { background: oklch(0.97 0.04 95); border: 1px solid oklch(0.84 0.09 95); border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; }

.site-footer { background: var(--brand-deep); color: var(--brand-ink); margin-top: 48px; }
.site-footer a { color: var(--brand-ink); }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: grid; gap: 20px; }
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { border: 1px solid color-mix(in oklch, var(--brand-ink) 45%, transparent); background: color-mix(in oklch, var(--brand-ink) 8%, transparent); border-radius: 10px; padding: 8px 12px; }
.accreditations { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.accreditations a { min-height: 44px; display: inline-flex; align-items: center; }
.legal { font-size: 0.875rem; color: color-mix(in oklch, var(--brand-ink) 88%, var(--brand-deep)); border-top: 1px solid var(--brand); padding-top: 16px; }

.whatsapp-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); background: var(--brand); color: var(--brand-ink); font-weight: 700; padding: 12px 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.2); touch-action: manipulation; z-index: var(--z-float); }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: none; z-index: var(--z-banner); }
.cookie-banner.show { display: block; }

label { display: block; margin: 12px 0 4px; font-weight: 600; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--surface); }
button, a.btn { touch-action: manipulation; }
.error { color: oklch(0.5 0.16 25); font-size: .9rem; font-weight: 600; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border: 2px solid oklch(0.5 0.16 25); }
.consent-row input { width: 44px; height: 44px; margin: 0; flex: none; accent-color: var(--brand); }
h2[id], h3[id] { scroll-margin-top: 90px; }
/* Reserve-first conditionals: populated blocks reveal, empty ones never shift layout */
[data-if-setting] { display: none; }

table.fees, table.compare { width: 100%; border-collapse: collapse; background: var(--surface); font-variant-numeric: tabular-nums; }
table.fees th, table.fees td, table.compare th, table.compare td { border: 1px solid var(--line); padding: 10px; text-align: left; }
thead th { position: sticky; top: 76px; background: var(--surface); }
tbody tr:nth-child(even) { background: oklch(0.98 0.005 95); }
h2 { margin: 2.5rem 0 1rem; }

.menu-btn { font: inherit; font-weight: 700; color: var(--brand); background: transparent; border: 2px solid var(--brand); border-radius: 10px; padding: 10px 14px; min-height: 44px; min-width: 44px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.menu-btn .bars { display: inline-flex; flex-direction: column; gap: 4px; }
.menu-btn .bars span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease-out; }
.menu-btn.open .bars span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-btn.open .bars span:nth-child(2) { opacity: 0; }
.menu-btn.open .bars span:last-child { transform: translateY(-6px) rotate(-45deg); }
.menu-btn { display: none; }
.menu-cta { display: none; }
.hero p:has(> .btn) { display: flex; flex-wrap: wrap; gap: 12px; }
.cookie-banner button { min-height: 44px; min-width: 44px; padding: 12px 18px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.footer-cols h2 { font-size: 1rem; margin: 0 0 8px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cols a, .footer-cols .linklike { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 4px; }
@media (max-width: 1023px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 8px; align-items: center; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .menu-btn { display: inline-flex; margin-left: auto; flex: 0 0 auto; }
  .header-cta { display: none; }
  nav.primary { display: none; }
  nav.primary.open { display: flex; flex-direction: column; flex-basis: 100%; order: 3; gap: 0; margin: 4px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  nav.primary.open > a { padding: 14px 16px; border-bottom: 1px solid var(--line); min-height: 48px; display: flex; align-items: center; }
  nav.primary.open .menu-cta { display: grid; gap: 10px; padding: 14px 16px; }
  nav.primary.open .menu-cta .btn { text-align: center; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; }
  nav.primary.open { animation: navIn 200ms cubic-bezier(0.22, 1, 0.36, 1); }
  @keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .footer-cols { grid-template-columns: 1fr; gap: 16px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  h1 { font-size: clamp(1.8rem, 9vw, 2.4rem); }
}
@media (min-width: 721px) and (max-width: 1023px) {
  .brand small { display: none; }
  .brand { font-size: 1.05rem; }
}
@media (max-width: 560px) {
  .brand small { display: none; }
  .brand { font-size: 1.05rem; }
}
@media (min-width: 1024px) { #navToggle { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
