/* ========================================================
   ESTILOS DE LA PÁGINA DE CONTACTO (HERO Y MAPA)
   ======================================================== */

/* --- 1. HERO SECTION --- */
.about-hero {
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 6rem 5%; 
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeUpReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
  text-wrap: balance; 
}

.about-hero p.tagline {
  font-size: 1.6rem;
  font-weight: 500;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  text-wrap: balance;
}

.hero-divider {
  width: 90px;
  height: 4px;
  background: var(--accent);
  margin: 1.5rem auto 0;
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(255, 79, 90, 0.7);
}

@keyframes fadeUpReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- 2. CONTENEDOR DEL MAPA Y TEXTOS --- */
.about-content {
  padding: 4rem 5% 6rem;
  max-width: 1400px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: 2.6rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  text-wrap: balance;
}

.about-section h2::after {
  content: '';
  width: 100px;
  height: 4px;
  background: var(--accent);
  display: block;
  margin: 1.5rem auto;
  border-radius: 2px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.story-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.5rem;
  text-wrap: pretty; 
}

/* --- 3. RESPONSIVE (Móviles y Tablets) --- */
@media (max-width: 992px) {
  .story-grid { 
    grid-template-columns: 1fr; 
    text-align: center; 
  }
  .about-hero h1 { 
    font-size: 3.5rem; 
  }
}

@media (max-width: 768px) {
  .about-hero {
    height: 48vh;
    min-height: 380px;
    padding: 4rem 5%; 
  }
  .about-hero h1 { 
    font-size: 2.8rem !important; 
  }
  .about-hero p.tagline { 
    font-size: 1.25rem !important; 
  }
  .about-content { 
    padding: 3rem 5%; 
  }
}