/* Stillwater Yoga — Misty Ivory & Charcoal */
:root {
  --bg: #fafaf8;
  --bg-soft: #f3f1ec;
  --surface: #ffffff;
  --border: #e4e1da;
  --border-strong: #d4d0c8;
  --text: #2f2f2a;
  --text-muted: #6b6b64;
  --stone: #8a8a82;
  --charcoal: #4a4a44;
  --ink: #2c2c28;
  --sage: #7a8b7a;
  --sage-deep: #5a6b5a;
  --sage-soft: #e8ede8;
  --sage-mid: #c5d0c5;
  --warm: #c4a484;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(47, 47, 42, 0.04), 0 8px 24px rgba(47, 47, 42, 0.05);
  --shadow-lg: 0 4px 12px rgba(47, 47, 42, 0.06), 0 20px 48px rgba(47, 47, 42, 0.08);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
  --max-wide: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--sage-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); font-weight: 550; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.muted { color: var(--text-muted); }
.small { font-size: 0.9375rem; }

/* Layout */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2.5rem, var(--max-wide));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-ink {
  background: var(--ink);
  color: #e8e6e1;
}

.section-ink h2,
.section-ink h3 {
  color: #fafaf8;
}

.section-ink .muted,
.section-ink .lead {
  color: rgba(250, 250, 248, 0.72);
}

.section-header {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.85rem;
}

.section-ink .eyebrow {
  color: var(--sage-mid);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--ink);
  color: #fafaf8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
  background: #1a1a17;
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-sage {
  background: var(--sage);
  color: #fff;
}

.btn-sage:hover {
  background: var(--sage-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(47, 47, 42, 0.03);
}

.btn-light {
  background: #fafaf8;
  color: var(--ink);
}

.btn-light:hover {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-on-dark {
  background: transparent;
  color: #fafaf8;
  border-color: rgba(250, 250, 248, 0.35);
}

.btn-on-dark:hover {
  background: rgba(250, 250, 248, 0.08);
  border-color: rgba(250, 250, 248, 0.6);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 250, 248, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo:hover { color: var(--ink); }

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 55%, transparent 38%, var(--sage) 39%, var(--sage) 52%, transparent 53%),
    radial-gradient(circle at 50% 50%, var(--sage-soft) 0 100%);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--bg-soft);
}

.nav-cta {
  margin-left: 0.35rem;
}

.nav-cta .btn {
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
}

/* Beat .nav-links a color so primary CTA stays light-on-dark */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover,
.nav-links a.btn-primary[aria-current="page"] {
  color: #fafaf8;
  background: var(--ink);
}

.nav-links a.btn-primary:hover {
  background: #1a1a17;
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(44, 44, 40, 0.15) 0%, rgba(44, 44, 40, 0.25) 40%, rgba(44, 44, 40, 0.72) 100%),
    linear-gradient(90deg, rgba(44, 44, 40, 0.35) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 8vw, 5.5rem);
  color: #fafaf8;
  max-width: 38rem;
}

.hero-content .eyebrow {
  color: var(--sage-mid);
}

.hero-content h1 {
  color: #fafaf8;
  margin-bottom: 1rem;
}

.hero-content .lead {
  color: rgba(250, 250, 248, 0.82);
  max-width: 30rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(3.5rem, 7vw, 5rem) 0 2.5rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero .lead {
  max-width: 36rem;
}

/* Cards / grids */
.grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.03);
}

.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.4rem;
}

.card-meta {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.5rem;
}

/* Feature split */
.feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2;
}

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

.feature-img.portrait {
  aspect-ratio: 4 / 5;
}

/* Offer banner */
.offer-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  background: var(--sage-soft);
  border: 1px solid var(--sage-mid);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.offer-banner .price-tag {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.offer-banner .price-tag span {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--sage-deep);
  margin-top: 0.4rem;
}

/* Teachers */
.teacher-card {
  text-align: center;
  padding: 1.75rem 1.25rem 1.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.teacher-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.teacher-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.15rem;
  border: 3px solid var(--sage-soft);
  aspect-ratio: 1;
}

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

.teacher-card h3 {
  margin-bottom: 0.25rem;
}

.teacher-role {
  color: var(--sage-deep);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.teacher-certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--charcoal);
  border: 1px solid var(--border);
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}

.price-card.featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #e8e6e1;
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.price-card.featured h3,
.price-card.featured .price-amount {
  color: #fafaf8;
}

.price-card.featured .muted {
  color: rgba(250, 250, 248, 0.7);
}

.price-card.featured .btn {
  background: #fafaf8;
  color: var(--ink);
}

.price-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin: 0.75rem 0 0.35rem;
}

.price-amount small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card ul {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  flex: 1;
}

.price-card li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.35rem;
  font-size: 0.95rem;
  color: inherit;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.price-card.featured li::before {
  background: var(--sage-mid);
}

/* Schedule */
.schedule-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.day-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.day-tab {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
}

.day-tab:hover {
  border-color: var(--border-strong);
  background: var(--bg-soft);
}

.day-tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fafaf8;
}

.schedule-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.schedule-table th,
.schedule-table td {
  text-align: left;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.schedule-table th {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  background: var(--bg-soft);
}

.schedule-table tr:last-child td {
  border-bottom: 0;
}

.schedule-table tbody tr {
  transition: background 0.15s ease;
}

.schedule-table tbody tr:hover {
  background: rgba(122, 139, 122, 0.06);
}

.schedule-table .time {
  font-family: var(--font-display);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}

.schedule-table .class-name {
  font-weight: 600;
  color: var(--ink);
}

.level-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.day-panel[hidden] {
  display: none;
}

/* Form */
.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122, 139, 122, 0.18);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--sage-soft);
  color: var(--sage-deep);
  border: 1px solid var(--sage-mid);
}

.form-status.error {
  display: block;
  background: #fdf2f0;
  color: #8b3a2f;
  border: 1px solid #e8c4bc;
}

.form-status.sending {
  display: block;
  background: var(--bg-soft);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.info-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.info-list li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}

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

.info-list strong {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  padding-top: 0.15rem;
}

.map-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(145deg, var(--sage-soft), var(--bg-soft) 50%, #e8e0d4);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.map-placeholder::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--sage);
  opacity: 0.35;
}

.map-placeholder::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 8px rgba(122, 139, 122, 0.2);
}

.map-copy {
  position: relative;
  z-index: 1;
  margin-top: 6rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(250, 250, 248, 0.72);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer .logo {
  color: #fafaf8;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: rgba(250, 250, 248, 0.72);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fafaf8;
}

.footer-col h4 {
  color: #fafaf8;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 250, 248, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(250, 250, 248, 0.78);
}

.footer-bottom span {
  color: rgba(250, 250, 248, 0.78);
}

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

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

/* Utility */
.stack-sm > * + * { margin-top: 0.75rem; }
.stack-md > * + * { margin-top: 1.25rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.divider-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

.divider-note::before,
.divider-note::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Responsive */
@media (max-width: 980px) {
  .grid-2,
  .location-grid,
  .offer-banner {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: rgba(250, 250, 248, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s ease;
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
  }

  .nav-cta .btn {
    width: 100%;
  }

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

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

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

  .info-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .hero {
    min-height: min(88vh, 700px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .card,
  .teacher-card,
  .card-media img {
    transition: none;
  }
}
