 * { box-sizing: border-box; transition: all 0.3s ease; margin: 0; padding: 0; }
    body {
      font-family: 'Montserrat', sans-serif;
      background-color: #fff;
      color: #333;
    }

    /* ====== HEADER ====== */
    header {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* Fondo oscuro semitransparente encima del video */
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* Video de fondo */
.fondo__index {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}


    header::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.5);
      z-index: 1;
    }

    nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(0,0,0,0.7);
      z-index: 100;
      padding: 15px 30px;
        transition: transform 0.3s ease; /* ← transición para aparecer y desaparecer suavemente */

    }

    nav ul {
      list-style: none;
      display: flex;
      justify-content: flex-end;
      gap: 20px;
    }

    nav a {
      text-decoration: none;
      color: #fff;
      font-weight: 600;
      padding: 8px 12px;
      text-transform: uppercase;
      transition: 0.3s;
    }

    nav a:hover { background-color: rgba(255,255,255,0.2); border-radius: 5px; }

    nav li { position: relative; }
    .submenu {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      background: rgba(0,0,0,0.8);
      padding: 10px 0;
      border-radius: 5px;
      min-width: 180px;
    }
    .submenu a { display: block; padding: 8px 20px; color: #fff; }
    nav li:hover .submenu { display: block; }

    .logo-small {
      position: fixed;
      top: 10px;
      left: 30px;
      z-index: 101;
      height: 40px;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      color: white;
      margin-top: auto;
      margin-bottom: auto;
    }

    .hero-content img {
      width: 250px;
      max-width: 80%;
      margin-bottom: 20px;
    }

    .hero-content h1 {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 15px;
      text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    }

    .hero-content p {
      font-size: 1.2rem;
      max-width: 800px;
      margin: 0 auto;
      text-shadow: 1px 1px 8px rgba(0,0,0,0.7);
    }

    section { padding: 60px 15%; }
    h2 { color: #4b0082; border-bottom: 2px solid #ccc; padding-bottom: 10px; margin-bottom: 25px; text-align: center; }

    /* ===== FONDO GRADIENTE SECCIONES PRINCIPALES ===== */
    #sobre-nosotros, #servicios {
      background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
      color: #fff;
    }

    #sobre-nosotros h2, #servicios h2 {
      color: #fff;
      border-color: #444;
    }


/* ====== POR QUÉ ELEGIRNOS ====== */
#elegirnos {
  padding: 60px 10%;
  background: #f7f7f7;
}

#elegirnos h2 {
  text-align: center;
  color: #4b0082;
  margin-bottom: 40px;
  border-bottom: none;
  font-size: 2rem;
}

.elegirnos-contenedor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.elegirnos-img {
  flex: 1 1 45%;
}

.elegirnos-img img {
  width: 70%;
  border-radius: 10px;
}

.elegirnos-texto {
  flex: 1 1 45%;
}

.elegirnos-texto h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #333;
}

