/* Portada de Postula Perú: composición de la maqueta con accesos reales. */
.home-page .home-wrapper::before { opacity: .22; }
.home-page .hero-section {
  /* Mismo ancho que la portada de Concursos y Contenido (27/09/2026). */
  margin: 0;
  padding: clamp(34px, 3.2vw, 56px) clamp(24px, 4.5vw, 72px) 68px;
  min-height: 0;
  border: 0;
  border-radius: 0 0 32px 32px;
  background:
    linear-gradient(90deg, rgba(244,249,255,.98) 0%, rgba(240,247,255,.95) 39%, rgba(233,244,255,.64) 67%, rgba(220,235,255,.44) 100%),
    url('/static/assets/home/hero_academic_campus.webp') center / cover;
  isolation: isolate;
}
.home-page .hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  gap: 24px;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 370px;
}
.home-page .hero-copy-block { position: relative; z-index: 2; max-width: 790px; }
.home-page .hero-institutional-badge {
  margin-bottom: 16px;
  background: rgba(255,255,255,.78);
  border-color: #c7ddff;
  color: #1e40af;
  box-shadow: 0 3px 15px rgba(29,78,216,.07);
}
.home-page .hero-main-title {
  font-size: clamp(42px, 3.9vw, 64px);
  max-width: 800px;
  margin-bottom: 19px;
  line-height: 1.06;
  letter-spacing: -.042em;
}
.home-page .hero-main-title .gradient-blue {
  background: linear-gradient(115deg,#1d4ed8,#096bc6);
  -webkit-background-clip: text;
  background-clip: text;
}
.home-page .hero-description { max-width: 700px; font-size: clamp(17px,1.2vw,20px); line-height: 1.57; margin-bottom: 20px; }
.home-page .hero-actions-group { margin-bottom: 0; }
.home-page .btn-hero-primary, .home-page .btn-hero-primary:hover {
  background: linear-gradient(120deg,#2563eb,#0755cb);
  border-color: #1d4ed8;
  color: #fff;
  box-shadow: 0 9px 20px rgba(29,78,216,.22);
}
.home-page .btn-hero-secondary, .home-page .btn-hero-secondary:hover {
  background: rgba(255,255,255,.9);
  border: 1.5px solid #2563eb;
  color: #1d4ed8;
  box-shadow: 0 5px 16px rgba(29,78,216,.08);
}
.home-page .hero-quick-features { gap: 10px 22px; margin-top: 18px; }
.home-page .quick-feature-item { font-size: 13px; color: #334155; }
.home-page .hero-showcase-container { min-height: 370px; align-self: stretch; overflow: visible; }
.home-page .hero-art-halo {
  position: absolute;
  width: min(90%, 515px);
  aspect-ratio: 1;
  bottom: -60px;
  left: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 45%,rgba(255,255,255,.91),rgba(147,197,253,.28) 56%,rgba(59,130,246,.04) 72%);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 25px 80px rgba(37,99,235,.08);
}
.home-page .hero-person-cutout {
  position: absolute;
  height: clamp(410px,34vw,545px);
  max-width: 72%;
  bottom: -68px;
  left: 12%;
  margin: 0;
  z-index: 2;
  filter: drop-shadow(12px 19px 22px rgba(15,23,42,.2));
}
.home-page .hero-showcase-container:hover .hero-person-cutout { transform: none; }
.home-page .hero-scene-note {
  position: absolute;
  top: 13px;
  left: -6%;
  z-index: 4;
  color: #294d82;
  font: 600 17px/1.18 'Outfit',sans-serif;
  transform: rotate(-9deg);
  text-align: center;
  max-width: 145px;
}
.home-page .hero-scene-note::after {
  content: '↘';
  display: block;
  font: 36px/1 'Outfit',sans-serif;
  transform: translate(41px,-3px) rotate(5deg);
}
.home-page .hero-photo-grid {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 0;
  width: min(43%,245px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  transform: rotate(4deg);
}
.home-page .hero-photo-card {
  position: relative;
  min-height: 106px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 16px;
  box-shadow: 0 12px 22px rgba(18,53,105,.2);
  background: #cbd5e1;
}
.home-page .hero-photo-card:nth-child(1) { min-height: 132px; transform: rotate(-6deg); }
.home-page .hero-photo-card:nth-child(2) { transform: translateY(17px) rotate(5deg); }
.home-page .hero-photo-card:nth-child(3) { transform: translateY(-10px) rotate(3deg); }
.home-page .hero-photo-card:nth-child(4) { transform: translateY(10px) rotate(-5deg); }
.home-page .hero-photo-card img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.home-page .hero-photo-card span {
  position: absolute;
  inset: auto 0 0;
  padding: 17px 5px 6px;
  background: linear-gradient(transparent,rgba(15,23,42,.87));
  color: #fff;
  font: 800 12px/1.2 'Inter',sans-serif;
  text-align: center;
}
.home-page .hero-scene-tail {
  position: absolute;
  right: 0;
  bottom: 4px;
  z-index: 4;
  padding: 8px 11px;
  border-radius: 11px;
  background: rgba(255,255,255,.83);
  box-shadow: 0 5px 14px rgba(29,78,216,.09);
  color: #294d82;
  font: 700 14px/1.2 'Outfit',sans-serif;
  transform: rotate(-5deg);
}
@media (max-width: 1150px) {
  .home-page .hero-grid { grid-template-columns: minmax(0,1fr) minmax(320px,.8fr); }
  .home-page .hero-main-title { font-size: clamp(42px,3.9vw,58px); }
}
@media (max-width: 900px) {
  .home-page .hero-section { min-height: 0; padding-bottom: 74px; }
  .home-page .hero-grid { grid-template-columns: 1fr; }
  .home-page .hero-showcase-container { order: 0; min-height: 370px; max-width: 610px; width: 100%; margin: 0 auto; }
  .home-page .hero-person-cutout { height: 460px; bottom: -70px; }
  .home-page .hero-scene-note { left: 1%; }
}
@media (max-width: 600px) {
  .home-page .hero-section { margin: 0; padding: 35px 20px 63px; border-radius: 0 0 22px 22px; }
  .home-page .hero-main-title { font-size: clamp(37px,10vw,48px); }
  .home-page .hero-description { font-size: 16px; }
  .home-page .hero-actions-group { gap: 10px; }
  .home-page .btn-hero-primary,.home-page .btn-hero-secondary { width: 100%; justify-content: center; }
  .home-page .hero-quick-features { gap: 8px 14px; }
  .home-page .quick-feature-item { font-size: 12px; }
  .home-page .hero-showcase-container { min-height: 310px; margin-top: 14px; }
  .home-page .hero-person-cutout { height: 358px; max-width: 70%; left: 4%; bottom: -60px; }
  .home-page .hero-photo-grid { width: 50%; right: 0; gap: 6px; top: 13px; }
  .home-page .hero-photo-card { min-height: 78px; border-width: 3px; border-radius: 11px; }
  .home-page .hero-photo-card:nth-child(1) { min-height: 90px; }
  .home-page .hero-photo-card span { font-size: 9px; padding: 13px 2px 4px; }
  .home-page .hero-scene-note { display: none; }
  .home-page .hero-scene-tail { right: 0; bottom: -12px; font-size: 11px; }
}
