/*
 * Kat Miau Vet Line — hoja de estilos única.
 *
 * Paleta tomada del logo, no del tema anterior: el dueño pidió dejar el verde
 * ("nada que ver con el aura de los gatos"). Coral de la oreja del gato, tinta
 * del trazo y fondos crema cálidos. El verde solo aparece donde no se puede
 * quitar: la franja impresa del saco.
 */

@font-face { font-family: "Mona Sans"; src: url("../fonts/MonaSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("../fonts/MonaSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("../fonts/MonaSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("../fonts/MonaSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/Caveat-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
	--tinta: #1F1B24;
	--tinta-2: #3B3442;
	--noche: #17141B;
	--gris: #6B6270;
	--linea: #EBDCD0;
	--crema: #FFF7F0;
	--arena: #F8ECE2;
	--durazno: #FFE1D3;
	--durazno-2: #FFC9B5;
	--coral: #F66C66;
	--coral-2: #F2554F;
	--coral-texto: #C0403B; /* coral oscurecido: 4.6:1 sobre crema, legible en texto chico */
	--blanco: #FFFFFF;

	--radio: 22px;
	--radio-chico: 14px;
	--sombra: 0 22px 50px -24px rgba(31, 27, 36, .38);
	--sombra-suave: 0 10px 30px -18px rgba(31, 27, 36, .30);
	--ancho: 1200px;
	--alto-cabecera: 76px;

	--fuente: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--alto-cabecera) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--fuente);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--tinta);
	background: var(--crema);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .6em; line-height: 1.08; letter-spacing: -.028em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--tinta); color: var(--crema); padding: .7rem 1rem; border-radius: 10px; }
.saltar:focus { top: 1rem; }
.contenedor { width: min(var(--ancho), 100% - 2.5rem); margin-inline: auto; }
.icono { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Piezas ---------- */

main { counter-reset: rotulo; }
.chip {
	display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.1rem;
	font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-texto);
}
.chip::before {
	/* número de sección, como en una revista: 01, 02, 03… */
	counter-increment: rotulo; content: counter(rotulo, decimal-leading-zero);
	font-variant-numeric: tabular-nums; color: var(--tinta); letter-spacing: .04em;
	padding-right: .65rem; border-right: 1.5px solid currentColor; line-height: 1;
}
.chip .icono { width: 1rem; height: 1rem; color: var(--coral); }
.hero .chip::before { content: none; counter-increment: none; }
.chip--claro { color: var(--durazno-2); }
.chip--claro::before { color: var(--crema); }

.boton {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .82rem 1.35rem; border: 1.5px solid transparent; border-radius: 999px;
	font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: translateY(0); }
.boton--grande { padding: 1rem 1.6rem; font-size: 1.05rem; }
.boton--coral { background: var(--coral); color: var(--tinta); box-shadow: 0 10px 24px -12px rgba(246, 108, 102, .9); }
.boton--coral:hover { background: var(--coral-2); box-shadow: 0 14px 28px -12px rgba(242, 85, 79, .95); }
.boton--tinta { background: var(--tinta); color: var(--crema); }
.boton--tinta:hover { background: var(--tinta-2); }
.boton--borde { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.boton--borde:hover { background: var(--tinta); color: var(--crema); }
.boton--claro { background: var(--blanco); color: var(--tinta); }
.boton[disabled], .boton[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.aura {
	position: absolute; inset: 4% 2%; z-index: 0; border-radius: 50%;
	background: radial-gradient(closest-side, var(--durazno-2) 0%, rgba(255, 201, 181, .55) 45%, rgba(255, 225, 211, 0) 100%);
	filter: blur(6px);
	animation: respira 7s ease-in-out infinite;
}
@keyframes respira { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .85; } }

.titulo-seccion { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.titulo-seccion p:last-child { color: var(--gris); }

.palomitas { list-style: none; padding: 0; margin: 1.25rem 0; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.palomitas li { display: flex; align-items: center; gap: .55rem; font-weight: 500; }
.palomitas .icono { width: 1.35rem; height: 1.35rem; padding: .22rem; border-radius: 50%; background: var(--coral); color: var(--tinta); stroke-width: 2.6; }

.rasgos { display: grid; gap: 1.4rem; margin-top: 2rem; }
.rasgo { display: flex; gap: 1rem; align-items: flex-start; }
.rasgo h3 { margin-bottom: .3rem; }
.rasgo p { margin: 0; color: var(--gris); font-size: 1rem; }
.rasgo__icono { flex: none; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--durazno); color: var(--coral-texto); }
.rasgo__icono .icono { width: 1.5rem; height: 1.5rem; }

/* ---------- Cabecera ---------- */

.cabecera {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 247, 240, .88);
	backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.cabecera.con-sombra { border-color: var(--linea); box-shadow: 0 6px 24px -20px rgba(31, 27, 36, .5); }
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--alto-cabecera); }
.cabecera__logo img { width: 168px; height: auto; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .35rem; }
.menu a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .97rem; color: var(--tinta-2); transition: background-color .15s ease, color .15s ease; }
.menu a:hover, .menu a[aria-current] { background: var(--durazno); color: var(--tinta); }
.menu__wa { display: none; }
.cabecera__acciones { display: flex; align-items: center; gap: .6rem; }
.boton-bolsa {
	position: relative; display: inline-flex; align-items: center; gap: .5rem;
	padding: .62rem 1.05rem; border-radius: 999px; background: var(--tinta); color: var(--crema);
	text-decoration: none; font-weight: 600; font-size: .95rem;
}
.boton-bolsa:hover { background: var(--tinta-2); }
.boton-bolsa__cuenta {
	display: grid; place-items: center; min-width: 1.45rem; height: 1.45rem; padding: 0 .35rem;
	border-radius: 999px; background: var(--coral); color: var(--tinta); font-size: .8rem; font-weight: 700;
}
.boton-bolsa.salta { animation: salta .45s ease; }
@keyframes salta { 40% { transform: scale(1.12); } }
.boton-menu { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; border-radius: 12px; }
.boton-menu .icono { width: 1.6rem; height: 1.6rem; }
.boton-menu .icono--cerrar { display: none; }

/* ---------- Héroe ---------- */

