:root {
  --navy: #102c4c;
  --navy-soft: #4a5b6f;
  --teal: #0b7f7b;
  --teal-dark: #086b68;
  --teal-pale: #e8f2ef;
  --gold: #c99a37;
  --paper: #f8f6f0;
  --white: #ffffff;
  --line: rgba(16, 44, 76, 0.16);
  --container: 1160px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 5px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 9px 15px;
  background: var(--navy);
  color: var(--white);
  font-weight: 750;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(16, 44, 76, 0.09);
  background: rgba(248, 246, 240, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 27px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  line-height: 1.1;
  text-decoration: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--navy-soft);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--teal-dark);
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.header-cta:hover {
  background: var(--teal-dark);
}

.mobile-menu {
  display: none;
  position: relative;
}

.hero {
  padding: clamp(64px, 6.5vw, 86px) 0 clamp(68px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 7vw, 82px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.81rem;
}

.pin {
  width: 13px;
  height: 13px;
  display: inline-block;
  flex: 0 0 auto;
  border: 2.2px solid var(--teal);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(2.65rem, 3.85vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 0.99;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--teal);
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--navy);
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.45;
}

.hero-intro {
  max-width: 600px;
  margin: 9px 0 0;
  color: var(--navy-soft);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 21px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background 170ms ease, border-color 170ms ease, box-shadow 170ms ease, color 170ms ease, transform 170ms ease;
}

.button-primary {
  background: var(--teal);
  color: var(--white);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border-color: rgba(16, 44, 76, 0.26);
  background: transparent;
  color: var(--navy);
}

.button-secondary:hover {
  border-color: var(--teal);
  background: var(--white);
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 0;
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.availability span {
  width: 23px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--gold);
}

.hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 44, 76, 0.16);
  border-radius: 20px;
  background: #eee9dd;
  box-shadow: 0 20px 42px rgba(16, 44, 76, 0.1);
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  width: 42px;
  height: 3px;
  background: var(--gold);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  object-position: center;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  color: var(--white);
}

.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 18px 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-strip li:first-child {
  padding-left: 0;
}

.trust-strip li:last-child {
  padding-right: 0;
  border-right: 0;
}

.trust-strip strong {
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.trust-strip span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  line-height: 1.4;
}

.section {
  padding: clamp(68px, 7vw, 86px) 0;
}

.section-heading {
  margin-bottom: 35px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(310px, 0.62fr);
  align-items: end;
  gap: clamp(36px, 8vw, 110px);
}

.section-heading h2,
.credibility-copy h2,
.contact-inner h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 790;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.split-heading > p,
.credibility-copy > p:last-child,
.contact-inner > div:first-child > p:last-child {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.98rem;
}

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

.subject-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.subject-card {
  min-height: 184px;
  padding: 23px 20px 21px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.subject-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.subject-card h3 {
  margin: 0 0 4px;
  color: var(--teal-dark);
  font-size: 1.12rem;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: uppercase;
}

.subject-card p {
  margin: 0;
  color: var(--navy);
  font-size: 0.89rem;
  line-height: 1.45;
}

.subject-card .card-note {
  margin-top: 10px;
  color: var(--navy-soft);
  font-size: 0.68rem;
  line-height: 1.4;
}

.about-section {
  border-top: 1px solid rgba(16, 44, 76, 0.08);
  background: var(--paper);
}

.credibility-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1.25fr);
  align-items: start;
  gap: clamp(55px, 9vw, 120px);
}

.credibility-copy {
  max-width: 430px;
}

