* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Contenedor del fondo */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Imagen de fondo con zoom suave al inicio */
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 8s ease-out forwards;
}

/* Overlay oscuro con fade in */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 2;
  animation: overlayFadeIn 1.5s ease-out forwards;
}

/* Contenido del hero */
.hero-container {
  position: relative;
  z-index: 3;
  max-width: 675px;        /* 75% de 900px */
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* Título - +15% más grande (75% del original) */
.hero-title {
  color: #f5e8a6;
  font-size: 2.25rem;      /* 75% de 3rem */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.125rem; /* 75% de 1.5rem */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: titleSlideUp 0.8s ease-out 0.3s forwards;
  
  /* Control de texto */
  max-width: 525px;        /* 75% de 700px */
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  word-break: normal;
  hyphens: none;
  overflow-wrap: break-word;
}

/* Descripción - +15% más grande (75% del original) */
.hero-description {
  color: #fffaeb;
  font-size: 1rem;      /* 75% de 1.125rem (aprox 0.84rem) */
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(20px);
  animation: descriptionFadeIn 0.8s ease-out 0.6s forwards;
  
  /* Texto justificado */
  text-align: justify;
  
  /* Última línea centrada */
  text-align-last: center;
  
  /* Espaciado superior */
  margin-top: 2.25rem;     /* 75% de 3rem */
  
  /* Control de texto */
  max-width: 450px;        /* 75% de 600px */
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  word-break: normal;
  hyphens: none;
  overflow-wrap: break-word;
}

/* ===============================================
   LOGOS (se mantienen en 60%)
   =============================================== */

/* ===============================================
   LOGOS (sin filtro de color - original)
   =============================================== */

/* ===============================================
   LOGOS (con fondo clarito para contraste)
   =============================================== */

.hero-logos {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;            /* 60% de 3rem */
  flex-wrap: wrap;
  padding: 0.75rem 2rem;
  opacity: 0;
  animation: logosFadeIn 0.8s ease-out 1s forwards;
  
  /* Fondo clarito semitransparente */
  background-color: rgba(255, 255, 255, 0.767);
  backdrop-filter: blur(4px);
  border-radius: 50px;
  width: fit-content;
  margin: 0 auto;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image-hero {
  height: 30px;           /* 60% de 50px */
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-image-hero:hover {
  opacity: 1;
  transform: translateY(-3px);
}



/* ===============================================
   ANIMACIONES
   =============================================== */

@keyframes heroZoom {
  0% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes overlayFadeIn {
  0% {
    background-color: rgba(0, 0, 0, 0);
  }
  100% {
    background-color: rgba(0, 0, 0, 0.65);
  }
}

@keyframes titleSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes descriptionFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logosFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 768px) {
  .hero-container {
    max-width: 90%;
  }
  
  .hero-title {
    font-size: 1.5rem;     /* 75% de 2rem */
    max-width: 90%;
  }
  
  .hero-description {
    font-size: 0.75rem;    /* 75% de 1rem */
    max-width: 90%;
    padding: 0 1rem;
  }
  
  .hero-overlay {
    background-color: rgba(0, 0, 0, 0.6);
  }
  
  .hero-logos {
    bottom: 1rem;
    gap: 1.5rem;
  }
  
  .logo-image-hero {
    height: 35px;
  }
  
  @keyframes titleSlideUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.125rem;   /* 75% de 1.5rem */
    max-width: 95%;
  }
  
  .hero-description {
    font-size: 0.675rem;   /* 75% de 0.9rem */
    max-width: 95%;
    text-align: left;
  }
  
  .hero-logos {
    gap: 1rem;
  }
  
  .logo-image-hero {
    height: 25px;
  }
}

@media (min-width: 1400px) {
  .hero-container {
    max-width: 750px;      /* 75% de 1000px */
  }
  
  .hero-title {
    font-size: 2.625rem;   /* 75% de 3.5rem */
    max-width: 675px;      /* 75% de 900px */
  }
  
  .hero-description {
    font-size: 0.95rem;    /* 75% de 1.25rem */
    max-width: 525px;      /* 75% de 700px */
  }
  
  .logo-image-hero {
    height: 30px;
  }
}