/* ============================================================
   RAMBLA — styles.css
   Base · header · hero bento · marquee · productos · secciones · carrito
   tokens.css es la fuente de verdad de marca; aquí componemos.
   ============================================================ */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; font-weight: 700; font-optical-sizing: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { width: min(1200px, 92vw); margin-inline: auto; }
section { scroll-margin-top: 90px; }
.section { padding: var(--space-section) 0; }
.section--cream  { background: var(--bg); }
.section--surface{ background: var(--surface-2); }
.section__head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-round);
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  font-size: .78rem; color: var(--accent);
  background: var(--accent-soft);
  padding: .4rem .9rem; border-radius: var(--r-pill);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
h2.section__title { font-size: var(--fs-h2); margin-bottom: .7rem; color: var(--text); }
h2.section__title em { font-style: italic; color: var(--accent-2); }
.section__lead { color: var(--muted); font-size: 1.12rem; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -120px; z-index: 1000;
  background: var(--surface); color: var(--accent); padding: .7rem 1.2rem;
  border-radius: var(--r-sm); font-weight: 700; box-shadow: var(--shadow-md);
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }
.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; }

/* ---------- Barra de progreso ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad-sun); z-index: 300; transition: width .1s linear;
}

/* ============================================================
   HEADER — crema sólido, navegación en píldoras
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  padding: .9rem 0;
  transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), padding var(--t-base) var(--ease);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.site-header.is-scrolled {
  background: rgba(246,242,234,.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: .5rem 0;
}

/* Wordmark estilizado (texto, no imagen) */
.brand { display: inline-flex; align-items: baseline; gap: .15rem; font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; letter-spacing: -.01em; color: var(--text); }
.brand .brand__dot { color: var(--accent-2); }
.brand .brand__leaf { display: inline-block; width: 13px; height: 13px; margin-left: .1rem; background: var(--accent); border-radius: 0 60% 0 60%; transform: rotate(20deg); }

/* Navegación en píldoras */
.nav { display: flex; align-items: center; gap: .8rem; }
.nav__links { display: flex; align-items: center; gap: .25rem; background: var(--surface); padding: .3rem; border-radius: var(--r-pill); box-shadow: var(--shadow-xs); border: 1px solid var(--line); }
.nav__links a:not(.btn) {
  font-family: var(--font-round); font-weight: 600; font-size: .95rem;
  color: var(--text); padding: .5rem 1rem; border-radius: var(--r-pill);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a:not(.btn):focus-visible { background: var(--accent-soft); color: var(--accent-deep); }

.nav__actions { display: flex; align-items: center; gap: .6rem; }

/* Botón carrito con badge */
.cart-btn {
  position: relative; width: 48px; height: 48px; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--r-pill); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; color: var(--text);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-fast) var(--ease-soft), border-color var(--t-fast) var(--ease);
}
.cart-btn:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px;
  background: var(--accent-2); color: #fff; border-radius: var(--r-pill);
  font-family: var(--font-round); font-weight: 700; font-size: .72rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
  transform: scale(0); transition: transform var(--t-base) var(--ease-soft);
}
.cart-badge.is-visible { transform: scale(1); }
.cart-badge.bump { animation: badgeBump .4s var(--ease-soft); }
@keyframes badgeBump { 0%{transform:scale(1);} 40%{transform:scale(1.4);} 100%{transform:scale(1);} }