.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 0; }
.hero::before {
	/* Huella muy tenue de fondo: textura cálida sin ensuciar el texto */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(60rem 40rem at 85% 10%, #FFEDE3 0%, rgba(255, 237, 227, 0) 60%);
}
.hero__rejilla { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 2rem; }

.hero__lead { font-size: 1.15rem; color: var(--gris); max-width: 36rem; }
.hero__botones { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.2rem; }
.hero__botones--centro { justify-content: center; margin-bottom: 0; }
.hero__confianza { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; }
.hero__confianza li { display: flex; flex-direction: column; line-height: 1.2; }
.hero__confianza strong { font-size: 1.6rem; letter-spacing: -.02em; }
.hero__confianza span { font-size: .9rem; color: var(--gris); }
.hero__visual { position: relative; display: grid; place-items: center; min-height: 560px; isolation: isolate; }
.hero__saco { position: relative; z-index: 1; width: min(420px, 72vw); filter: drop-shadow(0 34px 34px rgba(31, 27, 36, .22)); animation: flota 6s ease-in-out infinite; }
@keyframes flota { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(.5deg); } }
.burbuja {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: .6rem;
	padding: .75rem 1rem; border-radius: 18px; background: var(--blanco); box-shadow: var(--sombra);
	font-size: .92rem; line-height: 1.25;
}
.burbuja .icono { width: 1.6rem; height: 1.6rem; color: var(--coral-texto); }
.burbuja--envio { left: -2%; bottom: 3%; max-width: 15rem; }
.burbuja--precio { right: 2%; top: 12%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--coral); }
.burbuja--precio span { font-size: .82rem; font-weight: 500; }
.burbuja--precio strong { font-size: 1.75rem; letter-spacing: -.02em; }
.huella { position: absolute; z-index: 0; width: 2.4rem; height: 2.4rem; color: var(--coral); opacity: .22; }
.huella--1 { top: 6%; left: 14%; transform: rotate(-24deg); }
.huella--2 { bottom: 4%; right: 10%; transform: rotate(18deg); width: 1.9rem; height: 1.9rem; }
.hero__para { text-align: center; color: var(--gris); font-size: .98rem; padding: 2rem 0 2.4rem; margin: 0 auto; border-top: 1px solid var(--linea); margin-top: 2rem; }

/* ---------- Cinta ---------- */

.cinta { background: var(--tinta); color: var(--crema); overflow: hidden; padding: 1.05rem 0; }
.cinta__pista { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: corre 48s linear infinite; font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.cinta__brillo { width: 1.1rem; height: 1.1rem; color: var(--coral); }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */

.seccion { padding: clamp(4rem, 8vw, 6.75rem) 0; }
/* Los resplandores y las fotos animadas no deben crear scroll horizontal.
   clip (y no hidden) para no romper los elementos "sticky" de adentro. */
.seccion, .cierre, .camino { overflow-x: clip; }
.nosotros, .beneficios { background: var(--blanco); }
.productos, .envios { background: var(--arena); }

.nosotros__rejilla, .porque__rejilla, .mayoreo__rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.nosotros__foto, .porque__foto, .mayoreo__foto { position: relative; margin: 0; }
.nosotros__foto img, .porque__foto img, .mayoreo__foto img { border-radius: 30px; width: 100%; object-fit: cover; box-shadow: var(--sombra); }
.nosotros__foto img { aspect-ratio: 4 / 4.6; }
.nosotros__texto > p:not(.chip) { color: var(--gris); }
.sello {
	position: absolute; left: -1rem; bottom: 2rem; display: flex; flex-direction: column;
	padding: 1.1rem 1.35rem; border-radius: 20px; background: var(--blanco); box-shadow: var(--sombra);
}
.sello strong { font-size: 2.4rem; line-height: 1; letter-spacing: -.03em; color: var(--coral-texto); }
.sello span { font-size: .88rem; color: var(--gris); }

/* Productos */
.productos__rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; max-width: 1040px; margin: 0 auto; }
.producto { display: grid; grid-template-rows: auto 1fr; background: var(--blanco); border-radius: 30px; overflow: hidden; box-shadow: var(--sombra-suave); transition: transform .25s ease, box-shadow .25s ease; }
.producto:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.producto__foto {
	position: relative; display: grid; place-items: end center; height: 360px; padding: 2rem 2rem 1.4rem;
	background: radial-gradient(closest-side, var(--durazno) 0%, rgba(255, 225, 211, 0) 100%) center 60% / 85% 85% no-repeat, linear-gradient(180deg, #FFF3EA 0%, #FFFFFF 100%);
}
.producto__img { height: 300px; width: auto; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(31, 27, 36, .18)); transition: transform .35s ease; }
.producto__img--10 { height: 252px; }
.producto:hover .producto__img { transform: translateY(-6px) rotate(-1deg); }
.producto__etiqueta { position: absolute; top: 1.2rem; left: 1.2rem; padding: .35rem .8rem; border-radius: 999px; background: var(--tinta); color: var(--crema); font-size: .8rem; font-weight: 600; }
.producto__info { padding: 1.6rem 1.75rem 1.9rem; display: flex; flex-direction: column; }
.producto__info h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.producto__info > p { color: var(--gris); font-size: .98rem; }
.producto__info > .precio { color: var(--tinta); }
.precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; margin: .2rem 0 1.25rem; }
.precio strong { font-size: 2.3rem; letter-spacing: -.03em; line-height: 1; }
.precio s { color: var(--gris); font-size: 1.1rem; }
.precio span { color: var(--gris); font-size: .9rem; }
.precio--consulta strong { font-size: 1.5rem; }
.ahorro { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; margin: -.4rem 0 1.2rem; padding: .35rem .8rem; border-radius: 999px; background: var(--durazno); color: var(--tinta); font-size: .88rem; font-weight: 600; }
.ahorro .icono { width: 1rem; height: 1rem; color: var(--coral-texto); stroke-width: 2.6; }
.producto__compra { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: auto; }
.producto__compra .boton { flex: 1 1 12rem; }
.cantidad { display: inline-flex; align-items: center; border: 1.5px solid var(--linea); border-radius: 999px; background: var(--crema); }
.cantidad button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.cantidad button:hover { background: var(--durazno); }
.cantidad input { width: 2.6rem; border: 0; background: none; text-align: center; font-weight: 700; font-size: 1.05rem; -moz-appearance: textfield; appearance: textfield; }
.cantidad input::-webkit-outer-spin-button, .cantidad input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.honesto { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; margin: 2.6rem auto 0; text-align: center; color: var(--tinta-2); }
.honesto span { padding: .25rem .75rem; border-radius: 999px; background: var(--tinta); color: var(--crema); font-size: .82rem; font-weight: 600; }

