/* Master Maths — premium responsive one-page website */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  font-family: "Manrope",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color: #15181d;
  background: #f8f6f1;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

input, select {
  width: 100%;
}

:root {
  --ink: #10151b;
  --ink-2: #182129;
  --navy: #112449;
  --slate: #668492;
  --slate-dark: #526f7c;
  --yellow: #ffc31c;
  --yellow-2: #f3b300;
  --cream: #f4f0e9;
  --white: #ffffff;
  --text: #171a1f;
  --muted: #687078;
  --line: #dedbd4;
  --line-dark: rgba(255,255,255,.14);
  --container: 1320px;
  --pad: clamp(18px,4.5vw,68px);
  --radius: 20px;
  --radius-lg: 34px;
  --shadow: 0 24px 70px rgba(16,21,27,.14);
  --ease: cubic-bezier(.22,1,.36,1);
  --header-h: 82px;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.container {
  width: min(100%,var(--container));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding: clamp(82px,10vw,150px) 0;
}

.section-anchor {
  scroll-margin-top: 90px;
}

.section--white {
  background: var(--white);
}

.section--cream {
  background: var(--cream);
}

.section--dark, .section--ink {
  background: var(--ink);
  color: #fff;
}

.section--contact {
  background: linear-gradient(180deg,#f7f3ec 0%,#fff 100%);
}

h1, h2, h3, h4 {
  line-height: 1.05;
  letter-spacing: -.035em;
}

h1, h2 {
  font-family: "DM Serif Display",Georgia,serif;
  font-weight: 400;
}

h3, h4 {
  font-weight: 800;
}

h2 {
  font-size: clamp(2.65rem,5vw,5.5rem);
}

h3 {
  font-size: clamp(1.35rem,2vw,2rem);
}

p {
  max-width: 68ch;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  transition: top .2s;
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate-dark);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.section--dark .eyebrow, .section--ink .eyebrow, .story-panel--dark .eyebrow, .contact-card--primary .eyebrow {
  color: var(--yellow);
}

/* Header */

.site-header {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  right: 0;

  height: var(--header-h);

  display: flex;
  align-items: center;

  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease,
    height 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(16, 21, 27, 0.93);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.nav-shell {
  width: min(100%,var(--container));
  margin: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  margin-right: auto;
  flex: none;
}

.brand img {
  width: 205px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px,1.4vw,26px);
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
  color: #dce2e5;
  font-size: .86rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width .3s var(--ease);
}

.desktop-nav a:hover, .desktop-nav a.active {
  color: #fff;
}

.desktop-nav a:hover::after, .desktop-nav a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: .84rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .25s,background .25s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: #ffd256;
}

.nav-cta svg {
  width: 15px;
  height: 15px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #fff;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 9px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s,visibility .3s,transform .35s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px var(--pad) max(24px,env(safe-area-inset-bottom));
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-top img {
  width: 200px;
}

.mobile-close {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-block: auto;
  padding: 50px 0 30px;
}

.mobile-menu nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: "DM Serif Display",serif;
  font-size: clamp(2rem,7vw,3.4rem);
}

.mobile-menu nav a span {
  font-family: "Manrope",sans-serif;
  font-size: .72rem;
  color: #81909a;
  letter-spacing: .12em;
}

.mobile-menu-actions {
  display: grid;
  gap: 12px;
}

.mobile-phone {
  text-align: center;
  color: #bac4ca;
  font-weight: 700;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 23px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .93rem;
  transition: transform .3s var(--ease),box-shadow .3s,background .25s,border-color .25s;
}

.button:hover {
  transform: translateY(-3px);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button--yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(255,195,28,.25);
}

.button--yellow:hover {
  background: #ffd24a;
  box-shadow: 0 20px 46px rgba(255,195,28,.34);
}

.button--outline {
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
}

.button--outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.button--dark {
  background: var(--ink);
  color: #fff;
}

.button--block {
  width: 100%;
}

.text-link {
  font-weight: 800;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  align-self: flex-start;
}

.text-link span {
  color: var(--slate-dark);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 56px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom,#000,transparent 90%);
}

.hero-glow {
  position: absolute;
  width: 750px;
  height: 750px;
  border-radius: 50%;
  right: -260px;
  top: -300px;
  background: radial-gradient(circle,rgba(255,195,28,.24),transparent 66%);
  filter: blur(10px);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr);
  gap: clamp(40px,6vw,100px);
  align-items: center;
  padding-bottom: 80px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: #9aaab2;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 7px rgba(255,195,28,.12);
}