/* Hamburguesa */
.nav__toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--r-pill); cursor: pointer; padding: .8rem;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  box-shadow: var(--shadow-xs);
}
.nav__toggle span { display: block; width: 22px; height: 2.5px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO — BENTO asimétrico
   ============================================================ */
.hero {
  padding: clamp(6.5rem, 12vw, 8.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  background: var(--grad-hero);
  position: relative; overflow: hidden;
}
.hero__pattern {
  position: absolute; inset: 0; background-image: url('img/pattern.png');
  background-size: 520px; opacity: .05; pointer-events: none; z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero__intro { max-width: 640px; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.hero__intro .eyebrow { background: var(--surface); box-shadow: var(--shadow-xs); }

.bento {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
}
.bento__card {
  border-radius: var(--r-xl); padding: 1.6rem; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease-soft), box-shadow var(--t-base) var(--ease);
}
.bento__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* Tarjeta hero (ilustración) */
.bento__hero {
  grid-column: span 2; grid-row: span 2;
  background-color: #285340; /* salvia de respaldo si la imagen no carga */
  background-image: url('img/hero-illus.png');
  background-size: cover; background-position: center;
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 380px;
}
.bento__hero-img { display: none; } /* la ilustración ahora va de fondo en .bento__hero (fill garantizado) */
.bento__hero::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(40,83,64,.78) 0%, rgba(40,83,64,.12) 55%, transparent 100%); z-index:1; }
.bento__hero > * { position: relative; z-index: 2; }
.bento__hero .tag-soft { background: rgba(255,255,255,.22); color:#fff; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
.bento__hero h2 { font-size: clamp(1.4rem,2.4vw,1.9rem); margin-top: .7rem; }
.bento__hero p { color: rgba(255,255,255,.9); margin-top: .4rem; font-size: .98rem; }

/* Tarjeta titular grande */
.bento__title {
  grid-column: span 2; background: var(--surface);
  display: flex; flex-direction: column; justify-content: center;
}
.bento__title h1 { font-size: var(--fs-hero); letter-spacing: -.02em; }
.bento__title h1 em { font-style: italic; color: var(--accent-2); }
.bento__title p { color: var(--muted); margin-top: .8rem; font-size: 1.05rem; }
.bento__title .hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }

/* Tarjeta stat */
.bento__stat {
  background: var(--accent-3); color: var(--text);
  display: flex; flex-direction: column; justify-content: center; gap: .2rem;
}
.bento__stat .stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem,5vw,3.4rem); line-height: 1; }
.bento__stat .stat-unit { font-family: var(--font-round); font-weight: 600; font-size: 1rem; }
.bento__stat .stat-label { color: rgba(38,39,31,.7); font-size: .9rem; margin-top: .3rem; }

/* Mini tarjeta producto */
.bento__mini {
  background: var(--pastel-terracota); display: flex; flex-direction: column; justify-content: space-between; gap: .6rem;
}
.bento__mini .mini-pic { aspect-ratio: 16/10; border-radius: var(--r-md); background: var(--surface) center/cover no-repeat; box-shadow: var(--shadow-xs); }
.bento__mini h3 { font-size: 1.05rem; }
.bento__mini .mini-price { font-family: var(--font-round); font-weight: 700; color: var(--accent-2); }
.bento__mini .mini-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }

/* Chips suaves reutilizables */
.tag-soft {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-round); font-weight: 600; font-size: .78rem;
  background: var(--accent-soft); color: var(--accent-deep);
  padding: .3rem .75rem; border-radius: var(--r-pill); width: max-content;
}

/* ============================================================
   MARQUEE de beneficios
   ============================================================ */
.marquee {
  background: var(--accent-2); color: #fff; overflow: hidden;
  padding: .95rem 0; position: relative;
}
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 28s linear infinite; }
.marquee__group { display: flex; gap: 0; }
.marquee__item {
  font-family: var(--font-display); font-weight: 600; font-style: italic;
  font-size: 1.15rem; padding: 0 1.6rem; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 1.6rem;
}
.marquee__item::after { content: "✦"; font-style: normal; color: var(--accent-3); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   STATS — contadores
   ============================================================ */
.stats { background: var(--bg); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.8rem 1.4rem; text-align: center; box-shadow: var(--shadow-xs);
  transition: transform var(--t-base) var(--ease-soft), box-shadow var(--t-base) var(--ease);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-card .stat-ico { width: 48px; height: 48px; margin: 0 auto .8rem; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.stat-card .stat-ico svg { width: 24px; height: 24px; }
.stat-card .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,4vw,2.8rem); color: var(--text); line-height: 1; }
.stat-card .num .suffix { color: var(--accent-2); }
.stat-card .lbl { color: var(--muted); font-size: .95rem; margin-top: .5rem; }

/* ============================================================
   PRODUCTOS — grid 3 columnas, tarjetas redondeadas pastel
   ============================================================ */
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pcard {
  position: relative; background: var(--surface); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; cursor: pointer;
  transition: transform var(--t-base) var(--ease-soft), box-shadow var(--t-base) var(--ease);
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.pcard:nth-child(3n+1) { background: var(--pastel-salvia); }
.pcard:nth-child(3n+2) { background: var(--pastel-amarillo); }
.pcard:nth-child(3n)   { background: var(--pastel-terracota); }

.pcard__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }

.pcard__badge {
  position: absolute; top: .9rem; left: .9rem; z-index: 3;
  font-family: var(--font-round); font-weight: 700; font-size: .68rem; letter-spacing: .1em;
  background: var(--text); color: var(--bg); padding: .32rem .7rem; border-radius: var(--r-pill);
  text-transform: uppercase;
}
.pcard__type {
  position: absolute; top: .9rem; right: .9rem; z-index: 3;
  font-family: var(--font-round); font-weight: 600; font-size: .72rem;
  background: rgba(255,255,255,.92); color: var(--accent-deep);
  padding: .32rem .7rem; border-radius: var(--r-pill); box-shadow: var(--shadow-xs);
}

.pcard__body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.pcard__name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.pcard__desc { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.pcard__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.chip {
  font-family: var(--font-round); font-weight: 600; font-size: .74rem;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
  padding: .3rem .65rem; border-radius: var(--r-pill);
}
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .4rem; }
.pcard__price { display: flex; flex-direction: column; line-height: 1.1; }
.pcard__price .from { font-size: .72rem; color: var(--muted); }
.pcard__price .amount { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--text); }
.pcard__add {
  border: 0; background: var(--accent); color: #fff; border-radius: var(--r-pill);
  padding: .6rem 1.1rem; font-family: var(--font-round); font-weight: 700; font-size: .9rem;
  cursor: pointer; display: inline-flex; align-items: center; gap: .4rem;
  box-shadow: 0 8px 18px rgba(63,125,95,.24);
  transition: transform var(--t-fast) var(--ease-soft), background var(--t-fast) var(--ease);
}
.pcard__add:hover { transform: translateY(-2px); background: var(--accent-deep); }
.pcard__add.added { background: var(--accent-2); }

