/* ==========================================================================
   SECCIONES QUE TERMINAN LA HOME — tandas A y B (doc: desarrollo/web/home-final.md).
   Una sola hoja para los nueve widgets de includes/home-final/:
     .hfu  línea fúnebre      (hda-home-funebre,    hda_home_funebre_enabled)
     .hrs  reseñas de Google  (hda-home-resenas,    hda_home_resenas_enabled)
     .hhi  nuestra historia   (hda-home-historia,   hda_home_historia_enabled)
     .hfr  franja que corre   (hda-home-franja,     hda_home_franja_enabled)
     .hbl  artículos del blog (hda-home-blog,       hda_home_blog_enabled)
     .hpq  preguntas          (hda-home-preguntas,  hda_home_preguntas_enabled)
     .hvi  visítanos          (hda-home-visitanos,  hda_home_visitanos_enabled)
     .htx  texto              (hda-home-texto,      hda_home_texto_enabled)
     .hbn  beneficios         (hda-home-beneficios, hda_home_beneficios_enabled)
   Toda sección lleva además .hfs, con los tokens y las piezas comunes (texto chico, título,
   botón píldora). Mismos tokens y medidas que ocasiones-pebble.css y combo.css.
   Especificidad >= (0,2,0) en todo: Astra pinta a:hover/a:focus, h2 (capitalize, line-height
   .83em) y los márgenes de p/ul, y Elementor pone `.elementor img{height:auto}` (gotchas 54, 85, 94).
   ========================================================================== */

@font-face {
	/* La misma fuente y el mismo archivo que declara ocasiones-pebble.css: se repite para no depender
	   de que esa sección esté encendida. El navegador la baja una sola vez. */
	font-family: "HDA Founders Bold";
	src: url("../ocasiones-v2/founders-grotesk-bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

.hfs {
	--hf-brand: #7A0D13;
	--hf-cream: #FEF3E7;
	--hf-ink: #2B1520;
	--hf-rose: #F3DBD7;
	--hf-muted: #6E5A62;
	--hf-p1: #F8C6C3;
	--hf-p2: #F6CDA3;
	--hf-gold: #C98A1B;
	--hf-slate-ink: #2E3440;   /* tinta del skin fúnebre */
	--hf-slate-dim: #7B808B;   /* palabra sin elegir: 3,1:1 sobre el panel piedra (texto grande) */
	--hf-stone: #E9E4DC;
	--hf-display: "Qalogre fit", Georgia, serif;
	--hf-text: "Founders Grotesk Official", Arial, sans-serif;
	--hf-bold: "HDA Founders Bold", "Founders Grotesk Official", Arial, sans-serif;
	--hf-pad: 16px;                                            /* margen lateral: 16 bajo 1200 */
	--hf-sec: clamp(48px, calc(7.558vw - 9.97px), 100px);      /* aire arriba y abajo */
	--hf-suave: cubic-bezier(.16, 1, .3, 1);
	--hf-b-bg: var(--hf-brand);                                /* botón: fondo y texto */
	--hf-b-fg: var(--hf-cream);

	display: block;
	box-sizing: border-box;
	color: var(--hf-ink);
	font-family: var(--hf-text);
	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	letter-spacing: normal;
}

.hfs *,
.hfs *::before,
.hfs *::after { box-sizing: border-box; }

@media (min-width: 1200px) {
	/* 50 px desde 1200 y crece sin salto hasta que el contenido llega a 1440 (en 1540). */
	.hfs { --hf-pad: max(50px, calc(50% - 720px)); }
}

/* ---------- Piezas comunes ---------- */
.hfs .hfs__eyebrow {
	margin: 0;
	padding: 0 0 clamp(16px, calc(.581vw + 11.54px), 20px);
	font-family: var(--hf-bold);
	font-weight: 700;
	font-size: 15px;
	line-height: 24px;
	letter-spacing: normal;
	text-transform: uppercase;
	color: var(--hf-brand);
}

.hfs .hfs__titulo {
	margin: 0;
	padding: 0;
	font-family: var(--hf-display);
	font-weight: 400;
	font-size: clamp(30px, calc(2.6vw + 10px), 48px);
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-wrap: balance;
	color: var(--hf-brand);
}

.hfs .hfs__bajada {
	margin: 0;
	padding: clamp(20px, calc(.593vw + 15.37px), 24px) 0 0;
	font-family: var(--hf-text);
	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	color: var(--hf-muted);
	text-wrap: pretty;
}

/* Botón píldora: el mismo de "El detalle ideal para…" (.hop__cta) y del combo. */
.hfs a.hfs__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 48px 10px 24px;
	border: 1px solid var(--hf-b-bg);
	border-radius: 60px;
	background: var(--hf-b-bg);
	color: var(--hf-b-fg);
	font-family: var(--hf-bold);
	font-weight: 700;
	font-size: 15px;
	line-height: 24px;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	text-shadow: none;
	white-space: nowrap;
	transition: background-color .35s, color .35s, border-color .35s;
}

.hfs a.hfs__btn:hover,
.hfs a.hfs__btn:focus { color: var(--hf-b-fg); background: var(--hf-b-bg); text-decoration: none; }
.hfs a.hfs__btn:focus:not(:focus-visible) { outline: none; }
.hfs a.hfs__btn:focus-visible { outline: 3px solid var(--hf-b-bg); outline-offset: 3px; }

/* Capa invertida recortada a un círculo de 30 px (el círculo con la flecha). Al pasar el mouse
   crece y llena el botón. Va DENTRO del borde (inset 0), como en .hop__cta. */
.hfs .hfs__btn-inv {
	position: absolute;
	inset: 0;
	display: inline-flex;
	align-items: center;
	padding: 10px 48px 10px 24px;
	border-radius: inherit;
	background: var(--hf-b-fg);
	color: var(--hf-b-bg);
	clip-path: circle(15px at calc(100% - 25px) 50%);
	transition: clip-path .6s cubic-bezier(.4, 0, .2, 1);
	pointer-events: none;
}

.hfs .hfs__btn-ic {
	position: absolute;
	top: 50%;
	right: 10px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	overflow: hidden;
}

.hfs .hfs__btn-ar { display: block; width: 12px; height: 12px; }

@media (hover: hover) and (pointer: fine) {
	.hfs a.hfs__btn:hover .hfs__btn-inv { clip-path: circle(150% at calc(100% - 25px) 50%); }
	.hfs a.hfs__btn:hover .hfs__btn-ar { animation: hfs-flecha 1s ease infinite; }
}

@keyframes hfs-flecha {
	0%      { transform: translateX(0); }
	50%     { transform: translateX(20px); }
	50.001% { transform: translateX(-20px); }
	100%    { transform: translateX(0); }
}

/* Variante de contorno (sin círculo): se llena al pasar el mouse. */
.hfs a.hfs__btn.hfs__btn--linea { padding-right: 24px; background: transparent; color: var(--hf-b-bg); }
.hfs a.hfs__btn.hfs__btn--linea:hover,
.hfs a.hfs__btn.hfs__btn--linea:focus-visible { background: var(--hf-b-bg); color: var(--hf-b-fg); }
.hfs a.hfs__btn.hfs__btn--linea:focus:not(:focus-visible) { background: transparent; color: var(--hf-b-bg); }

/* Cuando el foco del teclado trae un control a la vista, que no quede debajo del header fijo (136 px
   en computador, 86 en celular; reaparece al subir) ni detrás de los botones flotantes de abajo. */
.hfs a,
.hfs button { scroll-margin-top: 152px; scroll-margin-bottom: 96px; }

/* Entrada suave al llegar. Solo si el JS marcó la sección (.hfs--js): sin JS todo se ve. */
.hfs.hfs--js .hfs-ap {
	opacity: 0;
	transform: translateY(25px);
	transition: opacity 1.4s var(--hf-suave), transform 1.4s var(--hf-suave);
}
.hfs.hfs--js .hfs-ap.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   6 · LÍNEA FÚNEBRE (Pebble: Collection highlight)
   ========================================================================== */
.hfs.hfu {
	--hf-b-bg: var(--hf-slate-ink);
	--hf-b-fg: #fff;
	padding: var(--hf-sec) var(--hf-pad);
}

.hfu .hfu__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 10px;
}

