:root{
  --bg:#050505;
  --bg2:#0a0a0a;

  --text:#f5f5f5;
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.58);

  --card:rgba(255,255,255,.05);
  --card2:rgba(255,255,255,.035);

  --stroke:rgba(255,255,255,.10);
  --border:rgba(255,255,255,.12);

  --shadow:0 10px 30px rgba(0,0,0,.45);

  --accent:#004225;   /* Verde marca */
  --brand:#ecbd4a;    /* Amarillo marca */
  --white:#ffffff;

  --radius:20px;
  --radius-sm:14px;
  --radius-lg:28px;

  --max:1100px;
}

/* Font: 28 Days Later */
@font-face{
  font-family:'28DaysLater';
  src:url('/assets/font/28dayslater.ttf') format('truetype');
  font-weight:normal;
  font-style:normal;
  font-display:swap;
}

/* Reset */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(0,66,37,.16), transparent 60%),
    radial-gradient(800px 460px at 82% 8%, rgba(236,189,74,.10), transparent 58%),
    radial-gradient(900px 520px at 60% 110%, rgba(0,66,37,.10), transparent 62%),
    var(--bg);
}
a{color:inherit}
img{max-width:100%; height:auto; display:block}
.no-scroll{overflow:hidden}
.small{font-size:.92rem}
.muted{color:var(--muted)}

.container{
  width:min(100%, var(--max));
  margin-inline:auto;
  padding-inline:24px;
}

/* Skip link */
.skip{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:12px; top:12px; width:auto; height:auto;
  padding:10px 12px; background:#000;
  border:1px solid var(--border); border-radius:12px;
  z-index:9999;
}

/* Headings */
h2{
  font-family:'28DaysLater', Impact, sans-serif;
  font-size:2.8rem;
  font-weight:normal;
  text-transform:uppercase;
  letter-spacing:2px;
  color:var(--text);
}
.section__head h2{
  /* en headers de sección, más compacto */
  font-size:1.9rem;
  letter-spacing:1px;
  margin:0 0 6px;
}
.section__head p{margin:0; color:var(--muted)}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background:rgba(11,11,12,.62);
  border-bottom:1px solid var(--border);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none}

.nav__toggle{
  display:none;
  background:transparent; color:var(--text);
  border:1px solid var(--border);
  border-radius:12px;
  padding:8px 10px;
}
.nav__menu{
  list-style:none;
  display:flex; gap:16px;
  margin:0; padding:0;
  align-items:center;
}
.nav__menu a{opacity:.9; text-decoration:none}
.nav__menu a:hover{opacity:1}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:14px 18px;
  border-radius:999px;
  background:var(--accent);
  color:var(--brand);
  text-decoration:none;
  font-weight:700;
  border:1px solid rgba(0,0,0,.25);
  box-shadow:0 10px 30px rgba(245,180,0,.18);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease, background-color .2s ease;
}
.btn:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 35px rgba(236,189,74,.35);
  filter:brightness(1.05);
}
.btn:active{
  transform:translateY(1px);
  box-shadow:0 6px 18px rgba(236,189,74,.22);
}

.btn--ghost{
  background:rgba(236,189,74,.20);
  color:var(--text);
  border:1px solid rgba(236,189,74,.28);
  box-shadow:none;
}
.btn--ghost:hover{
  background:rgba(236,189,74,.28);
  border-color:rgba(236,189,74,.38);
}
.btn--small{padding:10px 12px; font-size:.95rem}

.link{
  background:none; border:none; color:var(--muted);
  cursor:pointer; padding:0; font:inherit;
}
.link:hover{color:var(--text)}

/* Sections */
.section{padding:64px 0}
.section--alt{
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.section__head{margin-bottom:22px}

/* =========================
   HERO (unificado)
   ========================= */
.hero{
  position:relative;
  min-height:85vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  padding:80px 24px 40px;
}
.hero::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0;
  height:140px;
  background:linear-gradient(to bottom, rgba(0,0,0,0), rgba(5,5,5,1));
  pointer-events:none;
  z-index:2;
}