/* ============================================================
   CÓMO FUNCIONA / AUTONOMÍA
   ============================================================ */
.how { background: var(--surface-2); }
.how__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.6rem,4vw,3rem); align-items: center; }
.how__steps { display: grid; gap: 1rem; }
.how-step {
  background: var(--surface); border-radius: var(--r-lg); padding: 1.3rem 1.4rem;
  display: flex; gap: 1.1rem; align-items: flex-start; box-shadow: var(--shadow-xs); border: 1px solid var(--line);
  transition: transform var(--t-base) var(--ease-soft), box-shadow var(--t-base) var(--ease);
}
.how-step:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.how-step__ico { flex: none; width: 52px; height: 52px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.how-step__ico svg { width: 26px; height: 26px; }
.how-step h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.how-step p { color: var(--muted); font-size: .93rem; }

/* Visualización de rango de batería */
.battery {
  background: var(--surface); border-radius: var(--r-xl); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.battery h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.battery .battery__sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.4rem; }
.battery__bar { height: 22px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; position: relative; }
.battery__fill { height: 100%; width: 0; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent-3), var(--accent), var(--accent-deep)); transition: width 1.4s var(--ease); }
.battery__scale { display: flex; justify-content: space-between; margin-top: .6rem; font-family: var(--font-round); font-weight: 600; font-size: .8rem; color: var(--muted); }
.battery__modes { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin-top: 1.4rem; }
.battery__mode { text-align: center; background: var(--surface-2); border-radius: var(--r-md); padding: .9rem .5rem; cursor: pointer; border: 2px solid transparent; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.battery__mode.is-active { border-color: var(--accent); background: var(--accent-soft); }
.battery__mode .m-km { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.battery__mode .m-name { font-family: var(--font-round); font-weight: 600; font-size: .8rem; color: var(--muted); }

/* ============================================================
   BANDA SOSTENIBILIDAD — verde salvia con hojas
   ============================================================ */
.eco { background: var(--grad-leaf); color: #fff; position: relative; overflow: hidden; }
.eco__leaf {
  position: absolute; width: 340px; opacity: .14; pointer-events: none;
  background: url('img/leaf.png') center/contain no-repeat;
}
.eco__leaf--1 { height: 340px; top: -60px; right: -50px; transform: rotate(15deg); }
.eco__leaf--2 { height: 260px; width: 260px; bottom: -70px; left: -40px; transform: rotate(-25deg); }
.eco .container { position: relative; z-index: 1; }
.eco .eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.eco h2.section__title { color: #fff; }
.eco h2.section__title em { color: var(--accent-3); }
.eco .section__lead { color: rgba(255,255,255,.85); }
.eco__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; margin-top: 2.4rem; }
.eco-stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg); padding: 1.6rem; text-align: center; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.eco-stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem,4vw,2.7rem); line-height: 1; }
.eco-stat .num .suffix { color: var(--accent-3); }
.eco-stat .lbl { color: rgba(255,255,255,.82); font-size: .92rem; margin-top: .5rem; }