/* Suscripción */
.suscripcion { background: var(--crema); }
.suscripcion__caja {
	position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
	padding: clamp(2rem, 5vw, 3.5rem); border-radius: 36px;
	background: radial-gradient(40rem 26rem at 90% 0%, #FFD3C2 0%, rgba(255, 211, 194, 0) 70%), linear-gradient(135deg, #FFE9DE 0%, #FFF3EC 60%, #FFE1D3 100%);
	border: 1px solid #F6D3C3;
}
.suscripcion__texto > p:not(.chip) { color: var(--tinta-2); font-size: 1.08rem; }
.suscripcion__ventajas { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .9rem; }
.suscripcion__ventajas li { display: flex; align-items: center; gap: .8rem; font-weight: 500; }
.suscripcion__ventajas span { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 14px; background: var(--tinta); color: var(--coral); }
.planes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.plan { display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem; border-radius: 26px; background: var(--blanco); box-shadow: var(--sombra-suave); }
.plan:first-child { transform: rotate(-1.2deg); }
.plan:last-child { transform: rotate(1.2deg); }
.js .plan[data-revelar].visible:first-child { transform: rotate(-1.2deg); }
.js .plan[data-revelar].visible:last-child { transform: rotate(1.2deg); }
.plan__foto { align-self: center; height: 170px; display: grid; place-items: end center; margin-bottom: .8rem; }
.plan__foto img { height: 160px; width: auto; filter: drop-shadow(0 14px 14px rgba(31, 27, 36, .18)); }
.plan h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.plan__precio { display: flex; align-items: baseline; gap: .2rem; margin: 0; }
.plan__precio strong { font-size: 2.4rem; letter-spacing: -.035em; line-height: 1; }
.plan__precio span { color: var(--gris); font-weight: 600; }
.plan__normal { margin: .35rem 0 .7rem; color: var(--gris); font-size: .92rem; }
.plan .ahorro { margin: 0 0 1.1rem; }
.plan .boton { width: 100%; margin-top: auto; }
.nota--sus { top: -1.4rem; right: 6%; transform: rotate(-5deg) translateY(6px); }
.visible .nota--sus, .nota--sus.visible { transform: rotate(-5deg); }
@media (max-width: 980px) {
	.suscripcion__caja { grid-template-columns: 1fr; }
	.nota--sus { right: 4%; top: -1.2rem; font-size: 1.3rem; }
}
@media (max-width: 560px) {
	.planes { grid-template-columns: 1fr; }
	.plan:first-child, .plan:last-child, .js .plan[data-revelar].visible:first-child, .js .plan[data-revelar].visible:last-child { transform: none; }
}

/* Por qué */
.porque__texto > p:not(.chip) { color: var(--gris); }
.porque__foto img { aspect-ratio: 4 / 4.4; }
.porque__datos { display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; align-items: start; margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--linea); }
.dato-grande { display: flex; flex-direction: column; justify-content: center; min-width: 9.5rem; padding: 1.5rem 1.25rem; border-radius: 22px; background: var(--coral); text-align: center; }
.dato-grande strong { font-size: 3.2rem; line-height: 1; letter-spacing: -.04em; }
.dato-grande span { font-size: .9rem; font-weight: 500; margin-top: .4rem; }
.rasgos--compactos { margin-top: 0; }
.cifras { list-style: none; padding: 2.25rem 0 0; margin: 3.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; border-top: 1px solid var(--linea); text-align: center; }
.cifras strong { display: block; font-size: clamp(2.2rem, 4.5vw, 3.3rem); letter-spacing: -.04em; line-height: 1.05; color: var(--coral-texto); }
.cifras span { color: var(--tinta-2); font-weight: 500; }

/* Beneficios */
.beneficios__rejilla { display: grid; grid-template-columns: 1fr minmax(240px, 340px) 1fr; gap: 2.5rem; align-items: center; }
.beneficios__lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 2.2rem; }
.beneficio { display: flex; gap: 1rem; align-items: flex-start; }
.beneficios__lista:first-child .beneficio { flex-direction: row-reverse; text-align: right; }
.beneficio h3 { margin-bottom: .3rem; }
.beneficio p { margin: 0; color: var(--gris); font-size: .98rem; }
.beneficio__icono { flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 18px; background: var(--tinta); color: var(--coral); }
.beneficio__icono .icono { width: 1.55rem; height: 1.55rem; }
.beneficios__centro { position: relative; display: grid; place-items: center; padding: 1.5rem 0; }
.beneficios__centro img { position: relative; z-index: 1; width: 100%; max-width: 300px; filter: drop-shadow(0 26px 26px rgba(31, 27, 36, .2)); }
.aura--suave { inset: 0 -12%; }
.beneficios__pie { text-align: center; margin: 3rem 0 0; color: var(--tinta-2); font-weight: 500; }

/* Envíos y pagos */
.envios__rejilla { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: start; }
.envios__mapa { position: sticky; top: calc(var(--alto-cabecera) + 1.5rem); }
.envios__mapa img { width: 100%; border-radius: 26px; border: 1px solid var(--linea); box-shadow: var(--sombra-suave); background: var(--blanco); }
.envios__leyenda { display: flex; align-items: center; gap: .55rem; margin: .9rem 0 0; font-size: .92rem; color: var(--gris); }
.punto-zona { width: 1rem; height: 1rem; border-radius: 4px; background: rgba(246, 108, 102, .28); border: 2px solid #E0524C; }
.tarifas { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .75rem; }
.tarifa { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--blanco); border: 1.5px solid var(--linea); border-radius: 20px; }
.tarifa h3 { font-size: 1.02rem; margin: 0 0 .15rem; }
.tarifa p { margin: 0; font-size: .9rem; color: var(--gris); line-height: 1.4; }
.tarifa strong { font-size: 1rem; white-space: nowrap; }
.tarifa__icono { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 14px; background: var(--durazno); color: var(--coral-texto); }
.tarifa--gratis { border-color: var(--coral); box-shadow: 0 10px 26px -18px rgba(246, 108, 102, .9); }
.tarifa--gratis strong { padding: .35rem .8rem; border-radius: 999px; background: var(--coral); }
.calcula { padding: 1.5rem; background: var(--blanco); border-radius: 24px; border: 1.5px solid var(--linea); }
.calcula h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; margin-bottom: .3rem; }
.calcula h3 .icono { color: var(--coral-texto); }
.calcula > p { color: var(--gris); font-size: .95rem; }
.calcula__campos { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1rem; }
.calcula__resultado { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: 14px; background: var(--crema); border: 1px solid var(--linea); font-weight: 500; }
.calcula__resultado.es-gratis { background: #FFE9E1; border-color: var(--coral); }
.pagos { list-style: none; padding: 0; margin: 2.75rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pagos li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.25rem; border-radius: 20px; background: var(--blanco); border: 1.5px solid var(--linea); }
.pagos h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.pagos p { margin: 0; font-size: .92rem; color: var(--gris); line-height: 1.45; }
.pagos__icono { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 14px; background: var(--tinta); color: var(--crema); }

/* Campos de formulario */
.campo { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 500; color: var(--tinta-2); }
.campo--ancho { grid-column: 1 / -1; }
.campo input, .campo select, .campo textarea {
	width: 100%; padding: .78rem .95rem; border: 1.5px solid var(--linea); border-radius: 14px;
	background: var(--crema); font-size: 1rem; font-weight: 400; color: var(--tinta);
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--coral); background: var(--blanco); box-shadow: 0 0 0 4px rgba(246, 108, 102, .18); }
.campo.con-error input, .campo.con-error select { border-color: #C0403B; background: #FFF1EF; }
.campo__error { color: #B3332E; font-size: .84rem; font-weight: 500; }
.campo small { color: var(--gris); font-weight: 400; }

/* Opiniones */
.opiniones__rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.opinion { margin: 0; display: flex; flex-direction: column; padding: 2rem; border-radius: 26px; background: var(--blanco); box-shadow: var(--sombra-suave); }
.opinion__comillas { width: 2.4rem; height: 2.4rem; color: var(--coral); margin-bottom: .6rem; }
.opinion blockquote { margin: 0 0 1.5rem; font-size: 1.06rem; color: var(--tinta-2); }
.opinion figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--linea); }
.opinion figcaption strong { display: block; }
.opinion figcaption small { color: var(--gris); font-size: .88rem; }
.opinion__avatar { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--durazno); color: var(--coral-texto); font-weight: 700; letter-spacing: .02em; }
.opiniones__dato { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 2.5rem 0 0; font-weight: 600; color: var(--tinta-2); }
.opiniones__dato .icono { color: var(--coral); width: 1.4rem; height: 1.4rem; }

