
    :root {
      --bg:#fbf4f5;
      --navy:#11175f;
      --text:#25295f;
      --muted:#565b7c;
      --violet:#7b2cbf;
      --line:#dedfec;
      --white:#ffffff;
      --radius:34px;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
      background:var(--bg);
      color:var(--text);
      -webkit-font-smoothing:antialiased;
    }
    a{color:inherit;text-decoration:none}
    .container{width:min(1440px,calc(100% - 56px));margin:auto}
    .nav{
      height:76px;
      display:flex;
      align-items:center;
      border-bottom:1px solid rgba(17,23,95,.08);
      background:rgba(251,244,245,.92);
      backdrop-filter:blur(14px);
      position:sticky;top:0;z-index:20;
    }
    .nav-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
    .brand{
      font-family:Georgia,"Times New Roman",serif;
      font-size:23px;color:var(--navy)
    }
    .nav-links{display:flex;align-items:center;gap:28px;font-size:14px}
    .nav-links a{color:#5d6080}
    .nav-cta{
      display:inline-flex;align-items:center;justify-content:center;
      min-height:48px;padding:0 22px;border-radius:999px;
      background:var(--navy);color:white!important;font-weight:700
    }
    .hero{padding:42px 0 68px}
    .hero-grid{
      display:grid;
      grid-template-columns:minmax(0,1.16fr) minmax(420px,.84fr);
      gap:56px;
      align-items:center;
    }
    .hero-copy{
      padding:20px 0;
      display:flex;flex-direction:column;justify-content:center;
      max-width:760px;
    }

    h1{
      margin:0 0 28px;
      max-width:760px;
      font-family:Georgia,"Times New Roman",serif;
      font-size:clamp(46px,4.25vw,66px);
      line-height:1.03;
      letter-spacing:-.045em;
      font-weight:400;
      color:var(--navy);
    }
    .hero-copy p{
      margin:0 0 18px;
      max-width:640px;
      font-size:18px;
      line-height:1.62;
      color:#454a74;
    }
    .hero-copy strong{color:var(--navy)}
    .lead-question{
      margin:0 0 24px!important;
      max-width:620px!important;
      font-family:Georgia,"Times New Roman",serif;
      font-size:24px!important;
      line-height:1.35!important;
      color:var(--navy)!important;
    }
    .closing{
      margin-top:10px!important;
      font-family:Georgia,"Times New Roman",serif;
      font-size:22px!important;
      line-height:1.45!important;
      color:var(--navy)!important;
    }
    .hero-image{
      width:min(100%,620px);
      height:640px;
      min-height:0;
      align-self:center;
      justify-self:end;
      overflow:hidden;
      border-radius:34px;
      background:#b6368e;
      box-shadow:0 25px 60px rgba(17,23,95,.10);
    }
    .hero-image img{
      width:100%;height:100%;
      object-fit:cover;
      object-position:center;
      display:block;
    }
    .hero-image img[src*="hero-conexion-optimized.webp"]{object-position:center 38%}
    .small-note{
      margin-top:18px;
      font-size:11px;
      color:#8c8da2;
    }
    @media(max-width:980px){
      .hero-grid{grid-template-columns:1fr;gap:32px}
      .hero-copy{padding:12px 0 0;max-width:720px}
      .hero-image{height:500px;width:100%;max-width:none;justify-self:stretch}
      .nav-links a:not(.nav-cta){display:none}
    }
    @media(max-width:620px){
      .container{width:min(100% - 28px,1440px)}
      .hero{padding:28px 0 48px}
      .hero-copy{padding:0}
      h1{font-size:clamp(40px,12vw,48px);margin-bottom:22px}
      .hero-copy p{font-size:16px}
      .lead-question{font-size:21px!important;margin-bottom:18px!important}
      .closing{font-size:19px!important;margin-top:4px!important}
      .hero-image{height:auto;aspect-ratio:4/5;border-radius:26px}
      .hero-image img[src*="hero-conexion-optimized.webp"]{object-position:center 34%}
    }
  
    /* Storytelling + autoridad */
    .authority-story{
      padding:34px 0 112px;
    }
    .authority-panel{
      background:#11175f;
      border-radius:38px;
      padding:58px 48px 46px;
      color:#fff;
      overflow:hidden;
      position:relative;
    }
    .authority-panel::after{
      content:"";
      position:absolute;
      width:420px;
      height:420px;
      border-radius:50%;
      background:rgba(168,95,255,.13);
      right:-130px;
      top:-170px;
      pointer-events:none;
    }
    .authority-intro{
      position:relative;
      z-index:1;
      display:grid;
      grid-template-columns:.95fr 1.05fr;
      gap:68px;
      align-items:end;
      margin-bottom:42px;
    }
    .authority-intro h2{
      margin:0;
      max-width:580px;
      font-family:Georgia,"Times New Roman",serif;
      font-weight:400;
      font-size:clamp(40px,3.6vw,50px);
      line-height:1.02;
      letter-spacing:-.04em;
      color:#fff;
    }
    .authority-copy{
      display:grid;
      gap:18px;
      max-width:540px;
    }
    .authority-copy p{
      margin:0;
      color:rgba(255,255,255,.76);
      font-size:18px;
      line-height:1.62;
    }
    .authority-copy strong{color:#fff}
    .authority-grid{
      position:relative;
      z-index:1;
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:14px;
    }
    .authority-card{
      min-height:136px;
      border-radius:24px;
      padding:22px 20px 18px;
      background:#fbf4f5;
      color:#11175f;
      display:flex;
      flex-direction:column;
      justify-content:space-between;
      border:1px solid rgba(255,255,255,.08);
      transition:transform .28s ease, box-shadow .28s ease;
    }
    .authority-card:hover{
      transform:translateY(-5px);
      box-shadow:0 18px 40px rgba(0,0,0,.13);
    }
    .authority-number{
      font-family:Georgia,"Times New Roman",serif;
      font-size:clamp(34px,3vw,48px);
      line-height:1;
      letter-spacing:-.045em;
      color:#11175f;
    }
    .authority-label{
      margin-top:18px;
      font-size:13px;
      line-height:1.4;
      font-weight:700;
      color:#4b4f76;
    }
    .authority-card.featured{
      background:#efe8ff;
    }
    @media(max-width:980px){
      .authority-intro{grid-template-columns:1fr;gap:20px;margin-bottom:34px}
      .authority-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .authority-panel{padding:48px 34px 36px}
    }
    @media(max-width:620px){
      .authority-story{padding:14px 0 68px}
      .authority-panel{border-radius:28px;padding:34px 16px 18px}
      .authority-intro{margin-bottom:24px}
      .authority-intro h2{font-size:38px}
      .authority-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
      .authority-card{min-height:104px;border-radius:18px;padding:16px 13px 13px}
      .authority-number{font-size:31px}
      .authority-label{margin-top:10px;font-size:11px;line-height:1.3}
      .authority-copy p{font-size:16px}
    }

  
    .director-message{
      padding:8px 0 118px;
    }
    .director-shell{
      display:grid;
      grid-template-columns:minmax(360px, .82fr) minmax(0,1.18fr);
      gap:46px;
      align-items:center;
      background:#fff;
      border:1px solid #e7e6f2;
      border-radius:38px;
      padding:34px 34px 34px 22px;
      box-shadow:0 22px 60px rgba(17,23,95,.06);
      overflow:hidden;
    }
    .director-visual{
      position:relative;
      min-height:660px;
      display:flex;
      align-items:flex-end;
      justify-content:center;
      background:#bab8b7;
      border-radius:32px;
      overflow:hidden;
      isolation:isolate;
    }
    .director-visual::before{
      content:"";
      position:absolute;
      width:420px;
      height:420px;
      border-radius:50%;
      background:radial-gradient(circle at center, rgba(123,44,191,.18), rgba(123,44,191,0) 70%);
      left:50%;
      top:110px;
      transform:translateX(-50%);
      z-index:-1;
      filter:blur(2px);
    }
    .director-visual::after{
      content:"";
      position:absolute;
      inset:auto 40px 22px 40px;
      height:30px;
      border-radius:999px;
      background:rgba(17,23,95,.08);
      filter:blur(10px);
      z-index:-1;
    }
    .director-visual img{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      object-fit:cover;
      object-position:center center;
      transform:none;
    }
    .director-copy{
      padding:18px 14px 18px 6px;
      max-width:720px;
    }
    .director-kicker{
      margin:0 0 16px;
      font-size:12px;
      font-weight:800;
      text-transform:uppercase;
      letter-spacing:.16em;
      color:#7b2cbf;
    }
    .director-copy h2{
      margin:0 0 22px;
      font-family:Georgia,"Times New Roman",serif;
      font-size:clamp(34px,3.9vw,54px);
      line-height:1.02;
      letter-spacing:-.04em;
      font-weight:400;
      color:#11175f;
    }
        .director-copy p{
      margin:0 0 14px;
      font-size:17px;
      line-height:1.58;
      color:#565b7c;
    }
    .director-copy strong{
      color:#11175f;
    }
    .director-signature{
      margin-top:26px;
      padding-top:20px;
      border-top:1px solid #e3e4ee;
    }
    .director-name{
      margin:0 0 8px;
      font-size:22px;
      line-height:1.45;
      color:#11175f;
      font-weight:700;
    }
    .director-role{
      margin:0;
      color:#565b7c;
      font-weight:600;
    }
    .director-signature p:last-child{
      margin-bottom:0;
    }
    @media(max-width:980px){
      .director-shell{
        grid-template-columns:1fr;
        padding:24px;
      }
      .director-visual{
        min-height:520px;
      }
      .director-copy{
        padding:8px 2px 8px 2px;
      }
    }
    @media(max-width:620px){
      .director-message{
        padding:0 0 82px;
      }
      .director-shell{
        border-radius:28px;
        padding:14px;
      }
      .director-visual{
        min-height:420px;
        border-radius:24px;
      }
      .director-copy h2{
        font-size:40px;
      }
      .director-quote{
        font-size:24px;
      }
      .director-copy p{
        font-size:16px;
      }
    }


    /* Profesores — carrusel */
    .teachers-section{
      padding:0 0 118px;
      overflow:hidden;
    }
    .teachers-head{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:60px;
      align-items:start;
      margin-bottom:42px;
    }
    .teachers-head h2{
      margin:0;
      font-family:Georgia,"Times New Roman",serif;
      font-size:clamp(42px,4.8vw,66px);
      line-height:1;
      letter-spacing:-.04em;
      font-weight:400;
      color:#11175f;
    }
    .teachers-head p{
      margin:6px 0 0 auto;
      max-width:520px;
      font-size:19px;
      line-height:1.5;
      color:#343965;
    }
    .teachers-carousel-wrap{
      position:relative;
    }
    .teachers-carousel{
      display:grid;
      grid-auto-flow:column;
      grid-auto-columns:calc((100% - 36px)/3);
      gap:18px;
      overflow-x:auto;
      overflow-y:hidden;
      overscroll-behavior-x:auto;
      overscroll-behavior-y:auto;
      scroll-snap-type:x proximity;
      scroll-behavior:auto;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
      padding:2px 2px 10px;
    }
    .teachers-carousel::-webkit-scrollbar{display:none}
    .teacher-card{
      position:relative;
      aspect-ratio:.83;
      min-height:500px;
      border-radius:30px;
      overflow:hidden;
      scroll-snap-align:start;
      scroll-snap-stop:normal;
      background:#ececf4;
      isolation:isolate;
      cursor:default;
      transform:translateY(24px);
      opacity:0;
      transition:
        transform .65s cubic-bezier(.22,1,.36,1),
        opacity .65s ease,
        box-shadow .3s ease;
    }
    .teacher-card.in-view{
      transform:none;
      opacity:1;
    }
    .teacher-card:nth-child(2){transition-delay:.08s}
    .teacher-card:nth-child(3){transition-delay:.16s}
    .teacher-card:nth-child(4){transition-delay:.24s}
    .teacher-card:nth-child(5){transition-delay:.32s}
    .teacher-card:nth-child(6){transition-delay:.40s}
    .teacher-card:hover{
      box-shadow:0 24px 56px rgba(17,23,95,.14);
    }
    .teacher-photo{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      object-fit:cover;
      transition:transform .6s cubic-bezier(.22,1,.36,1),filter .4s ease;
    }
    .teacher-placeholder{
      position:absolute;
      inset:0;
      display:grid;
      place-items:center;
      background:
        radial-gradient(circle at 50% 28%, rgba(255,255,255,.76) 0 13%, transparent 13.5%),
        radial-gradient(ellipse at 50% 71%, rgba(255,255,255,.62) 0 26%, transparent 26.5%),
        linear-gradient(145deg,#d9d7f2 0%,#f4eaf8 52%,#d4e7ef 100%);
      transition:transform .6s cubic-bezier(.22,1,.36,1),filter .4s ease;
    }
    .teacher-card:nth-child(2) .teacher-placeholder{
      background:
        radial-gradient(circle at 50% 28%, rgba(255,255,255,.72) 0 13%, transparent 13.5%),
        radial-gradient(ellipse at 50% 71%, rgba(255,255,255,.58) 0 26%, transparent 26.5%),
        linear-gradient(145deg,#e7def5,#dcebf0);
    }
    .teacher-card:nth-child(3) .teacher-placeholder{
      background:
        radial-gradient(circle at 50% 28%, rgba(255,255,255,.74) 0 13%, transparent 13.5%),
        radial-gradient(ellipse at 50% 71%, rgba(255,255,255,.58) 0 26%, transparent 26.5%),
        linear-gradient(145deg,#dbe9ee,#ece0f4);
    }
    .teacher-card:nth-child(4) .teacher-placeholder{
      background:
        radial-gradient(circle at 50% 28%, rgba(255,255,255,.74) 0 13%, transparent 13.5%),
        radial-gradient(ellipse at 50% 71%, rgba(255,255,255,.58) 0 26%, transparent 26.5%),
        linear-gradient(145deg,#eee4f6,#d9e2f2);
    }
    .teacher-card:hover .teacher-photo,
    .teacher-card:hover .teacher-placeholder,
    .teacher-card.active .teacher-photo,
    .teacher-card.active .teacher-placeholder{
      transform:scale(1.045);
      filter:saturate(.92) brightness(.72);
    }
    .teacher-base{
      position:absolute;
      inset:auto 0 0;
      z-index:2;
      padding:74px 24px 24px;
      background:linear-gradient(to top,rgba(7,13,65,.80),rgba(7,13,65,0));
      color:#fff;
      transition:opacity .28s ease;
    }
    .teacher-name{
      margin:0;
      font-size:25px;
      line-height:1.1;
      font-weight:700;
      letter-spacing:-.025em;
    }
    .teacher-role{
      margin:7px 0 0;
      font-size:14px;
      line-height:1.35;
      color:rgba(255,255,255,.78);
    }
    .teacher-overlay{
      position:absolute;
      inset:0;
      z-index:3;
      display:flex;
      flex-direction:column;
      justify-content:flex-end;
      padding:30px;
      background:linear-gradient(180deg,rgba(17,23,95,.10),rgba(17,23,95,.94));
      color:#fff;
      opacity:0;
      transform:translateY(14px);
      transition:opacity .35s ease,transform .45s cubic-bezier(.22,1,.36,1);
    }
    .teacher-card:hover .teacher-overlay,
    .teacher-card.active .teacher-overlay{
      opacity:1;
      transform:none;
    }
    .teacher-card:hover .teacher-base,
    .teacher-card.active .teacher-base{
      opacity:0;
    }
    .teacher-overlay .mini{
      margin:0 0 10px;
      font-size:11px;
      letter-spacing:.15em;
      text-transform:uppercase;
      font-weight:800;
      color:#d5b9ff;
    }
    .teacher-overlay h3{
      margin:0 0 13px;
      font-size:28px;
      line-height:1.05;
      color:#fff;
      letter-spacing:-.025em;
    }
    .teacher-overlay p{
      margin:0;
      max-width:330px;
      font-size:16px;
      line-height:1.5;
      color:rgba(255,255,255,.86);
    }


    .teacher-authority{
      margin:0 0 15px !important;
      max-width:335px;
      color:rgba(255,255,255,.94) !important;
      font-size:13px !important;
      line-height:1.45 !important;
      font-weight:650;
    }

    .teacher-details{
      display:grid;
      gap:14px;
      max-width:335px;
    }
    .teacher-detail{
      display:grid;
      gap:4px;
    }
    .teacher-detail-title{
      margin:0;
      font-size:12px;
      line-height:1.25;
      letter-spacing:0;
      text-transform:none;
      font-weight:700;
      color:#d5b9ff;
    }
    .teacher-detail-copy{
      margin:0 !important;
      font-size:13.5px !important;
      line-height:1.42 !important;
      color:rgba(255,255,255,.88) !important;
    }
    .teacher-song{
      font-style:italic;
    }

    .teachers-controls{
      display:flex;
      justify-content:flex-end;
      gap:10px;
      margin-top:22px;
    }
    .carousel-btn{
      width:52px;
      height:52px;
      border:1px solid #d8d9e6;
      border-radius:50%;
      background:#fff;
      color:#11175f;
      font-size:24px;
      cursor:pointer;
      transition:transform .2s ease,background .2s ease,border-color .2s ease;
    }
    .carousel-btn:hover{
      transform:translateY(-2px);
      background:#f0eaff;
      border-color:#cbb9e8;
    }
    @media(max-width:980px){
      .teachers-head{grid-template-columns:1fr;gap:16px}
      .teachers-head p{margin:0;max-width:650px}
      .teachers-carousel{grid-auto-columns:calc((100% - 18px)/2)}
    }
    @media(max-width:620px){
      .teachers-section{padding-bottom:82px}
      .teachers-carousel{
        grid-auto-columns:calc((100% - 12px)/2);
        gap:12px;
      }
      .teacher-card{
        min-height:330px;
        border-radius:20px;
      }
      .teacher-base{padding:58px 15px 16px}
      .teacher-name{font-size:20px}
      .teacher-role{font-size:11px}
      .teacher-overlay{padding:24px}
      .teachers-controls{justify-content:flex-start}
    }


    /* Casos de éxito — integrado a la línea visual actual */
    .success-stories{
      padding:100px 0 112px;
      background:#fbf4f5;
      color:#11175f;
      overflow:hidden;
    }
    .success-stories .container{
      width:min(1500px,calc(100% - 44px));
    }
    .success-head{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:60px;
      align-items:start;
      margin-bottom:42px;
    }
    .success-title{
      margin:0;
      font-family:Georgia,"Times New Roman",serif;
      font-size:clamp(42px,4.8vw,66px);
      line-height:1;
      letter-spacing:-.04em;
      font-weight:400;
      color:#11175f;
    }
    .success-head p{
      margin:6px 0 0 auto;
      max-width:520px;
      font-size:19px;
      line-height:1.5;
      color:#343965;
    }
    .success-viewport{
      position:relative;
      overflow:hidden;
      padding:10px 0 14px;
    }
    .success-track{
      display:flex;
      gap:20px;
      width:max-content;
      will-change:transform;
      animation:successAuto 28s linear infinite;
    }
    .success-viewport:hover .success-track{
      animation-play-state:paused;
    }
    @keyframes successAuto{
      from{transform:translateX(0)}
      to{transform:translateX(calc(-50% - 10px))}
    }
    .success-card{
      position:relative;
      flex:0 0 240px;
      width:240px;
      height:600px;
      border-radius:32px;
      overflow:hidden;
      background:#e7e5ec;
      isolation:isolate;
      border:1px solid #e2e1eb;
      box-shadow:0 16px 34px rgba(17,23,95,.08);
      transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;
    }
    .success-card:hover{
      transform:translateY(-7px);
      box-shadow:0 26px 50px rgba(17,23,95,.14);
    }
    .success-photo{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      object-fit:cover;
      filter:grayscale(.15);
      transition:transform .6s cubic-bezier(.22,1,.36,1),filter .4s ease;
    }
    .success-placeholder{
      position:absolute;
      inset:0;
      background:
        radial-gradient(circle at 50% 26%,rgba(255,255,255,.92) 0 12%,transparent 12.5%),
        radial-gradient(ellipse at 50% 68%,rgba(255,255,255,.78) 0 30%,transparent 30.5%),
        linear-gradient(145deg,#d8d5ea 0%,#f1e7f3 52%,#d8e5ec 100%);
      transition:transform .6s cubic-bezier(.22,1,.36,1),filter .4s ease;
    }
    .success-card:nth-child(3n+2) .success-placeholder{
      background:
        radial-gradient(circle at 50% 26%,rgba(255,255,255,.90) 0 12%,transparent 12.5%),
        radial-gradient(ellipse at 50% 68%,rgba(255,255,255,.74) 0 30%,transparent 30.5%),
        linear-gradient(145deg,#e7def5,#dcebf0);
    }
    .success-card:nth-child(3n+3) .success-placeholder{
      background:
        radial-gradient(circle at 50% 25%,rgba(255,255,255,.90) 0 12%,transparent 12.5%),
        radial-gradient(ellipse at 50% 69%,rgba(255,255,255,.74) 0 30%,transparent 30.5%),
        linear-gradient(145deg,#dbe9ee,#ece0f4);
    }
    .success-card::after{
      content:"";
      position:absolute;
      inset:0;
      z-index:1;
      background:linear-gradient(to top,rgba(11,18,96,.84) 0%,rgba(11,18,96,.15) 38%,rgba(11,18,96,0) 68%);
      pointer-events:none;
    }
    .success-card:hover .success-photo,
    .success-card:hover .success-placeholder{
      transform:scale(1.045);
      filter:brightness(.72);
    }
    .success-info{
      position:absolute;
      left:22px;
      right:22px;
      bottom:24px;
      z-index:3;
      color:#fff;
      transition:opacity .28s ease,transform .35s ease;
    }
    .success-info h3{
      margin:0;
      font-size:27px;
      line-height:1.06;
      font-weight:600;
      letter-spacing:-.035em;
      color:#fff;
    }
    .success-info p{
      margin:8px 0 0;
      font-size:13px;
      line-height:1.35;
      color:rgba(255,255,255,.80);
    }
    .success-hover{
      position:absolute;
      inset:0;
      z-index:4;
      display:flex;
      flex-direction:column;
      justify-content:flex-end;
      padding:30px 22px 32px;
      background:linear-gradient(to top,rgba(11,18,96,.96),rgba(84,37,139,.50) 60%,rgba(123,44,191,.08));
      opacity:0;
      transform:translateY(16px);
      transition:opacity .35s ease,transform .42s cubic-bezier(.22,1,.36,1);
    }
    .success-hover .mini{
      margin:0 0 10px;
      color:#e3cdf7;
      font-size:11px;
      letter-spacing:.15em;
      text-transform:uppercase;
      font-weight:800;
    }
    .success-hover .mini{display:none}
    .success-hover h3{
      margin:0 0 12px;
      color:#fff;
      font-size:28px;
      line-height:1.05;
      letter-spacing:-.035em;
    }
    .success-hover p{
      margin:0;
      color:rgba(255,255,255,.90);
      font-size:15px;
      line-height:1.48;
    }
    .success-card:hover .success-hover{
      opacity:1;
      transform:none;
    }
    .success-card:hover .success-info{
      opacity:0;
      transform:translateY(10px);
    }
    .success-fade-left,.success-fade-right{
      position:absolute;
      top:0;
      bottom:0;
      width:90px;
      z-index:6;
      pointer-events:none;
    }
    .success-fade-left{left:0;background:linear-gradient(to right,#fbf4f5,transparent)}
    .success-fade-right{right:0;background:linear-gradient(to left,#fbf4f5,transparent)}
    @media(max-width:900px){
      .success-card{width:215px;flex-basis:215px;height:550px}
      .success-track{animation-duration:24s}
    }
    @media(max-width:620px){
      .success-stories{padding:72px 0 84px}
      .success-stories .container{width:min(100% - 22px,1500px)}
      .success-head{grid-template-columns:1fr;gap:16px;margin-bottom:38px}
      .success-head p{margin:0;max-width:650px}
      .success-title{font-size:40px}
      .success-card{width:190px;flex-basis:190px;height:500px;border-radius:28px}
      .success-info{left:18px;right:18px;bottom:20px}
      .success-info h3{font-size:24px}
      .success-hover{padding:24px 18px 26px}
      .success-fade-left,.success-fade-right{width:36px}
    }

    /* Galería de casos: retratos uniformes, inspirada en la referencia visual. */
    .success-stories{
      background:#f5f2ef;
      color:#11175f;
      padding:92px 0 100px;
    }
    .success-title{color:#11175f}
    .success-head p{color:#5e5d68}
    .success-viewport{padding:6px 0 10px}
    .success-track{gap:18px;animation-duration:34s}
    .success-card{
      flex-basis:250px;
      width:250px;
      height:625px;
      border:0;
      border-radius:34px;
      background:#e7e2dd;
      box-shadow:none;
    }
    .success-card::after{
      background:linear-gradient(to top,rgba(17,23,95,.86) 0%,rgba(17,23,95,.22) 29%,rgba(17,23,95,0) 57%);
    }
    .success-photo{
      filter:none;
      object-fit:contain;
      object-position:center bottom;
    }
    /* Andrew y Romina pasan a plano medio como los demás casos de éxito. */
    .success-photo[src*="andrew-fullbody.webp"]{
      object-position:center top;
      transform:translateY(14%) scale(1.45);
      transform-origin:center top;
    }
    .success-photo[src*="romina.webp"]{
      object-position:center top;
      transform:translateY(7%) scale(1.76) scaleY(1.05);
      transform-origin:center top;
    }
    .success-photo[src*="cesar.webp"]{
      transform:translateY(60px);
    }
    .success-card:hover{transform:none;box-shadow:0 22px 46px rgba(17,23,95,.22)}
    .success-card:hover .success-photo{transform:none;filter:none}
    .success-card:hover .success-photo[src*="andrew-fullbody.webp"]{transform:translateY(14%) scale(1.45)}
    .success-card:hover .success-photo[src*="romina.webp"]{transform:translateY(7%) scale(1.76) scaleY(1.05)}
    .success-card:hover .success-photo[src*="cesar.webp"]{transform:translateY(60px)}
    .success-info{left:24px;right:24px;bottom:28px}
    .success-info h3{
      font-size:33px;
      font-weight:500;
      letter-spacing:-.045em;
    }
    .success-info p{display:none}
    .success-hover{display:flex}
    .success-fade-left{background:linear-gradient(to right,#f5f2ef,transparent)}
    .success-fade-right{background:linear-gradient(to left,#f5f2ef,transparent)}
    @media(max-width:900px){
      .success-card{width:220px;flex-basis:220px;height:550px}
    }
    @media(max-width:620px){
      .success-stories{padding:70px 0 76px}
      .success-card{width:190px;flex-basis:190px;height:475px;border-radius:28px}
      .success-info{left:18px;right:18px;bottom:22px}
      .success-info h3{font-size:27px}
    }

    /* Cierre de casos de éxito */
    .success-page-cta{
      padding:0 0 96px;
      background:#f5f2ef;
    }
    .success-page-cta-box{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:32px;
      padding:clamp(38px,5vw,68px);
      border-radius:34px;
      background:linear-gradient(125deg,#11175f 0%,#2d216f 57%,#7b2cbf 140%);
      box-shadow:0 24px 52px rgba(17,23,95,.16);
    }
    .success-page-cta-box h2{
      max-width:720px;
      margin:0;
      color:#fff;
      font-family:Georgia,"Times New Roman",serif;
      font-size:clamp(32px,3.7vw,56px);
      line-height:1.04;
      font-weight:400;
      letter-spacing:-.045em;
    }
    .success-page-cta-button{
      display:inline-flex;
      flex:0 0 auto;
      align-items:center;
      justify-content:center;
      gap:14px;
      min-height:58px;
      padding:0 28px;
      border-radius:999px;
      background:#fff;
      color:#11175f;
      font-size:14px;
      font-weight:800;
      letter-spacing:.07em;
      text-decoration:none;
      text-transform:uppercase;
      transition:transform .22s ease,box-shadow .22s ease,background .22s ease;
    }
    .success-page-cta-button span{font-size:21px;line-height:1;transition:transform .22s ease}
    .success-page-cta-button:hover{
      background:#f2ddff;
      box-shadow:0 12px 26px rgba(0,0,0,.18);
      transform:translateY(-2px);
    }
    .success-page-cta-button:hover span{transform:translateX(3px)}
    @media(max-width:760px){
      .success-page-cta{padding-bottom:74px}
      .success-page-cta-box{align-items:flex-start;flex-direction:column;gap:28px;border-radius:28px}
      .success-page-cta-button{width:100%}
    }



  
    
/* Shared site footer — brand left, navigation center, contact right */
.site-footer{
  background:#f7f6f4;
  color:#11175f;
  margin-top:0;
  border-top:1px solid rgba(17,23,95,.08);
}
.teachers-cta{display:flex;justify-content:center;margin-top:34px}.teachers-cta .btn{min-width:220px;justify-content:center}
.about-final-cta{padding:28px 0 72px;background:var(--bg)}
.about-final-cta-inner{max-width:1120px;padding:56px clamp(24px,6vw,76px);border-radius:30px;background:var(--navy);color:#fff;text-align:center}
.about-final-cta .eyebrow{margin:0 0 12px;color:#d9bdff;letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:800}
.about-final-cta h2{max-width:760px;margin:0 auto;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,5vw,68px);line-height:.96;font-weight:400;letter-spacing:-.045em}
.about-final-cta p:not(.eyebrow){max-width:580px;margin:20px auto 0;color:rgba(255,255,255,.84);font-size:18px;line-height:1.55}
.about-final-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:54px;margin-top:28px;padding:0 30px;border:1px solid #fff;border-radius:999px;background:#fff;color:var(--navy);font-size:13px;font-weight:800;letter-spacing:.04em;text-decoration:none;text-transform:uppercase}
@media(max-width:620px){.about-final-cta{padding:18px 0 48px}.about-final-cta-inner{padding:42px 22px;border-radius:24px}.about-final-cta h2{font-size:42px}.about-final-cta p:not(.eyebrow){margin-top:16px;font-size:16px}.about-final-cta a{width:100%;margin-top:24px}}
.footer-main{
  padding:70px 24px 28px;
}
.footer-shell{
  width:min(1240px,calc(100% - 32px));
  margin:0 auto;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.25fr .68fr .82fr .78fr 1.05fr;
  gap:46px;
  align-items:start;
}
.footer-brand-block{
  max-width:440px;
}
.footer-brand{
  margin:0 0 14px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:48px;
  line-height:.95;
  letter-spacing:-.045em;
  font-weight:400;
  color:#11175f;
}
.footer-tagline{
  margin:0;
  max-width:430px;
  color:#66656d;
  font-size:18px;
  line-height:1.55;
}
.footer-socials{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:28px;
}
.footer-socials a{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#11175f;
  background:#fff;
  border:1px solid rgba(17,23,95,.12);
  text-decoration:none;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.footer-socials a:hover{
  transform:translateY(-2px);
  background:#efe8ff;
  border-color:#d7c8ee;
}
.footer-socials svg{width:19px;height:19px}
.footer-col h3,
.footer-contact h3{
  margin:0 0 18px;
  color:#11175f;
  font-size:13px;
  line-height:1;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.footer-links{
  display:flex;
  flex-direction:column;
  gap:11px;
}
.footer-links a{
  width:max-content;
  max-width:100%;
  color:#66656d;
  text-decoration:none;
  font-size:15.5px;
  line-height:1.42;
  transition:color .2s ease,transform .2s ease;
}
.footer-links a:hover{
  color:#7b2cbf;
  transform:translateX(2px);
}
.footer-contact{
  justify-self:end;
  width:min(100%,320px);
}
.footer-contact-list{
  display:grid;
  gap:12px;
}
.footer-contact-list a,
.footer-contact-list div{
  color:#66656d;
  font-size:16px;
  line-height:1.5;
  text-decoration:none;
}
.footer-contact-list a:hover{color:#7b2cbf}
.footer-bottom{
  margin-top:58px;
  padding-top:20px;
  border-top:1px solid rgba(17,23,95,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#8b8993;
  font-size:12px;
  line-height:1.5;
}
.footer-legal{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}
.footer-legal a{
  color:inherit;
  text-decoration:none;
}
@media(max-width:1050px){
  .footer-grid{
    grid-template-columns:1.2fr .8fr .8fr;
  }
  .footer-contact{
    grid-column:auto;
    justify-self:start;
    width:100%;
  }
  .footer-contact-list{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
  }
}
@media(max-width:760px){
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand-block{grid-column:1/-1}
  .footer-contact{grid-column:1/-1}
  .footer-contact-list{grid-template-columns:1fr}
}
@media(max-width:520px){
  .footer-main{padding:54px 14px 24px}
  .footer-shell{width:min(100% - 8px,1240px)}
  .footer-grid{grid-template-columns:1fr;gap:34px}
  .footer-brand-block,.footer-contact{grid-column:auto}
  .footer-brand{font-size:42px}
  .footer-tagline{font-size:17px}
  .footer-bottom{
    margin-top:42px;
    flex-direction:column;
    align-items:flex-start;
  }
}


/* Unified premium navigation — desktop links + mobile menu */
.site-nav{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.97);
  color:#11175f;
  border-top:4px solid #7b2cbf;
  border-bottom:1px solid rgba(17,23,95,.10);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.site-nav-inner{
  min-height:86px;
  max-width:1500px;
  margin:0 auto;
  padding:0 24px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:30px;
}
.nav-brand{
  color:#11175f;
  text-decoration:none;
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  line-height:1;
  letter-spacing:-.045em;
  white-space:nowrap;
}
.desktop-nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:25px;
  min-width:0;
}
.desktop-nav > a,
.more-trigger{
  color:#11175f;
  text-decoration:none;
  font-size:13px;
  line-height:1;
  font-weight:750;
  white-space:nowrap;
  background:transparent;
  border:0;
  padding:14px 0;
  cursor:pointer;
  font-family:inherit;
  position:relative;
}
.desktop-nav > a::after,
.more-trigger::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:7px;
  height:1px;
  background:#7b2cbf;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .22s ease;
}
.desktop-nav > a:hover::after,
.more-wrap:hover .more-trigger::after{
  transform:scaleX(1);
}
.more-wrap{
  position:relative;
}
.more-trigger{
  display:flex;
  align-items:center;
  gap:6px;
}
.more-trigger .chev{
  font-size:11px;
  transition:transform .2s ease;
}
.more-wrap:hover .chev{
  transform:rotate(180deg);
}
.more-menu{
  position:absolute;
  top:calc(100% + 8px);
  right:-18px;
  width:240px;
  padding:10px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(17,23,95,.10);
  box-shadow:0 22px 50px rgba(17,23,95,.14);
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
}
.more-wrap:hover .more-menu,
.more-wrap:focus-within .more-menu{
  opacity:1;
  visibility:visible;
  transform:none;
}
.more-menu a{
  display:block;
  padding:12px 13px;
  border-radius:12px;
  color:#343965;
  text-decoration:none;
  font-size:14px;
  line-height:1.35;
}
.more-menu a:hover{
  background:#f5f0fb;
  color:#7b2cbf;
}
.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav-action{
  min-height:50px;
  padding:0 22px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:12px;
  line-height:1;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.nav-action.primary{
  background:#11175f;
  color:#fff;
  border:1.5px solid #7b2cbf;
  box-shadow:0 8px 20px rgba(17,23,95,.12);
}
.nav-action.primary:hover{
  transform:translateY(-2px);
  background:#252c84;
}
.menu-trigger{
  display:none;
  width:max-content;
  border:0;
  background:transparent;
  color:#11175f;
  padding:8px 2px;
  align-items:center;
  gap:12px;
  font:inherit;
  font-size:14px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
}
.hamburger{
  width:30px;
  height:22px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.hamburger span{
  display:block;
  width:100%;
  height:3px;
  border-radius:999px;
  background:#11175f;
}

/* mobile drawer */
.menu-backdrop{
  position:fixed;
  inset:0;
  z-index:1090;
  background:rgba(9,12,48,.34);
  opacity:0;
  visibility:hidden;
  transition:.28s ease;
}
.menu-panel{
  position:fixed;
  z-index:1100;
  top:0;
  left:0;
  width:min(440px,92vw);
  height:100dvh;
  background:#fbf9ff;
  color:#11175f;
  padding:28px 30px 34px;
  transform:translateX(-102%);
  transition:transform .42s cubic-bezier(.22,1,.36,1);
  box-shadow:30px 0 70px rgba(17,23,95,.14);
  overflow-y:auto;
  overscroll-behavior:contain;
}
body.menu-open .menu-backdrop{opacity:1;visibility:visible}
body.menu-open .menu-panel{transform:translateX(0)}
.menu-panel-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:42px;
}
.menu-panel-brand{
  font-family:Georgia,"Times New Roman",serif;
  font-size:29px;
  letter-spacing:-.04em;
}
.menu-close{
  width:44px;
  height:44px;
  border:1px solid rgba(17,23,95,.15);
  border-radius:50%;
  background:#fff;
  color:#11175f;
  font-size:27px;
  line-height:1;
  cursor:pointer;
}
.menu-label{
  margin:0 0 14px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#817ea8;
}
.menu-links{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.menu-links a{
  padding:14px 0;
  border-bottom:1px solid rgba(17,23,95,.10);
  color:#11175f;
  text-decoration:none;
  font-family:Georgia,"Times New Roman",serif;
  font-size:29px;
  line-height:1.1;
  letter-spacing:-.035em;
}
.menu-small-links{
  display:flex;
  flex-direction:column;
  gap:2px;
  margin-top:28px;
}
.menu-small-links a{
  padding:10px 0;
  color:#343965;
  text-decoration:none;
  font-size:15px;
}
.menu-mobile-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:32px;
}
.menu-mobile-actions a{
  min-height:50px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  text-decoration:none;
  text-transform:uppercase;
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  background:#11175f;
  color:#fff;
}

@media(max-width:1180px){
  .desktop-nav{gap:17px}
  .desktop-nav > a,.more-trigger{font-size:12px}
  .nav-action{padding:0 18px;font-size:11px}
}
@media(max-width:980px){
  .site-nav-inner{
    min-height:74px;
    grid-template-columns:auto 1fr auto;
    gap:14px;
    padding:0 16px;
  }
  .desktop-nav{display:none}
  .menu-trigger{display:inline-flex}
  .nav-brand{
    justify-self:center;
    font-size:24px;
  }
  .nav-actions{justify-self:end}
  .nav-action.primary{
    min-height:44px;
    padding:0 15px;
    font-size:10px;
  }
}
@media(max-width:520px){
  .site-nav-inner{padding:0 12px}
  .menu-trigger{font-size:0;gap:0}
  .nav-brand{font-size:20px}
  .nav-action.primary{padding:0 12px;font-size:9.5px;letter-spacing:.04em}
  .menu-panel{padding:22px 22px 28px}
  .menu-links a{font-size:27px}
}


/* Floating WhatsApp — secondary assistance CTA */
.whatsapp-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:980;
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#11175f;
}
.whatsapp-float-label{
  padding:11px 15px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(17,23,95,.10);
  box-shadow:0 10px 26px rgba(17,23,95,.12);
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
  opacity:0;
  transform:translateX(8px);
  pointer-events:none;
  transition:opacity .22s ease,transform .22s ease;
}
.whatsapp-float:hover .whatsapp-float-label,
.whatsapp-float:focus-visible .whatsapp-float-label{
  opacity:1;
  transform:none;
}
.whatsapp-float-icon{
  width:58px;
  height:58px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#11175f;
  color:#fff;
  border:2px solid #7b2cbf;
  box-shadow:0 14px 34px rgba(17,23,95,.24);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.whatsapp-float:hover .whatsapp-float-icon{
  transform:translateY(-2px);
  background:#252c84;
  box-shadow:0 18px 38px rgba(17,23,95,.28);
}
.whatsapp-float-icon svg{
  width:26px;
  height:26px;
}
@media(max-width:620px){
  .whatsapp-float{
    right:14px;
    bottom:14px;
  }
  .whatsapp-float-label{
    display:none;
  }
  .whatsapp-float-icon{
    width:54px;
    height:54px;
  }
}


.footer-write-link{
  display:inline-flex;
  width:max-content;
  margin-top:8px;
  color:#11175f !important;
  font-weight:800;
  text-decoration:none;
  border-bottom:1px solid rgba(17,23,95,.25);
  padding-bottom:2px;
  transition:color .2s ease,border-color .2s ease,transform .2s ease;
}
.footer-write-link:hover{
  color:#7b2cbf !important;
  border-color:#7b2cbf;
  transform:translateX(2px);
}


.teacher-card:nth-child(7){transition-delay:.48s}
.teacher-card:nth-child(8){transition-delay:.56s}




/* PROFESORES — 4 VISIBLES EN DESKTOP + CARRUSEL */
@media (min-width:1100px){
  .teachers-carousel-wrap{
    position:relative;
    overflow:hidden;
  }

  #teachersCarousel{
    display:flex !important;
    grid-template-columns:none !important;
    grid-auto-flow:initial !important;
    grid-auto-columns:initial !important;
    gap:18px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scroll-snap-type:x mandatory !important;
    scroll-behavior:smooth !important;
    padding:2px 2px 12px !important;
    scrollbar-width:none !important;
  }

  #teachersCarousel::-webkit-scrollbar{
    display:none !important;
  }

  #teachersCarousel .teacher-card{
    flex:0 0 calc((100% - 54px)/4) !important;
    width:calc((100% - 54px)/4) !important;
    min-width:calc((100% - 54px)/4) !important;
    max-width:calc((100% - 54px)/4) !important;
    scroll-snap-align:start !important;
    aspect-ratio:.72 !important;
    min-height:500px !important;
  }

  #teachersCarousel .teacher-overlay{
    padding:24px !important;
  }

  #teachersCarousel .teacher-overlay h3{
    font-size:25px !important;
    margin-bottom:10px !important;
  }

  #teachersCarousel .teacher-authority{
    font-size:12px !important;
    line-height:1.4 !important;
    margin-bottom:12px !important;
  }

  #teachersCarousel .teacher-details{
    gap:10px !important;
  }

  #teachersCarousel .teacher-detail-title{
    font-size:11px !important;
  }

  #teachersCarousel .teacher-detail-copy{
    font-size:12.5px !important;
    line-height:1.38 !important;
  }

  .teachers-controls{
    display:flex !important;
  }
}

/* Profesores: las fichas sin retrato se presentan como perfiles editoriales,
   no como una imagen rota o un marcador vacío. */
.teacher-placeholder{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  padding:26px 24px;
  background:linear-gradient(145deg,#e5e1f4 0%,#f8eef3 52%,#dce7f1 100%);
}
.teachers-carousel .teacher-card .teacher-placeholder{
  background:linear-gradient(145deg,#e5e1f4 0%,#f8eef3 52%,#dce7f1 100%) !important;
}
.teacher-card{
  opacity:1;
  transform:none;
  background:#e9e5f2;
}
.teacher-base{
  background:linear-gradient(to top,rgba(7,13,65,.94),rgba(7,13,65,.54) 48%,rgba(7,13,65,0));
}
.teacher-placeholder::after{
  color:rgba(17,23,95,.16);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(76px,10vw,132px);
  line-height:.8;
  letter-spacing:-.09em;
}
.teacher-card:nth-child(1) .teacher-placeholder::after{content:"B"}
.teacher-card:nth-child(2) .teacher-placeholder::after{content:"J"}
.teacher-card:nth-child(3) .teacher-placeholder::after{content:"A"}
.teacher-card:nth-child(4) .teacher-placeholder::after{content:"A"}
.teacher-card:nth-child(5) .teacher-placeholder::after{content:"N"}
.teacher-card:nth-child(6) .teacher-placeholder::after{content:"E"}

@media (min-width:621px) and (max-width:980px){
  .teachers-section{padding-bottom:92px}
  .teachers-head h2{font-size:clamp(42px,6vw,54px)}
  .teachers-carousel{gap:16px;grid-auto-columns:calc((100% - 16px)/2)}
  .teacher-card{aspect-ratio:.9;min-height:390px;border-radius:24px}
  .teacher-base{padding:64px 20px 20px}
}

@media (max-width:620px){
  .teachers-head{margin-bottom:28px}
  .teachers-head h2{font-size:clamp(38px,11vw,48px);line-height:1.03}
  .teachers-head p{font-size:16px;line-height:1.48}
  .teacher-card{aspect-ratio:.82;min-height:270px}
  .teacher-placeholder{padding:18px 16px}
  .teacher-placeholder::after{font-size:76px}
  .teacher-base{padding:54px 14px 14px}
  .teacher-role{line-height:1.25}
}

/* Historia más directa y perfiles docentes consultables en móvil. */
.authority-intro h2 span{display:block}
.teacher-summary,
.teacher-more,
.teacher-close{display:none}

@media (max-width:620px){
  .authority-panel{padding:36px 20px 22px}
  .authority-intro{gap:20px;margin-bottom:34px}
  .authority-intro h2{
    max-width:none;
    font-size:clamp(34px,9.7vw,40px);
    line-height:1.03;
  }
  .authority-intro h2 span{white-space:nowrap}
  .authority-copy{gap:0}
  .authority-copy p{font-size:15px;line-height:1.52}

  .teacher-card{min-height:470px}
  .teacher-base{padding:92px 22px 20px}
  .teacher-summary{
    display:-webkit-box;
    margin:9px 0 13px;
    max-width:290px;
    overflow:hidden;
    color:rgba(255,255,255,.9);
    font-size:13px;
    line-height:1.4;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .teacher-more,
  .teacher-close{
    min-height:44px;
    border:0;
    background:transparent;
    color:#fff;
    font:inherit;
    font-size:13px;
    font-weight:750;
    letter-spacing:.02em;
    cursor:pointer;
  }
  .teacher-more{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:0 2px;
  }
  .teacher-more span:last-child,
  .teacher-close span:last-child{font-size:18px;line-height:1}

  .teacher-card .teacher-overlay,
  .teacher-card:hover .teacher-overlay{
    display:flex;
    justify-content:flex-end;
    padding:28px 22px 22px;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(18px);
  }
  .teacher-card.active .teacher-overlay{
    display:flex;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:none;
  }
  .teacher-card.active .teacher-photo,
  .teacher-card.active .teacher-placeholder{
    transform:scale(1.025);
    filter:saturate(.9) brightness(.48);
  }
  .teacher-card.active .teacher-base{opacity:0}
  .teacher-overlay .mini{margin-bottom:8px}
  .teacher-overlay h3{font-size:27px!important;margin-bottom:10px!important}
  #teachersCarousel .teacher-authority{display:none}
  #teachersCarousel .teacher-details{
    display:grid;
    gap:12px;
    max-width:320px;
  }
  #teachersCarousel .teacher-detail{gap:3px}
  #teachersCarousel .teacher-detail-title{
    color:#e0c7ff;
    font-size:11px;
    letter-spacing:.08em;
    text-transform:uppercase;
  }
  #teachersCarousel .teacher-detail-copy{
    font-size:13px!important;
    line-height:1.4!important;
  }
  .teacher-close{
    display:inline-flex;
    align-items:center;
    gap:10px;
    align-self:flex-start;
    margin-top:16px;
    padding:0 2px;
  }
}

/* Profesores en móvil: una ficha legible por vez, sin paneles superpuestos. */
@media (max-width:620px){
  .teachers-section{padding-bottom:72px}
  .teachers-head{margin-bottom:36px}
  .teachers-head h2{max-width:340px;font-size:40px;line-height:1.04}
  .teachers-head p{max-width:340px;font-size:16px;line-height:1.55}
  .teachers-carousel{grid-auto-columns:100%;gap:18px;padding-right:0}
  .teacher-card{aspect-ratio:.82;min-height:470px;border-radius:24px}
  .teacher-card:hover .teacher-photo,
  .teacher-card:hover .teacher-placeholder{transform:none;filter:none}
  .teacher-card.active .teacher-photo,
  .teacher-card.active .teacher-placeholder{transform:scale(1.025);filter:saturate(.9) brightness(.48)}
  .teacher-card .teacher-overlay,
  .teacher-card:hover .teacher-overlay{display:flex;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(18px)}
  .teacher-card.active .teacher-overlay{display:flex;opacity:1;visibility:visible;pointer-events:auto;transform:none}
  .teacher-card:hover .teacher-base{opacity:1}
  .teacher-card.active .teacher-base{opacity:0}
  .teacher-base{padding:92px 22px 20px}
  .teacher-name{font-size:26px}
  .teacher-role{font-size:14px;line-height:1.35}
  .teachers-controls{margin-top:18px}
}

/* Consistent teacher portraits and captions. Keep heads inside every frame. */
.teacher-card .teacher-photo{object-position:center top}
.teacher-card .teacher-base{background:linear-gradient(to top,rgba(17,23,95,.94),rgba(17,23,95,0));padding:74px 24px 24px}
.teacher-card .teacher-name{font-size:25px;line-height:1.1}
.teacher-card .teacher-role{font-size:14px;line-height:1.35}

/* Match Nataly’s portrait scale while preserving headroom. */
.teacher-card--nataly .teacher-photo{scale:1.15;transform-origin:50% 35%}
