:root,
[data-theme="light"] {
  /* Fluid type */
  --text-xs:   clamp(.75rem,  .7rem  + .25vw, .875rem);
  --text-sm:   clamp(.875rem, .8rem  + .35vw, 1rem);
  --text-base: clamp(1rem,    .95rem + .25vw, 1.125rem);
  --text-lg:   clamp(1.125rem,1rem   + .75vw, 1.6rem);
  --text-xl:   clamp(1.6rem,  1.2rem + 1.5vw, 2.8rem);
  --text-2xl:  clamp(2.8rem,  .8rem  + 6vw,   7rem);
  /* Spacing */
  --space-2:  .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5:  1.25rem; --space-6: 1.5rem; --space-8: 2rem;
  --space-10: 2.5rem; --space-12: 3rem;  --space-16: 4rem;
  /* Shape */
  --radius-lg:   1rem;
  --radius-xl:   1.5rem;
  --radius-full: 999px;
  /* Light palette */
  --bg:           #f5f2ec;
  --surface:      rgba(255,255,255,0.92);
  --surface-2:    #ece8df;
  --border:       rgba(0,0,0,.1);
  --text:         #121318;
  --muted:        #606774;
  --accent:       #dc2626;
  --primary:      #d92d20;
  --primary-hover:#b42318;
  --inverse:      #fff;
  --shadow-sm:    0 10px 30px rgba(0,0,0,.08);
  --shadow-lg:    0 30px 80px rgba(0,0,0,.18);
  /* Fonts */
  --font-display: 'Oswald', sans-serif;
  --font-body:    'Inter',  sans-serif;
  --container:    1260px;
}

[data-theme="dark"] {
  --bg:           #090b10;
  --surface:      rgba(18,20,28,.68);
  --surface-2:    #141821;
  --border:       rgba(255,255,255,.08);
  --text:         #f5f7fb;
  --muted:        #a3adbb;
  --accent:       #fca5a5;
  --primary:      #ef4444;
  --primary-hover:#dc2626;
  --inverse:      #fff;
  --shadow-sm:    0 12px 30px rgba(0,0,0,.25);
  --shadow-lg:    0 36px 110px rgba(0,0,0,.5);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size:   var(--text-base);
  line-height: 1.6;
  color:       var(--text);
  background:  var(--bg);
  overflow-x:  hidden;
  transition:  background .3s ease, color .3s ease;
}
a   { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; border: none; background: none; cursor: pointer; }

/* ── LAYOUT ── */
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.section   { padding: clamp(4rem,7vw,7rem) 0; }
.alt-surface { background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 1rem; top: 1rem; background: #fff; color: #000;
  padding: .7rem 1rem; border-radius: .5rem; z-index: 120;
}

/* ── BACKGROUND DECOR ── */
.bg-orb {
  position: fixed; border-radius: 50%;
  filter: blur(90px); opacity: .25;
  pointer-events: none; z-index: -3;
}
.orb-1 {
  width: 26rem; height: 26rem; background: #ef4444;
  top: -8rem; right: -8rem;
  animation: floatOrb 12s ease-in-out infinite;
}
.orb-2 {
  width: 22rem; height: 22rem; background: #2563eb;
  bottom: -5rem; left: -5rem;
  animation: floatOrb 15s ease-in-out infinite reverse;
}
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 10%, transparent 80%);
  pointer-events: none; z-index: -2;
}

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease, border-color .3s ease;
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; padding: 1rem 0;
}
.logo { display: flex; align-items: center; gap: .85rem; }
.logo-mark {
  width: 2.6rem; height: 2.6rem; padding: .45rem;
  border-radius: .9rem;
  background: linear-gradient(135deg, var(--primary), #7f1d1d);
  box-shadow: var(--shadow-sm);
}
.logo-word {
  font-family: var(--font-display);
  font-size: 1.3rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text);
}
.nav { display: none; gap: 1.3rem; color: var(--muted); }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  background: var(--surface);
  color: var(--text);
  transition: background .3s ease, border-color .3s ease;
}