/* ============================================================
   GALERÍA LIFESTYLE — masonry redondeado
   ============================================================ */
.gallery__grid { columns: 3; column-gap: 1.1rem; }
.gallery__item { break-inside: avoid; margin-bottom: 1.1rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.gallery__item img { width: 100%; display: block; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem .9rem; color: #fff;
  font-family: var(--font-round); font-weight: 600; font-size: .92rem;
  background: linear-gradient(to top, rgba(38,39,31,.7), transparent);
  opacity: 0; transform: translateY(8px); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.gallery__item:hover figcaption { opacity: 1; transform: translateY(0); }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.tst { background: var(--surface-2); }
.tst__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; }
.tst-card { background: var(--surface); border-radius: var(--r-xl); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.tst-card .stars { color: var(--accent-3); font-size: 1.05rem; letter-spacing: .1em; }
.tst-card blockquote { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.45; font-style: italic; }
.tst-card .who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.tst-card .who .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-round); font-weight: 700; }
.tst-card .who .name { font-family: var(--font-round); font-weight: 700; }
.tst-card .who .role { color: var(--muted); font-size: .85rem; }

/* ============================================================
   SUCURSALES
   ============================================================ */
.stores__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.3rem; }
.store-card {
  background: var(--surface); border-radius: var(--r-xl); padding: 1.7rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; gap: 1.2rem; align-items: flex-start;
  transition: transform var(--t-base) var(--ease-soft), box-shadow var(--t-base) var(--ease);
}
.store-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.store-card__pin { flex: none; width: 54px; height: 54px; border-radius: var(--r-md); background: var(--accent-2-soft); color: var(--accent-2); display: grid; place-items: center; }
.store-card__pin svg { width: 26px; height: 26px; }
.store-card h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.store-card p { color: var(--muted); font-size: .92rem; }
.store-card .store-hours { font-family: var(--font-round); font-weight: 600; color: var(--accent); font-size: .85rem; margin-top: .5rem; }

/* ============================================================
   NEWSLETTER — banda cálida redondeada
   ============================================================ */