.hfu .hfu__foto {
	position: relative;
	min-height: 700px;
	border-radius: 20px;
	overflow: hidden;
	-webkit-mask-image: radial-gradient(white, black); /* Safari: que el zoom no asome por las esquinas */
	background: #cdbfa9;
}

.hfu .hfu__foto .hfu__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 38%;
	border-radius: 0;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity .7s ease, transform 1.6s var(--hf-suave);
}

.hfu .hfu__foto .hfu__img.is-on { opacity: 1; transform: none; }

/* El texto va sobre su propia sombra, que sube --hfu-sub por encima de la primera línea y ahí ya
   llega a .68: así el contraste no depende del alto de la foto ni de cuántas líneas ocupe el título.
   Medido el 16-nov sobre las cuatro fotos (contraste-funebre.mjs, contra el 5 % más claro del fondo):
   con una sombra repartida en toda la foto, el texto chico daba entre 2,3 y 3,9:1. */
.hfu .hfu__txt {
	--hfu-sub: 96px;
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	bottom: 0;
	padding: var(--hfu-sub) 40px 40px;
	background: linear-gradient(180deg, rgba(31, 24, 20, 0) 0, rgba(31, 24, 20, .68) var(--hfu-sub), rgba(31, 24, 20, .82) 100%);
	color: #fff;
}

.hfu .hfu__txt .hfs__eyebrow { color: #fff; padding-bottom: 12px; }

.hfu .hfu__titulo {
	margin: 0;
	padding: 0;
	font-family: var(--hf-display);
	font-weight: 400;
	font-size: clamp(30px, calc(2.6vw + 10px), 48px);
	line-height: 1.15;
	letter-spacing: normal;
	text-transform: none;
	text-wrap: balance;
	color: #fff;
}

.hfu .hfu__panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 20px;
	background: var(--hf-stone);
	padding: 72px 40px 56px;
	text-align: center;
}

.hfu .hfu__panel .hfs__eyebrow { color: var(--hf-slate-ink); padding-bottom: 36px; }

.hfu .hfu__lista {
	display: grid;
	gap: 12px;
	justify-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hfu .hfu__item { margin: 0; padding: 0; list-style: none; }

/* La palabra elegida va en tinta, con una onda debajo y la miniatura al lado. */
.hfu a.hfu__pal {
	display: inline-flex;
	align-items: center;
	padding: 0 0 14px;
	font-family: var(--hf-display);
	font-weight: 400;
	font-size: clamp(40px, 5vw, 68px);
	line-height: 1.1;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	color: var(--hf-slate-dim);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='8' viewBox='0 0 28 8' fill='none' stroke='%232E3440' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M0 5.5c3.5 0 3.5-3 7-3s3.5 3 7 3 3.5-3 7-3 3.5 3 7 3'/%3E%3C/svg%3E") 0 100% repeat-x;
	background-size: 0 8px;
	transition: color .35s;
}

.hfu a.hfu__pal:hover,
.hfu a.hfu__pal:focus { color: var(--hf-slate-ink); text-decoration: none; }
.hfu a.hfu__pal:focus:not(:focus-visible) { outline: none; }
.hfu a.hfu__pal:focus-visible { outline: 3px solid var(--hf-slate-ink); outline-offset: 4px; border-radius: 6px; }

.hfu .hfu__item.is-on a.hfu__pal { color: var(--hf-slate-ink); background-size: 28px 8px; }

.hfu .hfu__mini {
	flex: none;
	width: 0;
	height: 58px;
	margin-left: 0;
	border-radius: 29px;
	overflow: hidden;
	opacity: 0;
	transition: width .5s var(--hf-suave), margin .5s var(--hf-suave), opacity .3s;
}

.hfu .hfu__item.is-on .hfu__mini {
	width: 58px;
	margin-left: 14px;
	opacity: 1;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, .7);
}

.hfu .hfu__mini .hfu__mimg {
	display: block;
	width: 58px;
	height: 58px;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}

