/* Black + Red palette */
:root{
  --bg:#070708;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.04);
  --stroke:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --red:#e0232e;
  --red2:#a80f18;
  --shadow: 0 30px 80px rgba(0,0,0,.55);
  --radius:18px;
  --radius2:14px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(224,35,46,.18), transparent 60%),
    radial-gradient(820px 520px at 85% 10%, rgba(224,35,46,.12), transparent 55%),
    linear-gradient(180deg, #070708 0%, #070708 60%, #060607 100%);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{ color:inherit; text-decoration:none; }
.container{ max-width:var(--max); margin:0 auto; padding: 0 22px; }

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(7,7,8,.70);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: visible;
}
.topbar__inner{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding: 12px 0; }

.brand{ display:flex; align-items:center; gap:12px; min-width: 220px; }
.brand__logo{
  width:40px; height:40px; border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(224,35,46,.18);
  transition: transform .15s ease;          /* <-- para el zoom */
  transform-origin: center;
}

/* Zoom SOLO del logotipo circular al hover del bloque brand */
.brand:hover .brand__logo{
  transform: scale(1.10);
}

.brand__text{ line-height: 1.05; }

.brand__name{
  font-weight: 600;            /* un poco menos gruesa */
  letter-spacing: 2.5px;       /* más separación */
  color: rgba(255,255,255,.96);
  font-size: 15px;
}

.brand__sub{
  margin-top: 2px;
  font-weight: 400;            /* más delgada */
  letter-spacing: 2.8px;       /* más separación */
  color: rgba(255,255,255,.60);
  font-size: 12px;
}



.nav{ display:flex; align-items:center; gap: 14px; flex-wrap:wrap; justify-content:flex-end; }
.nav a{ font-size: 14px; color: var(--muted); }
.nav a:hover{ color: var(--text); }

.pill{
  padding: 9px 12px;
  border: 1px solid rgba(224,35,46,.35);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(224,35,46,.20), rgba(224,35,46,.08));
  color: var(--text) !important;
}

.hero{ position:relative; padding: 52px 0 6px; overflow:hidden; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: start;
}
@media (max-width: 920px){
  .hero__grid{ grid-template-columns: 1fr; }
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 14px;
}
h1{ font-size: 46px; line-height: 1.04; margin: 0 0 14px; letter-spacing: -0.7px; }
@media (max-width: 520px){ h1{ font-size: 38px; } }
.hero p{ margin: 0 0 18px; color: var(--muted); line-height: 1.6; max-width: 62ch; }

.ctaRow{ display:flex; gap: 12px; flex-wrap:wrap; margin-top: 6px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor:pointer;
  font-weight: 650;
}
.btn:hover{ background: rgba(255,255,255,.07); }
.btn--primary{
  border-color: rgba(224,35,46,.40);
  background: linear-gradient(135deg, rgba(224,35,46,.25), rgba(224,35,46,.10));
}
.btn--primary:hover{
  background: linear-gradient(135deg, rgba(224,35,46,.32), rgba(224,35,46,.12));
}
.btn--full{ width:100%; border-radius: 14px; }
.btn:disabled{ opacity:.55; cursor:not-allowed; }

.kpis{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 16px; }
.kpi{
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 13px;
}

.apiNote{
  margin-top: 16px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(224,35,46,.45);
  background: rgba(224,35,46,.08);
  color: rgba(255,255,255,.86);
}
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size: 12px; }

.hero__panel{ }
.panelCard{
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.panelCard__title{ margin: 0 0 10px; font-size: 18px; }
.panelCard__text{ margin: 0; color: var(--muted); line-height: 1.6; }
.panelCard__steps{ display:grid; gap:10px; margin-top: 14px; }
.step{ display:flex; align-items:center; gap:10px; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,.10); background: rgba(0,0,0,.20); color: var(--muted); }
.dot{ width:10px; height:10px; border-radius: 999px; background: rgba(224,35,46,.90); box-shadow: 0 0 0 4px rgba(224,35,46,.18); }

