.nav-current {
  color: var(--brand-dark) !important;
}

.schools-hero {
  padding: 25px 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(97, 85, 231, .13), transparent 29%),
    linear-gradient(145deg, #fbfbff 0%, #f0efff 56%, #f7fbff 100%);
}

.schools-hero h1 {
  max-width: 720px;
  font-size: clamp(2.65rem, 4.7vw, 4.45rem);
}

.schools-hero .hero-grid {
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
}

.schools-hero .hero-lead {
  max-width: 670px;
}

.schools-hero .product-window {
  position: relative;
}

.hero-video-trigger {
  position: absolute;
  z-index: 3;
  inset: 40px 0 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hero-video-trigger::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(21,19,60,.62), rgba(21,19,60,.02) 64%);
  content: "";
  opacity: .72;
  transition: opacity .2s ease;
}

.hero-video-trigger:hover::before {
  opacity: .92;
}

.hero-video-trigger .play-button {
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-video-trigger:hover .play-button {
  box-shadow: 0 16px 34px rgba(0,0,0,.3);
  transform: translate(-50%,-50%) scale(1.08);
}

.hero-video-trigger:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

.hero-video-label {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 17px;
  left: 20px;
  font-size: .86rem;
  font-weight: 850;
  letter-spacing: .01em;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}

.school-signal {
  color: #fff;
  background: var(--ink);
}

.signal-grid {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.signal-grid p {
  margin: 0;
  color: #b9b6ca;
}

.signal-grid .signal-date {
  color: #fff;
  font-weight: 800;
}

.signal-date span {
  margin-right: 14px;
  color: #a9a3ff;
  font-size: .78rem;
  letter-spacing: .1em;
}

.problem-section {
  background: #fff;
}

.story-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
  gap: 110px;
}

.story-sticky {
  position: sticky;
  top: 122px;
}

.story-copy {
  max-width: 670px;
}

.story-copy > p {
  font-size: 1.08rem;
  line-height: 1.85;
}

.story-copy .story-lead {
  color: var(--ink);
  font-size: 1.42rem;
  font-weight: 750;
  line-height: 1.55;
}

.pressure-card {
  display: flex;
  gap: 20px;
  margin: 38px 0;
  padding: 28px;
  background: #fff5f3;
  border: 1px solid #ffd9d2;
  border-radius: var(--radius);
}

.pressure-card > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #b33625;
  background: #ffe1dc;
  border-radius: 50%;
  font-size: 1.5rem;
}

.pressure-card strong {
  display: block;
  margin-bottom: 6px;
  color: #5c2119;
  font-size: 1.08rem;
}

.pressure-card p {
  margin: 0;
  color: #7b433b;
}

.regulation-section {
  background: var(--surface-alt);
}

.regulation-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.regulation-layout > div:first-child {
  max-width: 520px;
}

.regulation-intro {
  font-size: 1.08rem;
  line-height: 1.8;
}

.source-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
}

.source-links a {
  color: var(--brand-dark);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.source-links a:hover {
  text-decoration: underline;
}

.requirements-card {
  padding: 38px;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.requirements-label {
  margin-bottom: 26px;
  color: #a9a3ff;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.requirements-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirements-card li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 17px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}

.requirements-card li:last-child {
  padding-bottom: 0;
}

.requirements-card li > span {
  padding-top: 3px;
  color: #817adb;
  font-size: .78rem;
  font-weight: 900;
}

.requirements-card strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.requirements-card li p {
  margin: 0;
  color: #aaa7bd;
  font-size: .88rem;
}

.legal-note {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  margin-top: 42px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.legal-note strong {
  color: var(--ink);
}

.legal-note p {
  margin: 0;
  font-size: .88rem;
}

.solution-section {
  overflow: hidden;
  background: #fff;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.solution-grid article {
  min-height: 260px;
  padding: 29px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.solution-grid article:nth-child(even) {
  background: var(--brand-soft);
  border-color: #dcd8ff;
}

.solution-number {
  display: block;
  margin-bottom: 62px;
  color: var(--brand-dark);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.solution-grid article p {
  margin: 0;
  font-size: .9rem;
}

.process-gallery {
  margin-top: 76px;
  scroll-margin-top: 110px;
}

.process-gallery-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 30px;
}

.process-gallery-heading h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.process-gallery-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.7;
}

.process-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-card {
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.process-shot {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(145deg, #eeecff, #f7fbff);
  border-bottom: 1px solid var(--line);
}

.process-shot-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  text-align: center;
}

.process-shot-placeholder span {
  margin-bottom: 13px;
  color: var(--brand-dark);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.process-shot-placeholder strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.process-shot-placeholder small {
  margin-top: 6px;
  color: var(--muted);
}

.process-shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transition: opacity .2s ease;
}

.video-status[hidden] {
  display: none;
}

.process-card.has-image .process-shot img {
  opacity: 1;
}

.process-card figcaption {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  padding: 21px 20px 23px;
}

.process-card figcaption > span {
  color: var(--brand-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.process-card figcaption strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: .94rem;
}

.process-card figcaption p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.school-product-showcase {
  display: grid;
  grid-template-columns: 1.22fr .78fr;
  gap: 22px;
  margin-top: 58px;
}

.school-product-showcase figure {
  margin: 0;
}

.school-product-showcase figure .product-window {
  transform: none;
}

.school-product-showcase figure img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  object-position: top left;
}

.school-product-showcase figure .school-invoice-image {
  padding: 16px;
  background: #f7f7fb;
  object-fit: contain;
  object-position: center;
}

.school-product-showcase figcaption {
  padding: 13px 4px 0;
  color: var(--muted);
  font-size: .82rem;
}

.school-video-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 0;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.school-video-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(21,19,60,.88), rgba(21,19,60,.05) 68%);
  content: "";
}

.school-video-card > img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.school-video-card .play-button {
  z-index: 2;
}

.video-copy {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
  text-align: left;
}

.video-copy strong,
.video-copy small {
  display: block;
}

.video-copy strong {
  font-size: 1.12rem;
}

.video-copy small {
  color: #cbc8dc;
}

.video-status {
  padding: 28px 22px;
  color: var(--ink);
  background: var(--brand-soft);
  border: 1px solid #dcd8ff;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.video-status.is-error {
  color: #684035;
  background: #fff5f1;
  border-color: #ffd9cf;
}

#school-video-modal {
  padding: 16px;
}

#school-video-modal .video-dialog {
  display: flex;
  width: fit-content;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  flex-direction: column;
  padding: 14px;
  overflow-y: auto;
}

#school-video-modal .video-dialog-header {
  width: 100%;
  gap: 18px;
  padding: 0 0 12px;
}