.hfu .hfu__nota {
	margin: auto 0 0;
	padding: 44px 0 0;
	max-width: 420px;
	font-family: var(--hf-text);
	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	color: var(--hf-slate-ink);
	text-wrap: pretty;
}

.hfu .hfu__acc {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	padding-top: 24px;
}

/* Entre 1024 y 1299 los dos botones van uno debajo del otro: el texto del primero cambia con la palabra
   elegida, y en ese rango a veces cabían en una fila y a veces no, así que la sección cambiaba de alto. */
@media (min-width: 1024px) and (max-width: 1299.98px) {
	.hfu .hfu__acc { flex-direction: column; align-items: center; }
}

/* ==========================================================================
   7 · RESEÑAS (Pebble: Testimonials parallax)
   ========================================================================== */
.hfs.hrs {
	position: relative;
	background: var(--hf-rose);
	padding: 0 var(--hf-pad);
	overflow: hidden; /* solo para Safari viejo, que no conoce clip: sin sticky, pero las tarjetas no se salen */
	overflow: clip;   /* clip, no hidden: hidden rompería el sticky del puntaje */
}

.hrs .hrs__escena { position: relative; }

/* El puntaje vive en una capa del alto de la escena y se queda pegado al centro de la ventana. */
.hrs .hrs__fijo { position: absolute; inset: 0; pointer-events: none; }
/* Con el foco en "Ver todas las reseñas", la capa sube: si no, el anillo quedaba detrás de una tarjeta. */
.hrs .hrs__fijo:focus-within { z-index: 2; }

.hrs .hrs__centro {
	position: sticky;
	top: calc(50vh - 150px);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 60px 0;
	text-align: center;
}

.hrs .hrs__centro .hfs__eyebrow { padding-bottom: 14px; }

.hrs .hrs__num {
	margin: 0;
	padding: 0;
	font-family: var(--hf-display);
	font-weight: 400;
	font-size: clamp(64px, 8.4vw, 124px);
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	color: var(--hf-brand);
}

/* Estrellas: fila gris y, encima, la dorada recortada al porcentaje del puntaje. */
.hrs .hrs__estrellas {
	position: relative;
	display: block;
	width: 120px;
	height: 24px;
	margin: 12px 0 0;
	padding: 0;
	line-height: 0;
}

.hrs .hrs__est-b,
.hrs .hrs__est-f { position: absolute; top: 0; left: 0; height: 24px; overflow: hidden; }
.hrs .hrs__est-b { width: 100%; color: rgba(43, 21, 32, .2); }
.hrs .hrs__est-f { color: var(--hf-gold); }
.hrs .hrs__estrellas svg { display: block; width: 120px; height: 24px; max-width: none; }

.hrs .hrs__sub {
	max-width: 250px; /* más angosto que una tarjeta (292): cuando una le pasa por encima, no asoma por los lados */
	margin: 0;
	padding: 10px 0 0;
	text-wrap: balance;
	font-family: var(--hf-text);
	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	color: var(--hf-ink);
}

.hrs a.hrs__link {
	pointer-events: auto;
	margin-top: 22px;
	border-bottom: 1px solid currentColor;
	font-family: var(--hf-bold);
	font-weight: 700;
	font-size: 15px;
	line-height: 24px;
	text-decoration: none;
	color: var(--hf-brand);
}

.hrs a.hrs__link:hover,
.hrs a.hrs__link:focus { color: var(--hf-brand); text-decoration: none; }
.hrs a.hrs__link:focus:not(:focus-visible) { outline: none; }
.hrs a.hrs__link:focus-visible { outline: 3px solid var(--hf-brand); outline-offset: 3px; }

/* Tres columnas de tarjetas. La capa no recibe clics (solo las tarjetas): así el enlace
   "Ver todas las reseñas", que queda debajo, se puede tocar donde no lo tapa una tarjeta. */
.hrs .hrs__cols {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 292px);
	justify-content: space-between;
	align-items: start;
	padding: 90px 0 140px;
	pointer-events: none;
}

.hrs .hrs__col { display: grid; gap: 130px; will-change: transform; }
.hrs .hrs__col:nth-child(2) { padding-top: 640px; }
.hrs .hrs__col:nth-child(3) { padding-top: 190px; }

.hrs .hrs__card {
	margin: 0;
	padding: 22px;
	border-radius: 20px;
	background: #fff;
	pointer-events: auto;
}

.hrs .hrs__cimg {
	aspect-ratio: 1 / 1;
	margin: -6px -6px 20px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--hf-cream);
}

.hrs .hrs__cimg .hrs__cfoto {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}

.hrs .hrs__cita {
	margin: 0;
	padding: 0;
	font-family: var(--hf-text);
	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	color: #4a3a41;
}

.hrs a.hrs__mas {
	border-bottom: 1px solid currentColor;
	white-space: nowrap;
	text-decoration: none;
	color: var(--hf-brand);
}

.hrs a.hrs__mas:hover,
.hrs a.hrs__mas:focus { color: var(--hf-brand); text-decoration: none; }
.hrs a.hrs__mas:focus:not(:focus-visible) { outline: none; }
.hrs a.hrs__mas:focus-visible { outline: 3px solid var(--hf-brand); outline-offset: 2px; }

.hrs .hrs__quien {
	margin: 0;
	padding: 12px 0 0;
	font-family: var(--hf-bold);
	font-weight: 700;
	font-size: 15px;
	line-height: 24px;
	color: var(--hf-ink);
}

.hrs .hrs__pie {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 14px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid rgba(43, 21, 32, .12);
	font-family: var(--hf-text);
	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	color: var(--hf-ink);
}

.hrs .hrs__g {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--hf-cream);
	color: var(--hf-gold);
}

.hrs .hrs__g svg { display: block; width: 16px; height: 16px; }

/* ==========================================================================
   8 · NUESTRA HISTORIA (Pebble: Our story)
   ========================================================================== */
.hfs.hhi { padding: var(--hf-sec) var(--hf-pad); }

.hhi .hhi__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 40px;
}

