/* =================================================================
   Caseritos By Chabela — Versión premium
   Paleta "Terracota Artesanal" (anclada al color real del logo)
   Tipografía editorial: Fraunces (display) + Hanken Grotesk (texto)
   ================================================================= */

:root {
  /* Marca */
  --terracotta:     #C7572C;   /* primario — del logo */
  --terracotta-700: #A8431C;   /* hover / acentos oscuros */
  --terracotta-050: #F7E7DB;   /* tinte suave */
  --olive:          #5B6B4A;   /* secundario — fresco / artesanal */
  --olive-050:      #E9ECE2;
  --honey:          #DE9A2E;   /* acento cálido (uso medido) */

  /* Neutros cálidos */
  --ink:      #2B201A;         /* texto principal (marrón casi negro) */
  --ink-soft: #6E5E52;         /* texto secundario */
  --cream:    #FBF4EA;         /* fondo de página */
  --sand:     #F3E8D8;         /* secciones alternas */
  --paper:    #FFFFFF;         /* tarjetas */
  --line:     #E7D9C7;         /* bordes */

  /* Funcionales */
  --wa:       #25D366;         /* WhatsApp */
  --wa-dark:  #1aa851;

  --shadow-sm: 0 2px 10px rgba(43, 32, 26, .06);
  --shadow-md: 0 14px 40px rgba(43, 32, 26, .10);
  --shadow-lg: 0 30px 70px rgba(43, 32, 26, .16);

  --radius:    18px;
  --radius-lg: 30px;
  --maxw:      1180px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

/* Foco accesible visible en toda interacción por teclado */
:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Textura sutil de fondo (grano cálido, casi imperceptible).
   z-index:-1 la deja detrás del contenido sin tener que tocar el
   posicionamiento del resto (evita pisar position:fixed del carrito). */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================ Botones ============================ */
.btn {
  --bg: var(--terracotta); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.5rem; border: none; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: inherit; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  box-shadow: 0 8px 22px rgba(199, 87, 44, .25);
}
.btn:hover { background: var(--terracotta-700); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(199, 87, 44, .32); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border: 1.5px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { background: var(--paper); border-color: var(--terracotta); color: var(--terracotta); box-shadow: var(--shadow-sm); }
.btn--wa { --bg: var(--wa); }
.btn--wa:hover { background: var(--wa-dark); box-shadow: 0 12px 30px rgba(37,211,102,.3); }
.btn--wa { box-shadow: 0 8px 22px rgba(37,211,102,.25); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ============================ Header / nav ====================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 244, 234, .82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 4px 14px rgba(199,87,44,.3); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.brand-name small { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-weight: 500; font-size: .95rem; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--terracotta); }
.nav-actions { display: flex; align-items: center; gap: .8rem; }

.nav-cart {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--ink);
  padding: .55rem .9rem; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 600; font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.nav-cart:hover { border-color: var(--terracotta); box-shadow: var(--shadow-sm); }
.nav-cart .cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--terracotta); color: #fff; font-size: .78rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ============================ Hero ============================== */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terracotta); background: var(--terracotta-050);
  padding: .45rem .9rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600; color: var(--ink); margin-bottom: 1.3rem;
}
.hero h1 em { font-style: italic; color: var(--terracotta); font-variation-settings: 'SOFT' 40; }
.hero-lead { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: var(--ink-soft); max-width: 30rem; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust b { font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--terracotta); line-height: 1; }
.hero-trust span { font-size: .85rem; color: var(--ink-soft); margin-top: .25rem; }

/* Composición visual del hero: foto real en forma orgánica + tarjetas flotantes */
.hero-art { position: relative; aspect-ratio: 1 / 1; }
.hero-photo {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: 48% 52% 56% 44% / 50% 46% 54% 50%;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--paper);
  background: var(--sand);
}
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.1s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-blob {
  position: absolute; inset: -8% -6% auto auto; width: 62%; aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, var(--honey), var(--terracotta));
  border-radius: 46% 54% 60% 40% / 55% 45% 55% 45%;
  filter: blur(2px); opacity: .18; z-index: -1;
}
.hero-chip {
  position: absolute; background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: .8rem 1rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .65rem; font-size: .85rem; font-weight: 600;
}
.hero-chip .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.2rem; }
.hero-chip small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .76rem; }
.hero-chip--1 { left: -4%; top: 16%; }
.hero-chip--1 .ico { background: var(--olive-050); }
.hero-chip--2 { right: -5%; bottom: 12%; }
.hero-chip--2 .ico { background: var(--terracotta-050); }