/* ── BUTTONS ── */
.btn {
  min-height: 48px; padding: .95rem 1.2rem;
  border-radius: var(--radius-full);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; transition: all .2s ease;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-ghost {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
}
.btn-ghost:hover { transform: translateY(-2px); }

/* ── TYPOGRAPHY COMPONENTS ── */
.eyebrow, .micro {
  display: inline-flex; align-items: center; gap: .5rem;
  text-transform: uppercase; letter-spacing: .12em;
}
.eyebrow {
  padding: .5rem .9rem;
  border: 1px solid var(--border); border-radius: var(--radius-full);
  font-size: var(--text-xs); color: var(--muted);
  background: rgba(255,255,255,.05);
}
.eyebrow::before {
  content: ""; width: .55rem; height: .55rem; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 0 6px rgba(239,68,68,.14);
}
.micro { font-size: var(--text-xs); color: var(--accent); }
.section-head  { text-align: left; margin-bottom: 1.5rem; }
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl); line-height: 1.02;
  text-transform: uppercase; letter-spacing: .03em; margin: .8rem 0;
  color: var(--text);
}
.section-copy  { max-width: 65ch; color: var(--muted); }

/* ── HERO ── */
.hero-premium {
  position: relative; min-height: 100vh; padding: 0;
  display: grid; align-items: end;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,7,10,.32),
    rgba(6,7,10,.85) 60%,
    var(--bg) 100%
  );
  transition: background .3s ease;
}
[data-theme="light"] .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(245,242,236,.55),
    rgba(245,242,236,.88) 60%,
    var(--bg) 100%
  );
}
.hero-content {
  display: grid; gap: 2rem; align-items: end;
  padding: 8rem 0 4rem;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl); line-height: .9;
  text-transform: uppercase; margin: 1rem 0; max-width: 11ch;
  color: var(--text);
}
.hero-copy p  { max-width: 60ch; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.3rem; }

/* ── FLOATING CARDS ── */
.hero-floating { display: grid; gap: 1rem; }
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  transition: background .3s ease, border-color .3s ease;
}
.floating-card, .floating-meta, .editorial-overlay,
.slide-copy, .stack-card, .testimonial-card, .contact-card { border-radius: var(--radius-xl); }
.floating-card { padding: 1.4rem; }
.floating-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem,3vw,3rem); line-height: 1.02; margin: .5rem 0;
  color: var(--text);
}
.floating-meta {
  display: flex; flex-wrap: wrap; gap: .7rem; padding: 1rem;
}
.floating-meta span {
  padding: .6rem .8rem; border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted); font-size: var(--text-sm);
}
.inline-link {
  display: inline-block; margin-top: 1rem;
  color: var(--accent); font-weight: 700;
}

/* ── MARQUEE ── */
.marquee-section { padding: 1.25rem 0; overflow: hidden; }
.marquee-track {
  display: flex; gap: 2rem; white-space: nowrap;
  animation: marquee 24s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.2rem,2vw,1.8rem);
  text-transform: uppercase; color: var(--muted);
}
.marquee-track span { position: relative; }
.marquee-track span::after { content: "•"; margin-left: 2rem; color: var(--primary); }

/* ── EDITORIAL CARDS ── */
.collection-editorial { display: grid; gap: 1rem; }
.editorial-card {
  position: relative; min-height: 420px;
  border-radius: 1.7rem; overflow: hidden;
  box-shadow: var(--shadow-lg); transform: translateZ(0);
}
.editorial-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.editorial-card:hover img { transform: scale(1.06); }
.editorial-overlay {
  position: absolute; inset: auto 1rem 1rem 1rem; padding: 1.2rem;
  background: linear-gradient(180deg, rgba(12,13,18,.12), rgba(12,13,18,.78));
  border: 1px solid rgba(255,255,255,.08);
}
.editorial-overlay h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem,2vw,2.4rem);
  text-transform: uppercase; line-height: 1.02; margin: .35rem 0;
  color: #fff;
}
.editorial-overlay p { color: rgba(216,222,234,.92); }
.tall { min-height: 620px; }

