/* ═══════════════════════════════════════════════════════════════════════════
   HOGAR — estilos propios de la landing de Biopiscinas.
   Solo se cargan en Hogar y sus subpáginas. Copiados de referencia/index.html;
   la barra y el footer reutilizan header.css y footer.css (mismos estilos).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Barra de anuncio ───────────────────────────────────────────────────── */
.announce {
	position: relative; z-index: 60;
	display: flex; align-items: center; justify-content: center; gap: .6rem;
	padding: .6rem 1rem;
	background: var(--abyss); color: rgba(255,255,255,.82);
	font-size: .8rem; font-weight: 500; letter-spacing: .01em; text-align: center;
}
.announce svg { width: 15px; height: 15px; stroke: var(--aqua); flex: none; }
.announce b { color: #fff; font-weight: 600; }
/* Enlace chico para volver a Tecnosol, a la derecha (agregado por pedido de Lucas; no está en la landing). */
.announce-tecnosol {
	position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
	display: inline-flex; align-items: center; gap: .35rem;
	color: rgba(255,255,255,.72); font-size: .78rem; font-weight: 600; text-decoration: none;
	transition: color .2s, gap .2s;
}
.announce-tecnosol:hover { color: #fff; gap: .55rem; }
.announce-tecnosol svg { width: 13px; height: 13px; stroke: currentColor; }
@media (max-width: 1024px) { .announce-tecnosol { display: none; } }

/* ── Marca "Biopiscinas" (texto, como en la landing) ────────────────────── */
.brand {
	display: flex; align-items: baseline; gap: .1rem;
	font-size: 1.22rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.65;
	color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand em { font-style: normal; color: var(--brand); }
.brand small {
	display: block; margin-top: -4px;
	font-size: .6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	color: var(--ink-3);
}

/* En la barra: logo de Biopiscinas a la izquierda del texto, centrado en altura. */
.brand-con-logo { align-items: center; gap: .6rem; }
.brand-logo { display: block; width: auto; height: 40px; flex: none; transition: height .3s var(--e-out); }
.site-header.scrolled .brand-logo { height: 36px; }
@media (max-width: 820px) {
	.brand-logo { height: 34px; }
}
/* Celulares angostos: con el logo no entra todo en la barra (medido: 394 px necesarios
   contra 350 disponibles en un celular de 390 px). Se oculta la línea "TECNOSOL URUGUAY"
   y se achican un poco el logo, los íconos y el botón "Comprar". */
@media (max-width: 480px) {
	.hogar-header .site-nav { gap: .75rem; }
	.hogar-header .nav-right { gap: .2rem; }
	.hogar-header .icon-btn { width: 40px; height: 40px; }
	.hogar-header .nav-buy { padding: 0 .95rem; }
	.brand-con-logo { gap: .45rem; }
	.brand-con-logo small { display: none; }
	.brand-logo, .site-header.scrolled .brand-logo { height: 28px; }
}

/* Footer: la marca en blanco y celeste. */
.foot-brand .brand { color: #fff; font-size: 1.4rem; }
.foot-brand .brand em { color: var(--aqua); }
.foot-brand .brand small { color: rgba(255,255,255,.45); }

/* ═══════════════════════════════════════════════════════════════════════════
   REINICIO DE LA LANDING (solo dentro del contenido de Hogar)
   La landing arrancaba con márgenes en cero, listas sin viñetas y botones sin
   estilo. Se replica acá con la menor prioridad posible: le gana a base.css
   (por cargarse después) y pierde contra cualquier clase de la landing.
   ═══════════════════════════════════════════════════════════════════════════ */
:where(.pagina-hogar .site-main) :is(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(.pagina-hogar .site-main) :is(ul, ol) { padding: 0; list-style: none; }
:where(.pagina-hogar .site-main) :is(img, svg, video) { display: block; max-width: 100%; }
:where(.pagina-hogar .site-main) a { color: inherit; text-decoration: none; }
:where(.pagina-hogar .site-main) button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; padding: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — full-bleed, oscuro, tipografía dominante
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
	position: relative; min-height: clamp(600px, 92svh, 940px);
	display: flex; align-items: flex-end;
	padding: clamp(7rem, 14vh, 11rem) var(--gutter) clamp(3rem, 6vh, 4.5rem);
	overflow: hidden; background: var(--abyss); isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Fondo generado (se ve cuando todavía no hay foto) */
.water {
	position: absolute; inset: 0;
	background:
		radial-gradient(120% 85% at 78% 8%,  #0E86B9 0%, transparent 55%),
		radial-gradient(95% 70% at 12% 92%,  #0A4A66 0%, transparent 58%),
		radial-gradient(70% 55% at 55% 45%,  #52C7EB 0%, transparent 62%),
		linear-gradient(165deg, #041B26 0%, #073448 48%, #0A4A66 100%);
}
.water::after { /* cáusticas de agua en movimiento */
	content: ""; position: absolute; inset: -25%;
	background:
		radial-gradient(closest-side, rgba(158,224,245,.30), transparent 72%) 12% 22%/38% 38% no-repeat,
		radial-gradient(closest-side, rgba(82,199,235,.24), transparent 72%)  72% 68%/46% 46% no-repeat,
		radial-gradient(closest-side, rgba(255,255,255,.13), transparent 70%) 45% 88%/32% 32% no-repeat;
	filter: blur(28px);
	animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
	from { transform: translate3d(-2%, -1.5%, 0) scale(1); }
	to   { transform: translate3d(3%, 2.5%, 0) scale(1.09); }
}
.hero-scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(to top, rgba(4,22,31,.94) 0%, rgba(4,22,31,.72) 34%, rgba(4,22,31,.28) 66%, rgba(4,22,31,.45) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin-inline: auto; width: 100%; }
.hero .display { color: #fff; max-width: 15ch; margin-bottom: 1.6rem; }
.hero .display em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--aqua-soft); letter-spacing: -.02em; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.76); max-width: 52ch; font-weight: 400; }
.hero .chip { margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.4rem; }
.hero-bullets {
	display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.6rem;
	padding-top: 1.9rem; border-top: 1px solid rgba(255,255,255,.14);
}
.hero-bullets li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.8); }
.hero-bullets svg { width: 16px; height: 16px; stroke: var(--aqua); flex: none; }

/* Cartel de "acá va una foto" (solo lo ven los administradores) */
.slot-hint {
	position: absolute; inset: 0; display: flex; flex-direction: column;
	align-items: center; justify-content: center; gap: .6rem; text-align: center; padding: 1.5rem;
	color: rgba(255,255,255,.9); pointer-events: none;
}
.slot-hint svg { width: 28px; height: 28px; }
.slot-hint b {
	font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	border: 1.5px dashed rgba(255,255,255,.5); border-radius: var(--r-full); padding: .4rem 1rem;
}
.slot-hint small { font-size: .78rem; opacity: .75; max-width: 26ch; line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════════════════
   TIRA DE DATOS
   ═══════════════════════════════════════════════════════════════════════════ */
.specs { padding: clamp(2.75rem, 5vw, 4rem) var(--gutter); background: var(--paper); border-bottom: 1px solid var(--line); }
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: var(--maxw); margin-inline: auto; }
.spec { text-align: center; padding: 0 .5rem; position: relative; }
.spec + .spec::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--line); }
.spec-val {
	font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.05em;
	color: var(--ink); line-height: 1; display: flex; align-items: baseline; justify-content: center; gap: .12em;
}
.spec-val span:not(.n) { font-size: .42em; font-weight: 700; color: var(--brand); letter-spacing: -.02em; }
.spec-label { font-size: .82rem; color: var(--ink-3); margin-top: .6rem; font-weight: 500; line-height: 1.4; }

/* ═══════════════════════════════════════════════════════════════════════════
   MANIFIESTO / QUÉ ES
   ═══════════════════════════════════════════════════════════════════════════ */
.manifiesto { text-align: center; }
.manifiesto-quote {
	font-size: clamp(1.6rem, 3.4vw, 2.9rem); line-height: 1.28; letter-spacing: -.03em;
	color: var(--ink); max-width: 19ch; margin: 0 auto;
}
.manifiesto-quote em { font-family: var(--font-serif); font-style: italic; color: var(--brand); font-weight: 400; }
.split-text p { margin-bottom: 1.1rem; font-size: 1.05rem; }
.split-text p:last-of-type { margin-bottom: 0; }
.split-text .feature-grid { margin-top: 2.6rem; }
.split-text .feature p { margin-bottom: 0; font-size: .92rem; }
.media-caption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 1.75rem;
	background: linear-gradient(to top, rgba(4,22,31,.92), rgba(4,22,31,.55) 55%, transparent);
	color: #fff;
}
.media-caption p { font-family: var(--font-serif); font-style: italic; font-size: 1.28rem; line-height: 1.45; }
.media-caption span { display: block; margin-top: .6rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }

/* ═══════════════════════════════════════════════════════════════════════════
   COMPARATIVA vs CLORO
   ═══════════════════════════════════════════════════════════════════════════ */
.compare {
	display: grid; grid-template-columns: 1.35fr 1fr 1fr;
	border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
	background: var(--paper); box-shadow: var(--sh-md);
}
.cmp-cell { padding: 1.15rem 1.4rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .6rem; font-size: .93rem; }
.cmp-cell:nth-last-child(-n+3) { border-bottom: none; }
.cmp-head {
	font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--ink-3); padding-top: 1.5rem; padding-bottom: 1.5rem; background: var(--mist);
}
.cmp-crit { font-weight: 600; color: var(--ink); }
.cmp-mine { background: rgba(82,199,235,.07); font-weight: 600; color: var(--ink); }
.cmp-head.cmp-mine { background: var(--abyss); color: #fff; }
.cmp-head.cmp-mine .tag-win {
	margin-left: auto; background: var(--aqua); color: var(--abyss);
	font-size: .62rem; padding: .16rem .5rem; border-radius: var(--r-full); letter-spacing: .06em;
}
.cmp-other { color: var(--ink-3); }
.cmp-cell svg { width: 17px; height: 17px; flex: none; }
.cmp-mine svg { stroke: var(--ok); }
.cmp-other svg { stroke: var(--danger); }
.cmp-note { margin-top: 1.1rem; font-size: .82rem; color: var(--ink-3); }
/* En compu se ve la tabla; en celular, las tarjetas (en la landing esto lo hacía el JS). */
.cmp-mobile { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   CALCULADORA ("cuánto te sale arrancar")
   ═══════════════════════════════════════════════════════════════════════════ */
/* minmax(0,…): sin esto, el ancho mínimo que el navegador le da al casillero de número
   ensancha la columna y en celulares chicos el resultado se corta por la derecha. */
.calc { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,5vw,4rem); align-items: start; }
.calc-lead { margin-top: 1.1rem; margin-bottom: 2.2rem; }
.calc-panel {
	background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13);
	border-radius: var(--r-lg); padding: clamp(1.5rem,3vw,2.25rem);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.field { margin-bottom: 1.4rem; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: #fff; margin-bottom: .55rem; }
.field .hint { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: .45rem; }
.input-row { display: flex; gap: .6rem; }
.input {
	flex: 1; min-width: 0; min-height: 52px; padding: 0 1rem; border-radius: var(--r-sm);
	background: rgba(255,255,255,.09); border: 1.5px solid rgba(255,255,255,.2);
	color: #fff; font-size: 1.05rem; font-weight: 600; font-family: inherit;
	transition: border-color .2s, background .2s;
}
.input::placeholder { color: rgba(255,255,255,.4); font-weight: 400; }
.input:focus { outline: none; border-color: var(--aqua); background: rgba(255,255,255,.14); }
.input-suffix {
	display: flex; align-items: center; padding: 0 1rem; border-radius: var(--r-sm);
	background: rgba(255,255,255,.06); font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.65);
}
.presets { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.preset {
	padding: .45rem .95rem; border-radius: var(--r-full); font-size: .82rem; font-weight: 600;
	background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.85);
	transition: background .2s, border-color .2s, color .2s;
}
.preset:hover { background: rgba(82,199,235,.2); border-color: var(--aqua); color: #fff; }
.preset.active { background: var(--aqua); border-color: var(--aqua); color: var(--abyss); }

.calc-toggle { display: flex; gap: .35rem; background: rgba(255,255,255,.07); border-radius: var(--r-full); padding: .28rem; margin-bottom: 1.6rem; }
.calc-toggle button {
	flex: 1; min-height: 40px; border-radius: var(--r-full); font-size: .85rem; font-weight: 600;
	color: rgba(255,255,255,.65); transition: background .22s, color .22s;
}
.calc-toggle button.active { background: #fff; color: var(--abyss); }

/* minmax(0,…) por lo mismo que en .calc: si no, los tres casilleros se salen del cuadro. */
.dims { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem; }

.calc-out-vol {
	font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	color: var(--aqua); margin-bottom: .5rem;
}
.calc-big { font-size: clamp(2.6rem,6vw,4.2rem); font-weight: 800; letter-spacing: -.05em; color: #fff; line-height: 1; }
/* :not(.num) para que aplique solo a la unidad, no al número que se anima */
.calc-big span:not(.num) { font-size: .3em; font-weight: 600; color: rgba(255,255,255,.55); letter-spacing: -.01em; margin-left: .15em; }
.calc-big .num { font-variant-numeric: tabular-nums; }
/* Primera aplicación: destacado sutil (celeste, distinto de las filas) debajo del número grande. */
.calc-primera {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	margin-top: 1.5rem; padding: .95rem 1.15rem; border-radius: var(--r-md);
	background: rgba(82,199,235,.1); border: 1px solid rgba(82,199,235,.32);
}
.calc-primera p { margin: 0; }
.calc-primera .calc-primera-etiqueta { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); margin-bottom: .2rem; }
.calc-primera-texto { font-size: .92rem; color: rgba(255,255,255,.85); }
.calc-primera-valor { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--aqua-soft); white-space: nowrap; }
.calc-rows { margin: 2rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.calc-row {
	display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
	padding: .95rem 0; border-bottom: 1px solid rgba(255,255,255,.11);
}
.calc-row dt { font-size: .92rem; color: rgba(255,255,255,.65); }
.calc-row dd { margin: 0; font-size: 1.02rem; font-weight: 700; color: #fff; text-align: right; white-space: nowrap; }
.calc-row.total dd { font-size: 1.5rem; letter-spacing: -.03em; }
.calc-empty { font-size: .95rem; color: rgba(255,255,255,.5); padding: 2rem 0; }
/* Agregado de Tecnosol: deja claro que el precio es solo la primera compra. */
.calc-aclaracion { font-size: .82rem; color: rgba(255,255,255,.55); margin: -1.1rem 0 1.4rem; line-height: 1.5; }
.calc-nota { color: rgba(255,255,255,.5); }
.calc #calc-add svg { width: 18px; height: 18px; }

/* El plugin "Add to Cart Text Changer" le agrega a todo botón de WooCommerce un ícono
   de carrito propio (::before). En Hogar los botones ya traen su ícono: se oculta el extra. */
.pagina-hogar .site-main .add_to_cart_button::before { content: none; display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCTOS (tarjetas)
   ═══════════════════════════════════════════════════════════════════════════ */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 1.5rem; }
.prod {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
	transition: transform .3s var(--e-out), box-shadow .3s var(--e-soft), border-color .3s;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--line-2); }
.prod-media {
	position: relative; aspect-ratio: 1/1; overflow: hidden;
	background: #EEF1F3;
	display: flex; align-items: center; justify-content: center;
}
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--e-out); }
.prod:hover .prod-media img { transform: scale(1.045); }
.prod-media .ph { width: 64px; height: 64px; color: var(--deep-2); opacity: .5; }
.prod-media .ph svg { width: 100%; height: 100%; }
.prod-flag {
	position: absolute; top: .85rem; left: .85rem; z-index: 2;
	background: var(--abyss); color: #fff; font-size: .68rem; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase; padding: .32rem .75rem; border-radius: var(--r-full);
}
.prod-flag.alt { background: var(--aqua); color: var(--abyss); }
.prod-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.prod-tag { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .45rem; }
.prod h3 { font-size: 1.14rem; margin-bottom: .4rem; }
.prod-desc { font-size: .9rem; color: var(--ink-3); line-height: 1.55; margin-bottom: 1.1rem; flex: 1; }
.prod-price { font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em; color: var(--ink); margin-bottom: 1.1rem; }
.prod-price small { font-size: .72rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-left: .35rem; }
.prod-foot { display: flex; flex-direction: column; gap: .7rem; margin-top: auto; }
.btn-cart {
	display: flex; align-items: center; justify-content: center; gap: .55rem;
	width: 100%; min-height: 50px; border-radius: var(--r-full);
	background: var(--abyss); color: #fff; font-size: .92rem; font-weight: 600;
	transition: background .22s, transform .15s var(--e-out);
}
.btn-cart svg { width: 17px; height: 17px; }
.btn-cart:hover { background: var(--deep); color: #fff; }
.btn-cart:active { transform: scale(.975); }
.btn-cart.done { background: var(--ok); }
.btn-cart[disabled], .btn[disabled] { background: var(--line-2); color: var(--ink-3); cursor: not-allowed; box-shadow: none; transform: none; }
.prod.sin-stock .prod-media img { opacity: .6; }

/* ═══════════════════════════════════════════════════════════════════════════
   VENTANA DE DETALLE DE PRODUCTO
   ═══════════════════════════════════════════════════════════════════════════ */
.overlay {
	position: fixed; inset: 0; z-index: 300; display: none;
	background: rgba(4,22,31,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	align-items: center; justify-content: center; padding: var(--gutter);
}
.overlay.open { display: flex; animation: fade .22s var(--e-soft); }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.modal {
	position: relative; width: 100%; max-width: 580px; max-height: 86svh; overflow-y: auto;
	background: var(--paper); border-radius: var(--r-xl); padding: clamp(1.75rem, 4vw, 2.75rem);
	animation: pop .28s var(--e-out); box-shadow: var(--sh-xl);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97) } to { opacity: 1; transform: none } }
.modal-x {
	position: absolute; top: 1.1rem; right: 1.1rem; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
	background: var(--mist-2); color: var(--ink); display: flex; align-items: center; justify-content: center;
	transition: background .2s;
}
.modal-x:hover { background: var(--line-2); }
.modal-x svg { width: 17px; height: 17px; }
.modal .pill { margin-bottom: 1rem; letter-spacing: .11em; padding: .32rem .8rem; }
.modal-media { aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden; background: #EEF1F3; margin: -.5rem 0 1.4rem; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal h2 { font-size: 1.75rem; letter-spacing: -.035em; margin-bottom: .35rem; }
.modal .price { font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em; color: var(--brand-700); margin-bottom: 1.5rem; }
.modal hr { border: none; border-top: 1px solid var(--line); margin: 1.4rem 0; }
.modal-sec { margin-bottom: 1.35rem; }
.modal-sec h4 { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .5rem; }
.modal-sec p { font-size: .97rem; line-height: 1.7; }
.modal-sec ul { display: flex; flex-direction: column; gap: .5rem; }
.modal-sec li { display: flex; gap: .6rem; font-size: .95rem; line-height: 1.6; }
.modal-sec li svg { width: 16px; height: 16px; flex: none; margin-top: .28rem; stroke: var(--brand); }

.btn-cart.loading, .btn.loading { opacity: .7; pointer-events: none; }

/* El carrito lateral y el aviso "agregado" están en carrito.css (son de todo el sitio). */

/* ═══════════════════════════════════════════════════════════════════════════
   BARRA FIJA DE CELULAR
   ═══════════════════════════════════════════════════════════════════════════ */
.mobile-cta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: none; gap: .7rem; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
	background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	border-top: 1px solid var(--line);
	transform: translateY(110%); transition: transform .34s var(--e-out);
}
.mobile-cta.on { transform: translateY(0); }
/* En pantallas chicas los botones van a ancho completo, pero acá "Ver productos"
   ocupa el espacio y el del carrito queda de su tamaño. */
.mobile-cta .btn { width: auto; }
.mobile-cta #cart-open-m { gap: .35rem; font-weight: 700; }
@media (max-width: 820px) {
	.mobile-cta { display: flex; }
	/* Con la barra fija visible, el botón de WhatsApp (Joinchat) sube para no quedar tapado. */
	.pagina-hogar .joinchat { --bottom: 88px; }
	/* Lugar al final del pie para que la barra fija no tape los enlaces legales. */
	.pagina-hogar .foot-legal { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROTOCOLO (pasos)
   ═══════════════════════════════════════════════════════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.25rem; }
.step { position: relative; padding-top: 2.4rem; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.14); }
.step.hi::before { background: var(--aqua); }
.step-n { font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--aqua); margin-bottom: .9rem; display: block; }
.step h4 { font-size: 1.12rem; margin-bottom: .55rem; }
.step p { font-size: .92rem; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════════════════
   PREGUNTAS FRECUENTES
   ═══════════════════════════════════════════════════════════════════════════ */
.faq-block { margin-bottom: 3.25rem; }
.faq-block:last-child { margin-bottom: 0; }
.faq-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .4rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.faq-head h3 { font-size: 1.25rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
	display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
	width: 100%; text-align: left; padding: 1.3rem 0;
	font-size: 1.02rem; font-weight: 600; color: var(--ink); letter-spacing: -.015em;
	transition: color .2s;
}
.faq-q:hover { color: var(--brand-700); }
.faq-q .ind {
	width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--mist-2);
	display: flex; align-items: center; justify-content: center; color: var(--brand-700);
	transition: transform .3s var(--e-out), background .25s;
}
.faq-q .ind svg { width: 15px; height: 15px; }
.faq-item.open .faq-q .ind { transform: rotate(180deg); background: var(--abyss); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--e-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 1.4rem; font-size: .97rem; color: var(--ink-2); line-height: 1.7; max-width: 68ch; }

/* ═══════════════════════════════════════════════════════════════════════════
   CÓMO COMPRAR
   ═══════════════════════════════════════════════════════════════════════════ */
.buy-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.buy-step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.75rem; }
.buy-n {
	width: 38px; height: 38px; border-radius: 50%; background: var(--abyss); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: .9rem; font-weight: 700; margin-bottom: 1.1rem;
}
.buy-step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.buy-step p { font-size: .92rem; color: var(--ink-3); line-height: 1.6; }
.contact-strip {
	margin-top: 2.75rem; padding: 1.9rem clamp(1.25rem, 3vw, 2.5rem);
	border-radius: var(--r-lg); background: var(--abyss); color: #fff;
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.contact-strip p { font-size: 1.05rem; font-weight: 600; color: #fff; }
.contact-strip small { display: block; font-size: .85rem; font-weight: 400; color: rgba(255,255,255,.6); margin-top: .25rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   VIDEOS (fachada liviana: el reproductor se carga al tocar play)
   ═══════════════════════════════════════════════════════════════════════════ */
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.vid {
	position: relative; aspect-ratio: 16/9; width: 100%;
	border-radius: var(--r-md); overflow: hidden; display: block;
	background: linear-gradient(150deg, var(--deep), var(--brand));
	box-shadow: var(--sh-md); cursor: pointer;
	transition: transform .3s var(--e-out), box-shadow .3s var(--e-soft);
}
.vid:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.vid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--e-out), opacity .3s; }
.vid:hover img { transform: scale(1.04); opacity: .88; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-play {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(to top, rgba(4,22,31,.55), rgba(4,22,31,.05) 60%);
	transition: background .3s;
}
.vid:hover .vid-play { background: linear-gradient(to top, rgba(4,22,31,.65), rgba(4,22,31,.15) 60%); }
.vid-play span {
	width: 62px; height: 62px; border-radius: 50%;
	background: rgba(255,255,255,.95); color: var(--abyss);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 24px rgba(4,22,31,.34);
	transition: transform .28s var(--e-out), background .25s;
}
.vid:hover .vid-play span { transform: scale(1.1); background: #fff; }
.vid-play svg { width: 23px; height: 23px; margin-left: 3px; fill: currentColor; stroke: none; }
.vid-caption { margin-top: 1rem; }
.vid-caption h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.vid-caption p { font-size: .88rem; color: var(--ink-3); line-height: 1.55; }

/* ═══════════════════════════════════════════════════════════════════════════
   CIERRE
   ═══════════════════════════════════════════════════════════════════════════ */
.cta-final { text-align: center; overflow: hidden; }
.cta-final .h-xl { max-width: 16ch; margin: 0 auto 1.2rem; }
.cta-final .h-xl em { font-family: var(--font-serif); font-style: italic; color: var(--aqua-soft); font-weight: 400; }
.cta-final p { max-width: 48ch; margin: 0 auto 2.4rem; }
.cta-actions { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════════════════
   DISTRIBUIDORES (sección nueva, con el mismo lenguaje de la landing)
   ═══════════════════════════════════════════════════════════════════════════ */
.distribuidores { padding-top: clamp(4rem, 8vw, 6.5rem); padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.distrib-card {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.distrib-ico {
	width: 56px; height: 56px; border-radius: 16px;
	display: flex; align-items: center; justify-content: center;
	background: var(--abyss); color: var(--aqua);
}
.distrib-ico svg { width: 26px; height: 26px; }
.distrib-texto .eyebrow { margin-bottom: .6rem; }
.distrib-texto .h-lg em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--brand); }
.distrib-texto .lead { margin-top: .6rem; }
.distrib-aviso { font-size: .82rem; color: var(--warn); max-width: 30ch; }

/* Página Distribuidores (page-distribuidores.php): lista de puntos de venta por departamento. */
.distrib-pagina { padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.distrib-pagina .sec-head { margin-bottom: 2rem; }
.distrib-deptos { display: flex; flex-wrap: wrap; gap: .5rem; }
.distrib-deptos a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem;
	border: 1px solid var(--line-2); border-radius: var(--r-full); background: var(--paper);
	font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s;
}
.distrib-deptos a:hover { border-color: var(--brand); color: var(--brand-700); }
.distrib-grupo { scroll-margin-top: 96px; }
.distrib-grupo + .distrib-grupo { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.distrib-depto { margin-bottom: 1.1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--ink); font-size: 1.35rem; }
.distrib-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.distrib-punto {
	display: flex; flex-direction: column; gap: .45rem;
	padding: 1.3rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.distrib-lugar { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.distrib-punto h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.distrib-dato { display: flex; align-items: flex-start; gap: .5rem; font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.distrib-dato svg { width: 16px; height: 16px; flex: none; margin-top: .15rem; color: var(--ink-3); }
.distrib-dato a { padding-block: .25rem; margin-block: -.25rem; color: inherit; text-decoration: none; } /* Más lugar para tocar y llamar, sin mover nada. */
.distrib-dato a:hover { color: var(--brand-700); text-decoration: underline; }
.distrib-mapa {
	display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; margin-top: auto; padding-top: .5rem;
	font-size: .85rem; font-weight: 600; color: var(--brand-700); text-decoration: none;
}
.distrib-mapa svg { width: 14px; height: 14px; }
.distrib-mapa:hover { text-decoration: underline; }
.distrib-listado .contact-strip { margin-top: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 560px) {
	.distrib-lista { gap: .7rem; }
	.distrib-punto { gap: .3rem; padding: 1rem 1.1rem; }
	.distrib-mapa { padding-top: .3rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ADAPTACIÓN A PANTALLAS
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
	.steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
	.calc { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 820px) {
	.buy-steps, .videos-grid { grid-template-columns: 1fr; }
	.preset { min-height: 44px; padding: 0 1.1rem; display: inline-flex; align-items: center; }
	.faq-q { padding: 1.1rem 0; min-height: 56px; }
	.distrib-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.steps { grid-template-columns: 1fr; }
	.dims { grid-template-columns: minmax(0,1fr); }
	.contact-strip { flex-direction: column; align-items: flex-start; }
	.cta-actions .btn { width: 100%; }
}
@media (max-width: 820px) {
	.specs-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
	.spec:nth-child(3)::before, .spec:nth-child(odd)::before { display: none; }
	.hero-bullets { flex-direction: column; gap: .75rem; }

	/* Comparativa → tarjetas apiladas */
	.cmp-desktop { display: none; }
	.cmp-mobile { display: block; }
	.cmp-row-m {
		background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
		padding: 1.15rem 1.25rem; margin-bottom: .85rem;
	}
	.cmp-row-m h4 { font-size: .95rem; margin-bottom: .75rem; }
	.cmp-row-m .m-line { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; padding: .4rem 0; }
	.cmp-row-m .m-line svg { width: 16px; height: 16px; flex: none; margin-top: .2rem; }
	.cmp-row-m .m-line.mine { color: var(--ink); font-weight: 600; }
	.cmp-row-m .m-line.mine svg { stroke: var(--ok); }
	.cmp-row-m .m-line.other { color: var(--ink-3); }
	.cmp-row-m .m-line.other svg { stroke: var(--danger); }
	.cmp-row-m .m-tag { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
}
@media (max-width: 560px) {
	.hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.water::after { animation: none !important; }
}
