/* ==========================================================================
   D'ESTABLO — Editorial Cream · Valle del Colca
   Paleta de marca: Crema #E7E1D9 · Miel Dorada #FEAA00 · Carbón #0E0E0E
   ========================================================================== */

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
img, picture, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
[hidden] { display: none !important; }

/* ---------- Tokens ---------- */
:root {
  --paper:    #faf6ee;
  --bg:       #efe7d9;
  --bg-2:     #e7e1d9;   /* Blanco Crema (marca) */
  --sand:     #ddd3c1;
  --ink:      #14110c;   /* Carbón cálido */
  --ink-soft: #37312a;
  --ink-mute: #6f675b;
  --gold:     #feaa00;   /* Amarillo Miel Dorada (marca) */
  --gold-deep:#d98f00;
  --gold-soft:#f6d69a;
  --green:    #2f6b41;   /* familia Paria */
  --line:     rgba(20,17,12,0.14);
  --line-2:   rgba(20,17,12,0.08);

  --accent:   var(--gold);   /* sobrescrito por producto */
  --accent-2: var(--gold-deep);

  --ff-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --ff-body:    "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-script:  "Sacramento", "Segoe Script", cursive;

  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease:     cubic-bezier(.65,.05,.36,1);

  --wrap: 1220px;
  --pad: clamp(1.1rem, 4vw, 3.2rem);
  --radius: 18px;
}

/* ---------- Tonalidad del fondo (elegible desde el panel · General) ---------- */
:root[data-bg-tone="crema"] {
  --paper:    #f3ede0;
  --bg:       #e7e1d9;   /* Blanco Crema (marca), como base de la página */
  --bg-2:     #ddd0ba;
  --sand:     #cfc0a2;
}
:root[data-bg-tone="arena"] {
  --paper:    #ede4d0;
  --bg:       #ddd0b4;
  --bg-2:     #d2c19d;
  --sand:     #bfa877;
}

/* ---------- Base ---------- */
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

.wrap { width: min(100% - 2.2rem, var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 1.4rem, 1420px); margin-inline: auto; }

section { position: relative; }

/* ---------- Tipografía utilitaria ---------- */
.kicker {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.script {
  font-family: var(--ff-script);
  font-weight: 400;
  line-height: 0.9;
  color: var(--accent-2);
}
h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; }

.section-head { max-width: 44ch; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-top: 0.7rem; }
.section-head p { color: var(--ink-mute); margin-top: 1rem; font-size: 1.05rem; max-width: 40ch; }

/* ---------- Botones ---------- */
.btn {
  --bg-btn: var(--ink);
  --fg-btn: var(--paper);
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.92em 1.5em;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 0.98rem;
  background: var(--bg-btn);
  color: var(--fg-btn);
  border: 1.5px solid var(--bg-btn);
  cursor: pointer;
  transition: transform .25s var(--ease-out), background .25s, color .25s, box-shadow .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(20,17,12,.5); }
