/* =============================================================
   SECCIONES: QUIEN SOY / QUE OFRECEMOS / NIVELES
   Bloque de propuesta de valor.
   ============================================================= */


/* ---------- Quien soy ---------- */
/* =============================================
   QUIEN SOY
============================================= */
.quien-soy {
  padding: 6rem 0;
  background: var(--blanco);
}
.quien-soy .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.quien-foto-wrap { position: relative; }
.quien-foto {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-l);
  box-shadow: var(--sombra);
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}
.quien-foto:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 20px 60px rgba(13,27,110,0.30);
  filter: brightness(1.06);
}
.quien-foto-wrap::before {
  content: '';
  position: absolute;
  top: -14px; left: -14px;
  width: 70px; height: 70px;
  border-radius: var(--r-m);
  background: var(--amarillo);
  z-index: -1;
  opacity: 0.7;
}
.quien-content h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--azul-dark);
  margin-bottom: 1rem;
}
.quien-content p {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--gris-texto);
  margin-bottom: 1.1rem;
}
.quien-content p strong { color: var(--texto); }

/* Staff gatas */
.staff-foto {
  width: 100%;
  border-radius: var(--r-m);
  margin: 1.4rem 0;
  box-shadow: var(--sombra);
  object-fit: cover;
  max-height: 240px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}
.staff-foto:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 20px 60px rgba(13,27,110,0.30);
  filter: brightness(1.06);
}

.quien-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}
.chip {
  padding: 0.4em 0.9em;
  border-radius: 999px;
  font-family: var(--font-titulo);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(38,64,212,0.07);
  color: var(--azul-mid);
  border: 1px solid rgba(38,64,212,0.13);
}

/* ---------- Que ofrecemos ---------- */
/* =============================================
   QUE OFRECEMOS
============================================= */
.que-ofrecemos {
  padding: 6rem 0;
  background: linear-gradient(160deg, var(--azul-dark) 0%, #1A2DB8 60%, #0f2090 100%);
  position: relative;
  overflow: hidden;
}
.que-ofrecemos::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.que-ofrecemos-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative; z-index: 2;
}
.que-ofrecemos-header h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--blanco);
  margin-bottom: 0.7rem;
}
.que-ofrecemos-header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative; z-index: 2;
}

.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-l);
  padding: 1.75rem;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.feature-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}
.feature-icon-box {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(240,165,0,0.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.feature-icon-box svg { width: 22px; height: 22px; stroke: var(--amarillo-light); fill: none; stroke-width: 1.8; }
.feature-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
}

.feature-card.destacada {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  background: rgba(240,165,0,0.07);
  border-color: rgba(240,165,0,0.18);
}
.feature-card.destacada:hover {
  background: rgba(240,165,0,0.11);
  border-color: rgba(240,165,0,0.3);
}
.feature-card.destacada p { color: rgba(255,255,255,0.65); }
.feature-novedad {
  font-family: var(--font-titulo);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amarillo-light);
  margin-bottom: 0.45rem;
  display: block;
}

/* ── Fila destacada (2 cards iguales al final) ── */
.features-duo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.features-duo .feature-card {
  width: 100%;
  min-width: 0;
}
.features-duo .feature-card.destacada {
  grid-column: span 1;
}
@media (max-width: 640px) {
  .features-duo { grid-template-columns: 1fr; }
}

/* ---------- Niveles ---------- */
/* =============================================
   NIVELES
============================================= */
.niveles {
  padding: 6rem 0;
  background: var(--gris-bg);
}
.niveles-header {
  text-align: center;
  margin-bottom: 3rem;
}
.niveles-header h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--azul-dark);
  margin-bottom: 0.7rem;
}
.niveles-header p { font-size: 1rem; color: var(--gris-texto); }

.niveles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.nivel-card {
  background: var(--blanco);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform 0.25s, box-shadow 0.25s;
}
.nivel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(13,27,110,0.16);
}
.nivel-head {
  padding: 1.6rem 1.6rem 1.2rem;
  background: linear-gradient(135deg, var(--azul-dark), var(--azul));
}
.nivel-tag {
  font-family: var(--font-titulo);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amarillo-light);
  margin-bottom: 0.4rem;
}
.nivel-head h3 { font-size: 1.2rem; font-weight: 800; color: var(--blanco); }
.nivel-body { padding: 1.4rem 1.6rem 1.6rem; }
.nivel-temas { list-style: none; }
.nivel-temas li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.87rem;
  color: var(--gris-texto);
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--gris-bg);
}
.nivel-temas li:last-child { border-bottom: none; }
.nivel-temas li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--azul-mid);
  flex-shrink: 0;
  margin-top: 0.42rem;
}
