/* ==========================================================================
   Kamaleon – style.css
   Propósito: look & feel (componentes), detalles visuales del Home (index)
   Dependencias: tokens.css, layout.css
   ========================================================================== */

/* =========================================================
   TIPOGRAFÍA Y CONTRASTE GLOBAL (mejor legibilidad)
   ========================================================= */
html, body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: .15px;
}

/* Titulares con más presencia (peso y micro-sombra) */
:where(h1,h2,h3){
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--text);
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

/* Párrafos atenuados pero más legibles en dark */
.muted{
  color: color-mix(in srgb, var(--muted) 80%, #cfe9d8 20%);
}


/* =========================================================
   TARJETAS + TIPOS DE PRECIO
   ========================================================= */
.card {
  background: linear-gradient(180deg, #121416, #0f1012);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card__title {
  margin: 6px 0 8px;
  font-weight: 600;
}

.price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-400);
}
.money { letter-spacing: .2px; }

/* =========================================================
   HERO (home)
   ========================================================= */
.hero {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--border);
  background-image:
    url('/assets/img/bg-hero.jpg'),
    radial-gradient(1100px 420px at 45% -30%, rgba(47,178,76,.35), transparent),
    linear-gradient(180deg, #090b0c, #0c110f 60%, #0c0f0e);
  background-size: cover, auto, auto;
  background-position: center, center, center;
  background-blend-mode: normal, screen, normal;
}

.hero__title {
  font-size: 2rem;
  margin: 0 0 8px;
}
.hero__subtitle {
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 16px;
}
.hero__ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================================================
   SECCIONES DEL HOME
   ========================================================= */
.section--offers h2 { margin-bottom: 12px; }
.grid--3 .card { transition: transform var(--speed) var(--ease); }
.grid--3 .card:hover { transform: translateY(-2px); }

/* =========================================================
   MARCAS / TAGS (si se usan)
   ========================================================= */
.tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #0f1a13;
  color: var(--green-300);
  border: 1px solid #13301f;
  font-size: var(--step--1);
}

/* =========================================================
   AJUSTES RESPONSIVE (home)
   ========================================================= */
@media (max-width: 640px) {
  .hero { padding: 36px 0 16px; }
  .hero__title { font-size: 1.75rem; }
}

/* Imágenes de tarjetas con relación 16:9 y bordes suaves */
.card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 16/9;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder si aún no hay imagen física */
.card__media.placeholder {
  background:
    radial-gradient(400px 120px at 20% -10%, rgba(47,178,76,.25), transparent),
    linear-gradient(180deg, #15181b, #101214);
}
/* =========================================================
   Etiqueta de oferta en cards (Productos destacados)
   Usa: <span class="product-flag product-flag--offer">...</span>
========================================================= */

.card__media .product-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.18rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.85);
  color: #e9fff5;
  border: 1px solid rgba(0, 255, 128, 0.6);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

/* Variantes (por ahora offer/elite, pero puedes usar más tipos) */
.product-flag--offer,
.product-flag--elite {
  background: linear-gradient(135deg, #00ff80, #00a84f);
  color: #020304;
  border-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 0 14px rgba(0, 255, 128, 0.45);
}

/* Fila de precios con 3 monedas visibles */
.price-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #16301f;
  background: #0f1a13;
  font-size: var(--step--1);
}
.badge.usd::before { content: '$ '; }
.badge.brl::before { content: 'R$ '; }
.badge.pyg::before { content: '₲ '; }

