/* Layout: hero marino a sangre con interfaz de producto flotante y el patrón de "ojos" de la marca;
   contenido en un lienzo claro con grilla bento, línea de proceso, manifiesto y cierre marino con ola.
   Marca (manual BRANDING TBU): azul #116cb3, celeste #42bee1, celeste claro #a7daef, blanco;
   marino de los mockups para superficies oscuras. Tipografías PT Sans Narrow Bold y Lato Bold Italic. */
:root {
  --brand: #0a2a52;        /* marino de los mockups (sobres, tazas, polos) */
  --brand-2: #0f4a8c;
  --brand-3: #116cb3;      /* azul TBU */
  --accent: #42bee1;       /* celeste TBU, acciones y detalles */
  --accent-ink: #041f3b;
  --sky: #a7daef;          /* celeste claro TBU */
  --bg: #f5f9fc;
  --surface: #ffffff;
  --surface-2: #e9f4fb;
  --fg: #0b1e33;
  --muted: #536a82;
  --line: #dde8f1;
  --logo-tile: #ffffff;
  --map-ground: #eaf2f8; --map-block: #dbe7f1; --map-street: #ffffff; --map-road: #ffffff; --map-road-line: #a7daef; --map-text: #536a82;
  --on-dark: #f3f6fa;
  --on-dark-muted: #9fb2c8;
  --on-dark-line: rgba(255,255,255,.10);
  --ok: #2c9a6a;

  --f-display: "PT Sans Narrow", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-sans: "Lato", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;

  --t-xs: .78rem;
  --t-sm: .9rem;
  --t-md: 1.05rem;
  --t-lg: 1.3rem;
  --t-xl: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem);
  --t-2xl: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem);
  --t-hero: clamp(2.7rem, 1.5rem + 5.2vw, 5.6rem);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --max: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #071f3d; --brand-2: #0d3f78; --brand-3: #5bb3ee; --accent: #4cc6e8; --accent-ink: #041f3b; --sky: #a7daef;
    --bg: #07172a; --surface: #0d2240; --surface-2: #12294a; --fg: #e7f0f8; --muted: #98b1c9; --line: #1b3558; --map-ground: #0f2440; --map-block: #142d4e; --map-street: #1c3a60; --map-road: #24496f; --map-road-line: #42bee1; --map-text: #98b1c9;
    --on-dark: #f3f6fa; --on-dark-muted: #9fb2c8; --on-dark-line: rgba(255,255,255,.10); --ok: #4fc08d;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #071f3d; --brand-2: #0d3f78; --brand-3: #5bb3ee; --accent: #4cc6e8; --accent-ink: #041f3b; --sky: #a7daef;
  --bg: #07172a; --surface: #0d2240; --surface-2: #12294a; --fg: #e7f0f8; --muted: #98b1c9; --line: #1b3558; --map-ground: #0f2440; --map-block: #142d4e; --map-street: #1c3a60; --map-road: #24496f; --map-road-line: #42bee1; --map-text: #98b1c9;
  --on-dark: #f3f6fa; --on-dark-muted: #9fb2c8; --on-dark-line: rgba(255,255,255,.10); --ok: #4fc08d;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-sans); font-size: var(--t-md); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }
/* Acento de marca: Lato Bold Italic, como "Tania Brenes Urbina" en el logotipo */
.serif { font-family: var(--f-sans); font-style: italic; font-weight: 700; letter-spacing: -0.02em; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.label { font-family: var(--f-sans); font-style: italic; font-weight: 700; font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-3); display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  font: 600 var(--t-sm)/1 var(--f-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 86%, white); }
.btn-glass { background: rgba(255,255,255,.06); color: var(--on-dark); border-color: rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--fg); color: var(--bg); }

/* Navegación flotante */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; padding-block: 14px; margin-bottom: -80px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(7, 33, 66, .62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--on-dark-line); border-radius: 999px; padding: 8px 8px 8px 18px; color: var(--on-dark);
  position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .logo-mark { width: 52px; height: auto; flex: none; }
