:root {
  --azul: #005fb2;
  --azul-oscuro: #003e75;
  --wa: #25d366;
  --tinta: #1c1c1c;
  --gris: #5c6570;
  --fondo: #f4f7fb;
  --linea: #e2e8f0;
  --papel: #fff;
  --papel-suave: #f8fbfe;
  --sombra: 0 10px 30px rgba(0, 47, 90, 0.08);
}
html[data-tema="oscuro"] {
  --azul: #6eb6f0;
  --azul-oscuro: #d7e9f8;
  --tinta: #e7eef6;
  --gris: #b7c3d0;
  --fondo: #0e1620;
  --linea: #2c3c4e;
  --papel: #172230;
  --papel-suave: #1e2c3c;
  --sombra: 0 10px 30px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--tinta);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  background: var(--papel);
  transition: background 0.25s ease, color 0.25s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
.contenedor { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.barra {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linea);
  position: sticky;
  top: 0;
  z-index: 20;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.barra.baja { box-shadow: 0 10px 28px rgba(0, 47, 90, 0.08); }
.barra-interna {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  transition: min-height 0.3s ease;
}
.barra.baja .barra-interna { min-height: 64px; }
.logo img { width: 190px; height: auto; transition: width 0.3s ease; }
.barra.baja .logo img { width: 158px; }
.nav { display: flex; gap: 14px; align-items: center; }
.nav a {
  color: var(--tinta);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--azul);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--azul); }
