/* Portada de AI Teacher: reutiliza hero.css y añade la demo de conversación. */
.t-hero-wrap{height:calc(100svh + 90vh)}
.t-hero .hero-inner{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:clamp(32px,5vw,72px)}
.t-hero .hero-copy{opacity:1;transform:none;max-width:620px}

/* Título "AI Teacher." (versión B: raya de la bandera bajo "AI"). */
.t-title{font-family:"EnglIA Display",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-weight:700;font-size:clamp(52px,7vw,104px);line-height:1;letter-spacing:-.045em;margin:22px 0 22px;color:#fff;white-space:nowrap}
.t-title .t-ai{position:relative;display:inline-block;color:#e8bb55}
.t-title .t-ai:after{content:"";position:absolute;left:.02em;right:.04em;bottom:-.12em;height:.085em;border-radius:3px;background:linear-gradient(90deg,#c8102e 0 14%,#fff 14% 22%,#3a63d8 22% 36%,#fff 36% 44%,#c8102e 44% 58%,#fff 58% 66%,#3a63d8 66% 80%,#fff 80% 88%,#c8102e 88% 100%)}
.t-title .t-name{color:#fff}
.t-lead{font-size:clamp(17px,1.45vw,20px);line-height:1.6;color:#c3cde8;margin:0 0 26px;max-width:560px}
.t-lead em{font-family:"EnglIA Serif",Georgia,serif;font-style:italic;font-weight:600;color:#e8bb55;font-size:1.08em}
.t-features{list-style:none;margin:0 0 30px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:16px 26px;max-width:580px}
.t-features li{display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:start}
.t-features .ico{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:rgba(232,187,85,.12);border:1px solid rgba(232,187,85,.35);color:#e8bb55}
.t-features .ico svg{width:20px;height:20px}
.t-features strong{display:block;color:#fff;font-size:15.5px;margin:1px 0 3px}
.t-features span{display:block;color:#9fb0d6;font-size:13.5px;line-height:1.45}
.t-note{margin:14px 0 0;font-size:13px;color:#8d9cc4}

/* Demo de conversación */
.t-demo{justify-self:end;width:min(100%,470px);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.14);box-shadow:0 40px 80px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);overflow:hidden}
.t-demo-head{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.1)}
.t-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(155deg,#f8da8c,#e8bb55 50%,#d6a13a);color:#012169;font-family:"EnglIA Display",system-ui,sans-serif;font-weight:700;font-size:15px;box-shadow:0 4px 0 #9b7020}
.t-demo-head b{display:block;font-size:15px;color:#fff}
.t-demo-head small{display:flex;align-items:center;gap:6px;font-size:12px;color:#9fb0d6}
.t-demo-head small i{width:7px;height:7px;border-radius:50%;background:#3ccf8e;box-shadow:0 0 8px #3ccf8e}
.t-demo-level{margin-left:auto;font-size:11.5px;font-weight:700;letter-spacing:.08em;color:#e8bb55;border:1px solid rgba(232,187,85,.4);border-radius:99px;padding:5px 10px}
.t-demo-body{display:flex;flex-direction:column;gap:12px;padding:20px;min-height:360px}
.t-step{opacity:0;transform:translateY(14px) scale(.98);transition:opacity .45s ease,transform .45s cubic-bezier(.2,.8,.2,1)}
.t-step.is-on{opacity:1;transform:none}
.t-msg{max-width:86%;padding:12px 15px;border-radius:16px;font-size:15px;line-height:1.5}
.t-me{align-self:flex-end;background:linear-gradient(155deg,#4c77ee,#2b52c9);color:#fff;border-bottom-right-radius:5px}
.t-bot{align-self:flex-start;background:#fff;color:#172b43;border-bottom-left-radius:5px}
.t-bot .t-label{display:block;font-size:10.5px;font-weight:800;letter-spacing:.12em;color:#8a6a1f;margin-bottom:5px}
.t-bot del{color:#c8102e;text-decoration-thickness:2px}
.t-bot ins{text-decoration:none;background:#fff0ce;color:#012169;font-weight:700;border-radius:4px;padding:0 3px}
.t-tip{font-size:13.5px;color:#50617b;border-left:3px solid #e8bb55;padding-left:10px;margin-top:0;max-height:0;overflow:hidden}
.t-tip.is-on{margin-top:8px;max-height:140px;transition:opacity .45s ease,transform .45s ease,max-height .45s ease,margin-top .45s ease}
.t-tip em{font-style:italic;color:#012169}
.t-typing{align-self:flex-start;display:flex;gap:5px;padding:13px 16px;background:rgba(255,255,255,.12);border-radius:16px;border-bottom-left-radius:5px}
.t-typing i{width:7px;height:7px;border-radius:50%;background:#c3cde8;animation:tDot 1.1s infinite}
.t-typing i:nth-child(2){animation-delay:.15s}.t-typing i:nth-child(3){animation-delay:.3s}
@keyframes tDot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}
.t-typing.is-gone{display:none}
.t-demo-foot{padding:14px 20px 18px;border-top:1px solid rgba(255,255,255,.1);font-size:12.5px;color:#8d9cc4;display:flex;justify-content:space-between;gap:10px}
.t-demo-foot b{color:#e8bb55}

.t-hero .hero-scroll{opacity:1}
.t-hero .hero-scroll.is-hidden{opacity:0;transition:opacity .3s}

.hero-wrap + .teacher-page{position:relative;z-index:2;margin-top:-56px;background:#f7f9fd;border-radius:22px 22px 0 0;box-shadow:0 -18px 50px rgba(3,8,30,.35)}

@media(max-width:900px){
  .t-hero-wrap{height:auto}
  .t-hero{position:relative;height:auto;min-height:0}
  .t-hero .hero-inner{display:block;padding-top:48px;padding-bottom:110px}
  .t-title{margin:18px 0 18px}
  .t-demo{justify-self:auto;margin:34px auto 0}
  .t-demo-body{min-height:0}
  .t-hero .hero-scroll{display:none}
}
@media(max-width:560px){
  .t-features{grid-template-columns:1fr;gap:14px}
  .t-title{font-size:clamp(46px,14vw,64px)}
  .t-msg{font-size:14.5px}
}
@media(prefers-reduced-motion:reduce){
  .t-step{opacity:1;transform:none;transition:none}
  .t-tip{max-height:none;margin-top:8px}
  .t-typing{display:none}
  .t-hero .hero-inner{min-height:0}
}
.teacher-heading .teacher-subtitle{font-size:clamp(28px,3.2vw,40px);line-height:1.1;letter-spacing:-.04em;margin:8px 0 8px;color:var(--ink,#172b43)}
