/* =========================================================
   Home page — layout
   ========================================================= */

/* ---------- PROMO CAPACITACIÓN (barra superior) ---------- */
.promo-bar {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #BF360C;
}
.promo-bar-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.promo-bar-bg img {
  object-position: center center;
}
.promo-bar-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(230,81,0,0.94) 0%, rgba(191,54,12,0.85) 100%);
}
.promo-bar-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.promo-bar-eyebrow {
  color: #FFD9B3;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.promo-bar-title {
  color: #fff;
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.promo-bar-date {
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.promo-bar-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #BF360C;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.45);
  transition: transform .18s ease, box-shadow .25s ease;
}
.promo-bar-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(0,0,0,0.5); }

@media (max-width: 720px) {
  .promo-bar { height: auto; }
  .promo-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 24px;
    gap: 18px;
  }
  .promo-bar-btn { width: 100%; }
}

/* ---------- HERO ---------- */
.hero { padding: 30px 0 00px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: .96fr 1.22fr;
  align-items: center;
  gap: 52px;
  min-height: 620px;
}
.hero-copy { max-width: 560px; position: relative; z-index: 2; }
.hero-copy h1 {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 26px;
}
.hero-copy h1 .gold { color: var(--gold-text); }
.hero-copy .lead {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-2);
  margin: 0 0 42px;
  max-width: 520px;
}
.hero-media { display: flex; justify-content: center; position: relative; z-index: 2; }
.hero-photo {
  width: 100%;
  max-width: 740px;
  aspect-ratio: 1.4 / 1;
  box-shadow: 0 44px 84px -34px rgba(60,45,15,.5);
}

.hero-blob-1 { width: 420px; height: 420px; left: -160px; bottom: -120px; background: var(--cream-2); }
.hero-blob-2 { width: 360px; height: 360px; right: -150px; top: 40px; background: var(--cream-3); }

/* ---------- HERO VARIATIONS (tweakable) ---------- */
body[data-hero="split-left"] .hero-inner { direction: rtl; }
body[data-hero="split-left"] .hero-copy,
body[data-hero="split-left"] .hero-media { direction: ltr; }

body[data-hero="centered"] .hero-inner {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 44px;
}
body[data-hero="centered"] .hero-copy { max-width: 720px; }
body[data-hero="centered"] .hero-copy .lead { margin-left: auto; margin-right: auto; }
body[data-hero="centered"] .hero-photo { max-width: 760px; aspect-ratio: 2.1 / 1; }

/* ---------- VIDEO INSTITUCIONAL ---------- */
.video-section { padding: 20px 0 60px; }
.video-embed-wrap {
  width: 70%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(28,35,51,.16);
}
.video-embed-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 720px) {
  .video-embed-wrap { width: 92%; border-radius: 14px; }
}

/* ---------- QUIÉNES SOMOS ---------- */
.quienes { padding: 40px 0 110px; }
.quienes .wrap { position: relative; z-index: 2; }
.badge-heart {
  width: 104px; height: 104px;
  margin: 0 auto 30px;
  padding: 0;
}
.badge-heart .ph { background: transparent !important; }
.badge-heart img { object-fit: contain !important; }
.quienes-title {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 70px;
}
.quienes-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 60px;
  align-items: center;
}
.quienes-media { display: flex; justify-content: center; }
.team-photo {
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1.09 / 1;
  background: #fff;
  box-shadow: 0 34px 76px -34px rgba(60,45,15,.42);
}
.quienes-copy p { font-size: clamp(17px, 1.45vw, 21px); color: var(--ink-2); margin: 0 0 26px; }
.quienes-copy p:last-child { margin-bottom: 0; }
.quienes-copy .gold { color: var(--gold-text); }
.quienes-blob { width: 380px; height: 380px; right: -150px; top: 60px; background: var(--cream-2); }

/* ---------- IMPACTO 2025-2026 ---------- */
.impacto {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #faf8f3 0%, #f5f1e8 100%);
}
.impacto-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
}
.impacto-lead {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink-2);
  line-height: 1.7;
}
.impacto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}
.impacto-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.impacto-circle {
  flex: none;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f3e3b8 0%, var(--gold-deep) 45%, #8a703a 100%);
  box-shadow: 0 10px 26px -8px rgba(120,96,40,.55), inset 0 0 0 3px rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.impacto-num {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: #1c2333;
  font-family: Georgia, 'Times New Roman', serif;
}
.impacto-plus::before { content: '+'; }
.impacto-info h3 {
  font-size: clamp(18px, 1.7vw, 22px);
  margin-bottom: 6px;
  color: var(--ink);
}
.impacto-info p {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .impacto-grid { grid-template-columns: 1fr; gap: 32px; }
  .impacto-circle { width: 76px; height: 76px; }
}


/* ---------- MISIÓN / VISIÓN ---------- */
.mv { padding: 30px 0 120px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; position: relative; z-index: 2; }
.mv-card {
  background: #fff;
  border-radius: 40px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.mv-photo {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  margin-bottom: 36px;
}
.mv-card h3 { font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 20px; }
.mv-card p { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); margin: 0; }
.mv-blob-1 { width: 300px; height: 300px; left: -140px; top: 80px; background: var(--cream-2); }
.mv-blob-2 { width: 280px; height: 280px; right: -130px; bottom: -60px; background: var(--cream-3); }

/* ---------- CTA BAND ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  padding: 130px 0;
  overflow: hidden;
}
.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 70px;
  z-index: 2;
}
.cta-band::before {
  top: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C300,0 900,70 1200,30 L1200,0 L0,0 Z' fill='%23f5f1e8'/%3E%3C/svg%3E") no-repeat center top / cover;
}
.cta-band::after {
  bottom: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C300,70 900,0 1200,40 L1200,70 L0,70 Z' fill='%23faf8f3'/%3E%3C/svg%3E") no-repeat center bottom / cover;
}
.cta-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
}
.cta-overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(70,55,25,.55), rgba(70,55,25,.45));
}
.cta-inner { text-align: center; color: #fff; max-width: 900px; }
.cta-inner h2 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 24px; }
.cta-inner p { font-size: clamp(18px, 1.6vw, 23px); margin: 0 auto 40px; max-width: 760px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  body[data-hero="split-left"] .hero-inner { direction: ltr; }
  .hero-copy { max-width: none; text-align: center; margin: 0 auto; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-photo { aspect-ratio: 1.4 / 1; }
  .quienes-grid { grid-template-columns: 1fr; gap: 40px; }
  .quienes-copy { text-align: left; }
  .mv-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .hero { padding: 16px 0 60px; }
  .quienes { padding: 20px 0 70px; }
  .quienes-title { margin-bottom: 44px; }
  .mv-card { padding: 26px; border-radius: 30px; }
  .cta-band { padding: 90px 0; }
}

.impacto-plus {
  font-size: clamp(16px, 1.6vw, 20px) !important;
}