/* ============================================================
   KORA · Skincare Koreano — Sistema visual
   ------------------------------------------------------------
   Lenguaje de diseño: cálido y con carácter. Sombras duras
   desplazadas, bordes definidos, serif con peso, badges sólidos.
   Paleta: la identidad de KORA (marfil, dorado, rosa empolvado).
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Marca */
  --rosa:       #EBD4CC;   /* rosa empolvado · primario */
  --rosa-hover: #E0BFB4;
  --rosa-suave: #F8EDE8;
  --oro:        #C1A264;   /* acento */
  --oro-hondo:  #9C7F4C;
  --oro-suave:  #EFE3CB;

  /* Superficies */
  --bg:         #F2ECE4;   /* marfil de fondo */
  --surface:    #F9F5EF;
  --card:       #FFFDFA;
  --papel:      #FFFDFA;

  /* Tinta */
  --tinta:      #3B342E;
  --line:       #3B342E;
  --text:       #3B342E;
  --text-muted: #6E6259;
  --text-light: #9C9088;
  --border:     #DCD2C4;
  --border-light:#EDE6DB;

  /* Estado */
  --verde:      #6E8B6A;
  --alerta:     #C06A5A;

  /* Sombras duras (el sello del estilo) */
  --hard-xs:    2px 2px 0 rgba(59,52,46,.24);
  --hard:       3px 3px 0 rgba(59,52,46,.82);
  --hard-oro:   6px 6px 0 var(--oro);
  --hard-rosa:  6px 6px 0 var(--rosa);
  --card-shadow:3px 3px 0 rgba(59,52,46,.14);
  --card-border:rgba(59,52,46,.30);

  --shadow-sm:  0 1px 3px rgba(59,52,46,.06);
  --shadow:     0 4px 14px rgba(59,52,46,.08);
  --shadow-lg:  0 10px 34px rgba(59,52,46,.14);

  /* Tipografía */
  --serif: 'Fraunces', 'Georgia', serif;
  --sans:  'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --logo:  'Jost', 'Century Gothic', var(--sans);

  /* Formas */
  --radius:    14px;
  --radius-sm:  9px;
  --radius-xs:  6px;
  --radius-full: 999px;

  --ease: cubic-bezier(.4,0,.2,1);
  --t: .2s ease;
  --t-slow: .35s var(--ease);

  --ancho: 1240px;
  --header-h: 72px;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1,h2,h3,h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.16; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--rosa); color: var(--tinta); }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; border-radius: var(--radius-xs); }

/* ---------- 3. UTILIDADES ---------- */
.wrap { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: 24px; }
.wrap-sm { max-width: 880px; }
.seccion { padding: 78px 0; }
.seccion-sm { padding: 52px 0; }
.centro { text-align: center; }

.wordmark {
  font-family: var(--logo);
  font-weight: 300;
  letter-spacing: .32em;
  text-transform: uppercase;
  line-height: 1;
}

.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--oro-hondo);
  background: var(--oro-suave);
  border: 1.5px solid rgba(193,162,100,.4);
  padding: 5px 14px; border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.titulo {
  font-family: var(--serif);
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 700; line-height: 1.14;
}
.titulo em { font-style: italic; color: var(--oro-hondo); }

.subtitulo { color: var(--text-muted); max-width: 58ch; font-size: 15.5px; margin-top: 14px; }
.centro .subtitulo { margin-inline: auto; }