.nav a.entrar {
  margin-left: 4px;
  padding: 6px 14px;
  border: 1px solid var(--azul);
  border-radius: 999px;
  color: var(--azul);
}
.nav a.entrar::after { display: none; }
.nav a.entrar:hover { background: var(--azul); color: #fff; }
html[data-tema="oscuro"] .nav a.entrar:hover { color: #0e1620; }
.menu-btn { display: none; }
.barra-der { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.tema {
  width: 52px;
  height: 30px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--linea);
  background: #e6eef6;
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
}
.tema::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='%23005fb2'/%3E%3Cpath stroke='%23005fb2' stroke-width='2' d='M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M19.1 4.9l-1.4 1.4M6.3 17.7l-1.4 1.4'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform 0.25s ease;
}
html[data-tema="oscuro"] .tema { background: #0c4f8a; border-color: #0c4f8a; }
html[data-tema="oscuro"] .tema::after {
  transform: translateX(22px);
  background-color: #102033;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f4d35e' d='M15 3a8 8 0 1 0 6 13 7 7 0 0 1-6-13z'/%3E%3C/svg%3E");
}
html[data-tema="oscuro"] body { background: var(--fondo); }
html[data-tema="oscuro"] .barra { background: rgba(14, 22, 32, 0.92); }
html[data-tema="oscuro"] .tarjeta,
html[data-tema="oscuro"] .puerta,
html[data-tema="oscuro"] .paso,
html[data-tema="oscuro"] .faq details,
html[data-tema="oscuro"] .cifra,
html[data-tema="oscuro"] .temas a,
html[data-tema="oscuro"] .guia-caja,
html[data-tema="oscuro"] .guia-nav,
html[data-tema="oscuro"] .guia-numero input,
html[data-tema="oscuro"] .formulario input,
html[data-tema="oscuro"] .formulario textarea,
html[data-tema="oscuro"] .menu-btn,
html[data-tema="oscuro"] .btn-claro,
html[data-tema="oscuro"] .guia-nav .btn-claro { background: var(--papel); color: var(--tinta); }
html[data-tema="oscuro"] .guia-tope,
html[data-tema="oscuro"] .opciones label,
html[data-tema="oscuro"] .lista-puntos li { background: var(--papel-suave); }
html[data-tema="oscuro"] .opciones label::after { background-color: var(--papel); }
html[data-tema="oscuro"] .opciones label:hover,
html[data-tema="oscuro"] .guia-numero input:focus { background: var(--papel); }
html[data-tema="oscuro"] .guia-panel .opciones label:has(input:checked) { background: #1a3d5c; color: #e7eef6; }
html[data-tema="oscuro"] .opciones label:has(input:checked) small { color: #9ec9ef; }
html[data-tema="oscuro"] .temas a:hover { background: #1a3d5c; }
html[data-tema="oscuro"] .etiqueta { background: #1a3d5c; color: #e7f2fc; }
html[data-tema="oscuro"] .marcas img { background: #fff; border-radius: 8px; padding: 4px 6px; }
.carrusel { position: relative; background: #081018; }
.carrusel-ventana {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carrusel-ventana::-webkit-scrollbar { display: none; }
.carrusel-ventana img {
  width: 100%;
  flex: 0 0 100%;
  height: auto;
  scroll-snap-align: start;
}
.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--azul-oscuro);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.carrusel-btn.prev { left: 12px; }
.carrusel-btn.next { right: 12px; }
.carrusel-puntos {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carrusel-puntos button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.carrusel-puntos button[aria-current="true"] { background: var(--azul); transform: scale(1.25); }
.carrusel-puntos button { transition: background 0.25s ease, transform 0.25s ease; }
.carrusel-tiempo {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.35);
  transform: scaleX(0);
  transform-origin: left;
}
.carrusel-tiempo.corre { animation: llenar 6s linear; }
@keyframes llenar { to { transform: scaleX(1); } }
.barra-acciones { display: flex; flex-wrap: wrap; gap: 12px; padding: 18px 0; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  position: relative;
  min-height: 460px;
  color: #fff;
  display: grid;
  align-items: end;
  background: #0b1c2c center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 20, 40, 0.78), rgba(0, 20, 40, 0.25));
}
.hero-texto { position: relative; z-index: 1; padding: 64px 0 56px; max-width: 640px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; margin: 0 0 12px; }
.hero p { font-size: 1.15rem; margin: 0 0 22px; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
}
.btn { transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 18px rgba(0, 47, 90, 0.16); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-claro { background: #fff; color: var(--azul-oscuro); }
.btn-azul { background: var(--azul); color: #fff; }

.seccion { padding: 64px 0; }
.seccion h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 8px; }
.bajada { color: var(--gris); margin: 0 0 28px; max-width: 680px; }
.fondo { background: var(--fondo); }

.grilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grilla-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pares { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grilla-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.tarjeta {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--sombra);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tarjeta:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 47, 90, 0.12); }
.tarjeta h3 { margin: 0 0 8px; }
.tarjeta p { margin: 0; color: var(--gris); }
.etiqueta {
  display: inline-block;
  background: #e8f2fb;
  color: var(--azul-oscuro);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.marcas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 18px; }
.marcas img { height: 36px; width: auto; max-width: 108px; object-fit: contain; }

.puerta {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--sombra);
}
.puerta { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.puerta img { width: 100%; height: 190px; object-fit: cover; transition: transform 0.6s ease; }
.puerta:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 47, 90, 0.16); }
.puerta:hover img { transform: scale(1.07); }
.puerta div { display: flex; flex-direction: column; flex: 1; align-items: flex-start; padding: 16px 16px 18px; }
.puerta h3 { margin: 0 0 6px; color: var(--tinta); }
.puerta p { margin: 0 0 16px; color: var(--gris); }
.puerta span {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e7f8ee;
  color: #0d7a4b;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.puerta:hover span { background: var(--wa); color: #fff; }
.grilla-2 > a img { border-radius: 18px; box-shadow: var(--sombra); }
.lista-puntos { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.lista-puntos li {
  margin: 0;
  padding: 12px 14px 12px 16px;
  background: var(--fondo);
  border-radius: 14px;
  border-left: 3px solid var(--azul);
}

#como-pedir { font-family: Outfit, "Segoe UI", sans-serif; }
.guia-caja {
  height: 560px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.guia-tope {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--linea);
  background: #f8fbfe;
}
.guia-avance {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #e6edf5;
}
.guia-avance span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--azul);
  transition: width 0.4s ease;
}
.guia-cuenta { margin: 0; font-weight: 700; color: var(--azul); letter-spacing: 0.02em; }
.guia-pasos { display: flex; gap: 0; list-style: none; padding: 0; margin: 0; }
.guia-pasos li { display: flex; align-items: center; }
.guia-pasos li + li::before {
  content: "";
  width: 22px;
  height: 2px;
  margin: 0 2px;
  border-radius: 2px;
  background: #d5e2ee;
}
.guia-pasos li:has(button.listo) + li::before { background: var(--azul); }
.guia-pasos button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--gris);
  font: inherit;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.guia-pasos button span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6edf5;
  color: var(--azul-oscuro);
  font-size: 0.85rem;
}
.guia-pasos button[aria-current="step"] { color: var(--azul-oscuro); }
.guia-pasos button[aria-current="step"] span,
.guia-pasos button.listo span { background: var(--azul); color: #fff; }
.guia-pasos button[aria-current="step"] span { animation: guia-pop 0.35s ease; }
.guia-pasos button:disabled { cursor: default; opacity: 0.45; }
.guia-cuerpo { position: relative; flex: 1; min-height: 0; }
.guia-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; }
.guia-cuerpo[data-sentido="adelante"] .guia-panel.guia-entra { animation: guia-desde-der 0.42s cubic-bezier(0.22, 0.8, 0.24, 1); }
.guia-cuerpo[data-sentido="atras"] .guia-panel.guia-entra { animation: guia-desde-izq 0.42s cubic-bezier(0.22, 0.8, 0.24, 1); }
.guia-panel.guia-entra .opciones label { animation: guia-sube 0.4s ease both; }
.guia-panel.guia-entra .opciones label:nth-child(2) { animation-delay: 0.03s; }
.guia-panel.guia-entra .opciones label:nth-child(3) { animation-delay: 0.06s; }
.guia-panel.guia-entra .opciones label:nth-child(4) { animation-delay: 0.09s; }
.guia-panel.guia-entra .opciones label:nth-child(5) { animation-delay: 0.12s; }
.guia-panel.guia-entra .opciones label:nth-child(6) { animation-delay: 0.15s; }
.guia-panel.guia-entra .opciones label:nth-child(7) { animation-delay: 0.18s; }
.guia-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 22px 16px;
  overflow: hidden;
}
.guia-panel[hidden] { display: none; }
.guia-panel h3 { margin: 0 0 4px; font-size: 1.35rem; }
.guia-panel > p { margin: 0 0 12px; color: var(--gris); }
.guia-ramas { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-bottom: 8px; padding-bottom: 12px; overflow: auto; }
.rama { display: none; flex: 1; flex-direction: column; gap: 14px; min-height: 0; }
.rama.activa { display: flex; }
.rama .opciones,
.opciones[data-rangos],
.opciones[data-entrega] {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
}
.guia-leyenda {
  flex: 0 0 100%;
  margin: 0;
  font-weight: 700;
  text-align: left;
}
.rama .opciones label,
.opciones[data-rangos] label,
.opciones[data-entrega] label {
  flex: 0 0 calc((100% - 20px) / 3);
  min-height: 58px;
}
.opciones {
  border: 0;
  padding: 0;
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  align-content: start;
  gap: 10px;
}
.opciones:has(legend:not(.sr)) { grid-template-rows: auto; }
.opciones:has(> label:nth-child(5)):not(:has(> label:nth-child(6))) { grid-template-columns: 1fr 1fr; }
.opciones-3 { grid-template-columns: repeat(3, 1fr); }
.opciones legend { grid-column: 1 / -1; font-weight: 700; padding: 0; }
.opciones label {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 10px;
  min-height: 58px;
  border: 1px solid #d7e1eb;
  border-radius: 14px;
  background: #f8fafc;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 12px;
}
.opciones label::after {
  content: "";
  width: 20px;
  height: 20px;
  margin-left: auto;
  flex: 0 0 20px;
  border-radius: 50%;
  border: 2px solid #c5d2e0;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  line-height: 1;
  color: #fff;
}
.opciones label:has(input:checked)::after {
  content: "✓";
  border-color: var(--azul);
  background: var(--azul);
  animation: guia-pop 0.28s ease;
}
.opciones input { position: absolute; opacity: 0; pointer-events: none; }
.opciones label span { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.opciones label b { font-weight: 700; }
.opciones label small { font-weight: 500; color: var(--gris); font-size: 0.86rem; }
.opciones label { transition: border-color 0.2s ease, background 0.2s ease; }
.opciones label:hover { border-color: #9ec3e6; background: #fff; }
.guia-panel .opciones label:has(input:checked) {
  background: #e8f2fb;
  border-color: var(--azul);
  color: var(--azul-oscuro);
  animation: guia-elige 0.28s ease;
}
.opciones label:has(input:checked) small { color: var(--azul); }
.opciones label:has(input:focus-visible) { outline: 2px solid var(--azul); outline-offset: 2px; }
.opciones.incompleto label { border-color: #e7b3b3; }
.opciones.incompleto { animation: guia-sacude 0.35s ease; }
.guia-nav .pulso { animation: guia-pulso 1.15s ease infinite; }
.guia-nav .btn-wa.pulso { animation-name: guia-pulso-wa; }
.guia-numero { display: flex; flex-direction: column; gap: 8px; margin: 0 0 8px; }
.guia-numero span { font-weight: 700; }
.guia-numero input {
  font: inherit;
  font-size: 1.75rem;
  font-weight: 700;
  width: 100%;
  height: 80px;
  border: 1px solid #d7e1eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 47, 90, 0.06);
  color: var(--azul-oscuro);
  padding: 0 20px;
}
.guia-numero input:focus { outline: 2px solid var(--azul); border-color: var(--azul); background: #fff; }
.guia-numero.incompleto input { border-color: #e7b3b3; }
.guia-error { color: #9b1c1c; font-weight: 700; min-height: 1.2em; margin: 8px 0; }
.guia-check { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 8px 0; }
.guia-nav { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: auto; padding-top: 12px; flex-shrink: 0; background: #fff; border-top: 1px solid var(--linea); position: relative; z-index: 2; }
.guia-nav .btn-claro { border: 1px solid var(--linea); background: #fff; }
@keyframes guia-desde-der { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes guia-desde-izq { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes guia-sube { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes guia-elige { 0% { transform: scale(0.97); } 60% { transform: scale(1.025); } 100% { transform: scale(1); } }
@keyframes guia-pop { 0% { transform: scale(0.4); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes guia-sacude { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-5px); } 70% { transform: translateX(5px); } }
@keyframes guia-pulso { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 95, 178, 0.28); } 55% { box-shadow: 0 0 0 8px rgba(0, 95, 178, 0); } }
@keyframes guia-pulso-wa { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); } 55% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); } }
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.paso {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 16px;
  padding: 18px;
}
.paso b { display: block; color: var(--azul); font-size: 1.5rem; margin-bottom: 6px; }
.paso h3 { margin: 0 0 6px; font-size: 1.05rem; }
.paso p { margin: 0; color: var(--gris); }

.grilla.sucursales { grid-template-columns: 1fr 1fr; }
.sucursal { display: flex; flex-direction: column; height: 100%; }
.sucursal h3 { margin-top: 0; }
.sucursal a { font-weight: 700; }
.sucursal .mapa {
  display: block;
  width: 100%;
  height: 220px;
  margin-top: auto;
  border: 0;
  border-radius: 12px;
}
.dato { margin: 6px 0; }

.faq details {
  background: #fff;
  border: 1px solid var(--linea);
  border-left: 4px solid var(--azul);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: var(--sombra);
}
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--azul); font-size: 1.3rem; line-height: 1; transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { animation: subir 0.35s ease; }
.faq details p { margin: 10px 0 4px; color: var(--gris); }
.faq h2 { margin: 0 0 12px; font-size: 1.25rem; }

.banda {
  background:
    linear-gradient(115deg, rgba(0, 32, 64, 0.88), rgba(0, 95, 178, 0.72)),
    url("../img/slide-3.jpg") center/cover no-repeat;
  color: #fff;
  padding: 72px 0;
}
.banda-nosotros,
.banda-faqs {
  background: linear-gradient(120deg, #00325f, #0a6bb8 55%, #003e75);
}
.banda-nosotros .banda-foto {
  object-fit: cover;
  object-position: center 22%;
  height: 320px;
}
.banda h1 { margin: 0 0 12px; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; max-width: 720px; }
.banda p { margin: 0 0 22px; max-width: 560px; font-size: 1.08rem; color: #e7f0f8; }
.etiqueta-clara { background: rgba(255,255,255,.16); color: #fff; }
.banda-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; }
.banda-foto { border-radius: 18px; height: 320px; width: 100%; object-fit: cover; box-shadow: 0 18px 40px rgba(0,0,0,.28); }

.cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: -36px; position: relative; z-index: 2; }
.cifra {
  background: #fff;
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--sombra);
  border: 1px solid var(--linea);
}
.cifra strong { display: block; color: var(--azul); font-size: 1.7rem; line-height: 1.1; }
.cifra span { color: var(--gris); font-size: 0.92rem; }

.pilar h3 { margin: 8px 0; }
.pilar .num { color: var(--azul); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.06em; }

.temas { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.temas a {
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--linea);
  color: var(--azul-oscuro);
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
}
.temas a:hover { background: #e8f2fb; }
.faq-bloque { margin-bottom: 28px; }

.pie {
  background: #0d2136;
  color: #d7e2ee;
  padding: 36px 0 24px;
}
.pie a { color: #fff; text-decoration: none; }
.pie-grilla { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pie h2 { color: #fff; font-size: 1rem; margin: 0 0 10px; }
.pie p, .pie li { margin: 0 0 6px; }
.pie ul { list-style: none; padding: 0; margin: 0; }
.pie-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 24px;
  padding-top: 16px;
}
.legal { margin: 0; font-size: 0.85rem; }
.redes { display: flex; gap: 10px; }
.redes a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.redes a:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.redes svg { width: 18px; height: 18px; fill: currentColor; }

.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  z-index: 30;
  transition: transform 0.2s;
}
.wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: pulso 2.4s ease-out infinite;
}
.wa:hover { transform: scale(1.08); }
@keyframes pulso {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.entra {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.entra.visto { opacity: 1; transform: none; }
.tarjeta.visto:hover { transform: translateY(-4px); }
.puerta.visto:hover { transform: translateY(-6px); }
.banda .etiqueta,
.banda h1,
.banda p,
.banda .btn { animation: subir 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.banda h1 { animation-delay: 0.08s; }
.banda p { animation-delay: 0.16s; }
.banda .btn { animation-delay: 0.24s; }
@keyframes subir {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.wa svg { width: 28px; height: 28px; fill: currentColor; }

.formulario label { display: block; font-weight: 700; margin: 14px 0 6px; }
.formulario input,
.formulario textarea {
  width: 100%;
  border: 1px solid var(--linea);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--tinta);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.formulario input:focus,
.formulario textarea:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: 0 0 0 4px rgba(0, 95, 178, 0.15);
}
.formulario textarea { min-height: 140px; resize: vertical; }
.aviso {
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 16px;
}
.aviso-ok { background: #e8f7ee; color: #146c36; }
.aviso-error { background: #fdecec; color: #9b1c1c; }
.trampa { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.pagina h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.prosa { max-width: 760px; }
.prosa h2 { font-size: 1.25rem; margin-top: 28px; }
.prosa li { margin: 6px 0; }

@media (min-width: 861px) {
  .opciones label { font-size: 1.05rem; }
  .opciones label small { font-size: 0.9rem; }
  .opciones legend, .guia-leyenda { font-size: 1.05rem; }
  .rama.activa { flex-direction: row; align-items: flex-start; gap: 0; }
  .rama .opciones { flex: 1 1 0; min-width: 0; }
  .rama .opciones + .opciones {
    margin-left: 22px;
    padding-left: 22px;
    border-left: 1px solid var(--linea);
  }
  .rama .opciones label { flex-basis: calc((100% - 10px) / 2); min-height: 64px; }
  .rama .opciones:has(> label:nth-child(6)) label { flex-basis: calc((100% - 20px) / 3); }
  .opciones[data-rangos] label { flex-basis: calc((100% - 30px) / 4); }
}

@media (max-width: 1100px) {
  .grilla-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .grilla, .grilla.sucursales, .grilla-2, .grilla-4, .pares, .pie-grilla, .pasos, .banda-grid, .cifras { grid-template-columns: 1fr; }
  .cifras { margin-top: 16px; }
  .banda-foto, .banda-nosotros .banda-foto { height: 220px; }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--linea);
    background: #fff;
    border-radius: 10px;
    padding: 0;
  }
  .menu-btn span,
  .menu-btn span::before,
  .menu-btn span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--azul-oscuro);
    border-radius: 2px;
  }
  .menu-btn span { position: relative; }
  .menu-btn span::before,
  .menu-btn span::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .menu-btn span::before { top: -6px; }
  .menu-btn span::after { top: 6px; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: #fff;
    border-bottom: 1px solid var(--linea);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px 16px;
  }
  .nav.abierto { display: flex; }
  html[data-tema="oscuro"] .nav { background: var(--papel); }
  .hero { min-height: 380px; }
  .nav a::after { display: none; }
  .nav a.entrar {
    margin: 10px 0 0;
    padding: 12px 0 2px;
    width: 100%;
    border: 0;
    border-radius: 0;
    border-top: 1px solid var(--linea);
    text-align: left;
  }
  .nav a.entrar:hover { background: transparent; color: var(--azul); }
  .pie-base { align-items: flex-start; flex-direction: column; }
  .guia-caja { height: calc(100svh - 96px); }
  .guia-nav { margin-bottom: 72px; }
  .wa { bottom: 16px; }
  .guia-panel { padding: 12px 14px 10px; }
  .guia-panel h3 { font-size: 1.2rem; }
  .guia-panel > p { margin-bottom: 8px; font-size: 0.92rem; }
  .guia-tope { align-items: stretch; flex-direction: column; gap: 10px; }
  .guia-pasos { width: 100%; }
  .guia-pasos li { flex: 1; min-width: 0; }
  .guia-pasos li + li::before { width: 8px; flex: 0 0 8px; margin: 12px 0 0; align-self: flex-start; }
  .guia-pasos button {
    flex-direction: column;
    gap: 3px;
    padding: 0;
    font-size: 0.68rem;
    line-height: 1.1;
    white-space: normal;
    text-align: center;
  }
  .opciones, .opciones-6 { grid-template-columns: 1fr; gap: 6px; }
  .guia-panel > .opciones { padding-bottom: 2px; }
  .opciones label { min-height: 52px; padding: 8px 12px; font-size: 0.95rem; }
  .opciones label small {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .opciones label::after,
  .opciones label:has(input:checked)::after { width: 18px; height: 18px; flex-basis: 18px; font-size: 0.68rem; }
  .rama .opciones label,
  .opciones[data-rangos] label,
  .opciones[data-entrega] label {
    flex-basis: calc((100% - 10px) / 2);
    min-height: 52px;
  }
  .guia-numero input { height: 56px; font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .entra { opacity: 1; transform: none; }
}
