/* ======================================================
   VARIABLES Y RESETEO
====================================================== */

:root {
  --negro: #0b0b0d;
  --gris-900: #121215;
  --gris-700: #1b1b20;
  --rojo: #e0102b;
  --rojo-oscuro: #b40d22;
  --rojo-neon: #ff2d55;
  --blanco: #f4f6f8;
  --borde: #26262b;

  --fuente-principal: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fuente-pixel: "Press Start 2P", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: var(--negro);
  color: var(--blanco);
  font-family: var(--fuente-principal);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}


/* ======================================================
   BOTONES Y ELEMENTOS GLOBALES
====================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--borde);
  background: linear-gradient(180deg, #1a1a1f, #121217);
  color: var(--blanco);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 16, 43, 0.25);
}

.btn--primary {
  background: linear-gradient(180deg, var(--rojo), var(--rojo-oscuro));
  border-color: #000;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--borde);
  border-radius: 999px;
  font-size: 0.75rem;
  opacity: 0.9;
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--borde);
}

.section-title {
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  font-weight: 800;
}

.section-sub {
  opacity: 0.8;
  margin-bottom: 28px;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.shadow-s {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(180deg, var(--rojo-neon), var(--rojo));
  box-shadow: 0 0 18px rgba(255, 45, 85, 0.4);
  transform: translateY(-2px);
}

/* ======================================================
   NAVBAR
====================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
}

/* -------- CONTENEDOR PRINCIPAL -------- */
.navbar__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* -------- LOGO -------- */
.brand__img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand__img:hover {
  transform: scale(1.05);
}

/* -------- MENÚ DE NAVEGACIÓN -------- */
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav a {
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.nav a:hover {
  background: #17171b;
}

/* -------- BOTÓN DE CONTACTO -------- */
.nav__cta {
  margin-left: 6px;
}

.nav__cta.btn--primary:hover {
  background: linear-gradient(180deg, var(--rojo-neon), var(--rojo));
  box-shadow: 0 0 18px rgba(255, 45, 85, 0.4);
  transform: translateY(-2px);
}

/* ======================================================
   BOTÓN HAMBURGUESA
====================================================== */

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 9999;
}

.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--blanco); /* Cambia a var(--rojo-neon) si prefieres rojas */
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger:hover span {
  background: var(--rojo-neon);
  box-shadow: 0 0 8px rgba(255, 45, 85, 0.4);
}

/* ======================================================
   ANIMACIÓN HAMBURGUESA → X
====================================================== */

.burger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ======================================================
   NAVBAR (MÓVIL)
====================================================== */

@media (max-width: 920px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0e0e12;
    border-bottom: 1px solid var(--borde);
    padding: 16px;
    display: grid;
    gap: 12px;
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  .nav.open {
    transform: translateY(0);
  }

  .burger {
    display: flex;
  }

  .brand__img {
    height: 34px;
  }
}



/* ======================================================
   AJUSTE DE LOGO EN NAVBAR
====================================================== */
.brand__img {
  height: 50px;          /* 🔸 Tamaño ideal y equilibrado */
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand__img:hover {
  transform: scale(1.05);  /* Pequeña animación al pasar el mouse */
}

/* Versión móvil (por si en pantallas pequeñas hay que reducir más) */
@media (max-width: 600px) {
  .brand__img {
    height: 34px;
  }
}


/* ======================================================
   HERO NOSOTROS
====================================================== */
.about-hero {
  position: relative;
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 50% 30%, rgba(255, 45, 85, 0.15), transparent 60%),
    linear-gradient(180deg, #0b0b0d 20%, #0f0f14 80%, #0b0b0d 100%);
  z-index: 0;
}

.about-hero__title {
  font-family: var(--fuente-pixel);
  color: var(--rojo-neon);
  font-size: clamp(22px, 2.6vw, 40px); /* 🔸 Aumentado ligeramente */
  line-height: 1.25;
  max-width: 1100px;
  width: 92%;
  margin: 0 auto 20px;
  text-align: center;
  text-shadow: 0 0 16px rgba(255, 45, 85, 0.45);
}



.about-hero__sub {
  opacity: 0.85;
  font-size: 1.1rem;
  max-width: 700px;
  margin-inline: auto;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  color: var(--blanco);
  max-width: 1200px; /* 🔸 antes 850px */
  width: 92%; /* 🔸 permite usar casi todo el ancho visible */
  margin: 0 auto;
  padding: 100px 20px;
  text-align: center;
}

/* ---------- HERO: ajuste específico para móviles ---------- */
@media (max-width: 720px) {
  .about-hero__title {
    font-size: clamp(22px, 5vw, 48px); /* 🔸 más grande en móvil */
    line-height: 1.3;
  }
}


/* ======================================================
   QUIÉNES SOMOS
====================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about__text h2 {
  font-family: var(--fuente-pixel);
  color: var(--rojo-neon);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.about__text p {
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 16px;
}

.about__image img {
  width: 100%;
  border-radius: 14px;
  opacity: 0.9;
}

/* ----------------------
   RESPONSIVO
---------------------- */
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about__image {
    order: -1;
  }
}