/* ── SLIDER ── */
.slider-zone .slider-shell { position: relative; }
.slider {
  position: relative; min-height: 560px;
  border-radius: 1.7rem; overflow: hidden; box-shadow: var(--shadow-lg);
}
.slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .7s ease, transform .7s ease; transform: scale(1.02);
}
.slide.active { opacity: 1; transform: scale(1); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-copy {
  position: absolute; left: 1rem; bottom: 1rem; max-width: 34rem; padding: 1.25rem;
  background: linear-gradient(180deg, rgba(10,11,16,.1), rgba(10,11,16,.82));
  border: 1px solid rgba(255,255,255,.08);
}
.slide-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem,2.5vw,3rem);
  text-transform: uppercase; line-height: 1.02; margin: .4rem 0;
  color: #fff;
}
.slide-copy p { color: rgba(216,222,234,.92); }
.slider-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 1rem;
}
.slider-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
}
.slider-dots { display: flex; gap: .55rem; }
.slider-dots button { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.22); }
.slider-dots button.active { background: var(--primary); }

/* ── EXPERIENCE & CARDS ── */
.experience-grid, .faq-layout, .contact-grid { display: grid; gap: 1.5rem; }
.luxury-points { display: grid; gap: 1rem; margin-top: 1.5rem; }
.luxury-points article,
.stack-card, .testimonial-card, .faq-item, .contact-card {
  padding: 1.2rem; border: 1px solid var(--border);
  background: var(--surface); backdrop-filter: blur(16px);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
  color: var(--text);
  transition: background .3s ease, border-color .3s ease;
}
.luxury-points strong { display: block; margin-bottom: .35rem; color: var(--text); }
.luxury-points p, .stack-card p,
.testimonial-card p, .faq-item p,
.contact-card p { color: var(--muted); }
.experience-stack { display: grid; gap: 1rem; }
.deep   { background: linear-gradient(180deg, rgba(37,99,235,.12),  rgba(255,255,255,.03)); }
.accent { background: linear-gradient(180deg, rgba(239,68,68,.15),  rgba(255,255,255,.03)); }

/* ── TESTIMONIALS / FAQ / CONTACT ── */
.testimonial-track { display: grid; gap: 1rem; }
.active-quote { outline: 1px solid rgba(239,68,68,.28); }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--text); }
.faq-item p { margin-top: .8rem; }
.contact-premium { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.05)); }
.contact-copy .section-copy { max-width: 58ch; }

/* ── FOOTER BASE ── */
.footer { padding: 2rem 0; border-top: 1px solid var(--border); color: var(--muted); }
.footer-inner { display: flex; flex-direction: column; gap: 1rem; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; right: 1rem; bottom: 1rem;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 18px 40px rgba(37,211,102,.35); z-index: 95;
}

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── KEYFRAMES ── */
@keyframes marquee  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes floatOrb { 0%,100% { transform: translateY(0); } 50% { transform: translateY(24px); } }

