/* Concepto A: inicio con todas las marcas + un sitio por marca */

/* Cabecera de cada sitio */
.hero-sitio { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.hero-sitio-fila { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-sitio-texto { display: grid; gap: 1.1rem; justify-items: start; }
.hero-sitio-texto .h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.hero-sitio-logos { display: grid; gap: 0.75rem; }
.hero-sitio-logos a { display: grid; place-items: center; padding: 1.1rem; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio-l); box-shadow: var(--sombra-1); transition: border-color 0.16s, box-shadow 0.16s; }
.hero-sitio-logos a:hover { border-color: var(--borde-fuerte); box-shadow: var(--sombra-2); }
.hero-sitio-logos img { max-height: 3.6rem; width: auto; max-width: 100%; }

/* Bloque de cada marca */

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.tile { display: grid; gap: 0.35rem; align-content: start; padding: 1.1rem; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra-1); }
.tile p { color: var(--apagado); font-size: 0.875rem; line-height: 1.5; }

@media (max-width: 980px) {
  .hero-sitio-fila { grid-template-columns: minmax(0, 1fr); }
  .hero-sitio-logos { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
@media (max-width: 720px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
}

/* Inicio corto y páginas interiores */
.hero-interior { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.hero-interior .contenedor { display: grid; gap: 0.9rem; justify-items: start; }
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.teaser-texto { display: grid; gap: 1rem; justify-items: start; }
.teaser-foto { background: #fff; border: 1px solid var(--borde-fuerte); border-radius: 28px; overflow: hidden; display: grid; justify-items: center; align-items: end; padding: 0; }
.teaser-foto img { width: 100%; max-width: 18.5rem; height: auto; }
.teaser-inverso .teaser-foto { order: -1; }
.mega-pie { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; border-top: 1px solid var(--borde); }
.mega-todas { padding: 0.7rem 0.6rem 0.2rem; font-weight: 700; font-size: 0.875rem; color: var(--acento); text-decoration: none; }
.mega-todas:hover { color: var(--acento-oscuro); }
@media (max-width: 980px) { .teaser { grid-template-columns: minmax(0, 1fr); } .teaser-inverso .teaser-foto { order: 0; } }

/* Banner: tarjeta de marcas (botones) */
.tarjeta-marcas { background: rgba(255, 255, 255, 0.84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 22px; box-shadow: 0 24px 60px -24px rgb(15 36 40 / 0.35); overflow: hidden; border: 1px solid var(--borde); }
.tm-cabeza { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 1.1rem 1.5rem; background: var(--acento); color: #fff; }
.tm-cabeza strong { font: 600 1.125rem var(--titulo); }
.tm-cabeza span { padding: 0.35rem 0.8rem; border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 999px; color: #fff; font: 600 0.75rem var(--titulo); letter-spacing: 0.1em; text-transform: uppercase; }
.tm-cuerpo { padding: 1.25rem 1.5rem 0.5rem; display: grid; gap: 0.5rem; }
.tm-grupo { margin-top: 0.4rem; font: 600 0.75rem/1.2 var(--titulo); letter-spacing: 0.12em; text-transform: uppercase; color: var(--tenue); }
.tm-fila { display: grid; gap: 0.75rem; margin-bottom: 1rem; }
.tm-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tm-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tm-boton { position: relative; display: grid; place-items: center; min-height: 5.4rem; padding: 0.8rem 0.8rem; overflow: hidden; background: #fff; border: 1.5px solid var(--borde-fuerte); border-radius: 14px; text-decoration: none; cursor: pointer; transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s, background-color 0.16s; }
.tm-boton img { height: 2.7rem; max-width: 80%; width: auto; object-fit: contain; transition: transform 0.2s, opacity 0.2s; }
.tm-n3 .tm-boton img { height: 2.3rem; }
.tm-boton::after { content: '→'; position: absolute; top: 0.3rem; right: 0.35rem; display: grid; place-items: center; width: 1rem; height: 1rem; border-radius: 50%; background: var(--acento-suave); color: var(--acento); font: 700 0.6rem/1 var(--texto); }
.tm-boton span { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.5rem; text-align: center; background: var(--acento); color: #fff; font: 700 0.8125rem var(--texto); transform: translateY(100%); transition: transform 0.2s; }
.tm-boton:hover, .tm-boton:focus-visible { border-color: var(--acento); box-shadow: var(--sombra-2); transform: translateY(-2px); }
.tm-boton:hover img, .tm-boton:focus-visible img { transform: translateY(-0.7rem); }
.tm-boton:hover span, .tm-boton:focus-visible span { transform: translateY(0); }
.tm-boton:hover::after, .tm-boton:focus-visible::after { background: var(--acento); color: #fff; }
.tm-pie { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1rem; margin: 0 1.5rem; padding: 0.9rem 0 1.2rem; border-top: 1px dashed var(--borde-fuerte); font-size: 0.8125rem; color: var(--apagado); }
.tm-pie strong { color: var(--tinta); }

/* Franja de puntos fuertes */
.valores { background: var(--acento-suave); }
.valores-fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; padding-block: 1.1rem; }
.valores p { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.9375rem; color: var(--acento-oscuro); }
.valores b { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--acento); color: #fff; font-size: 0.75rem; }

/* Contacto en dos cuadros */
.duo-seccion { background: var(--tinte); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.duo-caja { display: grid; gap: 0.8rem; align-content: start; justify-items: start; padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff; border: 1px solid var(--borde); border-radius: 22px; }
.duo-caja p { color: var(--apagado); max-width: 30em; }
.duo-acento { background: var(--acento); border-color: var(--acento); color: #fff; }
.duo-acento p { color: #fff; }
.duo-caja .etiqueta-linea { color: var(--acento); }
.duo-acento .etiqueta-linea { color: #fff; }
.duo-acento .boton-claro:hover { background: var(--acento-suave); }
.duo-caja .h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* Páginas de marca */
.logo-grande { display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3rem); background: #fff; border: 1px solid var(--borde); border-radius: var(--radio-l); box-shadow: var(--sombra-2); }
.logo-grande img { max-height: 5.5rem; width: auto; max-width: 100%; }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles-3 .tile { padding: 1.4rem; }
.dos-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.dos-col-bloque { display: grid; gap: 0.9rem; justify-items: start; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { padding: 0.45rem 0.9rem; background: #fff; border: 1px solid var(--borde-fuerte); border-radius: 999px; font-weight: 600; font-size: 0.875rem; }
.chips-acento li { background: var(--acento-suave); border-color: transparent; color: var(--acento-oscuro); }

/* Política de privacidad */
.resumen-legal { display: grid; gap: 0.6rem; padding: 1.25rem 1.5rem; background: var(--acento-suave); border-radius: var(--radio); }
.resumen-legal strong { font: 600 1rem var(--titulo); }
.lista-legal { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.5rem; color: var(--apagado); }
.texto-legal h2.h3 { margin-top: 1.25rem; font-size: 1.25rem; }
.texto-legal strong { color: var(--tinta); }

@media (max-width: 980px) { .tiles-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dos-col, .duo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .tiles-3 { grid-template-columns: minmax(0, 1fr); } .tm-n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Botones del banner: combinan con la tarjeta de marcas */
.portada .boton-primario { background: var(--acento); color: #fff; }
.portada .boton-primario:hover { background: var(--acento-oscuro); box-shadow: 0 8px 20px -8px rgb(var(--acento-rgb) / 0.55); }
.portada .boton-claro { background: transparent; color: var(--acento); border: 1.5px solid var(--acento); }
.portada .boton-claro:hover { background: var(--acento); color: #fff; border-color: var(--acento); }

/* Nosotros sobre fondo oscuro */

/* Fotos y capturas de las marcas */
.hero-foto { position: relative; justify-self: end; width: min(100%, 26rem); }
.hero-foto > img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--sombra-2); aspect-ratio: 573 / 720; object-fit: cover; }
.hero-foto-logo { position: absolute; left: 1rem; bottom: 1rem; padding: 0.7rem 1.1rem; background: #fff; border-radius: var(--radio); box-shadow: var(--sombra-2); }
.hero-foto-logo img { height: 2.6rem; width: auto; }
.marco-captura { margin: 0; background: #fff; border: 1px solid var(--borde); border-radius: 18px; box-shadow: var(--sombra-2); overflow: hidden; }
.marco-barra { display: flex; gap: 0.4rem; padding: 0.7rem 1rem; background: var(--tinte); border-bottom: 1px solid var(--borde); }
.marco-barra i { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--borde-fuerte); }
.marco-captura img { display: block; width: 100%; height: auto; }
@media (max-width: 980px) { .hero-foto { justify-self: start; } }

/* ---------- Íconos y bloques de las páginas de marca ---------- */
.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.tile-ico { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 0.5rem; border-radius: 14px; background: var(--acento-suave); color: var(--acento); }
.tile-ico .ico { width: 1.65rem; height: 1.65rem; }
.tile { align-content: start; }

.ahorros { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: 1rem; }
.ahorro { display: grid; gap: 0.5rem; align-content: start; padding: 1.6rem; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio-l); box-shadow: var(--sombra-1); }
.ahorro-ico { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--acento-suave); color: var(--acento); }
.ahorro-cifra { font: 700 clamp(2.2rem, 4vw, 3.1rem)/1.05 var(--titulo); color: var(--acento-oscuro); letter-spacing: -0.02em; }
.ahorro-texto { font-weight: 600; color: var(--tinta); }
.ahorro-contexto { color: var(--apagado); font-size: 0.9375rem; }

.ficha { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.75rem; margin: 0; }
.ficha div { padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); }
.ficha dt { font-size: 0.875rem; color: var(--tenue); }
.ficha dd { margin: 0.2rem 0 0; font: 600 1.125rem var(--titulo); color: var(--tinta); }

.galeria { columns: 2; column-gap: 1rem; margin-top: 1rem; }
.galeria figure { margin: 0 0 1rem; break-inside: avoid; overflow: hidden; border-radius: var(--radio-l); border: 1px solid var(--borde); background: #fff; box-shadow: var(--sombra-1); }
.galeria img { display: block; width: 100%; height: auto; }
.galeria-ancha { margin-bottom: 0; }
@media (max-width: 720px) { .galeria { columns: 1; } }

.faq { display: grid; gap: 0.6rem; max-width: 52rem; }
.faq details { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 600 1.4rem/1 var(--titulo); color: var(--acento); transition: transform 0.16s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--apagado); }

/* Botones de las tarjetas: compactos, no alargados */
.tarjeta-ir { justify-self: center; width: auto; padding: 0.65rem 1.5rem; }
.tarjeta-marca p { text-align: center; }

.caso-nota { display: inline-block; justify-self: start; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--acento-suave); color: var(--acento-oscuro); font-size: 0.8125rem; font-weight: 700; }

.ahorro-cifra.larga { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }

.hero-foto-ancha { width: min(100%, 34rem); }
.hero-foto-ancha > img { aspect-ratio: 4 / 3; }

.ahorro-estimado { border-style: dashed; border-color: var(--borde-fuerte); }

.captura-nota { padding: 0.7rem 1.1rem; background: var(--tinte); border-top: 1px solid var(--borde); color: var(--tenue); font-size: 0.875rem; }

.captura-nota-suelta { margin-top: 0.4rem; color: var(--tenue); font-size: 0.875rem; }

.hero-foto > img { border: 1px solid var(--borde-fuerte); }

/* ===== Movimiento y partes interactivas de las páginas de marca ===== */
/* Aparecer suavemente al bajar (solo si hay JavaScript y no se pidió reducir movimiento) */
.js .rev:not(.visto) { opacity: 0; transform: translateY(18px); }
.rev.visto { animation: aparecer 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms) backwards; }
@keyframes aparecer { from { opacity: 0; transform: translateY(18px); } }

/* Entrada de la portada */
.hero-sitio-texto > *, .portada-texto > * { animation: entrar 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero-sitio-texto > :nth-child(2), .portada-texto > :nth-child(2) { animation-delay: 0.08s; }
.hero-sitio-texto > :nth-child(3), .portada-texto > :nth-child(3) { animation-delay: 0.16s; }
.hero-sitio-texto > :nth-child(4), .portada-texto > :nth-child(4) { animation-delay: 0.24s; }
.hero-foto, .hero-rotador { animation: entrarFoto 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s backwards; }
@keyframes entrar { from { opacity: 0; transform: translateY(20px); } }
@keyframes entrarFoto { from { opacity: 0; transform: translateY(16px) scale(0.97); } }

/* Pequeños saltitos al pasar el mouse */
.tile, .ahorro { transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.tile:hover, .ahorro:hover { transform: translateY(-3px); box-shadow: var(--sombra-2); border-color: var(--borde-fuerte); }
.galeria figure img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.galeria figure:hover img { transform: scale(1.04); }

/* Fotos que rotan en la portada */
.hero-sitio-fila.con-rotador { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.hero-rotador { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; border: 1px solid var(--borde-fuerte); box-shadow: var(--sombra-2); background: var(--tinte); }
.hr-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s ease; }
.hr-slide.activa { opacity: 1; }
.hr-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.hr-slide.activa img { transform: scale(1); }
.hr-slide figcaption { position: absolute; left: 1rem; top: 1rem; padding: 0.35rem 0.85rem; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: var(--acento-oscuro); font: 600 0.8125rem/1.2 var(--titulo); }
.hero-rotador .hero-foto-logo { z-index: 2; }
.hr-puntos { position: absolute; right: 0.8rem; bottom: 0.4rem; z-index: 2; display: flex; align-items: center; }
/* Cada punto es un botón de 44 px de alto (fácil de tocar); el punto visible se dibuja adentro */
.hr-puntos button { position: relative; width: 1.5rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; transition: width 0.3s; }
.hr-puntos button::before { content: ''; position: absolute; left: 0.4rem; right: 0.4rem; top: 50%; height: 0.7rem; transform: translateY(-50%); border-radius: 999px; background: rgba(255, 255, 255, 0.7); transition: background-color 0.3s; }
.hr-puntos button.activo { width: 2.7rem; }
.hr-puntos button.activo::before { background: #fff; }

/* Panel con pestañas: "lo que resuelve" */
.panel { display: grid; grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr); gap: 1.25rem; align-items: stretch; scroll-margin-top: 6rem; }
.panel-lista { display: none; }
.js .panel-lista { display: grid; gap: 0.5rem; align-content: start; }
.pl-boton { display: flex; align-items: center; gap: 0.8rem; width: 100%; padding: 0.75rem 0.9rem; background: #fff; border: 1.5px solid var(--borde); border-radius: var(--radio); font: 600 1rem/1.25 var(--texto); color: var(--tinta); text-align: left; cursor: pointer; transition: border-color 0.18s, background-color 0.18s, box-shadow 0.18s, transform 0.18s, color 0.18s; }
.pl-boton:hover { border-color: var(--acento); transform: translateX(3px); }
.pl-boton[aria-selected="true"] { background: var(--acento); border-color: var(--acento); color: #fff; box-shadow: 0 12px 26px -14px rgb(var(--acento-rgb) / 0.7); transform: translateX(3px); }
.pl-ico { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: var(--acento-suave); color: var(--acento); transition: background-color 0.18s, color 0.18s; }
.pl-ico .ico { width: 1.4rem; height: 1.4rem; }
.pl-boton[aria-selected="true"] .pl-ico { background: rgba(255, 255, 255, 0.2); color: #fff; }
.pl-tit { flex: 1; display: grid; gap: 0.2rem; justify-items: start; }
.pl-insignia { padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--acento-suave); color: var(--acento-oscuro); font: 700 0.75rem/1.2 var(--titulo); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; }
.pl-boton[aria-selected="true"] .pl-insignia { background: rgba(255, 255, 255, 0.22); color: #fff; }
.pl-flecha { font-size: 1.5rem; line-height: 1; opacity: 0.5; }
.panel-vista { display: grid; min-width: 0; }
.pv { display: grid; grid-template-columns: minmax(0, 1fr); align-content: stretch; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio-l); box-shadow: var(--sombra-2); overflow: hidden; }
.pv:has(.pv-img) { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.js .pv:not(.activo) { display: none; }
.pv.activo { animation: pvEntra 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes pvEntra { from { opacity: 0; transform: translateX(14px); } }
.pv-img { position: relative; min-height: 20rem; background: var(--tinte); overflow: hidden; }
.pv-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-prod { background: #fff; }
.pv-prod img { object-fit: contain; padding: 1.5rem; }
.pv-texto { display: grid; gap: 0.85rem; align-content: center; padding: clamp(1.25rem, 2.5vw, 2rem); }
.pv-texto .h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.pv-resumen { margin: 0; color: var(--apagado); font-size: 1.0625rem; line-height: 1.5; }
.pv-puntos { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.pv-puntos li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 1rem; line-height: 1.45; }
.pv-puntos .ico { width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; color: var(--acento); }
.pv-ideal { margin: 0; padding: 0.65rem 0.9rem; border-radius: var(--radio-s); background: var(--acento-suave); color: var(--acento-oscuro); font-size: 1rem; }
.pv-ejemplo { margin: 0; padding-left: 0.8rem; border-left: 3px solid var(--acento); color: var(--apagado); font-size: 1rem; font-style: italic; }
.pv-acciones { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.25rem; }

/* Calculadora de ahorro */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; margin-top: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); background: #fff; border: 1.5px solid var(--borde-fuerte); border-radius: var(--radio-l); box-shadow: var(--sombra-2); }
.calc-ctrl { display: grid; gap: 0.5rem; align-content: start; }
.calc-ctrl label { font-weight: 700; }
.calc-bajada { margin: 0; color: var(--apagado); }
.calc-valor { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--titulo); color: var(--acento-oscuro); }
.calc-rango { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 2.75rem; margin: 0.1rem 0; background: none; cursor: pointer; }
/* La barra se dibuja en el riel; el control completo mide 44 px de alto para tocarlo fácil con el dedo */
.calc-rango::-webkit-slider-runnable-track { height: 0.6rem; border-radius: 999px; background: linear-gradient(90deg, var(--acento) var(--llenado, 50%), var(--borde) var(--llenado, 50%)); }
.calc-rango::-webkit-slider-thumb { -webkit-appearance: none; width: 1.8rem; height: 1.8rem; margin-top: -0.6rem; border-radius: 50%; background: #fff; border: 3px solid var(--acento); box-shadow: var(--sombra-2); transition: transform 0.15s; }
.calc-rango::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc-rango::-moz-range-track { height: 0.6rem; border-radius: 999px; background: var(--borde); }
.calc-rango::-moz-range-progress { height: 0.6rem; border-radius: 999px; background: var(--acento); }
.calc-rango::-moz-range-thumb { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; border: 3px solid var(--acento); box-shadow: var(--sombra-2); }
.calc-ejes { display: flex; justify-content: space-between; color: var(--tenue); font-size: 0.8125rem; }
.calc-res { display: grid; gap: 0.6rem; align-content: center; padding: 1.25rem 1.4rem; border-radius: var(--radio); background: var(--acento-suave); }
.calc-grande { display: grid; margin: 0; }
.calc-grande span { font: 700 clamp(2rem, 4.2vw, 3rem)/1.05 var(--titulo); color: var(--acento-oscuro); }
.calc-grande small { font-size: 1rem; color: var(--apagado); }
.calc-chico { margin: 0; }
.calc-chico b { font-size: 1.25rem; color: var(--acento-oscuro); }
.calc-nota { grid-column: 1 / -1; margin: 0; color: var(--tenue); font-size: 0.875rem; line-height: 1.5; }

/* Comparador antes / después */
.comparar { --pos: 50%; position: relative; max-width: 56rem; margin-inline: auto; border: 1px solid var(--borde-fuerte); border-radius: var(--radio-l); overflow: hidden; background: #0f1a1b; box-shadow: var(--sombra-2); line-height: 0; user-select: none; }
.comparar img { display: block; width: 100%; height: auto; }
.cmp-sobre { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-et { position: absolute; top: 1rem; padding: 0.35rem 0.85rem; border-radius: 999px; background: rgba(15, 26, 27, 0.8); color: #fff; font: 600 0.8125rem/1.2 var(--titulo); }
.cmp-et-a { left: 1rem; }
.cmp-et-d { right: 1rem; }
.cmp-barra { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.25); pointer-events: none; }
.cmp-barra i { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--acento-oscuro); font: 700 1.1rem/1 var(--titulo); font-style: normal; box-shadow: var(--sombra-2); }
.cmp-rango { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.comparar:focus-within { outline: 3px solid var(--acento); outline-offset: 3px; }

/* Línea de tiempo: cómo reacciona */
.flujo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.flujo-paso { position: relative; display: grid; justify-items: center; gap: 0.45rem; text-align: center; padding-inline: 0.5rem; }
.flujo-paso h3 { font: 600 1.125rem/1.3 var(--titulo); }
.flujo-paso p { margin: 0; color: var(--apagado); font-size: 1rem; line-height: 1.5; }
.flujo-ico { position: relative; z-index: 1; display: grid; place-items: center; width: 4.4rem; height: 4.4rem; border-radius: 50%; background: var(--acento-suave); color: var(--acento); box-shadow: 0 0 0 2px var(--acento); }
.flujo-ico .ico { width: 2rem; height: 2rem; }
.flujo-n { position: absolute; top: -0.2rem; left: calc(50% + 1.2rem); z-index: 2; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--acento-oscuro); color: #fff; font: 700 0.75rem/1 var(--titulo); }
.flujo-paso:not(:last-child)::before, .flujo-paso:not(:last-child)::after { content: ''; position: absolute; top: 2.1rem; left: calc(50% + 2.5rem); width: calc(100% + 1rem - 5rem); height: 3px; border-radius: 2px; }
.flujo-paso:not(:last-child)::before { background: var(--borde); }
.flujo-paso:not(:last-child)::after { background: var(--acento); transform-origin: left; }
.flujo-paso.rev:not(.visto)::after { transform: scaleX(0); }
.flujo-paso.rev.visto::after { animation: trazo 0.9s ease-out calc(var(--d, 0ms) + 0.45s) backwards; }
@keyframes trazo { from { transform: scaleX(0); } }

/* Compañías: cinta que se desliza */
.marquesina { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marq-pista { flex: none; min-width: 100%; display: flex; align-items: center; justify-content: space-around; gap: 1rem; margin: 0; padding: 0.5rem 1rem 0.5rem 0; list-style: none; animation: marq 42s linear infinite; }
@keyframes marq { to { transform: translateX(-100%); } }
.marquesina:hover .marq-pista { animation-play-state: paused; }
.marq-logo { flex: none; display: grid; place-items: center; height: 5rem; min-width: 9rem; padding: 0.9rem 1.5rem; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra-1); }
.marq-logo img { height: 2.6rem; width: auto; max-width: 9.5rem; object-fit: contain; }
.marq-oscuro { background: var(--acento-oscuro); border-color: var(--acento-oscuro); }

/* Ficha técnica plegable */
.ficha-det { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; }
.ficha-det summary { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; }
.ficha-det summary::-webkit-details-marker { display: none; }
.ficha-nombre { flex: 1; font: 600 1.0625rem/1.3 var(--titulo); }
.ficha-mas::before { content: '+'; font: 600 1.6rem/1 var(--titulo); color: var(--acento); }
.ficha-det[open] .ficha-mas::before { content: '–'; }
.ficha-det .ficha { padding: 0 1.25rem 1.25rem; }

@media (max-width: 980px) {
  .hero-sitio-fila.con-rotador { grid-template-columns: minmax(0, 1fr); }
  .panel { grid-template-columns: minmax(0, 1fr); }
  .js .panel-lista { display: flex; gap: 0.5rem; padding-bottom: 0.5rem; overflow-x: auto; scrollbar-width: thin; }
  .pl-boton { flex: none; width: auto; white-space: nowrap; }
  .pl-boton:hover, .pl-boton[aria-selected="true"] { transform: none; }
  .pl-flecha { display: none; }
  .pv, .pv:has(.pv-img) { grid-template-columns: minmax(0, 1fr); }
  .pv-img { min-height: 14rem; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .flujo { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .flujo-paso::before, .flujo-paso::after { display: none; }
}
@media (max-width: 520px) { .flujo { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .rev, .hero-sitio-texto > *, .portada-texto > *, .hero-foto, .hero-rotador, .pv.activo, .flujo-paso::after { animation: none !important; }
  .hr-slide, .hr-slide img, .galeria figure img, .pl-boton { transition: none; }
  .hr-slide img { transform: none; }
  .marquesina { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .marq-pista { animation: none; flex-wrap: wrap; justify-content: center; }
  .marq-pista[aria-hidden="true"] { display: none; }
  .flujo-paso.rev:not(.visto)::after { transform: none; }
}

.ahorro-cifra, .calc-valor, .calc-grande span, .calc-chico b { font-variant-numeric: tabular-nums; }

/* Botones para pausar lo que se mueve */
.hr-pausa { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--acento-oscuro); cursor: pointer; box-shadow: var(--sombra-1); transition: background-color 0.16s; }
.hr-pausa:hover { background: #fff; }
.hr-pausa span::before { content: ''; display: block; width: 0.7rem; height: 0.85rem; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hr-pausa[aria-pressed="true"] span::before { width: 0; height: 0; border-right: 0; border-left: 0.8rem solid currentColor; border-top: 0.5rem solid transparent; border-bottom: 0.5rem solid transparent; }
.marq-pausa { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; margin-top: 0.5rem; padding: 0.4rem 0.9rem; border: 1px solid var(--borde-fuerte); border-radius: 999px; background: #fff; color: var(--apagado); font: 600 0.875rem var(--texto); cursor: pointer; }
.marq-pausa:hover { border-color: var(--acento); color: var(--acento-oscuro); }
.marquesina.pausado .marq-pista { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marq-pausa { display: none; } .hr-pausa { display: none; } }

.ahorros + .calc { margin-top: 2rem; }
.panel-denso .pl-boton { padding: 0.55rem 0.8rem; }
.panel-denso .pl-ico { width: 2.1rem; height: 2.1rem; }
.panel-denso .pl-ico .ico { width: 1.25rem; height: 1.25rem; }

/* Logo de la marca más grande junto a las fotos */
.hero-rotador .hr-logo { left: 1rem; bottom: 1rem; display: grid; gap: 0.2rem; padding: 0.7rem 1.4rem 0.8rem; }
.hr-logo small { font: 600 0.75rem/1.2 var(--titulo); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tenue); }
.hero-rotador .hr-logo img { height: 4.4rem; width: auto; }

/* Anterior / siguiente dentro del panel */
.pv-nav { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 0.5rem; padding-top: 0.9rem; border-top: 1px solid var(--borde); }
.pv-nav-b { min-height: 2.75rem; padding: 0.4rem 0.2rem; border: 0; background: none; color: var(--acento-oscuro); font: 700 0.9375rem var(--texto); cursor: pointer; text-align: left; }
.pv-nav-b:last-child { margin-left: auto; text-align: right; }
.pv-nav-b:hover { text-decoration: underline; }

/* Foto combinada (varias fotos en un cuadro) */
.pv-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; gap: 3px; }
.pv-collage img { position: static; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.pv-collage img:first-child { grid-column: 1 / -1; }

/* Todo a la vista: tarjetas con foto */
.rejilla-inter { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.rcard { display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio-l); box-shadow: var(--sombra-1); transition: transform 0.2s, box-shadow 0.2s; }
.rcard:hover { transform: translateY(-4px); box-shadow: var(--sombra-2); }
.rcard-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tinte); }
.rcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rcard:hover .rcard-img img { transform: scale(1.05); }
.rcard-cuerpo { display: grid; gap: 0.6rem; align-content: start; padding: 1.25rem; }
.rcard-cuerpo .h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.1875rem; }
.rcard-ico { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: var(--acento-suave); color: var(--acento); }
.rcard-ico .ico { width: 1.4rem; height: 1.4rem; }
.rcard-resumen { margin: 0; color: var(--apagado); }
.tile-ico { transition: transform 0.25s, background-color 0.25s, color 0.25s; }
.tile:hover .tile-ico { transform: scale(1.1) rotate(-6deg); background: var(--acento); color: #fff; }
@media (max-width: 980px) { .rejilla-inter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .rejilla-inter { grid-template-columns: minmax(0, 1fr); } }

/* ===== Casos de éxito: bloque amarillo fuerte, distinto al resto ===== */
.testimonios { position: relative; overflow: hidden; background: var(--amarillo); color: var(--tinta); padding-block: clamp(3.5rem, 7vw, 6rem); }
.testimonios::before { content: '“'; position: absolute; right: 4%; top: -0.08em; font: 700 clamp(14rem, 26vw, 24rem)/1 var(--titulo); color: rgb(15 26 27 / 0.08); pointer-events: none; }
.testimonios .etiqueta { color: var(--tinta); }
.testimonios .h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.02em; color: var(--tinta); }
.testi-lista { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.testi { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.6rem 1.6rem 1.4rem; border-radius: 22px; box-shadow: 0 22px 40px -24px rgb(15 26 27 / 0.55); transform: rotate(var(--giro, 0deg)); transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s; }
.testi:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 30px 50px -26px rgb(15 26 27 / 0.6); }
.testi-1 { --giro: -1.6deg; background: var(--tinta); color: #fff; }
.testi-2 { --giro: 1.2deg; background: var(--acento); color: #fff; margin-top: 1.5rem; }
.testi-3 { --giro: -0.8deg; background: #fff; color: var(--tinta); }
.testi-cabeza { display: flex; align-items: center; gap: 0.85rem; }
.testi-cabeza p { display: grid; gap: 0.1rem; margin: 0; }
.testi-avatar { flex: none; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--amarillo); color: var(--tinta); font: 700 1.05rem/1 var(--titulo); }
.testi-3 .testi-avatar { background: var(--tinta); color: var(--amarillo); }
.testi-nombre { font: 700 1.25rem/1.2 var(--titulo); }
.testi-empresa { font-size: 0.9375rem; opacity: 0.85; }
.testi-cita { margin: 0; font: 600 1.1875rem/1.45 var(--titulo); letter-spacing: -0.005em; }
.testi-cita::before { content: '“'; }
.testi-cita::after { content: '”'; }
.testi-lugar { display: flex; align-items: center; gap: 0.4rem; margin: auto 0 0; padding-top: 0.9rem; border-top: 1px solid currentColor; border-top-color: rgb(255 255 255 / 0.25); font-size: 0.9375rem; opacity: 0.9; }
.testi-3 .testi-lugar { border-top-color: var(--borde); }
.testi-lugar .ico { width: 1.1rem; height: 1.1rem; }
.testi-nota { position: relative; margin: 1.75rem 0 0; font-size: 0.875rem; color: var(--tinta); opacity: 0.8; }
@media (max-width: 720px) { .testi-2 { margin-top: 0; } .testi { --giro: 0deg; } }

.duo-blanco { background: #fff; border-top: 1px solid var(--borde); }

/* Estrellas decorativas en los casos de éxito (marcan el diseño, no son una calificación) */
.testi-estrellas { position: absolute; inset: 0; pointer-events: none; }
.estrella { position: absolute; color: var(--tinta); animation: titilar 3.2s ease-in-out infinite; }
.estrella .ico { width: 100%; height: 100%; }
.estrella-a { top: 9%; left: 46%; width: 2.6rem; height: 2.6rem; }
.estrella-b { top: 17%; left: 54%; width: 1.4rem; height: 1.4rem; animation-delay: 0.6s; color: #fff; }
.estrella-c { top: 6%; left: 60%; width: 1.9rem; height: 1.9rem; animation-delay: 1.2s; color: var(--acento-oscuro); }
.estrella-d { bottom: 8%; left: 3%; width: 2.2rem; height: 2.2rem; animation-delay: 1.8s; color: #fff; }
.estrella-e { top: 24%; right: 24%; width: 1.6rem; height: 1.6rem; animation-delay: 0.9s; }
@keyframes titilar { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(0.75) rotate(18deg); opacity: 0.55; } }
@media (max-width: 720px) { .estrella-a { left: auto; right: 8%; top: 4%; } .estrella-b, .estrella-c { display: none; } }

/* Testimonios en video: enlaces (no se carga el video en la página) */
.testi-videos { position: relative; z-index: 1; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.testi-videos-titulo { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem; font: 700 1.0625rem var(--titulo); color: var(--tinta); }
.testi-videos ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.75rem; }
.testi-video { display: flex; align-items: center; gap: 0.85rem; min-height: 4.5rem; padding: 0.8rem 1rem; border-radius: 16px; background: rgb(255 255 255 / 0.92); color: var(--tinta); text-decoration: none; box-shadow: 0 10px 22px -16px rgb(15 26 27 / 0.6); transition: transform 0.2s, background-color 0.2s; }
.testi-video:hover { transform: translateY(-3px); background: #fff; }
.testi-video > span:nth-child(2) { flex: 1; display: grid; gap: 0.1rem; }
.testi-video strong { font: 700 1rem/1.25 var(--titulo); }
.testi-video small { font-size: 0.875rem; color: var(--apagado); }
.testi-play { flex: none; position: relative; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--tinta); }
.testi-play::after { content: ''; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-left: 0.75rem solid var(--amarillo); border-top: 0.45rem solid transparent; border-bottom: 0.45rem solid transparent; }
.testi-ver { flex: none; font-weight: 700; font-size: 0.875rem; color: var(--acento-oscuro); }
@media (prefers-reduced-motion: reduce) { .estrella { animation: none; } }

/* Preguntas frecuentes: título a la izquierda, respuestas a la derecha (sin espacio vacío) */
.faq-fila { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-fila .seccion-cabecera { margin-bottom: 0; position: sticky; top: 6rem; }
.faq-fila .faq { max-width: none; }
.dos-col:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) { .faq-fila { grid-template-columns: minmax(0, 1fr); } .faq-fila .seccion-cabecera { position: static; } }

.tm-somos { display: inline-flex; align-items: center; gap: 0.4rem; line-height: 1; }
.tm-somos img { display: block; height: 1.05rem; width: auto; transform: translateY(-0.08em); }

/* Problemas que resuelve (primero en la página) */
.prob-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.prob { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.5rem 1.4rem; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio-l); box-shadow: var(--sombra-1); transition: transform 0.2s, box-shadow 0.2s; }
.prob:hover { transform: translateY(-4px); box-shadow: var(--sombra-2); }
.prob-ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--acento-suave); color: var(--acento); }
.prob-ico .ico { width: 1.6rem; height: 1.6rem; }
.prob-dolor { margin: 0.3rem 0 0; color: var(--apagado); font-size: 1rem; line-height: 1.45; }
.prob-sol { margin: 0; font: 600 1.1875rem/1.35 var(--titulo); color: var(--tinta); }
.prob-destacado { background: var(--acento); border-color: var(--acento); color: #fff; }
.prob-destacado .prob-ico { background: rgb(255 255 255 / 0.18); color: #fff; }
.prob-destacado .prob-dolor { color: rgb(255 255 255 / 0.85); }
.prob-destacado .prob-sol { color: #fff; }
.prob-cifra { font: 700 clamp(2.6rem, 4vw, 3.4rem)/1 var(--titulo); letter-spacing: -0.02em; color: var(--amarillo); }

/* Gancho comercial (por ejemplo: revisar tu póliza) */
.gancho { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5vw, 3.75rem); background: linear-gradient(120deg, var(--acento-oscuro) 0%, var(--acento) 100%); color: #fff; }
.gancho::after { content: ''; position: absolute; right: -6rem; top: -6rem; width: 22rem; height: 22rem; border-radius: 50%; background: rgb(255 196 0 / 0.18); pointer-events: none; }
.gancho-fila { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: center; }
.gancho-texto { display: grid; gap: 0.75rem; }
.gancho .etiqueta { color: var(--amarillo); }
.gancho .h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.gancho-texto p { margin: 0; font-size: 1.125rem; line-height: 1.55; color: rgb(255 255 255 / 0.92); max-width: 34em; }
.gancho-pasos { list-style: none; margin: 0.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.gancho-pasos li { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.gancho-pasos b { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--amarillo); color: var(--tinta); font: 700 0.875rem/1 var(--titulo); }
.gancho-acciones { display: grid; gap: 0.9rem; justify-items: start; }
.gancho-wa { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 1.5rem; border-radius: var(--radio); background: var(--amarillo); color: var(--tinta); font-size: 1.0625rem; box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.5); transition: transform 0.2s, box-shadow 0.2s; }
.gancho-wa:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgb(0 0 0 / 0.55); background: #ffd035; }
.gancho-wa .icono-wa { width: 1.4rem; height: 1.4rem; }
.gancho-form { display: inline-block; padding-block: 0.6rem; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.gancho-form:hover { color: var(--amarillo); }
@media (max-width: 860px) { .gancho-fila { grid-template-columns: minmax(0, 1fr); } }

/* Logo de la marca, grande, arriba a la izquierda de la portada */
.gancho-wa .ico { width: 1.4rem; height: 1.4rem; }

/* ---------- Página de marca: su logo arriba (fijo al bajar) y Mixor pequeño a la derecha ---------- */
.encabezado-marca { border-bottom: 3px solid var(--marca); }
.logo-marca img { height: 3.6rem; width: auto; max-width: 15rem; object-fit: contain; object-position: left center; }
.mixor-mini { display: inline-flex; align-items: center; align-self: stretch; padding-left: 1.4rem; border-left: 1px solid var(--borde); opacity: 0.8; transition: opacity 0.16s; }
.mixor-mini:hover, .mixor-mini:focus-visible { opacity: 1; }
.mixor-mini img { height: 1.35rem; width: auto; }
@media (max-width: 720px) {
  .logo-marca img { height: 2.7rem; max-width: 11rem; }
  .mixor-mini { align-self: stretch; justify-content: center; margin-top: 0.75rem; padding: 0.9rem 0 0 !important; border-left: 0; border-top: 1px solid var(--borde); opacity: 1; }
  .mixor-mini img { height: 1.9rem; }
}

/* El menú de soluciones se alinea al borde derecho del encabezado para que nunca se salga de la pantalla */
@media (min-width: 721px) {
  .encabezado-fila { position: relative; }
  .menu-item { position: static; }
  .mega { right: var(--margen); }
}

/* ---------- Páginas de marca: fondo blanco; el color de la marca solo en lo que hay que resaltar ---------- */
.sitio-marca .seccion.tinte, .sitio-marca .valores, .sitio-marca .duo-seccion { background: #fff; }
.sitio-marca .valores { border-block: 1px solid var(--borde); }
.sitio-marca main > .seccion { padding-block: clamp(3.5rem, 7vw, 6rem); }
/* Entre dos secciones blancas seguidas, una línea fina: cada bloque se lee por separado */
.sitio-marca main > :is(.seccion:not(.testimonios, .oscura), .valores) + .seccion:not(.testimonios, .oscura) { border-top: 1px solid var(--borde); }
/* Cada sección parte con una marca corta del color de la marca junto a su etiqueta */
.sitio-marca .seccion-cabecera > .etiqueta { display: inline-flex; align-items: center; gap: 0.65rem; }
.sitio-marca .seccion-cabecera > .etiqueta::before { content: ''; flex: none; width: 1.75rem; height: 3px; border-radius: 2px; background: var(--marca); }
/* Los dos bloques de color de la página (la demostración y "Cómo empezamos") van del mismo color que los botones,
   con el mismo sistema: texto blanco, y amarillo solo en rellenos con texto oscuro (botón y números), que siempre se leen */
.sitio-marca :is(.gancho, .oscura) { background: var(--acento); color: #fff; }
.sitio-marca :is(.gancho .etiqueta, .oscura .etiqueta-linea) { color: #fff; }
.sitio-marca .gancho .etiqueta { display: inline-flex; align-items: center; gap: 0.65rem; }
.sitio-marca .gancho .etiqueta::before { content: ''; width: 1.75rem; height: 3px; border-radius: 2px; background: var(--amarillo); }
.sitio-marca .oscura .etiqueta-linea::before { background: var(--amarillo); height: 3px; border-radius: 2px; }
/* Texto blanco pleno (sin transparencia) para que se lea en todos los colores; las tarjetas oscurecen un poco el fondo en vez de aclararlo */
.sitio-marca :is(.gancho-texto p, .oscura .bajada, .como-paso p, .prob-destacado .prob-dolor) { color: #fff; }
.sitio-marca .como-paso { background: rgb(0 0 0 / 0.14); border-color: rgb(255 255 255 / 0.22); }
.sitio-marca .como-paso b { background: var(--amarillo); color: var(--tinta); }
.sitio-marca .gancho-form:hover { color: #fff; text-decoration-thickness: 2px; }
/* Cifra grande dentro de la tarjeta destacada: blanca (el amarillo sobre algunos colores no se leía) */
.sitio-marca .prob-destacado .prob-cifra { color: #fff; }
/* Etiquetas pequeñas: borde y texto del color de la marca sobre blanco (sobre el tinte claro no alcanzaban a leerse bien) */
.sitio-marca .chips-acento li { background: #fff; border-color: var(--acento); color: var(--acento); }
.pl-boton[aria-selected="true"] .pl-insignia { background: #fff; color: var(--acento); }
/* Texto sobre el tinte claro de la marca: en tinta oscura (el color de la marca encima del tinte quedaba justo para leerse) */
.sitio-marca :is(.pv-ideal, .pv-ideal *, .pl-boton:not([aria-selected="true"]) .pl-insignia, .caso-nota, .confirmacion) { color: var(--tinta); }
/* Al pasar el mouse, los rellenos se oscurecen un poco (el resto de la página usa un solo tono) */
.sitio-marca :is(.boton-primario, .wa-flotante, .wa-tarjeta, .menu-principal .boton):hover { background: var(--acento-presionado); }
/* Cifra de una tarjeta blanca: en el color de la marca (el amarillo es solo para la tarjeta destacada) */
.prob:not(.prob-destacado) .prob-cifra { color: var(--acento); }

/* Logo de la marca grande arriba a la izquierda; al bajar, la barra se achica para no tapar el contenido */
.encabezado-marca .encabezado-fila { min-height: 6.75rem; transition: min-height 0.25s ease; }
.encabezado-marca .logo-marca img { height: 5rem; max-width: 15rem; transition: height 0.25s ease, max-width 0.25s ease; }
.encabezado-marca.encogido .encabezado-fila { min-height: 5rem; }
.encabezado-marca.encogido .logo-marca img { height: 3.6rem; max-width: 12rem; }
@media (max-width: 720px) {
  .encabezado-marca .encabezado-fila { min-height: 5rem; }
  .encabezado-marca .logo-marca img { height: 3.4rem; max-width: 11.5rem; }
  .encabezado-marca.encogido .encabezado-fila { min-height: 4.25rem; }
  .encabezado-marca.encogido .logo-marca img { height: 2.8rem; max-width: 10rem; }
}
@media (prefers-reduced-motion: reduce) { .encabezado-marca .encabezado-fila, .encabezado-marca .logo-marca img { transition: none; } }

/* Sobre bloques de color, el contorno de foco (navegación con teclado) va en blanco para que se vea */
:is(.gancho, .oscura, .duo-acento, .prob-destacado, .testi-2, .tm-cabeza) :focus-visible { outline-color: #fff; }
/* Textos del color de acento sobre su tinte claro: el tono oscuro, para que se lean bien */
.asesor .etiqueta, .resumen-legal a { color: var(--acento-oscuro); }