.panelCard__mini{ display:flex; gap: 8px; flex-wrap:wrap; margin-top: 14px; }
.chip{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(224,35,46,.25);
  background: rgba(224,35,46,.10);
  color: rgba(255,255,255,.84);
  font-size: 12px;
}

/* Panel layout: mascot + copy */
.panelCard__content{
  display:flex;
  gap: 16px;
  align-items: center;
}

.panelCard__media{
  flex: 0 0 150px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.panelCard__mascot{
  width: 150px;
  height: auto;
  display:block;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45));
}

.panelCard__copy{
  flex: 1 1 auto;
  min-width: 0;
}

.panelCard__text--big{
  font-size: 14px;
  line-height: 1.55;
  margin-top: 8px;
}

/* Responsive: stack */
@media (max-width: 920px){
  .panelCard__content{
    flex-direction: column;
    align-items: flex-start;
  }
  .panelCard__media{
    flex: 0 0 auto;
  }
  .panelCard__mascot{
    width: 170px;
  }
}


.hero__glow{
  position:absolute; inset: -120px -120px auto -120px; height: 420px;
  background: radial-gradient(closest-side, rgba(224,35,46,.22), transparent 70%);
  filter: blur(12px);
  pointer-events:none;
}

.section{ padding: 34px 0; }
.section__head{ margin-bottom: 14px; }
.section__head h2{ margin: 0 0 8px; font-size: 26px; letter-spacing: -0.3px; }
.section__head p{ margin: 0; color: var(--muted); line-height: 1.6; }

.grid{ display:grid; gap: 14px; }
/* Featured grid: 4 per row on desktop */
.grid--cards{
  grid-template-columns: repeat(4, 1fr);
  gap: 12px; /* un poco más compacto */
}

/* Breakpoints para que no se rompa */
@media (max-width: 1100px){
  .grid--cards{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px){
  .grid--cards{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .grid--cards{ grid-template-columns: 1fr; }
}

/* =========================
   Featured product cards (compact + image full)
========================= */

.productCard{
  border-radius: 16px; /* un pelín más compacto que --radius */
}

/* área de imagen: fija altura para que todas queden iguales */
.productCard__img{
  height: 140px;                 /* ajusta 120–160 a gusto */
  background: rgba(0,0,0,.35);   /* marco para "contain" */
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;
}

.productCard__img img{
  width: 100%;
  height: 100%;
  object-fit: contain;           /* <- CLAVE: se ve entera */
  display:block;
  filter: contrast(1.05) brightness(.95);
}

.productCard__body{
  padding: 12px 12px 12px;       /* menos padding */
}

.productCard__title{
  font-size: 14px;               /* más pequeño */
  line-height: 1.25;
}



.card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  overflow:hidden;
}
.card__pad{ padding: 16px; }
.card__title{ margin: 0 0 6px; font-size: 18px; }
.card__meta{ display:flex; gap: 10px; flex-wrap:wrap; align-items:center; margin-bottom: 10px; }
.tag{
  font-size: 12px;
  color: rgba(255,255,255,.82);
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.tag--red{
  border-color: rgba(224,35,46,.35);
  background: rgba(224,35,46,.10);
}
.card__desc{ margin: 0 0 14px; color: var(--muted); line-height: 1.6; min-height: 60px; }
.card__actions{ display:flex; gap: 10px; flex-wrap:wrap; }

/* Featured actions: price + button on the same line */
.productCard__actions--row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

/* Evita que el botón se vaya a dos líneas por ancho */
.productCard__actions--row .btn{
  white-space: nowrap;
}


/* Featured price toast (green, bold, standout) */
.priceToast{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 6px 10px;
  border-radius: 999px;

  font-weight: 900;           /* bold */
  font-size: 13px;
  letter-spacing: .2px;

  color: rgba(255,255,255,.95);
  background: rgba(0, 255, 140, .18);
  border: 1px solid rgba(0, 255, 140, .35);

  box-shadow: 0 10px 22px rgba(0,0,0,.28);
  white-space: nowrap;
}

.productCard__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}
.productCard__title{
  margin: 0;
}


@media (max-width: 520px){
  .priceToast{ font-size: 12px; padding: 6px 9px; }
}


.catCard{
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.catCard:hover{ transform: translateY(-1px); }
.catCard__title{ font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.catCard__desc{ color: var(--muted); line-height: 1.6; }

.about{ padding-bottom: 18px; }
.about__card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.about__card h2{ margin: 0 0 8px; }
.about__card p{ margin: 0 0 14px; color: var(--muted); line-height: 1.6; }
.about__row{ display:flex; gap: 10px; flex-wrap: wrap; }
.fineprint{ margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.60); line-height: 1.5; }

.iconBtn{
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor:pointer;
}
.iconBtn:hover{ background: rgba(255,255,255,.07); }

.drawer__body{ padding: 16px; flex:1; overflow:auto; }
.drawer__foot{ padding: 16px; border-top: 1px solid rgba(255,255,255,.08); display:grid; gap: 10px; }

.notice{
  padding: 12px;
  border: 1px solid rgba(224,35,46,.30);
  background: rgba(224,35,46,.10);
  border-radius: 14px;
  color: rgba(255,255,255,.86);
  margin-bottom: 12px;
  line-height: 1.5;
}
.basketSummary{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}
.basketSummary__row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 7px 0;
  color: var(--muted);
}
.basketSummary__row b{ color: var(--text); }
.basketHint{ color: var(--muted); line-height: 1.6; }


/* Town strip (between header and hero) */
.townStripWrap{
  background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,0));
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.townStrip{
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px 8px;

  display:flex;
  gap: 10px;

  /* 1 sola línea */
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;

  /* si no cabe: scroll horizontal */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  /* opcional: disimula scrollbar */
  scrollbar-width: none; /* Firefox */
}
.townStrip::-webkit-scrollbar{ display:none; } /* Chrome/Safari */