.hero__bg{position:absolute; inset:0; overflow:hidden}
.hero__video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transform:scale(1.02);
  filter:saturate(1.05) contrast(1.05);
}
.hero__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 500px at 20% 20%, rgba(0,66,37,.35), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.78), rgba(0,0,0,.68));
}
.hero__overlay::after{
  content:"";
  position:absolute; inset:0;
  background:repeating-linear-gradient(
    45deg,
    rgba(255,255,255,.06) 0px,
    rgba(255,255,255,.06) 1px,
    rgba(255,255,255,0) 1px,
    rgba(255,255,255,0) 6px
  );
  opacity:.12;
  mix-blend-mode:overlay;
}

.hero__logo{
  position:relative;
  z-index:10;
  width:100%;
  display:flex;
  justify-content:center;
  margin-bottom:16px;
  animation:fadeInUp .8s ease-out both;
}
.hero__logo img{
  width:90%;
  max-width:500px;
  height:auto;
  filter:drop-shadow(0 10px 30px rgba(0,0,0,.6));
}

.hero__content{
  position:relative;
  z-index:10;
  max-width:800px;
}

.hero__title-img{
  width:100%;
  max-width:800px;
  max-height:45vh;
  object-fit:contain;
  margin:0 auto 18px auto;
  animation:fadeInUp .8s ease-out .35s both;
}

.hero__sub{
  margin:0 0 10px 0;
  font-size:clamp(22px, 2vw, 30px);
  font-weight:400;
  letter-spacing:.04em;
  color:rgba(255,255,255,.75);
}

.kicker{
  display:inline-block;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:700;
  font-size:.82rem;
  color:rgba(255,255,255,.78);
  border:1px solid var(--border);
  padding:8px 12px;
  border-radius:999px;
  background:rgba(0,0,0,.25);
}
.hero h1{
  font-size:clamp(2rem, 5vw, 3.4rem);
  line-height:1.05;
  margin:16px 0 10px;
}
.lead{
  font-size:1.12rem;
  color:rgba(255,255,255,.88);
  max-width:60ch;
  margin-inline:auto;
}

/* FIX: display:center era inválido */
.cta{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:22px;
  flex-wrap:wrap;
}
.chips{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:26px;
  color:rgba(255,255,255,.85);
}
.chips span{
  border:1px solid var(--border);
  padding:8px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.22);
}

@keyframes fadeInUp{
  0%{opacity:0; transform:translateY(20px)}
  100%{opacity:1; transform:translateY(0)}
}

/* =========================
   Bloque emocional
   ========================= */
.tm-emotional{
  position:relative;
  width:100%;
  min-height:62vh;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  background:rgba(255,255,255,.01);
}
.tm-emotional__bg{
  position:absolute; inset:0;
  background-image:url("/assets/img/temporalboda.jpg");
  background-size:cover;
  background-position:center 35%;
  transform:scale(1.02);
}
.tm-emotional__overlay{
  position:absolute; inset:0;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,.36) 0%,
    rgba(0,0,0,.28) 35%,
    rgba(0,0,0,.16) 60%,
    rgba(0,0,0,.08) 100%
  );
}
.tm-emotional__content{
  position:relative; z-index:2;
  padding:58px 0;
  text-align:left;
}
.tm-emotional__title{
  margin:0 0 12px 0;
  font-size:clamp(34px, 4.2vw, 64px);
  line-height:1.05;
  letter-spacing:-0.02em;
  color:var(--text);
  text-transform:none;
}
.tm-emotional__text{
  margin:0 0 22px 0;
  max-width:58ch;
  font-size:clamp(16px, 1.25vw, 22px);
  line-height:1.45;
  color:rgba(255,255,255,.90);
}
.tm-emotional__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

/* =========================
   TRUST
   ========================= */
