* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #ffffff;
  color: #fff;
}


.site-header {
  background: #000;
  color: #fff;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
   position: relative;
}


.logo img {
  height: 120px;
  width: auto;
} 

.brand-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg,#0ea5e9,#7c3aed);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: white;
  box-shadow: 0 4px 18px rgba(124,58,237,0.12);
}

.brand-text {
  font-size: 18px;
  letter-spacing: 0.2px;
}


.main-nav {
  margin-left: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-list li {
  margin: 0;
}


.nav-list a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  padding: 6px 30px;
  outline: none;
  transition: transform 180ms ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: width 0.25s ease;
}

.nav-list a:hover::after,
.nav-list a:focus::after {
  width: 100%;
}

.nav-list a:hover,
.nav-list a:focus {
  transform: translateY(-3px);
}


/* HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* MODO MÓVIL */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #000;

    /* 👇 CLAVE */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.active {
    max-height: 300px;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }

  .nav-list a {
    display: block;
    padding: 12px;
  }
}


@media (max-width: 500px) {
  .site-header {
    flex-direction: row;   /* 👈 CAMBIADO */
    align-items: center;
  }
}

.tituloPrincipal {
  max-width: 900px;
  margin: 80px auto 40px;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 1px;
  color: #1a1a1a;
  text-transform: uppercase;
}

.tituloPrincipal::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #EFB810;
  margin: 20px auto 0;
  border-radius: 2px;
}

.contact-hero {
  text-align: center;
  padding: 80px 20px 40px;
}

.contact-hero p {
  font-size: 16px;
  margin-top: 10px;
  color: #ddd;
}


.contact-container {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}


.contact-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-info h2 {
  color: #f4b000;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 14px;
  margin-bottom: 10px;
  color: #ccc;
}

.contact-info .phone {
  display: inline-block;
  margin: 15px 0;
  font-size: 22px;
  font-weight: bold;
  color: #f4b000;
  text-decoration: none;
}


.contact-form {
  background: #fff;
  color: #000;
  padding: 50px 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #0f2027;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group i {
  position: absolute;
  left: 14px;
  color: #999;
  font-size: 16px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px 14px 14px 44px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #f1f1f1;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.input-group textarea {
  resize: none;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #f4b000;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(244, 176, 0, 0.2);
}


.contact-form button {
  margin-top: 10px;
  padding: 14px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #f4b000, #ffcc33);
  color: #000;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(244, 176, 0, 0.4);
}

.contact-form button i {
  font-size: 16px;
}


@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 500px) {
  .site-header {
    flex-direction: column;
    gap: 15px;
  }

  .contact-form {
    padding: 35px 25px;
  }
}

.map-section {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 40px 20px;
  text-align: center;
}

.map-section h2 {
  color: #f4b000;
  margin-bottom: 10px;
}

.map-section p {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 25px;
}

.map-container {
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}


.footer {
  background: #000000;
  color: #fff;
  padding: 50px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  position: relative;
}

/* Separadores verticales */
.footer-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  height: 100%;
  width: 2px;
  background: #EFB810;
}

/* Logo */
.footer-logo img {
  max-width: 150px;
}

/* Títulos */
.footer-col h3 {
  color: #EFB810;
  margin-bottom: 15px;
  font-size: 18px;
}

/* Links */
.footer-col a {
  color: #fff;
  text-decoration: none;
}
.footer-col p {
  color: #fff;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

/* Lista */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

/* Redes sociales */
.footer-social {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.footer-social a {
  width: 35px;
  height: 35px;
  background: #fff;
  color: #2f3440;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
}


.sponsors {
  background: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.sponsors-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111;
  letter-spacing: 1px;
}

.sponsors-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.sponsors-track {
  display: flex;
  align-items: center;
  transition: transform 0.5s ease;
  will-change: transform;
}

.sponsor-slide {
  flex: 1;
  max-width: 100%;
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  box-sizing: border-box;
  text-decoration: none;
}

.sponsor-slide img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.sponsor-slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* TABLET */
@media (max-width: 992px) {
  .sponsor-slide {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}

/* MÓVIL */
@media (max-width: 768px) {
  .sponsors {
    padding: 50px 15px;
  }

  .sponsors-title {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .sponsor-slide {
    flex: 0 0 50%;
    max-width: 50%;
    height: 90px;
    padding: 10px;
  }

  .sponsor-slide img {
    max-height: 55px;
  }
}

.sponsors-title {
  background: #EFB810;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  display: inline-block;
  margin-bottom: 25px;
  font-size: 18px;
  letter-spacing: 1px;
}

.sponsors-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}