/* Tiles cuadrados y pequeños */
.townTile{
  position: relative;
  flex: 0 0 auto;

  width: 120px;
  height: 180px;

  border-radius: 14px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);

  cursor: pointer;
  transform: translateZ(0);
  transition: transform .12s ease, border-color .12s ease;
}

.townTile:hover{
  transform: translateY(-1px);
  border-color: rgba(224,35,46,.45);
}


/* Imagen a pantalla completa dentro del tile (por defecto A COLOR) */
.townTile__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* antes: grayscale(1) ... */
  filter: grayscale(0) contrast(1.05) brightness(.95);
  transition: filter .14s ease, transform .14s ease;
}

/* Hover: BLANCO Y NEGRO */
.townTile:hover .townTile__img{
  /* antes: grayscale(0) ... */
  filter: grayscale(1) contrast(1.05) brightness(.9);
  transform: scale(1.03);
}


/* Fallback (si no hay img) */
.townTile__ph{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-weight: 900;
  font-size: 18px;
  color: rgba(255,255,255,.88);
  background: rgba(0,0,0,.35);
}

/* Label dentro del tile (sobre la imagen) */
.townTile__label{
  position:absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;

  padding: 6px 7px;
  border-radius: 10px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2px;
  text-align: center;

  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.10);

  backdrop-filter: blur(8px);
}

/* Ajuste fino en pantallas muy pequeñas */
@media (max-width: 420px){
  .townTile{ width: 88px; height: 88px; border-radius: 12px; }
  .townTile__label{ font-size: 11px; padding: 6px 7px; }
}



/* Product card variants */
.productCard--small .productCard__desc{ display:none; }


/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 120;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.78);
  box-shadow: var(--shadow);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  letter-spacing: .2px;
  max-width: min(560px, 92vw);
  text-align: center;
}
.toast--ok{ border-color: rgba(0,255,140,.22); }
.toast--error{ border-color: rgba(224,35,46,.55); }

/* Panel hero con imagen de mascota como FONDO */
.panelCard--mascot{
  position: relative;
  overflow: hidden;
  border: none !important;

  /* Fondo base + imagen */
  background:
    /* oscurece un poco la izquierda para integrar con el panel */
    linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.10) 45%, rgba(0,0,0,.05) 100%),
    url("./assets/ks-mascot.png");

  background-repeat: no-repeat;
  background-position: left center;   /* deja el "papel" hacia el lado derecho */
  background-size: auto 90%;          /* ajusta el alto sin “reventar” el panel */
}