.hero h1 {
  font-size: clamp(3rem,5.4vw,6.4rem);
  max-width: 11ch;
}

.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}

.hero-subtitle {
  margin-top: 25px;
  color: #b8c1c6;
  font-size: clamp(1.08rem,1.5vw,1.35rem);
}

.hero-subtitle strong {
  color: #fff;
}

.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.hero-trust div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-trust strong {
  font-family: "DM Serif Display",serif;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
}

.hero-trust span {
  font-size: .76rem;
  color: #87979f;
  max-width: 13ch;
}

.hero-visual {
  position: relative;
  min-height: 610px;
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo--main {
  width: 82%;
  height: 68%;
  right: 0;
  top: 7%;
}

.hero-photo--side {
  width: 54%;
  height: 38%;
  left: 0;
  bottom: 5%;
  border: 7px solid var(--ink);
}

.hero-proof {
  position: absolute;
  left: 0;
  top: 9%;
  width: 155px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 4;
  box-shadow: 0 22px 50px rgba(0,0,0,.25);
  transform: rotate(-6deg);
}

.proof-number {
  font-family: "DM Serif Display",serif;
  font-size: 3.6rem;
  line-height: .8;
}

.proof-label {
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 8px;
}

.hero-proof small {
  font-size: .58rem;
  margin-top: 5px;
  opacity: .7;
}

.hero-formula {
  position: absolute;
  color: #fff;
  font-family: "DM Serif Display",serif;
  font-style: italic;
  opacity: .28;
  font-size: 1.4rem;
}

.formula-a {
  right: 4%;
  bottom: 3%;
}

.formula-b {
  left: 22%;
  top: 1%;
}

.hero-strip {
  position: relative;
  z-index: 3;
  margin-top: auto;
  background: var(--yellow);
  color: var(--ink);
  overflow: hidden;
  border-block: 1px solid rgba(16,21,27,.2);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
  animation: marquee 28s linear infinite;
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.marquee-track i {
  font-style: normal;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Intro / about */
.section-intro {
  max-width: 900px;
  margin-bottom: clamp(48px,7vw,90px);
}

.section-intro h2 {
  max-width: 12ch;
}

.section-intro>p:last-child {
  margin-top: 22px;
  color: #5f676e;
  font-size: 1.05rem;
}

.section-intro--center {
  text-align: center;
  margin-inline: auto;
}

.section-intro--center h2 {
  margin-inline: auto;
  max-width: 13ch;
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr);
  gap: clamp(40px,7vw,100px);
  align-items: center;
  padding: clamp(22px,3vw,38px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.founder-media {
  position: relative;
  min-height: 560px;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  background: #ddd;
}

.founder-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center top;
}

.founder-stamp {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(0,0,0,.2);
}

.founder-stamp span, .founder-stamp small {
  text-transform: uppercase;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.founder-stamp strong {
  font-family: "DM Serif Display",serif;
  font-size: 2.8rem;
  line-height: .9;
}

.founder-copy h3 {
  font-family: "DM Serif Display",serif;
  font-size: clamp(2.4rem,4vw,4.2rem);
  font-weight: 400;
  margin-bottom: 6px;
}

.founder-copy h4 {
  margin: 28px 0 12px;
  font-size: 1.1rem;
}

.founder-copy p {
  color: #535d64;
  margin-top: 14px;
}

.founder-copy strong {
  color: var(--text);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

.story-panel {
  padding: clamp(30px,4vw,52px);
  border-radius: var(--radius-lg);
  background: #fff;
}

.story-panel h3 {
  font-family: "DM Serif Display",serif;
  font-size: clamp(2rem,3vw,3.2rem);
  font-weight: 400;
  margin-bottom: 18px;
}

.story-panel p {
  color: #5b646b;
  margin-top: 13px;
}

.story-panel--dark {
  background: var(--slate);
  color: #fff;
}

.story-panel--dark p {
  color: #eef2f3;
}

.story-panel--dark strong {
  color: var(--yellow);
}

/* section heading */
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(45px,6vw,78px);
}

.section-heading-row>div:first-child {
  max-width: 780px;
}

.section-heading-row>p {
  color: #a6b1b7;
  max-width: 42ch;
}

.section-heading-row--dark h2 {
  color: #fff;
}

.section-heading-row--dark>p {
  color: #91a0a7;
}

.languages-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.languages-card span {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}

.languages-card strong {
  font-size: 1rem;
}

/* services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 340px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: background .35s,color .35s,transform .35s var(--ease);
}

.service-card:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-4px);
  z-index: 2;
  box-shadow: var(--shadow);
}

.service-number {
  font-size: .72rem;
  font-weight: 900;
  color: #9a9fa3;
  letter-spacing: .1em;
}

.service-icon {
  position: absolute;
  right: 27px;
  top: 24px;
  font-family: "DM Serif Display",serif;
  font-size: 2.3rem;
  color: var(--yellow);
}

.service-card h3 {
  font-family: "DM Serif Display",serif;
  font-size: 2.45rem;
  font-weight: 400;
  margin-top: 72px;
}

.service-card p {
  font-size: .95rem;
  color: var(--muted);
  margin-top: 18px;
}

.service-card:hover p {
  color: #b9c2c7;
}

.exam-banner {
  margin-top: 34px;
  padding: clamp(28px,4vw,52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--yellow);
  border-radius: var(--radius-lg);
  color: var(--ink);
}

.exam-banner .eyebrow {
  color: var(--ink);
}

.exam-banner h3 {
  font-family: "DM Serif Display",serif;
  font-weight: 400;
  font-size: clamp(2rem,3.5vw,3.5rem);
}

.exam-banner p:last-child {
  margin-top: 12px;
  max-width: 760px;
}

/* branches */
.branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.branch-card {
  position: relative;
  padding: clamp(30px,4vw,52px);
  min-height: 390px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  overflow: hidden;
  transition: border-color .3s,transform .35s var(--ease);
}

.branch-card:hover {
  border-color: rgba(255,195,28,.75);
  transform: translateY(-5px);
}

.branch-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  right: -110px;
  top: -100px;
  border: 1px solid rgba(255,195,28,.18);
  box-shadow: 0 0 0 45px rgba(255,195,28,.025),0 0 0 90px rgba(255,195,28,.015);
}

.branch-index {
  font-size: .72rem;
  color: #7f8d94;
  font-weight: 900;
  letter-spacing: .12em;
}

.branch-icon {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: rgba(255,195,28,.1);
  color: var(--yellow);
  display: grid;
  place-items: center;
  margin: 48px 0 26px;
}

.branch-icon svg {
  width: 28px;
  height: 28px;
}

.branch-card h3 {
  font-family: "DM Serif Display",serif;
  font-weight: 400;
  font-size: clamp(2.4rem,4vw,4rem);
}

.branch-card p {
  color: #98a6ad;
  margin-top: 12px;
}

.branch-actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.branch-actions a {
  font-weight: 800;
  color: #fff;
  border-bottom: 1px solid #66747b;
  padding-bottom: 5px;
}

.branch-actions a span {
  color: var(--yellow);
}

.spaces-head {
  margin: 80px 0 28px;
}

.spaces-head h3 {
  font-family: "DM Serif Display",serif;
  font-size: clamp(2.2rem,3.5vw,3.8rem);
  font-weight: 400;
}

.classroom-gallery {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}

.gallery-image {
  grid-column: span 2;
  overflow: hidden;
  border-radius: 20px;
  background: #20262b;
  position: relative;
}

.gallery-image--wide {
  grid-column: span 4;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease),filter .5s;
}

.gallery-image:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

/* reviews — modern responsive student stories */
.reviews-section {
  position: relative;
  overflow: hidden;
  background: #f4f2ec;
  padding: clamp(82px,9vw,140px) 0;
  color: var(--ink);
}

.reviews-section::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  right: -360px;
  top: -280px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(255,195,28,.18),rgba(255,195,28,0) 68%);
  pointer-events: none;
}