.btn-gold { --bg-btn: var(--gold); --fg-btn: #2a1c00; border-color: var(--gold); }
.btn-gold:hover { box-shadow: 0 16px 34px -14px rgba(214,143,0,.7); }
.btn-wa { --bg-btn: #25d366; --fg-btn: #04310f; border-color: #25d366; }
.btn-wa:hover { box-shadow: 0 16px 34px -14px rgba(37,211,102,.6); }
.btn-ghost { --bg-btn: transparent; --fg-btn: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn svg { width: 1.15em; height: 1.15em; }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--paper);
  animation: splashSafety .01s 4.4s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .7s var(--ease-out), clip-path .8s var(--ease); clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark { text-align: center; }
.splash-mark .m { font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.2rem,7vw,3.6rem); letter-spacing: .04em; color: var(--paper); }
.splash-mark .m b { color: var(--gold); }
.splash-mark .s { font-family: var(--ff-script); color: var(--gold-soft); font-size: 1.7rem; margin-top: -.2rem; }
.splash-bar { width: 120px; height: 2px; margin: 1.1rem auto 0; background: rgba(255,255,255,.18); overflow: hidden; border-radius: 2px; }
.splash-bar::after { content: ""; display: block; height: 100%; width: 40%; background: var(--gold); animation: splashLoad 1.3s var(--ease-out) infinite; }
@keyframes splashLoad { 0% { transform: translateX(-120%);} 100% { transform: translateX(360%);} }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem var(--pad);
  transition: background .35s var(--ease-out), box-shadow .35s, padding .35s;
}
.nav.is-solid {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-2), 0 10px 30px -22px rgba(20,17,12,.5);
  padding-block: 0.7rem;
}
.brandmark { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--ff-display); font-weight: 700; font-size: 1.32rem; letter-spacing: .02em; color: var(--ink); }
.brandmark .apos { color: var(--gold-deep); }
.brandmark .seal { width: 34px; height: 34px; flex: none; }
.brand-logo-img { width: 34px; height: 34px; flex: none; object-fit: contain; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a.link { font-weight: 500; font-size: .95rem; color: var(--ink-soft); position: relative; padding: .2rem 0; }
.nav-links a.link::after { content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0; background: var(--gold-deep); transition: width .3s var(--ease-out); }
.nav-links a.link:hover::after { width: 100%; }
.nav-cta { display: inline-flex; }
.menu-extra { display: none; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { content:""; display:block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .3s var(--ease); }
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding: 7.5rem var(--pad) 3rem;
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% -10%, #f6ecd6 0%, transparent 55%),
    radial-gradient(90% 70% at -10% 110%, #eadfca 0%, transparent 55%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.hero-copy { max-width: 34ch; }
.hero-title { font-size: clamp(2.7rem, 6.6vw, 5.4rem); margin: 1.1rem 0 0.4rem; text-wrap: balance; }
.hero-title .lg { display: block; }
.hero-title .script { font-size: clamp(3.6rem, 9vw, 7rem); display: block; margin: -.2rem 0 -.4rem; }
.hero-sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 32ch; margin: 1.3rem 0 0; }
.hero-slogan { font-family: var(--ff-display); font-weight: 500; color: var(--gold-deep); font-size: .96rem; letter-spacing: .02em; margin-top: 1rem; display: flex; align-items: center; gap: .5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Hero visual — collage */
.hero-visual { position: relative; aspect-ratio: 4/4.4; }
.hero-photo {
  position: absolute; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 70px -34px rgba(20,17,12,.55);
  background: var(--sand);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.p1 { inset: 0 18% 22% 0; z-index: 2; }
.hero-photo.p2 { width: 46%; aspect-ratio: 3/3.5; right: 0; bottom: 6%; z-index: 3; border: 5px solid var(--paper); }
.hero-badge {
  position: absolute; z-index: 4; left: -4%; bottom: 10%;
  background: var(--ink); color: var(--paper);
  border-radius: 50%; width: 118px; height: 118px;
  display: grid; place-content: center; text-align: center;
  box-shadow: 0 20px 40px -18px rgba(20,17,12,.6);
  animation: spinBadge 26s linear infinite;
}
@keyframes spinBadge { to { transform: rotate(360deg); } }
.hero-badge .bt { font-family: var(--ff-script); color: var(--gold); font-size: 1.15rem; line-height: 1; }
.hero-badge .bn { font-family: var(--ff-display); font-weight: 600; font-size: .82rem; letter-spacing: .04em; }
.hero-badge .bs { font-size: .5rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-top: .15rem; }

.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.scroll-cue .ln { width: 1px; height: 34px; background: linear-gradient(var(--ink-mute), transparent); animation: cue 1.8s var(--ease-out) infinite; transform-origin: top; }
@keyframes cue { 0%,100%{ transform: scaleY(.4); opacity:.4;} 50%{ transform: scaleY(1); opacity:1;} }

/* ---------- Motivos Colca (petroglifos) ---------- */
.motif { color: var(--accent); opacity: .9; }
.motif-band { display: flex; align-items: center; justify-content: center; gap: clamp(1.4rem,5vw,3.4rem); padding: 1.6rem 0; color: var(--gold-deep); }
.motif-band svg { width: clamp(30px,5vw,46px); height: auto; opacity: .55; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; border-block: 1px solid rgba(255,255,255,.06); }
.marquee-track { display: inline-flex; align-items: center; gap: 2.4rem; padding: .95rem 0; white-space: nowrap; will-change: transform; animation: marq 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--ff-display); font-weight: 500; font-size: 1.02rem; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 2.4rem; }
.marquee-track .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Historia ---------- */
.historia { padding: clamp(4rem, 9vw, 7rem) var(--pad); background: var(--paper); }
.historia-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.historia-figure { position: relative; }
.historia-figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/4.6; object-fit: cover; box-shadow: 0 40px 70px -40px rgba(20,17,12,.5); }
.historia-figure .tagchip { position: absolute; bottom: -18px; left: -14px; background: var(--gold); color: #2a1c00; font-family: var(--ff-display); font-weight: 600; padding: .7rem 1.2rem; border-radius: 999px; box-shadow: 0 16px 30px -16px rgba(214,143,0,.7); font-size: .92rem; }
.historia h2 { font-size: clamp(1.9rem, 4.3vw, 3.1rem); margin: .8rem 0 1.1rem; }
.historia p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 52ch; }
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 2rem; }
.pillar .n {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: .7rem; border-radius: 50%;
  background: var(--ink); border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 3px var(--paper), 0 6px 14px -8px rgba(20,17,12,.5);
  font-family: var(--ff-display); font-weight: 700; color: var(--gold); font-size: .92rem;
}
.pillar h4 { font-family: var(--ff-display); font-weight: 600; font-size: 1.02rem; margin: .2rem 0 .3rem; }
.pillar p { font-size: .9rem; color: var(--ink-mute); margin: 0; }

/* ---------- Catálogo ---------- */
.catalogo { padding: clamp(4rem, 9vw, 7rem) var(--pad); }
.cat-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.4rem; margin-bottom: 1.6rem; }
.cat-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.4rem; margin-bottom: 2.4rem; }
.search { position: relative; display: flex; align-items: center; flex: 1 1 300px; max-width: 380px; }
.search .ic { position: absolute; left: 15px; width: 18px; height: 18px; color: var(--ink-mute); pointer-events: none; }
.search input { width: 100%; padding: .7em 2.6em .7em 2.7em; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-family: var(--ff-body); font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--ink-mute); }
.search input:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(254,170,0,.18); }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear { position: absolute; right: 9px; width: 28px; height: 28px; border: 0; background: none; cursor: pointer; color: var(--ink-mute); border-radius: 50%; display: none; place-content: center; }
.search-clear.show { display: grid; }
.search-clear svg { width: 15px; height: 15px; }
.search-clear:hover { background: var(--bg); color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; }
.no-results { display: none; text-align: center; color: var(--ink-mute); padding: 2.8rem 1rem; font-size: 1rem; }
.filter {
  font-family: var(--ff-display); font-weight: 500; font-size: .9rem;
  padding: .5em 1.1em; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink-soft);
  cursor: pointer; transition: all .25s var(--ease-out);
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.8rem);
}
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  transition: transform .4s var(--ease-out), box-shadow .4s;
  will-change: transform;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 34px 54px -30px rgba(20,17,12,.42); }