/* ── RESPONSIVE 900px+ ── */
@media (min-width: 900px) {
  .nav { display: flex; }
  .hero-content { grid-template-columns: 1.05fr .95fr; }
  .collection-editorial { grid-template-columns: 1fr 1fr 1fr; }
  .tall { grid-row: span 2; }
  .wide { grid-column: span 2; }
  .experience-grid, .faq-layout, .contact-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-track { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

/* ── RESPONSIVE 640px ── */
@media (max-width: 640px) {
  .header-actions .btn-ghost { display: none; }
  .slider { min-height: 420px; }
  .hero-premium { min-height: auto; }
  .hero-content  { display: flex; flex-direction: column; gap: 1.5rem; padding: 6.5rem 0 3rem; }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 { font-size: clamp(2rem,9vw,2.7rem); line-height: 1.1; word-break: break-word; }
  .hero-copy p  { font-size: .95rem; }
  .btn-row { flex-direction: column; gap: .7rem; }
  .btn    { width: 100%; text-align: center; }
  .hero-floating { order: 2; }
  .marquee-track { animation-duration: 18s; }
}

/* ── FOOTER PRO ── */
.footer-pro {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  padding: 1.8rem 0;
  color: var(--muted);
  margin-top: 3rem;
  transition: background .3s ease;
}
.footer-pro .container {
  display: flex; flex-direction: column; gap: 1.2rem;
}
.footer-content { display: flex; flex-direction: column; gap: 1rem; }
.footer-main-text { max-width: 48ch; }
.footer-main-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: .98rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text); margin-bottom: .25rem;
}
.footer-main-text p { font-size: .9rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; font-size: .9rem; }
.footer-nav a { position: relative; color: var(--muted); padding-bottom: 2px; }
.footer-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--primary); transition: width .2s ease;
}
.footer-nav a:hover { color: var(--text); }
.footer-nav a:hover::after { width: 100%; }
.footer-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem .8rem; border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  font-size: .8rem; color: var(--muted);
}
.footer-badge span { font-weight: 600; color: var(--text); }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  margin-top: 1.2rem; padding-top: 1rem;
  font-size: .8rem; color: var(--muted);
}
.footer-legal small { opacity: .85; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer-legal-links a { color: var(--muted); }
.footer-legal-links a:hover { color: var(--text); }

@media (max-width: 768px) {
  .footer-pro { padding: 1.6rem 0 2.2rem; }
  .footer-content { gap: 1.3rem; }
  .footer-nav { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: .6rem; }
}

/* ── MARCAS ALIADAS ── */
.marcas-section { position: relative; padding-block: 4rem; }
.marcas-shell {
  position: relative;
  border-radius: 1.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(18px);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1.85fr);
  gap: 2.5rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: background .3s ease;
}
.marcas-shell::before {
  content: ""; position: absolute; inset: -40%;
  background:
    radial-gradient(circle at 10% 0%, rgba(239,68,68,.14), transparent 50%),
    radial-gradient(circle at 90% 100%, rgba(59,130,246,.14), transparent 50%);
  opacity: .8; pointer-events: none;
}
.marcas-shell > * { position: relative; z-index: 1; }
.marcas-copy .section-title { margin-bottom: .75rem; }
.marcas-copy .section-copy  { max-width: 34rem; }
.marcas-tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: .9rem; margin-top: 1.5rem;
}
.marcas-tag-card {
  border-radius: .9rem;
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: .75rem .9rem;
}
.marcas-tag-card .micro { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .15rem; }
.marcas-logos-shell { overflow: hidden; }
.marcas-logos-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 1.4rem;
}

/* ── MARCA CARDS ── */
.marca-card {
  position: relative; border-radius: 1.1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem .75rem .6rem;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .4rem;
  min-height: 100px;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.marca-logo-wrap {
  flex: 1; width: 100%; max-width: 120px; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  background: rgba(128,128,128,.06);
  border-radius: .75rem; padding: .75rem; margin: 0 auto;
}
.marca-logo-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  max-width: 80px; max-height: 40px;
  filter: grayscale(100%) contrast(1.15) brightness(1.05) opacity(.85);
  transition: all .22s ease;
}
[data-theme="light"] .marca-logo-wrap img {
  filter: grayscale(100%) contrast(1.3) brightness(.7) opacity(.9);
}
.marca-label {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); text-align: center; margin: 0;
}
.marca-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.marca-card:hover .marca-logo-wrap { background: rgba(128,128,128,.12); }
.marca-card:hover img { filter: grayscale(0%) contrast(1.1) brightness(1) opacity(1); transform: scale(1.05); }

