/* =========================================================
   PORTADA — reconstrucción de la composición aprobada (lienzo 1672 × 941)
   En escritorio todo se mide en "u" = 1 px del lienzo, escalado al ancho de pantalla,
   para conservar proporciones exactas entre 1025 px y 1920 px.
   ========================================================= */
:root {
  --u: calc(min(100vw, 1920px) / 1672);
  --verde: #416619;
  --verde-osc: #2f4c10;
  --verde-txt: #4a6d1f;
  --tinta: #2f2516;
  --tinta-desc: #473217;
  --dorado-linea: #d6bf93;
  --f-display: 'Playfair Display', 'Georgia', serif;
  --f-serif: 'Gelasio', 'Georgia', serif;
}

/* ---------- Cabecera sobre la foto ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: calc(92 * var(--u)); background: rgba(251, 244, 234, .82); border-bottom: 1px solid rgba(160, 130, 80, .18); }
.site-header.scrolled { background: rgba(251, 244, 234, .95); }
html { scroll-padding-top: calc(92 * var(--u) + 10px); }
.header-inner { width: 100%; padding: 0 calc(82 * var(--u)) 0 calc(96 * var(--u)); gap: 0; }
.brand { display: block; height: calc(84 * var(--u)); margin-right: calc(84 * var(--u)); }
.brand img { height: 100%; width: auto; }
.main-nav { flex: 1; }
.main-nav > ul { gap: 0; justify-content: flex-start; }
.main-nav > ul > li { margin-right: calc(54 * var(--u)); }
.main-nav a { font: 400 calc(22 * var(--u))/1 var(--f-serif); color: #3b3122; padding: calc(10 * var(--u)) 0 calc(14 * var(--u)); }
.main-nav a[aria-current="page"] { font-weight: 700; color: var(--verde); }
.main-nav a::after { height: calc(3 * var(--u)); min-height: 2px; background: var(--verde); bottom: 0; }
.chev { width: calc(13 * var(--u)); height: calc(13 * var(--u)); min-width: 10px; min-height: 10px; }
.header-actions { gap: calc(24 * var(--u)); }
.icon-btn { width: calc(46 * var(--u)); height: calc(46 * var(--u)); min-width: 40px; min-height: 40px; }
.icon-btn svg { width: calc(30 * var(--u)); height: calc(30 * var(--u)); min-width: 22px; min-height: 22px; stroke: #3b3122; }
.cart-count { background: var(--verde); }

/* ---------- Bloque portada ---------- */
.portada { position: relative; height: calc(1300 * var(--u)); overflow: hidden; isolation: isolate; background: #faf0e4; }
.pt-bg { position: absolute; left: 0; right: 0; top: 0; height: calc(941 * var(--u)); z-index: -1; overflow: hidden; }
.pt-escena-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pt-bg-move { position: absolute; inset: 0; transform: scale(1.02); transform-origin: 50% 30%; will-change: transform; }
.pt-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-light { position: absolute; inset: 0; background: repeating-linear-gradient(118deg, transparent 0 calc(90 * var(--u)), rgba(255, 246, 220, .55) calc(125 * var(--u)), transparent calc(210 * var(--u))); mix-blend-mode: soft-light; opacity: .45; animation: rays 16s ease-in-out infinite alternate; }
@keyframes rays { to { transform: translateX(4%); opacity: .7; } }
/* la escena se funde en crema al final (bajo la barra de beneficios) */
.pt-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250, 240, 228, 0) 0, rgba(250, 240, 228, 0) 84%, rgba(250, 240, 228, .75) 94%, #faf0e4 100%); }

