/* ============================================================
   home.css — estilos exclusivos de index.html (hero de portada)
   ============================================================ */

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,58,42,0.82) 0%,
    rgba(26,58,42,0.50) 60%,
    rgba(26,58,42,0.20) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  color: var(--blanco);
  max-width: 700px;
  padding: 120px 0 80px;
  animation: heroIn 1s 0.3s both;
}
@keyframes heroIn {
  from { opacity:0; transform: translateY(30px); }
  to   { opacity:1; transform: translateY(0); }
}
.hero__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--verde-menta);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(184,217,192,0.4);
  border-radius: 100px;
}
.hero__title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--blanco);
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  color: var(--verde-menta);
}
.hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* Grid responsive de la sección "Sobre nosotros" (antes inline en index.html) */
@media (max-width: 768px) {
  section > .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero__content { padding: 100px 0 60px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
}