/* ===== Servicios destacados (home) ===== */
.section--services h2 { margin-bottom: 12px; }
.card--service {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.icon-badge{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: #0f1a13;
  border: 1px solid #16301f;
  color: var(--green-300);
}
.card--service .muted{ min-height: 40px; }

/* ===== Grid de categorías (home) ===== */
.section--categories h2 { margin-bottom: 12px; }

.tile{
  display:flex;
  align-items:center;
  gap:10px;
  background: linear-gradient(180deg,#141719,#0f1213);
  border:1px solid var(--border);
  border-radius: var(--r);
  padding:14px;
  transition: transform var(--speed) var(--ease), border-color var(--speed);
}
.tile:hover{
  transform: translateY(-2px);
  border-color:#204e31;
}

.tile__icon{
  width:40px;
  height:40px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#0f1a13;
  border:1px solid #16301f;
  color:var(--green-300);
  font-size:18px;
}
.tile__label{ font-weight:600; }

/* ===== CTA WhatsApp (fondo con foto + capas eléctricas) ===== */
.cta-wa{
  position: relative;
  overflow: clip;
  margin: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  /* 1) Foto base + 2) Glow radial + 3) Degradado */
  background-image:
    url('/assets/img/bg-cta.jpg'),
    radial-gradient(1200px 400px at 5% 10%, rgba(59,198,112,.20), transparent),
    linear-gradient(180deg,#0f1211,#0d1110);
  background-size: cover, auto, auto;
  background-position: center, center, center;
  background-blend-mode: normal, screen, normal;
}
.cta-wa__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 0;
}
@media (max-width:640px){
  .cta-wa__inner{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
}

/* ===== Beneficios rápidos ===== */
.section--benefits h2{ margin-bottom: 12px; }
.benefit{
  background: linear-gradient(180deg,#141719,#0f1213);
  border:1px solid var(--border);
  border-radius: var(--r);
  padding:16px;
  box-shadow: var(--shadow);
}
.benefit__icon{
  width:42px;
  height:42px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:18px;
  background:#0f1a13;
  border:1px solid #16301f;
  color:var(--green-300);
  margin-bottom:8px;
}
.benefit__title{
  margin:0 0 6px;
  font-weight:600;
}

/* Glow sutil en hover para cards, tiles y benefits */
.card:hover, .tile:hover, .benefit:hover {
  box-shadow: 0 0 10px rgba(47,178,76,.15), 0 0 20px rgba(47,178,76,.05);
  border-color: rgba(47,178,76,.4);
}

/* Ajustes móviles extra generales */
@media (max-width:640px){
  .nav__inner{height:56px}
  .hero__title{font-size:1.55rem}
  .price-row{flex-wrap:wrap}
  .badge{margin-top:4px}
}

/* =========================================================
   MEJORAS DE “LETRAS CON VIDA” + NAV STICKY (OVERRIDES)
   ========================================================= */

/* Navbar fija con blur y borde inferior */
/*.nav{
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9999;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(10, 13, 12, .75);
  border-bottom: 1px solid var(--border);
}

/* Título del hero con gradiente sutil + brillo */
.hero__title{
  line-height: 1.2;
  background: linear-gradient(180deg, #ECFFF2 0%, #BFF5D1 60%, #9EEFC0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* muestra el gradiente */
  text-shadow:
    0 1px 0 rgba(0,0,0,.35),
    0 0 22px rgba(47,178,76,.18);
}

/* Subtítulo un poco más claro para ganar contraste */
.hero__subtitle{
  color: color-mix(in srgb, var(--muted) 60%, #e6fff0 40%);
}

/* Títulos de sección con más punch */
.section :where(h2){
  color: #E9FFF3;
  text-shadow: 0 1px 0 rgba(0,0,0,.35), 0 0 14px rgba(47,178,76,.12);
}

/* Títulos de card destacados y etiquetas de categorías */
.card__title, .tile__label, .benefit__title{
  color: #e7f9ef;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
  letter-spacing: .15px;
  font-weight: 700;
}

/* Precio principal más nítido */
.price{
  color: #88F5B5; /* verde más eléctrico */
  text-shadow: 0 0 10px rgba(47,178,76,.22);
}

/* Botón outline con mejor contraste al hover */
.btn--outline:hover{
  border-color: var(--green-400);
  box-shadow: 0 0 0 2px rgba(47,178,76,.15) inset;
  color: #eafff4;
}

/* CTA de WhatsApp: botón con leve brillo al pasar */
#wa-cta{
  box-shadow: 0 4px 18px rgba(47,178,76,.18);
}
#wa-cta:hover{
  box-shadow: 0 6px 22px rgba(47,178,76,.25);
  transform: translateY(-1px);
}

/* Accesibilidad: enfoque visible en elementos clicables */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.tile:focus-visible {
  outline: 2px solid #5BE4A5;
  outline-offset: 2px;
  border-radius: 8px;
}

/* Navbar “sticky” con sombra al hacer scroll (lo activa app.js) */
.nav.is-scrolled{
  box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 1px 0 rgba(255,255,255,.03) inset;
  background: rgba(10, 13, 12, .82);
}

/* =========================================================
   KAMALEON — TYPOGRAPHY BOOST PACK (Overrides globales)
   ========================================================= */

/* Variables de apoyo (usa tu paleta) */
:root {
  --text-strong: #EAFEF3;     /* Titulares muy claros */
  --text-high:   #D7F8E6;     /* Subtítulos / labels */
  --text-base:   #C7EEDC;     /* Párrafos */
  --text-soft:   #A6CFBC;     /* Texto auxiliar */
  --text-glow:   rgba(47,178,76,.22); /* halo verde sutil */
}

/* ---------- NAV (enlaces siempre legibles) ---------- */
.nav__menu a {
  color: var(--text-high);
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
.nav__menu a:hover {
  color: var(--text-strong);
}

/* ---------- TITULARES PRINCIPALES ---------- */
:where(h1){
  color: var(--text-strong);
  font-weight: 900;
  letter-spacing: .25px;
  text-shadow:
    0 1px 0 rgba(0,0,0,.35),
    0 0 22px var(--text-glow);
}

/* ---------- TITULARES DE SECCIÓN ---------- */
:where(h2){
  color: var(--text-strong);
  font-weight: 800;
  letter-spacing: .2px;
  text-shadow: 0 1px 0 rgba(0,0,0,.35), 0 0 14px rgba(47,178,76,.12);
  margin-bottom: 14px;
}

/* ---------- SUBTÍTULOS / H3 en cards/tiles/benefits ---------- */
:where(h3, .card__title, .benefit__title, .tile__label){
  color: var(--text-high);
  font-weight: 800;
  letter-spacing: .18px;
  text-shadow: 0 1px 0 rgba(0,0,0,.28);
}

/* ---------- Párrafos base y “muted” con más legibilidad ---------- */
body, p { color: var(--text-base); }
.muted { color: var(--text-soft); }

/* ---------- Precios con fuerza visual ---------- */
.price {
  color: #88F5B5; /* verde eléctrico */
  text-shadow: 0 0 10px var(--text-glow);
}
.badge { color: var(--text-base); }

/* ---------- Botones: texto más nítido ---------- */
.btn, .btn--outline {
  font-weight: 800;
  letter-spacing: .2px;
}
.btn--outline { color: var(--text-high); }
.btn--outline:hover { color: var(--text-strong); }

/* ---------- Cards y tiles: refuerzo de texto interno ---------- */
.card, .tile, .benefit { color: var(--text-base); }
.card p, .tile p, .benefit p { color: var(--text-base); }

/* ---------- CTA WhatsApp ---------- */
#wa-cta {
  font-weight: 900;
  letter-spacing: .2px;
  color: #062413;
  text-shadow: 0 1px 0 rgba(255,255,255,.2);
}

/* ---------- Footer: títulos, links y cuerpo más vivos ---------- */
.footer { color: var(--text-soft); }
.footer strong {
  color: var(--text-high);
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  letter-spacing: .2px;
}
.footer a {
  color: var(--green-300);
  font-weight: 700;
}
.footer a:hover {
  color: var(--green-200);
  text-shadow: 0 0 10px var(--text-glow);
}

/* Reduce efectos si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .btn, .tile, .card { transition: none !important; }
}

/* =========================================================
   PACK VISUAL · UTILIDADES SUAVES
   ========================================================= */

/* Cards con “gloss” sutil en la media */
.card__media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%);
  pointer-events:none;
}

/* Glow utilitario (aplícalo donde quieras) */
.text-glow-sm { text-shadow: 0 0 10px rgba(47,178,76,.15); }
.text-glow-md { text-shadow: 0 1px 0 rgba(0,0,0,.35), 0 0 18px rgba(47,178,76,.20); }
.text-glow-lg { text-shadow: 0 1px 0 rgba(0,0,0,.35), 0 0 28px rgba(47,178,76,.28); }

/* Subrayado fino para headings destacados (opcional) */
.heading-underline{
  position:relative;
  display:inline-block;
  padding-bottom:4px;
}
.heading-underline::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background: linear-gradient(
    90deg,
    rgba(59,198,112,.0),
    rgba(59,198,112,.6),
    rgba(59,198,112,.0)
  );
  border-radius:2px;
}

/* =========================================================
   Carrusel horizontal para ofertas dinámicas
   ========================================================= */
.offers-carousel{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 10px;
}
.offers-carousel .card{
  min-width: 360px;        /* ajusta a tu break de diseño */
  scroll-snap-align: start;
}
@media (max-width: 640px){
  .offers-carousel .card{ min-width: 85vw; }
}

/* Scrollbar sutil (solo WebKit) */
.offers-carousel::-webkit-scrollbar{ height: 8px; }
.offers-carousel::-webkit-scrollbar-thumb{
  background: #1a251f;
  border-radius: 999px;
}

/* =========================================================
   Banner de cookies (Kamaleon)
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  max-width: 380px;
  background: rgba(5, 8, 7, 0.98);
  border: 1px solid rgba(0, 255, 128, .25);
  border-radius: 1rem;
  padding: 1.2rem 1.3rem 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  z-index: 99999;
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .9rem;

  opacity: 1;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.cookie-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.4));
}

.cookie-content h3 {
  margin: 0;
  font-size: 1rem;
}

.cookie-content p {
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  gap: .5rem;
  margin-top: .4rem;
}

.cookie-actions .btn-accept,
.cookie-actions .btn-essential {
  border: none;
  cursor: pointer;
  font-size: .75rem;
  border-radius: .5rem;
  padding: .4rem .7rem;
}

.cookie-actions .btn-accept {
  background: #00c277;
  color: #020304;
  font-weight: 600;
}

.cookie-actions .btn-essential {
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
}

.cookie-actions .btn-accept:hover {
  filter: brightness(1.05);
}

.cookie-actions .btn-accept:focus-visible,
.cookie-actions .btn-essential:focus-visible {
  outline: 2px solid #5BE4A5;
  outline-offset: 2px;
}

/* Responsive: versión full width abajo en mobile */
@media (max-width: 768px) {
  .cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    width: 100%;
    border-radius: 1rem 1rem 0 0;
    margin: 0;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
  }

  .cookie-banner__text {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .cookie-banner__actions,
  .cookie-banner button {
    width: 100%;
  }

  .cookie-banner button {
    margin-top: 0.5rem;
  }
}

/* =========================================================
   KAMALEON · Ajustes para nuevo NAV responsive
   ========================================================= */

/* contenedor interno del nav */
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* marca */
.nav__brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.nav__logo {
  width: 38px;
  height: auto;
}
.nav__title {
  color: #e7fff2;
  font-weight: 700;
  letter-spacing: .04em;
}

/* menú principal (desktop) */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav__menu a {
  color: var(--text-high, #eafff6);
  font-weight: 600;
  text-decoration: none;
}
.nav__menu a:hover {
  color: #ffffff;
}

/* botón hamburguesa: oculto en desktop */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 99px;
}

/* controles (idioma) deben quedar a la derecha */
.nav__controls {
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* MOBILE NAV */
@media (max-width: 820px) {
  .nav__inner { gap: .5rem; }

  /* mostramos hamburguesa */
  .nav__toggle { display: flex; }

  /* menú pasa a ser un panel desplegable */
  .nav__menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(5, 8, 7, 0.98);
    border: 1px solid rgba(0,255,128,.03);
    border-radius: 0 0 .75rem .75rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    padding: .75rem 1.1rem;
    min-width: 180px;
  }
  .nav__menu a {
    width: 100%;
    padding: .25rem 0;
  }
  .nav__menu.is-open { display: flex; }

  .nav__controls {
    margin-left: auto;          /* los empuja a la derecha */
    display: flex;
    align-items: center;
  }

  .lang-switch {
    display: flex;
    gap: .25rem;
  }

  .lang-switch button {
    font-size: .7rem;
    padding: .15rem .45rem;
    border-radius: 999px;
    border: 1px solid rgba(0,255,128,.45);
    background: rgba(0,0,0,.35);
    color: #e8fff5;
  }

  .lang-switch button.is-active {
    background: rgba(0,255,128,.25);
  }

  body { padding-top: 80px; }
}

/* =========================================================
   HERO 2 columnas (texto + logo)
   ========================================================= */
.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.hero__content { max-width: 650px; }
.hero__contacts {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .9rem;
  color: rgba(230, 255, 240, .85);
}
.hero__logo-box {
  min-width: 130px;
  display: flex;
  justify-content: center;
}
.hero__logo {
  width: 140px;
  filter: drop-shadow(0 0 12px rgba(0,255,128,.35));
}

/* móvil: hero en columna */
@media (max-width: 820px) {
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__logo { width: 120px; }
  .hero__contacts { gap: .5rem; }
}

/* =========================================================
   FOOTER NUEVO KAMALEON
   ========================================================= */
.footer {
  padding: 3rem 0 2rem;
  background: #020304;
  border-top: 1px solid rgba(0, 255, 128, 0.12);
}

.footer__top {
  padding-bottom: 1.5rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 2fr 1.5fr;
  }
}