.hhi .hhi__txt { max-width: 600px; padding-left: clamp(0px, 6.8vw, 98px); }
.hhi .hfs__titulo.hhi__titulo { font-size: clamp(32px, calc(2.9vw + 10px), 54px); }
.hhi .hhi__acc { margin-top: 32px; }

.hhi .hhi__foto {
	position: relative;
	justify-self: center;
	width: min(512px, 100%);
	aspect-ratio: 1 / 1;
}

.hhi .hhi__circ {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	overflow: hidden;
	-webkit-mask-image: radial-gradient(white, black);
	background: var(--hf-rose);
}

/* El encuadre sale de los controles del widget: foco (x, y) y zoom. */
.hhi .hhi__circ .hhi__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: var(--hhi-x, 50%) var(--hhi-y, 50%);
	transform: scale(var(--hhi-z, 1));
	transform-origin: var(--hhi-x, 50%) var(--hhi-y, 50%);
	border-radius: 0;
}

.hhi .hhi__pega {
	position: absolute;
	padding: 14px 26px;
	border-radius: 60px;
	font-family: var(--hf-bold);
	font-weight: 700;
	font-size: 18px;
	line-height: 24px;
	white-space: nowrap;
	color: var(--hf-ink);
}

.hhi .hhi__pega--1 { top: 9%; left: -2%; background: var(--hf-p2); transform: rotate(-14deg); animation: hhi-flota 6s ease-in-out infinite; }
.hhi .hhi__pega--2 { right: -5%; bottom: 12%; background: var(--hf-p1); transform: rotate(12deg); animation: hhi-flota 7s ease-in-out -2s infinite; }

/* Flotan con `translate` (propiedad aparte): el giro queda en `transform` y no se pisan. */
@keyframes hhi-flota { 50% { translate: 0 -10px; } }

/* ==========================================================================
   9 · FRANJA EN MOVIMIENTO (Pebble: Marquee)
   El contenido va 4 veces y la animación recorre la mitad (2 copias): dura el doble
   de "segundos por vuelta" para conservar la velocidad.
   ========================================================================== */
.hfs.hfr {
	position: relative;
	overflow: hidden;
	white-space: nowrap;
	background: var(--hf-brand);
	color: var(--hf-cream);
	line-height: 0;
}

.hfr .hfr__riel {
	display: inline-flex;
	animation: hfr-corre calc(var(--hfr-dur, 38s) * 2) linear infinite;
	will-change: transform;
}

@keyframes hfr-corre { to { transform: translateX(-50%); } }

.hfr:focus-within .hfr__riel,
.hfr.is-pausa .hfr__riel { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) {
	.hfr:hover .hfr__riel { animation-play-state: paused; }
}

.hfr .hfr__set {
	display: inline-flex;
	align-items: center;
	gap: 34px;
	padding: 18px 17px;
}

.hfr .hfr__it {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: var(--hf-display);
	font-weight: 400;
	font-size: 26px;
	line-height: 40px;
	letter-spacing: normal;
	color: var(--hf-cream);
}

.hfr .hfr__ic { flex: none; display: block; width: 26px; height: 26px; }

.hfr a.hfr__pill {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--hf-cream);
	font-family: var(--hf-bold);
	font-weight: 700;
	font-size: 15px;
	line-height: 24px;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	color: var(--hf-brand);
}

.hfr a.hfr__pill:hover,
.hfr a.hfr__pill:focus { background: #fff; color: var(--hf-brand); text-decoration: none; }
.hfr a.hfr__pill:focus:not(:focus-visible) { outline: none; }
.hfr a.hfr__pill:focus-visible { outline: 3px solid var(--hf-cream); outline-offset: 3px; }

/* Controles para el teclado: el enlace (izquierda) y el botón de pausa (derecha, lo agrega home-final.js).
   Están fuera del riel para no irse de la pantalla, y solo se ven al recibir el foco. */
.hfr a.hfr__acc,
.hfr button.hfr__pausa {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 16px;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	height: 40px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--hf-cream);
	box-shadow: 0 0 0 3px var(--hf-brand), 0 0 0 5px var(--hf-cream);
	font-family: var(--hf-bold);
	font-weight: 700;
	font-size: 15px;
	line-height: 24px;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	text-shadow: none;
	white-space: nowrap;
	color: var(--hf-brand);
	cursor: pointer;
}

.hfr button.hfr__pausa { left: auto; right: 16px; }

.hfr a.hfr__acc:hover,
.hfr a.hfr__acc:focus,
.hfr button.hfr__pausa:hover,
.hfr button.hfr__pausa:focus { background: var(--hf-cream); color: var(--hf-brand); text-decoration: none; outline: none; }

.hfr a.hfr__acc:not(:focus),
.hfr button.hfr__pausa:not(:focus) {
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	box-shadow: none;
}

/* Fuera de pantalla no corren (lo marca home-final.js; sin JS corren siempre). */
.hfs.hfs-fuera .hfr__riel,
.hfs.hfs-fuera .hhi__pega { animation-play-state: paused; }

/* ==========================================================================
   10 · IDEAS PARA REGALAR (Pebble: Flex carousel) — los artículos del blog
   El riel desliza y la lista de adentro lleva el margen lateral: así el margen del final es parte
   de lo que se desliza en todos los navegadores (Safari no cuenta el relleno derecho de un
   carrusel flex) y los porcentajes de --hf-pad se miden contra el ancho de la sección.
   ========================================================================== */
.hfs.hbl { padding: var(--hf-sec) 0; overflow: hidden; }

.hbl .hbl__cab { padding: 0 var(--hf-pad) clamp(32px, 4vw, 56px); text-align: center; }