.credibility-copy > p:last-child {
  margin-top: 20px;
  line-height: 1.7;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.credentials li {
  min-height: 89px;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 12px;
  padding: 16px 18px 16px 0;
  border-top: 1px solid var(--line);
  color: var(--navy-soft);
  font-size: 0.8rem;
  line-height: 1.35;
}

.credentials li:nth-child(even) {
  padding-left: 21px;
  border-left: 1px solid var(--line);
}

.credentials li:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.credentials li:last-child {
  grid-column: 1 / -1;
  border-left: 0;
  padding-left: 0;
}

.credentials li > span {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.credentials strong {
  color: var(--navy);
  font-size: 0.88rem;
}

.offer-section {
  border-block: 1px solid rgba(11, 127, 123, 0.16);
  background: var(--teal-pale);
}

.offer-heading {
  margin-bottom: 42px;
}

.tuition-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: clamp(42px, 8vw, 95px);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table th,
.price-table td {
  padding: 15px 12px;
  border-bottom: 1px solid rgba(16, 44, 76, 0.18);
}

.price-table thead th {
  padding-top: 0;
  color: var(--navy-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-table thead th:first-child,
.price-table tbody th {
  padding-left: 0;
}

.price-table tbody th {
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price-table td {
  color: var(--teal-dark);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.session-length {
  margin: 15px 0 0;
  color: var(--navy-soft);
  font-size: 0.82rem;
}

.session-length strong {
  color: var(--navy);
}

.format-block {
  padding-left: clamp(35px, 5vw, 65px);
  border-left: 1px solid rgba(16, 44, 76, 0.18);
}

.format-list {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px;
}

.format-list p {
  margin: 0;
}

.format-list strong,
.format-list span {
  display: block;
}

.format-list strong {
  margin-bottom: 3px;
  color: var(--teal-dark);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.format-list span {
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.45;
}

.benefits {
  margin: 24px 0 0;
  padding: 19px 0 0;
  border-top: 1px solid rgba(16, 44, 76, 0.18);
  list-style: none;
}

.benefits li {
  position: relative;
  margin-top: 8px;
  padding-left: 24px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
}

.benefits li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 1px;
  width: 10px;
  height: 5px;
  border-bottom: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
  transform: rotate(-45deg);
}

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

.process-heading {
  margin-bottom: 33px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.steps li {
  min-height: 124px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 17px;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.steps li:last-child {
  border-right: 0;
}

.steps span {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.steps h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.91rem;
  letter-spacing: 0.045em;
  line-height: 1.35;
  text-transform: uppercase;
}

.first-lesson {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 34px;
  max-width: 900px;
  margin: 31px 0 0 auto;
  padding-top: 2px;
}

.first-lesson .section-kicker,
.first-lesson > p:last-child {
  margin: 0;
}

.first-lesson > p:last-child {
  color: var(--navy-soft);
  font-size: 0.95rem;
}

.contact-section {
  padding: clamp(62px, 7vw, 82px) 0;
  background: var(--navy);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.58fr);
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
}

.contact-inner .section-kicker {
  color: #e1bb63;
}

.contact-inner h2 {
  max-width: 680px;
  color: var(--white);
  text-transform: uppercase;
}

.contact-inner > div:first-child > p:last-child {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.button-light {
  background: var(--white);
  color: var(--teal-dark);
}

.button-light:hover {
  background: var(--teal-pale);
}

.contact-phone {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.11rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: color 170ms ease, transform 170ms ease;
}

.mobile-whatsapp {
  display: none;
}

.site-footer {
  padding: 27px 0;
  border-top: 1px solid rgba(16, 44, 76, 0.1);
  background: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  color: var(--navy-soft);
  font-size: 0.79rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 0.98rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--teal-dark);
  font-weight: 750;
}

.footer-inner p {
  margin: 0;
}

.motion-ok .hero-copy > .eyebrow,
.motion-ok .hero-copy > h1,
.motion-ok .hero-copy > .hero-lead,
.motion-ok .hero-copy > .hero-intro,
.motion-ok .hero-copy > .hero-actions,
.motion-ok .hero-copy > .availability {
  --hero-enter-y: 13px;
  opacity: 0;
  animation: hero-enter 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.motion-ok .hero-copy > h1 {
  animation-delay: 45ms;
}

.motion-ok .hero-copy > .hero-lead {
  animation-delay: 80ms;
}

.motion-ok .hero-copy > .hero-intro {
  animation-delay: 110ms;
}

.motion-ok .hero-copy > .hero-actions {
  animation-delay: 145ms;
}

.motion-ok .hero-copy > .availability {
  animation-delay: 175ms;
}

.motion-ok .hero-visual {
  --hero-image-x: 14px;
  --hero-image-y: 10px;
  opacity: 0;
  animation: hero-image-enter 540ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translate3d(0, var(--hero-enter-y), 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-image-enter {
  from {
    opacity: 0;
    transform: translate3d(var(--hero-image-x), var(--hero-image-y), 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.motion-ok .reveal-section {
  opacity: 0;
  transform: translate3d(0, 19px, 0);
  transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1), transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ok .reveal-section.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ok .reveal-section .reveal-item {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1), transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ok .reveal-section.is-revealed .reveal-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ok .reveal-section.is-revealed .reveal-item:nth-child(1) {
  transition-delay: 40ms;
}

.motion-ok .reveal-section.is-revealed .reveal-item:nth-child(2) {
  transition-delay: 100ms;
}

.motion-ok .reveal-section.is-revealed .reveal-item:nth-child(3) {
  transition-delay: 160ms;
}

.motion-ok .reveal-section.is-revealed .reveal-item:nth-child(4) {
  transition-delay: 220ms;
}

.motion-ok .reveal-section.is-revealed .reveal-item:nth-child(5) {
  transition-delay: 280ms;
}

@media (hover: hover) and (pointer: fine) {
  .button-primary:hover,
  .button-light:hover,
  .header-cta:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 8px 18px rgba(11, 127, 123, 0.18);
  }

  .button-secondary:hover {
    transform: translate3d(0, -1px, 0);
  }

  .subject-card {
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .subject-card:hover {
    border-color: rgba(11, 127, 123, 0.34);
    box-shadow: 0 8px 18px rgba(16, 44, 76, 0.07);
    transform: translate3d(0, -2px, 0);
  }

  .price-table tbody tr {
    transition: background-color 170ms ease;
  }

  .price-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.28);
  }
}

.button:active,
.header-cta:active,
.mobile-whatsapp:active,
.contact-phone:active {
  transform: scale(0.98);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 40px;
  }

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

  .subject-card {
    min-height: 172px;
  }

  .credibility-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(470px, 1.28fr);
    gap: 50px;
  }

  .tuition-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }

  .format-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .steps li {
    padding-inline: 19px;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 76px;
  }

  .header-inner {
    min-height: 68px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu summary {
    min-height: 44px;
    display: grid;
    place-items: center;
    padding: 7px 13px;
    border: 1px solid rgba(16, 44, 76, 0.18);
    border-radius: 7px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(245px, calc(100vw - 32px));
    display: grid;
    padding: 7px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 17px 38px rgba(16, 44, 76, 0.14);
  }

  .mobile-menu nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 7px 12px;
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
  }

  .mobile-menu nav a:hover,
  .mobile-menu nav a:focus-visible {
    background: var(--teal-pale);
  }

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

  .hero-copy,
  .hero-visual {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }

  .hero-visual img {
    aspect-ratio: 1.55 / 1;
  }

  .trust-strip ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip li,
  .trust-strip li:first-child,
  .trust-strip li:last-child {
    min-height: 84px;
    padding: 14px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .trust-strip li:nth-child(odd) {
    padding-left: 0;
  }

  .trust-strip li:nth-child(even) {
    padding-right: 0;
    border-right: 0;
  }

  .trust-strip li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .credibility-copy {
    max-width: 630px;
  }

  .tuition-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .format-block {
    padding: 30px 0 0;
    border-top: 1px solid rgba(16, 44, 76, 0.18);
    border-left: 0;
  }

  .format-list {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .steps li {
    grid-template-columns: 38px 1fr;
    gap: 11px;
    padding-inline: 14px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-actions {
    max-width: 360px;
  }

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

  .footer-inner p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 76px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand {
    min-width: 0;
    overflow: hidden;
    font-size: clamp(0.73rem, 3.5vw, 0.86rem);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-whatsapp {
    position: fixed;
    right: 16px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 16px;
    z-index: 200;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 10px;
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 12px 26px rgba(16, 44, 76, 0.23);
    font-size: 0.9rem;
    font-weight: 850;
    text-decoration: none;
  }

  .hero {
    padding: 44px 0 50px;
  }

  .hero-grid {
    gap: 31px;
  }

  .eyebrow {
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 9.1vw, 2.25rem);
    letter-spacing: -0.047em;
    line-height: 1.01;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 1.02rem;
  }

  .hero-intro {
    margin-top: 8px;
    font-size: 0.91rem;
  }

  .hero-actions {
    display: grid;
    margin-top: 21px;
  }

  .button {
    width: 100%;
  }

  .availability {
    align-items: flex-start;
    margin-top: 17px;
    font-size: 0.65rem;
  }

  .hero-visual {
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(16, 44, 76, 0.09);
  }

  .hero-visual img {
    aspect-ratio: 1.46 / 1;
  }

  .trust-strip strong {
    font-size: 0.79rem;
  }

  .trust-strip span {
    font-size: 0.66rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading,
  .offer-heading,
  .process-heading {
    margin-bottom: 27px;
  }

  .section-heading h2,
  .credibility-copy h2,
  .contact-inner h2 {
    font-size: clamp(1.78rem, 7.9vw, 2.1rem);
  }

  .split-heading > p,
  .credibility-copy > p:last-child {
    font-size: 0.91rem;
  }

  .subject-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .subject-card {
    min-height: 154px;
    padding: 17px 15px;
  }

  .subject-card:nth-child(n + 3) {
    min-height: 202px;
  }

  .subject-icon {
    width: 31px;
    height: 31px;
    margin-bottom: 18px;
  }

  .subject-card h3 {
    font-size: 0.98rem;
  }

  .subject-card p {
    font-size: 0.79rem;
    line-height: 1.4;
  }

  .subject-card .card-note {
    margin-top: 8px;
    font-size: 0.61rem;
  }

  .credibility-grid {
    gap: 26px;
  }

  .credibility-copy > p:last-child {
    margin-top: 14px;
  }

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

  .credentials li,
  .credentials li:nth-child(even),
  .credentials li:last-child {
    min-height: 67px;
    grid-column: auto;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }

  .credentials li:last-child {
    border-bottom: 1px solid var(--line);
  }

  .price-table th,
  .price-table td {
    padding: 13px 7px;
  }

  .price-table thead th {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .price-table tbody th {
    font-size: 0.76rem;
  }

  .price-table td {
    font-size: 1.68rem;
  }

  .format-block {
    padding-top: 26px;
  }

  .format-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .benefits {
    margin-top: 20px;
    padding-top: 15px;
  }

  .benefits li {
    font-size: 0.82rem;
  }

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

  .steps li {
    min-height: 74px;
    grid-template-columns: 42px 1fr;
    padding: 14px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps li:last-child {
    border-bottom: 0;
  }

  .steps h3 {
    font-size: 0.85rem;
  }

  .first-lesson {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 25px;
    padding-top: 0;
  }

  .first-lesson > p:last-child {
    font-size: 0.9rem;
  }

  .contact-section {
    padding: 53px 0 48px;
  }

  .contact-inner {
    gap: 25px;
  }

  .contact-inner h2 {
    font-size: clamp(1.75rem, 8vw, 2.05rem);
  }

  .contact-actions {
    max-width: none;
  }

  .site-footer {
    padding: 25px 0;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-inner p {
    grid-column: auto;
  }

  .motion-ok .hero-copy > .eyebrow,
  .motion-ok .hero-copy > h1,
  .motion-ok .hero-copy > .hero-lead,
  .motion-ok .hero-copy > .hero-intro,
  .motion-ok .hero-copy > .hero-actions,
  .motion-ok .hero-copy > .availability {
    --hero-enter-y: 8px;
    animation-duration: 420ms;
  }

  .motion-ok .hero-visual {
    --hero-image-x: 7px;
    --hero-image-y: 7px;
    animation-duration: 470ms;
  }

  .motion-ok .reveal-section {
    transform: translate3d(0, 12px, 0);
    transition-duration: 440ms;
  }

  .motion-ok .reveal-section .reveal-item {
    transform: translate3d(0, 9px, 0);
    transition-duration: 420ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-copy > *,
  .hero-visual,
  .reveal-section,
  .reveal-item {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .contact-actions,
  .mobile-whatsapp {
    display: none;
  }

  body {
    padding-bottom: 0;
    background: var(--white);
  }

  .hero-copy > *,
  .hero-visual,
  .reveal-section,
  .reveal-item {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }

  .section,
  .contact-section {
    padding: 30px 0;
  }
}