.razones {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.razon {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.razon i {
  font-size: 24px;
  color: #4b0082;
  margin-top: 3px;
}

.razon h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #111;
}

.razon p {
  color: #555;
}

@media (max-width: 768px) {
  .elegirnos-contenedor {
    flex-direction: column;
  }
}




    /* ===== SOBRE NOSOTROS ANIMADO ===== */
    #sobre-nosotros {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 40px;
    }

    #sobre-nosotros .imagen-animada,
    #sobre-nosotros .texto-animado {
      flex: 1 1 45%;
      opacity: 0;
      transform: translateX(50px);
      transition: all 1s ease-out;
    }

    #sobre-nosotros .imagen-animada { transform: translateX(-50px); }
    #sobre-nosotros .texto-animado { transition-delay: 0.5s; }

    #sobre-nosotros .visible-anim {
      opacity: 1;
      transform: translateX(0);
    }

    #sobre-nosotros img {
      width: 70%;
      border-radius: 10px;
    }

    

    /* ===== TITULO FIxTURAS ===== */
    #banner-titulo {
      background-color: #000;
      color: #fff;
      font-size: 2.2rem;
      font-weight: 700;
      text-align: center;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
      padding: 30px 0;
      margin: 0;
      animation: fadeInDown 1s ease forwards;
    }

    @keyframes fadeInDown {
      0% { opacity: 0; transform: translateY(-20px);}
      100% { opacity: 1; transform: translateY(0);}
    }

    #banner-fixturas {
  width: 100%;
  height: 700px; /* mantiene tu altura */
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.slide-container {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slide {
  flex: 0 0 100%; /* cada slide ocupa todo el ancho del contenedor */
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* mantiene proporciones sin deformar */
}





#equipo{
padding: 60px 10%;
  background: #f7f7f7;
}

    .equipo-lista { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
    .miembro { flex: 1 1 calc(45% - 20px); text-align: center; }
    .miembro img { width: 100%; max-width: 180px; border-radius: 10px; margin-bottom: 10px; }

    footer { background-color: #222; color: #ccc; text-align: center; padding: 20px 0; font-size: 0.9rem; }
    .logo { color: #b8b8ff; font-weight: bold; }

    #topBtn { position: fixed; bottom: 20px; right: 20px; background-color: #4b0082; color: white; border: none; border-radius: 50%; width: 45px; height: 45px; font-size: 20px; cursor: pointer; box-shadow: 0 3px 8px rgba(0,0,0,0.3); z-index: 1000; }

    @media (max-width: 992px) { .servicio { flex: 1 1 calc(30% - 15px); } }
    @media (max-width: 768px) { .servicio { flex: 1 1 calc(45% - 15px); } }
    @media (max-width: 500px) { 
      .servicio { flex: 1 1 100%; } 
      #sobre-nosotros { flex-direction: column; padding: 40px 10%; }
    }


 /* ====== CONTACTO ====== */
    #contacto a {
      color: #4b0082;
      text-decoration: none;
      font-weight: bold;
    }
    #contacto a:hover { text-decoration: underline; }
    #contacto i { margin-right: 8px; color: #875EA8; }

    footer {
      background-color: #222;
      color: #ccc;
      text-align: center;
      padding: 20px 0;
      font-size: 0.9rem;
    }

    .logo { color: #b8b8ff; font-weight: bold; }

    #topBtn {
      position: fixed; 
      bottom: 20px; 
      left: 20px;
      background-color: #4b0082; 
      color: white;
      border: none; 
      border-radius: 50%;
      width: 45px; 
      height: 45px; 
      font-size: 20px;
      cursor: pointer; 
      box-shadow: 0 3px 8px rgba(0,0,0,0.3);
      z-index: 1000;
    }

    @media (max-width: 768px) {
      section, .hero { padding: 40px 8%; }
      nav a { padding: 12px 15px; }
      header h1 { font-size: 1.6rem; }
      .hero h2 { font-size: 1.5rem; }
      nav ul { flex-direction: column; }
      .submenu { position: static; box-shadow: none; border-radius: 0; }
    }

    /* Botón WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  text-decoration: none;
}

    nav.oculto {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

#contacto {
  background-color: #f7f7f7;
  color: #ccc;
}


#contacto h2 {
  color: #4b0082; /* Para que el título destaque */
}

#contacto a {
  color: #b8b8ff; /* Igual estilo del footer o personalizable */
}



/* ====== MENÚ HAMBURGUESA MODERNO ====== */
.menu-toggle {
  display: none;
  width: 30px;
  height: 25px;
  position: absolute;
  top: 20px;
  right: 30px;
  cursor: pointer;
  z-index: 200;
  transition: transform 0.3s ease;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 22px; }

/* Animación hamburguesa → X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 11px;
}



/* MENÚ DESLIZABLE REFINADO */
@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh; /* Ocupa todo el alto */
    width: 220px;  /* Más delgado para no ser tosco */
    background: rgba(20, 20, 20, 0.95); /* Color más sólido y elegante */
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    
    /* CAMBIO CLAVE: Alineación arriba */
    justify-content: flex-start; 
    padding-top: 80px; /* Espacio para que no choque con la X */
    padding-left: 0;   /* Centraremos los textos */
    
    gap: 10px; /* Espacio reducido entre opciones */
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    z-index: 150;
    border-left: 1px solid rgba(255, 255, 255, 0.1); /* Línea sutil de borde */
  }

  .nav-list.active {
    transform: translateX(0);
    opacity: 1;
  }

  .nav-list li {
    width: 100%;
    list-style: none;
  }

  .nav-list li a {
    font-size: 1rem; /* Tamaño más estético */
    color: #fff;
    font-weight: 400;
    text-align: left;
    padding: 15px 25px; /* Área de clic amplia */
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Separador sutil */
    transition: all 0.3s ease;
  }

  .nav-list li a i {
    width: 25px; /* Alinea los iconos perfectamente */
    color: #4b0082; /* Color de acento en los iconos */
  }

  .nav-list li a:hover {
    background: rgba(75, 0, 130, 0.1);
    color: #b8b8ff;
    padding-left: 30px; /* Efecto de desplazamiento suave */
  }

  .menu-toggle {
    display: block;
    top: 25px; /* Ajuste de posición */
  }
}



footer {
      background-color: #222;
      color: #ccc;
      font-family: 'Montserrat', sans-serif;
      padding: 40px 15%;
      text-align: left;
    }

    .footer-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 20px;
    }

    .footer-block {
      flex: 1 1 200px;
    }

    .footer-block h3 {
      color: #fff;
      margin-bottom: 10px;
      font-size: 1.1rem;
    }

    .footer-block p {
      margin-bottom: 5px;
      line-height: 1.5;
    }

    .footer-block a {
      color: #ccc;
      text-decoration: none;
    }

    .footer-block a:hover {
      color: #4b0082;
    }

    .footer-bottom {
      text-align: center;
      margin-top: 30px;
      font-size: 0.9rem;
      color: #999;
    }

    @media (max-width: 768px) {
      .footer-container {
        flex-direction: column;
        gap: 15px;
      }
    }