#school-video-modal .video-dialog-header h2 {
  font-size: 1rem;
}

#school-video-modal .video-dialog-header button {
  flex: 0 0 38px;
}

#school-video-modal .video-frame-wrap {
  width: min(360px, calc(100vw - 60px));
  aspect-ratio: 9 / 16;
  flex: 0 0 auto;
  overflow: hidden;
  margin: 0 auto;
  background: #08071b;
  border-radius: 12px;
}

#school-video-modal .video-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

#school-video-modal .video-status {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(280px, calc(100% - 40px));
  padding: 18px;
  transform: translate(-50%, -50%);
}

@media (max-height: 760px) {
  #school-video-modal .video-frame-wrap {
    width: min(320px, calc(100vw - 60px));
  }
}

@media (max-height: 680px) {
  #school-video-modal .video-frame-wrap {
    width: min(280px, calc(100vw - 60px));
  }
}

.outcome-section {
  background: linear-gradient(145deg, #f1f0ff, #f8fbff);
}

.outcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}

.outcome-list {
  padding: 15px 0;
}

.outcome-list p {
  display: flex;
  gap: 13px;
  margin: 0;
  padding: 18px 0;
  color: #454258;
  border-bottom: 1px solid #dad9e8;
  font-weight: 720;
}

.outcome-list p:last-child {
  border-bottom: 0;
}

.outcome-list span {
  color: var(--whatsapp);
  font-weight: 900;
}

.disclaimer {
  padding: 20px 0;
  background: #0f0d2d;
  border-top: 1px solid rgba(255,255,255,.1);
}

.disclaimer p {
  max-width: 1000px;
  margin: 0;
  color: #878498;
  font-size: .72rem;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .schools-hero .hero-grid {
    gap: 38px;
  }

  .story-grid {
    gap: 60px;
  }

  .regulation-layout {
    gap: 50px;
  }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-grid article {
    min-height: 220px;
  }

  .solution-number {
    margin-bottom: 36px;
  }
}

@media (max-width: 900px) {
  .schools-hero .hero-grid,
  .story-grid,
  .regulation-layout,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .schools-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .schools-hero .hero-copy {
    width: 100%;
    min-width: 0;
    max-width: 760px;
  }

  .story-grid,
  .regulation-layout,
  .outcome-grid {
    gap: 42px;
  }

  .story-sticky {
    position: static;
  }

  .regulation-layout > div:first-child {
    max-width: 720px;
  }

  .school-product-showcase {
    grid-template-columns: 1fr;
  }

  .process-gallery-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-gallery-grid {
    grid-template-columns: 1fr;
  }

  .school-video-card,
  .school-video-card > img {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  .schools-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.15rem);
  }

  .schools-hero .hero-grid > .hero-product {
    display: none;
  }

  .schools-mobile-hero {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 0 26px;
  }

  .schools-mobile-hero .product-window,
  .schools-mobile-hero img {
    min-width: 0;
    max-width: 100%;
  }

  .signal-grid {
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }

  .signal-date span {
    display: block;
    margin: 0 0 2px;
  }

  .story-copy .story-lead {
    font-size: 1.22rem;
  }

  .pressure-card {
    padding: 22px;
  }

  .requirements-card {
    padding: 27px 22px;
  }

  .legal-note {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-grid article {
    min-height: 0;
  }

  .solution-number {
    margin-bottom: 26px;
  }

  .school-video-card,
  .school-video-card > img {
    min-height: 300px;
  }

  .process-gallery {
    margin-top: 56px;
  }

  .hero-video-trigger .play-button {
    width: 52px;
    height: 52px;
  }
}
