/* Curso a la izquierda; tres docentes juntos a la derecha.
   Una sola escena panorámica comparte el fondo, sin tarjetas ni marcos. */
.hero-san-isidro { --scene-height: clamp(440px, 40vw, 640px); background: linear-gradient(#071320d9, #071320 90%), url('/assets/marca/fondos/san-isidro-empresas.jpg') center top / cover no-repeat, #071320; padding-top: 46px; }
.hero-san-isidro::before {
  inset: 0; height: auto; z-index: -1; mask-image: none;
  background: linear-gradient(90deg, #071320f5 0%, #071320dc 31%, #071320a8 40%, transparent 48%);
}
.hero-san-isidro::after { content: ''; position: absolute; z-index: -1; inset: 0 0 auto; height: 270px; pointer-events: none; background: linear-gradient(#071320aa, #07132080 60%, transparent); }
.hero-columns { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 40px; align-items: start; }
.hero-course, .hero-faculty { min-width: 0; }
.hero-san-isidro .hero-copy { max-width: none; }
.hero-san-isidro .hero-cohort { margin-bottom: 20px; font-size: 14px; }
.hero-san-isidro h1 { font-size: clamp(56px, 5.2vw, 76px); line-height: 1.01; }
.hero-san-isidro h1 .accent { display: block; }
.hero-san-isidro .title-prefix { font-size: clamp(21px, 1.85vw, 26px); margin-bottom: 12px; }
.hero-san-isidro .hero-lead { font-size: 21px; max-width: 450px; margin: 22px 0 0; line-height: 1.55; }
.hero-san-isidro .hero-lead strong { display: block; }
.hero-san-isidro .hero-subjects { font-size: 15px; line-height: 1.7; margin-top: 18px; }
.hero-san-isidro .hero-subjects span { padding-inline: 3px; }
.hero-san-isidro .hero-offer { display: block; max-width: none; }
.hero-san-isidro .hero-facts { margin-top: 24px; flex-direction: column; gap: 13px; }
.hero-san-isidro .hero-facts p { font-size: 15px; }
.hero-san-isidro .hero-price { gap: 20px; margin-top: 28px; }
.hero-san-isidro .hero-price strong { font-size: clamp(42px, 3.5vw, 50px); }
.hero-san-isidro .hero-price > div > span { font-size: 14px; }
.hero-san-isidro .hero-price > p { font-size: 14px; padding-left: 20px; line-height: 1.7; }
.hero-san-isidro .hero-saving { font-size: 14px; margin-top: 4px; }
.hero-san-isidro .hero-actions { gap: 6px 18px; margin-top: 25px; }
.hero-san-isidro .hero-actions .btn { min-height: 56px; font-size: 16px; }
.hero-san-isidro .hero-secondary { font-size: 14px; }
.hero-san-isidro .hero-format { justify-content: flex-start; flex-wrap: wrap; margin-top: 22px; padding: 20px 0 0; gap: 16px 24px; }
.hero-san-isidro .hero-format span { font-size: 13px; }
.hero-san-isidro .hero-format b { display: block; font-size: 16px; }
.team-scene { height: calc(var(--scene-height) - 90px); }
.team-scene-image {
  position: absolute; z-index: -2; inset: 0 0 auto; width: 100%; max-width: none;
  height: var(--scene-height); object-fit: cover; object-position: center top;
  border: 0; border-radius: 0; box-shadow: none;
  mask-image: linear-gradient(#000 0%, #000 81%, transparent 100%);
}
.team-credentials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; }
.team-caption { min-width: 0; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.team-module { display: block; color: var(--cyan); font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 6px; }
.team-caption h2 { color: white; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.22; letter-spacing: -.02em; text-wrap: pretty; }
/* Un solo logo: sin la reserva vertical que necesitaban varias empresas. */
.team-caption .teacher-brands { display: flex; align-items: center; gap: 8px; min-height: 0; margin: 7px 0 4px; padding: 0; }
.team-caption .teacher-brands img { width: 132px; max-width: 100%; height: 32px; object-fit: contain; background: transparent; padding: 0; border: 0; border-radius: 0; filter: none; }
.team-role { color: white; font-size: 14px; line-height: 1.65; font-weight: 600; }
.team-current { color: #c9dce9; font-size: 14px; line-height: 1.65; margin-top: 6px; }
.team-experience { color: #dce9f3; font-size: 14px; line-height: 1.65; margin-top: 10px; }
.team-education { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 18px; }
.team-education + .team-education { margin-top: 8px; }
.team-education.education-text-only { display: block; }
.team-education .university-logo { width: 110px; padding: 0; line-height: 0; }
.team-education .university-logo img { width: 92px; height: 32px; object-fit: contain; }
.team-education > span:last-child { color: #dfecf4; font-size: 14px; line-height: 1.6; }
.team-education small { display: block; color: #b9d0e1; font-size: 12px; margin-top: 3px; }
.team-scene-note { color: #b9cfdf; font-size: 12px; line-height: 1.6; margin-top: 24px; }
.hero-san-isidro .hero-trust { margin-top: 36px; }
.photo-credit { font-size: 12px; margin-top: 12px; color: #b9cfdf; line-height: 1.6; }
.photo-credit a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1700px) {
  .hero-san-isidro .wrap { width: min(1580px, calc(100% - 96px)); }
  .hero-columns { gap: 54px; }
  .team-caption h2 { min-height: 0; }
  .team-module { min-height: 0; }
}
@media (min-width: 1024px) and (max-width: 1200px) {
  .hero-columns { gap: 30px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .hero-san-isidro .hero-price { flex-wrap: wrap; gap: 10px; }
  .hero-san-isidro .hero-price > p { padding-left: 0; border-left: 0; }
  .team-credentials { gap: 16px; }
  .team-module { min-height: 42px; }
  .team-caption h2 { font-size: 20px; min-height: 49px; }
}
@media (max-width: 1023px) {
  .hero-san-isidro { padding-top: 34px; }
  .hero-san-isidro::before { height: 900px; background: linear-gradient(#071320d9, #071320e8 70%, #071320), url('/assets/marca/fondos/san-isidro-empresas.jpg') center top / cover no-repeat; }
  .hero-san-isidro::after { display: none; }
  .hero-columns { display: flex; flex-direction: column; gap: 32px; }
  .hero-course, .hero-faculty { width: 100%; }
  .hero-san-isidro .hero-copy, .hero-san-isidro .hero-offer { max-width: 720px; }
  .hero-san-isidro h1 { font-size: clamp(48px, 8.5vw, 76px); }
  .hero-san-isidro h1 .accent { display: inline; }
  .hero-san-isidro .hero-lead { max-width: 620px; }
  .hero-san-isidro .hero-facts { flex-direction: row; gap: 20px 30px; }
  .hero-san-isidro .hero-price strong { font-size: 46px; }
  .team-scene { position: relative; width: 100vw; margin-left: calc((100% - 100vw) / 2); height: clamp(270px, 70vw, 620px); overflow: clip; }
  .team-scene-image { position: absolute; z-index: 0; width: 165%; left: -65%; height: 100%; object-fit: cover; object-position: center 15%; mask-image: linear-gradient(transparent, #000 10%, #000 81%, transparent); }
  .team-credentials { margin-top: -12px; gap: 25px; }
  .team-module { min-height: 0; font-size: 15px; }
  .team-caption h2 { font-size: 23px; min-height: 56px; }
  .team-role, .team-current, .team-experience { font-size: 15px; }
}
@media (max-width: 700px) {
  .hero-san-isidro h1 { font-size: clamp(47px, 12vw, 70px); }
  .hero-san-isidro .hero-cohort { font-size: 13px; margin-bottom: 17px; }
  .hero-san-isidro .hero-lead { font-size: 19px; }
  .hero-san-isidro .hero-subjects { font-size: 14px; }
  .hero-san-isidro .hero-facts { flex-direction: column; gap: 12px; }
  .hero-san-isidro .hero-price { gap: 12px; flex-wrap: wrap; }
  .hero-san-isidro .hero-price > p { padding-left: 0; border: 0; }
  .hero-san-isidro .hero-actions .btn { width: 100%; }
  .hero-san-isidro .hero-secondary { width: 100%; justify-content: center; }
  .team-credentials { grid-template-columns: 1fr; gap: 30px; margin-top: -5px; }
  .team-caption h2 { font-size: 27px; min-height: 0; }
  .team-module { margin-bottom: 4px; }
  .team-caption .teacher-brands { margin: 4px 0; }
  .team-caption .teacher-brands img { width: 132px; max-width: 100%; height: 32px; }
  .team-education { flex-direction: row; align-items: center; gap: 15px; margin-top: 14px; }
  .team-education .university-logo { width: 92px; flex-shrink: 0; }
  .team-education .university-logo img { width: 74px; }
  .team-education small { font-size: 13px; }
  .team-scene-note { margin-top: 24px; }
}

/* Escudo UNI a color, sin placa ni filtros que alteren sus colores. */
.team-education .university-logo .brand-uni { width: 56px; height: 64px; object-fit: contain; }