.news { padding: var(--space-section) 0; }
.news__inner {
  background: var(--grad-calido); border-radius: var(--r-xl); padding: clamp(2.2rem,5vw,3.6rem);
  text-align: center; box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.news__inner::before { content:""; position:absolute; inset:0; background: url('img/pattern.png') center/360px; opacity:.06; }
.news__inner > * { position: relative; z-index: 1; }
.news h2 { font-size: var(--fs-h2); margin-bottom: .6rem; }
.news h2 em { font-style: italic; color: var(--accent-2); }
.news p { color: var(--muted); max-width: 520px; margin: 0 auto 1.6rem; }
.news__form { display: flex; gap: .6rem; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.news__form input {
  flex: 1 1 240px; min-width: 0; padding: .95rem 1.3rem; border-radius: var(--r-pill);
  border: 2px solid var(--line); background: var(--surface); font-size: 1rem; color: var(--text);
}
.news__form input:focus-visible { border-color: var(--accent); outline: none; }
.news__msg { margin-top: 1rem; font-family: var(--font-round); font-weight: 600; color: var(--accent); min-height: 1.2em; }

/* ============================================================
   WAVE DIVIDERS (SVG)
   ============================================================ */
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 80px); }
.wave--flip { transform: rotate(180deg); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--surface-2); padding-top: 0; }
.site-footer .footer__top { padding: clamp(2.6rem,5vw,4rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand .brand { font-size: 1.9rem; margin-bottom: .8rem; }
.footer__brand p { color: var(--muted); max-width: 320px; font-size: .95rem; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a { width: 42px; height: 42px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--text); transition: transform var(--t-fast) var(--ease-soft), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.footer__social a:hover { transform: translateY(-3px); background: var(--accent); color: #fff; }
.footer__social svg { width: 20px; height: 20px; }
.footer__col h4 { font-family: var(--font-round); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; color: var(--text); }
.footer__col ul { display: grid; gap: .6rem; }
.footer__col a { color: var(--muted); font-size: .92rem; transition: color var(--t-fast) var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid var(--line); padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.footer__bottom .badge-demo { background: var(--accent-3); color: var(--text); padding: .2rem .6rem; border-radius: var(--r-pill); font-family: var(--font-round); font-weight: 700; font-size: .75rem; }

/* ============================================================
   CARRITO — drawer lateral + overlay
   ============================================================ */
.overlay {
  position: fixed; inset: 0; background: rgba(38,39,31,.45); z-index: 400;
  opacity: 0; visibility: hidden; transition: opacity var(--t-base) var(--ease), visibility var(--t-base);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.overlay.is-open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw); z-index: 500;
  background: var(--bg); box-shadow: var(--shadow-lg);
  transform: translateX(105%); transition: transform var(--t-slow) var(--ease);
  display: flex; flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); }
.cart-drawer__head h2 { font-size: 1.4rem; }
.cart-close { width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.2rem; color: var(--text); display: grid; place-items: center; transition: background var(--t-fast) var(--ease); }
.cart-close:hover { background: var(--surface-2); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }

.cart-empty { text-align: center; color: var(--muted); margin: auto 0; padding: 2rem 1rem; }
.cart-empty .emoji { font-size: 2.6rem; display: block; margin-bottom: .6rem; }
.cart-empty p { margin-bottom: 1.2rem; }

.cart-item { display: flex; gap: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: .8rem; }
.cart-item__img { flex: none; width: 72px; height: 72px; border-radius: var(--r-md); object-fit: cover; background: var(--surface-2); }
.cart-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .3rem; }
.cart-item__name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2; }
.cart-item__price { color: var(--accent-2); font-family: var(--font-round); font-weight: 700; font-size: .92rem; }
.cart-item__ctrls { display: flex; align-items: center; gap: .5rem; margin-top: auto; }
.qty { display: inline-flex; align-items: center; gap: .4rem; background: var(--surface-2); border-radius: var(--r-pill); padding: .2rem; }
.qty button { width: 28px; height: 28px; border: 0; background: var(--surface); border-radius: var(--r-pill); cursor: pointer; font-size: 1rem; font-weight: 700; color: var(--text); display: grid; place-items: center; box-shadow: var(--shadow-xs); }
.qty button:hover { background: var(--accent-soft); color: var(--accent-deep); }
.qty .q { font-family: var(--font-round); font-weight: 700; min-width: 18px; text-align: center; }
.cart-item__remove { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .82rem; font-family: var(--font-round); font-weight: 600; text-decoration: underline; transition: color var(--t-fast) var(--ease); }
.cart-item__remove:hover { color: var(--accent-2); }

.cart-foot { border-top: 1px solid var(--line); padding: 1.3rem 1.5rem; background: var(--surface); }
.cart-foot__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; }
.cart-foot__row .label { color: var(--muted); }
.cart-foot__row.total { margin-bottom: 1rem; }
.cart-foot__row.total .label { color: var(--text); font-family: var(--font-round); font-weight: 700; font-size: 1.05rem; }
.cart-foot__row.total .val { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.cart-foot .note { color: var(--muted); font-size: .78rem; text-align: center; margin-top: .7rem; }
.cart-foot .btn { width: 100%; }

/* ============================================================
   QUICK-VIEW MODAL
   ============================================================ */
.qv {
  position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; padding: 1.2rem;
  opacity: 0; visibility: hidden; transition: opacity var(--t-base) var(--ease), visibility var(--t-base);
}
.qv.is-open { opacity: 1; visibility: visible; }
.qv__backdrop { position: absolute; inset: 0; background: rgba(38,39,31,.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.qv__panel {
  position: relative; z-index: 1; background: var(--bg); border-radius: var(--r-xl); overflow: hidden;
  width: min(860px, 100%); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr;
  transform: translateY(20px) scale(.98); transition: transform var(--t-base) var(--ease-soft);
}
.qv.is-open .qv__panel { transform: translateY(0) scale(1); }
.qv__media { position: relative; min-height: 320px; background: var(--surface-2); }
.qv__media img { width: 100%; height: 100%; object-fit: cover; }
.qv__close { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 42px; height: 42px; border-radius: var(--r-pill); border: 0; background: rgba(255,255,255,.92); cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.qv__body { padding: 2rem; display: flex; flex-direction: column; gap: .9rem; }
.qv__body .pcard__badge { position: static; align-self: flex-start; }
.qv__body h3 { font-size: 1.8rem; }
.qv__body .qv-desc { color: var(--muted); }
.qv__specs { display: grid; grid-template-columns: repeat(2,1fr); gap: .7rem; margin: .4rem 0; }
.qv-spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: .7rem .9rem; }
.qv-spec .k { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.qv-spec .v { font-family: var(--font-round); font-weight: 700; font-size: .98rem; }
.qv__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; }
.qv__foot .amount { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; }
.qv__foot .from { font-size: .75rem; color: var(--muted); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Float suave (firma de marca) */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty--slow { animation-duration: 8.5s; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(120%);
  background: var(--text); color: var(--bg); padding: .85rem 1.4rem; border-radius: var(--r-pill);
  font-family: var(--font-round); font-weight: 600; z-index: 700; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .6rem; transition: transform var(--t-base) var(--ease-soft);
  max-width: 90vw;
}
.toast.is-show { transform: translateX(-50%) translateY(0); }
.toast .toast__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .4rem; background: var(--bg); padding: 5.5rem 1.4rem 2rem; border-radius: 0; box-shadow: var(--shadow-lg); border: 0; transform: translateX(105%); transition: transform var(--t-slow) var(--ease); overflow-y: auto; }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a:not(.btn) { font-size: 1.1rem; padding: .85rem 1rem; }
  .nav__links .btn { margin-top: .6rem; }
  .nav__toggle { display: flex; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__hero { grid-column: span 2; grid-row: span 2; }
  .bento__title { grid-column: span 2; }

  .stats__grid { grid-template-columns: repeat(2,1fr); }
  .products__grid { grid-template-columns: repeat(2,1fr); }
  .how__grid { grid-template-columns: 1fr; }
  .gallery__grid { columns: 2; }
  .tst__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .qv__panel { grid-template-columns: 1fr; }
  .qv__media { min-height: 220px; }
}

@media (max-width: 640px) {
  .nav__links { width: 100vw; }
  .bento { grid-template-columns: 1fr; }
  .bento__hero, .bento__title, .bento__stat, .bento__mini { grid-column: 1 / -1; grid-row: auto; }
  .bento__hero { min-height: 300px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .products__grid { grid-template-columns: 1fr; }
  .eco__stats { grid-template-columns: 1fr; }
  .gallery__grid { columns: 1; }
  .stores__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .battery__modes { grid-template-columns: 1fr; }
}

/* ============================================================
   PREFERS 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; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
  .floaty { animation: none !important; }
}

/* ============================================================
   === DINAMISMO === (capa de microinteracciones compartida)
   Solo transform/opacity · 60fps · respeta reduced-motion.
   Bloque nuevo: NO modifica reglas anteriores.
   ============================================================ */

/* 1) VIEW TRANSITIONS — navegación multipágina suave (fade + slide up) */
@view-transition { navigation: auto; }

/* Nombres para morphs suaves entre páginas (header persiste, main desliza) */
[data-header] { view-transition-name: rambla-header; }
#contenido    { view-transition-name: rambla-main; }

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(rambla-main) { animation: rmbVtOut .36s var(--ease) both; }
  ::view-transition-new(rambla-main) { animation: rmbVtIn  .46s var(--ease-soft) both; }
}
@keyframes rmbVtOut { to   { opacity: 0; transform: translateY(-12px); } }
@keyframes rmbVtIn  { from { opacity: 0; transform: translateY(18px); } }

/* Reduced motion: transición instantánea (sin animar) */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

/* 2) FLY-TO-CART — clon volador + eco-confeti de hojitas */
.rmb-fly-clone {
  position: fixed; z-index: 800; border-radius: var(--r-md);
  object-fit: cover; box-shadow: var(--shadow-md);
  pointer-events: none; will-change: transform, opacity;
}
.rmb-fly-chip { background: var(--grad-leaf); border-radius: var(--r-pill); }
.rmb-leaf {
  position: fixed; width: 11px; height: 11px;
  border-radius: 0 60% 0 60%;             /* hoja, igual que .brand__leaf */
  transform: translate(-50%, -50%) rotate(20deg);
  z-index: 799; pointer-events: none; will-change: transform, opacity;
  box-shadow: 0 1px 3px rgba(38,39,31,.15);
}
@keyframes rmbBump { 0%{transform:scale(1);} 35%{transform:scale(1.45);} 70%{transform:scale(.9);} 100%{transform:scale(1);} }
.rmb-bump { animation: rmbBump .5s var(--ease-soft); }

/* 4) TILT 3D — brillo que sigue al puntero (clip por overflow del .pcard) */
.rmb-tilt-glare {
  position: absolute; inset: 0; border-radius: inherit; z-index: 4;
  pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--gx,50%) var(--gy,50%),
              rgba(255,255,255,.5), rgba(255,255,255,0) 45%);
  transition: opacity var(--t-base) var(--ease);
}
.pcard.is-tilting { transition: none; }            /* seguimiento inmediato */
.pcard.is-tilting .rmb-tilt-glare { opacity: 1; }

/* ============================================================
   === EXPERIMENTO FIRMA RAMBLA === (bloque nuevo, no toca lo anterior)
   1) Simulador de autonomía  2) Selector de color re-tematiza
   3) Escena hero animada (parallax + bici SVG + float)
   Solo transform/opacity · respeta prefers-reduced-motion.
   ============================================================ */

/* ---------- 1) SIMULADOR DE AUTONOMÍA ---------- */
.sim {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  margin-top: 2rem;
}
.sim__label {
  font-family: var(--font-round); font-weight: 600;
  color: var(--muted); font-size: 1rem; display: block; margin-bottom: .9rem;
}
.sim__label strong { color: var(--accent-deep); font-weight: 700; }
.sim__label [data-sim-dist] { font-size: 1.15em; }
.sim__input {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 12px; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-3) 50%, var(--accent-2) 100%);
  outline-offset: 4px; cursor: pointer;
}
.sim__input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface); border: 4px solid var(--accent);
  box-shadow: var(--shadow-sm); cursor: grab;
  transition: transform var(--t-fast) var(--ease-soft), border-color var(--t-fast) var(--ease);
}
.sim__input::-webkit-slider-thumb:hover { transform: scale(1.12); }
.sim__input:active::-webkit-slider-thumb { cursor: grabbing; border-color: var(--accent-2); }
.sim__input::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface); border: 4px solid var(--accent);
  box-shadow: var(--shadow-sm); cursor: grab;
}
.sim__scale {
  display: flex; justify-content: space-between; margin-top: .6rem;
  font-family: var(--font-round); font-weight: 600; font-size: .76rem; color: var(--muted);
}

