/* Intercity Seguros — hoja de estilos
   Layout: cabecera fija + secciones centradas (máx. 1200px) + pie degradado azul→fucsia.
   Sitio de marca en tema claro único (decisión deliberada). */
:root {
  --navy: #0b1a5a;
  --pink: #e3127e;
  --pink-dark: #c00d69;
  --ink: #0b0b0f;
  --muted: #4b5563;
  --line: #e5e7ef;
  --soft: #f5f7fc;
  --white: #ffffff;
  --wa: #25d366;
  --wa-dark: #1ead53;
  --brand-blue: #0047d6;
  --brand-magenta: #c8127f;
  --hero-a: #0b2a9e;
  --hero-b: #4a0fc4;
  --hero-c: #b3138d;
  --soft-brand: #f3f4ff;
  --line-brand: #dcdff7;

  /* Colores del logo: azul eléctrico → índigo → violeta → fucsia */
  --c-blue: #0052f7;
  --c-indigo: #240fd7;
  --c-violet: #6300bb;
  --c-magenta: #e3127e;
  --c-purple: var(--c-violet);
  --c-pink: var(--c-magenta);
  /* Colores con significado */
  --c-green: #12a150;
  --c-red: #d8162e;

  --font: "Plus Jakarta Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(8, 48, 118, 0.18);
  --wrap: 1200px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: calc(var(--wrap) + 32px); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: 56px; }
.section-title { color: var(--navy); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2rem); font-weight: 600; text-align: center; }
.section-sub { color: var(--muted); text-align: center; max-width: 60ch; margin: 10px auto 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-pink:hover { background: var(--pink-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-blue { background: var(--c-blue); color: var(--white); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-lg { padding: 13px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Cabecera ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--navy); font-weight: 500; font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--pink); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.menu-btn .icon { width: 28px; height: 28px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--white); }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav .wrap { display: grid; gap: 4px; padding-block: 12px 18px; }
.mobile-nav a:not(.btn) { padding: 10px 4px; text-decoration: none; color: var(--navy); font-weight: 500; border-bottom: 1px solid var(--soft); }
.mobile-nav .btn { margin-top: 10px; }
@media (max-width: 960px) {
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .logo img { height: 44px; }
}

/* ---------- Hero de inicio ---------- */
.hero-home { position: relative; overflow: hidden; background: var(--white); }
.hero-home .bg { position: absolute; inset: 0 0 0 30%; background: url("../assets/home-hero.webp") center right / cover no-repeat; }
.hero-home .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--white) 0%, rgba(255,255,255,.85) 18%, rgba(255,255,255,0) 50%), linear-gradient(to top, var(--white) 0%, rgba(255,255,255,0) 25%); }
.hero-home .wrap { position: relative; }
.hero-main { padding-block: 56px 24px; }
.stats-wrap { display: flex; justify-content: flex-end; padding-bottom: 40px; }
.hero-copy { max-width: 560px; display: grid; gap: 20px; }
.hero-title { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem); font-weight: 700; color: var(--ink); line-height: 1.04; letter-spacing: -0.02em; }
.grad-text { background: linear-gradient(90deg, var(--c-blue), var(--c-violet) 55%, var(--c-magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.05rem; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.features { display: flex; flex-wrap: wrap; gap: 18px 28px; }
.feature { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--ink); max-width: 190px; line-height: 1.3; }
.feature .icon { color: var(--c-blue); width: 26px; height: 26px; }
.stats { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 18px 20px; width: min(100%, 520px); }
.stat { display: grid; justify-items: center; gap: 4px; text-align: center; }
.stat-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--white); }
.stat-ico .icon { width: 20px; height: 20px; }
.stat b { font-size: 1.15rem; font-weight: 800; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.74rem; color: var(--muted); line-height: 1.2; }
@media (max-width: 860px) {
  .hero-home { display: flex; flex-direction: column; }
  .hero-main { order: 1; padding-block: 28px 8px; }
  .hero-home .bg { order: 2; position: relative; inset: auto; height: 320px; }
  .hero-home .bg::after { background: linear-gradient(to bottom, var(--white) 0%, rgba(255,255,255,0) 25%); }
  .stats-wrap { order: 3; margin-top: -56px; padding-bottom: 24px; }
  .stats { width: 100%; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
@media (max-width: 1040px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { --c: var(--c-blue); border: 1.5px solid var(--line-brand); border-radius: var(--radius); background: var(--white); padding: 22px 18px 18px; display: grid; gap: 14px; justify-items: center; text-align: center; transition: box-shadow .2s, transform .2s; }
.plan:hover { border-color: var(--c); box-shadow: 0 16px 32px -16px rgba(36, 15, 215, .35); transform: translateY(-2px); }
.plan-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, var(--white)); color: var(--c); }
.plan-ico .icon { width: 26px; height: 26px; }
.plan-days { color: var(--muted); font-size: 1rem; }
.plan-price { font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 0.9rem; font-weight: 700; }
.plan-actions { width: 100%; display: grid; gap: 8px; }
.plan-buy { background: var(--pink); color: var(--white); }
.plan-buy:hover { background: var(--pink-dark); }
.plan-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan-alt .btn { padding: 8px 6px; font-size: 0.8rem; border-color: var(--line); background: var(--white); color: var(--navy); gap: 5px; }
.plan-alt .btn .icon { width: 16px; height: 16px; }
.plan-alt .btn.wa .icon { color: var(--wa-dark); }
.plan-alt .btn:hover { border-color: var(--navy); }
.plans-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 18px; }