.brand-name { font-family: var(--f-sans); font-style: italic; font-weight: 700; font-size: 1rem; line-height: 1.1; display: block; }
.brand-sub { font-family: var(--f-sans); font-style: italic; font-weight: 700; font-size: .72rem; color: var(--on-dark-muted); display: block; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: var(--t-sm); color: var(--on-dark-muted); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--on-dark); background: rgba(255,255,255,.07); }
.nav .btn { padding: 11px 18px; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); margin-left: auto; }
.lang button { font: 700 var(--t-xs)/1 var(--f-sans); letter-spacing: .06em; color: var(--on-dark-muted); background: transparent; border: 0; border-radius: 999px; padding: 8px 11px; cursor: pointer; transition: background-color .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--on-dark); color: var(--brand); }
.lang button:hover { color: var(--on-dark); }
.lang button[aria-pressed="true"]:hover { color: var(--brand); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-toggle svg { width: 20px; height: 20px; display: block; }
.nav-toggle { display: none; background: rgba(255,255,255,.08); color: var(--on-dark); border: 0; border-radius: 999px; padding: 10px 12px; font: 600 var(--t-sm) var(--f-sans); cursor: pointer; }

/* Hero */
.hero { position: relative; background: var(--brand); color: var(--on-dark); padding-block: 150px 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-1 { width: 620px; height: 620px; background: #116cb3; top: -220px; right: -120px; animation: drift 18s var(--ease) infinite alternate; }
.orb-2 { width: 420px; height: 420px; background: rgba(66,190,225,.35); bottom: -160px; left: 30%; animation: drift 22s var(--ease) infinite alternate-reverse; }
/* Patrón de "ojos" del manual de marca */
.hero-bg .pattern {
  position: absolute; inset: 0; opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='72' viewBox='0 0 120 72'%3E%3Cg fill='none' stroke='%2342bee1' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 28c10-12 30-14 42-4'/%3E%3Cpath d='M30 40c12 8 30 6 40-6'/%3E%3Cpath d='M78 64c10-12 30-14 42-4' /%3E%3Cpath d='M-42 64c10-12 30-14 42-4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 72px;
  mask-image: radial-gradient(ellipse 85% 75% at 70% 25%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 70% 25%, #000 25%, transparent 75%);
}
.hero-swoosh { position: absolute; width: min(980px, 90vw); right: -14%; top: 40px; opacity: .16; }
.hero-swoosh path { fill: #ffffff; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.08); } }

.hero-top { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: end; }
.hero-top > * { min-width: 0; }
.hero .label { color: var(--on-dark-muted); }
.hero h1 { font-size: var(--t-hero); font-weight: 700; letter-spacing: -0.01em; line-height: .98; margin-top: 22px; }
.hero h1 .serif { color: var(--accent); }
.hero-side { display: grid; gap: 24px; padding-bottom: 8px; }
.hero-lead { color: var(--on-dark-muted); font-size: var(--t-lg); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Interfaz de producto en el hero */
.showcase { position: relative; margin-top: 72px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.showcase > * { min-width: 0; }
.panel {
  background: rgba(255,255,255,.04); border: 1px solid var(--on-dark-line); border-radius: var(--r-lg) var(--r-lg) 0 0;
  border-bottom: 0; padding: 26px; backdrop-filter: blur(10px);
}
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-head h2 { font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.01em; }
.chip { font-family: var(--f-sans); font-weight: 700; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--on-dark-line); color: var(--on-dark-muted); white-space: nowrap; }
.panel-meta { color: var(--on-dark-muted); font-size: var(--t-sm); margin-top: 6px; }
.table-scroll { overflow-x: auto; margin-top: 18px; }
.quote-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 440px; }
.quote-table th { font-family: var(--f-sans); font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); text-align: left; padding: 0 12px 10px; }
.quote-table td { padding: 14px 12px; border-top: 1px solid var(--on-dark-line); }
.quote-table .num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.quote-table tr.pick td { background: rgba(66,190,225,.10); }
.quote-table tr.pick td:first-child { border-radius: 12px 0 0 12px; box-shadow: inset 2px 0 0 var(--accent); }
.quote-table tr.pick td:last-child { border-radius: 0 12px 12px 0; }
.best { display: inline-block; margin-left: 8px; font-size: .66rem; font-weight: 700; letter-spacing: .04em; color: var(--accent-ink); background: var(--accent); padding: 3px 8px; border-radius: 999px; vertical-align: middle; }

.claim-card { display: grid; gap: 18px; align-content: start; }
.track { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.track li { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; padding-block: 10px; position: relative; font-size: var(--t-sm); }
.track li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; margin: 6px 0 0 6px; background: var(--on-dark-line); border: 1px solid rgba(255,255,255,.25); }
.track li.done::before { background: var(--ok); border-color: var(--ok); }
.track li.now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(66,190,225,.18); }
.track li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 26px; bottom: -6px; width: 1px; background: var(--on-dark-line); }
.track strong { display: block; font-weight: 600; }
.track span { color: var(--on-dark-muted); }
.track time { font-family: var(--f-mono); font-size: .7rem; color: var(--on-dark-muted); }
.example-note { font-size: var(--t-xs); color: var(--on-dark-muted); }

/* Aseguradoras aliadas: los logos van sobre fondo blanco en ambos temas para respetar sus colores */
.partners { padding-block: 72px 0; }
.partners-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 48px; align-items: center; }
.partners h2 { font-size: var(--t-xl); margin-top: 14px; }
.partners h2 .serif { color: var(--brand-3); }
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.logos li {
  background: var(--logo-tile); border: 1px solid var(--line); border-radius: var(--r-md); height: 128px;
  display: grid; place-items: center; padding: 18px 20px; min-width: 0;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.logos li:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(10,42,82,.35); }
.logos img { display: block; width: auto; max-width: 100%; max-height: 54px; object-fit: contain; }
.logos li.tall img { max-height: 92px; }

/* Ola de marca bajo el hero */
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 90px); margin-top: -1px; }
.wave path { fill: var(--brand); }

