body {
  font-family: "SF Pro", sans-serif;
}

/* HERO */
/* HERO */
.hero {
  background: url("/assets/images/banner3.jpg") center/cover no-repeat fixed;
  height: 100vh;
  position: relative;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    height: 100vh; /* dejamos que crezca según contenido */
    padding: 60px 20px;
  }
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 0;
}

/* Hero content */
/* Hero content: sube y aparece */
@keyframes fadeInUpLoader {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo hero: escala y aparece */
@keyframes fadeScaleLoader {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  padding: 0 20px;
  opacity: 0; /* empezamos oculto */
  animation: fadeInUpLoader 2s ease forwards; /* nueva animación */
  animation-delay: 2.5s;
}

.hero .logo-hero {
  width: 170px;
  margin-bottom: 25px;
  opacity: 0; /* empezamos oculto */
  animation: fadeScaleLoader 2s ease forwards; /* nueva animación */
  animation-delay: 2.8s;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 span {
  color: #e63946;
}

.hero .subtitle {
  font-size: 1.4rem;
  margin-bottom: 15px;
  opacity: 0.9;
  font-weight: 300;
}

.hero .tagline {
  font-size: 1.1rem;
  margin-bottom: 40px;
  letter-spacing: 2px;
  color: #f3f3f3;
  text-transform: uppercase;
  font-weight: 500;
}

/* Botones */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-hero i {
  font-size: 20px;
}

.btn-hero.primary {
  background: linear-gradient(135deg, #e63946, #b91c1c);
  color: #fff;
}

.btn-hero.primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.5);
}

.btn-hero.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-hero.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px) scale(1.05);
}

/* Ajustes responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero .subtitle {
    font-size: 1rem;
  }
  .hero .tagline {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  .hero .logo-hero {
    width: 120px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .btn-hero {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 16px;
  }
}

/* SOBRE NOSOTROS */
.about-section {
  padding: 80px 20px;
  background: #fff;
  color: #333;
}

.about-section h2 {
  font-weight: 800;
  margin-bottom: 20px;
  font-size: 2.2rem;
  color: #b91c1c;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

.about-img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* FEATURES */
.features-section {
  background: linear-gradient(135deg, #e63946, #b91c1c);
  padding: 70px 20px;
  color: #fff;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}

.feature-icon {
  font-size: 2.8rem;
  flex-shrink: 0;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  padding: 12px;
  border-radius: 50%;
}

.features-section h5 {
  margin-bottom: 5px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

.features-section p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}

/* MAPA */
.map-section {
  padding: 80px 20px;
  background: #fafafa;
}

.container-map {
  padding: 30px;
  border-radius: 15px;
  background: linear-gradient(135deg, #e63946, #b91c1c);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.map-section h2 {
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
}

.map-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 20px;
}

iframe {
  border-radius: 15px;
  width: 100%;
  height: 400px;
  border: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* FOOTER */