/* ---------- Hero ---------- */
.hero { position: absolute; inset: 0 0 auto 0; height: calc(700 * var(--u)); }
.hero-stage { display: none; } /* en escritorio la escena completa es el fondo */
.hero-product { width: 100%; height: 100%; display: block; filter: drop-shadow(0 calc(18 * var(--u)) calc(22 * var(--u)) rgba(90, 70, 30, .18)); will-change: transform; }
@keyframes entra { from { opacity: 0; transform: translateY(calc(30 * var(--u))) scale(.97); } }
.hero-copy { position: absolute; left: calc(115 * var(--u)); top: calc(190 * var(--u)); width: calc(560 * var(--u)); }
/* título de marca en texto real (Lora), centrado, con tallo y hoja de donde cae la gota */
.hero-titulo { position: relative; margin: 0; width: calc(560 * var(--u)); --caida: calc(400 * var(--u)); line-height: 1; text-align: center; container-type: inline-size; padding-bottom: 3cqw; }
.titulo-texto .t-ceja { display: flex; align-items: center; justify-content: center; gap: 2.6cqw; font: 600 max(10px, 4.1cqw)/1 'Lora', Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: #6b4423; margin: 0 0 2.6cqw; }
.titulo-texto .t-ceja::before, .titulo-texto .t-ceja::after { content: ''; flex: 0 0 10cqw; height: 1px; background: #9a7a52; }
.titulo-texto .t-1, .titulo-texto .t-2 { white-space: nowrap; font-family: 'Lora', Georgia, serif; font-style: italic; color: #6a3f1c;
  background: linear-gradient(180deg, #8a5a2e 0%, #6a3f1c 55%, #4f2c12 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.titulo-texto .t-1 { display: block; font-weight: 600; font-size: 12.6cqw; line-height: 1.08; letter-spacing: -.012em; }
/* "para tu Piel" + tallo + hoja + gota: todo medido en em de esta línea para que escale igual en celular */
.titulo-texto .t-2w { position: relative; display: inline-block; font-size: 10.4cqw; margin: .02em .55em 0 0; text-align: left; }
.titulo-texto .t-2 { display: block; font-weight: 500; font-size: 1em; line-height: 1.05; padding: 0 .12em .28em; margin: 0 -.12em -.28em; }
/* el texto con degradado solo se pinta dentro de su caja: se amplía para que la cola de la "p" y la cursiva no se corten */
.titulo-texto .t-1 { padding: 0 .12em .12em; margin-left: -.12em; margin-right: -.12em; margin-bottom: -.12em; }
.titulo-texto .t-tallo { position: absolute; left: -.76em; top: 1.02em; width: calc(6.22em + var(--dx, 0em)); height: .63em; pointer-events: none; }
/* hoja animada: los 8 cuadros del GIF de Miguel (180 ms c/u); la gota se desprende en el cuadro 7 y cae despacio hasta el mármol con ondas. Ciclo 4.2 s */
.titulo-texto .t-hoja-anim { position: absolute; left: calc(5.37em + var(--dx, 0em)); top: .23em; width: 1.796em; aspect-ratio: 350 / 351; background: url('/assets/img/portada/titulo-hoja-sprite.webp') 0 0 / 800% 100% no-repeat; transform: rotate(9deg); transform-origin: .57% 53.6%; pointer-events: none; animation: hoja-gota 4.2s step-end infinite; }
@keyframes hoja-gota {
  0.000% { background-position: 0.0000% 0; }
  4.286% { background-position: 14.2857% 0; }
  8.571% { background-position: 28.5714% 0; }
  12.857% { background-position: 42.8571% 0; }
  17.143% { background-position: 57.1429% 0; }
  21.429% { background-position: 71.4286% 0; }
  25.714% { background-position: 85.7143% 0; }
  30.000% { background-position: 100.0000% 0; }
  34.286%, 100% { background-position: 0 0; }
}
.titulo-texto .t-gota-cae { position: absolute; left: calc(5.575em + var(--dx, 0em)); top: 1.592em; width: .2566em; height: auto; opacity: 0; pointer-events: none; --caida-gota: calc(424 * var(--u)); animation: gota-cae 4.2s linear infinite; }
@keyframes gota-cae {
  0%, 25.6% { opacity: 0; transform: translateY(0); }
  25.71% { opacity: 1; transform: translateY(0); animation-timing-function: cubic-bezier(.42, 0, .9, .6); }
  50% { opacity: 1; transform: translateY(var(--caida-gota)) scale(1, 1.08); }
  50.4%, 100% { opacity: 0; transform: translateY(var(--caida-gota)); }
}
/* ondas al tocar el mármol: más visibles y lentas */
.titulo-texto .t-2w .titulo-onda, .titulo-texto .t-2w .titulo-onda::after { border: calc(2.2 * var(--u)) solid rgba(255, 255, 255, .98); box-shadow: 0 calc(2 * var(--u)) calc(2 * var(--u)) rgba(96, 74, 44, .45), inset 0 calc(-1.5 * var(--u)) 0 rgba(96, 74, 44, .3); }
.titulo-texto .t-2w .titulo-onda { left: calc(5.70em + var(--dx, 0em)); top: calc(1.869em + 424 * var(--u)); width: calc(150 * var(--u)); height: calc(26 * var(--u)); margin: calc(-13 * var(--u)) 0 0 calc(-75 * var(--u)); animation: gota-onda 4.2s ease-out infinite; }
.titulo-texto .t-2w .titulo-onda::after { animation: gota-onda2 4.2s ease-out infinite; }
@keyframes gota-onda { 0%, 50% { opacity: 0; transform: scale(.1); } 50.5% { opacity: 1; transform: scale(.14); } 84%, 100% { opacity: 0; transform: scale(1.3); } }
@keyframes gota-onda2 { 0%, 54% { opacity: 0; transform: scale(.1); } 54.5% { opacity: .85; transform: scale(.12); } 90%, 100% { opacity: 0; transform: scale(.9); } }
.titulo-texto .titulo-gota { left: 5.54em; top: 1em; width: .33em; }
/* la gota de la hoja: se forma, cuelga, se estira, se desprende y cae al mármol */
.titulo-gota { position: absolute; height: auto; transform-origin: 50% 4%; pointer-events: none; animation: titulo-gota 7s 1.5s infinite; }
@keyframes titulo-gota {
  0% { transform: translateY(0) scale(.25); opacity: 1; animation-timing-function: ease-out; }
  44% { transform: translateY(0) scale(1); animation-timing-function: ease-in-out; }
  54% { transform: translateY(calc(2 * var(--u))) scale(.94, 1.16); animation-timing-function: cubic-bezier(.5, 0, 1, .5); }
  69% { transform: translateY(var(--caida, calc(386 * var(--u)))) scale(.92, 1.1); opacity: 1; }
  69.5%, 100% { transform: translateY(var(--caida, calc(386 * var(--u)))) scale(.92, 1.1); opacity: 0; }
}
/* ondas donde cae la gota */
.titulo-onda, .titulo-onda::after { position: absolute; left: 79%; top: calc(600 * var(--u)); width: calc(110 * var(--u)); height: calc(20 * var(--u)); margin: calc(-10 * var(--u)) 0 0 calc(-55 * var(--u)); border-radius: 50%; pointer-events: none;
  border: calc(1.8 * var(--u)) solid rgba(255, 255, 255, .95); box-shadow: 0 calc(2 * var(--u)) 0 rgba(110, 88, 55, .38), inset 0 calc(-1.5 * var(--u)) 0 rgba(110, 88, 55, .22); opacity: 0; transform: scale(.1); animation: titulo-onda 7s 1.5s ease-out infinite; }
.titulo-onda::after { content: ''; left: 50%; top: 50%; animation-name: titulo-onda2; }
@keyframes titulo-onda { 0%, 69% { opacity: 0; transform: scale(.1); } 70% { opacity: .95; transform: scale(.15); } 92%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes titulo-onda2 { 0%, 72% { opacity: 0; transform: scale(.1); } 73% { opacity: .8; transform: scale(.12); } 96%, 100% { opacity: 0; transform: scale(.85); } }
/* velo cálido detrás del texto para legibilidad sin tapar la foto */
.hero-copy::before { content: ''; position: absolute; inset: calc(-60 * var(--u)) calc(-80 * var(--u)) calc(-40 * var(--u)) calc(-140 * var(--u)); background: radial-gradient(ellipse at 40% 50%, rgba(252, 244, 232, .62), rgba(252, 244, 232, .35) 55%, transparent 75%); z-index: -1; pointer-events: none; }
.hero .eyebrow { font: 400 calc(19 * var(--u))/1 var(--f-serif); letter-spacing: .24em; color: #3b3122; margin: 0 0 calc(26 * var(--u)); }
.hero h1 { margin: 0; font-weight: 400; }
.h1-a { display: block; white-space: nowrap; font: 400 calc(76 * var(--u))/1 var(--f-display); color: var(--tinta); letter-spacing: -.005em; }
.h1-b { display: block; white-space: nowrap; font: 400 calc(70 * var(--u))/1 var(--f-display); color: var(--verde-txt); margin: calc(8 * var(--u)) 0 0 calc(36 * var(--u)); }
.hero-text { margin: calc(30 * var(--u)) 0 0; padding-left: calc(18 * var(--u)); border-left: calc(4 * var(--u)) solid #61842a; max-width: calc(380 * var(--u)); font: 400 calc(19.5 * var(--u))/1.56 var(--f-serif); color: var(--tinta-desc); }
.btn-hero { margin: calc(30 * var(--u)) 0 0 calc(16 * var(--u)); min-height: 0; height: calc(54 * var(--u)); padding: 0 calc(24 * var(--u)); gap: calc(12 * var(--u)); border-radius: 999px; background: var(--verde); color: #fff; font: 700 calc(19 * var(--u))/1 var(--f-serif); border: calc(2 * var(--u)) solid #6f8f3a; box-shadow: 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(47, 76, 16, .28), inset 0 0 0 calc(2 * var(--u)) rgba(255, 255, 255, .12); }
.btn-hero:hover { background: var(--verde-osc); transform: translateY(-2px); }
.btn-hero svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.hero-dots { display: flex; gap: calc(9 * var(--u)); margin: calc(22 * var(--u)) 0 0 calc(161 * var(--u)); }
.hero-dots button { width: calc(13 * var(--u)); height: calc(13 * var(--u)); border-radius: 50%; border: 0; padding: 0; background: #c6c3a4; position: relative; transition: transform .3s, background .3s; }
.hero-dots button[aria-pressed="true"] { background: #527121; }
.hero-dots button::before { content: ''; position: absolute; inset: -14px -6px; }

/* ---------- Barra de beneficios ---------- */
.benefits-wrap { position: absolute; left: calc(200 * var(--u)); top: calc(856 * var(--u)); width: calc(1273 * var(--u)); margin: 0; padding: 0; z-index: 3; }
.benefits { list-style: none; margin: 0; padding: 0; height: calc(74 * var(--u)); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; background: rgba(255, 250, 240, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(214, 191, 147, .65); border-radius: calc(26 * var(--u)); box-shadow: 0 calc(10 * var(--u)) calc(30 * var(--u)) rgba(110, 85, 40, .12); }
.benefits li { display: flex; align-items: center; gap: calc(30 * var(--u)); padding-left: calc(44 * var(--u)); height: calc(44 * var(--u)); font: 400 calc(19 * var(--u))/1.25 var(--f-serif); color: #3b3122; }
.benefits li + li { border-left: calc(2 * var(--u)) solid var(--dorado-linea); }
.benefits .ico-benef { width: calc(50 * var(--u)); height: calc(50 * var(--u)); flex: none; object-fit: contain; transition: transform .5s var(--ease); }
.benefits li:hover .ico-benef { transform: rotate(-8deg) scale(1.1); }

/* ---------- Carrusel ---------- */
.soaps { position: absolute; left: 0; right: 0; top: calc(984 * var(--u)); padding: 0; }
.soaps-title { margin: 0; text-align: center; font: 400 calc(44 * var(--u))/1.1 var(--f-display); color: #453929; position: relative; display: flex; align-items: center; justify-content: center; gap: calc(26 * var(--u)); }
/* Adorno botánico a cada lado del título: línea dorada fina que se desvanece hacia afuera y termina en una ramita de 2 hojas */
.soaps-title::before, .soaps-title::after { content: ''; flex: 0 0 calc(230 * var(--u)); height: calc(32 * var(--u)); background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20200%2028%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22l%22%20gradientUnits%3D%22userSpaceOnUse%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%22150%22%20y2%3D%220%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239a7a52%22%20stop-opacity%3D%220%22/%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%239a7a52%22%20stop-opacity%3D%22.9%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%237b8d51%22/%3E%3C/linearGradient%3E%3ClinearGradient%20id%3D%22h%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239aab62%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%235f7a2c%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20d%3D%22M0%2014.5%20H150%22%20stroke%3D%22url%28%23l%29%22%20stroke-width%3D%221.6%22%20fill%3D%22none%22/%3E%3Cpath%20d%3D%22M150%2014.5%20C162%2014.5%20172%2013.6%20184%2011.6%22%20stroke%3D%22%237b8d51%22%20stroke-width%3D%221.6%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M163%2014%20C162%207.5%20167%203.5%20174%203%20C174.5%209.5%20170%2013.5%20163%2014%20Z%22%20fill%3D%22url%28%23h%29%22/%3E%3Cpath%20d%3D%22M163.6%2013.4%20L171.8%205%22%20stroke%3D%22%23eef1d8%22%20stroke-width%3D%22.55%22%20stroke-opacity%3D%22.8%22%20fill%3D%22none%22/%3E%3Cpath%20d%3D%22M172%2013.2%20C175%2019.5%20181%2022%20187%2020.8%20C184.5%2015%20179%2012.4%20172%2013.2%20Z%22%20fill%3D%22url%28%23h%29%22/%3E%3Cpath%20d%3D%22M172.8%2013.6%20L184.6%2019.8%22%20stroke%3D%22%23eef1d8%22%20stroke-width%3D%22.55%22%20stroke-opacity%3D%22.8%22%20fill%3D%22none%22/%3E%3Ccircle%20cx%3D%22188.5%22%20cy%3D%2211.2%22%20r%3D%221.6%22%20fill%3D%22%23b8955a%22/%3E%3C/svg%3E") center / contain no-repeat; }
.soaps-title::after { scale: -1 1; }
.carousel { position: absolute; left: 0; right: 0; top: calc(62 * var(--u)); width: 100%; padding: 0; margin: 0; }
.car-track { position: absolute; left: calc(190 * var(--u)); width: calc(1284 * var(--u)); top: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc(300 * var(--u)); gap: calc(28 * var(--u)); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0 0 calc(30 * var(--u)); scrollbar-width: none; overscroll-behavior-x: contain; }
.car-track::-webkit-scrollbar { display: none; }
.car-card { scroll-snap-align: start; position: relative; height: calc(228 * var(--u)); }
.car-card button { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.car-card button:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; border-radius: calc(26 * var(--u)); }
.car-photo { position: absolute; top: 0; left: 0; right: 0; height: calc(202 * var(--u)); border-radius: calc(26 * var(--u)); overflow: hidden; background: #ead9c1; position: relative; box-shadow: 0 calc(6 * var(--u)) calc(16 * var(--u)) rgba(92, 70, 33, .14); }
.car-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .9s var(--ease); }
.car-card button:hover .car-photo img { transform: scale(1.06); }
.car-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 48%, transparent 62%); transform: translateX(-120%); transition: transform 1s var(--ease); }
.car-card button:hover .car-photo::after { transform: translateX(120%); }
.car-name { position: absolute; left: 50%; top: calc(183 * var(--u)); transform: translateX(-50%); width: calc(195 * var(--u)); height: calc(44 * var(--u)); display: grid; place-items: center; background: #fdf6da; border: calc(2 * var(--u)) solid #dcc59b; border-radius: calc(12 * var(--u)); font: 700 calc(21 * var(--u))/1 var(--f-serif); color: #3f5a1a; white-space: nowrap; box-shadow: 0 calc(4 * var(--u)) calc(10 * var(--u)) rgba(92, 70, 33, .12); transition: transform .3s var(--ease); }
.car-card button:hover .car-name { transform: translateX(-50%) translateY(-2px); }
.car-price { display: none; }
.car-name .car-tipo { display: block; font: 600 calc(10 * var(--u))/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #8a7444; margin-bottom: calc(3 * var(--u)); }
.car-name:has(.car-tipo) { place-content: center; line-height: 1.05; }
.car-arrow { position: absolute; top: calc(77 * var(--u)); width: calc(49 * var(--u)); height: calc(49 * var(--u)); min-width: 40px; min-height: 40px; border-radius: 50%; border: 0; background: var(--verde); color: #fff; display: grid; place-items: center; box-shadow: 0 calc(6 * var(--u)) calc(14 * var(--u)) rgba(47, 76, 16, .3); transition: transform .25s var(--ease), background .25s; z-index: 2; }
.car-arrow:hover { background: var(--verde-osc); transform: scale(1.07); }
.car-arrow svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.car-arrow.prev { left: calc(120 * var(--u)); }
.car-arrow.next { left: calc(1538 * var(--u)); right: auto; }

/* Hojas decorativas: solo abajo, sin tapar la portada */
.lb-bl { left: -70px; bottom: -110px; }
.lb-br { right: -90px; bottom: -120px; }

/* ---------- Tableta y celular: composición en columna ---------- */
@media (max-width: 1024px) {
  :root { --u: 1px; }
  .site-header { height: 74px; }
  html { scroll-padding-top: 84px; }
  .header-inner { padding: 0 14px 0 18px; }
  .brand { height: 62px; margin-right: auto; }
  .main-nav { flex: none; }
  .main-nav > ul > li, .main-nav > ul > li:nth-child(2) { margin-right: 0; }
  .main-nav a { font-size: 24px; padding: 14px 0; }
  .main-nav { inset: 74px 0 auto 0; }
  .header-actions { gap: 2px; }
  .icon-btn svg { width: 26px; height: 26px; }

  .portada { height: auto; padding-top: 0; background: #faf0e4; }
  .pt-bg { display: none; }
  .hero { position: relative; height: auto; display: flex; flex-direction: column; }
  /* Celular: foto protagonista arriba (bajo la cabecera) y panel marfil sólido que se monta sobre ella */
  .hero-copy { position: relative; z-index: 5; left: auto; top: auto; width: auto; order: 2; margin: -24px 12px 0; padding: 26px 20px 22px; background: #fbf4ea; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .85); box-shadow: 0 -10px 30px rgba(92, 70, 33, .10), 0 14px 30px rgba(92, 70, 33, .08); }
  .hero-copy::before { display: none; }
  .hero .hero-titulo { width: min(100%, 480px); margin: -6px auto 0; }
  .titulo-onda { display: none; }
  .titulo-texto .t-gota-cae { --caida-gota: 1.5em; animation-name: gota-cae-movil; }
  @keyframes gota-cae-movil { 0%, 25.6% { opacity: 0; transform: translateY(0); } 25.71% { opacity: 1; transform: translateY(0); animation-timing-function: cubic-bezier(.42, 0, .9, .6); } 45% { opacity: 0; transform: translateY(var(--caida-gota)); } 100% { opacity: 0; transform: translateY(var(--caida-gota)); } }
  .titulo-gota { animation-name: titulo-gota-movil; }
  @keyframes titulo-gota-movil { 0% { transform: scale(.25); opacity: 1; } 55% { transform: scale(1); opacity: 1; } 68% { transform: translateY(8%) scale(.94, 1.16); opacity: 1; } 80%, 100% { transform: translateY(120%) scale(.92, 1.1); opacity: 0; } }
  .hero .eyebrow { font-size: 14px; margin-bottom: 16px; }
  .h1-a { font-size: clamp(40px, 11vw, 64px); }
  .h1-b { font-size: clamp(38px, 10.4vw, 60px); margin: 4px 0 0 .45em; }
  .hero-text { font-size: 17px; max-width: 420px; padding-left: 14px; border-left-width: 3px; margin-top: 18px; }
  .btn-hero { height: 52px; font-size: 17px; padding: 0 22px; margin: 22px 0 0; border-width: 2px; }
  .btn-hero svg { width: 20px; height: 20px; }
  .hero-dots { margin: 18px 0 0; gap: 10px; }
  .hero-dots button { width: 11px; height: 11px; }
  .hero-stage { display: block; position: relative; left: auto; top: auto; order: 1; width: 100%; height: auto; padding-top: 66px; margin: 0; border-radius: 0; overflow: hidden; background: #f3e8d8; }
  .hero-escena { display: block; width: 100%; height: auto; }
  .hero-escena-fx { position: absolute; left: 0; top: 66px; width: 100%; height: calc(100% - 66px); pointer-events: none; }
  .hero-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(251, 244, 234, .55) 0, rgba(251, 244, 234, 0) 100px, rgba(251, 244, 234, 0) 70%, rgba(251, 244, 234, .35) 100%); }
  .hero-product, .hero-hoja { position: absolute; left: calc(50% - min(48vw, 365px)); top: auto; bottom: 58px; width: min(96vw, 730px); height: auto; }
  .hero-shadow { left: 6%; width: 88%; top: auto; bottom: 46px; height: 26px; }
  .benefits-wrap { position: relative; left: auto; top: auto; width: auto; margin: 6px 16px 0; }
  .benefits { height: auto; grid-template-columns: repeat(2, 1fr); padding: 6px; border-radius: 20px; }
  .benefits li { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 12px 4px; height: auto; font-size: 16px; }
  .benefits li + li { border-left: 0; }
  .benefits li:nth-child(even) { border-left: 1px solid var(--dorado-linea); }
  .benefits li:nth-child(n+3) { border-top: 1px solid var(--dorado-linea); }
  .benefits .ico-benef { width: 40px; height: 40px; }
  .soaps { position: relative; top: auto; padding: 40px 0 34px; }
  .soaps-title { font-size: clamp(30px, 7.6vw, 40px); padding: 0 56px; }
  .soaps-title { gap: 8px; padding: 0 10px; }
  .soaps-title::before, .soaps-title::after { flex: 0 0 42px; height: 16px; background-position: right center; background-size: auto 100%; }
  .carousel { position: relative; top: auto; margin-top: 22px; }
  .car-track { position: relative; left: auto; width: auto; grid-auto-columns: min(74vw, 300px); gap: 16px; padding: 0 18px 10px; scroll-padding: 0 18px; }
  .car-card { height: 236px; }
  .car-photo { height: 208px; border-radius: 22px; }
  .car-name { top: 188px; width: 72%; height: 44px; font-size: 19px; border-radius: 12px; border-width: 2px; }
  .car-name .car-tipo { font-size: 9px; margin-bottom: 2px; }
  .car-arrow { display: none; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .hero-copy { margin: -28px 28px 0; padding: 32px 34px 26px; }
  .car-track { grid-auto-columns: calc((100% - 36px - 32px) / 3); }
}
@media (prefers-reduced-motion: reduce) {
  .pt-light, .hero-product { animation: none; }
  .pt-bg-move { transform: none; }
}
/* Efectos suaves del título: se mantienen aunque el equipo pida "reducir movimiento" (igual que el agua y la luz) */
@media (prefers-reduced-motion: reduce) {
  .t-hoja-anim, .t-gota-cae, .titulo-onda, .titulo-onda::after { animation-duration: 4.2s !important; animation-iteration-count: infinite !important; }
}

/* ---------- Portada en 2 diapositivas: Aloe Vera (1) y acondicionadores (2) — fundido cruzado de 900 ms ---------- */
.pt-bg-slide2 { opacity: 0; transition: opacity .9s cubic-bezier(.4, 0, .2, 1); }
.pt-escena-fx, .hero-escena-fx { transition: opacity .9s cubic-bezier(.4, 0, .2, 1); }
.portada[data-fondo="2"] .pt-bg-slide2 { opacity: 1; }
.portada[data-fondo="2"] .pt-escena-fx, .portada[data-fondo="2"] .hero-escena-fx { opacity: 0; }
.hero-escena-2 { display: none; }
.hero-text .hs-2, .btn-hero .bl-2 { display: none; }
.portada[data-slide="2"] .hero-text .hs-1, .portada[data-slide="2"] .btn-hero .bl-1 { display: none; }
.portada[data-slide="2"] .hero-text .hs-2, .portada[data-slide="2"] .btn-hero .bl-2 { display: inline; }
/* los textos salen y entran con suavidad mientras el fondo se funde */
.hero-copy > * { transition: opacity .5s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.hero-copy.cambiando > :not(.hero-dots) { opacity: 0; transform: translateY(calc(10 * var(--u))); }
.hero-dots button[aria-disabled="true"] { cursor: default; }
@media (max-width: 1024px) {
  .hero-escena-2 { display: block; position: absolute; left: 0; top: 66px; width: 100%; height: calc(100% - 66px); object-fit: cover; opacity: 0; transition: opacity .9s cubic-bezier(.4, 0, .2, 1); }
  .portada[data-fondo="2"] .hero-escena-2 { opacity: 1; }
  /* el panel reserva el alto del texto más largo: cambiar de diapositiva no mueve la página */
  .hero-text { display: grid; }
  .hero-text .hs { grid-area: 1 / 1; display: block !important; }
  .hero-text .hs-2, .portada[data-slide="2"] .hero-text .hs-1 { visibility: hidden; }
  .portada[data-slide="2"] .hero-text .hs-2 { visibility: visible; }
}
/* textos más largos del slide 2 en una sola línea (misma altura que el slide 1: la página no salta) */
.titulo-texto .t-ceja { white-space: nowrap; }
.titulo-texto .t-ceja::before, .titulo-texto .t-ceja::after { flex: 0 1 10cqw; min-width: 3cqw; }
.btn-hero .bl { white-space: nowrap; }
@media (max-width: 480px) { .btn-hero .bl-2 { font-size: min(1em, 3.55vw); } }

/* Diapositiva 2: la foto original se ve tal cual — sin velos, brillos ni neblina encima de los productos */
.pt-glow, .pt-light, .pt-haze, .pt-veil, .hero-copy::before, .hero-stage::after { transition: opacity .9s cubic-bezier(.4, 0, .2, 1); }
.portada[data-fondo="2"] .pt-glow, .portada[data-fondo="2"] .pt-light, .portada[data-fondo="2"] .pt-haze, .portada[data-fondo="2"] .pt-brisa, .portada[data-fondo="2"] .hero-copy::before { opacity: 0 !important; }
.portada[data-fondo="2"] .pt-veil { opacity: 0; }
@media (max-width: 1024px) { .portada[data-fondo="2"] .hero-stage::after { opacity: 0; } }

/* =========================================================
   CELULAR (≤ 640 px): fotos verticales propias; el texto va encima, en la pared libre de la foto
   ========================================================= */
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .site-header { height: 68px; }
  html { scroll-padding-top: 76px; }
  .main-nav { inset: 68px 0 auto 0; }
  .header-inner { padding: 0 10px 0 16px; }
  .brand { height: 54px; }
  .icon-btn { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
  .icon-btn svg { width: 23px; height: 23px; min-width: 0; min-height: 0; }
  .cart-btn .carrito-3d { width: 34px; height: 34px; }

  .hero { display: block; position: relative; padding-top: 68px; background: #f6ece0; }
  .hero-stage { display: block; position: relative; padding: 0; margin: 0; background: none; overflow: hidden; }
  .hero-stage picture { display: contents; }
  .hero-stage::after, .hero-escena-fx { display: none; }
  .hero-escena { display: block; width: 100%; height: auto; }
  .hero-escena-2 { position: absolute; inset: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }
  /* texto encima de la foto, en la parte libre de arriba (sin tarjeta ni fondo) */
  .hero-copy { position: absolute; z-index: 5; left: 0; right: 0; top: calc(68px + 5vw); margin: 0; padding: 0 clamp(18px, 6vw, 26px); width: auto; background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero .hero-titulo { width: min(100%, 330px); margin: 0 auto; }
  .titulo-texto .t-ceja { font-size: 11px; letter-spacing: .18em; margin-bottom: 8px; text-shadow: 0 0 8px rgba(255, 248, 238, .9); }
  .titulo-texto .t-1 { font-size: clamp(27px, 8.4vw, 34px); filter: drop-shadow(0 0 6px rgba(255, 248, 238, .85)); }
  .titulo-texto .t-2w { font-size: clamp(23px, 7vw, 29px); }
  .hero-text { font-size: clamp(12.5px, 3.45vw, 14px); line-height: 1.4; margin-top: 2.6vw; padding-left: 11px; border-left-width: 2px; max-width: none; color: #3e2c16; }
  .btn-hero { height: 44px; font-size: 15px; padding: 0 18px; margin-top: 3.4vw; gap: 10px; }
  .btn-hero svg { width: 17px; height: 17px; }
  .hero-dots { margin-top: 3vw; gap: 9px; }
  .hero-dots button { width: 9px; height: 9px; }
  .hero-dots button::before { inset: -12px -5px; }

  /* beneficios: franja horizontal compacta después de la portada */
  .benefits-wrap { margin: 0; }
  .benefits { display: flex; height: auto; padding: 8px 6px; gap: 0; border-radius: 0; border-left: 0; border-right: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .benefits::-webkit-scrollbar { display: none; }
  .benefits li { flex: 0 0 auto; flex-direction: row; text-align: left; gap: 7px; padding: 2px 12px; font-size: 12px; line-height: 1.15; scroll-snap-align: start; border-top: 0 !important; }
  .benefits li + li { border-left: 1px solid var(--dorado-linea) !important; }
  .benefits .ico-benef { width: 24px; height: 24px; }
}
@media (max-width: 350px) {
  .hero-copy { top: calc(68px + 3vw); }
  .titulo-texto .t-ceja { font-size: 10px; margin-bottom: 6px; }
  .hero-text { font-size: 12px; line-height: 1.38; }
  .btn-hero { height: 40px; font-size: 14px; }
}

/* Celular y tableta: descripción justificada, botón y puntos centrados (escritorio sin cambios) */
@media (max-width: 1024px) {
  .hero-text { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; margin-left: auto; margin-right: auto; }
  .btn-hero { display: flex; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-dots { justify-content: center; margin-left: auto; margin-right: auto; }
}
/* Celular: el bloque baja hacia el centro de la pared libre y los espacios internos se reparten mejor */
@media (max-width: 640px) {
  .hero-copy { top: calc(68px + 11vw); }
  .hero-text { margin-top: 3.4vw; }
  .btn-hero { margin-top: 4.4vw; }
  .hero-dots { margin-top: 4vw; }
}
@media (max-width: 350px) {
  .hero-copy { top: calc(68px + 6vw); }
  .hero-text { margin-top: 2.6vw; }
  .btn-hero { margin-top: 3.4vw; }
  .hero-dots { margin-top: 3vw; }
}

/* Flechas del carrusel: la regla general de botones (efectos.css) les ponía position: relative y la flecha derecha quedaba más abajo */
.carousel .car-arrow { position: absolute; }
