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

body {
  font-family: 'Raleway', sans-serif;
  background: #fff;
  color: #1f1f1f;
  line-height: 1.6;
  padding-top: 0; /* ya no dejamos espacio fijo */
}

/* ====== Header ====== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: linear-gradient(90deg, #ffffff 0%, #ffe6f0 40%, #ff7eb3 100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-radius: 0 0 20px 20px;
  transition: all 0.3s ease;
}

header img.logo {
  height: 70px;
  transition: height 0.3s ease;
}

header nav a {
  font-size: 1.1rem;
  transition: font-size 0.3s ease;
}

header.scrolled {
  padding: 8px 30px;
  border-radius: 0 0 15px 15px;
}

header.scrolled img.logo {
  height: 50px;
}

header.scrolled nav a {
  font-size: 0.95rem;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: blur(12px);
  opacity: 0.4;
  z-index: -1;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

/* ====== Logo ====== */
.logo {
  height: 140px;
  margin-left: 40px;
  margin-right: 40px;
  width: auto;
}

/* ====== Menú principal con subrayado animado ====== */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  position: relative;
  text-decoration: none;
  color: black;
  font-weight: bold;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #ff7eb3;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-menu li a:hover {
  color: #ff7eb3;
}

.nav-menu li a:hover::after {
  width: 100%;
  left: 0;
}

.nav-menu li a:active {
  color: #ff2cc3;
}

/* ====== Banner ====== */
.banner {
  position: relative;
  width: 100%;
  height: 1000px;
  overflow: hidden;
  margin-top: 120px; /* ahora espacio solo para el header */
  padding-top: 0;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Italianno', cursive;
  font-size: 5rem;
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  text-align: center;
  padding: 10px 20px;
}

/* ====== Hero ====== */
.hero {
  margin: 20px 0;
  text-align: center;
}

.hero h1 {
  font-family: 'Italianno', cursive;
  color: #ff2cc3;
  font-size: 4rem;
  font-weight: normal;
}

/* ====== Video ====== */
.video-container {
  max-width: 800px;
  margin: 20px auto;
}

.video-container video {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* ====== Sección "Quienes somos" ====== */
.weare-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 140px;
}

.weare-img {
  flex: 1;
}

.weare-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.weare {
  flex: 1;
  background: #fff;
  border: 2px solid #ff7eb3;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 0 4px #ff7eb3,
              0 0 8px #ff7eb3,
              0 0 12px #ff7eb3;
  animation: neonGlow 2s infinite alternate;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: #333;
}

.weare ul {
  list-style: none;
}

/* ====== Beneficios ====== */
.benefits-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.benefits img {
  width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.benefits {
  flex: 1;
  background: #fff;
  border: 2px solid #ff7eb3;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 0 4px #ff7eb3,
              0 0 8px #ff7eb3,
              0 0 12px #ff7eb3;
  animation: neonGlow 2s infinite alternate;
}

.benefits-img {
  flex: 1;
}

.benefits-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ====== Contacto ====== */
.contacto {
  text-align: center;
  font-size: 1.1rem;
  margin: 10px 0 20px 0;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.whatsapp-btn:hover {
  background-color: #1ebe5b;
}

/* ====== Footer ====== */
footer {
  text-align: center;
  padding: 15px;
  background-color: #ff7eb3;
  color: white;
  border-radius: 10px;
  font-weight: bold;
}

/* ====== Instalaciones ====== */
.instalaciones-box {
  background: #fff;
  border: 2px solid #ff7eb3;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 4px #ff7eb3,
              0 0 8px #ff7eb3,
              0 0 12px #ff7eb3;
  animation: neonGlow 2s infinite alternate;
  margin-bottom: 40px;
}

.instalaciones p {
  max-width: 600px;
  margin: 0 auto 20px;
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  color: #1f1f1f;
  text-align: center;
}

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

.instalaciones-imgs img {
  border-radius: 10px;
  width: 300px;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.instalaciones-imgs img:hover {
  transform: scale(1.05);
}

/* ====== Modal ====== */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #fff;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 8px 15px;
  }
  .logo {
    height: 80px;
    margin: 0;
  }
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .nav-menu li a {
    font-size: 0.85rem;
    padding: 4px 0;
  }

  .banner {
    height: auto;
    margin-top: 100px;
    padding-top: 0;
  }
  .banner-img {
    height: auto;
    max-height: 300px;
  }
  .banner-text {
    font-size: 1.8rem;
    padding: 5px 10px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .weare-container {
    flex-direction: column;
    margin-bottom: 40px;
  }
  .benefits-container {
    flex-direction: column;
  }
  .instalaciones-imgs {
    flex-direction: column;
    align-items: center;
  }
  .instalaciones-imgs img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .banner-text {
    font-size: 1.4rem;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}