/* Adquiere Seguro — hoja de estilos
   Concepto: documento de póliza. Bandas azules de cabecera, fichas con
   numeración de cláusulas solo donde hay secuencia real, acento naranja
   reservado para la acción principal (cotizar). */
:root {
  --navy: #0d2b4c;
  --navy-2: #163e69;
  --blue: #1f5fa8;
  --orange: #f26a1b;
  --orange-dark: #c9520d;
  --paper: #f4f6f9;
  --card: #ffffff;
  --ink: #142233;
  --muted: #55657a;
  --line: #d8e0ea;
  --ok: #1d7a4e;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --wrap: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-dark);
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy); color: #cfdbea; font-size: 0.85rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; padding-block: 7px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .sbs { color: #fff; font-weight: 600; }

/* ---------- Cabecera ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--card); }
.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 9px; background: var(--orange);
  display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
}
.brand-name { font-family: var(--font-display); font-weight: 750; font-size: 1.2rem; color: var(--navy); line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .drop > button {
  font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--ink); background: none; border: 0;
  padding: 10px 11px; border-radius: 8px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.nav > a:hover, .nav .drop > button:hover { background: var(--paper); }
.nav a[aria-current="page"] { color: var(--blue); }
.drop { position: relative; }
.drop-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 34px rgba(13, 43, 76, 0.14);
  padding: 8px; display: grid;
}
.drop-menu a { padding: 9px 12px; border-radius: 7px; text-decoration: none; color: var(--ink); font-weight: 500; }
.drop-menu a:hover { background: var(--paper); color: var(--blue); }
.drop-menu span { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 400; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 0.98rem; text-decoration: none; cursor: pointer;
  padding: 13px 22px; border-radius: 9px; border: 2px solid transparent; transition: background 0.15s, transform 0.15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e7eef7; }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.menu-toggle { display: none; }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; font: inherit; font-weight: 600; cursor: pointer; color: var(--navy); }
  .header .btn-cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav[data-open="false"] { display: none; }
  .drop-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 10px; min-width: 0; }
  .nav .drop > button { width: 100%; text-align: left; }
  .nav .btn-mobile { margin-top: 8px; }
}
@media (min-width: 1101px) {
  .nav .btn-mobile { display: none; }
  .drop-menu[hidden] { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--card) 0%, var(--paper) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-block: 56px 64px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }
.hero-points li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 7px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 36px 44px; gap: 32px; } }

/* Ficha de corredor: la pieza firma del sitio, con forma de documento de póliza */
.credential {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 22px 50px rgba(13, 43, 76, 0.13); min-width: 0;
}
.credential-head { background: var(--navy); color: #fff; padding: 16px 22px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.credential-head .eyebrow { color: #ffb489; }
.credential-head strong { font-family: var(--font-display); font-size: 1.05rem; }
.credential-body { padding: 20px 22px 22px; display: grid; gap: 14px; }
.credential dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 0.95rem; }
.credential dt { color: var(--muted); }
.credential dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.credential .stamp {
  border-top: 1px dashed var(--line); padding-top: 14px; display: flex; gap: 12px; align-items: center; font-size: 0.9rem; color: var(--muted);
}
.credential .stamp b { color: var(--navy); }
.seal { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange); display: grid; place-items: center; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.05em; }
.quick-quote { display: grid; gap: 10px; }
.quick-quote p { font-weight: 600; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: 0.9rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none;
}
.chip:hover { border-color: var(--orange); color: var(--orange-dark); background: #fff; }

/* ---------- Secciones ---------- */
.section { padding-block: 72px; }
.section-tight { padding-block: 48px; }
.section-white { background: var(--card); }
.section-navy { background: var(--navy); color: #d9e4f1; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: #ffb489; }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

.insurers { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; }
.insurers span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy-2);
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--card);
}
.insurers-label { text-align: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.product {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: grid; gap: 12px; grid-template-rows: auto auto 1fr auto; text-decoration: none; color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.product:hover { border-color: var(--blue); transform: translateY(-2px); }
.product .icon { width: 44px; height: 44px; border-radius: 10px; background: #e8f0fa; color: var(--blue); display: grid; place-items: center; }
.product .icon svg { width: 24px; height: 24px; }
.product p { color: var(--muted); font-size: 0.97rem; }
.product .more { font-weight: 700; color: var(--blue); font-size: 0.93rem; }

.feature { display: grid; gap: 8px; }
.feature h3 { font-size: 1.12rem; }
.feature p { color: var(--muted); }
.section-navy .feature p { color: #c3d2e4; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { border-left: 3px solid var(--orange); padding-left: 16px; }
.stat b { display: block; font-family: var(--font-display); font-size: 2.2rem; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: #c3d2e4; font-size: 0.95rem; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.about-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 16px; }
.person { display: flex; gap: 16px; align-items: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 750; font-size: 1.4rem; flex: none; }
.person b { display: block; font-size: 1.1rem; color: var(--navy); }
.person span { color: var(--muted); font-size: 0.93rem; }

.values { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.values li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.values li::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--orange); margin-top: 9px; }
.values b { color: var(--navy); }

/* Pasos (secuencias reales: proceso de atención, qué hacer en un siniestro) */
.steps { counter-reset: step; display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.steps li::before {
  content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-family: var(--font-display);
}
.steps b { color: var(--navy); display: block; margin-bottom: 2px; }
.steps p { color: var(--muted); font-size: 0.96rem; }
.steps-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-row li { grid-template-columns: 1fr; }
@media (max-width: 900px) { .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps-row { grid-template-columns: 1fr; } }

/* ---------- Páginas de producto ---------- */
.page-hero { background: var(--navy); color: #d9e4f1; }
.page-hero .wrap { padding-block: 52px 56px; display: grid; gap: 16px; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: #ffb489; }
.page-hero .lead { color: #c3d2e4; }
.page-hero .hero-actions { margin-top: 6px; }
.crumbs { font-size: 0.85rem; color: #9fb4cc; }
.crumbs a { color: #c3d2e4; }

.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; scroll-margin-top: 100px; }
.plan .tag { justify-self: start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #fde9dc; color: var(--orange-dark); }
.plan .ideal { font-size: 0.93rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.plan .ideal b { color: var(--ink); }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 0.96rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { background: #eef3f9; color: var(--navy); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 650; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); display: grid; gap: 10px; }

.callout { background: #fff6ef; border: 1px solid #f7cfb3; border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 6px; }
.callout b { color: var(--orange-dark); }

/* ---------- Banda CTA ---------- */
.cta-band { background: var(--orange); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-block: 40px; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-band p { color: #ffe9db; margin-top: 6px; }

/* ---------- Formularios ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 18px; box-shadow: 0 16px 40px rgba(13, 43, 76, 0.08); }
.form-card h2, .form-card h3 { font-size: 1.45rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 8px; background: #fbfcfe; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(31, 95, 168, 0.15); }
.field textarea { min-height: 110px; resize: vertical; }
.field .err { color: #b3261e; font-size: 0.85rem; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.9rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-status { border-radius: 8px; padding: 12px 14px; font-weight: 600; }
.form-status.ok { background: #e6f4ec; color: var(--ok); }
.form-status.bad { background: #fdecea; color: #b3261e; }
.hp { position: absolute; left: -5000px; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.contact-list .ic { width: 40px; height: 40px; border-radius: 9px; background: #e8f0fa; color: var(--blue); display: grid; place-items: center; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list b { display: block; color: var(--navy); }
.contact-list a { word-break: break-word; }

.legal { max-width: 820px; display: grid; gap: 18px; }
.legal h2 { font-size: 1.35rem; margin-top: 10px; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.receipt { background: var(--card); border: 2px dashed var(--line); border-radius: 12px; padding: 22px; display: grid; gap: 10px; }
.receipt pre { white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, Consolas, monospace; font-size: 0.86rem; background: var(--paper); padding: 14px; border-radius: 8px; margin: 0; }
.libro-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px solid #c3d2e4; border-radius: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.libro-badge:hover { background: var(--navy-2); }

/* ---------- Pie ---------- */
.footer { background: #0a2240; color: #b6c6da; font-size: 0.94rem; }
.footer .wrap { padding-block: 56px 28px; display: grid; gap: 36px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.footer-cols > * { min-width: 0; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; font-family: var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #dbe6f3; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .brand-name { color: #fff; }
.footer .brand-name small { color: #9fb4cc; }
.footer-bottom { border-top: 1px solid #23406a; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.85rem; color: #8fa6c2; }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 70;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  background: #1f9d55; color: #fff; text-decoration: none; font-weight: 700; border-radius: 999px;
  padding: 13px 18px; display: inline-flex; align-items: center; gap: 9px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover { background: #17834a; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* Acceso a la plataforma de colaboradores */
.nav > a.nav-colab { border: 1.5px solid var(--navy); color: var(--navy); }
.nav > a.nav-colab:hover { background: var(--navy); color: #fff; }
@media (max-width: 1100px) { .nav > a.nav-colab { text-align: center; margin-top: 6px; } }
.brand-name { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1340px) { .nav > a, .nav .drop > button { padding: 10px 8px; font-size: 0.92rem; } .header .brand-name small { display: none; } }

/* Logo */
.brand-logo { height: 44px; width: auto; display: block; }
.brand-tag { font-size: 0.72rem; line-height: 1.25; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; border-left: 1px solid var(--line); padding-left: 10px; white-space: nowrap; }
.brand-logo-footer { height: 52px; }
@media (min-width: 1101px) and (max-width: 1340px) { .brand-tag { display: none; } }
@media (max-width: 420px) { .brand-logo { height: 38px; } .brand-tag { display: none; } }
.brand { flex: none; }
.brand-logo { height: 48px; }
@media (max-width: 1440px) { .brand-tag { display: none; } }
@media (max-width: 1100px) { .brand-tag { display: block; } }
@media (max-width: 420px) { .brand-logo { height: 40px; } .brand-tag { display: none; } }

/* Logos de aseguradoras */
.insurers { gap: 12px; }
.insurers span { padding: 0 22px; height: 72px; min-width: 150px; display: flex; align-items: center; justify-content: center; background: #fff; }
.insurers img { width: auto; max-width: 150px; display: block; object-fit: contain; }
@media (max-width: 560px) { .insurers span { min-width: 0; flex: 1 1 40%; height: 64px; padding: 0 12px; } .insurers img { max-width: 120px; } }

/* Videos */
.video-card { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; min-width: 0; }
.video-card video { width: 100%; aspect-ratio: 16 / 9; display: block; background: var(--navy); object-fit: cover; }
.video-card figcaption { padding: 12px 16px 14px; display: grid; gap: 2px; }
.video-card figcaption b { color: var(--navy); font-size: 1rem; }
.video-card figcaption span { color: var(--muted); font-size: 0.9rem; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--navy); cursor: pointer; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.yt:hover img { transform: scale(1.03); }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; }
.yt-play svg { width: 64px; height: 46px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card figcaption a { white-space: nowrap; }

/* Encabezado de página con imagen */
.page-hero-text { display: grid; gap: 16px; min-width: 0; }
.page-hero.has-img .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 40px; }
.page-hero-img { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); border: 3px solid rgba(255,255,255,.14); }
.page-hero-img img { width: 100%; height: 100%; aspect-ratio: 716 / 437; object-fit: cover; display: block; }
@media (max-width: 860px) { .page-hero.has-img .wrap { grid-template-columns: 1fr; gap: 26px; } }

/* Franja de aseguradoras en movimiento */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .insurers { flex-wrap: nowrap; justify-content: flex-start; padding-right: 14px; gap: 14px; }
.marquee .insurers span { flex: none; min-width: 170px; height: 76px; }
.marquee .insurers img { max-width: 140px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) {
  .marquee .insurers span { min-width: 130px; height: 64px; padding: 0 14px; flex: none; }
  .marquee .insurers img { max-width: 104px; }
  .marquee-track { animation-duration: 24s; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; display: block; }
  .marquee .insurers { flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee .insurers [aria-hidden="true"], .marquee .insurers[aria-hidden="true"] { display: none; }
}

/* Cotizador incrustado en el encabezado */
.page-hero.has-embed .wrap { align-items: start; }
.hero-quote { min-width: 0; }
.hero-quote iframe { display: block; width: 100%; height: 640px; border: 0; border-radius: 18px; background: transparent; color-scheme: light; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }

/* Formulario propio en el encabezado (Seguro de Vida) */
.page-hero.has-form .hero-quote { scroll-margin-top: 100px; }
.page-hero.has-form .form-card { border-top: 5px solid var(--orange); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); color: var(--ink); }
.page-hero.has-form .form-card h2 { color: var(--navy); }

/* Mosaico de seguros (Inicio) */
.pick { background: var(--navy); border-radius: 22px; padding: 24px; box-shadow: 0 24px 50px rgba(13, 43, 76, 0.25); min-width: 0; display: grid; gap: 16px; }
.pick-k { color: #fff; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pick-grid a { background: #fff; border-radius: 14px; padding: 16px 14px; text-decoration: none; display: grid; gap: 6px; justify-items: start; transition: transform .15s, box-shadow .15s; }
.pick-grid a:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25); }
.pick-grid .ic { width: 44px; height: 44px; border-radius: 11px; background: #fde9dc; color: var(--orange-dark); display: grid; place-items: center; }
.pick-grid .ic svg { width: 24px; height: 24px; }
.pick-grid b { color: var(--navy); font-size: 1rem; }
.pick-grid small { color: var(--blue); font-weight: 700; font-size: 0.82rem; }
.pick-strip { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #c3d2e4; font-size: 0.86rem; border-top: 1px solid #23406a; padding-top: 14px; }
.pick-strip b { color: #fff; }
@media (max-width: 560px) {
  .pick { padding: 18px; border-radius: 18px; }
  .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick-grid a { padding: 14px 12px; }
}

/* Encabezado simplificado */
.header .wrap { min-height: 72px; gap: 28px; }
.nav { gap: 6px; }
.nav > a, .nav .drop > button { font-weight: 500; font-size: 0.97rem; color: var(--ink); padding: 10px 14px; }
.nav > a[aria-current="page"] { color: var(--orange-dark); font-weight: 600; }
.nav .caret { font-size: 0.7em; opacity: 0.6; margin-left: 2px; }
.header .btn-cta { padding: 11px 20px; border-radius: 999px; }
.brand-logo { height: 46px; }
.topbar .tb-right { display: inline-flex; align-items: center; gap: 10px; }
.topbar .tb-sep { opacity: 0.4; }
.topbar .tb-colab { color: #cfdbea; font-weight: 500; }
.topbar .tb-colab:hover { color: #fff; }
.nav-colab-mobile { display: none; }
@media (max-width: 1100px) { .nav > a.nav-colab-mobile { display: block; color: var(--muted); } }
@media (max-width: 560px) { .topbar .sbs { display: none; } .topbar .wrap { justify-content: center; } }

/* Panel de administrador de usuarios */
.adm { display: grid; gap: 18px; }
.adm-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 960px) { .adm-grid { grid-template-columns: 1fr; } }
.adm-list { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 14px; min-width: 0; }
.adm-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.adm-head h2 { font-size: 1.35rem; }
.adm-head h2 span { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.adm-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-tools input { font: inherit; font-size: 0.92rem; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 8px; min-width: 0; width: 220px; max-width: 100%; }
.adm-table { min-width: 680px; font-size: 0.93rem; }
.adm-table td { vertical-align: middle; }
.adm-table tr.is-off td { color: var(--muted); }
.adm-table small { color: var(--muted); }
.mono { font-family: ui-monospace, Consolas, monospace; }
.acts { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.lnk { font: inherit; font-size: 0.86rem; font-weight: 600; color: var(--blue); background: none; border: 0; padding: 2px 0; cursor: pointer; }
.lnk:hover { text-decoration: underline; }
.lnk.danger { color: #b3261e; }
.pill { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill-ok { background: #e6f4ec; color: var(--ok); }
.pill-off { background: #eef0f3; color: var(--muted); }
.pill-admin { background: #fde9dc; color: var(--orange-dark); }
.pass-row { display: flex; gap: 8px; }
.pass-row input { flex: 1; min-width: 0; font-family: ui-monospace, Consolas, monospace; }
.adm-sheet { position: fixed; inset: 0; z-index: 90; background: rgba(13, 43, 76, 0.55); display: grid; place-items: center; padding: 16px; }
.adm-sheet-card { background: var(--card); border-radius: 16px; padding: 24px; width: min(480px, 100%); display: grid; gap: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); }
.adm-sheet-card h3 { font-size: 1.2rem; }
.cred { white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, Consolas, monospace; font-size: 0.88rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin: 0; }
.btn-danger { background: #b3261e; }
.btn-danger:hover { background: #8f1d17; }
#lg-admin { display: grid; gap: 12px; }
.adm-gate { max-width: 460px; margin: 0 auto; width: 100%; }

/* Panel: pestañas y cotizadores */
.adm-tabs { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.adm-tab { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 16px; font: 600 1rem var(--font-body); color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.adm-tab.on { color: var(--navy, #0d2b4c); border-bottom-color: var(--orange, #f26a1b); }
.adm-tab:focus-visible { outline: 2px solid var(--orange, #f26a1b); outline-offset: 2px; }
.cot-intro { max-width: 760px; display: grid; gap: 8px; margin-bottom: 18px; }
.cot-intro h2 { font-size: 1.35rem; }
.cot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .cot-grid { grid-template-columns: minmax(0, 1fr); } }
.cot-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 12px; align-content: start; min-width: 0; grid-template-columns: minmax(0, 1fr); }
.cot-card h3 { font-size: 1.15rem; display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.cot-state { font-size: 0.92rem; color: var(--muted); line-height: 1.45; }
.cot-links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.92rem; }
.cot-file { display: grid; gap: 8px; }
.cot-file input[type=file] { font: inherit; font-size: 0.9rem; max-width: 100%; }
.cot-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cot-row select { width: 0; font: inherit; font-size: 0.9rem; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; max-width: 100%; flex: 1 1 160px; min-width: 0; background: var(--card); color: inherit; }

/* Hero con foto en las páginas con cotizador (mismo estilo del cotizador) */
.promo-hero { position: relative; color: #fff; background: #0b2340 var(--hero-img) center / cover no-repeat; isolation: isolate; }
.promo-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 22, 40, .92) 0%, rgba(8, 22, 40, .78) 38%, rgba(8, 22, 40, .35) 70%, rgba(8, 22, 40, .15) 100%); }
.promo-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,0), var(--fade, var(--paper))); }
.promo-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); gap: 40px; align-items: start; padding-block: 40px 64px; }
.promo-text { display: grid; gap: 18px; justify-items: start; min-width: 0; padding-top: 6px; }
.promo-text .crumbs { color: rgba(255,255,255,.75); font-size: .85rem; margin: 0; }
.promo-text .crumbs a { color: #fff; }
.promo-pill { display: inline-flex; align-items: center; gap: 9px; margin: 0; background: #fff; color: var(--orange-dark); font-weight: 600; font-size: .92rem; padding: 8px 16px; border-radius: 999px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); }
.promo-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #1fae5b; box-shadow: 0 0 0 3px rgba(31,174,91,.2); }
.promo-hero h1 { color: #fff; font-size: clamp(2.1rem, 3.7vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.promo-hero h1 em { display: block; font-style: normal; color: var(--orange); }
.promo-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.promo-chips .lbl { font-weight: 700; margin-right: 4px; }
.promo-chips span:not(.lbl) { background: #fff; color: var(--orange-dark); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; padding: 6px 16px; border-radius: 999px; }
.promo-lead { margin: 0; max-width: 34em; font-size: 1.12rem; line-height: 1.55; color: rgba(255,255,255,.92); }
.promo-badges { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); width: min(100%, 560px); }
.promo-badges li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: var(--ink, #14233a); min-width: 0; }
.promo-badges li + li { border-left: 1px solid var(--line); }
.promo-badges b { display: block; font-family: var(--font-display); font-size: .98rem; line-height: 1.15; color: var(--navy); }
.promo-badges small { display: block; white-space: nowrap; font-size: .78rem; color: var(--muted); line-height: 1.2; }
.pb-ico { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--orange); color: #fff; display: grid; place-items: center; }
.pb-ico svg { width: 18px; height: 18px; }
.promo-hero .hero-quote iframe { box-shadow: 0 30px 60px -24px rgba(0,0,0,.65); }
@media (max-width: 960px) {
  .promo-hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-block: 28px 48px; }
  .promo-hero::before { background: linear-gradient(180deg, rgba(8,22,40,.88) 0%, rgba(8,22,40,.8) 55%, rgba(8,22,40,.92) 100%); }
}
@media (max-width: 520px) {
  .promo-badges li { flex-direction: column; text-align: center; gap: 6px; padding: 10px 6px; }
  .promo-badges b { font-size: .88rem; }
  .promo-badges small { white-space: normal; font-size: .72rem; }
  .pb-ico { width: 28px; height: 28px; }
  .promo-lead { font-size: 1.02rem; }
  .promo-chips span:not(.lbl) { font-size: 1rem; padding: 5px 13px; }
}

/* Panel: formatos */
.fmt-cat { font-family: var(--font-display); font-size: 1rem; color: var(--navy); margin: 14px 0 8px; }
.fmt-cat:first-child { margin-top: 0; }
.fmt-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: var(--card); min-width: 0; }
.fmt-ext { flex: none; width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center; font: 700 0.68rem var(--font-body); background: #eef0f3; color: var(--muted); }
.fmt-ext.pdf { background: #fde8e7; color: #b42318; } .fmt-ext.doc { background: #e6eefb; color: #1f4fa0; } .fmt-ext.xls { background: #e3f4ec; color: #0e7149; }
.fmt-info { flex: 1 1 0; min-width: 0; }
.fmt-info b { display: block; font-size: 0.93rem; line-height: 1.3; overflow-wrap: anywhere; }
.fmt-info small { display: block; color: var(--muted); font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fmt-acts { display: flex; gap: 4px 12px; flex-wrap: wrap; justify-content: flex-end; flex: none; max-width: 45%; }
@media (max-width: 560px) { .fmt-row { flex-wrap: wrap; } .fmt-info { flex-basis: calc(100% - 54px); } .fmt-acts { max-width: none; width: 100%; justify-content: flex-start; padding-left: 54px; } }
.adm-grid select, .adm-sheet select { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: inherit; }
@media (max-width: 960px) { .adm-grid { grid-template-columns: minmax(0, 1fr); } } #pane-fmt .adm-tools { flex: 1 1 200px; } #pane-fmt .adm-tools input { width: 100%; min-width: 0; }
#fmt-list { min-width: 0; } #pane-fmt .adm-list > * { min-width: 0; }