/* ============================ Marquee ========================== */
.marquee {
  background: var(--ink); color: var(--cream); overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.06);
}
.marquee-track { display: flex; gap: 2.5rem; white-space: nowrap; padding: .9rem 0; width: max-content; animation: slide 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.15rem; opacity: .85; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee-track span::after { content: '✦'; color: var(--honey); font-style: normal; font-size: .9rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================ Secciones ======================== */
section { scroll-margin-top: 80px; }
.section-pad { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--olive); margin-bottom: .8rem;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); margin-bottom: .8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ============================ Filtros + grid =================== */
.menu { background: var(--sand); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .6rem 1.3rem; border: 1.5px solid var(--line); background: var(--paper);
  color: var(--ink-soft); border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .92rem; font-weight: 600; transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.filter-btn.active { background: var(--terracotta); border-color: var(--terracotta); color: #fff; box-shadow: 0 6px 16px rgba(199,87,44,.25); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.8rem; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--terracotta-050); }
.card.is-hidden { display: none; }

.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  background: var(--paper); color: var(--terracotta-700); border: 1px solid var(--line);
  padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.badge--veggie { color: var(--olive); }

.card-body { padding: 1.2rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card-name { font-size: 1.35rem; color: var(--ink); margin-bottom: .35rem; }
.card-desc { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1rem; flex: 1; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .4rem; }
.field select {
  width: 100%; padding: .6rem .85rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--cream); color: var(--ink); font: inherit; font-size: .88rem; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C7572C' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
}
.field select:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px var(--terracotta-050); }

.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; }
.price { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.price small { font-family: 'Hanken Grotesk', sans-serif; font-size: .72rem; font-weight: 500; color: var(--ink-soft); }
.qty { display: flex; align-items: center; gap: .35rem; }
.qty input {
  width: 48px; padding: .4rem; border: 1.5px solid var(--line); border-radius: 9px;
  text-align: center; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); background: var(--cream);
}
.qty input:focus { outline: none; border-color: var(--terracotta); }
.add-btn {
  width: 42px; height: 42px; border-radius: 12px; border: none; cursor: pointer;
  background: var(--terracotta); color: #fff; font-size: 1.4rem; line-height: 1;
  display: grid; place-items: center; transition: background .25s, transform .2s;
}
.add-btn:hover { background: var(--terracotta-700); transform: scale(1.05); }
.add-btn.done { background: var(--olive); }

/* ============================ Cómo funciona ==================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); position: relative;
}
.step-num {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 2.6rem; color: var(--terracotta-050);
  position: absolute; top: 1rem; right: 1.4rem; line-height: 1;
}
.step .ico { font-size: 2rem; margin-bottom: 1rem; display: block; }
.step h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: .6rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* ============================ Valores ========================== */
.values { background: var(--ink); color: var(--cream); }
.values .kicker { color: var(--honey); }
.values .section-head h2 { color: #fff; }
.values .section-head p { color: rgba(251,244,234,.72); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.value {
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 1.8rem; background: rgba(255,255,255,.03);
}
.value .ico { width: 48px; height: 48px; border-radius: 13px; background: rgba(222,154,46,.16); color: var(--honey); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1.1rem; }
.value h3 { font-size: 1.25rem; color: #fff; margin-bottom: .5rem; }
.value p { font-size: .92rem; color: rgba(251,244,234,.72); }

/* ============================ CTA / contacto =================== */
.cta-band { background: var(--terracotta); color: #fff; text-align: center; }
.cta-band .wrap { padding-block: clamp(3rem, 7vw, 5rem); }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; color: #fff; }
.cta-band p { font-size: 1.1rem; opacity: .92; max-width: 34rem; margin: 0 auto 2rem; }
.cta-band .btn { background: #fff; color: var(--terracotta-700); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }
.cta-note { margin-top: 1.4rem; font-size: .9rem; opacity: .85; }

/* ============================ Footer =========================== */
.site-footer { background: var(--ink); color: var(--cream); padding: 3.5rem 0 2rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { max-width: 22rem; }
.footer-brand .brand b { color: #fff; }
.footer-brand p { color: rgba(251,244,234,.66); font-size: .92rem; margin-top: 1rem; }
.footer-col h4 { font-family: 'Hanken Grotesk', sans-serif; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--honey); margin-bottom: 1rem; font-weight: 700; }
.footer-col a, .footer-col p { display: block; color: rgba(251,244,234,.72); font-size: .95rem; margin-bottom: .6rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; font-size: .85rem; color: rgba(251,244,234,.55); }
.footer-bottom .heart { color: var(--terracotta); }

/* ============================ Carrito (modal) ================== */
.cart-fab {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 800;
  width: 62px; height: 62px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--terracotta); color: #fff; font-size: 1.5rem;
  box-shadow: var(--shadow-lg); transition: transform .25s var(--ease); display: grid; place-items: center;
}
.cart-fab:hover { transform: scale(1.08); background: var(--terracotta-700); }
.cart-fab .cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px;
  background: var(--honey); color: var(--ink); border-radius: 999px; font-size: .8rem; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--cream);
}

.cart-overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgba(43,32,26,.55);
  backdrop-filter: blur(6px); display: none; align-items: flex-end; justify-content: flex-end;
}
.cart-overlay.open { display: flex; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.cart-panel {
  background: var(--cream); width: min(440px, 100%); height: 100%;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  animation: slideIn .35s var(--ease);
}
@keyframes slideIn { from { transform: translateX(40px); opacity: .4; } to { transform: translateX(0); opacity: 1; } }
.cart-head { background: var(--terracotta); color: #fff; padding: 1.3rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.cart-head h2 { font-size: 1.5rem; color: #fff; }
.cart-close { background: rgba(255,255,255,.15); border: none; color: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; transition: transform .3s, background .2s; }
.cart-close:hover { transform: rotate(90deg); background: rgba(255,255,255,.28); }

.cart-body { padding: 1.2rem 1.5rem; overflow-y: auto; flex: 1; }
.cart-line { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: none; }
.cart-line-info { flex: 1; }
.cart-line-info h4 { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--ink); }
.cart-line-info .meta { font-size: .82rem; color: var(--ink-soft); margin-top: 2px; }
.cart-line-info .tag { display: inline-block; margin-top: .4rem; font-size: .72rem; font-weight: 600; color: var(--olive); background: var(--olive-050); padding: .2rem .55rem; border-radius: 999px; }
.cart-line-price { font-family: 'Fraunces', serif; font-weight: 600; color: var(--terracotta); white-space: nowrap; }
.cart-remove { background: none; border: none; color: var(--ink-soft); cursor: pointer; font-size: 1.1rem; opacity: .6; transition: opacity .2s, color .2s; padding: 2px; }
.cart-remove:hover { opacity: 1; color: var(--terracotta); }

.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }
.cart-empty .big { font-size: 3rem; display: block; margin-bottom: 1rem; }

.cart-extra { padding: 0 1.5rem 1rem; }
.cart-extra label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-soft); margin: .8rem 0 .4rem; }
.cart-extra input {
  width: 100%; padding: .65rem .85rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); font: inherit; font-size: .9rem;
}
.cart-extra input:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px var(--terracotta-050); }

