:root {
  --ink: #143f38;
  --muted: #55756f;
  --green: #126b5c;
  --green-dark: #0b4b41;
  --coral: #f47a48;
  --cream: #fbf6ed;
  --line: #d6e4df;
  --white: #fff;
  --soft: #edf6f2;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, #fff7ea 0, transparent 30%),
    linear-gradient(145deg, #edf6f1, #fbf6ed);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
.school-shell {
  width: min(1320px, calc(100% - 28px));
  margin: 14px auto 44px;
}
.school-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 46px rgba(22, 66, 58, 0.08);
}
.school-header img {
  display: block;
  width: 142px;
  height: auto;
}
.school-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.school-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #315e57;
  background: #edf5f2;
  text-decoration: none;
  font-weight: 800;
}
.school-nav .primary {
  color: #fff;
  background: linear-gradient(135deg, #ef7243, #ed994c);
}
.school-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  min-height: 560px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 38px;
  background: linear-gradient(125deg, var(--green-dark), #217a69);
  box-shadow: 0 24px 70px rgba(15, 70, 61, 0.18);
}
.school-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 78px);
  color: #fff;
}
.eyebrow {
  margin: 0 0 14px;
  color: #ffd0b8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.school-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.45rem, 5.5vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.052em;
}
.school-hero p {
  max-width: 64ch;
  margin: 20px 0 0;
  color: #e4f2ee;
  font-size: 1.08rem;
  line-height: 1.75;
}
.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 19px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}
.button-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 14px 30px rgba(239, 104, 61, 0.24);
}
.button-secondary {
  color: var(--ink);
  background: #fff;
}
.school-hero-media {
  position: relative;
}
.school-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}
.school-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(11, 75, 65, 0.22), transparent 45%);
}
.school-section {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(19, 63, 55, 0.07);
}
.section-heading {
  max-width: 850px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}
.audience-grid,
.route-grid,
.process-grid,
.feature-grid {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}
.audience-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.school-card,
.route-card,
.process-card,
.feature-card {
  padding: 21px;
  border: 1px solid #dce8e4;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f4f8f6);
}
.school-card h2,
.school-card h3,
.route-card h3,
.process-card h3,
.feature-card h3 {
  margin: 0 0 10px;
}
.school-card p,
.route-card p,
.process-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.school-card img,
.route-card img {
  display: block;
  width: 100%;
  height: 210px;
  margin-bottom: 17px;
  border-radius: 17px;
  object-fit: cover;
}
.school-card .tag,
.route-card .tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #def0e9;
  color: #166858;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}
.process-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 14px 15px 14px 43px;
  border-radius: 16px;
  background: var(--soft);
  color: #365f58;
  line-height: 1.5;
}
.check-list li::before {
  position: absolute;
  left: 15px;
  top: 14px;
  content: "✓";
  color: var(--green);
  font-weight: 950;
}
.notice {
  margin-top: 22px;
  padding: 17px 19px;
  border: 1px solid #ffd2bd;
  border-radius: 18px;
  color: #76412d;
  background: #fff4eb;
  line-height: 1.65;
}
.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.faq-list details {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}
.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}
.school-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.school-footer p {
  margin: 0;
  color: var(--muted);
}
.school-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.school-footer a {
  color: var(--green);
  font-weight: 800;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 900px) {
  .school-hero {
    grid-template-columns: 1fr;
  }
  .school-hero-media {
    min-height: 360px;
  }
  .school-hero-media img {
    min-height: 360px;
  }
  .route-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .school-shell {
    width: min(100% - 18px, 1320px);
    margin-top: 9px;
  }
  .school-header {
    align-items: flex-start;
  }
  .school-header img {
    width: 118px;
  }
  .school-nav {
    gap: 5px;
  }
  .school-nav a {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.78rem;
  }
  .school-hero {
    border-radius: 27px;
    min-height: 0;
  }
  .school-hero-copy {
    padding: 32px 22px;
  }
  .school-hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
  }
  .school-hero p {
    font-size: 0.98rem;
  }
  .school-hero-media,
  .school-hero-media img {
    min-height: 270px;
  }
  .audience-grid,
  .route-grid,
  .feature-grid,
  .process-grid,
  .check-list {
    grid-template-columns: 1fr;
  }
  .school-section {
    padding: 23px 18px;
    border-radius: 24px;
  }
  .school-card img,
  .route-card img {
    height: 190px;
  }
  .hero-actions .button,
  .card-actions .button {
    width: 100%;
  }
  .school-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