.trust{
  margin-top:30px;
  padding:28px 0;
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
}
.trust__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.trust__item{
  background:rgba(0,66,37,.22);
  border:1px solid rgba(236,189,74,.14);
  border-radius:16px;
  padding:18px;
  backdrop-filter:blur(6px);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.trust__item:hover{
  transform:translateY(-4px);
  border-color:rgba(236,189,74,.35);
  box-shadow:0 18px 40px rgba(0,0,0,.45);
}
.trust__num{
  font-size:1.7rem;
  margin:0;
  font-weight:800;
  color:var(--brand);
}
.trust__txt{
  margin:6px 0 0;
  color:rgba(255,255,255,.78);
  font-size:.95rem;
}

/* =========================
   Video block
   ========================= */
.video{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  background:rgba(0,0,0,.25);
  box-shadow:var(--shadow);
}
.video__poster{width:100%; height:auto}
.video__play{
  position:absolute; inset:auto 16px 16px 16px;
  width:calc(100% - 32px);
  padding:14px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(0,0,0,.55);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}
.video__play:hover{background:rgba(0,0,0,.7)}

/* YouTube ratio */
.video__ratio{
  position:relative;
  width:100%;
  padding-top:56.25%;
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:var(--shadow);
}
.video__ratio iframe{
  position:absolute; inset:0;
  width:100%; height:100%;
}

.video-actions{
  margin-top:14px;
  display:flex;
  justify-content:flex-end;
}

/* =========================
   Cards (formatos)
   ========================= */
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:18px;
}
.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  background:var(--card);
  box-shadow:var(--shadow);
}
.card h3{margin:0 0 4px}
.price{font-size:1.7rem; font-weight:900; margin:10px 0 8px; color:var(--accent)}
.price span{font-size:.95rem; color:rgba(255,255,255,.75); font-weight:700}
.card ul{margin:10px 0 0; padding-left:18px; color:rgba(255,255,255,.85)}
.badge{
  display:inline-block; margin:0 0 8px;
  background:rgba(245,180,0,.14);
  border:1px solid rgba(245,180,0,.35);
  color:var(--accent);
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:.85rem;
}
.card--featured{
  border:1px solid rgba(236,189,74,.45);
  background:linear-gradient(180deg, rgba(236,189,74,.10), rgba(0,0,0,.22));
}

#formatos .card{
  background:rgba(0,66,37,.28);
  border:1px solid rgba(236,189,74,.20);
}
#formatos .card h3{color:var(--brand); letter-spacing:.02em}
#formatos .card .muted{color:rgba(255,255,255,.74)}
#formatos .card strong{color:var(--brand)}

/* Addon */
.addon{
  margin-top:16px;
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:14px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  background:rgba(0,0,0,.18);
}
.addon__price{border-left:1px solid var(--border); padding-left:18px}
.repertoire{margin-top:16px; border:1px dashed var(--border); border-radius:var(--radius); padding:16px}

/* Format thumbs */
.card-img-wrapper{
  height:130px;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  margin:0.5rem 0 1.5rem;
}
.card-img-wrapper img{
  max-height:100%;
  width:auto;
  filter:drop-shadow(0 10px 12px rgba(0,0,0,0.5));
  transition:transform .3s ease, filter .3s ease;
}
.card:hover .card-img-wrapper img{
  transform:scale(1.08) translateY(-4px);
  filter:drop-shadow(0 15px 15px rgba(236,189,74,0.4));
}

/* =========================
   Galería (3 columnas)
   ========================= */
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.gallery a{
  display:block;
  text-decoration:none;
  border-radius:18px;
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease;
}
.gallery a:hover{
  transform:translateY(-2px);
  box-shadow:0 30px 60px rgba(0,0,0,.6);
}
.gallery__item{
  margin:0;
  border-radius:18px;
  overflow:hidden;
  background:#0a0a0a;
  aspect-ratio:16 / 10;
}
.gallery__item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .45s ease;
}
.gallery a:hover img{transform:scale(1.06)}