/* ---------- Qué incluye ---------- */
.includes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
@media (max-width: 960px) { .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .includes { grid-template-columns: minmax(0, 1fr); } }
.inc { --c: var(--c-blue); border-radius: var(--radius); padding: 28px 20px 24px; text-align: center; display: grid; gap: 10px; justify-items: center; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 12%, var(--white)) 0%, var(--white) 100%); border-bottom: 4px solid var(--c); }
.inc .icon { width: 44px; height: 44px; color: var(--c); }
.inc h3 { font-size: 1.1rem; font-weight: 600; }
.inc p { font-size: 0.9rem; color: var(--muted); max-width: 26ch; }

/* ---------- Cobertura + FAQ ---------- */
.coverage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .coverage { grid-template-columns: minmax(0, 1fr); } }
.map-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px; align-items: center; }
@media (max-width: 520px) { .map-block { grid-template-columns: minmax(0, 1fr); } }
.map-block h2 { color: var(--navy); font-size: 1.35rem; font-weight: 600; }
.map-block p { font-size: 0.92rem; color: var(--muted); margin-top: 8px; }
.legend { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 0.85rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.faq-card { border: 1.5px solid var(--line-brand); border-radius: var(--radius); padding: 22px; background: linear-gradient(180deg, var(--soft-brand), var(--white)); }
.faq-card h2 { color: var(--navy); font-size: 1.35rem; font-weight: 600; margin-bottom: 14px; }
.faq { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-sm); }
.faq + .faq { margin-top: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.95rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--navy); }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq .ans { padding: 0 16px 16px; color: var(--muted); font-size: 0.92rem; display: grid; gap: 10px; }

/* ---------- Hero de páginas internas ---------- */
.page-hero { padding-block: 24px 8px; }
.page-hero .panel { border-radius: 22px; background: linear-gradient(100deg, var(--hero-a) 0%, var(--hero-b) 50%, var(--hero-c) 100%); color: var(--white); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px; align-items: center; padding: clamp(28px, 4vw, 48px); overflow: hidden; }
@media (max-width: 820px) { .page-hero .panel { grid-template-columns: minmax(0, 1fr); } }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.2rem); font-weight: 700; letter-spacing: -0.015em; }
.page-hero h1 .hl { color: #ff5aa8; display: block; }
.page-hero p.lead { margin-top: 14px; max-width: 46ch; color: rgba(255,255,255,.9); }
.page-hero .art { justify-self: center; max-height: 260px; width: auto; }
.hero-strip { margin-top: 22px; background: var(--white); color: var(--ink); border-radius: 12px; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 12px 22px; width: fit-content; max-width: 100%; }
.hero-strip .feature { font-size: 0.8rem; max-width: 170px; }
.doc-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: center; box-shadow: var(--shadow); }
.doc-card img { width: 110px; }
.doc-card h2 { color: var(--navy); font-size: 1.3rem; font-weight: 600; }
.doc-card p { font-size: 0.88rem; color: var(--muted); margin-top: 6px; }
.doc-card .btn { grid-column: 2; justify-self: start; }
@media (max-width: 420px) { .doc-card { grid-template-columns: minmax(0, 1fr); } .doc-card .btn { grid-column: 1; justify-self: stretch; } }

