@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

:root {
  --bg: #23233d;
  --bg-soft: #2b2b48;
  --bg-panel: rgba(47, 47, 76, 0.9);
  --bg-panel-strong: rgba(56, 56, 90, 0.96);
  --surface: rgba(57, 57, 92, 0.92);
  --surface-alt: rgba(66, 66, 106, 0.94);
  --surface-muted: rgba(255, 255, 255, 0.04);
  --text: #f8f7fb;
  --text-soft: rgba(248, 247, 251, 0.76);
  --text-muted: rgba(248, 247, 251, 0.52);
  --text-on-dark: #ffffff;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 111, 81, 0.22);
  --primary: #ff9a1f;
  --primary-strong: #ff6f51;
  --accent: #ff7b61;
  --accent-strong: #ff6a4d;
  --success: #1f9d55;
  --danger: #d9485f;
  --shadow: 0 30px 80px rgba(8, 8, 20, 0.32);
  --shadow-soft: 0 18px 40px rgba(8, 8, 20, 0.18);
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 42px;
  --container: 1200px;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(255, 123, 97, 0.1), transparent 22%),
    linear-gradient(180deg, #2d2d4a 0%, #292945 42%, #24243d 100%);
  background-size: 32px 32px, 32px 32px, auto, auto;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(255, 123, 97, 0.08), transparent 40%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 1px, transparent 1.7px);
  background-size: auto, 14px 14px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 75%);
  opacity: 0.5;
}

body.menu-open {
  overflow: hidden;
}

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

p {
  max-width: 62ch;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
}

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

iframe {
  border: 0;
}

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

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

.section {
  position: relative;
  padding: 96px 0;
}

.section-tight {
  padding: 52px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(246, 244, 239, 0.82);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 36px;
}

.section-head h2,
.section-head h1 {
  margin: 16px 0 0;
  max-width: 11ch;
  font-size: clamp(2.5rem, 4.5vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
  color: var(--text-on-dark);
}

.section-head p {
  max-width: 40ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.82;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018)),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.1;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 111, 81, 0.18);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.stack-sm > * + * {
  margin-top: 12px;
}

.stack-md > * + * {
  margin-top: 20px;
}

.stack-lg > * + * {
  margin-top: 30px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  font-size: 0.96rem;
  font-weight: 700;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fffdf8;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 16px 32px rgba(255, 106, 77, 0.24);
}

.btn-secondary {
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
}

.btn-dark {
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 154, 31, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn-link {
  padding-inline: 0;
  min-height: auto;
  border-radius: 0;
  color: var(--accent);
  font-weight: 700;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(248, 247, 251, 0.86);
  font-size: 0.84rem;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(36, 36, 60, 0.7);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(48, 48, 78, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-on-dark);
  white-space: nowrap;
  min-width: max-content;
}

.brand__text {
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fffdf8;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 10px 26px rgba(255, 106, 77, 0.26);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-on-dark);
  content: "";
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span {
  margin-block: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(248, 247, 251, 0.78);
  font-size: 0.84rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.site-nav a.active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: max-content;
}

.header-chip {
  min-height: 48px;
  padding: 10px 18px;
  white-space: nowrap;
  font-size: 0.92rem;
}

.hero {
  padding: 34px 0 92px;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 54% 18%, rgba(255, 123, 97, 0.14), transparent 22%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(43, 43, 72, 0.96) 0%, rgba(37, 37, 61, 0.98) 100%);
  background-size: auto, 28px 28px, 28px 28px, auto;
  color: var(--text-on-dark);
  box-shadow: var(--shadow);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: auto -8% -34% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 123, 97, 0.18), transparent 65%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 34px;
  align-items: stretch;
}

.hero-title,
.hero-copy h1 {
  margin: 18px 0;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
  max-width: 8.6ch;
  color: var(--text-on-dark);
}

.hero-title span {
  display: block;
}

.hero-copy p {
  max-width: 40ch;
  margin: 0 0 30px;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.82;
}

.hero-pills {
  margin-top: 22px;
}

.hero-panel {
  padding: 30px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-media {
  display: grid;
  gap: 18px;
}

.teacher-card {
  display: grid;
  gap: 18px;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 194, 120, 0.78), transparent 54%),
    linear-gradient(135deg, rgba(255, 154, 31, 0.92), rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.teacher-copy {
  min-width: 0;
}

.teacher-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text-on-dark);
}

.teacher-role {
  display: block;
  color: rgba(246, 244, 239, 0.76);
  font-size: 0.95rem;
  font-weight: 500;
}

.teacher-description {
  max-width: 30ch;
  color: var(--text-soft);
}

.hero-panel-pills {
  gap: 12px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-stats {
  align-items: stretch;
}

.stat {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 128px;
}

.stat strong {
  display: block;
  font-size: 2.25rem;
  line-height: 1;
  color: #111111;
  letter-spacing: -0.05em;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: #52525b;
  line-height: 1.55;
}

.surface-dark {
  background: transparent;
  color: var(--text-on-dark);
}

.surface-dark .section-head p,
.surface-dark .muted {
  color: var(--text-soft);
}

.surface-dark .eyebrow {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(246, 244, 239, 0.84);
}

.feature-card,
.service-card,
.resource-card,
.blog-card,
.testimonial-card,
.faq-item,
.contact-card,
.form-card,
.metric-card {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(54, 54, 86, 0.88);
}

.service-card,
.resource-card,
.blog-card,
.testimonial-card,
.metric-card,
.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.feature-card h3,
.service-card h3,
.resource-card h3,
.blog-card h3,
.testimonial-card h3,
.contact-card h3 {
  position: relative;
  margin: 0 0 14px;
  max-width: 16ch;
  font-size: 1.42rem;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--text-on-dark);
}