.footer__brand-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(0, 255, 128, 0.35);
}

.footer__text {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__line {
  margin: 0 0 0.4rem;
}

.footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

/* Número de WhatsApp oculto (solo se usa para lógica del CMS) */
.footer__wa-hidden { display: none; }

.footer__col--links { text-align: left; }

.footer__link {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.footer__social { font-size: 0.9rem; }

.footer__social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.footer__social-list a {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Créditos / copy */
.footer__bottom {
  border-top: 1px solid rgba(0, 255, 128, 0.08);
  padding-top: 1rem;
}

.footer__credits,
.footer__copy {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   PRODUCTOS DESTACADOS – carrusel
   ========================================================= */
.section--featured {
  margin-top: 3rem;
}
.section--featured.is-hidden { display: none; }

.featured-carousel-wrap {
  position: relative;
  margin-top: 1.5rem;
}

.featured-carousel {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  scroll-behavior: smooth;
  padding: .25rem 0;
}

.featured-item {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .featured-item {
    flex: 0 0 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }
}

.featured-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0,255,128,.6);
  background: rgba(0,0,0,.75);
  color: #e8fff4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 0 10px rgba(0,255,128,.4);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  z-index: 5;
}

.featured-nav:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 0 16px rgba(0,255,128,.7);
  background: rgba(0,0,0,.95);
}

.featured-nav--prev { left: -0.5rem; }
.featured-nav--next { right: -0.5rem; }

@media (max-width: 768px) {
  .featured-nav--prev { left: 0; }
  .featured-nav--next { right: 0; }
}

.featured-nav.is-hidden { display: none; }
/* =========================================================
   KAMALEON · SISTEMA DE ETIQUETAS / TAGS DE ESTADO
   ========================================================= */

.tag-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;

  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .25px;

  border: 1px solid rgba(0, 255, 128, .18);
  background: rgba(0, 255, 128, .08);
  color: #bfffe3;

  text-shadow: 0 1px 0 rgba(0,0,0,.45);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  box-shadow: 0 0 0 1px rgba(0,255,128,.08) inset;
}