.card-media { position: relative; aspect-ratio: 4/4.3; overflow: hidden; background: var(--photo-bg, #fff); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.07); }
.card-line { position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--accent); z-index: 3; }
.card-fav { position: absolute; top: .8rem; right: .8rem; z-index: 3; background: var(--gold); color: #2a1c00; font-family: var(--ff-display); font-weight: 600; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: .32em .7em; border-radius: 999px; display: inline-flex; align-items:center; gap: .3rem; box-shadow: 0 8px 18px -8px rgba(214,143,0,.7); }
.card-body { padding: 1.15rem 1.2rem 1.35rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-kicker { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }
.card h3 { font-size: 1.32rem; }
.card-desc { font-size: .9rem; color: var(--ink-mute); flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; }
.card-pres { font-size: .78rem; color: var(--ink-mute); }
.card-go { font-family: var(--ff-display); font-weight: 600; font-size: .88rem; color: var(--ink); display: inline-flex; align-items: center; gap: .35rem; transition: gap .25s var(--ease-out); white-space: nowrap; }
.card-go svg { width: 1.05em; height: 1.05em; flex: none; }
.card:hover .card-go { gap: .65rem; color: var(--accent-2); }
.card-link { position: absolute; inset: 0; z-index: 4; }
.card-link:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }

/* Sello branded card (sin foto) */
.card-seal {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  background:
    radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--accent) 26%, #efe7d9) 0%, #e7decd 60%, #ddd3c1 100%);
  color: var(--ink);
  padding: 1rem;
}
.card-seal .cs-mark { width: 76px; height: 76px; margin: 0 auto .6rem; }
.card-seal .cs-name { font-family: var(--ff-script); font-size: 2.1rem; color: var(--accent-2); line-height: .9; }
.card-seal .cs-sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); margin-top: .5rem; }
.card-seal .cs-motif { display:flex; gap:.7rem; justify-content:center; margin-top:.7rem; opacity:.5; color: var(--accent-2); }
.card-seal .cs-motif svg { width: 22px; height: 22px; }