.feature-card p,
.service-card p,
.resource-card p,
.blog-card p,
.testimonial-card p,
.contact-card p,
.faq-item p,
.metric-card p {
  position: relative;
  margin: 0;
  color: var(--text-soft);
  max-width: 42ch;
  font-size: 0.98rem;
  line-height: 1.82;
}

.service-card .btn,
.resource-card .btn,
.blog-card .btn {
  margin-top: auto;
}

.service-card ul,
.contact-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.82;
}

.media-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 123, 97, 0.24), transparent 24%),
    linear-gradient(135deg, rgba(255, 123, 97, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(54, 54, 86, 0.98) 0%, rgba(45, 45, 72, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-embed {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(55, 55, 88, 0.9);
  box-shadow: var(--shadow-soft);
}

.video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.short-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(55, 55, 88, 0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.short-card iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
}

.short-card__body {
  padding: 22px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.chip {
  min-height: 46px;
  padding: 11px 17px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-weight: 700;
  cursor: pointer;
}

.chip.is-active {
  border-color: rgba(255, 154, 31, 0.24);
  color: #fffdf8;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.search-input,
.field,
.select,
.textarea {
  width: 100%;
  min-height: 56px;
  padding: 15px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-on-dark);
}

.search-input::placeholder,
.field::placeholder,
.textarea::placeholder {
  color: var(--text-muted);
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.resource-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 123, 97, 0.18);
  background: rgba(255, 123, 97, 0.12);
  color: #ffd0c6;
  font-size: 0.82rem;
  font-weight: 700;
}

.slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(100%, 1fr);
  transition: transform 0.35s ease;
}

.slider-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.slider-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-on-dark);
  cursor: pointer;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 24px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-on-dark);
  text-align: left;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 260px;
  margin-top: 16px;
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.form-status {
  display: none;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(31, 157, 85, 0.12);
  color: #b4f0ca;
}

.form-status.is-error {
  background: rgba(217, 72, 95, 0.12);
  color: #ffb6c1;
}

.page-hero {
  padding: 42px 0 28px;
}

.page-hero__panel {
  padding: 38px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 123, 97, 0.14), transparent 20%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(48, 48, 78, 0.96) 0%, rgba(41, 41, 69, 0.98) 100%);
  background-size: auto, 24px 24px, 24px 24px, auto;
  color: var(--text-on-dark);
  box-shadow: var(--shadow-soft);
}

.page-hero__panel p {
  margin: 16px 0 0;
  max-width: 54ch;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.9;
}

.page-hero__panel h1 {
  margin: 16px 0 0;
  max-width: 11ch;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.map-frame {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  width: 100%;
  min-height: 360px;
  filter: grayscale(1) invert(0.94) contrast(1.05);
}

.footer {
  margin-top: 24px;
  padding: 46px 0 36px;
  background: rgba(31, 31, 52, 0.96);
  color: rgba(246, 244, 239, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.footer h3,
.footer h4 {
  margin: 0 0 14px;
  color: var(--text-on-dark);
}

.footer p,
.footer li,
.footer a {
  color: var(--text-soft);
  line-height: 1.9;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
}

.floating-whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 16px;
  color: #140a00;
  background: linear-gradient(135deg, #2ae56c 0%, #18b857 100%);
  box-shadow: 0 20px 38px rgba(18, 140, 69, 0.24);
  font-weight: 800;
}

.muted {
  color: var(--text-soft);
}

.seo-list {
  display: grid;
  gap: 12px;
}

.seo-list strong {
  color: #ffb357;
}

[data-hidden="true"] {
  display: none !important;
}

.hero-shell,
.page-hero__panel,
.card,
.site-header__inner,
.faq-item,
.map-frame {
  animation: rise-in 0.7s ease both;
}

.grid > .card:nth-child(2),
.slider-track > *:nth-child(2) {
  animation-delay: 0.08s;
}

.grid > .card:nth-child(3),
.slider-track > *:nth-child(3) {
  animation-delay: 0.14s;
}

.grid > .card:nth-child(4) {
  animation-delay: 0.2s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.16fr 0.84fr;
  }
}

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

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

@media (max-width: 820px) {
  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    min-height: auto;
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    inset: 92px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 16px;
    border-radius: 24px;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: visible;
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .section-head h2,
  .section-head h1,
  .page-hero__panel h1 {
    max-width: 100%;
  }

  .grid-3,
  .grid-2,
  .form-grid,
  .teacher-card,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell,
  .page-hero__panel {
    padding: 26px;
  }

  .teacher-name {
    font-size: 1.6rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 20px 0 64px;
  }

  .feature-card,
  .service-card,
  .resource-card,
  .blog-card,
  .testimonial-card,
  .faq-item,
  .contact-card,
  .form-card,
  .metric-card {
    padding: 24px;
  }

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

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
    justify-content: start;
  }

  .floating-whatsapp a span:last-child {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.9rem, 14vw, 4.6rem);
  }

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

  .avatar {
    width: 88px;
    height: 88px;
  }
}