footer .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

footer .footer-menu li {
  margin: 0 10px;
  position: relative;
  font-weight: 500;
}

footer .footer-menu li:not(:last-child)::after {
  content: "|"; /* separador entre enlaces */
  color: #555;
  margin-left: 10px;
}

footer .footer-menu li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

footer .footer-menu li a:hover {
  color: #4b0082; /* azul elegante en hover */
  transform: scale(1.05);
}

footer .footer-copy {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0;
}

footer .logo {
  font-weight: 700;
  color: #4b0082;
}


.hero-content {
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente */
    height: 100vh;           /* ocupa toda la altura de la pantalla (opcional) */
}

.hero-content img {
   margin-left: 80px; /* 👈 mueve el logo a la derecha */
    width: 650px;   /* 👈 AQUÍ cambias el tamaño de la imagen */
    height: auto;   /* mantiene la proporción */
}





.hero-content {
    overflow: hidden; /* clave para el efecto reveal */
}

.hero-content img {
    opacity: 0;
    transform: translateX(-140px);
animation: logoPremiumReveal 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Animación suave, moderna y profesional */
@keyframes logoPremiumReveal {
    0% {
        opacity: 0;
        transform: translateX(-140px);
    }
    60% {
        opacity: 0.85;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}





/* FAQ */
#faq {
  padding: 60px 20px;
  background-color: #222;
}

#faq h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
}

.faq-container {
  max-width: 900px;
  margin: auto;
}

.faq-item {
  border-bottom: 1px solid #ccc;
}

.faq-question {
  color: #fff;
  width: 100%;
  background: none;
  border: none;
  padding: 20px;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.faq-question:hover {
  color: #4b0082;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.faq-answer p {
  color: #fff;
  padding: 15px 0;
  margin: 0;
}

.arrow {
  transition: transform 0.3s ease;
}





.dmf-contact-wrapper * {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

.dmf-contact-wrapper {
  max-width: 500px;
  margin: 60px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.dmf-title {
  margin-bottom: 8px;
  color: #222;
  text-align: center;
}

.dmf-subtitle {
  margin-bottom: 30px;
  color: #666;
  text-align: center;
  font-size: 14px;
}

.dmf-field {
  position: relative;
  margin-bottom: 26px;
}

.dmf-field input,
.dmf-field textarea {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 15px;
  background: transparent;
}

.dmf-field textarea {
  min-height: 120px;
  resize: none;
}

.dmf-field label {
  position: absolute;
  top: 50%;
  left: 12px;
  color: #999;
  font-size: 14px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: 0.3s;
  background: #fff;
  padding: 0 6px;
}

/* Label flotante */
.dmf-field input:focus + label,
.dmf-field input:valid + label,
.dmf-field textarea:focus + label,
.dmf-field textarea:valid + label {
  top: -8px;
  font-size: 12px;
  color: #0066cc;
}

.dmf-btn {
  width: 100%;
  padding: 14px;
  background: #0066cc;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.dmf-btn:hover {
  background: #004c99;
}

.dmf-privacy {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: #777;
  text-align: center;
}




/* CONTENEDOR */
  .logos {
    width: 100%;
    overflow: hidden;
    background: #fff;
    padding: 40px 0;
  }

  /* CINTA */
  .logos-wrapper {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
  }

  /* BLOQUES (DOS IGUALES) */
  .logos-track {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-right: 80px;
  }

  /* LOGOS */
  .logos-track img {
    height: 90px;
    opacity: 0.85;
    white-space: nowrap;
  }

  /* ANIMACIÓN CONTINUA REAL */
  @keyframes marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  /* RESPONSIVE */
  @media (max-width: 768px) {
    .logos-track img {
      height: 50px;
    }
    .logos-track {
      gap: 50px;
    }
    .logos-wrapper {
      animation-duration: 40s;
    }
  }



  /* INVERSIÓN DE DIRECCIÓN */
.logos.reverse .logos-wrapper {
  animation-direction: reverse;
  animation-duration: 25s;
}




















@media (max-width: 768px) {

  header {
    height: 90vh;
  }

  .hero-content {
    height: auto;
    padding-top: 120px;
  }

  .hero-content img {
    width: 80%;
    max-width: 320px;
    margin-left: 0;
    transform: none;
  }
}


@media (max-width: 768px) {
  section {
    padding: 40px 8%;
  }
}

@media (max-width: 768px) {
  #sobre-nosotros img,
  .elegirnos-img img {
    width: 100%;
  }
}
@media (max-width: 768px) {
  #banner-fixturas {
    height: 300px;
  }
}
@media (max-width: 768px) {
  .miembro {
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  h2 {
    font-size: 1.6rem;
  }

  p {
    font-size: 0.95rem;
  }
}