/* Secciones */
section.block { padding-block: 120px; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.head > * { min-width: 0; }
.head h2 { font-size: var(--t-2xl); font-weight: 700; letter-spacing: -0.01em; margin-top: 16px; }
.head h2 .serif { color: var(--brand-3); }
.head p { color: var(--muted); font-size: var(--t-lg); line-height: 1.5; max-width: 46ch; }

/* Bento de seguros */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile {
  grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(10,42,82,.35); border-color: transparent; }
.tile.wide { grid-column: span 3; }
.tile.feature { grid-column: span 3; grid-row: span 2; background: var(--brand); color: var(--on-dark); border-color: transparent; }
.tile.feature p, .tile.feature li { color: var(--on-dark-muted); }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--brand-3); }
.tile.feature .ico { background: rgba(255,255,255,.08); color: var(--accent); }
.tile .ico svg { width: 22px; height: 22px; }
.tile h3 { font-size: var(--t-xl); font-weight: 700; letter-spacing: -0.01em; }
.tile p { color: var(--muted); font-size: var(--t-sm); }
.tile ul { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: var(--t-sm); }
.tile.feature ul { border-color: var(--on-dark-line); }
.tile li { display: flex; gap: 10px; }
.tile li::before { content: "—"; color: var(--accent); }
.tile.feature h3 { font-size: var(--t-2xl); }
.tile .more { display: inline-flex; color: var(--accent); align-items: center; gap: 8px; font-weight: 600; font-size: var(--t-sm); text-decoration: none; color: var(--accent); margin-top: 6px; }