/* ---------- Franja valores ---------- */
.values { background: var(--gold); color: #2a1c00; padding: clamp(2.4rem,5vw,3.4rem) var(--pad); }
.values-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.value { display: flex; flex-direction: column; gap: .35rem; }
.value svg { width: 34px; height: 34px; color: #2a1c00; }
.value h4 { font-family: var(--ff-display); font-weight: 600; font-size: 1.05rem; }
.value p { font-size: .86rem; color: #5a3d05; }

/* ---------- Reconocimientos ---------- */
.awards { padding: clamp(4rem, 9vw, 7rem) var(--pad); background: var(--ink); }
.awards .kicker { color: var(--gold); }
.awards .kicker::before { background: var(--gold); }
.awards .section-head h2 { color: var(--paper); }
.awards .section-head p { color: rgba(250,246,238,.62); }
.awards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px,1fr)); gap: 1.1rem; }
.award {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.3rem 1.4rem; border-radius: 16px;
  background: rgba(250,246,238,.04); border: 1px solid rgba(250,246,238,.1);
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out);
}
.award:hover { transform: translateY(-4px); border-color: rgba(254,170,0,.4); }
.medal { flex: none; width: 72px; display: grid; place-content: center; }
.medal img { width: 100%; height: auto; display: block; filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }
.award .cat { font-family: var(--ff-display); font-weight: 600; font-size: 1rem; color: var(--paper); }
.award .ev { font-size: .84rem; color: rgba(250,246,238,.58); }
.award .tp { font-size: .78rem; color: rgba(250,246,238,.48); font-style: italic; margin-top: .1rem; }
.award .yr { font-size: .78rem; color: var(--gold); font-weight: 600; margin-top: .2rem; letter-spacing: .05em; }

/* ---------- Clientes ---------- */
.clients { padding: clamp(3rem,7vw,5rem) var(--pad); text-align: center; }
.clients p.lead { color: var(--ink-mute); max-width: 46ch; margin: .8rem auto 2rem; }
.client-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1rem; }
.client-chip { font-family: var(--ff-display); font-weight: 500; font-size: .95rem; padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); background: var(--paper); }

/* ---------- Contacto CTA ---------- */
.contacto { padding: clamp(4rem, 9vw, 7rem) var(--pad); }
.contacto-card {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
  border-radius: 26px;
  padding: clamp(2.4rem, 6vw, 4.6rem);
  width: min(100% - 0rem, var(--wrap)); margin-inline: auto;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center;
}
.contacto-card::after {
  content: ""; position: absolute; right: -12%; top: -40%;
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(254,170,0,.32), transparent 66%);
  filter: blur(30px); pointer-events: none;
}
.contacto-card h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); position: relative; z-index: 1; }
.contacto-card h2 .script { color: var(--gold); display: block; font-size: clamp(2.6rem,6vw,4.4rem); }
.contacto-card p { color: rgba(250,246,238,.72); margin: 1rem 0 1.8rem; position: relative; z-index: 1; max-width: 40ch; }
.contacto-actions { display: flex; flex-wrap: wrap; gap: .8rem; position: relative; z-index: 1; }
.contact-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; gap: .8rem; align-items: flex-start; }
.contact-item svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: .15rem; }
.contact-item .lbl { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,246,238,.5); }
.contact-item .val { font-family: var(--ff-display); font-weight: 500; }
.contact-item a.val:hover { color: var(--gold); }