.sim__battery { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.sim__batt-shell {
  position: relative; flex: 1 1 220px; min-width: 180px; height: 46px;
  background: var(--surface-2); border: 3px solid var(--text);
  border-radius: 12px; overflow: hidden;
}
.sim__batt-shell::after { /* tapa de la pila */
  content: ""; position: absolute; right: -11px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 20px; background: var(--text); border-radius: 0 4px 4px 0;
}
.sim__batt-fill {
  position: absolute; inset: 3px; transform-origin: left center;
  transform: scaleX(.81);
  background: linear-gradient(90deg, var(--accent-deep), var(--accent) 60%, var(--accent-3));
  border-radius: 8px;
  transition: transform .6s var(--ease), background .4s var(--ease);
  will-change: transform;
}
.sim__batt-fill.is-low { background: linear-gradient(90deg, #c8553a, var(--accent-2)); }
.sim__batt-pct { font-family: var(--font-display); font-weight: 700; line-height: 1; white-space: nowrap; }
.sim__batt-pct [data-sim-pct] { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--accent-deep); }
.sim__batt-unit { font-family: var(--font-round); font-weight: 600; font-size: .9rem; color: var(--muted); margin-left: .35rem; }

.sim__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sim__metric {
  background: var(--surface-2); border-radius: var(--r-lg); padding: 1.3rem 1.2rem;
  display: flex; flex-direction: column; gap: .35rem; text-align: left;
  border: 1px solid var(--line);
}
.sim__metric--co2 { background: var(--pastel-salvia); }
.sim__metric--money { background: var(--pastel-amarillo); }
.sim__metric--mood { background: var(--pastel-terracota); }
.sim__metric-ico {
  width: 40px; height: 40px; border-radius: var(--r-md);
  display: grid; place-items: center; background: rgba(255,255,255,.6);
  color: var(--accent-deep); font-size: 1.3rem; margin-bottom: .2rem;
}
.sim__metric--money .sim__metric-ico { color: #9a6a16; }
.sim__metric--mood .sim__metric-ico { color: var(--accent-2); }
.sim__metric-val { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.05; color: var(--text); }
.sim__metric--mood .sim__metric-val { font-size: clamp(1.05rem, 2.2vw, 1.25rem); }
.sim__metric-lbl { font-family: var(--font-round); font-weight: 600; font-size: .82rem; color: var(--muted); }
.sim__note { margin-top: .2rem; }

/* Variante mini (index) */
.sim--mini { gap: 1.2rem; margin-top: 0; }
.sim--mini .sim__cards { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 720px) {
  .sim__cards { grid-template-columns: 1fr; }
  .sim--mini .sim__cards { grid-template-columns: 1fr 1fr; }
}

/* ---------- 2) SELECTOR DE COLOR — re-tematiza ---------- */
.color-dot { cursor: pointer; transition: transform var(--t-fast) var(--ease-soft); }
.color-dot:hover { transform: translateY(-2px); }
.color-dot .swatch { transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease-soft); }
.color-dot.is-active .swatch { transform: scale(1.06); }
/* el cambio de acento anima suave los elementos clave de la página de producto */
.product-info__type,
.product-gallery__main,
.product-info__price .amount { transition: background var(--t-slow) var(--ease), color var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease); }
.product-info__price .amount { color: var(--accent-2); }
.rmb-color-label {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-round); font-weight: 700; font-size: .82rem;
  color: var(--accent-deep); margin-top: .7rem;
}
.rmb-color-label .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); transition: background var(--t-base) var(--ease); }