.reviews-section::after {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -310px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(16,21,27,.05);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(16,21,27,.018),0 0 0 150px rgba(16,21,27,.012);
  pointer-events: none;
}

.reviews-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 52px;
}

.reviews-header-copy {
  max-width: 760px;
}

.reviews-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #71736f;
}

.reviews-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(255,195,28,.16);
}

.reviews-header h2 {
  font-size: clamp(3rem,5vw,5.8rem);
  line-height: .92;
  letter-spacing: -.055em;
  max-width: 10ch;
}

.reviews-header h2 span {
  color: var(--slate-dark);
}

.reviews-header-copy>p {
  margin-top: 24px;
  color: #686e70;
  font-size: 1.02rem;
  max-width: 50ch;
}

.reviews-youtube-link {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 225px;
  padding: 16px 17px;
  border: 1px solid rgba(16,21,27,.11);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  transition: transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s var(--ease);
}

.reviews-youtube-link:hover {
  transform: translateY(-4px);
  border-color: rgba(16,21,27,.28);
  box-shadow: 0 20px 42px -24px rgba(0,0,0,.34);
}

.youtube-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-size: .82rem;
  padding-left: 2px;
}

.reviews-youtube-link>span:nth-child(2) {
  display: flex;
  flex-direction: column;
  font-weight: 900;
  line-height: 1.12;
}