/* Overlay suave para legibilidad general (sin matar el papel) */
.panelCard--mascot::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(900px 420px at 72% 40%, rgba(0,0,0,.12), transparent 60%);
}

/* Asegura que el contenido esté por encima del fondo/overlay */
.panelCard--mascot > *{
  position: relative;
  z-index: 1;
}

/* Empuja el contenido hacia la derecha (zona de papel libre) */
.panelCard--mascot .panelCard__title,
.panelCard--mascot .panelCard__text,
.panelCard--mascot .panelCard__steps,
.panelCard--mascot .panelCard__mini{
  margin-left: auto;
  width: min(360px, 100%);
}

/* En móvil: centra y baja un poco el fondo para que no estorbe */
@media (max-width: 920px){
  .panelCard--mascot{
    background-position: center 18%;
    background-size: auto 80%;
    border: none !important;
  }
  .panelCard--mascot .panelCard__title,
  .panelCard--mascot .panelCard__text,
  .panelCard--mascot .panelCard__steps,
  .panelCard--mascot .panelCard__mini{
    margin-left: 0;
    width: 100%;
  }
}

/* En el panel con mascota: suaviza los fondos negros internos */
.panelCard--mascot .step{
  background: rgba(255,255,255,.10);      /* antes: rgba(0,0,0,.20) */
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.88);
}

.panelCard--mascot .tag,
.panelCard--mascot .chip{
  background: rgba(0,0,0,.22);            /* un pelín más suave */
  border-color: rgba(255,255,255,.14);
}

/* Si el texto sobre el papel pierde contraste, sube un poco esto */
.panelCard--mascot .panelCard__text{
  color: rgba(255,255,255,.86);
}

/* Featured YouTube video (left hero block) */
.videoFeature{
  width: 100%;
}

/* Responsive frame with rounded corners, same “card” feel */
.videoFeature__frame{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  box-shadow: var(--shadow);
}

/* Make iframe fill the container */
.videoFeature__frame iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* (VARIANTE) Video NO interactuable: sin hover/click/touch */
.videoFeature__frame iframe{
  pointer-events: none;
}


/* Buttons spacing under video */
.ctaRow--underVideo{
  margin-top: 14px;
}

/* YouTube icon button next to Tebex Store */
.iconBtn--yt{
  width: 44px;
  height: 44px;
  border-radius: 999px; /* igual estética pills */
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.iconBtn--yt svg{
  fill: rgba(255,255,255,.92);
}

.iconBtn--yt:hover{
  border-color: rgba(224,35,46,.45);
  background: rgba(255,255,255,.07);
}

/* =========================
   About (split layout like reference)
========================= */

.aboutSection{
  padding-top: 8px;   /* antes 46 */
  padding-bottom: 56px;
}

.aboutGrid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 980px){
  .aboutGrid{
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* LEFT: media */
.aboutMedia{
  position: relative;
  min-height: 320px;
}

.aboutMedia__frame{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}

/* subtle corner marks like the screenshot */
.aboutMedia__frame::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(224,35,46,.18), transparent 35%),
    radial-gradient(600px 260px at 25% 15%, rgba(0,0,0,.35), transparent 60%);
  mix-blend-mode: normal;
}

.aboutMedia__frame img{
  width: 100%;
  height: 100%;
  display:block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: contrast(1.05) brightness(.9);
  transform: scale(1.01);
}

.aboutBadge{
  position:absolute;
  right: 18px;
  bottom: 14px;
  display:flex;
  align-items:center;
  gap: 12px;

  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(224,35,46,.35);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
}

.aboutBadge__logo{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-weight: 900;
  letter-spacing: .6px;

  color: rgba(255,255,255,.92);
  background: rgba(224,35,46,.14);
  border: 1px solid rgba(224,35,46,.28);
}

.aboutBadge__logo img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 1px;              /* ajusta 4–8px si lo ves grande/pequeño */
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}