/* =========================
   Quotes / FAQ
   ========================= */
.quotes{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
blockquote{
  margin:0;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  background:rgba(0,0,0,.18);
}
blockquote p{margin:0 0 10px; color:rgba(255,255,255,.9)}
blockquote footer{color:var(--muted)}

.faq{display:grid; gap:10px}
details{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:rgba(0,0,0,.18);
  padding:12px 14px;
}
summary{cursor:pointer; font-weight:800}
details p{margin:10px 0 0; color:rgba(255,255,255,.85)}

/* =========================
   Contact / footer / cookie
   ========================= */
.contact{
  padding:62px 0;
  background:
    radial-gradient(800px 400px at 20% 10%, rgba(245,180,0,.10), transparent),
    radial-gradient(900px 500px at 80% 40%, rgba(255,255,255,.05), transparent);
  border-top:1px solid var(--border);
}
.contact__grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
  align-items:start;
}
.contact__buttons{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px}
.contact__box{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  background:rgba(0,0,0,.22);
}
.downloads,.social{margin:10px 0 0; padding-left:18px}
.downloads li,.social li{margin:6px 0}
.social a{display:inline-flex; align-items:center; gap:8px}
.social .icon{width:14px; height:14px; fill:var(--brand); flex:0 0 auto}

.footer{
  border-top:1px solid var(--border);
  padding:22px 0;
  background:rgba(255,255,255,.01);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  color:var(--muted);
}
.footer__links{display:flex; gap:14px; align-items:center}
.footer .icon{width:14px; height:14px; fill:var(--brand)}

.cookie{
  position:fixed; left:0; right:0; bottom:0;
  padding:12px;
  z-index:999;
}
.cookie__inner{
  max-width:var(--max);
  margin:0 auto;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:rgba(0,0,0,.82);
  backdrop-filter:blur(10px);
  padding:14px;
  box-shadow:var(--shadow);
}
.cookie__actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}

/* =========================
   Awards
   ========================= */
.section--mini{padding:54px 0}
.section__head--mini h2{font-size:1.35rem; margin-bottom:.25rem}
.awards{
  list-style:none;
  padding:0; margin:18px 0 0;
  display:grid; gap:10px;
}
.awards li{
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
  padding:14px 16px;
  border-radius:16px;
}
.awards li strong{color:var(--brand)}
.awards a{
  color:var(--brand);
  text-decoration:underline;
  font-size:.85rem;
  margin-left:5px;
  opacity:.85;
}
.awards a:hover{opacity:1}

/* Icons */
.icon{
  display:inline-block;
  vertical-align:-3px;
  margin-right:10px;
}
.icon--trophy{width:18px; height:18px; fill:var(--brand); filter:drop-shadow(0 6px 14px rgba(236,189,74,.25))}

/* =========================
   Lightbox
   ========================= */
.lightbox{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.78);
  z-index:9999;
  padding:22px;
  cursor:zoom-out;
}
.lightbox.is-open{display:flex}
.lightbox__inner{max-width:min(1100px, 95vw); max-height:90vh}
.lightbox__img{
  max-width:100%;
  max-height:90vh;
  border-radius:18px;
  box-shadow:0 20px 80px rgba(0,0,0,.6);
  cursor:default;
}
.lightbox__close{
  position:fixed;
  top:14px; right:16px;
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(0,0,0,.5);
  color:var(--brand);
  font-size:28px;
  line-height:40px;
  cursor:pointer;
}

/* =========================
   Floating WhatsApp + ToTop
   ========================= */
.wa-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(0,66,37,.92);
  color:var(--white);
  text-decoration:none;
  box-shadow:0 12px 28px rgba(0,0,0,.45);
  border:2px solid rgba(255,255,255,.12);
  z-index:999;
  transition:transform .2s ease, filter .2s ease;
}
.wa-float:hover{transform:translateY(-1px); filter:brightness(1.05)}
.wa-float svg{width:26px; height:26px; display:block}