.reviews-youtube-link small {
  font-weight: 600;
  font-size: .7rem;
  color: #797c78;
  margin-bottom: 3px;
}

.youtube-arrow {
  margin-left: auto;
  font-size: 1.15rem;
}

.reviews-mobile-hint {
  display: none;
  margin-bottom: 12px;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b8a84;
}

.reviews-mobile-hint span {
  margin-left: 5px;
  color: var(--ink);
}

.reviews-track {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
}

.modern-review-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16,21,27,.08);
  border-radius: 24px;
  box-shadow: 0 14px 42px rgba(16,21,27,.05);
  transition: transform .45s var(--ease),box-shadow .45s var(--ease),border-color .45s var(--ease);
}

.modern-review-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16,21,27,.16);
  box-shadow: 0 28px 60px -30px rgba(0,0,0,.42);
}

.modern-review-media {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #161a1e;
}

.modern-review-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease),filter .7s var(--ease);
}

.modern-review-card:hover .modern-review-media img {
  transform: scale(1.045);
}

.review-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,rgba(0,0,0,.06) 22%,rgba(0,0,0,.03) 48%,rgba(0,0,0,.72) 100%);
}

.review-card-number {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 44px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(10,10,12,.36);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.modern-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  transform: translate(-50%,-50%);
  box-shadow: 0 12px 35px rgba(0,0,0,.28),0 0 0 8px rgba(255,255,255,.1);
  transition: transform .4s var(--ease),box-shadow .4s var(--ease);
}

.modern-play-button span {
  margin-left: 3px;
  font-size: .98rem;
}

.modern-review-card:hover .modern-play-button {
  transform: translate(-50%,-50%) scale(1.12);
  box-shadow: 0 16px 45px rgba(0,0,0,.35),0 0 0 12px rgba(255,195,28,.15);
}