.aboutBadge__title{
  font-weight: 900;
  color: rgba(224,35,46,.95);
  letter-spacing: .4px;
  line-height: 1.0;
}

.aboutBadge__sub{
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.70);
}

/* RIGHT: copy */
.aboutCopy{
  padding: 6px 0;
}

.aboutKicker{
  font-size: 11px;
  letter-spacing: 4px;
  color: rgba(224,35,46,.85);
  margin-bottom: 14px;
}

.aboutTitle{
  margin: 0 0 14px;
  line-height: 1.02;
  letter-spacing: -0.6px;

  /* give it that “editorial” look */
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 54px;
}

.aboutTitle span{
  color: var(--red);
}

@media (max-width: 520px){
  .aboutTitle{ font-size: 40px; }
}

.aboutText{
  margin: 0 0 14px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  max-width: 60ch;
}

/* Stats row (4 boxes) */
.aboutStats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 22px 0 18px;

  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
}

.aboutStat{
  padding: 18px 14px;
  text-align:center;
  border-right: 1px solid rgba(255,255,255,.10);
}

.aboutStat:last-child{
  border-right: none;
}

.aboutStat__num{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .2px;
  color: rgba(224,35,46,.95);
}

.aboutStat__label{
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255,255,255,.60);
}

@media (max-width: 980px){
  .aboutStats{
    grid-template-columns: repeat(2, 1fr);
  }
  .aboutStat:nth-child(2){
    border-right: none;
  }
  .aboutStat:nth-child(1),
  .aboutStat:nth-child(2){
    border-bottom: 1px solid rgba(255,255,255,.10);
  }
}
/* Hover "breathing" (float up/down) */
@keyframes kh-breathe-float{
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Estado base: transición suave */
.productCard{
  will-change: transform;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

/* En hover: flota suavemente */
.productCard:hover{
  animation: kh-breathe-float 1.25s ease-in-out infinite;
  border-color: rgba(224,35,46,.45);
  box-shadow: 0 26px 70px rgba(0,0,0,.45);
}




@media (prefers-reduced-motion: reduce){
  .productCard:hover{
    animation: none;
    transform: translateY(-4px);
  }
}


/* Reduce top spacing just for Featured section */
#featured.section{
  padding-top: 2px;   /* antes 34px */
}

/* =========================
   Footer
========================= */

.siteFooter{
  margin-top: 26px;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.35);
}

.siteFooter__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.siteFooter__left{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 260px;
}

.siteFooter__logo{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(224,35,46,.18);
  background: rgba(224,35,46,.10);
  object-fit: contain;
  padding: 2px;
}

.siteFooter__name{
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 12px;
  color: rgba(255,255,255,.88);
}

.siteFooter__copy{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

.siteFooter__nav{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.siteFooter__nav a{
  font-size: 13px;
  color: rgba(255,255,255,.62);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.siteFooter__nav a:hover{
  color: rgba(255,255,255,.90);
  border-color: rgba(224,35,46,.35);
  background: rgba(255,255,255,.06);
}

@media (max-width: 520px){
  .siteFooter__inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .siteFooter__nav{
    justify-content:flex-start;
  }
}

/* Badge overlay on the featured video */
.videoFeature__frame{
  position: relative; /* clave para posicionar el badge */
}

.videoBadge{
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;

  padding: 8px 12px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;

  color: rgba(255,255,255,.95);
  background: linear-gradient(135deg, rgba(224,35,46,.38), rgba(224,35,46,.18));
  border: 1px solid rgba(224,35,46,.45);

  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(0,0,0,.45);

  pointer-events: none; /* no bloquea clicks (aunque tu iframe ya está sin pointer-events) */
}

/* =========================
   Scripts slider section
========================= */

.scriptsSection{
  padding-top: 10px;   /* pegado al About */
  padding-bottom: 18px;
}

/* Head row: title left, controls right */
.section__head--row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
}

.sliderControls{
  display:flex;
  gap: 10px;
}

.sliderBtn{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  cursor:pointer;
  font-size: 22px;
  line-height: 1;
  display:grid;
  place-items:center;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.sliderBtn:hover{
  transform: translateY(-1px);
  border-color: rgba(224,35,46,.40);
  background: rgba(255,255,255,.07);
}

.scriptsSlider{
  position: relative;
  border-radius: 18px;
  margin-top: 12px;

  /* “fade” edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.scriptsSlider__track{
  display:flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 6px 10px;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scriptsSlider__track::-webkit-scrollbar{ display:none; }

/* slider cards (image full + overlay) */
.scriptCard{
  position: relative;
  flex: 0 0 auto;
  width: 260px;
  height: 170px; /* altura fija para estilo “poster” */
  scroll-snap-align: start;

  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);

  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.scriptCard:hover{
  border-color: rgba(224,35,46,.40);
  box-shadow: 0 26px 70px rgba(0,0,0,.45);
  transform: translateY(-1px);
}

/* Full image layer */
.scriptCard__media{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
}

.scriptCard__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;           /* <- llena todo el cuadro */
  display:block;
  filter: contrast(1.05) brightness(.85);
  transform: scale(1.01);
}

/* Legibility gradient */
.scriptCard::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.72) 100%);
}