/* ---------- Precios: incluye / no cubre ---------- */
.inc-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 28px; align-items: stretch; }
@media (max-width: 820px) { .inc-list { grid-template-columns: minmax(0, 1fr); } }
.checks { list-style: none; margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--c-blue); margin-top: 2px; }
.highlight { border: 1.5px solid var(--line-brand); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; background: linear-gradient(135deg, var(--soft-brand), var(--white)); }
.highlight h3 { color: var(--navy); font-size: 1.15rem; font-weight: 700; }
.highlight p { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.highlight .side { text-align: center; color: var(--c-indigo); font-size: 0.8rem; display: grid; justify-items: center; gap: 6px; max-width: 160px; }
.highlight .side .icon { width: 46px; height: 46px; }
.excl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
@media (max-width: 760px) { .excl { grid-template-columns: minmax(0, 1fr); } }
.excl div { display: flex; gap: 10px; align-items: center; background: var(--soft); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.92rem; }
.excl .icon { color: var(--c-red); }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { position: relative; border: 1.5px solid var(--line-brand); background: linear-gradient(180deg, var(--soft-brand), var(--white)); border-radius: var(--radius); padding: 30px 18px 22px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.step-n { position: absolute; top: -12px; left: -8px; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--c-blue), var(--c-violet)); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.step .icon { width: 36px; height: 36px; color: var(--c-indigo); }
.step h3 { font-size: 1.05rem; font-weight: 600; }
.step p { font-size: 0.88rem; color: var(--muted); }
.sample { margin: 28px auto 0; width: 100%; max-width: min(840px, 100%); border-radius: 14px; box-shadow: var(--shadow); }
.sample-note { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 10px; }
.howto { border: 1.5px solid var(--line-brand); border-radius: var(--radius); background: linear-gradient(90deg, var(--soft-brand), var(--white)); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px; }
@media (max-width: 820px) { .howto { grid-template-columns: minmax(0, 1fr); } .howto .arrow { display: none; } }
.howto h2 { color: var(--navy); font-size: 1.6rem; font-weight: 600; }
.howto .call { display: flex; gap: 14px; align-items: center; margin-top: 18px; color: var(--navy); font-weight: 600; }
.howto .call .icon { width: 34px; height: 34px; color: var(--c-magenta); }
.howto .arrow .icon { width: 44px; height: 44px; color: var(--c-violet); }
.howto img { border-radius: 12px; }

/* ---------- Ayuda ---------- */
.faq-cat { --c: var(--c-pink); border: 1.5px solid var(--c); border-radius: var(--radius); padding: 18px 20px; background: var(--white); }
.faq-cat + .faq-cat { margin-top: 16px; }
.faq-cat > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.faq-cat > summary::-webkit-details-marker { display: none; }
.faq-cat > summary > .icon { color: var(--c); width: 28px; height: 28px; }
.faq-cat .cat-title { color: var(--c); font-weight: 600; font-size: 1.05rem; }
.faq-cat .cat-sub { color: var(--muted); font-size: 0.82rem; }
.faq-cat .chev { color: var(--navy); transition: transform .2s; }
.faq-cat[open] .chev { transform: rotate(180deg); }
.faq-cat .body { margin-top: 16px; display: grid; gap: 10px; color: var(--ink); font-size: 0.95rem; }
.faq-cat .body h4 { color: var(--navy); font-size: 1.02rem; font-weight: 600; }
.faq-cat .body img { max-width: 420px; width: 100%; margin-top: 6px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 10px; }
.contact .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--white); }
.contact h3 { font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.contact p { color: var(--muted); font-size: 0.9rem; }
.contact .val { font-weight: 600; color: var(--ink); user-select: all; overflow-wrap: anywhere; }
.contact .btn { justify-self: stretch; margin-top: 6px; }

/* ---------- Formulario de póliza ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; padding-block: 32px 64px; }
@media (max-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr); } .summary { order: -1; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-head { background: linear-gradient(100deg, var(--hero-a), var(--hero-b) 55%, var(--hero-c)); color: var(--white); text-align: center; padding: 18px; }
.card-head h1 { font-size: 1.5rem; font-weight: 700; }
.card-head p { font-size: 0.9rem; opacity: .92; margin-top: 4px; }
.card-body { padding: 24px; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; }
@media (max-width: 600px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.input, .select { width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; background: var(--white); min-height: 46px; font-size: 0.95rem; }
/* Campos de fecha: botón de calendario visible a la derecha (clic abre el selector) */
input[type="date"].input { position: relative; padding-right: 58px; cursor: text; background: linear-gradient(var(--soft-brand), var(--soft-brand)) no-repeat right center / 46px 100%, var(--white); }
input[type="date"].input::-webkit-calendar-picker-indicator { position: absolute; top: 0; right: 0; width: 46px; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.date-wrap { position: relative; }
.date-wrap .cal { position: absolute; top: 0; right: 0; width: 46px; height: 100%; display: grid; place-items: center; color: var(--c-indigo); pointer-events: none; border-left: 1.5px solid var(--line-brand); }
.date-wrap .cal .icon { width: 22px; height: 22px; }
.date-wrap:hover .cal { color: var(--c-magenta); }
.input:focus, .select:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(0,82,247,.15); }
.field[data-invalid="true"] .input, .field[data-invalid="true"] .select { border-color: var(--c-red); }
.err { color: var(--c-red); font-size: 0.8rem; min-height: 0; }
.err:empty { display: none; }
.phone-row { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 8px; }
.radios { display: flex; gap: 20px; align-items: center; min-height: 46px; }
.radios label { display: flex; gap: 8px; align-items: center; font-weight: 500; cursor: pointer; }
.radios input { width: 18px; height: 18px; accent-color: var(--c-blue); }
.hint { font-size: 0.78rem; color: var(--muted); }
.trip-info { display: flex !important; gap: 10px; align-items: center; background: var(--soft-brand); border: 1px solid var(--line-brand); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.9rem; color: var(--navy); }
.trip-info[hidden] { display: none !important; }
.trip-info .icon { color: var(--c-indigo); }
.trip-info.changed { background: #fff4fa; border-color: #f6c2dc; }
.trip-info.changed .icon { color: var(--c-magenta); }
.trip-info.warn { background: #fff7e6; border-color: #fde1a6; color: #7a4b00; }
.form-foot { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; display: grid; gap: 12px; }
.privacy { font-size: 0.78rem; color: var(--muted); text-align: center; }
.summary { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); display: grid; gap: 16px; }
@media (max-width: 900px) { .summary { position: static; } }
.sum-card { padding: 22px; display: grid; gap: 14px; }
.sum-plan { --c: var(--c-blue); display: flex; gap: 14px; align-items: center; }
.sum-plan .plan-ico { width: 48px; height: 48px; }
.sum-plan b { display: block; font-size: 1.05rem; }
.sum-plan span { color: var(--muted); font-size: 0.88rem; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); padding-top: 12px; }
.sum-total strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.sum-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.88rem; }
.sum-card li { display: flex; gap: 8px; align-items: flex-start; }
.sum-card li .icon { color: var(--c-blue); width: 18px; height: 18px; margin-top: 2px; }
.change { font-size: 0.85rem; color: var(--c-blue); font-weight: 600; text-decoration: none; }
.alt-card { padding: 20px; display: grid; gap: 10px; }
.alt-card h2 { font-size: 1rem; color: var(--navy); }
.alt-card p { font-size: 0.86rem; color: var(--muted); }
.alt-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.alt-card .row .btn { font-size: 0.85rem; padding: 10px 8px; }
.done { padding: 36px 24px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.done .big { width: 64px; height: 64px; border-radius: 50%; background: #e6f6ec; color: var(--c-green); display: grid; place-items: center; }
.done .big .icon { width: 34px; height: 34px; }
.done h2 { font-size: 1.5rem; color: var(--navy); }
.done p { color: var(--muted); max-width: 46ch; }
.demo-banner { background: #fff7e6; border: 1px solid #fde1a6; color: #7a4b00; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.82rem; }
.alert { background: #fdecee; border: 1px solid #f6b9c1; color: #8a1023; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.88rem; display: grid; gap: 10px; }

/* ---------- Modal "Que me llamen" ---------- */
dialog.modal { border: 0; border-radius: 20px; padding: 0; width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); color: var(--ink); background: var(--white); }
dialog.modal::backdrop { background: rgba(10, 18, 48, .55); }
.modal-head { background: linear-gradient(100deg, var(--hero-a), var(--hero-c)); color: var(--white); padding: 20px 22px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.modal-head h2 { font-size: 1.25rem; }
.modal-head p { font-size: 0.86rem; opacity: .9; margin-top: 4px; }
.modal-x { background: rgba(255,255,255,.15); border: 0; color: var(--white); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; }
.modal-body { padding: 20px 22px 22px; display: grid; gap: 14px; }

/* ---------- Pie ---------- */
.footer { background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-magenta) 100%); color: var(--white); }
.footer .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-block: 44px 36px; }
@media (max-width: 820px) { .footer .wrap { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.logo-foot { display: inline-block; }
.logo-foot img { height: 54px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.18)); }
.footer p { font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.footer h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.9rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.social { display: flex; gap: 12px; margin-top: 16px; }
.social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.social .icon { width: 18px; height: 18px; }
.copy { border-top: 1px solid rgba(255,255,255,.25); }
.copy .wrap { display: block; padding-block: 14px; font-size: 0.8rem; opacity: .9; }

/* ---------- Burbuja WhatsApp ---------- */
.wa-float { position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; background: var(--wa); color: var(--white); text-decoration: none; padding: 10px 18px 10px 12px; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(18, 140, 70, .6); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float b { display: block; font-size: 0.85rem; line-height: 1.1; }
.wa-float small { font-size: 0.72rem; opacity: .9; display: flex; align-items: center; gap: 5px; }
.wa-float small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c9ffd9; }
@media (max-width: 480px) { .wa-float { padding: 12px; } .wa-float span { display: none; } }