.hbl .hbl__riel {
	margin: -6px 0; /* el aire de arriba y abajo es para que no se recorte el anillo de foco */
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scroll-padding-left: var(--hf-pad);
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.hbl .hbl__riel::-webkit-scrollbar { display: none; }

.hbl .hbl__lista {
	display: flex;
	align-items: flex-start;
	gap: 60px;
	width: max-content;
	margin: 0;
	padding: 6px var(--hf-pad);
	list-style: none;
}

.hbl .hbl__card { flex: none; margin: 0; padding: 0; list-style: none; scroll-snap-align: start; }
.hbl .hbl__card--a { width: 402px; }
.hbl .hbl__card--b { width: 523px; }
.hbl .hbl__card--c { width: 281px; }

.hbl a.hbl__lnk { display: block; text-decoration: none; color: var(--hf-brand); }
.hbl a.hbl__lnk:hover,
.hbl a.hbl__lnk:focus { color: var(--hf-brand); text-decoration: none; }
.hbl a.hbl__lnk:focus:not(:focus-visible) { outline: none; }
.hbl a.hbl__lnk:focus-visible { outline: 3px solid var(--hf-brand); outline-offset: 3px; border-radius: 22px; }

.hbl .hbl__img {
	position: relative;
	display: block;
	border-radius: 20px;
	overflow: hidden;
	-webkit-mask-image: radial-gradient(white, black); /* Safari: que el zoom no asome por las esquinas */
	background: var(--hf-rose);
}

.hbl .hbl__card--a .hbl__img { aspect-ratio: 402 / 292; }
.hbl .hbl__card--b .hbl__img { aspect-ratio: 1 / 1; }
.hbl .hbl__card--c .hbl__img { aspect-ratio: 281 / 382; }

.hbl .hbl__img picture { position: absolute; inset: 0; display: block; }

.hbl .hbl__img .hbl__foto {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
	transition: scale .5s cubic-bezier(.3, 1, .3, 1);
}

.hbl .hbl__chip {
	position: absolute;
	top: 20px;
	left: 20px;
	max-width: calc(100% - 40px);
	padding: 4px 10px;
	border-radius: 60px;
	overflow: hidden;
	background: rgba(254, 243, 231, .92);
	font-family: var(--hf-bold);
	font-weight: 700;
	font-size: 13px;
	line-height: 21px;
	letter-spacing: normal;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--hf-brand);
}

.hbl .hbl__tit {
	margin: 0;
	padding: 24px 0 0;
	font-family: var(--hf-display);
	font-weight: 400;
	font-size: 26px;
	line-height: 1.25;
	letter-spacing: normal;
	text-transform: none;
	text-wrap: balance;
	color: var(--hf-brand);
}

/* La raya que crece debajo del título al pasar el mouse (como los enlaces de Pebble). */
.hbl .hbl__tit-t {
	background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat;
	transition: background-size .45s;
}

@media (hover: hover) and (pointer: fine) {
	.hbl a.hbl__lnk:hover .hbl__foto { scale: 1.05; }
	.hbl a.hbl__lnk:hover .hbl__tit-t { background-position: 0 100%; background-size: 100% 1px; }
}

/* Barra y flechas, iguales a las de "Favoritos de Hechizos". Solo se ven si el carrusel desliza
   (.is-listo lo pone home-final.js; sin JS el carrusel igual se desliza con el dedo o el teclado). */
.hbl .hbl__pie {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	margin-top: 38px;
	padding: 0 var(--hf-pad);
}

.hbl.is-listo .hbl__pie { display: flex; }

.hbl .hbl__barra {
	position: relative;
	width: 250px;
	height: 2px;
	overflow: hidden;
	background: rgba(122, 13, 19, .14);
}

.hbl .hbl__lleno {
	position: absolute;
	inset: 0;
	background: var(--hf-brand);
	transform-origin: 0 50%;
	transform: scaleX(.2);
	transition: transform .3s ease;
}

.hbl .hbl__flechas { display: flex; gap: 8px; }

.hbl button.hbl__flecha {
	position: relative;
	z-index: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(122, 13, 19, .2);
	border-radius: 50%;
	overflow: hidden;
	background: transparent;
	box-shadow: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	color: var(--hf-brand);
	cursor: pointer;
	transition: color .35s, border-color .35s, opacity .35s;
}

.hbl button.hbl__flecha::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	z-index: -1;
	width: 0;
	background: var(--hf-brand);
	transition: width .3s ease;
}

.hbl button.hbl__flecha svg { display: block; width: 13px; height: 13px; }
.hbl button.hbl__flecha--ant svg { transform: scaleX(-1); }

.hbl button.hbl__flecha:hover,
.hbl button.hbl__flecha:focus { background: transparent; color: var(--hf-brand); }
.hbl button.hbl__flecha:focus:not(:focus-visible) { outline: none; }
.hbl button.hbl__flecha:focus-visible { outline: 3px solid var(--hf-brand); outline-offset: 3px; }
.hbl button.hbl__flecha[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

@media (hover: hover) and (pointer: fine) {
	.hbl button.hbl__flecha:not([aria-disabled="true"]):hover { border-color: var(--hf-brand); color: var(--hf-cream); }
	.hbl button.hbl__flecha:not([aria-disabled="true"]):hover::before { width: 100%; }
}

/* ==========================================================================
   11 · PREGUNTAS FRECUENTES
   El texto de todas las respuestas está en el HTML, y sin más todas se ven abiertas. El plegado
   solo vale cuando home-final.js marcó la sección (.is-pleg): si el script no llega a correr
   (JavaScript apagado, archivo bloqueado o un error), no queda nada escondido ni un botón muerto.
   Cerrada, la respuesta mide 0 de alto y queda fuera de la lectura de pantalla (visibility); no se
   usa display:none.
   ========================================================================== */
.hfs.hpq { padding: var(--hf-sec) var(--hf-pad); }

.hpq .hpq__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}

/* El lado del título acompaña mientras se recorren las preguntas. 152 px: deja libre el header,
   que reaparece al subir y mide 136 px en computador (medido el 16-nov). */
.hpq .hpq__lado { position: sticky; top: 152px; }
.hpq .hpq__acc { margin-top: 28px; }

.hpq .hpq__lista { border-top: 1px solid rgba(122, 13, 19, .25); }
.hpq .hpq__it { border-bottom: 1px solid rgba(122, 13, 19, .25); }

/* Las que pasan de "cuántas se ven" esperan detrás de "Ver las N preguntas". */
.hpq.is-pleg .hpq__it--extra { display: none; }
.hpq.is-pleg.is-todas .hpq__it--extra { display: block; }

