/* ============================================================
   Exclusivas Vikari — hoja de estilos única
   Identidad institucional: fondos crema y rosa suave, tipografía
   grande y limpia (Jost), acento rosa de marca usado con mesura.
   Design system: ver CLAUDE.md
   ============================================================ */

:root {
  --bg: #fdf8f4;
  --bg-alt: #f9e9ec;
  --ink: #3d2233;
  --ink-2: #6b4a5e;
  --accent: #c05a7a;
  --accent-dark: #a34463;
  --rose: #f7e4e4;
  --white: #ffffff;
  --on-dark: #ecd6dd;
  --ink-soft: #5a3049;
  --header-glass: rgba(253, 248, 244, 0.78);
  --surface-glass: rgba(255, 255, 255, 0.85);
  --surface-soft: rgba(255, 255, 255, 0.55);
  --surface-faint: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(0, 0, 0, 0.08);
  --line-light: rgba(255, 255, 255, 0.15);
  --mask: #000000;
  --shadow: 0 4px 20px rgba(61, 34, 51, 0.04);
  --shadow-lg: 0 16px 40px rgba(61, 34, 51, 0.09);
  --radius: 28px;
  --radius-sm: 18px;
  --font-body: "Jost", "Helvetica Neue", -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 9rem; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-wrap: break-word;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

/* height:auto evita que los atributos width/height (anti-CLS) deformen al escalar */
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }

h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }

p { color: var(--ink-2); }

a { color: var(--accent-dark); }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
button, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 5px; }
.site-footer :focus-visible { outline-color: var(--white); }
[hidden] { display: none !important; }
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 1rem;
  z-index: 200;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.container { width: min(1120px, calc(100% - 3rem)); margin: 0 auto; }