/* Variantes visuales especiales */
.tag-status--promo {
  background: rgba(0, 255, 128, .12);
  border-color: rgba(0,255,128,.32);
  color: #d4ffe9;
  box-shadow: 0 0 8px rgba(0,255,128,.22);
}

.tag-status--elite {
  background: rgba(10, 13, 12, .65);
  border-color: rgba(0,255,128,.40);
  color: var(--green-300);
  box-shadow: 0 0 14px rgba(0,255,128,.25),
              0 0 0 1px rgba(0,255,128,.18) inset;
}

.tag-status--today {
  background: rgba(255, 214, 64, .12);
  border-color: rgba(255, 214, 64, .35);
  color: #ffef9b;
  box-shadow: 0 0 12px rgba(255,214,64,.20);
}

/* Pequeño rayo para “solo hoy” */
.tag-status--today::before {
  content: "⚡";
  font-size: .85em;
  opacity: .9;
}
/* =========================================================
   KAMALEON · BOTONES 3D PREMIUM
   ========================================================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.65rem 1.4rem;
  min-height: 44px;

  border-radius: 14px;
  font-weight: 800;
  letter-spacing: .25px;

  background: linear-gradient(180deg, #3cf48a, #1fa85c);
  color: #051207;

  /* Sombras 3D */
  box-shadow:
    0 6px 14px rgba(0,0,0,.45),
    0 0 12px rgba(47,178,76,.25),
    inset 0 1px 0 rgba(255,255,255,.35);

  border: 1px solid rgba(0,255,128,.35);
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .25s ease;
}