.review-watch-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
}

.review-watch-label span {
  font-size: 1.05rem;
}

.modern-review-content {
  padding: 20px 19px 21px;
}

.review-person {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.review-person h3 {
  font-family: "DM Serif Display",Georgia,serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -.025em;
}

.review-person>div>span {
  display: block;
  margin-top: 3px;
  font-size: .62rem;
  font-weight: 900;
  color: #9a9891;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 60px;
  margin-bottom: 16px;
  align-content: flex-start;
}

.review-tags span {
  display: inline-flex;
  align-items: center;
  height: 27px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1efe9;
  color: #575854;
  font-size: .7rem;
  font-weight: 800;
}

.review-school {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding-top: 15px;
  border-top: 1px solid #ece9e2;
}

.review-school-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-size: .68rem;
}

.review-school p {
  color: #747974;
  font-size: .77rem;
  line-height: 1.4;
}

.modern-results {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: clamp(28px,4vw,60px);
  margin-top: 68px;
  padding: clamp(30px,4vw,52px);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: 30px;
  box-shadow: 0 30px 80px -45px rgba(0,0,0,.65);
}

.results-pattern {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to right,#000,rgba(0,0,0,.7),transparent);
}

.modern-results::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 430px;
  height: 430px;
  right: -115px;
  top: -245px;
  border-radius: 50%;
  background: rgba(255,195,28,.17);
  filter: blur(5px);
}

.modern-results-number {
  display: flex;
  align-items: center;
  gap: 17px;
}

.modern-results-number>span {
  font-family: "DM Serif Display",Georgia,serif;
  font-size: clamp(4.8rem,8vw,8.5rem);
  line-height: .72;
  font-weight: 400;
  letter-spacing: -.075em;
  color: var(--yellow);
}

.modern-results-number small {
  font-size: .64rem;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: .12em;
  color: #8c969b;
}

.results-mini-label {
  display: block;
  margin-bottom: 8px;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--yellow);
}