section { padding: clamp(4rem, 9vw, 7.5rem) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 0.8rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-align: center;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0.72rem 1.6rem;
  border-radius: 980px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-primary { background: var(--accent-dark); color: var(--white); }
.btn-primary:hover { background: var(--ink-soft); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { border: 1.5px solid var(--accent-dark); color: var(--accent-dark); }
.btn-ghost:hover { background: var(--bg-alt); transform: translateY(-2px); }
.btn:active { transform: translateY(0); box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line-dark); }

.topbar {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 0.82rem;
  text-align: center;
  padding: 0 2.6rem 0 1rem;
}
.topbar .bsd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 0.82rem;
  opacity: 0.9;
}
.topbar a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); font-weight: 500; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0.7rem 0;
}
.logo img { height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  position: relative;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .nav-store { padding: 0.45rem 1.1rem; background: var(--bg-alt); color: var(--accent-dark); border-radius: 980px; font-weight: 500; }
.main-nav .nav-store::after { display: none; }
.main-nav .nav-store:hover { background: var(--rose); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
  z-index: 102;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  margin: 6px auto;
  transition: transform 0.3s ease, opacity 0.3s 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 ---------- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 4vw, 3rem) 0 clamp(3rem, 4vw, 3.5rem);
  overflow: hidden;
  text-align: left;
}
.hero-blob { position: absolute; width: 30rem; height: 30rem; border-radius: 50%; background: radial-gradient(circle, var(--rose), transparent 70%); pointer-events: none; animation: float 16s ease-in-out infinite alternate; }
.hero-blob.b1 { right: -10rem; top: -14rem; }
.hero-blob.b2 { left: -20rem; bottom: -22rem; animation-delay: -8s; }
@keyframes float { to { transform: translate(2rem, 2rem); } }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero-inner > div { min-width: 0; }
.hero h1 { max-width: 640px; font-size: clamp(2.6rem, 5.2vw, 4.25rem); letter-spacing: -0.045em; line-height: 1.05; }
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero p.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  margin: 1.4rem 0 2rem;
  max-width: 480px;
  color: var(--ink-2);
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero-photo { position: relative; width: 100%; max-width: 400px; justify-self: end; }
.hero-photo img {
  width: 100%;
  aspect-ratio: 900 / 1255;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-photo::before { display: none; }

/* entrada escalonada del hero */
.hero .rise { animation: rise 0.65s cubic-bezier(0.25, 0.6, 0.2, 1) backwards; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveal ---------- */
/* Solo se oculta bajo html.js (la agrega main.js): si el JS no corre, todo queda visible */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: var(--d, 0s); }
.js .reveal-left { transform: translateY(22px); }
.js .reveal-right { transform: translateY(22px); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Carrusel de banners ---------- */
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}
.carousel .slide { display: none; }
.carousel .slide.active { display: block; animation: fadeIn 0.6s ease; }
.carousel .slide img { width: 100%; height: auto; aspect-ratio: 1600 / 711; object-fit: cover; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 1rem;
  background: var(--bg-alt);
}
.carousel-dots { display: flex; }
.carousel-dots button {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 980px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.carousel-dots button::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--ink-2); border-radius: 980px; transition: width 0.2s ease; }
.carousel-dots button.active::before { width: 24px; background: var(--ink); border-color: var(--ink); }
.carousel-pause, .brands-pause { min-height: 44px; padding: 0.5rem 0.8rem; border: none; border-radius: 980px; background: transparent; color: var(--ink-2); font-size: 0.9rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.carousel-pause:hover, .brands-pause:hover { background: var(--rose); color: var(--ink); }
.carousel-pause:active, .brands-pause:active { background: var(--bg); }

/* ---------- Quiénes somos ---------- */
.about { background: var(--bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-grid > *, .store-cta > *, .footer-grid > * { min-width: 0; }
.about-grid p + p { margin-top: 1rem; }
.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-visual img { width: 100%; }

.stats { display: flex; gap: 2.8rem; margin-top: 2.4rem; flex-wrap: wrap; }
.stat strong { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.stat span { font-size: 0.92rem; color: var(--ink-2); }

/* ---------- Marquee de marcas ---------- */
.brands { text-align: center; }
.brands-actions { margin-top: 1.5rem; }
.marquee {
  overflow: hidden;
  margin-top: 1.8rem;
  -webkit-mask-image: linear-gradient(to right, transparent, var(--mask) 12%, var(--mask) 88%, transparent);
  mask-image: linear-gradient(to right, transparent, var(--mask) 12%, var(--mask) 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-group { display: flex; align-items: center; gap: clamp(3rem, 6vw, 5rem); padding-right: clamp(3rem, 6vw, 5rem); }
.marquee:hover .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 64px; width: 130px; object-fit: contain;
  filter: grayscale(1); opacity: 0.8; transition: filter 0.25s ease, opacity 0.25s ease;
}
.marquee-track img:hover { filter: grayscale(0); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Franja de beneficios ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-block: 1px solid var(--line-dark);
}
.benefit {
  padding: 0.25rem;
  text-align: center;
}
.benefit .ico { display: flex; justify-content: center; margin-bottom: 0.8rem; color: var(--accent); }
.benefit .ico svg { width: 32px; height: 32px; }
.benefit .ico img { width: 32px; height: 32px; }
.benefit strong { display: block; color: var(--ink); margin-bottom: 0.2rem; font-weight: 600; }
.benefit span { font-size: 0.9rem; color: var(--ink-2); }

/* ---------- Categorías / encuentra tu faja ---------- */
.cat-card { position: relative; overflow: hidden; }
.cards.categories { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.categories .card { box-shadow: none; padding: clamp(1.5rem, 3vw, 2.5rem); }
.categories .card h3 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.categories .card p { max-width: 42ch; }
.cat-card .tag {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ---------- Puntos de venta ---------- */
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2.6rem; }
.stores span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.7rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: transform 0.25s ease;
}
.stores span:hover { transform: scale(1.04); }
.stores span img {
  height: 26px; width: auto; max-width: 130px; object-fit: contain;
}
.stores-note { font-size: 0.8rem; color: var(--ink-2); opacity: 0.8; max-width: 640px; margin: 1.8rem auto 0; }

/* ---------- Privacidad y preferencias de medición ---------- */
.footer-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2rem; }
.footer-legal a, .footer-legal button { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); font-size: 0.95rem; text-decoration: underline; text-underline-offset: 4px; }
.footer-legal button { background: none; border: 0; cursor: pointer; }
.cookie-banner { position: fixed; z-index: 150; left: 1rem; right: 1rem; bottom: 1rem; width: min(680px, calc(100% - 2rem)); max-height: 65vh; overflow-y: auto; margin: 0 auto; padding: 1.3rem 1.5rem; background: var(--white); color: var(--ink); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border: 1px solid var(--line-dark); }
.cookie-banner h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.cookie-banner p { font-size: 0.95rem; line-height: 1.5; margin: 0.5rem 0; }
.cookie-banner a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.cookie-actions .btn { flex: 1; min-height: 44px; padding: 0.7rem 1rem; font-size: 0.95rem; }
.cookie-actions .btn:disabled { cursor: not-allowed; opacity: 0.6; transform: none; box-shadow: none; }
@media (max-width: 860px) {
  .cookie-banner { bottom: calc(6rem + env(safe-area-inset-bottom)); max-height: calc(100dvh - 8rem); }
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 3rem auto 0; }
.faq details {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 3.2rem 1.25rem 1.6rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  font-size: 1.05rem;
  text-align: left;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink-2);
  transition: transform 0.3s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary:hover { background: var(--bg); }
.faq summary:focus-visible { outline-offset: -5px; border-radius: var(--radius-sm); }
.faq details > div { padding: 0 1.6rem 1.4rem; text-align: left; }
.faq details > div p { margin-bottom: 0.6rem; }

/* ---------- CTA box en artículos ---------- */
.cta-box {
  background: linear-gradient(135deg, var(--rose) 0%, var(--bg-alt) 100%);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-top: 3rem;
}
.cta-box h2 { margin: 0 0 0.5rem !important; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-box p { margin-bottom: 1.5rem; }

/* ---------- Barra fija de compra (móvil) ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  background: var(--surface-glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 -1px 0 var(--line-dark);
  padding: 0.6rem max(0.8rem, env(safe-area-inset-right)) calc(0.6rem + env(safe-area-inset-bottom)) max(0.8rem, env(safe-area-inset-left));
  gap: 0.7rem;
}
.sticky-cta .btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}
.sticky-cta .btn svg { width: 17px; height: 17px; }

@media (max-width: 860px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .carousel .slide img { aspect-ratio: 2 / 3; }
}

/* ---------- CTA tienda ---------- */
.store-cta {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.store-cta::before { display: none; }
.store-cta h2, .store-cta p { position: relative; color: var(--white); }
.store-cta p { color: var(--on-dark); margin: 0.9rem 0 1.8rem; }
.store-cta .trust {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.2rem 0 0;
  font-size: 0.9rem;
  color: var(--on-dark);
}
.store-cta .trust svg { width: 18px; height: 18px; flex-shrink: 0; }
.store-cta .logo-store {
  position: relative;
  justify-self: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.4rem 2rem;
  max-width: 100%;
}
.store-cta .logo-store img { max-height: 250px; width: 100%; object-fit: contain; }
.store-cta .btn-primary { background: var(--white); color: var(--ink); }
.store-cta .btn-primary:hover { background: var(--bg-alt); }

/* ---------- Blog cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.3rem;
  margin-top: 3rem;
}
.card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  text-align: left;
  min-width: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:active { transform: translateY(0); }
.card h3 { color: var(--ink); margin-bottom: 0.7rem; }
.card p { flex: 1; font-size: 0.97rem; }
.card .more { margin-top: 1.4rem; color: var(--accent-dark); font-weight: 500; }
.card:hover .more { text-decoration: underline; }
.card-img {
  width: calc(100% + 4.4rem);
  margin: -2.2rem -2.2rem 1.5rem;
  max-width: none;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--rose);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 1.3rem;
}
.card-icon svg { width: 26px; height: 26px; }
.blog-preview { grid-template-columns: 1fr; margin-top: 0; }
.blog-preview .card { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 1.4rem; padding: 1rem; align-items: center; }
.blog-preview picture { grid-row: span 2; height: 100%; }
.blog-preview .card-img { width: 100%; height: 150px; margin: 0; border-radius: 12px; }
.blog-preview h3 { font-size: 1.25rem; margin: 0; line-height: 1.25; }
.blog-preview .more { margin: 0.5rem 0 0; font-size: 0.9rem; }
/* ---------- Lista de asesoría ---------- */
.checklist { list-style: none; margin: 1.6rem 0 2rem; }
.checklist li { padding-left: 1.9rem; position: relative; margin-bottom: 0.7rem; color: var(--ink-2); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- Artículos del blog ---------- */
.article-hero {
  background: linear-gradient(145deg, var(--rose) 0%, var(--bg) 70%);
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.breadcrumb { padding-top: 1rem; font-size: 0.9rem; color: var(--ink-2); }
.breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: flex; align-items: center; min-height: 44px; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.35rem; color: var(--ink-2); }
.breadcrumb a { color: var(--accent-dark); display: inline-flex; align-items: center; min-height: 44px; }
.article-meta { padding-bottom: 0.9rem; border-bottom: 1px solid var(--bg-alt); color: var(--ink-2); font-size: 0.92rem !important; }
.article-hero h1 { max-width: 860px; margin: 0.6rem auto 0; font-size: clamp(2rem, 5vw, 3.6rem); }
.article-hero .hero-img {
  max-width: 440px;
  width: 88%;
  margin: 2.4rem auto 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.article-heading .container { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1rem 3rem; text-align: left; align-items: center; }
.article-heading .eyebrow { align-self: end; margin: 0; }
.article-heading h1 { grid-column: 1; align-self: start; min-width: 0; max-width: 100%; font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }
.article-heading picture { grid-column: 2; grid-row: 1 / span 2; }
.article-heading .hero-img { width: 100%; margin: 0; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { margin: 2.6rem 0 0.9rem; font-size: 1.6rem; }
.article-body p { margin-bottom: 1.1rem; font-size: 1.08rem; line-height: 1.7; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin: 1.2rem 0 1.8rem; color: var(--ink-2); }
.article-body li { padding-left: 0.35rem; margin-bottom: 0.8rem; line-height: 1.75; overflow-wrap: anywhere; }
.article-body a { text-underline-offset: 4px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body .article-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--line-light);
}
.site-footer h3 { color: var(--white); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.9rem; }
.site-footer p, .site-footer li { font-size: 0.88rem; color: var(--on-dark); opacity: 0.9; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-logo { height: 52px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.95; }

.socials { display: flex; gap: 0.8rem; margin-top: 1.1rem; }
.socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface-faint);
  display: grid; place-items: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.socials a:hover { background: var(--accent); transform: scale(1.08); }
.socials svg { width: 18px; height: 18px; fill: var(--white); transition: fill 0.25s ease; }
.socials a:hover svg { fill: var(--white); }

.copyright { text-align: center; font-size: 0.8rem; color: var(--on-dark); opacity: 0.65; padding-top: 1.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { text-align: center; }
  .hero h1 { max-width: 650px; margin-inline: auto; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-photo { max-width: 420px; justify-self: center; }
  .article-heading .container { display: flex; flex-direction: column; gap: 1rem; text-align: center; }
  .article-heading .eyebrow, .article-heading h1 { align-self: auto; }
  .article-heading picture { max-width: 360px; margin-top: 1rem; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .about-grid, .store-cta, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .store-cta .logo-store { justify-self: start; }

  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }

  .js .nav-toggle { display: block; order: 1; }
  .nav-wrap { flex-wrap: wrap; gap: 0.5rem; min-height: 72px; }
  .logo img { height: 44px; }
  .nav-wrap nav { width: 100%; }
  .js .nav-wrap nav { width: auto; }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 1rem 0;
  }
  .js .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--bg);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 9rem);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .main-nav a { font-size: 1.1rem; min-height: 48px; color: var(--ink); }
  .main-nav a::after { right: auto; width: 1.5rem; }
  .js .main-nav.open { visibility: visible; opacity: 1; transform: none; }
}

@media (max-width: 540px) {
  .container { width: calc(100% - 2.5rem); }
  .hero .eyebrow { font-size: 0.875rem; }
  .hero h1 { font-size: clamp(2.25rem, 10.5vw, 3.5rem); }
  .hero p.lead { font-size: 1.0625rem; }
  .hero-cta { gap: 0.65rem; }
  .hero-cta .btn { padding-inline: 1.15rem; }
  .hero-photo { max-width: 340px; }
  .cards.categories { grid-template-columns: 1fr; }
  .card { padding: 1.5rem; }
  .card-img { width: calc(100% + 3rem); margin: -1.5rem -1.5rem 1.5rem; }
  .blog-preview .card { grid-template-columns: 92px minmax(0, 1fr); column-gap: 1rem; }
  .blog-preview .card-img { height: 132px; }
  .blog-preview h3 { font-size: 1.1rem; }
  .stats { gap: 1.5rem; }
  .stat { flex: 1 1 110px; }
  .article-hero { padding-top: 2.5rem; }
  .article-body .article-nav .btn { width: 100%; }
  .store-cta { padding: 2rem 1.5rem; }
  .sticky-cta .btn { padding-inline: 0.5rem; }
}

@media (max-width: 360px) {
  .sticky-cta .btn svg { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-blob { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { animation: none; width: 100%; }
  .marquee-group { width: 100%; justify-content: center; flex-wrap: wrap; gap: 2rem; padding: 1rem 1.5rem; }
  .marquee-group[aria-hidden="true"], .brands-actions { display: none; }
  .carousel-pause { display: none; }
  .hero .rise { animation: none; opacity: 1; transform: none; }
  .js .reveal, .js .reveal-left, .js .reveal-right { opacity: 1; transform: none; transition: none; }
  .carousel .slide.active { animation: none; }
  .btn, .card, .benefit, .stores span, .socials a { transition: none; }
  .btn:hover, .card:hover, .benefit:hover, .stores span:hover, .socials a:hover { transform: none; }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .site-header, .sticky-cta { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: var(--ink); --accent: var(--accent-dark); }
  .btn-ghost, .faq details { border: 2px solid var(--ink); }
  .stores-note, .copyright, .site-footer p, .site-footer li { opacity: 1; }
}
