@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap");

:root {
  --ink: #0b2b45;
  --night: #0b2b45;
  --cream: #fdf8df;
  --paper: #ffffff;
  --lime: #f27302;
  --teal: #44a1a6;
  --yellow: #fab60d;
  --line: #c7e2df;
  --muted: #557276;
  --pad: clamp(22px, 8vw, 132px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 500 16px/1.55 Manrope, Arial, sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 79px;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 70px);
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 76px);
  border-bottom: 1px solid rgba(3, 33, 69, 0.2);
  background: var(--night);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font: 800 clamp(18px, 1.6vw, 24px) / 1 Manrope, sans-serif;
  letter-spacing: -0.04em;
}
.brand img {
  height: 56px;
  width: 56px;
  max-width: 56px;
  object-fit: contain;
}
.brand span { color: var(--lime); }

nav {
  display: flex;
  gap: 31px;
  margin-right: auto;
  margin-left: 4vw;
}
nav a,
.header-cta {
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 17px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(3, 33, 69, 0.14);
}
.header-cta span { font-size: 14px; margin-left: 12px; }
.button span,
.contact-link span { font-size: 20px; margin-left: 8px; }

.hero {
  position: relative;
  min-height: 790px;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(118px, 14vw, 164px) var(--pad);
  color: #fff;
}
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 33, 69, 0.98) 0%, rgba(3, 33, 69, 0.94) 38%, rgba(47, 151, 154, 0.6) 72%, rgba(68, 161, 166, 0.18) 100%),
    linear-gradient(0deg, rgba(3, 33, 69, 0.68), rgba(3, 33, 69, 0.06) 65%);
}

.hero-content,
.hero-proof { position: relative; }
.hero-content { max-width: 700px; }

.kicker,
.section-label {
  font: 500 11px/1.3 "DM Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--lime);
}
.kicker i {
  display: inline-block;
  width: 31px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  font: 700 clamp(54px, 8.1vw, 124px) / 0.91 "Playfair Display", Georgia, serif;
  letter-spacing: -0.065em;
  margin: 18px 0 26px;
  text-shadow: 0 2px 18px rgba(3, 33, 69, 0.35);
}
h1 em,
h2 em {
  font-style: italic;
  font-weight: 600;
  color: var(--lime);
}