.cart-foot { padding: 1.2rem 1.5rem 1.6rem; background: var(--paper); border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; }
.cart-total span { color: var(--ink-soft); font-size: .95rem; }
.cart-total strong { font-family: 'Fraunces', serif; font-size: 1.7rem; color: var(--ink); }
.cart-note { font-size: .78rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.cart-foot .btn--wa { width: 100%; justify-content: center; font-size: 1.05rem; padding: 1rem; }
.cart-foot .btn--wa:disabled { background: #d8cdbf; color: #fff; cursor: not-allowed; box-shadow: none; transform: none; }

/* ============================ Reveal al hacer scroll ===========
   Robustez: el contenido es visible por defecto. La animación solo
   se activa cuando el JS añade la clase .js al <html>; si el JS falla,
   nada queda oculto. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ============================ Responsive ====================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* Ancho explícito: sin columna de grid, el cuadrado necesita una
     medida propia o se colapsa (sus capas son position:absolute). */
  .hero-art { width: min(380px, 100%); margin: 2.5rem auto 0; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.show {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: .2rem;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow-md);
  }
  .nav-links.show a { padding: .6rem 0; width: 100%; }
  .hero-chip--1 { left: 0; }
  .hero-chip--2 { right: 0; }
  .cart-panel { width: 100%; }
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hero-trust { gap: 1.2rem; }
  .hero-chip { padding: .6rem .7rem; font-size: .78rem; }
}

/* ============================ Reduced motion ================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