/* ======================================================
   MISIÓN / VISIÓN / VALORES
====================================================== */
.mv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mv-card {
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.mv-card i {
  font-size: 1.8rem;
  color: var(--rojo-neon);
  margin-bottom: 10px;
}

.mv-card h3 {
  font-weight: 700;
  margin-bottom: 10px;
}

.mv-card p, .mv-card ul {
  opacity: 0.85;
  font-size: 0.95rem;
}

.mv-card ul {
  list-style: none;
  display: grid;
  gap: 6px;
  padding: 0;
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(255,45,85,0.15);
}

/* ----------------------
   RESPONSIVO
---------------------- */
@media (max-width: 900px) {
  .mv__grid {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   BENEFICIOS
====================================================== */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.benefit {
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit i {
  font-size: 1.6rem;
  color: var(--rojo-neon);
  margin-bottom: 8px;
}

.benefit h4 {
  font-weight: 700;
  margin-bottom: 6px;
}

.benefit p {
  opacity: 0.85;
  font-size: 0.95rem;
}

.benefit:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(255,45,85,0.15);
}

/* ----------------------
   RESPONSIVO
---------------------- */
@media (max-width: 1024px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .benefits__grid {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   CTA FINAL
====================================================== */
.cta-about {
  text-align: center;
  padding-bottom: 0px; /* 🔸 Antes 80px, ahora más compacto */
}

.cta-about__box {
  padding: 50px 28px; /* 🔸 Menos alto */
  border-radius: 20px;
  margin-bottom: 0; /* 🔸 Quita espacio extra inferior */
}


.cta-about__box h2 {
  font-family: var(--fuente-pixel);
  color: var(--rojo-neon);
  margin-bottom: 12px;
  font-size: clamp(24px, 3.5vw, 40px);
}

.cta-about__box p {
  opacity: 0.9;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.3rem;
  border-radius: 12px;
  border: 1px solid var(--borde);
  background: linear-gradient(180deg, var(--rojo), var(--rojo-700));
  color: var(--blanco);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background: linear-gradient(180deg, var(--rojo-neon), var(--rojo));
  box-shadow: 0 0 20px rgba(255,45,85,0.3);
  transform: scale(1.05);
}




/* ======================================================
   FOOTER - CLEAN SPY STYLE
====================================================== */

.footer {
  margin-top: 100px;
  padding: 60px 0 30px;
  background: linear-gradient(180deg, #0a0a0d 0%, #050506 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--blanco);
  font-size: 0.95rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.footer__col h4 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--rojo-neon);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Logo y contacto ---------- */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__logo {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 45, 85, 0.15));
}

.footer__brand p {
  opacity: 0.85;
  line-height: 1.6;
}

.footer__brand a {
  color: var(--rojo-neon);
  transition: opacity 0.3s;
}

.footer__brand a:hover {
  opacity: 0.9;
}

/* ---------- Redes sociales ---------- */
.socials {
  display: flex;
  gap: 14px;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.icon.tiktok:hover {
  background: rgba(255, 45, 85, 0.2);
  border-color: var(--rojo-neon);
  box-shadow: 0 0 15px rgba(255, 45, 85, 0.3);
  transform: translateY(-2px);
  color: var(--rojo-neon);
}

/* ---------- Enlaces ---------- */
.footer__links {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer__links a {
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer__links a:hover {
  color: var(--rojo-neon);
  opacity: 1;
}

/* ---------- Línea inferior ---------- */
.footer__bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 18px;
  margin-top: 40px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.copy strong {
  color: var(--rojo-neon);
}

.credit {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  opacity: 0.65;
}

.credit a {
  color: var(--rojo-neon);
  text-decoration: none;
}

.credit a:hover {
  opacity: 1;
}

/* ----------------------
   FOOTER (MÓVIL)
---------------------- */
@media (max-width: 820px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer__logo {
    margin: 0 auto;
  }

  .socials {
    justify-content: center;
  }

  .footer__bottom {
    margin-top: 20px;
  }
}

/* ======================================================
   EFECTO NEÓN EN "CREADO POR SITELEGE"
====================================================== */

.credit a {
  color: var(--rojo-neon);
  position: relative;
  transition: all 0.3s ease;
}

.credit a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--rojo-neon), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  opacity: 0.8;
}

.credit a:hover {
  color: var(--rojo);
  text-shadow: 0 0 8px rgba(255, 45, 85, 0.6);
}

.credit a:hover::after {
  transform: scaleX(1);
}

/* ======================================================
   BOTÓN DE CONTACTO EN NAVBAR (EXCLUSIVO)
====================================================== */
.contacto_nav {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(90deg, var(--rojo-neon), var(--rojo));
  color: var(--blanco);
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow: 0 0 16px rgba(255, 45, 85, 0.25);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 45, 85, 0.4);
}

.contacto_nav:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, var(--rojo-neon), var(--rojo-700));
  box-shadow: 0 0 28px rgba(255, 45, 85, 0.45);
}

.contacto_nav:active {
  transform: scale(0.97);
  box-shadow: 0 0 12px rgba(255, 45, 85, 0.3);
}

/* ======================================================
   ICONO DE CARRITO PEGADO AL BOTÓN HAMBURGUESA (solo móvil)
====================================================== */
.cart-icon {
  display: none;
}

@media (max-width: 960px) {
  .navbar__wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Muestra solo en móvil */
  .cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ff2d55; /* rojo */
    text-decoration: none;
    position: absolute;
    right: 52px; /* 🔧 ajusta según el tamaño del botón hamburguesa */
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 50;
  }

  .cart-icon:hover {
    transform: translateY(-50%) scale(1.15);
    color: #ff456b;
  }

  /* Asegura que el botón hamburguesa esté visible encima */
  .burger {
    position: relative;
    z-index: 60;
  }
}
