/* ── BECAS — estilos siguiendo la paleta de marca de Astoria Academy ── */

/* HERO */
.beca-hero {
  background: var(--gradient-dark);
  padding: 170px 60px 90px;
  text-align: center;
}
.beca-hero .section-tag { margin: 0 auto 22px; display: inline-flex; }
.beca-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.12;
  margin-bottom: 22px;
}
.beca-hero-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(246,242,232,.68);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

/* SECTIONS */
.becas-section { background: var(--cream); padding: 90px 60px; }
.becas-section--historial { background: var(--cream-dark); }

/* BECA CARD (activa) */
.beca-card {
  max-width: 900px;
  margin: 48px auto 0;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.beca-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.beca-badge--activa { background: rgba(47,125,79,.12); color: #2f7d4f; border: 1px solid rgba(47,125,79,.3); }
.beca-badge--cerrada { background: rgba(107,71,80,.1); color: var(--text-mid); border: 1px solid rgba(107,71,80,.2); }

.beca-card-desc {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 30px;
}
.beca-card-desc strong { color: var(--steel); }

.beca-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.beca-requisitos {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.beca-requisitos li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
}
.beca-requisitos li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

.beca-note {
  background: var(--cream);
  border: 1px solid rgba(200,169,106,.3);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-bottom: 30px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.65;
}
.beca-note strong { color: var(--steel); }

.beca-apply-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  padding: 18px 30px;
  margin-bottom: 14px;
}
.beca-apply-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-mid);
  text-align: center;
  line-height: 1.5;
}

/* TÉRMINOS Y CONDICIONES (details/summary) */
.beca-terms {
  margin-top: 34px;
  border-top: 1px solid rgba(122,27,41,.1);
  padding-top: 24px;
}
.beca-terms summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 8px;
}
.beca-terms summary::-webkit-details-marker { display: none; }
.beca-terms summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--white);
  background: var(--accent);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform .3s;
}
.beca-terms[open] summary::after { transform: rotate(45deg); }
.beca-terms-body {
  margin-top: 24px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 12px;
}
.beca-terms-body h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 22px 0 8px;
}
.beca-terms-body h4:first-child { margin-top: 0; }
.beca-terms-body p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* HISTORIAL */
.becas-historial-list {
  max-width: 900px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.beca-historial-item {
  background: var(--white);
  border: 1px solid rgba(122,27,41,.08);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  opacity: .85;
  transition: transform .3s, box-shadow .3s, opacity .3s;
}
.beca-historial-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  opacity: 1;
}
.beca-historial-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.beca-historial-item p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .beca-hero { padding: 130px 20px 60px; }
  .becas-section { padding: 60px 20px; }
  .beca-card { padding: 28px 22px; }
  .becas-historial-list { grid-template-columns: 1fr; }
}