#toTop{
  position:fixed;
  right:18px;
  bottom:80px;
  width:54px;
  height:54px;
  border-radius:999px;
  border:2px solid rgba(255,255,255,0.5);
  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(8px);
  color:var(--brand);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:50;

  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease, background-color .2s ease;
}
#toTop.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
#toTop:hover{background:rgba(0,66,37,.55); border-color:rgba(236,189,74,.25)}

/* =========================
   Responsive
   ========================= */
@media (max-width: 920px){
  .cards{grid-template-columns:1fr}
  .quotes{grid-template-columns:1fr}
  .addon{grid-template-columns:1fr}
  .addon__price{
    border-left:none; padding-left:0;
    border-top:1px solid var(--border);
    padding-top:12px;
  }
  .trust__grid{grid-template-columns:1fr}

  .nav__toggle{display:inline-flex}
  .nav__menu{
    position:absolute; right:18px; top:56px;
    flex-direction:column; align-items:stretch;
    background:rgba(0,0,0,.9);
    border:1px solid var(--border);
    border-radius:16px;
    padding:12px;
    min-width:210px;
    display:none;
  }
  .nav__menu.is-open{display:flex}

  .gallery{grid-template-columns:repeat(2,1fr)}
}

@media (max-width: 720px){
  .hero{min-height:70vh; padding-top:60px}
  .hero__logo img{max-width:320px; width:85vw}
  .tm-emotional{min-height:52vh}
  .tm-emotional__content{padding:42px 0}
}

@media (max-width: 640px){
  .gallery{grid-template-columns:1fr}
}

@media (max-width: 520px){
  .tm-emotional__bg{
    background-image:url("/assets/img/temporalboda2.jpg");
    background-position:center;
  }
}

/* =========================
   TESTIMONIOS (frames + hover)
   ========================= */

.testi-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
}

.testi-item{
  position:relative;
  display:block;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:14px;
  background:#111;
  border:1px solid rgba(255,255,255,.10);
}

.testi-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s ease;
}

/* Overlay */
.testi-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:opacity .3s ease;
}

.testi-icon{
  font-size:28px;
  color:var(--brand);
  transform:scale(.85);
  transition:transform .3s ease;
}

/* Hover */
.testi-item:hover img{ transform:scale(1.06); }
.testi-item:hover .testi-overlay{ opacity:1; }
.testi-item:hover .testi-icon{ transform:scale(1); }

@media (max-width: 900px){
  .testi-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 500px){
  .testi-grid{ grid-template-columns:1fr; }
}


.sound-block {
  background: rgba(0,66,37,0.25);
  border: 1px solid rgba(236,189,74,0.2);
  padding: 24px;
  border-radius: 16px;
  color: #fff;
}

.sound-block h2 {
  color: #ecbd4a;
  margin-bottom: 10px;
}

.badge {
  background: rgba(0,66,37,0.6);
  color: #ecbd4a;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.lead {
  opacity: 0.9;
  margin-bottom: 12px;
}

.sound-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.note {
  font-size: 0.9rem;
  opacity: 0.75;
}
  
/* --- ADAPTACIÓN A MÓVIL DEL BLOQUE DE CONTACTO --- */
@media (max-width: 768px) {
  .contact__grid {
    display: grid;
    grid-template-columns: 1fr !important; /* Fuerza 1 sola columna */
    gap: 3rem; /* Espacio entre el bloque de botones y la caja gris */
  }
  
  /* Opcional: Centrar el texto en móvil para que quede más limpio */
  .contact__grid > div {
    text-align: center;
  }
  
  .contact__buttons {
    justify-content: center;
  }
}

/* =========================
   COOKIE BANNER + MODAL (PRO)
   ========================= */

/* Banner fijo abajo */
.cookie-banner{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:1000;
  padding:12px;
}