.hpq .hpq__h {
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.hpq button.hpq__p {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	margin: 0;
	padding: 22px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-shadow: none;
	font-family: var(--hf-display);
	font-weight: 400;
	font-size: 24px;
	line-height: 1.3;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	white-space: normal;
	color: var(--hf-brand);
	cursor: pointer;
}

.hpq button.hpq__p:hover,
.hpq button.hpq__p:focus { background: transparent; color: var(--hf-brand); }
.hpq button.hpq__p:focus:not(:focus-visible) { outline: none; }
.hpq button.hpq__p:focus-visible { outline: 3px solid var(--hf-brand); outline-offset: 2px; }

.hpq .hpq__pt { flex: 1 1 auto; min-width: 0; }

/* La «¿» de Qalogre baja mucho más que una letra (medido el 16-nov: 0,52 em bajo la línea, contra
   0,32 de una g): en un título de dos líneas rozaba la primera letra de la de abajo. Va colgada:
   las líneas siguientes arrancan después de ella (0,51 em es su ancho). */
.hpq .hpq__pt--q,
.hbl .hbl__tit--q { padding-left: .51em; text-indent: -.51em; }

/* Sin el script no hay nada que abrir: ni círculo, ni "Ver las N", ni mano sobre la pregunta. */
.hpq:not(.is-pleg) .hpq__ic,
.hpq:not(.is-pleg) button.hpq__mas { display: none; }
.hpq:not(.is-pleg) button.hpq__p { cursor: default; }

/* El círculo con el más, que al abrir se llena y queda en menos. */
.hpq .hpq__ic {
	position: relative;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(122, 13, 19, .4);
	transition: background-color .3s;
}

.hpq .hpq__ic::before,
.hpq .hpq__ic::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 1.5px;
	margin: -.75px 0 0 -6px;
	background: var(--hf-brand);
	transition: transform .35s, background-color .3s;
}

.hpq .hpq__ic::after { transform: rotate(90deg); }
.hpq .hpq__it.is-open .hpq__ic { background: var(--hf-brand); }
.hpq .hpq__it.is-open .hpq__ic::before,
.hpq .hpq__it.is-open .hpq__ic::after { background: var(--hf-cream); }
.hpq .hpq__it.is-open .hpq__ic::after { transform: rotate(0deg); }

.hpq .hpq__caja { display: grid; grid-template-rows: 1fr; }
.hpq.is-pleg .hpq__caja { grid-template-rows: 0fr; visibility: hidden; }
.hpq.is-pleg .hpq__it.is-open .hpq__caja { grid-template-rows: 1fr; visibility: visible; }
/* Las transiciones se prenden un momento después del plegado inicial (.is-anim), para que no se vea. */
.hpq.is-pleg.is-anim .hpq__caja { transition: grid-template-rows .45s var(--hf-suave), visibility 0s linear .45s; }
.hpq.is-pleg.is-anim .hpq__it.is-open .hpq__caja { transition-delay: 0s; }

.hpq .hpq__r { min-height: 0; overflow: hidden; padding-right: 58px; }

.hpq .hpq__par {
	margin: 0;
	padding: 0 0 24px;
	font-family: var(--hf-text);
	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	color: var(--hf-muted);
	text-wrap: pretty;
}

.hpq .hpq__par + .hpq__par { margin-top: -12px; }

/* "Ver las N preguntas" y "Leer más": botones con apariencia de enlace subrayado. */
.hpq button.hpq__mas,
.htx button.htx__mas {
	display: inline-block;
	width: auto;
	margin: 24px 0 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-shadow: none;
	font-family: var(--hf-bold);
	font-weight: 700;
	font-size: 15px;
	line-height: 24px;
	letter-spacing: normal;
	text-transform: none;
	white-space: normal;
	color: var(--hf-brand);
	cursor: pointer;
}

.hpq button.hpq__mas:hover,
.hpq button.hpq__mas:focus,
.htx button.htx__mas:hover,
.htx button.htx__mas:focus { background: transparent; color: var(--hf-brand); }
.hpq button.hpq__mas:focus:not(:focus-visible),
.htx button.htx__mas:focus:not(:focus-visible) { outline: none; }
.hpq button.hpq__mas:focus-visible,
.htx button.htx__mas:focus-visible { outline: 3px solid var(--hf-brand); outline-offset: 3px; }

/* ==========================================================================
   12 · VISÍTANOS
   Con foto: foto a la izquierda y datos a la derecha. Sin foto (--sin-foto): el título y los
   botones a la izquierda y los datos a la derecha, en la misma tarjeta.
   ========================================================================== */
.hfs.hvi { padding: 0 var(--hf-pad) var(--hf-sec); }

.hvi .hvi__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	border-radius: 20px;
	overflow: hidden;
	background: var(--hf-rose);
}

.hvi .hvi__foto { position: relative; min-height: 460px; background: #d9c7b6; }

.hvi .hvi__foto .hvi__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}

.hvi .hvi__txt {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(32px, 5vw, 72px);
}

.hvi .hvi__datos {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px 32px;
	margin: 0;
	padding: 28px 0 0;
}

.hvi .hvi__dato { margin: 0; padding: 0; }

.hvi .hvi__dt {
	margin: 0;
	padding: 0;
	font-family: var(--hf-bold);
	font-weight: 700;
	font-size: 13px;
	line-height: 21px;
	letter-spacing: normal;
	text-transform: uppercase;
	color: var(--hf-brand);
}

.hvi .hvi__dd {
	margin: 2px 0 0;
	padding: 0;
	font-family: var(--hf-text);
	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	color: var(--hf-ink);
}

.hvi a.hvi__lnk { border-bottom: 1px solid rgba(43, 21, 32, .35); text-decoration: none; color: var(--hf-ink); }
.hvi a.hvi__lnk:hover,
.hvi a.hvi__lnk:focus { border-bottom-color: var(--hf-brand); text-decoration: none; color: var(--hf-brand); }
.hvi a.hvi__lnk:focus:not(:focus-visible) { outline: none; }
.hvi a.hvi__lnk:focus-visible { outline: 3px solid var(--hf-brand); outline-offset: 3px; }