@media (max-width: 900px) {
  .marcas-shell { grid-template-columns: minmax(0,1fr); padding: 2rem 1.5rem; }
  .marcas-logos-row { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .marcas-logos-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.1rem; }
  .marca-logo-wrap { max-width: 100px; }
  .marca-logo-wrap img { max-width: 65px; }
}

/* ── LOGO RESPONSIVE ── */
.logo-img { height: 36px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.logo-combo { display: flex; align-items: center; gap: .5rem; }
.logo-combo .logo-img { height: 32px; }
.logo-mark { width: 28px; height: 28px; flex-shrink: 0; }
@media (min-width: 1024px) { .logo-img { height: 42px; max-width: 180px; } }
@media (min-width: 768px)  { .logo-img { height: 38px; } }
@media (max-width: 640px)  { .logo-img { height: 30px; } }

/* ── LIGHT MODE — header logo filter ── */
[data-theme="light"] .logo-img { filter: brightness(0) saturate(100%); }


/* ═══════════════════════════════════════════════════
   HEADER — REDISEÑO COMPLETO RESPONSIVE
═══════════════════════════════════════════════════ */

/* ── Contenedor ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease, border-color .3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 0;
  min-height: 64px;
}

/* ── Logo ── */
.logo {
  display: flex; align-items: center; gap: .6rem;
  flex-shrink: 0; text-decoration: none;
}
.logo-img {
  height: 34px; width: auto; max-width: 140px;
  object-fit: contain; display: block;
}
.logo-word {
  font-family: var(--font-display);
  font-size: 1.15rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text);
  white-space: nowrap;
}
[data-theme="light"] .logo-img { filter: brightness(0) saturate(100%); }

/* ── Nav desktop ── */
.nav {
  display: none;
  gap: 1.5rem;
  list-style: none;
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover {
  color: var(--text);
  border-bottom-color: var(--primary);
}

/* ── Header actions ── */
.header-actions {
  display: flex; align-items: center; gap: .55rem; flex-shrink: 0;
}

/* ── Theme toggle ── */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  background: var(--surface); color: var(--text);
  transition: background .2s, border-color .2s, transform .2s;
  flex-shrink: 0;
}
.theme-toggle:hover { transform: rotate(20deg); }
.theme-toggle svg { pointer-events: none; }

/* ── WhatsApp btn (header) ── */
.btn-wa {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem 1rem; border-radius: var(--radius-full);
  background: #25D366; color: #fff;
  font-size: var(--text-sm); font-weight: 700;
  white-space: nowrap; text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
  min-height: 40px;
}
.btn-wa:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,211,102,.4);
}
.btn-wa svg { flex-shrink: 0; }