/* Overlay content */
.scriptCard__overlay{
  position:absolute;
  inset:0;
  z-index: 2;

  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap: 10px;

  padding: 12px;
}

.scriptCard__title{
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  text-shadow: 0 8px 18px rgba(0,0,0,.55);
}

.scriptCard__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

/* CTA pill */
.scriptCard__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 7px 12px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: .2px;

  color: rgba(255,255,255,.92);
  background: rgba(224,35,46,.18);
  border: 1px solid rgba(224,35,46,.38);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);

  white-space: nowrap;
}

/* On hover: CTA a bit brighter */
.scriptCard:hover .scriptCard__cta{
  background: rgba(224,35,46,.28);
  border-color: rgba(224,35,46,.55);
}

/* on mobile: narrower cards */
@media (max-width: 520px){
  .scriptCard{ width: 220px; height: 160px; }
  .sliderBtn{ width: 38px; height: 38px; border-radius: 12px; }
}

/* =========================
   Logo comic bubble (optional)
========================= */

.brand{
  position: relative; /* ancla del globo */
  overflow: visible;
}

/* Bubble hacia la IZQUIERDA del logo */
.logoBubble{
  position: absolute;

  

  /* Colócalo fuera, a la izquierda del brand */
  left: auto;
  right: calc(100% + 14px);
  top: -2px;

  max-width: 280px;
  padding: 10px 12px;

  border-radius: 16px;
  border: 1px solid rgba(224,35,46,.45);
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);

  box-shadow: 0 18px 45px rgba(0,0,0,.55);

  font-size: 12px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.95);

  z-index: 80;
}

/* “Rabito” apuntando al logo (lado derecho del globo) */
.logoBubble::after{
  content:"";
  position:absolute;

  right: -7px;   /* sale por el lado derecho */
  top: 18px;     /* altura del rabito */

  width: 12px;
  height: 12px;

  background: rgba(0,0,0,.72);
  border-right: 1px solid rgba(224,35,46,.45);
  border-top: 1px solid rgba(224,35,46,.45);

  transform: rotate(45deg);
  border-top-right-radius: 2px;
}



/* Link inside bubble (if configured) */
.logoBubble__link{
  color: rgba(255,255,255,.95);
  text-decoration: none;
}

.logoBubble__link:hover{
  text-decoration: underline;
}

/* On small screens: move bubble so it doesn't clip */
@media (max-width: 520px){
  .logoBubble{
    left: 0px;
    top: 46px;      /* drop below the brand to avoid clipping */
    max-width: 260px;
  }
  .logoBubble::after{
    left: 18px;
    top: -7px;
    bottom: auto;
    transform: rotate(225deg);
  }
}

.btn--red{
  border-color: rgba(224,35,46,.45);
  background: linear-gradient(135deg, rgba(224,35,46,.22), rgba(224,35,46,.08));
}
.btn--red:hover{
  background: linear-gradient(135deg, rgba(224,35,46,.32), rgba(224,35,46,.12));
}