.cf-overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(20,17,12,.55);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-out);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  overflow-y: auto;
}
.cf-overlay.open { opacity: 1; pointer-events: auto; }
.cf-modal {
  width: min(640px, 94vw); max-height: 92vh; overflow-y: auto; overflow-x: hidden;
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: all .3s var(--ease-out);
  margin: auto;
}
.cf-modal.open { opacity: 1; transform: none; }
.contact-form {
  position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.5);
}
.cf-close {
  position: absolute; top: .9rem; right: .9rem; width: 30px; height: 30px;
  border-radius: 8px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink-soft); cursor: pointer; display: grid; place-content: center;
}
.cf-close:hover { background: var(--bg); }
.contact-form h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-top: .3rem; }
.contact-form .cf-sub { color: var(--ink-mute); margin: .35rem 0 1.1rem; font-size: .92rem; }
.cf-grid { display: grid; grid-template-columns: 1fr 2fr; gap: .8rem; min-width: 0; }
.cf-field { margin-bottom: .8rem; display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.cf-field label { display: block; min-height: 1.5rem; line-height: 1.25; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); }
.cf-field label .opt { text-transform: none; font-weight: 400; letter-spacing: 0; font-size: .95em; }
.cf-field label .req { color: var(--gold-deep); font-weight: 700; }
.cf-req-note { font-size: .74rem; color: var(--ink-mute); margin-bottom: .5rem; }
.cf-req-note .req { color: var(--gold-deep); font-weight: 700; }
.cf-field input, .contact-form textarea {
  width: 100%; min-width: 0; box-sizing: border-box;
  font-family: var(--ff-body); font-size: 15px; color: var(--ink);
  padding: .55em .75em; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
}
.contact-form textarea { min-height: 90px; resize: vertical; }
.cf-field input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(254,170,0,.18); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#cf-code { letter-spacing: .5em; text-align: center; font-size: 1.3rem; font-weight: 700; }
[data-cf-step2] [data-cf-back] { margin-left: .6rem; }
.cf-status { margin-top: .9rem; font-size: .9rem; color: var(--ink-mute); min-height: 1.3em; }
.cf-status.ok { color: #2f6b41; }
.cf-status.err { color: #c0392b; }
.cf-success { text-align: center; padding: 1.2rem 0 .4rem; }
.cf-success-ic { font-size: 2.4rem; margin-bottom: .3rem; }
.cf-success h3 { margin-top: 0; }
@media (max-width: 820px) { .cf-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--paper); border-top: 1px solid var(--line-2); padding: clamp(2.6rem,5vw,3.6rem) var(--pad) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.footer .brandmark { font-size: 1.5rem; margin-bottom: .8rem; }
.footer-about { color: var(--ink-mute); font-size: .9rem; max-width: 34ch; }
.footer h5 { font-family: var(--ff-display); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 1rem; }
.footer-links a { display: block; color: var(--ink-mute); font-size: .92rem; padding: .28rem 0; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--ink); padding-left: .3rem; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-content: center; border: 1px solid var(--line); color: var(--ink-soft); transition: all .25s var(--ease-out); }
.socials a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-base { width: min(100% - 2rem, var(--wrap)); margin: 2.2rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; justify-content: space-between; font-size: .8rem; color: var(--ink-mute); }
.footer-base-right { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; }
.footer-base-icons { margin-top: 0; }
.footer-base-icons a { width: 30px; height: 30px; }
.footer-base-icons svg { width: 15px; height: 15px; }

/* ==========================================================================
   PÁGINA DE PRODUCTO
   ========================================================================== */
.pd { padding: 8rem var(--pad) 2rem; }
.breadcrumb { width: min(100% - 2rem, var(--wrap)); margin: 0 auto 1.8rem; font-size: .85rem; color: var(--ink-mute); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: .5; }

.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.8rem, 4vw, 3.6rem); width: min(100% - 2rem, var(--wrap)); margin-inline: auto; align-items: start; }
.pd-gallery { position: sticky; top: 6rem; }
.pd-main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/4.2; background: var(--photo-bg, #fff);
  box-shadow: 0 40px 70px -40px rgba(20,17,12,.5);
}
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-main .card-line { height: 6px; }
.pd-thumbs { display: flex; gap: .7rem; margin-top: .8rem; flex-wrap: wrap; }
.pd-thumb { width: 84px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--photo-bg, #fff); transition: border-color .2s; padding: 0; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.is-active { border-color: var(--accent-2); }

.pd-info .kicker { color: var(--accent-2); }
.pd-info .kicker::before { background: var(--accent); }
.pd-script { font-family: var(--ff-script); color: var(--accent-2); font-size: clamp(2.6rem,7vw,4.2rem); line-height: .8; margin: .6rem 0 .1rem; }
.pd-info h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }

/* ---------- me gusta, compartir, calificación ---------- */
.card-social { position: absolute; top: .8rem; left: .8rem; z-index: 5; display: flex; gap: .4rem; }
.like-btn, .share-btn { display: inline-flex; align-items: center; gap: .3rem; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--line-2); border-radius: 999px; padding: .32em .6em; font-size: .74rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: background .2s var(--ease-out), transform .2s var(--ease-out); }
.like-btn svg, .share-btn svg { width: 15px; height: 15px; flex: none; }
.like-btn:hover, .share-btn:hover { background: var(--paper); transform: translateY(-1px); }
.like-btn.is-liked { color: #c0392b; }
.like-btn.is-liked svg { fill: #c0392b; stroke: #c0392b; }
.like-btn.like-pop svg { animation: destablo-like-pop .35s var(--ease-out); }
@keyframes destablo-like-pop { 0% { transform: scale(1); } 45% { transform: scale(1.4); } 100% { transform: scale(1); } }

.share-menu { position: absolute; top: 100%; left: 0; margin-top: .4rem; z-index: 20; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(20,17,12,.4); padding: .4rem; display: flex; flex-direction: column; gap: .1rem; min-width: 180px; }
.share-menu a, .share-menu button { display: flex; align-items: center; gap: .6rem; padding: .5em .7em; border-radius: 8px; font-size: .86rem; color: var(--ink-soft); text-align: left; width: 100%; }
.share-menu a:hover, .share-menu button:hover { background: var(--bg-2); }
.share-menu svg { width: 18px; height: 18px; flex: none; }

.pd-social.card-social { position: relative; top: auto; left: auto; margin: .3rem 0 .1rem; }

.pd-rating { display: flex; flex-direction: column; gap: .3rem; margin: 0 0 1rem; }
.pd-rating .stars { display: flex; gap: .1rem; }
.pd-rating .star { font-size: 1.5rem; line-height: 1; color: var(--line); background: none; border: 0; padding: 0; cursor: pointer; transition: transform .15s var(--ease-out), color .15s; }
.pd-rating .star.is-filled { color: var(--gold); }
.pd-rating.is-rated .star { cursor: default; }
.pd-rating:not(.is-rated) .star:hover { transform: scale(1.2); }
.pd-rating-info { font-size: .8rem; color: var(--ink-mute); }
.pd-rating-info b { color: var(--ink); font-weight: 700; }
.pd-rating-info .sep { display: inline-block; margin: 0 .5em; color: var(--line); }

.pd-lead { font-size: 1.08rem; color: var(--ink-soft); margin: 1rem 0 1.4rem; max-width: 46ch; }
.pd-attrs { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.attr-badge { width: 88px; flex: none; filter: drop-shadow(0 6px 10px rgba(20,17,12,.25)); }
.attr-badge img { width: 100%; height: 100%; display: block; }
.attr-badge.attr-badge-custom { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; filter: none; }
.attr-badge-circle { width: 60px; height: 60px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ink); border: 2px solid var(--gold); box-shadow: 0 0 0 3px var(--ink), 0 0 0 4px var(--gold-soft); }
.attr-badge-circle svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.attr-badge-caption { font-family: var(--ff-display); font-weight: 600; font-size: .68rem; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-soft); max-width: 90px; }
.pd-desc { color: var(--ink-soft); margin-bottom: 1.4rem; }
.pd-uses { color: var(--ink-soft); margin-bottom: 1.6rem; }
.pd-uses b { font-family: var(--ff-display); font-weight: 600; color: var(--ink); }

.pd-spec { border-top: 1px solid var(--line); margin-bottom: 1.6rem; }
.pd-spec .row { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line-2); font-size: .94rem; }
.pd-spec .row .k { color: var(--ink-mute); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.pd-spec .row .v { color: var(--ink); font-weight: 500; }
.pres-pills { display: inline-flex; flex-wrap: wrap; gap: .4rem; }
.pres-pills span { padding: .25em .7em; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .82rem; }

.pd-cta { display: flex; flex-wrap: wrap; gap: .8rem; padding: 1.4rem; border-radius: 16px; background: var(--bg); border: 1px solid var(--line-2); align-items: center; }
.pd-cta .txt { flex: 1; min-width: 180px; }
.pd-cta .txt b { font-family: var(--ff-display); }
.pd-cta .txt p { font-size: .85rem; color: var(--ink-mute); }

.related { padding: clamp(3rem,7vw,5.5rem) var(--pad); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }   /* defensa gotcha A.4.5 */
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(87vw, 390px); height: 100vh; height: 100dvh; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; background: var(--paper); padding: 5.4rem 1.9rem 2rem; transform: translateX(105%); transition: transform .42s var(--ease); box-shadow: -26px 0 66px -30px rgba(0,0,0,.55); overflow-y: auto; }
  body.menu-open .nav-links { transform: translateX(0); }
  .nav-links a.link { display: flex; align-items: center; justify-content: space-between; width: 100%; font-family: var(--ff-display); font-weight: 500; font-size: 1.5rem; color: var(--ink); padding: 1.05rem .1rem; border-bottom: 1px solid var(--line-2); }
  .nav-links a.link:first-of-type { border-top: 1px solid var(--line-2); }
  .nav-links a.link::after { content: "→"; position: static; width: auto; height: auto; background: none; margin-left: auto; font-size: 1.05rem; font-weight: 400; color: var(--gold-deep); opacity: .5; transition: transform .2s var(--ease-out), opacity .2s; }
  .nav-links a.link:hover::after, .nav-links a.link:active::after { transform: translateX(5px); opacity: 1; }

  body.menu-open .cart-btn { opacity: 0; visibility: hidden; pointer-events: none; }

  .menu-extra { display: block; }
  .menu-eyebrow { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; }
  .menu-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
  .menu-foot { margin-top: 1.9rem; }
  .menu-foot .btn { width: 100%; justify-content: center; font-size: 1rem; padding: .95em 1.4em; }
  .menu-contact { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .5rem; font-size: .92rem; color: var(--ink-mute); }
  .menu-contact a { color: var(--ink-soft); font-weight: 500; }
  .menu-contact a:hover { color: var(--gold-deep); }
  .menu-social { display: flex; gap: .55rem; margin-top: .8rem; }
  .menu-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-content: center; color: var(--ink-soft); transition: all .22s var(--ease-out); }
  .menu-social a svg { width: 18px; height: 18px; }
  .menu-social a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }

  .nav-burger { display: inline-flex; z-index: 101; }
  .nav .nav-cta.desktop { display: none; }

  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { max-width: 380px; margin-top: 1rem; }
  .hero-copy { max-width: none; }

  .historia-grid { grid-template-columns: 1fr; }
  .historia-figure { max-width: 440px; }
  .contacto-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-row { grid-template-columns: repeat(2,1fr); }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; gap: .8rem; }
  .values-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { width: 96px; height: 96px; }
  .cat-top { align-items: flex-start; }
}