/* ---------- 3) ESCENA HERO ANIMADA ---------- */
.hero { perspective: 1200px; }
.hero__parallax { will-change: transform; }
.bento.hero__parallax { transition: transform .5s var(--ease); }
.hero__pattern.hero__parallax { transition: transform .6s var(--ease); }

/* bici SVG que se desliza por el hero */
.rmb-hero-bike {
  position: absolute; left: -16%; bottom: clamp(8%, 14%, 18%);
  width: clamp(150px, 22vw, 280px); height: auto;
  color: var(--accent-deep); opacity: .16; z-index: 0; pointer-events: none;
  will-change: transform;
  animation: rmbBikeRoll 26s linear infinite;
}
.rmb-hero-bike .wheel { transform-box: fill-box; transform-origin: center; animation: rmbWheel 2.4s linear infinite; }
@keyframes rmbBikeRoll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(135vw); }
}
@keyframes rmbWheel { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .rmb-hero-bike { animation: none !important; left: 4%; opacity: .1; }
  .rmb-hero-bike .wheel { animation: none !important; }
  .bento.hero__parallax, .hero__pattern.hero__parallax { transform: none !important; transition: none !important; }
  .sim__batt-fill { transition: none !important; }
}

/* ============================================================
   === REFINAMIENTO MÓVIL/A11Y === (bloque nuevo, no toca lo anterior)
   Objetivos:
   · Tap targets >=44px en punteros táctiles (carrito, chips, tallas...).
   · Cero overflow en pantallas muy estrechas (<=360px).
   · Scroll del carrito contenido (no arrastra la página detrás).
   ============================================================ */