/* Brillo lateral (gloss) */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255,255,255,.18), rgba(255,255,255,0) 60%);
  opacity: .45;
  pointer-events: none;
  transition: opacity .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 20px rgba(0,0,0,.55),
    0 0 16px rgba(47,178,76,.35),
    inset 0 1px 0 rgba(255,255,255,.4);
}

.btn:hover::after {
  opacity: .55;
}

.btn:active {
  transform: translateY(1px);
  box-shadow:
    0 4px 10px rgba(0,0,0,.45),
    0 0 10px rgba(47,178,76,.25),
    inset 0 2px 4px rgba(0,0,0,.45),
    inset 0 -2px 4px rgba(255,255,255,.12);
}


/* ---------------------------------------------------------
   Variante outline (premium)
--------------------------------------------------------- */

.btn--secondary,
.btn--outline {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(0,255,128,.35);
  color: var(--text-high);

  box-shadow:
    0 4px 14px rgba(0,0,0,.4),
    inset 0 1px 0 rgba(255,255,255,.15);
}

.btn--secondary:hover,
.btn--outline:hover {
  border-color: rgba(0,255,128,.75);
  color: #eafff4;
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px rgba(0,0,0,.55),
    0 0 16px rgba(47,178,76,.35),
    inset 0 1px 0 rgba(255,255,255,.25);
}