.hvi .hvi__acc { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 32px; }

.hvi .hvi__card--sin-foto { display: block; }

.hvi .hvi__card--sin-foto .hvi__txt {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	grid-template-areas: "cab datos" "acc datos";
	grid-template-rows: auto 1fr;
	column-gap: clamp(32px, 6vw, 96px);
	padding: clamp(40px, 5vw, 72px);
}

.hvi .hvi__card--sin-foto .hvi__cab { grid-area: cab; }
.hvi .hvi__card--sin-foto .hvi__datos { grid-area: datos; align-self: center; padding-top: 0; }
.hvi .hvi__card--sin-foto .hvi__acc { grid-area: acc; align-self: start; }

/* ==========================================================================
   13 · TEXTO DE LA FLORISTERÍA
   El texto entero está en el HTML y, sin más, se ve entero. Se pliega (alto 0 hasta "Leer más")
   solo cuando home-final.js marcó la sección (.is-pleg), igual que las preguntas.
   ========================================================================== */
.hfs.htx { padding: 0 var(--hf-pad) var(--hf-sec); }

.htx .htx__caja {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
	padding-top: clamp(32px, 4vw, 56px);
	border-top: 1px solid rgba(122, 13, 19, .25);
}

.htx .htx__titulo {
	margin: 0;
	padding: 0;
	font-family: var(--hf-display);
	font-weight: 400;
	font-size: clamp(26px, 2.4vw, 36px);
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-wrap: balance;
	color: var(--hf-brand);
}

.htx .htx__cols { columns: 2; column-gap: 40px; }
.htx .htx__blq { break-inside: avoid; padding-bottom: 20px; }

.htx .htx__sub {
	margin: 0;
	padding: 0 0 6px;
	font-family: var(--hf-bold);
	font-weight: 700;
	font-size: 15px;
	line-height: 24px;
	letter-spacing: normal;
	text-transform: none;
	color: var(--hf-ink);
}

.htx .htx__par {
	margin: 0;
	padding: 0;
	font-family: var(--hf-text);
	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	color: var(--hf-muted);
	text-wrap: pretty;
}

.htx .htx__par + .htx__par { padding-top: 12px; }

.htx .htx__resto { display: grid; grid-template-rows: 1fr; }
.htx.is-pleg .htx__resto { grid-template-rows: 0fr; visibility: hidden; }
.htx.is-pleg.is-open .htx__resto { grid-template-rows: 1fr; visibility: visible; }
.htx.is-pleg.is-anim .htx__resto { transition: grid-template-rows .5s var(--hf-suave), visibility 0s linear .5s; }
.htx.is-pleg.is-anim.is-open .htx__resto { transition-delay: 0s; }
.htx .htx__resto-in { min-height: 0; overflow: hidden; }
.htx button.htx__mas { margin-top: 4px; }
.htx:not(.is-pleg) button.htx__mas { display: none; }

/* ==========================================================================
   14 · BENEFICIOS (Pebble: fila de ventajas sobre el footer)
   ========================================================================== */
.hfs.hbn { padding: clamp(40px, 5vw, 64px) var(--hf-pad); }