/* El drawer del carrito y sus items: scroll aislado, nunca > viewport */
.cart-drawer { max-width: 100vw; }
.cart-items { overscroll-behavior: contain; }
.qv__panel { overscroll-behavior: contain; }

/* Tap targets cómodos en dispositivos táctiles (no afecta a ratón fino) */
@media (pointer: coarse) {
  .qty button { width: 40px; height: 40px; font-size: 1.15rem; }
  .qty .q { min-width: 24px; }
  .cart-close, .qv__close { width: 46px; height: 46px; }
  .footer__social a { width: 46px; height: 46px; }
  .cart-item__remove { min-height: 44px; display: inline-flex; align-items: center; }
  .chip-filter,
  .size-pill { min-height: 44px; display: inline-flex; align-items: center; }
  .breadcrumb a,
  .footer__col a { display: inline-flex; align-items: center; min-height: 36px; }
  .color-dot { min-height: 44px; justify-content: center; padding: .15rem; }
}

/* Seguridad para pantallas muy estrechas (360px y abajo) */
@media (max-width: 380px) {
  .container { width: 91vw; }
  .marquee__item { font-size: 1.02rem; padding: 0 1.1rem; gap: 1.1rem; }
  .news__form input { flex-basis: 100%; }
  .sim__batt-shell { min-width: 140px; }
  .breadcrumb ol { font-size: .8rem; }
  .product-gallery__thumbs { grid-template-columns: repeat(4, 1fr); gap: .5rem; }
}