/* Botones — sombra dura al hover */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px;
  font-size: 14px; font-weight: 600; line-height: 1;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all var(--t);
  white-space: nowrap;
}
.btn-oro { background: var(--rosa); color: var(--tinta); }
.btn-oro:hover { background: var(--rosa-hover); transform: translate(-2px,-2px); box-shadow: var(--hard); }
.btn-linea { background: transparent; color: var(--tinta); }
.btn-linea:hover { background: var(--oro-suave); transform: translate(-2px,-2px); box-shadow: var(--hard); }
.btn-claro { background: var(--card); color: var(--tinta); }
.btn-claro:hover { transform: translate(-2px,-2px); box-shadow: var(--hard); }
.btn-oscuro { background: var(--tinta); color: var(--surface); }
.btn-oscuro:hover { transform: translate(-2px,-2px); box-shadow: 3px 3px 0 var(--oro); }
.btn-wa { background: #25D366; color: #14361F; border-color: #14361F; }
.btn-wa:hover { background: #1fbb5a; transform: translate(-2px,-2px); box-shadow: 3px 3px 0 #14361F; }
.btn-full { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 12.5px; border-width: 1.5px; }
.btn:disabled { opacity: .45; pointer-events: none; }

.link-flecha {
  font-size: 13.5px; font-weight: 600;
  border-bottom: 2px solid var(--oro);
  padding-bottom: 3px;
  display: inline-flex; gap: 7px; align-items: center;
  transition: gap var(--t);
}
.link-flecha:hover { gap: 13px; }

/* ---------- 4. BARRA DE ANUNCIO ---------- */
.anuncio {
  background: var(--tinta); color: var(--surface);
  font-size: 12px; font-weight: 500; letter-spacing: .04em;
  text-align: center; padding: 9px 16px;
  position: relative; z-index: 60;
}
.anuncio span { opacity: .45; margin: 0 10px; }

/* ---------- 5. HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249,245,239,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--line);
}
.header-in { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.logo { justify-self: start; display: flex; flex-direction: column; gap: 3px; }
.logo b { font-family: var(--logo); font-size: 25px; font-weight: 300; letter-spacing: .32em; color: var(--tinta); }
.logo small { font-size: 8px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--oro-hondo); padding-left: 3px; }

.nav { display: flex; gap: 30px; justify-self: center; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  position: relative; padding: 6px 0; transition: color var(--t);
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--oro); transition: width var(--t-slow);
}
.nav a:hover, .nav a.activo { color: var(--tinta); }
.nav a:hover::after, .nav a.activo::after { width: 100%; }

.header-acciones { justify-self: end; display: flex; align-items: center; gap: 4px; }
.icono-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--radius-sm); position: relative; transition: background var(--t);
}
.icono-btn:hover { background: var(--rosa-suave); }
.icono-btn svg { width: 20px; height: 20px; stroke: var(--tinta); stroke-width: 1.6; fill: none; }
.badge {
  position: absolute; top: 2px; right: 1px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--oro); color: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
  transform: scale(0); transition: transform .25s var(--ease);
}
.badge.visible { transform: scale(1); }
.burger { display: none; }

/* ---------- 6. HERO ---------- */
/* La foto de marca es clara y cálida: el velo es de marfil, no oscuro,
   para no apagar el rosa y el dorado de la identidad. */
.hero {
  position: relative; overflow: hidden;
  background-image: url('../img/hero-kora.jpg');
  background-size: cover; background-position: 72% 50%;
  border-bottom: 2px solid var(--line);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(97deg,
    rgba(250,245,238,.97) 0%, rgba(250,245,238,.94) 26%,
    rgba(250,245,238,.72) 44%, rgba(250,245,238,.26) 62%,
    rgba(250,245,238,.02) 80%, transparent 100%);
}
.hero-in {
  position: relative; z-index: 1;
  max-width: var(--ancho); margin-inline: auto;
  padding: 96px 24px 88px; min-height: 552px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
.hero-in > div { max-width: 580px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--tinta); background: var(--rosa);
  border: 2px solid var(--line); border-radius: var(--radius-full);
  padding: 6px 16px; margin-bottom: 22px;
  box-shadow: var(--hard-xs);
}
.hero-titulo {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(31px, 5vw, 52px); line-height: 1.08;
  color: var(--tinta); margin: 0 0 18px;
}
.hero-titulo em { font-style: italic; color: var(--oro-hondo); }
.hero-sub { font-size: clamp(15px, 1.9vw, 17.5px); color: var(--text-muted); max-width: 44ch; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-nota { margin-top: 26px; font-size: 13px; color: var(--text-light); }

/* ---------- 7. BARRA DE CONFIANZA ---------- */
.confianza { background: var(--surface); border-bottom: 2px solid var(--line); }
.confianza-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.confianza-item { padding: 26px 20px; text-align: center; border-left: 1px solid var(--border); }
.confianza-item:first-child { border-left: 0; }
.confianza-item svg { width: 24px; height: 24px; stroke: var(--oro-hondo); stroke-width: 1.5; fill: none; margin: 0 auto 10px; }
.confianza-item b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.confianza-item span { font-size: 13px; color: var(--text-muted); }

/* ---------- 8. CABECERA DE SECCIÓN ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 38px; flex-wrap: wrap; }
.sec-head.centro { display: block; text-align: center; }

/* ---------- 9. CATEGORÍAS ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  display: block; padding: 28px 20px 24px; text-align: center;
  background: var(--card); border: 2px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--card-shadow);
  transition: all var(--t);
}
.cat-card:hover { transform: translate(-3px,-3px); box-shadow: var(--hard-oro); border-color: var(--line); }
.cat-ico {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: var(--radius-full); display: grid; place-items: center;
  background: var(--rosa-suave); border: 2px solid var(--card-border);
  transition: background var(--t);
}
.cat-card:hover .cat-ico { background: var(--rosa); }
.cat-ico svg { width: 26px; height: 26px; stroke: var(--oro-hondo); stroke-width: 1.5; fill: none; }
.cat-card b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.cat-card span { font-size: 12.5px; color: var(--text-muted); }

/* ---------- 10. TARJETA DE PRODUCTO ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
.prod-grid-3 { grid-template-columns: repeat(3, 1fr); }

.prod {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 2px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.prod:hover { transform: translate(-3px,-3px); box-shadow: var(--hard-oro); border-color: var(--line); }

.prod-img { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; }
.prod-img svg { width: 60%; height: 60%; transition: transform .4s var(--ease); }
.prod:hover .prod-img svg { transform: scale(1.06) translateY(-3px); }

/* Tonos de fondo de ficha */
.tono-1 { background: linear-gradient(155deg, #FBF1EC, #F3DED5); }
.tono-2 { background: linear-gradient(155deg, #FAF4E9, #EFE2C9); }
.tono-3 { background: linear-gradient(155deg, #F7F3ED, #E8E0D3); }
.tono-4 { background: linear-gradient(155deg, #FCF2EA, #F5DFCD); }
.tono-5 { background: linear-gradient(155deg, #FBF2F2, #F1DCDD); }
.tono-6 { background: linear-gradient(155deg, #F5F4EE, #E4E3D7); }

.prod-etiquetas { position: absolute; top: 11px; left: 11px; display: flex; flex-direction: column; gap: 5px; z-index: 2; align-items: flex-start; }
.etiqueta {
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 11px; border-radius: var(--radius-full);
  background: var(--card); color: var(--tinta); border: 1.5px solid var(--line);
}
.etiqueta.oro { background: var(--oro); color: #fff; }
.etiqueta.oferta { background: var(--alerta); color: #fff; }

.prod-fav {
  position: absolute; top: 11px; right: 11px; z-index: 2;
  width: 32px; height: 32px; border-radius: var(--radius-full);
  background: var(--card); border: 1.5px solid var(--card-border);
  display: grid; place-items: center; transition: all var(--t);
}
.prod-fav:hover { border-color: var(--line); }
.prod-fav svg { width: 15px; height: 15px; stroke: var(--text-muted); stroke-width: 1.7; fill: none; }
.prod-fav.on svg { fill: var(--alerta); stroke: var(--alerta); }

.prod-add {
  position: absolute; left: 11px; right: 11px; bottom: 11px; z-index: 2;
  opacity: 0; transform: translateY(8px); transition: all var(--t-slow);
}
.prod:hover .prod-add { opacity: 1; transform: none; }

.prod-body { padding: 15px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.prod-marca { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--oro-hondo); margin-bottom: 5px; }
.prod-nombre {
  font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.32; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-tamano { font-size: 12.5px; color: var(--text-light); margin-bottom: 11px; }
.prod-pie { margin-top: auto; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.prod-precio { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.prod-antes { font-size: 13px; color: var(--text-light); text-decoration: line-through; }
.prod-bs { font-size: 11px; color: var(--text-light); margin-left: auto; }

/* ---------- 11. RITUAL / 5 PASOS ---------- */
.ritual { background: var(--surface); border-block: 2px solid var(--line); }
.pasos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 42px; }
.paso {
  text-align: center; padding: 26px 18px 22px;
  background: var(--card); border: 2px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--card-shadow);
  transition: all var(--t);
}
.paso:hover { transform: translate(-3px,-3px); box-shadow: var(--hard-rosa); border-color: var(--line); }
.paso-n {
  width: 42px; height: 42px; margin: 0 auto 14px;
  border: 2px solid var(--line); border-radius: var(--radius-full);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--tinta);
  background: var(--rosa);
}
.paso b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 7px; }
.paso p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ---------- 12. PACKS ---------- */
.packs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pack {
  border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--card-border); background: var(--card);
  box-shadow: var(--card-shadow);
  display: flex; flex-direction: column; transition: all var(--t);
}
.pack:hover { transform: translate(-3px,-3px); box-shadow: var(--hard-oro); border-color: var(--line); }
.pack-top { padding: 26px 22px 20px; border-bottom: 2px solid var(--card-border); }
.pack-piezas { display: flex; justify-content: center; }
.pack-piezas svg { width: 52px; height: 72px; margin-inline: -6px; }
.pack-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.pack-body h3 { font-size: 21px; font-weight: 700; margin-bottom: 2px; }
.pack-body .sub { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--oro-hondo); margin-bottom: 12px; }
.pack-body p { font-size: 13.5px; color: var(--text-muted); }
.pack-lista { font-size: 13px; color: var(--text-muted); margin: 4px 0 16px; }
.pack-lista li { padding-left: 15px; position: relative; margin-bottom: 5px; line-height: 1.45; }
.pack-lista li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--rosa); border: 1px solid var(--card-border); }
.pack-precio { margin-top: auto; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-bottom: 14px; }
.pack-precio b { font-family: var(--serif); font-size: 26px; font-weight: 700; }
.pack-precio s { font-size: 14px; color: var(--text-light); }
.pack-ahorro { font-size: 11.5px; font-weight: 700; color: var(--verde); background: #EAF0E8; border-radius: var(--radius-full); padding: 3px 10px; }

/* ---------- 13. QUIZ CTA ---------- */
.quiz-cta { background: var(--rosa-suave); border-block: 2px solid var(--line); }
.quiz-cta-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 68px 24px; max-width: var(--ancho); margin-inline: auto; }
.quiz-visual { position: relative; height: 290px; display: grid; place-items: center; }
.quiz-visual .anillo { position: absolute; border: 2px solid var(--card-border); border-radius: 50%; }
.quiz-visual .anillo:nth-child(1) { width: 290px; height: 290px; }
.quiz-visual .anillo:nth-child(2) { width: 214px; height: 214px; border-color: var(--oro); }
.quiz-visual .anillo:nth-child(3) { width: 140px; height: 140px; background: var(--card); box-shadow: var(--card-shadow); }
.quiz-visual .centro-txt { position: relative; text-align: center; }
.quiz-visual .centro-txt b { display: block; font-family: var(--serif); font-size: 46px; font-weight: 700; color: var(--oro-hondo); line-height: 1; }
.quiz-visual .centro-txt span { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- 14. MARQUEE DE MARCAS ---------- */
.marcas { background: var(--tinta); color: var(--surface); padding: 26px 0; overflow: hidden; border-block: 2px solid var(--line); }
.marquee { display: flex; width: max-content; animation: correr 44s linear infinite; }
.marquee span { font-size: 15px; font-weight: 500; letter-spacing: .1em; opacity: .7; padding: 0 26px; white-space: nowrap; }
.marquee span::after { content: '·'; margin-left: 26px; opacity: .45; }
@keyframes correr { to { transform: translateX(-50%); } }
.marcas:hover .marquee { animation-play-state: paused; }

/* ---------- 15. TESTIMONIOS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.testi {
  background: var(--card); border: 2px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--card-shadow);
  padding: 26px 22px; display: flex; flex-direction: column;
  transition: all var(--t);
}
.testi:hover { transform: translate(-3px,-3px); box-shadow: var(--hard-rosa); border-color: var(--line); }
.testi .estrellas { color: var(--oro); font-size: 14px; letter-spacing: .16em; margin-bottom: 12px; }
.testi p { font-family: var(--serif); font-size: 15.5px; line-height: 1.55; font-style: italic; }
.testi footer { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--border-light); }
.testi b { display: block; font-size: 14px; font-weight: 600; }
.testi small { font-size: 12px; color: var(--text-light); }

/* ---------- 16. NEWSLETTER ---------- */
.news { background: var(--surface); border-block: 2px solid var(--line); }
.news-form { display: flex; gap: 10px; max-width: 470px; margin: 24px auto 0; }
.news-form input {
  flex: 1; padding: 13px 18px; border: 2px solid var(--card-border);
  border-radius: var(--radius-sm); background: var(--card); font-size: 14.5px;
}
.news-form input:focus { outline: none; border-color: var(--oro); }

/* ---------- 17. FOOTER ---------- */
.footer { background: var(--tinta); color: #C9BFB4; padding: 62px 0 0; border-top: 2px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 42px; padding-bottom: 46px; }
.footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--oro); margin-bottom: 16px; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a { transition: color var(--t); }
.footer a:hover { color: #fff; }
.footer-logo b { font-family: var(--logo); font-size: 27px; font-weight: 300; letter-spacing: .32em; color: var(--surface); display: block; }
.footer-logo small { font-size: 8.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--oro); }
.footer-desc { font-size: 14px; margin: 16px 0 20px; max-width: 36ch; line-height: 1.65; }
.footer-social { display: flex; gap: 9px; }
.footer-social a {
  width: 40px; height: 40px; border: 2px solid rgba(193,162,100,.4);
  border-radius: var(--radius-sm); display: grid; place-items: center; transition: all var(--t);
}
.footer-social a:hover { background: var(--oro); border-color: var(--oro); color: var(--tinta); transform: translate(-2px,-2px); box-shadow: 2px 2px 0 rgba(193,162,100,.4); }
.footer-social svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.footer-pagos { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-pagos span { font-size: 11.5px; padding: 4px 11px; border: 1.5px solid rgba(193,162,100,.3); border-radius: var(--radius-full); }
.footer-bar {
  border-top: 1px solid rgba(193,162,100,.2); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: #918880;
}

/* ---------- 18. CARRITO (DRAWER) ---------- */
.velo {
  position: fixed; inset: 0; background: rgba(59,52,46,.45); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: all var(--t-slow); z-index: 90;
}
.velo.abierto { opacity: 1; visibility: visible; }

.carrito {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(430px, 100vw);
  background: var(--bg); z-index: 100; border-left: 2px solid var(--line);
  transform: translateX(100%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column;
}
.carrito.abierto { transform: none; }
.carrito-head {
  padding: 18px 22px; border-bottom: 2px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; background: var(--surface);
}
.carrito-head b { font-family: var(--serif); font-size: 19px; font-weight: 700; }
.carrito-body { flex: 1; overflow-y: auto; padding: 20px 22px; }
.carrito-vacio { text-align: center; padding: 60px 20px; color: var(--text-light); }
.carrito-vacio svg { width: 46px; height: 46px; stroke: var(--rosa-hover); stroke-width: 1.3; fill: none; margin: 0 auto 16px; }

.ci { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.ci:first-child { padding-top: 0; }
.ci-img { border-radius: var(--radius-sm); border: 1.5px solid var(--card-border); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.ci-img svg { width: 64%; height: 64%; }
.ci-marca { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--oro-hondo); }
.ci-nombre { font-family: var(--serif); font-size: 14px; font-weight: 600; line-height: 1.35; margin: 2px 0 8px; }
.ci-fila { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--card-border); border-radius: var(--radius-sm); background: var(--card); }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; font-size: 15px; color: var(--text-muted); transition: color var(--t); }
.qty button:hover { color: var(--oro-hondo); }
.qty span { min-width: 24px; text-align: center; font-size: 13.5px; font-weight: 600; }
.ci-precio { font-family: var(--serif); font-size: 15px; font-weight: 700; }
.ci-quitar { font-size: 12px; color: var(--text-light); text-decoration: underline; text-underline-offset: 3px; }
.ci-quitar:hover { color: var(--alerta); }

.carrito-pie { border-top: 2px solid var(--line); padding: 18px 22px 22px; background: var(--surface); }
.tot-fila { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 7px; color: var(--text-muted); }
.tot-fila.grande { font-family: var(--serif); font-size: 20px; color: var(--text); margin: 10px 0 3px; }
.tot-fila.grande b { font-weight: 700; }
.tot-bs { text-align: right; font-size: 12px; color: var(--text-light); margin-bottom: 15px; }
.envio-aviso {
  background: var(--rosa-suave); border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm); padding: 10px 14px; font-size: 12.5px;
  color: var(--text-muted); margin-bottom: 14px; text-align: center;
}
.envio-barra { height: 5px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-full); margin-top: 7px; overflow: hidden; }
.envio-barra i { display: block; height: 100%; background: var(--oro); transition: width .5s var(--ease); }

/* ---------- 19. CHECKOUT ---------- */
.campo { margin-bottom: 14px; }
.campo label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.campo input, .campo select, .campo textarea {
  width: 100%; padding: 11px 14px; border: 2px solid var(--card-border);
  border-radius: var(--radius-sm); background: var(--card); font-size: 14.5px;
  transition: border-color var(--t);
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--oro); }
.campo textarea { resize: vertical; min-height: 68px; }
.opciones-entrega { display: flex; flex-direction: column; gap: 8px; }
.op-entrega {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 12px 14px; border: 2px solid var(--card-border);
  border-radius: var(--radius-sm); cursor: pointer; transition: all var(--t); background: var(--card);
}
.op-entrega:hover { border-color: var(--oro); }
.op-entrega input { margin-top: 4px; accent-color: var(--oro); }
.op-entrega.sel { border-color: var(--line); background: var(--rosa-suave); box-shadow: var(--hard-xs); }
.op-entrega b { display: block; font-size: 14px; font-weight: 600; }
.op-entrega small { font-size: 12.5px; color: var(--text-light); }

/* ---------- 20. CATÁLOGO ---------- */
.pagina-head { background: var(--surface); padding: 44px 0 40px; border-bottom: 2px solid var(--line); }
.miga { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.miga a:hover { color: var(--oro-hondo); }

.cat-layout { display: grid; grid-template-columns: 240px 1fr; gap: 38px; align-items: start; }
.filtros {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--card); border: 2px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 22px 20px;
}
.filtro-bloque { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border-light); }
.filtro-bloque:last-of-type { border: 0; }
.filtro-bloque h4 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tinta); margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 9px; padding: 5px 0; cursor: pointer; font-size: 14px; color: var(--text-muted); transition: color var(--t); }
.check:hover { color: var(--tinta); }
.check input { accent-color: var(--oro); width: 15px; height: 15px; }
.check span.n { margin-left: auto; font-size: 11.5px; color: var(--text-light); }

.barra-cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.contador { font-size: 13.5px; color: var(--text-light); }
.orden { display: flex; align-items: center; gap: 12px; }
.orden select {
  padding: 9px 34px 9px 14px; border: 2px solid var(--card-border); border-radius: var(--radius-sm);
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236E6259' fill='none' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 13px center;
  font-size: 13.5px; appearance: none; cursor: pointer;
}
.buscador { position: relative; flex: 1; max-width: 310px; }
.buscador input {
  width: 100%; padding: 10px 16px 10px 40px; border: 2px solid var(--card-border);
  border-radius: var(--radius-sm); background: var(--card); font-size: 14px;
}
.buscador input:focus { outline: none; border-color: var(--oro); }
.buscador svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--text-light); stroke-width: 1.7; fill: none; }

.chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 20px; }
.chip {
  font-size: 12.5px; font-weight: 500; padding: 6px 13px;
  border: 1.5px solid var(--line); border-radius: var(--radius-full);
  display: inline-flex; align-items: center; gap: 8px; background: var(--rosa);
}
.chip button { font-size: 14px; line-height: 1; color: var(--tinta); }
.chip.limpiar { background: var(--card); border-color: var(--card-border); cursor: pointer; }
.chip.limpiar:hover { border-color: var(--line); }

.sin-resultados { text-align: center; padding: 70px 20px; color: var(--text-muted); }

/* ---------- 21. FICHA DE PRODUCTO ---------- */
.ficha { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.ficha-visual {
  border-radius: var(--radius); aspect-ratio: 1;
  border: 2px solid var(--line); box-shadow: var(--card-shadow);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.ficha-visual svg { width: 54%; height: 54%; }
.ficha-marca { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--oro-hondo); }
.ficha-nombre { font-size: clamp(26px, 3.4vw, 37px); font-weight: 700; margin: 8px 0 6px; line-height: 1.14; }
.ficha-tamano { font-size: 14px; color: var(--text-light); }
.ficha-precio { display: flex; align-items: baseline; gap: 12px; margin: 20px 0 5px; }
.ficha-precio b { font-family: var(--serif); font-size: 34px; font-weight: 700; }
.ficha-precio s { font-size: 18px; color: var(--text-light); }
.ficha-bs { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.ficha-resumen { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--text-muted); line-height: 1.5; margin-bottom: 22px; }
.ficha-compra { display: flex; gap: 11px; align-items: stretch; margin: 22px 0 12px; }
.ficha-compra .qty { padding: 0 3px; border-width: 2px; }
.ficha-compra .qty button { width: 34px; height: 46px; }
.ficha-stock {
  font-size: 13px; font-weight: 600; color: var(--verde);
  display: inline-flex; align-items: center; gap: 8px;
  background: #EAF0E8; border: 1.5px solid rgba(110,139,106,.35);
  border-radius: var(--radius-full); padding: 5px 13px;
}
.ficha-stock i { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); display: block; }
.ficha-stock.bajo { color: var(--alerta); background: #F7E9E5; border-color: rgba(192,106,90,.35); }
.ficha-stock.bajo i { background: var(--alerta); }

.acordeon { border-top: 2px solid var(--card-border); margin-top: 30px; }
.acordeon-item { border-bottom: 1px solid var(--border); }
.acordeon-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 17px 0; font-size: 14.5px; font-weight: 600; text-align: left; }
.acordeon-btn i { font-style: normal; font-size: 19px; color: var(--oro-hondo); transition: transform var(--t-slow); }
.acordeon-item.abierto .acordeon-btn i { transform: rotate(45deg); }
.acordeon-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acordeon-panel > div { padding: 0 0 20px; font-size: 14.5px; color: var(--text-muted); line-height: 1.72; }
.ingredientes-lista { display: flex; flex-wrap: wrap; gap: 7px; }
.ingredientes-lista span { font-size: 12.5px; padding: 5px 12px; background: var(--rosa-suave); border: 1.5px solid var(--card-border); border-radius: var(--radius-full); }

/* ---------- 22. QUIZ ---------- */
.quiz-caja {
  background: var(--card); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 44px 40px; box-shadow: 5px 5px 0 var(--rosa);
}
.quiz-progreso { height: 6px; background: var(--bg); border: 1.5px solid var(--card-border); border-radius: var(--radius-full); margin-bottom: 32px; overflow: hidden; }
.quiz-progreso i { display: block; height: 100%; background: var(--oro); transition: width .45s var(--ease); }
.quiz-paso-n { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--oro-hondo); margin-bottom: 12px; }
.quiz-pregunta { font-family: var(--serif); font-size: clamp(23px, 3.2vw, 31px); font-weight: 700; line-height: 1.22; margin-bottom: 28px; }
.quiz-ops { display: grid; gap: 10px; }
.quiz-op {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 20px; border: 2px solid var(--card-border); border-radius: var(--radius-sm);
  background: var(--surface); font-size: 15px; transition: all var(--t);
}
.quiz-op:hover { border-color: var(--line); background: var(--rosa-suave); transform: translate(-3px,-3px); box-shadow: var(--hard); }
.quiz-op i {
  font-style: normal; width: 28px; height: 28px; flex: none;
  border: 2px solid var(--card-border); border-radius: 50%;
  display: grid; place-items: center; font-size: 12.5px; font-weight: 700;
  color: var(--oro-hondo); background: var(--card);
}
.quiz-op:hover i { border-color: var(--line); background: var(--oro-suave); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.quiz-volver { font-size: 13.5px; font-weight: 500; color: var(--text-light); }
.quiz-volver:hover { color: var(--tinta); }

.resultado-perfil {
  text-align: center; padding: 30px; border-radius: var(--radius);
  background: var(--rosa-suave); border: 2px solid var(--line);
  box-shadow: var(--card-shadow); margin-bottom: 34px;
}
.resultado-perfil b { font-family: var(--serif); font-size: 36px; font-weight: 700; display: block; color: var(--oro-hondo); line-height: 1.1; }
.resultado-tags { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.resultado-tags span { font-size: 12px; font-weight: 600; padding: 5px 13px; background: var(--card); border: 1.5px solid var(--card-border); border-radius: var(--radius-full); }

/* ---------- 23. NOSOTROS ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.editorial.invertido .editorial-txt { order: 2; }
.editorial-visual {
  aspect-ratio: 4/3; border-radius: var(--radius); position: relative; overflow: hidden;
  border: 2px solid var(--line); box-shadow: 6px 6px 0 var(--rosa);
  display: grid; place-items: center;
  background: linear-gradient(155deg, #FBF1EC, #F0DDD3);
}
.editorial-visual img { width: 100%; height: 100%; object-fit: cover; }
.editorial-visual svg { width: 44%; height: 44%; position: relative; z-index: 1; }
.editorial-txt p { font-size: 15.5px; color: var(--text-muted); line-height: 1.78; }

.valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.valor {
  background: var(--card); border: 2px solid var(--card-border); border-radius: var(--radius);
  box-shadow: var(--card-shadow); padding: 28px 26px; transition: all var(--t);
}
.valor:hover { transform: translate(-3px,-3px); box-shadow: var(--hard-oro); border-color: var(--line); }
.valor svg { width: 28px; height: 28px; stroke: var(--oro-hondo); stroke-width: 1.5; fill: none; margin-bottom: 14px; }
.valor h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.valor p { font-size: 14px; color: var(--text-muted); margin: 0; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item .acordeon-btn { font-family: var(--serif); font-size: 17px; }

/* ---------- 24. FAB WHATSAPP ---------- */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 54px; height: 54px; border-radius: var(--radius-full);
  background: #25D366; border: 2px solid var(--line);
  display: grid; place-items: center; box-shadow: var(--hard);
  transition: all var(--t);
}
.fab-wa:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 rgba(59,52,46,.82); }
.fab-wa svg { width: 27px; height: 27px; fill: #14361F; }

/* ---------- 25. TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 90px);
  background: var(--tinta); color: var(--surface);
  border: 2px solid var(--line); box-shadow: 3px 3px 0 var(--oro);
  padding: 13px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  z-index: 120; opacity: 0; transition: all var(--t-slow); pointer-events: none;
}
.toast.visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- 26. ANIMACIÓN DE ENTRADA ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 27. MENÚ MÓVIL ---------- */
.menu-movil {
  position: fixed; inset: 0; z-index: 95; background: var(--bg);
  transform: translateX(-100%); transition: transform .38s var(--ease);
  padding: 22px; display: flex; flex-direction: column;
}
.menu-movil.abierto { transform: none; }
.menu-movil nav { display: flex; flex-direction: column; gap: 2px; margin-top: 26px; }
.menu-movil nav a { font-family: var(--serif); font-size: 26px; font-weight: 600; padding: 13px 0; border-bottom: 1px solid var(--border); }

/* ---------- 28. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .packs-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .pasos { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 900px) {
  .cat-layout { grid-template-columns: 1fr; gap: 22px; }
  .filtros {
    position: fixed; inset: 0; z-index: 95; background: var(--bg);
    border: 0; border-radius: 0; box-shadow: none;
    padding: 22px; overflow-y: auto; transform: translateX(-100%);
    transition: transform .38s var(--ease);
  }
  .filtros.abierto { transform: none; }
  .ficha { grid-template-columns: 1fr; gap: 30px; }
  .editorial, .quiz-cta-in { grid-template-columns: 1fr; gap: 34px; }
  .editorial.invertido .editorial-txt { order: 0; }
  .valores { grid-template-columns: 1fr; }
  /* Sin dos columnas, el velo pasa a ser vertical y más cubriente
     para que el texto oscuro siga leyéndose sobre la foto. */
  .hero { background-position: 62% 50%; }
  .hero::before {
    background: linear-gradient(172deg,
      rgba(250,245,238,.96) 0%, rgba(250,245,238,.93) 46%,
      rgba(250,245,238,.86) 72%, rgba(250,245,238,.78) 100%);
  }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .seccion { padding: 54px 0; }
  .nav { display: none; }
  .burger { display: grid; }
  .header-in { grid-template-columns: auto 1fr auto; }
  .logo b { font-size: 21px; }
  .prod-grid, .prod-grid-3, .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .packs-grid, .testi-grid { grid-template-columns: 1fr; }
  .prod-add, .prod-fav { opacity: 1; transform: none; }
  .confianza-grid { grid-template-columns: repeat(2, 1fr); }
  .confianza-item:nth-child(3) { border-left: 0; }
  .confianza-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .pasos { grid-template-columns: 1fr 1fr; }
  .quiz-caja { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sec-head { margin-bottom: 26px; }
  .hero-in { padding: 60px 24px 56px; min-height: 440px; }
  .hero-eyebrow { font-size: 10.5px; letter-spacing: .1em; padding: 5px 13px; margin-bottom: 16px; }
  .hero-cta { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; max-width: 320px; }
  .anuncio .oculta-movil { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
