: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);
  --shadow:0 10px 30px rgba(0,0,0,.45);
  --accent:#004225;      /* Verde marca */
  --brand:#ecbd4a;       /* Amarillo marca */
  --white:#ffffff;
  --radius:20px;
  --radius-sm:14px;
  --max:1100px;          /* boxed */
}

/* Importar la fuente 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; /* Esto ayuda al SEO y a que la web cargue más rápido */
}
h2 {
  font-family: '28DaysLater', Impact, sans-serif; /* Impact de respaldo por si falla */
  font-size: 2.8rem; /* Al ser una fuente "rota", suele necesitar un buen tamaño para leerse bien */
  font-weight: normal; /* La 28 days no necesita negrita extra */
  text-transform: uppercase;
  letter-spacing: 2px; /* Un poco de aire entre las letras le queda genial a esta fuente */
  color: var(--text); /* O el color que prefieras para los títulos */
}

*{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}
.container{
  width:min(100%, var(--max));
  margin-inline:auto;
  padding-inline:24px;
}
.small{font-size:.92rem}
.muted{color:var(--muted)}
.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}

.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}

/* Tu botón actual (solo le añadimos la línea de transition al final) */
.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);
  /* Añade esta línea para que el efecto sea fluido */
  transition: all 0.2s ease-in-out; 
}

/* Efecto al pasar el ratón (Hover) - Botón principal */
.btn:hover {
  transform: translateY(-3px); /* El botón "flota" un poco hacia arriba */
  /* La sombra se hace más grande y un poco más opaca para dar volumen */
  box-shadow: 0 15px 35px rgba(236, 189, 74, 0.4); 
  border-color: rgba(0,0,0, 0.4); /* El borde se oscurece ligeramente */
}

/* Efecto al hacer clic (Active) - Botón principal */
.btn:active {
  transform: translateY(2px); /* Se hunde físicamente al pulsar */
  box-shadow: 0 5px 15px rgba(236, 189, 74, 0.2); /* La sombra se reduce al acercarse al fondo */
}

/* --- TUS OTROS BOTONES --- */

.btn--ghost {
  /* Fondo amarillo con un 15% de opacidad (0.15) para esa "pequeña capa" */
  background: rgba(236, 189, 74, 0.5);
  
  color: var(--text); /* Mantiene el color de texto que tenías */
  border: 1px solid var(--border); /* Mantiene el borde sutil que tenías */
  box-shadow: none;
  /* Aseguramos que tenga la transición suave como el botón principal */
  transition: all 0.2s ease-in-out;
}

/* Efecto Hover: Intensificamos el amarillo al pasar el ratón */
.btn--ghost:hover {
  background: rgba(236, 189, 74, 0.6); /* Sube la opacidad al 35% */
  border-color: var(--accent); /* Opcional: el borde se pone del amarillo fuerte */
  transform: translateY(-3px); /* Flota igual que el principal */
}

/* Efecto Active: Más intenso al hacer clic */
.btn--ghost:active {
  transform: translateY(2px);
  background: rgba(236, 189, 74, 0.5); /* Sube la opacidad al 50% al pulsar */
  border-color: var(--accent);
}

.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)}

.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  flex-direction: column; /* Añadido: para que el logo y el contenido se apilen */
  align-items: center;
  justify-content: center; /* Centra verticalmente */
  overflow: hidden;
  padding-top: 100px; /* Espacio para que el logo no pegue arriba */
}
.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;
  /* capa oscura + verde sutil */
  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;
  /* patrón muy sutil para disimular escalado */
  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__content{position:relative; padding:62px 0}
.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}
.cta{display:flex; gap:12px; margin-top:22px; flex-wrap:wrap}
.chips{display:flex; 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)}

.trust{border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:rgba(255,255,255,.02)}
.trust__grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; padding:22px 0}
.trust__item{border:1px solid var(--border); border-radius:var(--radius); padding:16px 16px; background:rgba(0,0,0,.18)}
.trust__num{font-size:1.8rem; margin:0; font-weight:800; color:var(--brand)}
.trust__txt{margin:4px 0 0; color:rgba(255,255,255,.82)}

.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}
.section__head h2{margin:0 0 6px; font-size:1.9rem}
.section__head p{margin:0; color:var(--muted)}

.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)}

.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)}
.card--featured{outline:2px solid rgba(245,180,0,.35)}
.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;
}

.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}

.gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.gallery__item{
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background:#000;
}
.gallery__item img{width:100%; height:100%; object-fit:cover; aspect-ratio: 4/3}

.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{
  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}

.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}

.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 14px;
  box-shadow:var(--shadow);
}
.cookie__actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}

@media (max-width: 920px){
  .cards{grid-template-columns:1fr}
  .quotes{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,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}
}


/* --- Brand overrides (Temporal) --- */
body{
  margin:0;
  font-family:"Montserrat",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,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);
}

/* 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; }

/* Testimonials frames */
.testi-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
  gap:12px;
  align-items:stretch;
}
.testi-frame{
  background:var(--card2);
  border:1px solid var(--stroke);
  border-radius:var(--radius-sm);
  aspect-ratio:1/1;
  min-height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}
.testi-frame span{
  font-weight: 700;
  color: rgba(255,255,255,.85);
}
@media (max-width: 900px){
  .testi-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
  gap:12px;
  align-items:stretch;
}
}
@media (max-width: 520px){
  .testi-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
  gap:12px;
  align-items:stretch;
}
}

/* Responsive YouTube embed */
.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%;
}

/* Featured card */
.card--featured{
  border: 1px solid rgba(236,189,74,.45);
  background: linear-gradient(180deg, rgba(236,189,74,.10), rgba(0,0,0,.22));
}

/* Floating WhatsApp button */
.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:1px solid rgba(255,255,255,.12);
  z-index:999;
}
.wa-float:hover{ transform: translateY(-1px); }
.wa-float:active{ transform: translateY(0px); }
.wa-float svg{ width:26px; height:26px; display:block; }
.wa-float:hover{ transform: translateY(-1px); }
.wa-float__icon{
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(236,189,74,.18);
  border: 1px solid rgba(236,189,74,.35);
  font-size: 18px;
}
.wa-float__text{ font-weight: 800; letter-spacing: .2px; }
@media (max-width: 520px){
  .wa-float__text{ display: none; }
  .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:1px solid rgba(255,255,255,.12);
  z-index:999;
}
.wa-float:hover{ transform: translateY(-1px); }
.wa-float:active{ transform: translateY(0px); }
.wa-float svg{ width:26px; height:26px; display:block; }
}

.wa-float__text{ display:none !important; }

.btn:hover{filter:brightness(1.05)}


/* Formatos: más llamativos */
#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); }
#formatos .card .list li::marker{ color: rgba(236,189,74,.75); }

#formatos .card--featured{
  background: rgba(0,66,37,.36);
  border: 1px solid rgba(236,189,74,.42);
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
}


.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));
}
.awards li{
  display:flex;
  gap:0;
  align-items:flex-start;
}
.awards li strong{ color: var(--brand); }

.format-card{background:rgba(0,66,37,.28); border:1px solid rgba(0,66,37,.7); padding:18px; border-radius:18px; box-shadow:0 12px 40px rgba(0,0,0,.35)}

.format-meta{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.format-meta span{display:inline-flex; gap:6px; align-items:baseline; padding:8px 10px; border-radius:999px; background:rgba(0,66,37,.75); border:1px solid rgba(236,189,74,.35); color:var(--brand); font-size:.92rem}
.format-meta strong{color:var(--brand)}

.icon--trophy{color:var(--brand)}
.icon--trophy path{fill:currentColor}

.lightbox{position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,.78); z-index:9999; padding:22px}
.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)}
.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}

/* ... dentro de tu bloque de Hero ... */

/* --- HERO UNIFICADO Y CORREGIDO --- */
.hero {
  position: relative;
  min-height: 85vh; /* Un poco más alto para que respire */
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 80px 24px 40px;
  z-index: 1; /* Crea un contexto de apilado */
}

.hero__logo {
  position: relative; /* Cambiado a relative para que empuje al texto y no lo pise */
  z-index: 10; /* Asegura que esté por encima de la capa oscura */
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero__logo img {
  width: 90%; 
  max-width: 500px; /* Tamaño máximo en PC */
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6));
  display: block;
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

/* --- AJUSTE ESPECÍFICO PARA MÓVIL --- */
@media (max-width: 720px) {
  .hero {
    min-height: 70vh;
    padding-top: 60px;
  }

  .hero__logo img {
    max-width: 320px; /* Tamaño mucho más visible en móvil */
    width: 85vw;      /* Ocupa el 85% del ancho de la pantalla */
  }

  .hero h1 {
    font-size: 1.8rem;
    margin-top: 10px;
  }
}