.hero-copy {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.65;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(3, 33, 69, 0.42);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  padding: 15px 19px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.button-primary { background: var(--lime); color: var(--ink); }
.button-quiet { border: 1px solid rgba(255, 255, 255, 0.55); }

.hero-proof {
  position: absolute;
  right: 8vw;
  bottom: 48px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.45;
  padding: 13px 15px;
  border-top: 2px solid var(--yellow);
  background: rgba(3, 33, 69, 0.82);
}
.hero-proof strong {
  font: 500 11px "DM Mono", monospace;
  color: var(--yellow);
}

.intro,
.process {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 6vw;
  padding: clamp(70px, 10vw, 150px) var(--pad);
}
.section-label { color: var(--teal); }
.intro h2,
.programs h2,
.extras h2,
.process h2,
.detail h2,
.contact h2 {
  font: 700 clamp(38px, 5.2vw, 76px) / 0.98 "Playfair Display", Georgia, serif;
  letter-spacing: -0.055em;
}
.intro h2 { max-width: 640px; margin-bottom: 26px; }
.intro div > p {
  max-width: 455px;
  color: var(--muted);
  font-size: 17px;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 var(--pad) clamp(80px, 12vw, 160px);
}
.service {
  min-height: 405px;
  padding: 27px;
  border: 1px solid var(--line);
  border-right: 0;
  display: flex;
  flex-direction: column;
  background: #dceff0;
}
.service:last-child { border-right: 1px solid var(--line); }
.service:nth-child(2) { background: var(--paper); }
.service:nth-child(3) { background: #fff0bd; }
.service span {
  font: 500 11px "DM Mono", monospace;
  color: var(--teal);
}
.service h3 {
  font: 700 28px / 1.05 "Playfair Display", Georgia, serif;
  letter-spacing: -0.045em;
  margin: auto 0 13px;
}
.service p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 25px;
}
.service a {
  font: 700 11px Manrope, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service a b { font-size: 16px; margin-left: 7px; }
.service-dark { background: var(--lime); color: var(--ink); }
.service-dark span { color: var(--ink); }
.service-dark p { color: var(--ink); }
.service-dark a { color: var(--ink); }

.programs {
  padding: 0 var(--pad) clamp(80px, 12vw, 160px);
  background: var(--paper);
}
.programs-heading {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 6vw;
  padding: clamp(55px, 8vw, 110px) 0 clamp(42px, 6vw, 78px);
  border-top: 1px solid var(--line);
}
.programs-heading h2 {
  max-width: 760px;
  margin: 0;
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.program-card {
  min-height: 540px;
  padding: clamp(28px, 3vw, 46px);
  border-right: 1px solid var(--line);
  background: #e4f2f2;
}
.program-card:nth-child(2) { background: #fff0bd; }
.program-card:last-child { border-right: 0; }
.program-card-accent { background: var(--lime); }
.program-age {
  display: inline-block;
  margin-bottom: 45px;
  font: 500 11px/1 "DM Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.program-card h3 {
  margin-bottom: 18px;
  font: 700 clamp(30px, 3.2vw, 47px)/0.98 "Playfair Display", Georgia, serif;
  letter-spacing: -0.05em;
}
.program-lead {
  min-height: 76px;
  max-width: 340px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(3, 33, 69, 0.24);
  font-size: 15px;
  font-weight: 700;
}
.program-card ul {
  display: grid;
  gap: 15px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.program-card li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
}
.program-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 2px;
  background: var(--ink);
}

.extras {
  padding: 0 var(--pad) clamp(80px, 12vw, 160px);
  background: var(--paper);
}
.extras-heading {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 6vw;
  padding: clamp(25px, 5vw, 70px) 0 clamp(42px, 6vw, 78px);
  border-top: 1px solid var(--line);
}
.extras-heading h2 {
  max-width: 760px;
  margin: 0;
}
.extras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.extra-card {
  min-height: 330px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  background: #e4f2f2;
}
.extra-card:nth-child(2) { background: #fff; }
.extra-card:nth-child(3) { background: #fff0bd; }
.extra-card:last-child { border-right: 0; }
.extra-card-accent { background: var(--teal); }
.extra-card > span {
  font: 500 10px/1.4 "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.extra-card h3 {
  min-height: 62px;
  margin: 42px 0 22px;
  font: 700 27px/1.05 "Playfair Display", Georgia, serif;
  letter-spacing: -0.04em;
}
.extra-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.extra-card li {
  position: relative;
  padding-left: 17px;
  font-size: 13px;
}
.extra-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.cambridge-mark {
  display: inline-block;
  padding: 5px 8px;
  border: 1px solid currentColor;
  color: #1d4b82;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0;
}
.cambridge-mark b { font-weight: 700; }
.extras-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  margin-top: 24px;
  padding: 0 19px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.extras-link span { margin-left: 10px; font-size: 18px; }

.process {
  background: var(--yellow);
  grid-template-columns: 1fr 1.55fr;
}
.process-heading p { max-width: 340px; }
.process ol {
  grid-column: 2;
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}
.process li {
  display: grid;
  grid-template-columns: 80px 1fr;
  border-top: 1px solid rgba(11, 43, 69, 0.34);
  padding: 19px 0;
}
.process li:last-child { border-bottom: 1px solid rgba(11, 43, 69, 0.34); }
.process li > b { font: 500 11px "DM Mono", monospace; }
.process h3 { font-size: 15px; margin: 0 0 4px; }
.process li p { font-size: 13px; margin: 0; color: var(--ink); }

.detail,
.faq {
  padding: clamp(70px, 10vw, 150px) var(--pad);
}
.detail { background: #e4f2f2; }
.detail h2 { margin: 18px 0 42px; }
.detail article,
.faq details {
  max-width: 760px;
  padding: 20px 0;
  border-top: 1px solid #9dcece;
}
.detail article:last-child,
.faq details:last-child { border-bottom: 1px solid #9dcece; }
.detail b,
.faq summary {
  display: block;
  font-weight: 700;
}
.detail span,
.faq details span {
  display: block;
  max-width: 650px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}
.detail span a {
  color: var(--ink);
  font-weight: 700;
}

.faq { background: #fff0bd; }
.faq .section-label { margin-bottom: 28px; }
.faq summary { cursor: pointer; }
.faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.contact {
  background: var(--teal);
  color: var(--ink);
  padding: clamp(78px, 12vw, 170px) var(--pad);
}
.contact .section-label { color: var(--ink); margin-bottom: 39px; }
.contact h2 { margin-bottom: 24px; }
.contact p {
  max-width: 420px;
  margin: 0 0 40px;
  color: var(--ink);
}
.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.map-link {
  margin-left: 12px;
  border: 1px solid var(--ink);
  background: transparent;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  padding: 24px clamp(22px, 5vw, 76px);
  background: var(--night);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--ink);
}
footer p { font-size: 10px; margin: 0; }

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #20c866;
}
.client-photo { margin: 12px 0 0; }
.client-photo:empty { display: none; }
.client-photo img { width: 100%; height: 160px; object-fit: cover; }
.client-photo-wide img { height: 320px; }
.campus-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 12px;
  margin: 12px 0 38px;
}
.campus-gallery img {
  width: 100%;
  height: 145px;
  object-fit: cover;
}

.whatsapp-float img { width: 27px; height: 27px; }
.whatsapp-float:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 780px) {
  .site-header { height: 65px; }
  .site-header nav { display: none; }
  .header-cta { font-size: 10px; }
  .brand img { height: 46px; width: 46px; max-width: 46px; }
  .hero {
    height: auto;
    min-height: 100svh;
    align-items: flex-end;
    padding: 108px 22px 92px;
  }
  .hero-image { object-position: 68% center; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(68, 161, 166, 0.28) 0%, rgba(3, 33, 69, 0.68) 42%, rgba(3, 33, 69, 0.98) 100%);
  }
  .hero h1 {
    font-size: clamp(36px, 10.5vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 12px 0 14px;
  }
  .hero-content { max-width: none; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }
  .hero-actions .button {
    justify-content: center;
    min-height: 48px;
  }
  .hero-proof { display: none; }
  .intro,
  .programs-heading,
  .extras-heading,
  .process { display: block; }
  .section-label { margin-bottom: 38px; }
  .services {
    grid-template-columns: 1fr 1fr;
    padding-inline: 22px;
  }
  .extras { padding-inline: 22px; }
  .programs { padding-inline: 22px; }
  .programs-heading h2,
  .extras-heading h2 { margin-top: 28px; }
  .programs-grid { grid-template-columns: 1fr; }
  .program-card {
    min-height: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .program-card:first-child { border-top: 0; }
  .program-lead { min-height: 0; }
  .extras-grid { grid-template-columns: 1fr 1fr; }
  .extra-card { min-height: 300px; }
  .extra-card:nth-child(2) { border-right: 0; }
  .extra-card:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .service {
    border-right: 1px solid var(--line);
    min-height: 330px;
  }
  .service:nth-child(2) { border-left: 0; }
  .service:nth-child(n + 3) { border-top: 0; }
  .process ol { margin-top: 45px; }
  .detail,
  .faq,
  .contact { padding-inline: 22px; }
  .campus-gallery { grid-template-columns: 1fr 1fr; }
  .campus-gallery img { height: 125px; }
  footer { align-items: flex-start; flex-direction: column; }
  .map-link { margin: 18px 0 0; }
}

@media (max-width: 490px) {
  .header-cta { max-width: 125px; text-align: right; }
  .hero {
    padding: 96px 20px 100px;
    min-height: 100svh;
  }
  .hero-copy {
    font-size: 15px;
    max-width: none;
    line-height: 1.5;
  }
  .hero .kicker { font-size: 10px; }
  .services { grid-template-columns: 1fr; }
  .service { border-top: 0; min-height: 270px; }
  .service:first-child { border-top: 1px solid var(--line); }
  .extras-grid { grid-template-columns: 1fr; }
  .extra-card {
    min-height: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .extra-card:first-child { border-top: 0; }
  .extra-card h3 { min-height: 0; margin-top: 28px; }
  .extras-link { width: 100%; justify-content: center; }
  .campus-gallery { grid-template-columns: 1fr; }
  .campus-gallery img { height: 190px; }
  footer { gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