/* ── Header badge (solo desktop) ── */
.header-badge {
  display: none;
  padding: .35rem .75rem; border-radius: var(--radius-full);
  border: 1px solid var(--border); background: var(--surface);
  font-size: .75rem; color: var(--muted); white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — DESKTOP 900px+
═══════════════════════════════════════════════════ */
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-badge { display: inline-flex; }
  .logo-img { height: 38px; }
  .logo-word { font-size: 1.25rem; }
  .btn-wa { padding: .65rem 1.25rem; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE 640px-
═══════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .header-inner { padding: .7rem 0; min-height: 56px; gap: .5rem; }
  .logo-img { height: 28px; max-width: 110px; }
  .logo-word { font-size: 1rem; }
  .theme-toggle { width: 36px; height: 36px; }
  .btn-wa { padding: .5rem .75rem; font-size: .8rem; gap: .35rem; }
  .btn-wa-text { display: none; }   /* Solo icono en móvil pequeño */
  .btn-wa { padding: .5rem; width: 36px; height: 36px; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   WHATSAPP FLOAT BUTTON
═══════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(37,211,102,.45);
  z-index: 95; border: none; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 40px rgba(37,211,102,.55);
}
.whatsapp-float svg { pointer-events: none; }

@media (max-width: 640px) {
  .whatsapp-float { right: .85rem; bottom: .85rem; width: 50px; height: 50px; }
}

/* ═══════════════════════════════════════════════════
   DARK MODE — garantizar colores en TODOS los textos
═══════════════════════════════════════════════════ */
[data-theme="dark"] body   { color: var(--text); background: var(--bg); }
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4     { color: var(--text); }
[data-theme="dark"] p      { color: var(--muted); }
[data-theme="dark"] .section-title { color: var(--text); }
[data-theme="dark"] .section-copy  { color: var(--muted); }
[data-theme="dark"] .logo-word     { color: var(--text); }
[data-theme="dark"] .nav a         { color: var(--muted); }
[data-theme="dark"] .nav a:hover   { color: var(--text); }
[data-theme="dark"] .btn-ghost     { color: var(--text); background: var(--surface); }
[data-theme="dark"] .luxury-points strong { color: var(--text); }
[data-theme="dark"] .faq-item summary    { color: var(--text); }

/* ═══════════════════════════════════════════════════
   LIGHT MODE — garantizar colores en TODOS los textos
═══════════════════════════════════════════════════ */
[data-theme="light"] body  { color: var(--text); background: var(--bg); }
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4    { color: var(--text); }
[data-theme="light"] p     { color: var(--muted); }
[data-theme="light"] .section-title { color: var(--text); }
[data-theme="light"] .section-copy  { color: var(--muted); }
[data-theme="light"] .logo-word     { color: var(--text); }
[data-theme="light"] .nav a         { color: var(--muted); }
[data-theme="light"] .nav a:hover   { color: var(--text); }
[data-theme="light"] .theme-toggle  { background: rgba(0,0,0,.04); }
[data-theme="light"] .btn-ghost { background: rgba(255,255,255,.9); color: var(--text); border-color: rgba(0,0,0,.1); }
[data-theme="light"] .eyebrow   { background: rgba(0,0,0,.03); }
[data-theme="light"] .floating-meta span { background: rgba(0,0,0,.03); }
[data-theme="light"] .luxury-points strong { color: var(--text); }
[data-theme="light"] .faq-item summary    { color: var(--text); }
[data-theme="light"] .marcas-shell {
  background: linear-gradient(135deg, rgba(255,255,255,.97), rgba(241,245,249,.98));
  box-shadow: 0 22px 55px rgba(15,23,42,.1);
}
[data-theme="light"] .marcas-tag-card { background: rgba(255,255,255,.96); }
[data-theme="light"] .marca-card      { background: rgba(255,255,255,.96); border-color: rgba(0,0,0,.07); }
[data-theme="light"] .marca-logo-wrap { background: rgba(0,0,0,.03); }
[data-theme="light"] .marca-logo-wrap img {
  filter: grayscale(100%) contrast(1.3) brightness(.65) opacity(.9);
}

/* ═══════════════════════════════════════════════════
   EDITORIAL CARDS — texto siempre blanco (dark y light)
═══════════════════════════════════════════════════ */
.editorial-overlay,
.editorial-overlay *,
.editorial-overlay h3,
.editorial-overlay p,
.editorial-overlay .micro,
.editorial-overlay strong {
  color: #ffffff !important;
}

/* El punto pulsante del micro también blanco */
.editorial-overlay .micro::before {
  background: #ffffff !important;
  box-shadow: 0 0 0 5px rgba(255,255,255,.18) !important;
}

/* Asegurar que ningún modo tema lo sobreescriba */
[data-theme="light"] .editorial-overlay,
[data-theme="light"] .editorial-overlay *,
[data-theme="dark"]  .editorial-overlay,
[data-theme="dark"]  .editorial-overlay * {
  color: #ffffff !important;
}
