/* ==========================================================================
   page-inicio.css — Estilos exclusivos de la página de Inicio
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 6rem;
  background:
    radial-gradient(ellipse 900px 700px at 82% 18%, rgba(201, 162, 75, 0.16), transparent 60%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy-black) 78%);
  color: var(--gray-light);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 85%, rgba(201, 162, 75, 0.08), transparent 45%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero__inner {
  position: relative;
  animation: rise 1s var(--ease) both;
}

.hero__headline {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  color: var(--gray-light);
  margin-bottom: 1.5rem;
}

.hero__lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(232, 230, 225, 0.72);
  max-width: 46ch;
  margin-bottom: 2.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

/* Retrato de la fundadora, con marco editorial en dorado */

.hero__portrait {
  position: relative;
  display: flex;
  justify-content: center;
  animation: rise 1.1s var(--ease) 0.15s both;
}

.hero__portrait-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 14px;
  border: 1px solid rgba(201, 162, 75, 0.45);
  background: rgba(232, 230, 225, 0.02);
}

.hero__portrait-frame::before,
.hero__portrait-frame::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--gold);
  pointer-events: none;
}

.hero__portrait-frame::before {
  top: -10px;
  left: -10px;
  border-right: none;
  border-bottom: none;
}

.hero__portrait-frame::after {
  bottom: -10px;
  right: -10px;
  border-left: none;
  border-top: none;
}

.hero__portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 66vh;
  object-fit: cover;
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  width: 1px;
  height: 60px;
}
.scroll-cue span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.4; }
}

/* Teasers (versiones resumidas de cada página, con enlace de salida) */

.teaser {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.teaser--light { background: var(--paper); border-bottom: 1px solid var(--gray-light); }
.teaser--gray { background: var(--gray-light); }
.teaser--dark {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--gray-light);
}

.teaser__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.teaser__label h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--navy);
}

.teaser--dark .teaser__label h2 { color: var(--gray-light); }

.teaser__body p {
  font-size: 1.05rem;
  color: var(--gray-mid-text);
  max-width: 58ch;
}

.teaser__body-light {
  color: rgba(232, 230, 225, 0.72) !important;
}

.teaser-practice__grid { margin-bottom: 0; }
.teaser--gray .section-head { margin-bottom: 2.5rem; }
.teaser--gray .text-link { margin-top: 2.2rem; }

/* Estadísticas resumidas (tratamiento más ligero que en Nosotros) */

.teaser-stats {
  background: var(--paper);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-bottom: 1px solid var(--gray-light);
}

.teaser-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.teaser-stats .stat__label { color: var(--gray-mid-text); }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 150px; padding-bottom: 4rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; text-align: left; }
  .hero__portrait { justify-content: flex-start; }
  .hero__portrait-frame { max-width: 280px; }
  .hero__portrait-frame img { max-height: 46vh; }
  .teaser__grid { grid-template-columns: 1fr; }
  .teaser-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
}

@media (max-width: 640px) {
  .hero { padding-top: 130px; }
  .hero__portrait-frame { max-width: 220px; }
  .teaser-stats__grid { grid-template-columns: 1fr; row-gap: 1.75rem; }
}