/* ==========================================================================
   CARRITO / ECOMMERCE
   ========================================================================== */
/* botón carrito en nav */
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); transition: all .25s var(--ease-out); flex: none; }
.cart-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-badge { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #2a1c00; font-family: var(--ff-display); font-weight: 700; font-size: .72rem; line-height: 1; display: none; align-items: center; justify-content: center; box-shadow: 0 4px 10px -3px rgba(214,143,0,.7); }
.cart-badge.show { display: flex; }

/* botón agregar en tarjeta */
.card-title-link { color: inherit; }
.card-title-link:hover h3 { color: var(--accent-2); }
.card-buy { display: flex; gap: .5rem; margin-top: .8rem; }
.card-size { flex: 1 1 auto; min-width: 0; padding: .55em .8em; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink-soft); font-family: var(--ff-body); font-weight: 500; font-size: .82rem; cursor: pointer; }
.card-size:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.btn-add { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .55em 1em; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); font-family: var(--ff-display); font-weight: 500; font-size: .84rem; cursor: pointer; transition: all .22s var(--ease-out); }
.btn-add:hover { background: var(--gold); border-color: var(--gold); color: #2a1c00; transform: translateY(-2px); }
.btn-add svg { width: 1.05em; height: 1.05em; }
.btn-add.added { background: #25d366; border-color: #25d366; color: #04310f; }

/* controles de compra en detalle */
.pd-buy { margin-top: 1.3rem; padding: 1.4rem; border-radius: 16px; background: var(--bg); border: 1px solid var(--line-2); }
.pd-buy-row { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-bottom: 1.2rem; }
.pd-field { display: flex; flex-direction: column; gap: .55rem; }
.pd-flabel { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.size-pills { display: flex; gap: .4rem; flex-wrap: wrap; }
.size-pill { padding: .45em .95em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-family: var(--ff-display); font-weight: 500; font-size: .86rem; cursor: pointer; transition: all .2s var(--ease-out); }
.size-pill:hover { border-color: var(--ink); }
.size-pill.active { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.pd-buy-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.pd-buy-actions .btn { flex: 1 1 auto; min-width: 180px; justify-content: center; }
.pd-back { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-size: .88rem; color: var(--ink-mute); font-weight: 500; }
.pd-back svg { width: 1.05em; height: 1.05em; }
.pd-back:hover { color: var(--ink); }

/* stepper */
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); }
.stepper button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-size: 1.15rem; line-height: 1; color: var(--ink); display: grid; place-content: center; border-radius: 50%; }
.stepper button:hover { color: var(--gold-deep); }
.stepper .q { min-width: 26px; text-align: center; font-weight: 600; font-size: .92rem; }

/* overlay + drawer */
.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(20,17,12,.5); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-out); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 151; width: min(430px, 92vw); background: var(--paper); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .42s var(--ease); box-shadow: -30px 0 60px -30px rgba(0,0,0,.5); }
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line-2); }
.cart-head h3 { font-size: 1.35rem; }
.cart-head .count { color: var(--ink-mute); font-size: .84rem; margin-top: .1rem; }
.cart-close { background: none; border: 0; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-content: center; color: var(--ink); }
.cart-close:hover { background: var(--bg); }
.cart-close svg { width: 20px; height: 20px; }
.cart-items { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 1.1rem 1.4rem; display: flex; flex-direction: column; gap: 1.1rem; }
.cart-empty { text-align: center; color: var(--ink-mute); margin: auto; padding: 2rem 1rem; }
.cart-empty svg { width: 52px; height: 52px; color: var(--sand); margin: 0 auto 1rem; }
.cart-line { display: grid; grid-template-columns: 66px 1fr; gap: .9rem; align-items: start; }
.cart-line .thumb { width: 66px; height: 66px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg,var(--sand),#d6cbb6); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .thumb.seal { display: grid; place-content: center; font-family: var(--ff-script); font-size: 1.5rem; }
.cart-line h4 { font-family: var(--ff-display); font-weight: 600; font-size: 1rem; line-height: 1.15; }
.cl-size { margin-top: .35rem; }
.cl-size select { font-size: .8rem; padding: .28em .5em; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink-soft); cursor: pointer; }
.cl-controls { display: flex; align-items: center; gap: .8rem; margin-top: .5rem; }
.cl-remove { background: none; border: 0; cursor: pointer; color: var(--ink-mute); font-size: .78rem; display: inline-flex; align-items: center; gap: .28rem; }
.cl-remove svg { width: 14px; height: 14px; }
.cl-remove:hover { color: #c0392b; }
.cart-foot { padding: 1.2rem 1.4rem; border-top: 1px solid var(--line-2); background: var(--bg); }
.cart-note { font-size: .8rem; color: var(--ink-mute); margin-bottom: .9rem; display: flex; gap: .5rem; align-items: flex-start; }
.cart-note svg { width: 16px; height: 16px; color: #25a24a; flex: none; margin-top: .1rem; }
.cart-foot .btn { width: 100%; justify-content: center; }
.cart-clear { text-align: center; margin-top: .7rem; }
.cart-clear button { background: none; border: 0; color: var(--ink-mute); font-size: .8rem; cursor: pointer; text-decoration: underline; }
.cart-clear button:hover { color: #c0392b; }

/* banner de vista previa del borrador */
.preview-bar { position: fixed; left: 18px; bottom: 20px; z-index: 96; display: inline-flex; align-items: center; gap: .8rem; background: var(--ink); color: var(--paper); padding: .6rem .7rem .6rem 1rem; border-radius: 999px; font-family: var(--ff-body); font-size: .82rem; box-shadow: 0 16px 34px -16px rgba(0,0,0,.6); border: 1px solid rgba(254,170,0,.4); }
.preview-bar b { color: var(--gold); font-weight: 600; }
.preview-bar button { border: 0; background: var(--gold); color: #2a1c00; font-family: var(--ff-display); font-weight: 600; font-size: .8rem; padding: .38em .9em; border-radius: 999px; cursor: pointer; transition: background .2s, transform .2s; }
.preview-bar button:hover { transform: translateY(-1px); }
.preview-bar button:not(.pv-ghost):hover { background: #fff; }
.preview-bar .pv-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(250,246,238,.4); }
.preview-bar .pv-ghost:hover { background: rgba(255,255,255,.12); }
@media (max-width: 560px) { .preview-bar { left: 12px; bottom: 84px; font-size: .76rem; } }

/* overlay del menú móvil + bloqueo de scroll */
.nav-overlay { position: fixed; inset: 0; z-index: 97; background: rgba(20,17,12,.5); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-out); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.nav-overlay.open { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }

/* botón flotante WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 95; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-content: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease-out), box-shadow .25s; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 38px -8px rgba(37,211,102,.75); }
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPulse 2.6s var(--ease-out) infinite; pointer-events: none; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
@media (max-width: 560px) { .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; } .wa-float svg { width: 28px; height: 28px; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 160; background: var(--ink); color: var(--paper); padding: .8em 1.35em; border-radius: 999px; font-family: var(--ff-display); font-weight: 500; font-size: .9rem; display: inline-flex; align-items: center; gap: .5rem; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); box-shadow: 0 20px 40px -18px rgba(0,0,0,.55); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 1.15em; height: 1.15em; color: #4ade80; }

/* ---------- Motion gating (solo lo intrusivo) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-badge, .marquee-track, .splash-bar::after, .scroll-cue .ln, .wa-float::after { animation: none; }
}