.btn--secondary:active,
.btn--outline:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,.45),
    inset 0 -2px 4px rgba(255,255,255,.12);
}
/* Base sombra debajo del botón (efecto flotante) */
.btn {
  position: relative;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -6px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 70%);
  opacity: .75;
  z-index: -1;
  transition: opacity .2s ease, transform .2s ease;
}

.btn:hover::before {
  opacity: 1;
  transform: translateY(1px);
}

.btn:active::before {
  opacity: .6;
  transform: translateY(2px);
}
/* =========================================================
   POPUP PROMOCIONAL (home.popups desde content.json)
   Estilos globales + animación suave
========================================================= */

.popup-root {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none; /* oculto por defecto */
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

/* Cuando el JS lo activa */
.popup-root.is-visible {
  display: flex;
  animation: popupOverlayFade 0.35s ease-out forwards;
}

/* Estado explícito de oculto (por si acaso) */
.popup-root.is-hidden {
  display: none;
}

.popup-card {
  position: relative;
  max-width: 420px;
  width: 100%;
  background: #050807;
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 128, 0.35);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.9);
  padding: 1rem 1.1rem 1.3rem;
  text-align: center;
}

/* Animación de la tarjeta (zoom + slide suave) */
.popup-root.is-visible .popup-card {
  animation: popupFloat 0.45s ease-out;
}

.popup-card img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.popup-card h3 {
  font-size: 1.1rem;
  margin: 0.25rem 0 0;
}

.popup-close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Fondo que aparece suave */
@keyframes popupOverlayFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Movimiento de la tarjeta */
@keyframes popupFloat {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