.trust__item{background:rgba(0,66,37,.35);border:1px solid rgba(236,189,74,.18);border-radius:14px;padding:14px 16px;}
.trust__item strong{color:var(--brand);}

/* Cleaner format meta (duración/sonido) */
.format-meta{gap:10px;}
.format-meta span{background:transparent;border:0;padding:0;color:rgba(255,255,255,.72);font-size:12px;}
.format-meta span strong{color:var(--brand);font-weight:800;}

/*.to-top{position:fixed;right:16px;bottom:16px;width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.55);backdrop-filter:blur(8px);color:var(--brand);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transform:translateY(10px);transition:opacity .2s ease,transform .2s ease;z-index:50;}
.to-top.is-visible{opacity:1;transform:translateY(0);}
.to-top:hover{background:rgba(0,66,37,.55);border-color:rgba(236,189,74,.25)}
*/
.btn--green, .btn--whatsapp{color:var(--brand)!important;}

.no-scroll{overflow:hidden}


/* Social icons */
.social a{display:inline-flex;align-items:center;gap:8px}
.social .icon{width:14px;height:14px;fill:var(--brand);flex:0 0 auto}

.footer .icon{width:14px;height:14px;fill:var(--brand)}

@media (max-width: 720px){
  /* Evita que el logo del hero pise el claim en móvil */
  .hero__content{padding-top:132px}
  .hero__logo{top:86px; width:min(150px, 44vw); opacity:.62}
}

/* Back to top */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 80px; /* Subido un poco para que no tape el icono de WhatsApp */
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: var(--brand);
  display: none; /* JS lo pondrá en 'flex' al hacer scroll */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  transition: all .2s ease;
}

.to-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.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;
}

.testi-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Overlay */
.testi-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testi-icon {
  font-size: 28px;
  color: #ecbd4a;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

/* Hover */
.testi-item:hover img {
  transform: scale(1.05);
}

.testi-item:hover .testi-overlay {
  opacity: 1;
}

.testi-item:hover .testi-icon {
  transform: scale(1);
}

/* Responsive */
@media (max-width: 900px) {
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

#toTop {
    display: none; /* Se activa con el JS */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    cursor: pointer;
}

.testi-item {
    cursor: zoom-in;
}
.lightbox {
    cursor: zoom-out; /* Para cerrar al hacer clic fuera */
}
.lightbox__img {
    cursor: default; /* Evita confusión al clicar la foto misma */
}

.gallery a {
    display: block;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery a:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.gallery__item {
    margin: 0; /* Elimina margenes por defecto de figure */
}

.awards a {
    color: var(--brand);
    text-decoration: underline;
    font-size: 0.85rem;
    margin-left: 5px;
    opacity: 0.8;
}
.awards a:hover {
    opacity: 1;
}

.hero__title-img {
  width: 100%;
  max-width: 800px; /* Evita que en monitores gigantes se desmadre */
  height: auto;
  max-height: 45vh; /* La magia: nunca ocupará más del 45% del alto de la pantalla */
  object-fit: contain; /* Mantiene las proporciones sin deformar */
  margin: 0 auto 20px auto; /* Lo centra y deja un margen por debajo */
  display: block;
}

/* 1. La animación segura con porcentajes */
@keyframes fadeInUp {
  0% { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* 2. Aplicamos al logo */
.hero__logo {
  animation: fadeInUp 0.8s ease-out both; 
}

/* 3. Aplicamos al contenido con retardo */
.hero__title-img {
  animation: fadeInUp 0.8s ease-out 0.4s both; 
}

/* --- ESTILOS PARA LAS MINIATURAS DE LOS FORMATOS --- */
.card-img-wrapper {
  height: 130px; /* Altura fija para que los textos empiecen en la misma línea */
  display: flex;
  align-items: left;
  justify-content: left;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.card-img-wrapper img {
  max-height: 100%;
  width: auto;
  /* Sombra oscura sobre el PNG transparente para dar volumen */
  filter: drop-shadow(0 10px 12px rgba(0,0,0,0.5)); 
  transition: transform 0.3s ease-in-out, filter 0.3s ease;
}

/* Al pasar el ratón por toda la tarjeta, la imagen "flota" */
.card:hover .card-img-wrapper img {
  transform: scale(1.08) translateY(-4px); /* Crece un 8% y sube un poco */
  filter: drop-shadow(0 15px 15px rgba(236,189,74,0.4)); /* La sombra pilla un tono amarillo */
}