.hbn .hbn__grid {
	display: grid;
	grid-template-columns: repeat(var(--hbn-n, 4), minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.hbn .hbn__it { margin: 0; padding: 0; list-style: none; }

.hbn .hbn__ic {
	display: block;
	width: 30px;
	height: 30px;
	margin: 0 auto 14px;
	color: var(--hf-ink);
}

.hbn .hbn__tit {
	margin: 0;
	padding: 0;
	font-family: var(--hf-bold);
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	color: var(--hf-ink);
}

.hbn .hbn__txt {
	margin: 0;
	padding: 4px 0 0;
	font-family: var(--hf-text);
	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	color: var(--hf-muted);
}

/* ==========================================================================
   Tablet y celular
   ========================================================================== */
@media (max-width: 1023.98px) {
	/* 6: en tablet siguen las dos columnas, más bajas; bajo 768 se apilan (más abajo) */
	.hfu .hfu__foto { min-height: 560px; }
	.hfu .hfu__txt { --hfu-sub: 80px; padding: var(--hfu-sub) 24px 24px; }
	.hfu .hfu__panel { padding: 40px 20px 32px; }
	.hfu .hfu__panel .hfs__eyebrow { padding-bottom: 22px; }
	.hfu .hfu__lista { gap: 6px; }
	.hfu a.hfu__pal { white-space: nowrap; }
	.hfu .hfu__mini { height: 44px; border-radius: 22px; }
	.hfu .hfu__item.is-on .hfu__mini { width: 44px; margin-left: 10px; }
	.hfu .hfu__mini .hfu__mimg { width: 44px; height: 44px; }
	.hfu .hfu__nota { padding-top: 28px; }
	.hfu .hfu__acc { width: 100%; }
	.hfu .hfu__acc a.hfs__btn { flex: 1 1 100%; }
	.hfu .hfu__acc a.hfs__btn.hfs__btn--linea { justify-content: center; }

	/* 7: el puntaje arriba y las tarjetas en un carrusel que se desliza de lado */
	.hfs.hrs { padding: var(--hf-sec) 0; }
	.hrs .hrs__fijo { position: static; }
	.hrs .hrs__centro { position: static; padding: 0 var(--hf-pad) 28px; }
	.hrs .hrs__cols {
		display: flex;
		align-items: flex-start;
		gap: 8px;
		padding: 0 var(--hf-pad);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-left: var(--hf-pad);
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		pointer-events: auto;
	}
	.hrs .hrs__cols::-webkit-scrollbar { display: none; }
	.hrs .hrs__cols:focus:not(:focus-visible) { outline: none; }
	.hrs .hrs__cols:focus-visible { outline: 3px solid var(--hf-brand); outline-offset: -3px; }
	/* Safari no respeta el relleno derecho de un carrusel flex: este tope deja el margen al final. */
	.hrs .hrs__cols::after { content: ""; flex: none; width: 8px; height: 1px; }
	.hrs .hrs__col,
	.hrs .hrs__col:nth-child(2),
	.hrs .hrs__col:nth-child(3) { display: contents; padding-top: 0; }
	.hrs .hrs__card { flex: none; width: 76vw; max-width: 320px; scroll-snap-align: start; }

	/* 8 */
	.hhi .hhi__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.hhi .hhi__foto { order: -1; width: min(330px, 86%); }
	.hhi .hhi__pega { padding: 10px 18px; font-size: 15px; }
	.hhi .hhi__txt { padding-left: 0; }

	/* 9 */
	.hfr .hfr__it { font-size: 20px; line-height: 32px; }
	.hfr .hfr__set { gap: 22px; padding: 12px 11px; }
	.hfr .hfr__ic { width: 22px; height: 22px; }
	.hfr a.hfr__pill { height: 34px; padding: 0 14px; }

	.hfs a,
	.hfs button { scroll-margin-top: 102px; }

	/* 10: todas las tarjetas iguales y de a una; sin flechas, con la barra a lo ancho */
	.hbl .hbl__riel { scroll-snap-type: x mandatory; }
	.hbl .hbl__lista { gap: 8px; }
	.hbl .hbl__card--a,
	.hbl .hbl__card--b,
	.hbl .hbl__card--c { width: 76vw; max-width: 320px; }
	.hbl .hbl__card--a .hbl__img,
	.hbl .hbl__card--b .hbl__img,
	.hbl .hbl__card--c .hbl__img { aspect-ratio: 4 / 5; }
	.hbl .hbl__tit { padding-top: 16px; font-size: 22px; }
	.hbl .hbl__chip { top: 14px; left: 14px; max-width: calc(100% - 28px); }
	.hbl .hbl__pie { margin-top: 22px; min-height: 0; }
	.hbl .hbl__flechas { display: none; }
	.hbl .hbl__barra { width: 100%; }

	/* 11: el título arriba y las preguntas debajo */
	.hpq .hpq__grid { grid-template-columns: minmax(0, 1fr); }
	.hpq .hpq__lado { position: static; }
	.hpq button.hpq__p { gap: 16px; padding: 18px 0; font-size: 20px; }
	.hpq .hpq__r { padding-right: 0; }

	/* 12: la foto (si hay) arriba y los datos debajo */
	.hvi .hvi__card { grid-template-columns: minmax(0, 1fr); }
	.hvi .hvi__foto { min-height: 0; aspect-ratio: 4 / 3; }
	.hvi .hvi__card--sin-foto .hvi__txt { display: flex; padding: clamp(32px, 5vw, 72px); }
	.hvi .hvi__card--sin-foto .hvi__datos { align-self: auto; padding-top: 28px; }
	.hvi .hvi__card--sin-foto .hvi__acc { align-self: auto; }

	/* 13: una sola columna */
	.htx .htx__caja { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.htx .htx__cols { columns: 1; }

	/* 14 */
	.hbn .hbn__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	.hbn .hbn__it:last-child:nth-child(odd) { grid-column: 1 / -1; } /* con 3 o 5, el último va centrado */
}

@media (max-width: 767.98px) {
	/* 6: foto arriba y panel abajo (a 768 de ancho, la foto en una sola columna medía 736 × 920) */
	.hfu .hfu__grid { grid-template-columns: minmax(0, 1fr); }
	.hfu .hfu__foto { min-height: 0; aspect-ratio: 4 / 5; }

	/* 12: los botones a lo ancho, uno debajo del otro */
	.hvi .hvi__acc a.hfs__btn { flex: 1 1 100%; }
	.hvi .hvi__acc a.hfs__btn.hfs__btn--linea { justify-content: center; }
}

@media (max-width: 479.98px) {
	/* 12: los datos en una columna */
	.hvi .hvi__datos { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

@media (max-width: 400px) {
	/* 6: en 360 px, "Cubre cofres" más su miniatura medía 299 px en un panel de 288 y se partía en dos líneas. */
	.hfu a.hfu__pal { font-size: clamp(30px, 9vw, 40px); }
}

/* Alto contraste de Windows (forced-colors): se pierden los fondos y las sombras, así que el círculo
   del más/menos y la barra del carrusel se dibujan con colores del sistema. */
@media (forced-colors: active) {
	.hpq .hpq__ic { border: 1px solid CanvasText; }
	.hpq .hpq__ic::before,
	.hpq .hpq__ic::after { background: CanvasText; forced-color-adjust: none; }
	.hpq .hpq__it.is-open .hpq__ic::before,
	.hpq .hpq__it.is-open .hpq__ic::after { background: CanvasText; }
	.hbl .hbl__barra { border-bottom: 1px solid CanvasText; }
	.hbl .hbl__lleno { background: Highlight; forced-color-adjust: none; }
}

@media (prefers-reduced-motion: reduce) {
	.hfr .hfr__riel,
	.hhi .hhi__pega { animation: none; }
	/* 9: sin movimiento, la franja muestra una sola copia, entera y centrada (quieta y recortada escondía
	   tres de las cuatro frases justo a quien pidió quietud). */
	.hfs.hfr { white-space: normal; }
	.hfr .hfr__riel { display: block; }
	.hfr .hfr__set { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
	.hfr .hfr__set ~ .hfr__set { display: none; }
	.hfr .hfr__set a.hfr__pill { order: 9; }
	.hfr .hfr__set a.hfr__pill ~ a.hfr__pill { display: none; }
	.hfs.hfs--js .hfs-ap { opacity: 1; transform: none; transition: none; }
	.hfs a.hfs__btn:hover .hfs__btn-ar { animation: none !important; }
	.hfs .hfs__btn-inv { transition: none; }
	/* 10 y 11: la guarda de Elementor (html * { transition-duration: 0s }) no alcanza a los pseudo-elementos. */
	.hbl button.hbl__flecha::before,
	.hpq .hpq__ic::before,
	.hpq .hpq__ic::after { transition: none !important; }
	.hbl a.hbl__lnk:hover .hbl__foto { scale: 1; }
	.hbl .hbl__riel { scroll-behavior: auto; }
}
