:root {
  --bg: #050816;
  --bg2: #0B1023;
  --blue: #00AFFF;
  --blue2: #0066FF;
  --text: #FFFFFF;
  --gray: #A9B1C7;
  --card: rgba(255, 255, 255, 0.05);
  --border: rgba(0, 175, 255, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* SCROLL */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #050816;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue), var(--blue2));
  border-radius: 20px;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-gif {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  animation: fadeOutGif 1.5s ease forwards;
  animation-delay: 2s;
}

@keyframes fadeOutGif {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(5, 8, 22, 0.95));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transform: translateY(40px);
  animation: showText 1s ease forwards;
  animation-delay: 2s;
}

@keyframes showText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  background: linear-gradient(to right, #fff, var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.hero p {
  max-width: 900px;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: #E3E9FF;
  line-height: 1.7;
  margin-bottom: 35px;
}

.cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 16px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: .3s;
  border: 1px solid var(--border);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: white;
  box-shadow: 0 0 25px rgba(0, 175, 255, .35);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 35px rgba(0, 175, 255, .55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  backdrop-filter: blur(10px);
}

/* SECCIONES */
section {
  padding: 100px 8%;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 70%;
  height: 4px;
  background: linear-gradient(to right, var(--blue), transparent);
  border-radius: 50px;
}

/* REDES */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.social-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: .4s;
  text-decoration: none;
  color: white;
  backdrop-filter: blur(12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.social-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow: 0 0 25px rgba(0, 175, 255, .2);
}

.social-card iframe {
  width: 100%;
  height: 320px;
  border: none;
  background: #000;
}

.social-bottom {
  padding: 25px;
}

.social-bottom h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  color: white;
  transition: .3s;
}

.custom-social-image {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B1023;
  overflow: hidden;
}

.custom-social-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.google-header-sim {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 180px;
  background: #000;
}

.gh-img {
  background: url('../img/brand/tiktok_preview.webp') center/cover;
}

.gh-map {
  background: #1a1d2e;
  overflow: hidden;
}

.gh-map iframe {
  width: 100%;
  height: 100%;
  filter: invert(90%) hue-rotate(180deg) brightness(1.2);
  border: 0;
}

.google-content-sim {
  padding: 20px;
}

.google-content-sim h3 {
  font-size: 1.8rem;
  margin: 0;
}

.google-content-sim .cat {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: block;
}

.google-details {
  font-size: 0.95rem;
  line-height: 1.6;
}

.status-ok {
  color: #4ade80;
  font-weight: 600;
}

.instagram-btn {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.tiktok-btn {
  background: #000;
  border: 1px solid #25F4EE;
}

.soundcloud-btn {
  background: linear-gradient(45deg, #FF5500, #FF8800);
}

.google-btn {
  background: linear-gradient(45deg, #4285F4, #34A853, #FBBC05, #EA4335);
}
#redes {
  position: relative !important; 
  overflow: hidden !important;   
  width: 100%;
  padding: 100px 8%;           
}

.redes-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.redes-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.85), rgba(5, 8, 22, 0.95));
  z-index: 2;
}

.social-content {
  position: relative;
  z-index: 3;
}
.social-content {
  position: relative;
  z-index: 3; /* Por encima de todo */
}
/* EQUIPO */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.gear-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: .4s;
  backdrop-filter: blur(10px);
}

.gear-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(0, 175, 255, .2);
}

.gear-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: white;
}

.gear-info {
  padding: 25px;
}

.gear-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.gear-info p {
  color: var(--gray);
  line-height: 1.6;
}

/* CONTACTO */
.contact {
  text-align: center;
}

.contact-subtitle {
  color: #A9B1C7;
  margin-bottom: 50px;
  font-size: 1.15rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  border-radius: 24px;
  text-decoration: none;
  color: white;
  overflow: hidden;
  transition: .4s ease;
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.contact-card:hover {
  transform: translateY(-8px);
}

.contact-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 2rem;
  background: rgba(255, 255, 255, .08);
}

.contact-info h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.contact-label {
  display: block;
  font-size: .95rem;
  opacity: .8;
  margin-bottom: 8px;
}

.phone-card {
  background: linear-gradient(135deg, rgba(0, 174, 255, .18), rgba(0, 102, 255, .08));
  border-color: rgba(0, 174, 255, .25);
}

.whatsapp-card {
  background: linear-gradient(135deg, rgba(37, 211, 102, .18), rgba(37, 211, 102, .06));
  border-color: rgba(37, 211, 102, .25);
}

.instagram-contact-card {
  background: linear-gradient(135deg, rgba(221, 42, 123, .18), rgba(129, 52, 175, .08));
  border-color: rgba(221, 42, 123, .25);
}

.mail-card {
  background: linear-gradient(135deg, rgba(255, 170, 0, .18), rgba(255, 120, 0, .08));
  border-color: rgba(255, 170, 0, .25);
}

/* PACK */
.social-message-box {
  margin: 25px 0 45px 0;
  /* Espacio extra añadido abajo antes del botón */
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  50% {
    box-shadow: 0 10px 40px rgba(0, 175, 255, 0.15);
  }

  100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}

.pack-list-container {
  background: rgba(11, 16, 35, 0.8);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.pack-list-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.pack-list-ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FOOTER & COOKIES */
footer {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6E7897;
}

#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 16, 35, 0.95);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 15px;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  gap: 20px;
}

.cookie-btn-more {
  background: transparent;
  border: 1px solid var(--blue);
  color: var(--blue);
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.cookie-btn-accept {
  background: var(--blue);
  border: 1px solid var(--blue);
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

/* --- RESPONSIVE CORRECTIONS --- */
@media (max-width: 768px) {
  .hero h1 {
    letter-spacing: 2px;
  }

  section {
    padding: 60px 6%;
  }

  /* Equipo como lista */
  .gear-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .gear-card img {
    height: 200px;
  }

  /* Contacto centrado */
  .contact-card {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 25px;
  }

  .contact-info h3 {
    margin-bottom: 0;
  }

  .google-header-sim {
    height: 140px;
  }
}