.tile.bonds { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 32px; align-items: center; background: linear-gradient(120deg, var(--surface) 40%, var(--surface-2)); }
.bonds-intro { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.tile.bonds .bond-types { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile.bonds .bond-types li { display: grid; gap: 4px; padding: 18px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.tile.bonds .bond-types li::before { content: none; }
.bond-types strong { font-family: var(--f-display); font-size: var(--t-lg); line-height: 1.1; }
.bond-types span { color: var(--muted); font-size: var(--t-sm); }

/* Proceso */
.process { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line); }
.steps li { counter-increment: s; padding-right: 28px; display: grid; gap: 12px; align-content: start; position: relative; min-width: 0; }
.steps li::before {
  content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--t-sm);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--brand-3); margin-bottom: 10px; position: relative;
}
.steps li:last-child::before { background: var(--brand); color: var(--accent); border-color: var(--brand); }
.steps h3 { font-size: var(--t-lg); font-weight: 600; }
.steps p { color: var(--muted); font-size: var(--t-sm); }

/* Manifiesto */
.manifesto { padding-block: 120px; }
.manifesto blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(2rem, 1.2rem + 3vw, 3.8rem); font-weight: 400; letter-spacing: -0.01em; line-height: 1.08; max-width: 24ch; text-wrap: balance; }
.manifesto blockquote .serif { color: var(--brand-3); }
.manifesto .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 64px; }
.stat { border-top: 1px solid var(--fg); padding-top: 18px; display: grid; gap: 6px; min-width: 0; }
.stat strong { font-size: var(--t-xl); font-weight: 700; letter-spacing: -0.01em; }
.stat span { color: var(--muted); font-size: var(--t-sm); }

/* Siniestros */
.claims-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.claims-wrap > * { min-width: 0; }
.claims-dark { background: var(--brand); color: var(--on-dark); border-radius: var(--r-lg); padding: 44px; display: grid; gap: 22px; align-content: space-between; position: relative; overflow: hidden; }
.claims-dark::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; bottom: -160px; border-radius: 50%; background: rgba(66,190,225,.22); filter: blur(60px); pointer-events: none; }
.claims-dark h2 { font-size: var(--t-2xl); font-weight: 700; letter-spacing: -0.01em; }
.claims-dark h2 .serif { color: var(--accent); }
.claims-dark p { color: var(--on-dark-muted); }
.claims-dark .label { color: var(--on-dark-muted); }
.hotline { display: grid; gap: 6px; padding: 20px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid var(--on-dark-line); position: relative; z-index: 1; }
.hotline small { font-family: var(--f-sans); font-weight: 700; font-style: italic; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.hotline b { font-family: var(--f-mono); font-weight: 500; font-size: var(--t-lg); user-select: all; }
.claims-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: grid; }
.claims-list details { border-bottom: 1px solid var(--line); padding: 20px 18px; }
.claims-list details:last-child { border-bottom: 0; }
.claims-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 20px; gap: 14px; align-items: center; font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.01em; }
.claims-list summary::-webkit-details-marker { display: none; }
.claims-list summary .n { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--muted); font-weight: 400; }
.claims-list summary::after { content: "+"; font-weight: 300; font-size: 1.4rem; color: var(--muted); transition: transform .3s var(--ease); }
.claims-list details[open] summary::after { transform: rotate(45deg); }
.claims-list details p { color: var(--muted); padding: 8px 0 0 54px; font-size: var(--t-sm); }

