/* =========================================================
   Herrera Seguros · Planes de Salud SURA
   Asesora: Carolina Herrera
   ========================================================= */
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta.woff2") format("woff2-variations"),
       url("../fonts/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --azul: #3e6ced;          /* azul SURA de la referencia */
  --azul-600: #315cdc;
  --azul-700: #2549bd;
  --profundo: #12329b;      /* títulos */
  --tinta: #161a2b;
  --gris: #4e5570;
  --linea: #e1e7f7;
  --lavanda: #eef3ff;
  --lavanda-2: #e2eaff;
  --durazno: #fde9d9;
  --wa: #25d366;
  --wa-700: #1a9e4c;
  --aviso: #f2b705;
  --error: #d93a3f;
  --header-h: 92px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --sombra: 0 28px 60px -32px rgba(18, 50, 155, 0.38);
  --sombra-sm: 0 10px 24px -14px rgba(18, 50, 155, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--tinta);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.i { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 3px solid rgba(62, 108, 237, 0.55); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px;
  font-weight: 700; font-size: 1.02rem; line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .i { width: 20px; height: 20px; }
.btn-azul { background: var(--azul); color: #fff; box-shadow: var(--sombra-sm); }
.btn-borde { background: #fff; color: var(--azul); box-shadow: inset 0 0 0 2px var(--azul); }
.btn-blanco { background: #fff; color: var(--profundo); }
.btn-wa { background: var(--wa-700); color: #fff; }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-azul:hover { background: var(--azul-600); }
  .btn-borde:hover { background: var(--lavanda); }
  .btn-blanco:hover { background: var(--lavanda); }
  .btn-wa:hover { background: #168a42; }
}
/* Botón "Cotiza tu póliza" con círculo de WhatsApp, como la referencia */
.btn-cotiza { padding: 0 6px 0 28px; gap: 16px; min-height: 60px; font-size: 1.12rem; }
.wa-circle { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; }
.wa-circle .i { width: 26px; height: 26px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: var(--azul); color: #fff; }
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(12, 30, 100, 0.6); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.marcas { display: flex; align-items: center; gap: 18px; flex: none; }
.chip-herrera { display: flex; align-items: center; background: #fff; border-radius: 14px; padding: 5px 12px; box-shadow: 0 6px 16px -8px rgba(10, 25, 90, 0.5); }
.chip-herrera img { height: 40px; width: auto; }
.marcas .divisor { width: 1px; height: 40px; background: rgba(255, 255, 255, 0.4); }
.logo-sura { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 700; font-size: 1.02rem; padding: 6px 0; background: linear-gradient(#fff, #fff) left bottom / 0 2px no-repeat; transition: background-size 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav a:not(.nav-wa):hover { background-size: 100% 2px; } }
.nav .nav-wa { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--profundo); padding: 10px 18px 10px 12px; border-radius: 999px; transition: transform 160ms var(--ease-out); }
.nav .nav-wa:active { transform: scale(0.97); }
.nav .nav-wa .i { width: 22px; height: 22px; color: var(--wa-700); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, 0.5); background: transparent; color: #fff; place-items: center; cursor: pointer; }
.menu-btn .i { width: 24px; height: 24px; }
.menu-btn .i-close, .header.menu-open .menu-btn .i-open { display: none; }
.header.menu-open .menu-btn .i-close { display: block; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 0; }
.hero-panel {
  position: relative; overflow: hidden; border-radius: 32px;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); align-items: center;
  min-height: 600px;
  background: linear-gradient(100deg, #e4ecff 0%, #eef2ff 36%, #f9eee6 70%, #fde3cf 100%);
}
.hero-copy { padding: 64px 24px 64px 64px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.4rem, 4.3vw, 3.85rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; color: var(--profundo); max-width: 12.5em; text-wrap: balance; }
.hero-lead { margin-top: 24px; font-size: 1.13rem; line-height: 1.7; color: var(--tinta); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.asesora { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 10px 20px 10px 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.72); box-shadow: 0 8px 22px -16px rgba(18, 50, 155, 0.5); }
.asesora-av { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--linea); flex: none; }
.asesora-av img { height: 32px; width: auto; }
.asesora strong { display: block; color: var(--profundo); font-size: 1rem; line-height: 1.25; }
.asesora span { display: block; font-size: 0.86rem; color: var(--gris); line-height: 1.35; }
.asesora .online { display: inline-flex; align-items: center; gap: 6px; color: var(--wa-700); font-weight: 700; font-size: 0.8rem; margin-top: 2px; }
.asesora .online::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }

.hero-art { position: relative; height: 100%; min-height: 520px; }
.slide { position: absolute; inset: 40px 40px 70px 20px; display: grid; place-items: center; opacity: 0; filter: blur(4px); transition: opacity 700ms ease, filter 700ms ease; }
.slide.is-active { opacity: 1; filter: blur(0); }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.mosaico {
  position: absolute; z-index: 3; top: 34px; left: 6px;
  display: grid; grid-template-columns: repeat(2, 58px); gap: 10px; padding: 12px;
  border-radius: 22px; background: rgba(205, 222, 255, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.mosaico span { width: 58px; height: 58px; border-radius: 16px; background: #fff; display: grid; place-items: center; color: var(--azul); box-shadow: 0 6px 14px -10px rgba(18, 50, 155, 0.6); }
.mosaico span .i { width: 28px; height: 28px; stroke-width: 1.8; }
.mosaico span.lleno { background: var(--azul); color: #fff; }
.puntos { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 8px; }
.puntos button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(18, 50, 155, 0.22); cursor: pointer; transition: width 250ms var(--ease-out), background-color 200ms ease; }
.puntos button[aria-current="true"] { width: 28px; background: var(--azul); }

/* ---------- Secciones ---------- */
.seccion { padding: 104px 0; }
.titulo { text-align: center; color: var(--profundo); font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; max-width: 22em; margin-inline: auto; }
.sub { text-align: center; color: var(--gris); font-size: 1.1rem; max-width: 38em; margin: 16px auto 0; }

/* ---------- Planes ---------- */
.planes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1080px; margin: 56px auto 0; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--linea); border-radius: 28px; padding: 16px 16px 30px; }
.plan.destacado { border-color: var(--azul); box-shadow: var(--sombra); }
.plan-art { position: relative; height: 230px; border-radius: 20px; background: var(--lavanda); display: flex; align-items: center; justify-content: center; padding: 26px 30px 16px; overflow: hidden; }
.plan.destacado .plan-art { background: linear-gradient(120deg, #e2eaff, #fbeee4); }
.plan-art img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.plan-sello { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: #fff; color: var(--profundo); font-size: 0.82rem; font-weight: 700; }
.plan-sello .i { width: 15px; height: 15px; color: var(--azul); }
.plan.destacado .plan-sello { background: var(--azul); color: #fff; }
.plan.destacado .plan-sello .i { color: #fff; }
.plan-cuerpo { padding: 26px 16px 0; display: flex; flex-direction: column; flex: 1; }
.plan-cuerpo .logo-mini { height: 28px; width: auto; align-self: flex-start; margin-bottom: 14px; }
.plan h3 { font-size: 1.7rem; letter-spacing: -0.02em; color: var(--profundo); line-height: 1.15; }
.plan-cuerpo > p { color: var(--gris); margin-top: 10px; }
.lista { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; flex: 1; }
.lista li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--tinta); }
.ck { width: 24px; height: 24px; border-radius: 50%; background: var(--lavanda-2); color: var(--azul); display: grid; place-items: center; flex: none; margin-top: 0; }
.ck .i { width: 14px; height: 14px; stroke-width: 3; }
.tarifa { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--lavanda); color: var(--profundo); font-weight: 700; font-size: 0.95rem; margin-bottom: 18px; }
.tarifa .i { width: 20px; height: 20px; color: var(--azul); }
.tarifa small { display: block; font-weight: 500; color: var(--gris); font-size: 0.82rem; }
.plan-acciones { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.link { color: var(--azul); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.nota { text-align: center; color: var(--gris); font-size: 0.88rem; margin-top: 28px; }

/* ---------- Comparativo ---------- */
.seccion-lavanda { background: linear-gradient(180deg, var(--lavanda) 0%, #f7f9ff 100%); }
.tabla-wrap { max-width: 1000px; margin: 52px auto 0; background: #fff; border-radius: 26px; border: 1.5px solid var(--linea); overflow: hidden; box-shadow: var(--sombra); }
.tabla { width: 100%; border-collapse: collapse; }
.tabla th, .tabla td { padding: 17px 24px; text-align: left; vertical-align: middle; }
.tabla thead th { background: var(--azul); color: #fff; font-size: 1.02rem; font-weight: 800; }
.tabla thead th.col { text-align: center; width: 25%; }
.tabla thead th.col-global { background: var(--profundo); }
.tabla tbody tr:nth-child(even) td { background: #f7f9ff; }
.tabla tbody tr + tr td { border-top: 1px solid var(--linea); }
.tabla tbody td:first-child { font-weight: 700; color: var(--tinta); }
.tabla td.c { text-align: center; font-weight: 600; color: var(--gris); font-size: 0.94rem; }
.si { width: 30px; height: 30px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--azul); color: #fff; }
.si .i { width: 16px; height: 16px; stroke-width: 3; }
.opcional { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #fff4d6; color: #8a5a00; font-size: 0.82rem; font-weight: 700; }
.tabla-nota { padding: 18px 24px; border-top: 1px solid var(--linea); color: var(--gris); font-size: 0.85rem; background: #fff; }
.centro { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- Asesoría (formulario) ---------- */
.avisos { display: grid; justify-items: center; gap: 12px; margin-top: 34px; }
.aviso { display: flex; align-items: flex-start; gap: 12px; padding: 14px 22px; border-radius: 18px; background: var(--lavanda); color: var(--tinta); font-size: 0.98rem; max-width: 980px; text-align: left; }
.aviso .i { width: 22px; height: 22px; color: var(--aviso); margin-top: 1px; }
.aviso a { color: var(--azul); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.asesoria-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; margin-top: 56px; }
.arco { position: relative; border-radius: 48% 48% 32px 32px / 34% 34% 32px 32px; background: linear-gradient(180deg, var(--lavanda-2), #f4f7ff); padding: 64px 40px 40px; }
.arco img { width: 100%; height: auto; }

.form-card { background: #fff; border: 1.5px solid var(--linea); border-radius: 28px; padding: 38px 36px 32px; box-shadow: var(--sombra); }
.form-card h3 { color: var(--profundo); font-size: 1.45rem; line-height: 1.3; text-align: center; letter-spacing: -0.015em; font-weight: 700; margin-bottom: 26px; text-wrap: balance; }
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.campo label, .campo .label { font-size: 0.86rem; font-weight: 700; color: var(--tinta); }
.campo label .opt { font-weight: 500; color: var(--gris); }
.input {
  width: 100%; height: 52px; border: 1.5px solid #cfd8f2; border-radius: 12px; padding: 0 16px;
  font: inherit; font-size: 1rem; color: var(--tinta); background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #9aa2bd; }
.input:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(62, 108, 237, 0.15); }
select.input {
  padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233e6ced' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; justify-content: center; gap: 7px; height: 46px; border-radius: 12px; border: 1.5px solid #cfd8f2; font-weight: 600; font-size: 0.9rem; color: var(--tinta); transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease; }
.chip span .i { width: 16px; height: 16px; }
.chip input:checked + span { border-color: var(--azul); background: var(--lavanda); color: var(--azul); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(62, 108, 237, 0.18); }
.err { display: none; color: var(--error); font-size: 0.8rem; font-weight: 600; }
.campo.con-error .input { border-color: var(--error); }
.campo.con-error .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 20px; font-size: 0.84rem; line-height: 1.5; color: var(--gris); cursor: pointer; }
.consent input { width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--azul); flex: none; cursor: pointer; }
.consent a { color: var(--azul); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.consent.con-error { color: var(--error); }
.form-pie { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; font-size: 0.84rem; color: var(--gris); text-align: center; }
.form-pie .i { width: 16px; height: 16px; color: var(--wa-700); }
.hp { position: absolute !important; left: -9999px !important; }
.exito { display: none; text-align: center; padding: 18px 0 6px; }
.form-card.enviado form, .form-card.enviado > h3 { display: none; }
.form-card.enviado .exito { display: block; animation: aparecer 300ms var(--ease-out); }
.exito-ic { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--wa-700); color: #fff; }
.exito-ic .i { width: 34px; height: 34px; stroke-width: 2.6; }
.exito h3 { color: var(--profundo); font-size: 1.5rem; margin-bottom: 8px; }
.exito p { color: var(--gris); margin-bottom: 22px; }
.btn-texto { background: none; border: 0; margin-top: 14px; color: var(--azul); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@keyframes aparecer { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }

/* ---------- Bloque WhatsApp con Carolina ---------- */
.banda {
  position: relative; overflow: hidden; border-radius: 32px; color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center;
  padding: 64px;
  background: radial-gradient(520px 340px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 70%), var(--azul);
}
.banda h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
.banda p { margin-top: 16px; font-size: 1.1rem; color: rgba(255, 255, 255, 0.92); max-width: 30em; }
.banda .acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
.banda .btn-blanco .i { color: var(--wa-700); }
.banda .numero { font-weight: 700; font-size: 1.05rem; }
.chat { max-width: 380px; width: 100%; margin-left: auto; border-radius: 24px; overflow: hidden; background: #efeae2; box-shadow: 0 34px 70px -30px rgba(5, 20, 80, 0.7); color: #111b21; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; }
.chat-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px #e3e3e3; flex: none; }
.chat-av img { height: 26px; width: auto; }
.chat-head strong { display: block; font-size: 0.95rem; line-height: 1.2; }
.chat-head small { color: var(--wa-700); font-weight: 600; font-size: 0.78rem; }
.chat-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 14px 22px; background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1.2px); background-size: 14px 14px; }
.burbuja { max-width: 84%; padding: 9px 12px 6px; border-radius: 12px; font-size: 0.88rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.burbuja time { display: block; text-align: right; font-size: 0.68rem; color: #667781; margin-top: 2px; }
.burbuja.entra { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.burbuja.sale { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }

/* ---------- Preguntas ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-grid .titulo, .faq-grid .sub { text-align: left; margin-left: 0; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1.5px solid var(--linea); border-radius: 18px; }
.faq details[open] { border-color: #c9d6fb; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font-weight: 700; color: var(--profundo); font-size: 1.03rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq .tg { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--lavanda); color: var(--azul); transition: transform 200ms var(--ease-out); }
.faq .tg .i { width: 18px; height: 18px; }
.faq details[open] .tg { transform: rotate(180deg); }
.faq .ans { padding: 0 22px 20px; color: var(--gris); line-height: 1.7; }
.faq .ans a { color: var(--azul); font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: var(--profundo); color: rgba(255, 255, 255, 0.85); padding: 64px 0 30px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.footer .marcas { margin-bottom: 18px; }
.footer .logo-sura { height: 46px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #fff; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.f-wa { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.f-wa .i { width: 20px; height: 20px; color: var(--wa); }
.footer-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.72); }
.footer-legal p { max-width: 760px; }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: flex; align-items: center; gap: 12px; }
.wa-btn { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(20, 140, 70, 0.75), 0 0 0 4px #fff; transition: transform 160ms var(--ease-out); }
.wa-btn:active { transform: scale(0.95); }
.wa-btn .i { width: 34px; height: 34px; }
.wa-tip { background: #fff; color: var(--tinta); padding: 11px 16px; border-radius: 14px; box-shadow: 0 12px 30px -14px rgba(18, 50, 155, 0.45); font-size: 0.88rem; font-weight: 700; line-height: 1.3; white-space: nowrap; opacity: 0; transform: translateX(6px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); pointer-events: none; }
.wa-tip small { display: block; color: var(--gris); font-weight: 500; font-size: 0.76rem; }
.wa-flotante.ver-tip .wa-tip { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .wa-flotante:hover .wa-tip { opacity: 1; transform: none; } .wa-btn:hover { transform: scale(1.06); } }

/* ---------- Páginas legales ---------- */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { color: var(--profundo); font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.02em; margin-bottom: 8px; }
.legal h2 { color: var(--profundo); font-size: 1.25rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--gris); line-height: 1.75; }
.legal ul { padding-left: 20px; }
.legal .meta { color: var(--gris); margin-bottom: 24px; }
.legal a { color: var(--azul); font-weight: 700; }
.volver { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.volver .i { width: 18px; height: 18px; }
.gracias { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 60px 24px; background: linear-gradient(180deg, var(--lavanda), #fff); }
.gracias h1 { color: var(--profundo); font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.gracias p { color: var(--gris); max-width: 520px; margin: 0 auto 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .hero-copy { padding: 56px 16px 56px 44px; }
}
@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .chip-herrera img { height: 36px; }
  .logo-sura { height: 44px; }
  .marcas { gap: 14px; }
  .mobile-menu {
    display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; color: var(--tinta);
    padding: 8px 24px 24px; box-shadow: 0 24px 40px -24px rgba(18, 50, 155, 0.45);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 200ms;
  }
  .header.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a.m-link { display: block; padding: 16px 2px; font-weight: 700; font-size: 1.05rem; color: var(--profundo); border-bottom: 1px solid var(--linea); }
  .mobile-menu .btn { margin-top: 18px; }
  .hero-panel { grid-template-columns: 1fr; min-height: 0; background: linear-gradient(170deg, #e4ecff 0%, #eef2ff 45%, #fbeee4 80%, #fde3cf 100%); }
  .hero-copy { padding: 48px 36px 8px; }
  .hero-art { min-height: 0; height: 420px; }
  .slide { inset: 30px 24px 56px; }
  .mosaico { top: 10px; left: 24px; }
  .planes { grid-template-columns: 1fr; max-width: 620px; }
  .asesoria-grid { grid-template-columns: 1fr; gap: 36px; }
  .arco { max-width: 520px; margin: 0 auto; width: 100%; }
  .form-card { max-width: 620px; margin: 0 auto; width: 100%; }
  .banda { grid-template-columns: 1fr; padding: 52px 40px; }
  .chat { margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { width: min(1200px, 100% - 32px); }
  .chip-herrera { padding: 5px 9px; border-radius: 12px; }
  .chip-herrera img { height: 32px; }
  .marcas .divisor { height: 30px; }
  .logo-sura { height: 36px; }
  .marcas { gap: 10px; }
  .hero { padding-top: 16px; }
  .hero-panel { border-radius: 24px; }
  .hero-copy { padding: 36px 22px 4px; }
  .hero h1 { font-size: clamp(2.1rem, 9.4vw, 2.6rem); }
  .hero-lead { font-size: 1.03rem; margin-top: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 26px; }
  .btn-cotiza { justify-content: space-between; }
  .asesora { margin-top: 24px; width: 100%; }
  .hero-art { height: 320px; }
  .slide { inset: 26px 14px 48px; }
  .mosaico { grid-template-columns: repeat(2, 44px); gap: 8px; padding: 9px; border-radius: 18px; left: 14px; top: 4px; }
  .mosaico span { width: 44px; height: 44px; border-radius: 12px; }
  .mosaico span .i { width: 22px; height: 22px; }
  .puntos { bottom: 18px; }
  .seccion { padding: 76px 0; }
  .sub { font-size: 1.02rem; }
  .planes { margin-top: 40px; gap: 22px; }
  .plan { border-radius: 24px; padding: 12px 12px 24px; }
  .plan-art { height: 190px; }
  .plan-cuerpo { padding: 22px 10px 0; }
  .plan h3 { font-size: 1.5rem; }
  .plan-acciones .btn { width: 100%; }
  .plan-acciones { justify-content: center; }
  .tabla-wrap { border-radius: 20px; margin-top: 40px; }
  .tabla { font-size: 0.86rem; }
  .tabla th, .tabla td { padding: 13px 10px; }
  .tabla thead th { font-size: 0.86rem; }
  .tabla td.c { font-size: 0.8rem; }
  .si { width: 26px; height: 26px; }
  .opcional { padding: 4px 8px; font-size: 0.72rem; }
  .tabla-nota { padding: 16px; font-size: 0.78rem; }
  .aviso { font-size: 0.92rem; padding: 13px 16px; }
  .asesoria-grid { margin-top: 36px; }
  .arco { padding: 44px 22px 26px; }
  .form-card { padding: 28px 20px 24px; border-radius: 24px; }
  .form-card h3 { font-size: 1.25rem; }
  .fila-2 { grid-template-columns: 1fr; gap: 0; }
  .chip span { font-size: 0.86rem; }
  .banda { padding: 40px 22px; border-radius: 26px; }
  .banda .acciones .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-flotante { right: 16px; bottom: 16px; }
  .wa-btn { width: 60px; height: 60px; }
  .wa-tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; scroll-behavior: auto !important; }
}