/* Mayoreo */
.mayoreo { background: var(--tinta); color: var(--crema); }
.mayoreo h2 { color: var(--blanco); }
.mayoreo__texto > p:not(.chip) { color: #D9CFD4; font-size: 1.08rem; }
.mayoreo__foto img { aspect-ratio: 4 / 4.3; object-position: center 30%; }
.palomitas--claras { flex-direction: column; margin-bottom: 2rem; }

/* Preguntas */
.preguntas__rejilla { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.preguntas__titulo { position: sticky; top: calc(var(--alto-cabecera) + 2rem); }
.ayuda { margin-top: 2rem; padding: 1.5rem; border-radius: 22px; background: var(--arena); }
.ayuda p { color: var(--tinta-2); }
.acordeon details { background: var(--blanco); border: 1.5px solid var(--linea); border-radius: 20px; margin-bottom: .75rem; transition: border-color .2s ease, box-shadow .2s ease; }
.acordeon details[open] { border-color: var(--durazno-2); box-shadow: var(--sombra-suave); }
.acordeon summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon__signo { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--durazno); color: var(--tinta); transition: transform .25s ease, background-color .2s ease; }
.acordeon details[open] .acordeon__signo { transform: rotate(45deg); background: var(--coral); }
.acordeon details p { margin: 0; padding: 0 1.35rem 1.3rem; color: var(--gris); }

/* Cierre */
.cierre { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.cierre__caja { position: relative; overflow: hidden; isolation: isolate; padding: clamp(3rem, 7vw, 5rem) 1.5rem; border-radius: 36px; background: var(--tinta); color: var(--crema); text-align: center; }
.cierre__caja h2 { color: var(--blanco); max-width: 20ch; margin-inline: auto; }
.cierre__caja > p { color: #D9CFD4; font-size: 1.1rem; }
.aura--cierre { inset: auto; width: 40rem; height: 40rem; left: 50%; top: 115%; translate: -50% -50%; opacity: .16; z-index: -1; }

/* ---------- Pie ---------- */

.pie { background: var(--noche); color: #CFC5CB; padding: 4.5rem 0 0; font-size: .97rem; }
.pie__rejilla { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 2.5rem; }
.pie__marca img { width: 180px; margin-bottom: 1.25rem; }
.pie h2 { font-size: 1.05rem; color: var(--blanco); letter-spacing: 0; margin-bottom: 1rem; }
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.pie a { text-decoration: none; color: #CFC5CB; transition: color .15s ease; }
.pie a:hover { color: var(--coral); }
.pie__social { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
.pie__wa { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: 1.1rem; color: var(--blanco) !important; margin-bottom: 1rem; }
.pie__wa .icono { color: var(--coral); width: 1.4rem; height: 1.4rem; }
.pie__nota { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.pie__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3.5rem; padding: 1.5rem 0 2rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.pie__legal p { margin: 0; }

/* ---------- Flotantes ---------- */

.wa-flotante {
	position: fixed; right: max(1.1rem, env(safe-area-inset-right)); bottom: max(1.1rem, env(safe-area-inset-bottom)); z-index: 60;
	display: flex; align-items: center; gap: 0; height: 3.6rem; padding: 0 .95rem; border-radius: 999px;
	background: #25D366; color: var(--blanco); text-decoration: none; font-weight: 600;
	box-shadow: 0 14px 30px -12px rgba(18, 140, 126, .8);
	transition: transform .2s ease, bottom .25s ease, gap .3s ease;
}
.wa-flotante__texto { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s ease; }
.wa-flotante:hover .wa-flotante__texto, .wa-flotante.abierto .wa-flotante__texto { max-width: 12rem; }
.wa-flotante:hover, .wa-flotante.abierto { gap: .55rem; }
.wa-flotante::after { content: ""; position: absolute; inset: -5px; border-radius: 999px; border: 2px solid #25D366; opacity: .7; animation: pulso 2.6s ease-out infinite; }
@keyframes pulso { 0% { transform: scale(.9); opacity: .8; } 80%, 100% { transform: scale(1.25); opacity: 0; } }
.wa-flotante .icono { width: 1.75rem; height: 1.75rem; }
.wa-flotante:hover { transform: scale(1.06); }
body.con-barra .wa-flotante { bottom: calc(max(1.1rem, env(safe-area-inset-bottom)) + 5.2rem); }

.barra-pedido {
	position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 55; translate: -50% 0;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	width: min(560px, calc(100% - 2rem)); padding: .6rem .6rem .6rem 1.2rem;
	background: var(--blanco); border-radius: 20px; box-shadow: 0 20px 50px -18px rgba(31, 27, 36, .55);
	animation: sube .35s ease;
}
.barra-pedido__info { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.barra-pedido__info .icono { color: var(--coral-texto); width: 1.4rem; height: 1.4rem; }
@keyframes sube { from { transform: translateY(120%); opacity: 0; } }

.aviso {
	position: fixed; left: 50%; top: calc(var(--alto-cabecera) + 1rem); z-index: 70; translate: -50% 0;
	display: flex; align-items: center; gap: .6rem; max-width: calc(100% - 2rem);
	padding: .85rem 1.2rem; border-radius: 16px; background: var(--tinta); color: var(--crema);
	box-shadow: var(--sombra); font-weight: 500; animation: baja .3s ease;
}
.aviso .icono { color: var(--coral); }
@keyframes baja { from { transform: translateY(-12px); opacity: 0; } }

/* ---------- Carrito lateral ---------- */

.carrito { position: fixed; inset: 0; z-index: 95; }
.carrito__fondo { position: absolute; inset: 0; background: rgba(31, 27, 36, .45); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s ease; }
.carrito__panel {
	position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%);
	display: flex; flex-direction: column; background: var(--crema);
	box-shadow: -24px 0 60px -20px rgba(31, 27, 36, .45);
	transform: translateX(104%); transition: transform .38s cubic-bezier(.2, .8, .2, 1);
	padding-top: env(safe-area-inset-top);
}
.carrito.abierto .carrito__fondo { opacity: 1; }
.carrito.abierto .carrito__panel { transform: none; }
.carrito__cabeza { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--linea); }
.carrito__cabeza h2 { display: flex; align-items: center; gap: .55rem; margin: 0; font-size: 1.3rem; }
.carrito__cabeza h2 .icono { color: var(--coral-texto); }
.carrito__cerrar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: var(--blanco); cursor: pointer; }
.carrito__cerrar:hover { background: var(--durazno); }
.carrito__agregado { display: flex; align-items: center; gap: .55rem; margin: 0; padding: .85rem 1.3rem; background: var(--tinta); color: var(--crema); font-weight: 500; animation: baja .35s ease; }
.carrito__agregado .icono { color: var(--coral); flex: none; }
.carrito__cuerpo { flex: 1; overflow-y: auto; padding: 1.1rem 1.3rem; overscroll-behavior: contain; }
.carrito__lineas { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.carrito__linea { display: grid; grid-template-columns: 4.2rem 1fr auto; gap: .9rem; align-items: center; padding: .8rem; border-radius: 18px; background: var(--blanco); border: 1px solid var(--linea); }
.carrito__linea.nuevo { animation: resalta 1.2s ease; }
@keyframes resalta { 0% { box-shadow: 0 0 0 0 rgba(246, 108, 102, .6); } 100% { box-shadow: 0 0 0 14px rgba(246, 108, 102, 0); } }
.carrito__linea img { width: 4.2rem; height: 4.2rem; object-fit: contain; }
.carrito__linea h3 { font-size: 1rem; margin: 0 0 .15rem; }
.carrito__linea p { margin: 0 0 .5rem; font-size: .88rem; color: var(--gris); }
.carrito__linea .cantidad button { width: 2.3rem; height: 2.3rem; }
.carrito__linea .cantidad input { width: 2.2rem; font-size: .98rem; }
.carrito__lado { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; align-self: stretch; justify-content: space-between; }
.carrito__importe { font-weight: 700; }
.carrito__quitar { border: 0; background: none; color: var(--gris); font-size: .82rem; text-decoration: underline; cursor: pointer; padding: 0; }
.carrito__quitar:hover { color: var(--coral-texto); }
.carrito__vacio { text-align: center; padding: 3rem 1rem; color: var(--gris); }
.carrito__huella { width: 2.6rem; height: 2.6rem; color: var(--durazno-2); margin: 0 auto .8rem; }
.carrito__sus { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1rem; padding: 1rem; border-radius: 18px; background: #FFF0EA; border: 1.5px dashed var(--coral); text-decoration: none; color: var(--tinta); font-size: .93rem; line-height: 1.45; }
.carrito__sus .icono { flex: none; width: 1.6rem; height: 1.6rem; color: var(--coral-texto); }
.carrito__sus strong { color: var(--coral-texto); }
.carrito__pie { display: grid; gap: .65rem; padding: 1.1rem 1.3rem calc(1.1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); background: var(--blanco); }
.carrito__pie dl { display: flex; justify-content: space-between; margin: 0; font-size: 1.15rem; }
.carrito__pie dt { color: var(--tinta-2); }
.carrito__pie dd { margin: 0; font-weight: 700; }
.carrito__envio { display: flex; gap: .5rem; align-items: flex-start; margin: 0; font-size: .86rem; color: var(--gris); }
.carrito__envio .icono { color: var(--coral-texto); flex: none; margin-top: .1rem; }
.carrito__pie .boton { width: 100%; }
body.carrito-abierto { overflow: hidden; }
body.carrito-abierto .wa-flotante, body.carrito-abierto .barra-pedido { visibility: hidden; }

/* ---------- Pedido (checkout) ---------- */

.pagina-pedido { padding: clamp(2rem, 5vw, 3.5rem) 0 5rem; }
.pagina-pedido h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.migas { font-size: .9rem; color: var(--gris); margin-bottom: 1rem; }
.migas a { color: var(--gris); }
.pedido__rejilla { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.paso { padding: 1.75rem; margin-bottom: 1.25rem; background: var(--blanco); border: 1.5px solid var(--linea); border-radius: 26px; }
.paso__titulo { display: flex; align-items: center; gap: .75rem; font-size: 1.3rem; margin-bottom: 1.2rem; }
.paso__num { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--tinta); color: var(--crema); font-size: 1rem; }
.lineas { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.linea { display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center; gap: 1rem; padding: .8rem; border-radius: 18px; background: var(--crema); }
.linea img { width: 4.5rem; height: 4.5rem; object-fit: contain; }
.linea h3 { font-size: 1.02rem; margin: 0 0 .15rem; }
.linea p { margin: 0; font-size: .9rem; color: var(--gris); }
.linea__lado { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.linea__importe { font-weight: 700; }
.linea--agregar { grid-template-columns: 4.5rem 1fr auto; background: none; border: 1.5px dashed var(--linea); }
.vacio { text-align: center; padding: 2rem 1rem; color: var(--gris); }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.opciones { display: grid; gap: .75rem; }
.opcion { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center; padding: 1rem 1.15rem; border: 1.5px solid var(--linea); border-radius: 18px; cursor: pointer; background: var(--crema); transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.opcion input { position: absolute; opacity: 0; pointer-events: none; }
.opcion__icono { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 14px; background: var(--blanco); color: var(--tinta); }
.opcion strong { display: block; }
.opcion small { color: var(--gris); font-size: .88rem; }
.opcion:has(input:checked) { border-color: var(--coral); background: #FFF0EA; box-shadow: 0 0 0 3px rgba(246, 108, 102, .16); }
.opcion:has(input:checked) .opcion__icono { background: var(--coral); }
.opcion:has(input:focus-visible) { outline: 3px solid var(--coral); outline-offset: 2px; }
.opcion.desactivada { opacity: .5; cursor: not-allowed; }
.cotizacion { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 16px; background: var(--crema); border: 1px solid var(--linea); }
.cotizacion .icono { width: 1.5rem; height: 1.5rem; color: var(--coral-texto); flex: none; margin-top: .1rem; }
.cotizacion.es-gratis { background: #FFE9E1; border-color: var(--coral); }
.cotizacion.cargando { opacity: .7; }
.casilla { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--tinta-2); }
.casilla input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--coral); flex: none; }
.resumen { position: sticky; top: calc(var(--alto-cabecera) + 1.25rem); padding: 1.75rem; border-radius: 26px; background: var(--tinta); color: var(--crema); }
.resumen h2 { font-size: 1.35rem; color: var(--blanco); }
.resumen dl { margin: 0 0 1.25rem; display: grid; grid-template-columns: 1fr auto; gap: .65rem 1rem; }
.resumen dt { color: #CFC5CB; }
.resumen dd { margin: 0; text-align: right; font-weight: 600; }
.resumen .total { padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 1.25rem; color: var(--blanco); }
.resumen .boton { width: 100%; }
.resumen a { color: var(--durazno-2); }
.resumen__legal { margin: .8rem 0 0; font-size: .82rem; color: #CFC5CB; text-align: center; }
.resumen .campo__error { color: #FFB4AE; }
.resumen__nota { display: flex; gap: .5rem; align-items: flex-start; margin: 1rem 0 0; font-size: .86rem; color: #CFC5CB; }
.resumen__nota .icono { color: var(--coral); margin-top: .15rem; }
.error-general { padding: .9rem 1rem; border-radius: 14px; background: #FFF1EF; color: #8E2420; border: 1px solid #F3B7B3; font-weight: 500; margin-bottom: 1rem; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Formulario de suscripción */
.opcion--plan { grid-template-columns: auto auto 1fr; }
.opcion--plan img { width: 3.2rem; height: auto; filter: drop-shadow(0 6px 6px rgba(31, 27, 36, .15)); }
.en-fila-cant { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .8rem 1rem; border-radius: 16px; background: var(--crema); font-weight: 600; }
.aviso-sus { display: flex; gap: .9rem; align-items: flex-start; padding: 1.3rem 1.4rem; margin-bottom: 1.25rem; border-radius: 22px; background: var(--tinta); color: var(--crema); }
.aviso-sus .icono { width: 1.8rem; height: 1.8rem; color: var(--coral); flex: none; }
.aviso-sus h2 { color: var(--blanco); font-size: 1.15rem; margin-bottom: .3rem; }
.aviso-sus p { margin: 0; color: #E2D9DE; }

/* Confirmación */
.listo { max-width: 760px; margin: 0 auto; }
.listo__cabeza { text-align: center; margin-bottom: 2rem; }
.listo__sello { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--coral); color: var(--tinta); }
.listo__sello .icono { width: 2.2rem; height: 2.2rem; stroke-width: 2.4; }
.listo__sello--espera { background: var(--durazno); }
.listo__folio { display: inline-block; padding: .3rem .9rem; border-radius: 999px; background: var(--tinta); color: var(--crema); font-weight: 600; letter-spacing: .03em; }
.tarjeta-info { padding: 1.6rem; margin-bottom: 1.25rem; border-radius: 24px; background: var(--blanco); border: 1.5px solid var(--linea); }
.tarjeta-info h2 { font-size: 1.25rem; }
.tarjeta-info dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; margin: 0; }
.tarjeta-info dt { color: var(--gris); }
.tarjeta-info dd { margin: 0; font-weight: 600; word-break: break-word; }
.tarjeta-info--destacada { background: #FFF0EA; border-color: var(--coral); }

/* CLABE copiable. El ícono va pegado al número y centrado a la altura del
   texto; nowrap evita que se separen, porque número e ícono son un solo botón. */
.copiable { position: relative; }
.copiar { display: inline-flex; align-items: center; gap: .45em; margin: -.2em -.4em; padding: .2em .4em; border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; text-align: left; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .2s; }
.copiar:hover, .copiar:focus-visible, .copiar.copiado { background: #FFF0EA; }
.copiar:focus-visible { outline: 2px solid var(--coral); outline-offset: 1px; }
.copiar__icono { position: relative; flex: none; width: 1.15em; height: 1.15em; color: var(--coral); }
.copiar__icono .icono { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .2s, transform .2s; }
.copiar__icono .icono + .icono, .copiar.copiado .copiar__icono .icono:first-child { opacity: 0; transform: scale(.5); }
.copiar.copiado .copiar__icono .icono + .icono { opacity: 1; transform: none; }
.copiar__aviso { position: absolute; left: 0; bottom: calc(100% + .5rem); padding: .3rem .75rem; border-radius: 999px; background: var(--tinta); color: var(--crema); font-size: .8rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; pointer-events: none; }
.copiar__aviso.visible { opacity: 1; transform: none; }
@media (max-width: 440px) {
	/* En celular la CLABE no cabe junto a su etiqueta (en 360 px se partía en
	   dos renglones): baja a su propio renglón, entera y con el ícono al lado. */
	.tarjeta-info dt.dt-copiable { grid-column: 1 / -1; margin-bottom: -.25rem; }
	.tarjeta-info dd.copiable { grid-column: 1 / -1; font-size: 1.08em; }
}
@media (prefers-reduced-motion: reduce) { .copiar, .copiar__icono .icono, .copiar__aviso { transition: none; } }

/* Páginas de texto legal */
.texto-legal { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) 0 5rem; }
.texto-legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.texto-legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.texto-legal p, .texto-legal li { color: var(--tinta-2); }
.texto-legal .fecha { color: var(--gris); }

/* ---------- Adaptación a pantallas ---------- */

@media (max-width: 1080px) {
	.menu a { padding: .5rem .55rem; font-size: .92rem; }
}

@media (max-width: 980px) {
	:root { --alto-cabecera: 66px; }
	.cabecera__logo img { width: 146px; }
	.boton-menu { display: inline-grid; }
	.boton-bolsa__texto { display: none; }
	.menu {
		position: fixed; inset: var(--alto-cabecera) 0 auto 0; z-index: 49;
		padding: 1rem 1.25rem 1.5rem; background: var(--crema); border-bottom: 1px solid var(--linea);
		box-shadow: 0 30px 40px -30px rgba(31, 27, 36, .45);
		transform: translateY(-110%); visibility: hidden; transition: transform .25s ease, visibility .25s;
	}
	.menu ul { flex-direction: column; align-items: stretch; gap: .2rem; }
	.menu a { padding: .85rem 1rem; font-size: 1.05rem; border-radius: 14px; }
	.menu__wa { display: block; margin-top: .5rem; }
	.menu__wa a { background: var(--tinta); color: var(--crema); justify-content: center; }
	body.menu-abierto .menu { transform: none; visibility: visible; }
	body.menu-abierto .boton-menu .icono--abrir { display: none; }
	body.menu-abierto .boton-menu .icono--cerrar { display: block; }

	.hero__rejilla, .nosotros__rejilla, .porque__rejilla, .mayoreo__rejilla, .envios__rejilla, .preguntas__rejilla, .pedido__rejilla { grid-template-columns: 1fr; }
	.hero__visual { min-height: 420px; order: -1; }
	.hero__saco { width: min(300px, 64vw); }
	.burbuja--envio { left: 0; bottom: 6%; }
	.burbuja--precio { right: 0; top: 8%; }
	.hero__botones { margin: 1.6rem 0 1.8rem; }
	.porque__foto { order: -1; }
	.porque__foto img, .nosotros__foto img { aspect-ratio: 4 / 3.4; }
	.sello { left: 1rem; bottom: 1rem; }
	.mayoreo__foto img { aspect-ratio: 16 / 10; }
	.beneficios__rejilla { grid-template-columns: 1fr; }
	.beneficios__centro { order: -1; }
	.beneficios__centro img { max-width: 220px; }
	.beneficios__lista:first-child .beneficio { flex-direction: row; text-align: left; }
	.beneficios__lista { gap: 1.5rem; }
	.cifras { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
	.opiniones__rejilla, .pagos { grid-template-columns: 1fr; }
	.preguntas__titulo { position: static; }
	.pie__rejilla { grid-template-columns: 1fr 1fr; }
	.pie__marca { grid-column: 1 / -1; }
	.resumen { position: static; }
}

@media (max-width: 680px) {
	body { font-size: 1rem; }
	.contenedor { width: min(var(--ancho), 100% - 2rem); }
	.productos__rejilla { grid-template-columns: 1fr; }
	.producto__foto { height: 300px; }
	.producto__img { height: 250px; }
	.producto__img--10 { height: 212px; }
	.hero__confianza { gap: 1rem 1.6rem; }
	.hero__confianza strong { font-size: 1.35rem; }
	.hero__botones .boton { flex: 1 1 100%; }
	.burbuja { font-size: .84rem; padding: .6rem .8rem; }
	.burbuja--envio { max-width: 12rem; }
	.burbuja--precio strong { font-size: 1.4rem; }
	.porque__datos { grid-template-columns: 1fr; }
	.calcula__campos, .campos { grid-template-columns: 1fr; }
	.tarifa { grid-template-columns: auto 1fr; }
	.tarifa strong { grid-column: 2; justify-self: start; }
	.pie__rejilla { grid-template-columns: 1fr; }
	.pie__legal { flex-direction: column; }
	.linea { grid-template-columns: 3.5rem 1fr; }
	.linea img { width: 3.5rem; height: 3.5rem; }
	.linea__lado { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
	.paso, .resumen { padding: 1.35rem; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.cinta__pista { animation: none; }
}


/* =====================================================================
   Detalles hechos a mano y animaciones
   El dueño pidió que no se vea como "la típica página hecha con IA":
   trazos dibujados, notas manuscritas, huellas y movimiento con intención.
   Todo se apaga con prefers-reduced-motion (al final del archivo).
   ===================================================================== */

/* Grano de papel muy tenue: quita lo plano del color sólido */
body::after {
	content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* Subrayado trazado a mano que se dibuja solo */
.trazo { position: relative; display: inline-block; font-style: normal; white-space: nowrap; }
.trazo__linea { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .42em; overflow: visible; pointer-events: none; }
.trazo__linea path { fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; }
.trazo--chico .trazo__linea { bottom: -.3em; height: .5em; }
.trazo--chico .trazo__linea path { stroke-width: 5; }
.visible .trazo__linea path, .trazo.visible .trazo__linea path { animation: dibuja 1.1s cubic-bezier(.65, 0, .35, 1) .45s forwards; }
@keyframes dibuja { to { stroke-dashoffset: 0; } }

/* Notas escritas a mano con flecha */
.nota {
	position: absolute; z-index: 3; margin: 0; font-family: "Caveat", "Segoe Print", cursive; font-weight: 600;
	font-size: 1.55rem; line-height: 1; color: var(--coral-texto); white-space: nowrap; pointer-events: none;
	opacity: 0; transform: rotate(-6deg) translateY(6px); transition: opacity .6s ease 1.1s, transform .6s ease 1.1s;
}
.nota__flecha { position: absolute; width: 3.6rem; height: 2.8rem; overflow: visible; }
.nota__flecha path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset .8s ease 1.5s; }
.visible .nota, .nota.visible { opacity: 1; transform: rotate(-6deg); }
.visible .nota .nota__flecha path, .nota.visible .nota__flecha path { stroke-dashoffset: 0; }
.nota--hero { top: 2%; left: -2%; }
.nota--hero .nota__flecha { left: 62%; top: 1.3rem; }
.nota--mapa { top: -1.2rem; right: 6%; transform: rotate(4deg) translateY(6px); }
.visible .nota--mapa, .nota--mapa.visible { transform: rotate(4deg); }
.nota--mapa .nota__flecha { right: 20%; top: 1.4rem; transform: scaleX(-1); }
/* sticky también sirve de referencia para la nota (position: absolute) */
@media (max-width: 980px) { .envios__mapa { position: relative; top: auto; } }
.nota--cierre { top: -3.2rem; right: 14%; font-size: 2rem; color: var(--coral); transform: rotate(8deg) translateY(6px); }
.visible .nota--cierre { transform: rotate(8deg); }

/* Aparición al hacer scroll (solo si hay JS: sin JS todo se ve normal) */
.js [data-revelar] {
	opacity: 0; transform: translateY(26px);
	transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
	transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-revelar].visible { opacity: 1; transform: none; }
/*
 * Fotos: una "cortina" del color de la sección se recoge hacia abajo.
 * No se usa clip-path sobre la foto: Chrome la considera invisible, el
 * observador nunca dispara y la imagen diferida nunca se descarga.
 */
.js [data-revelar="foto"] { opacity: 1; transform: none; }
.js [data-revelar="foto"]::after {
	content: ""; position: absolute; inset: -2px; z-index: 2; border-radius: 32px;
	background: var(--cortina, var(--crema)); transform-origin: 50% 100%;
	transition: transform 1.1s cubic-bezier(.7, 0, .2, 1);
}
.js [data-revelar="foto"].visible::after { transform: scaleY(0); }
.js [data-revelar="foto"] img { transform: scale(1.06); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.js [data-revelar="foto"].visible img { transform: none; }
.nosotros { --cortina: var(--blanco); }
.porque { --cortina: var(--crema); }
.mayoreo { --cortina: var(--tinta); }
.sello { z-index: 3; }
.js .nosotros__foto .sello { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .6s ease .8s, transform .6s ease .8s; }
.js .nosotros__foto.visible .sello { opacity: 1; transform: none; }
.js .hero [data-revelar] { transform: translateY(18px); }
.js .burbuja[data-revelar] { transform: translateY(14px) scale(.94); }
.js .burbuja[data-revelar].visible { transform: none; }

/* Saco del héroe: se inclina siguiendo el mouse */
.hero__inclina { position: relative; z-index: 1; transform: perspective(900px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.hero__inclina .hero__saco { width: min(420px, 72vw); }
.producto { transform: perspective(1000px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
.producto.visible:hover { transform: perspective(1000px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) translateY(-4px); }

/* Huellas que cruzan entre secciones */
.camino { display: flex; justify-content: center; gap: clamp(.9rem, 3vw, 2.2rem); padding: 2.4rem 0 0; background: var(--crema); color: var(--coral); }
.camino__huella { width: 1.6rem; height: 1.6rem; opacity: .18; }
.camino__huella:nth-child(odd) { transform: translateY(-.7rem) rotate(80deg); }
.camino__huella:nth-child(even) { transform: translateY(.7rem) rotate(100deg); }
.js .camino[data-revelar] { opacity: 1; transform: none; }
.js .camino .camino__huella { opacity: 0; transition: opacity .3s ease; }
.js .camino.visible .camino__huella { opacity: .28; }
.js .camino.visible .camino__huella:nth-child(1) { transition-delay: .0s; }
.js .camino.visible .camino__huella:nth-child(2) { transition-delay: .18s; }
.js .camino.visible .camino__huella:nth-child(3) { transition-delay: .36s; }
.js .camino.visible .camino__huella:nth-child(4) { transition-delay: .54s; }
.js .camino.visible .camino__huella:nth-child(5) { transition-delay: .72s; }
.js .camino.visible .camino__huella:nth-child(6) { transition-delay: .9s; }
.js .camino.visible .camino__huella:nth-child(7) { transition-delay: 1.08s; }
.js .camino.visible .camino__huella:nth-child(8) { transition-delay: 1.26s; }

/* Ondas alrededor de la sección oscura */
.mayoreo { position: relative; margin: 3.5rem 0; }
.ola { position: absolute; left: 0; width: 100%; height: clamp(28px, 4.5vw, 64px); color: var(--tinta); fill: currentColor; pointer-events: none; }
.ola--arriba { bottom: calc(100% - 1px); }
.ola--abajo { top: calc(100% - 1px); }

/* Orejas de gato sobre la caja final, como las del logo */
.cierre__marco { position: relative; padding-top: 3rem; }
.oreja { position: absolute; top: 1.1rem; z-index: 0; width: 6.5rem; height: 6.5rem; background: var(--tinta); border-radius: 1.2rem .35rem; transform-origin: 50% 100%; }
.oreja::after { content: ""; position: absolute; inset: 1.25rem 1.6rem 1.6rem 1.25rem; border-radius: .8rem .25rem; background: var(--coral); }
.oreja--izq { left: 12%; transform: rotate(45deg) skew(8deg, 8deg); }
.oreja--der { right: 12%; transform: rotate(45deg) skew(8deg, 8deg); }
.cierre__marco .cierre__caja { z-index: 1; }
.cierre:hover .oreja--izq { animation: oreja-izq .7s ease; }
.cierre:hover .oreja--der { animation: oreja-der .7s ease .1s; }
@keyframes oreja-izq { 30% { transform: rotate(35deg) skew(8deg, 8deg); } 60% { transform: rotate(50deg) skew(8deg, 8deg); } }
@keyframes oreja-der { 30% { transform: rotate(55deg) skew(8deg, 8deg); } 60% { transform: rotate(40deg) skew(8deg, 8deg); } }
.nota--cierre { z-index: 2; }

/* Botones: la flecha avanza un poco al pasar el mouse */
.boton .icono { transition: transform .2s ease; }
.boton:hover svg:last-child:not(:first-child) { transform: translateX(3px); }

/* Cabecera que se esconde al bajar y vuelve al subir */
.cabecera { transition: transform .35s ease, border-color .2s ease, box-shadow .2s ease; }
.cabecera.oculta { transform: translateY(-100%); }
body.menu-abierto .cabecera.oculta { transform: none; }

/* Saquito que vuela a "Mi pedido" */
.vuela { position: fixed; z-index: 80; pointer-events: none; width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(31, 27, 36, .25)); }

/* Acordeón que se abre suave en navegadores que ya lo permiten */
@supports (interpolate-size: allow-keywords) {
	:root { interpolate-size: allow-keywords; }
	.acordeon details::details-content { block-size: 0; overflow-y: clip; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
	.acordeon details[open]::details-content { block-size: auto; }
}

@media (max-width: 980px) {
	.nota--hero { top: 0; left: 0; font-size: 1.3rem; }
	.nota--hero .nota__flecha { display: none; }
	.oreja { width: 4.6rem; height: 4.6rem; top: 1.7rem; }
	.oreja::after { inset: .9rem 1.15rem 1.15rem .9rem; }
	.nota--cierre { right: 8%; font-size: 1.7rem; }
	.nota--mapa { right: 2%; font-size: 1.35rem; }
}
@media (max-width: 680px) {
	.wa-flotante { height: 3.4rem; padding: 0 .85rem; }
	.wa-flotante__texto { display: none; }
	.camino { padding-top: 1.6rem; }
	.camino__huella { width: 1.25rem; height: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
	.js [data-revelar], .js [data-revelar="foto"], .js [data-revelar="foto"] img, .js .nosotros__foto .sello, .nota, .js .camino .camino__huella { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.trazo__linea path, .nota__flecha path { stroke-dashoffset: 0 !important; }
	.hero__inclina, .producto { transform: none !important; }
}