/* Líneas de contacto (siniestros y ventas) */
.contact-lines { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; }
.contact-line strong { display: block; color: var(--on-dark); font-weight: 700; }
.contact-line span { color: var(--on-dark-muted); font-size: var(--t-sm); }
.contact-line .tel { font-family: var(--f-display); font-weight: 700; font-size: var(--t-xl); letter-spacing: .01em; color: var(--on-dark); user-select: all; white-space: nowrap; }
.contact-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.contact-actions a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: var(--t-sm); font-weight: 700; text-decoration: none; border: 1px solid var(--on-dark-line); color: var(--on-dark); transition: background-color .2s; }
.contact-actions a:first-child { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.contact-actions a:hover { background: rgba(255,255,255,.1); }
.contact-actions a:first-child:hover { background: color-mix(in srgb, var(--accent) 86%, white); }
.contact-actions svg { width: 15px; height: 15px; }
.footer-grid .social { list-style: none; margin: 22px 0 0; padding: 0; display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--on-dark-line); color: var(--on-dark); transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.ft-addr { font-style: normal; max-width: 30ch; }
.ft-map { display: inline-block; margin-top: 6px; color: var(--accent); font-weight: 700; }
.ft-tel { font-family: var(--f-display); font-weight: 700; font-size: var(--t-md); color: var(--on-dark); user-select: all; }

/* Cotizador */
.quote-sec { background: var(--brand); color: var(--on-dark); border-radius: var(--r-lg); padding: 64px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; position: relative; overflow: hidden; isolation: isolate; }
.quote-sec > * { min-width: 0; }
.quote-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 400px at 0% 0%, rgba(17,108,179,.55), transparent 70%); }
.quote-sec h2 { font-size: var(--t-2xl); font-weight: 700; letter-spacing: -0.01em; margin-top: 16px; }
.quote-sec h2 .serif { color: var(--accent); }
.quote-sec .label { color: var(--on-dark-muted); }
.promise { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; }
.promise li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--on-dark-muted); font-size: var(--t-sm); }
.promise svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.promise strong { color: var(--on-dark); display: block; font-size: var(--t-md); }
form.quote { background: var(--surface); color: var(--fg); border-radius: var(--r-md); padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
fieldset.types { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
fieldset.types legend { font-size: var(--t-sm); font-weight: 600; padding: 0; margin-bottom: 10px; }
.type-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.type-opts input { position: absolute; opacity: 0; pointer-events: none; }
.type-opts label { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: var(--t-sm); cursor: pointer; transition: all .2s var(--ease); background: var(--bg); }
.type-opts label:hover { border-color: var(--brand-3); }
.type-opts input:checked + label { background: var(--brand); color: var(--on-dark); border-color: var(--brand); }
.type-opts input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field input, .field textarea {
  font: inherit; font-size: var(--t-md); color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0; width: 100%; border-radius: 0; transition: border-color .2s;
}
.field textarea { min-height: 72px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brand-3); box-shadow: 0 1px 0 0 var(--brand-3); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.form-foot p { font-size: var(--t-xs); color: var(--muted); max-width: 32ch; }
.form-msg { grid-column: 1 / -1; border-radius: var(--r-sm); padding: 12px 14px; font-size: var(--t-sm); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.form-msg.err { background: color-mix(in srgb, var(--accent) 18%, transparent); }

/* Ubicación */
.visit { padding-top: 0; }
.visit-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.visit-info h2 { font-size: var(--t-2xl); margin-top: 16px; }
.visit-info h2 .serif { color: var(--brand-3); }
.visit-info address { font-style: normal; font-size: var(--t-lg); margin-top: 18px; color: var(--fg); }
.landmarks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; color: var(--muted); }
.landmarks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.landmarks svg { width: 20px; height: 20px; color: var(--brand-3); margin-top: 2px; }
.landmarks strong { color: var(--fg); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn-outline { border-color: var(--line); color: var(--fg); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand-3); }
.map-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); aspect-ratio: 4 / 3; max-width: 100%; box-shadow: 0 40px 80px -48px rgba(10,42,82,.45); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 340px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-md); background: rgba(255,255,255,.94); color: #0b1e33; backdrop-filter: blur(8px); box-shadow: 0 12px 30px -12px rgba(10,42,82,.35); }
.map-card .logo-mark { width: 46px; height: auto; flex: none; }
.map-card strong { display: block; font-size: var(--t-sm); }
.map-card span { display: block; font-size: var(--t-xs); color: #536a82; }
.map-illustration { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-label { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .12em; fill: var(--map-text); }
.map-label.small { font-size: 15px; letter-spacing: .08em; }
.map-note { position: absolute; top: 12px; right: 12px; left: 12px; margin: 0 0 0 auto; max-width: 300px; font-size: var(--t-xs); padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.9); color: #536a82; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq-grid > * { min-width: 0; }
.faq-grid h2 { font-size: var(--t-2xl); font-weight: 700; letter-spacing: -0.01em; margin-top: 16px; }
.faq-grid h2 .serif { color: var(--brand-3); }
.faq-grid .side p { color: var(--muted); margin-top: 18px; max-width: 36ch; }
.faq details { border-top: 1px solid var(--line); padding-block: 22px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: var(--t-lg); font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1; color: var(--muted); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 62ch; }

/* Footer */
.site-footer { background: var(--brand); color: var(--on-dark-muted); padding-block: 96px 32px; margin-top: 120px; overflow: hidden; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 64px; border-bottom: 1px solid var(--on-dark-line); }
.cta-row h2 { font-size: var(--t-2xl); font-weight: 700; letter-spacing: -0.01em; color: var(--on-dark); max-width: 18ch; }
.cta-row h2 .serif { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; font-size: var(--t-sm); }
.footer-grid > * { min-width: 0; }
.footer-grid h4 { font-family: var(--f-sans); font-style: italic; font-weight: 700; font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; transition: color .2s; }
.footer-grid a:hover { color: var(--on-dark); }
.wordmark { font-family: var(--f-display); font-size: clamp(6rem, 2rem + 20vw, 19rem); font-weight: 700; letter-spacing: -0.02em; line-height: .8; color: rgba(255,255,255,.05); margin-top: 56px; user-select: none; white-space: nowrap; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--t-xs); padding-top: 24px; border-top: 1px solid var(--on-dark-line); }

/* Entrada del hero */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .28s; }
  @keyframes rise { from { transform: translateY(18px); opacity: .001; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb-1, .orb-2 { animation: none; }
  * { transition: none !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-top, .head, .claims-wrap, .quote-sec, .faq-grid, .partners-row, .visit-grid { grid-template-columns: 1fr; }
  .partners-row { gap: 24px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .showcase { grid-template-columns: 1fr; }
  .claim-card { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.feature { grid-column: span 2; grid-row: auto; }
  .tile.bonds { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-sec { padding: 44px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .nav .btn { display: none; }
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; background: rgba(7,33,66,.97); border: 1px solid var(--on-dark-line); border-radius: var(--r-md); padding: 8px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
}
@media (max-width: 620px) {
  .wrap { padding-inline: 16px; }
  .hero { padding-top: 124px; }
  .showcase { margin-top: 48px; }
  .panel { padding: 18px; }
  section.block, .manifesto { padding-block: 72px; }
  .bento, .steps, .manifesto .stats, .footer-grid { grid-template-columns: 1fr; }
  .tile.feature { grid-column: span 1; }
  .tile.bonds .bond-types { grid-template-columns: 1fr; }
  .tile { padding: 22px; }
  .claims-dark { padding: 28px; }
  .claims-list summary { grid-template-columns: 30px 1fr 20px; font-size: var(--t-md); }
  .claims-list details p { padding-left: 44px; }
  .quote-sec { padding: 28px 18px; border-radius: var(--r-md); }
  form.quote { grid-template-columns: 1fr; padding: 22px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos li { height: 108px; }
  .logos li:last-child { grid-column: span 2; }
  .site-footer { margin-top: 72px; padding-top: 64px; }
  .nav { padding-left: 12px; gap: 8px; }
  .brand { gap: 8px; }
  .brand .logo-mark { width: 42px; }
  .brand-name { font-size: .9rem; white-space: nowrap; }
  .brand-sub { white-space: nowrap; font-size: .66rem; }
  .lang button { padding: 8px 9px; }
  .map-frame { aspect-ratio: 4 / 5; }
}