.modern-results-copy h3 {
  font-family: "DM Serif Display",Georgia,serif;
  font-size: clamp(1.75rem,2.4vw,2.7rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.modern-results-copy h3 strong {
  color: var(--yellow);
  font-weight: 400;
}

.modern-results-copy p {
  margin-top: 12px;
  max-width: 48ch;
  color: #a9b2b7;
  font-size: .86rem;
}

.results-cta {
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 18px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 16px;
  transition: transform .35s var(--ease),box-shadow .35s var(--ease),background .25s;
}

.results-cta:hover {
  transform: translateY(-4px);
  background: #ffd24a;
  box-shadow: 0 20px 40px -22px rgba(255,195,28,.75);
}

.results-cta>span:first-child {
  display: flex;
  flex-direction: column;
  font-weight: 900;
  line-height: 1.12;
}

.results-cta small {
  margin-bottom: 3px;
  font-weight: 700;
  font-size: .67rem;
  opacity: .65;
}

.results-cta-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-size: 1.15rem;
  transition: transform .3s var(--ease);
}

.results-cta:hover .results-cta-arrow {
  transform: translateX(3px);
}

@media (max-width:1100px) {
  .reviews-track {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .modern-results {
    grid-template-columns: auto 1fr;
  }

  .results-cta {
    grid-column: 1/-1;
    width: 100%;
  }
}

@media (max-width:700px) {
  .reviews-section {
    padding: 74px 0 84px;
  }

  .reviews-header {
    display: block;
    margin-bottom: 34px;
  }

  .reviews-header h2 {
    font-size: clamp(2.7rem,14vw,4.25rem);
    max-width: none;
  }

  .reviews-header-copy>p {
    margin-top: 18px;
    font-size: .94rem;
  }

  .reviews-youtube-link {
    margin-top: 26px;
    width: 100%;
    min-width: 0;
  }

  .reviews-mobile-hint {
    display: block;
  }

  .reviews-track {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    padding-bottom: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .reviews-track::-webkit-scrollbar {
    display: none;
  }

  .modern-review-card {
    flex: 0 0 min(84vw,340px);
    scroll-snap-align: start;
    border-radius: 21px;
  }

  .modern-review-card:hover {
    transform: none;
  }

  .modern-review-media {
    aspect-ratio: 4/5;
  }

  .modern-results {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 46px;
    padding: 28px 21px;
    border-radius: 24px;
  }

  .modern-results-number {
    justify-content: flex-start;
  }

  .modern-results-number>span {
    font-size: 6rem;
  }

  .modern-results-copy h3 {
    font-size: 1.85rem;
  }

  .results-cta {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width:390px) {
  .modern-review-card {
    flex-basis: 87vw;
  }

  .modern-results-number>span {
    font-size: 5.2rem;
  }

  .modern-results-number {
    gap: 12px;
  }
}

/* gallery */
.photo-wall {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}

.photo-wall-item {
  overflow: hidden;
  border-radius: 22px;
  background: #ddd;
}

.photo-wall-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.photo-wall-item:hover img {
  transform: scale(1.045);
}

.photo-wall-item--a {
  grid-column: span 5;
  grid-row: span 2;
}

.photo-wall-item--b {
  grid-column: span 7;
  grid-row: span 3;
}

.photo-wall-item--c {
  grid-column: span 7;
  grid-row: span 2;
}

.photo-wall-item--d {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-quote {
  grid-column: span 5;
  grid-row: span 1;
  background: var(--yellow);
  border-radius: 22px;
  padding: 25px 28px;
  color: var(--ink);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.gallery-quote span {
  font-family: "DM Serif Display",serif;
  font-size: 4rem;
  line-height: .7;
}

.gallery-quote p {
  font-weight: 800;
  font-size: .95rem;
}

/* teachers */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.teacher-card {
  padding: clamp(26px,3.2vw,42px);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.teacher-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.teacher-avatar {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
}

.teacher-top h3 {
  font-family: "DM Serif Display",serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.teacher-top span {
  display: block;
  color: #91a1a8;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

.teacher-card dl {
  display: grid;
  gap: 13px;
  margin: 28px 0;
}

.teacher-card dl div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
}

.teacher-card dt {
  color: #78868e;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.teacher-card dd {
  color: #d7dde0;
  font-size: .88rem;
}

.teacher-card details {
  border-top: 1px solid var(--line-dark);
  padding-top: 15px;
}

.teacher-card summary {
  cursor: pointer;
  color: var(--yellow);
  font-weight: 800;
  font-size: .86rem;
  list-style: none;
}

.teacher-card summary::-webkit-details-marker {
  display: none;
}

.teacher-card summary::after {
  content: "+";
  float: right;
  font-size: 1.2rem;
}

.teacher-card details[open] summary::after {
  content: "−";
}

.teacher-details {
  padding-top: 16px;
  color: #9aa8ae;
  font-size: .85rem;
}

.teacher-details p+p {
  margin-top: 9px;
}

/* contact */
.contact-hero {
  max-width: 980px;
  margin-bottom: 55px;
}

.contact-hero h2 {
  max-width: 12ch;
}

.contact-hero>p:last-child {
  color: #5c666d;
  font-size: 1.05rem;
  margin-top: 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr);
  gap: 24px;
}

.contact-form, .contact-card, .hours-panel {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid #e0ddd6;
  box-shadow: 0 12px 45px rgba(16,21,27,.06);
}

.contact-form {
  padding: clamp(24px,4vw,46px);
}

.form-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.form-head h3 {
  font-family: "DM Serif Display",serif;
  font-size: 2.3rem;
  font-weight: 400;
}

.form-head span {
  font-size: .78rem;
  color: #7a8288;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-grid label span {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #717a81;
}

.form-grid input, .form-grid select {
  height: 54px;
  border: 1px solid #d9d6cf;
  border-radius: 14px;
  padding: 0 14px;
  background: #fbfaf7;
  outline: none;
}

.form-grid input:focus, .form-grid select:focus {
  border-color: var(--slate);
  box-shadow: 0 0 0 3px rgba(102,132,146,.12);
}

.contact-form .button {
  margin-top: 20px;
}

.form-note {
  font-size: .72rem;
  color: #858c91;
  margin-top: 13px;
}

.contact-info {
  display: grid;
  gap: 20px;
}

.contact-card {
  padding: clamp(25px,3vw,34px);
}

.contact-card--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line span {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #829198;
}

.contact-line strong {
  font-size: clamp(.9rem,1.5vw,1.05rem);
  overflow-wrap: anywhere;
}

.location-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid #e6e2dc;
}

.location-line:last-child {
  border-bottom: 0;
}

.location-line div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.location-line span {
  font-size: .8rem;
  color: #747c82;
}

.location-line a {
  color: var(--slate-dark);
  font-weight: 800;
  font-size: .8rem;
  white-space: nowrap;
}

.hours-panel {
  margin-top: 24px;
  padding: clamp(26px,4vw,46px);
}

.hours-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 25px;
}

.hours-heading h3 {
  font-family: "DM Serif Display",serif;
  font-size: clamp(2rem,3vw,3rem);
  font-weight: 400;
}

.hours-timeline {
  display: grid;
}

.hours-item {
  display: grid;
  grid-template-columns: 135px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #ece9e2;
  font-size: .86rem;
}

.hours-item span {
  font-weight: 700;
}

.hours-item i {
  height: 1px;
  background: repeating-linear-gradient(90deg,#c7c3bb 0 3px,transparent 3px 8px);
}

.hours-item strong {
  font-weight: 800;
}

.hours-item--closed strong {
  color: #979797;
}

.exam-hours {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
}

.exam-hours span {
  font-weight: 800;
}

.exam-hours strong {
  font-size: .92rem;
}

/* Footer */
.footer {
  background: #0b0f13;
  color: #9ba6ac;
  padding: 68px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3,1fr);
  gap: 50px;
  padding-bottom: 46px;
}

.footer-brand img {
  width: 240px;
  margin-bottom: 22px;
}

.footer-brand p {
  font-size: .86rem;
}

.footer-brand strong {
  color: #fff;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: .72rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 9px;
}

.footer-col a {
  font-size: .84rem;
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: .75rem;
}

/* sticky contact */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--yellow);
  color: var(--ink);
  padding: 13px 17px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(0,0,0,.2);
  transition: transform .3s;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 20px;
  height: 20px;
}

.mobile-contact-bar {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(7,10,13,.92);
  display: grid;
  place-items: center;
  padding: 55px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s,visibility .25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1200px,96vw);
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}

.lightbox-close {
  position: absolute;
  right: 24px;
  top: 20px;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease),transform .75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: .12s;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width:1180px) {
  .desktop-nav {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-layout {
    grid-template-columns: 1fr 430px;
  }

  .hero h1 {
    font-size: clamp(3.2rem,6vw,5.8rem);
  }

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

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 2/4;
  }
}

@media (max-width:900px) {
  :root {
    --header-h: 72px;
  }

  .brand img {
    width: 185px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 45px);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 60px;
  }

  .hero-copy {
    padding-top: 30px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 520px;
    max-width: 660px;
    width: 100%;
    margin-inline: auto;
  }

  .hero-photo--main {
    width: 80%;
    height: 70%;
  }

  .hero-photo--side {
    width: 55%;
    height: 38%;
  }

  .hero-proof {
    width: 130px;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-media {
    min-height: 680px;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .languages-card {
    width: 100%;
  }

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

  .classroom-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-image, .gallery-image--wide {
    grid-column: auto;
  }

  .photo-wall {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 280px;
  }

  .photo-wall-item--a, .photo-wall-item--b, .photo-wall-item--c, .photo-wall-item--d, .gallery-quote {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-quote {
    min-height: 220px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: auto;
  }
}

@media (max-width:650px) {
  body {
    padding-bottom: 68px;
  }

  .section {
    padding: 74px 0;
  }

  .site-header {
    background: rgba(16,21,27,.88);
    backdrop-filter: blur(14px);
  }

  .brand img {
    width: 170px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    padding-bottom: 45px;
  }

  .hero-kicker {
    font-size: .68rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem,13vw,4rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    gap: 10px;
  }

  .hero-trust strong {
    font-size: 1.65rem;
  }

  .hero-trust span {
    font-size: .65rem;
  }

  .hero-visual {
    min-height: 400px;
  }

  .hero-photo--main {
    width: 88%;
    height: 68%;
    right: 0;
  }

  .hero-photo--side {
    width: 58%;
    height: 37%;
    left: 0;
  }

  .hero-proof {
    width: 105px;
    top: 3%;
  }

  .proof-number {
    font-size: 2.8rem;
  }

  .proof-label {
    font-size: .53rem;
  }

  .hero-formula {
    display: none;
  }

  .marquee-track {
    padding: 11px 0;
    gap: 21px;
    font-size: .7rem;
  }

  h2 {
    font-size: clamp(2.45rem,11vw,3.6rem);
  }

  .founder-card {
    padding: 14px;
    border-radius: 24px;
  }

  .founder-media {
    min-height: 460px;
    border-radius: 18px;
  }

  .founder-stamp {
    width: 105px;
    height: 105px;
  }

  .founder-stamp strong {
    font-size: 2.2rem;
  }

  .founder-copy {
    padding: 15px 8px 12px;
  }

  .founder-copy h3 {
    font-size: 2.55rem;
  }

  .founder-copy p {
    font-size: .9rem;
  }

  .story-panel {
    padding: 28px 22px;
    border-radius: 22px;
  }

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

  .service-card {
    min-height: 285px;
    padding: 27px;
  }

  .service-card h3 {
    margin-top: 58px;
  }

  .exam-banner {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 22px;
  }

  .exam-banner .button {
    width: 100%;
  }

  .branch-card {
    min-height: 340px;
    border-radius: 22px;
  }

  .branch-icon {
    margin: 35px 0 22px;
  }

  .branch-card h3 {
    font-size: 2.8rem;
  }

  .classroom-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-image, .gallery-image--wide {
    border-radius: 16px;
  }

  .photo-wall {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .photo-wall-item--b {
    min-height: 340px;
  }

  .gallery-quote {
    min-height: 190px;
  }

  .teacher-card {
    padding: 26px 20px;
  }

  .teacher-card dl div {
    grid-template-columns: 82px 1fr;
  }

  .teacher-top h3 {
    font-size: 1.55rem;
  }

  .form-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .contact-info {
    grid-template-columns: 1fr;
  }

  .hours-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hours-item {
    grid-template-columns: 92px 1fr auto;
    gap: 10px;
    font-size: .76rem;
  }

  .exam-hours {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    padding-top: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .whatsapp-float {
    display: none;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 180;
    left: 0;
    right: 0;
    bottom: 0;
    height: 68px;
    padding-bottom: env(safe-area-inset-bottom);
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    background: #0b0f13;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
  }

  .mobile-contact-bar a:last-child {
    background: var(--yellow);
    color: var(--ink);
  }

  .mobile-contact-bar svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width:390px) {
  .brand img {
    width: 150px;
  }

  .hero-trust {
    grid-template-columns: 1fr 1fr;
  }

  .hero-trust div:last-child {
    display: none;
  }

  .hero-visual {
    min-height: 345px;
  }

  .hero-proof {
    width: 92px;
  }

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

  .footer-brand {
    grid-column: auto;
  }
}

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

  *, *::before, *::after {
    animation: none!important;
    transition-duration: .001ms!important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    transform: none;
  }
}