.cookie-banner[hidden]{ display:none !important; }

.cookie-banner__inner{
  max-width:var(--max);
  margin:0 auto;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:rgba(0,0,0,.86);
  backdrop-filter:blur(10px);
  box-shadow:var(--shadow);
  padding:14px 14px;
  display:grid;
  grid-template-columns: 1fr auto;
  gap:14px;
  align-items:center;
}

.cookie-banner__text{
  margin:0;
  color:rgba(255,255,255,.88);
  line-height:1.35;
}

.cookie-banner__text strong{ color: var(--brand); }

.cookie-banner__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* Ajuste botones del banner */
.cookie-banner .btn--ghost{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.18);
}
.cookie-banner .btn--ghost:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.26);
}

/* Modal overlay */
.cookie-modal{
  position:fixed;
  inset:0;
  z-index:1100;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(0,0,0,.68);
  backdrop-filter: blur(6px);
}

.cookie-modal[hidden]{ display:none !important; }

.cookie-modal__panel{
  width:min(640px, 100%);
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  background:rgba(10,10,10,.92);
  box-shadow:0 28px 90px rgba(0,0,0,.65);
  overflow:hidden;
}

.cookie-modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(236,189,74,.10), rgba(0,0,0,0));
}

.cookie-modal__title{
  margin:0;
  font-size:1.05rem;
  letter-spacing:.02em;
  color:var(--text);
}

.cookie-modal__close{
  width:40px; height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.45);
  color:var(--brand);
  font-size:24px;
  cursor:pointer;
}
.cookie-modal__close:hover{ filter:brightness(1.08); }

.cookie-modal__body{
  padding:14px 16px 6px;
}

.cookie-row{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:12px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.cookie-row:last-of-type{ border-bottom:0; }

.cookie-row__title{
  margin:0;
  font-weight:800;
  color:rgba(255,255,255,.92);
}
.cookie-row__desc{
  margin:4px 0 0;
  color:rgba(255,255,255,.68);
  font-size:.92rem;
  line-height:1.35;
}

/* Pill */
.cookie-pill{
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:.85rem;
  border:1px solid rgba(255,255,255,.14);
}
.cookie-pill--on{
  background:rgba(0,66,37,.35);
  border-color:rgba(236,189,74,.18);
  color:var(--brand);
}

/* Switch */
.cookie-switch{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.cookie-switch input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.cookie-switch__ui{
  width:54px;
  height:30px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  position:relative;
  transition: background .2s ease, border-color .2s ease;
}
.cookie-switch__ui::after{
  content:"";
  width:24px;
  height:24px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  position:absolute;
  top:50%;
  left:3px;
  transform:translateY(-50%);
  transition: transform .2s ease, background .2s ease;
  box-shadow:0 10px 24px rgba(0,0,0,.4);
}

/* ON state */
.cookie-switch input:checked + .cookie-switch__ui{
  background:rgba(0,66,37,.55);
  border-color:rgba(236,189,74,.22);
}
.cookie-switch input:checked + .cookie-switch__ui::after{
  transform:translate(24px, -50%);
  background: var(--brand);
}

/* Focus visible */
.cookie-modal button:focus-visible,
.cookie-banner button:focus-visible,
.cookie-switch input:focus-visible + .cookie-switch__ui{
  outline: 2px solid rgba(236,189,74,.7);
  outline-offset: 2px;
}

.cookie-modal__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
  padding:12px 16px 16px;
  border-top:1px solid rgba(255,255,255,.10);
}

/* Responsive banner */
@media (max-width: 720px){
  .cookie-banner__inner{
    grid-template-columns: 1fr;
  }
  .cookie-banner__actions{
    justify-content:flex-start;
  }
}

.btn--yt{
  padding:8px 14px;
  font-size:.85rem;
  opacity:.75;
  border-radius:999px;
}

.btn--yt:hover{
  opacity:1;
}