/* ==========================================
   UTILERÍAS GLOBALES DE LA PÁGINA
   ========================================== */
.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--color-darker);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.divider {
  width: 60px;
  height: 4px;
  background-color: var(--color-red);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ==========================================
   1. HERO SECTION (Portada)
   ========================================== */
.hero-section {
  background-color: var(--color-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: #fff;
  /* Forzamos el texto a blanco sobre fondo oscuro */
}

.hero-content {
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
}

.hero-content .highlight {
  color: var(--color-red);
}

.hero-content p {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-bottom: 30px;
  max-width: 600px;
}
/* ==========================================================================
   MODULO 3: RESPONSIVIDAD MÓVIL CRÍTICA
   ========================================================================== */
@media (max-width: 768px) {
    /* Ajuste de Hero Banner para móviles */
    .hero-section {
        padding: 80px 5vw;
        min-height: 60vh; /* Ocupa menos altura estricta en pantallas pequeñas */
    }

    /* Centramos el contenido interno utilizando Flexbox */
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content p {
        font-size: 1.05rem; /* Letra ligeramente más pequeña para evitar scroll infinito */
        margin-bottom: 40px;
    }
    
    /* Ajuste de utilerías globales en móvil */
    .section-header h2 {
        font-size: 1.8rem;
    }
}