/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, picture, video { display: block; max-width: 100%; }

/* ===== VARIABLES ===== */
:root {
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-6: 24px;
  --s-8: 32px;
  --s-12: 48px;
  --s-16: 64px;

  --color-primary: #C4763A;
  --color-primary-dark: #A85E28;
  --color-primary-light: #E8A96A;
  --color-primary-pale: #FDF3E9;
  --color-warm-bg: #FBF5EE;
  --color-text: #2C1F0E;
  --color-text-muted: #7A6352;
  --color-border: #E8D8C8;
  --color-white: #FFFFFF;
  --color-dark: #1A1208;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(44,31,14,0.08);
  --shadow-md: 0 4px 24px rgba(44,31,14,0.12);
  --shadow-lg: 0 8px 48px rgba(44,31,14,0.16);

  --header-h: 72px;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--s-6);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--s-4);
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.logo-text span {
  color: var(--color-primary);
}

.logo--light .logo-text {
  color: var(--color-white);
}

/* ===== NAV ===== */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--s-1);
}

.nav-link {
  display: inline-block;
  padding: var(--s-2) var(--s-3);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--color-primary-pale);
}

.nav-link--cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-left: var(--s-2);
}

.nav-link--cta:hover {
  background: var(--color-primary-dark);
}

/* ===== BURGER ===== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s-2);
  border-radius: var(--radius-sm);
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,18,8,0.72) 0%, rgba(44,31,14,0.45) 60%, rgba(196,118,58,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--s-16);
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: var(--s-4);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--s-6);
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--s-8);
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-6);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.8);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary-pale);
}

.btn--sm { padding: var(--s-2) var(--s-4); font-size: 0.875rem; }
.btn--xs { padding: var(--s-1) var(--s-3); font-size: 0.8125rem; }
.btn--full { width: 100%; }
.btn--disabled { opacity: 0.5; pointer-events: none; }

/* ===== SECTION COMMON ===== */
.section {
  padding-block: var(--s-16);
}

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

.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--s-3);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-text);
  margin-bottom: var(--s-4);
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: var(--s-12);
  max-width: 560px;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}

.about-text .section-eyebrow { margin-bottom: var(--s-3); }
.about-text .section-title { margin-bottom: var(--s-6); }

.about-desc {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--s-4);
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-8);
  padding-top: var(--s-8);
  border-top: 1px solid var(--color-border);
}

.about-facts li {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.fact-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.fact-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  display: block;
}

/* ===== CARDS (CLASSES) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-6);
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.card-image-wrap {
  flex-shrink: 0;
  overflow: hidden;
}

.card__image {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  display: block;
  transition: transform 0.4s;
}

.card:hover .card__image {
  transform: scale(1.04);
}

.card__body {
  flex: 1 1 auto;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-pale);
  padding: var(--s-1) var(--s-3);
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.card__title {
  font-size: 1.25rem;
  color: var(--color-text);
}

.card__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__footer {
  margin-top: auto;
  padding: var(--s-4) var(--s-6) var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  border-top: 1px solid var(--color-border);
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ===== SCHEDULE ===== */
.schedule-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: var(--color-white);
}

.schedule-table thead {
  background: var(--color-primary);
  color: var(--color-white);
}

.schedule-table th {
  padding: var(--s-4) var(--s-6);
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}

.schedule-table td {
  padding: var(--s-4) var(--s-6);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

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

.schedule-table tbody tr:hover {
  background: var(--color-primary-pale);
}

.schedule-table .time {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.badge {
  display: inline-block;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge--green { background: #E6F4EA; color: #2E7D32; }
.badge--yellow { background: #FFF8E1; color: #F57F17; }
.badge--red { background: #FEECEC; color: #C62828; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  align-items: stretch;
  margin-bottom: var(--s-8);
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--s-8);
  border: 2px solid var(--color-border);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.price-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.price-card--featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: var(--s-1) var(--s-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.price-card__header {
  margin-bottom: var(--s-6);
}

.price-card__name {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: var(--s-2);
}

.price-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.price-card__price {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--color-border);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.price-per {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.price-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.price-features li {
  font-size: 0.9375rem;
  color: var(--color-text);
}

.price-features li.muted {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.prices-note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  padding: var(--s-4) var(--s-6);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* ===== TEACHERS ===== */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-6);
  align-items: stretch;
}

.teacher-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.teacher-photo-wrap {
  flex-shrink: 0;
  overflow: hidden;
}

.teacher-photo {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  display: block;
  transition: transform 0.4s;
}

.teacher-card:hover .teacher-photo {
  transform: scale(1.04);
}

.teacher-body {
  flex: 1 1 auto;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.teacher-name {
  font-size: 1.25rem;
  color: var(--color-text);
}

.teacher-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.teacher-bio {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: auto;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-warm-bg);
  padding: var(--s-1) var(--s-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: var(--s-4);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-border);
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
  min-height: 200px;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

/* ===== REVIEWS ===== */
.reviews-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.review-card {
  background: var(--color-white);
}

.review-stars {
  color: #F59E0B;
  font-size: 1.125rem;
  letter-spacing: 2px;
  margin-bottom: var(--s-3);
}

.review-text {
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.review-footer {
  padding: var(--s-4) var(--s-6) var(--s-6);
  border-top: 1px solid var(--color-border);
}

.reviewer {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.reviewer-date {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: start;
}

.contact-desc {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--s-8);
  margin-top: var(--s-4);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.contact-list a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--s-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.form-title {
  font-size: 1.375rem;
  color: var(--color-text);
  margin-bottom: var(--s-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-input {
  width: 100%;
  padding: var(--s-3) var(--s-4);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(196,118,58,0.15);
}

.form-input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A6352' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--s-8);
  cursor: pointer;
}

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

.form-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--s-3);
  opacity: 0.7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: var(--s-8);
  padding-block: var(--s-12);
}

.footer-brand .logo-text {
  color: var(--color-white);
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-top: var(--s-2);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer-nav a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--color-primary-light);
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s-4);
}

.footer-social-title {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.social-links {
  display: flex;
  gap: var(--s-3);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: background 0.2s, color 0.2s;
}

.social-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: var(--s-4);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }

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

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

  .pricing-grid .price-card:last-child {
    grid-column: span 2;
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }

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

  .footer-social {
    align-items: flex-end;
  }

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

  .gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    z-index: 99;
    overflow-y: auto;
    padding: var(--s-6);
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-2);
  }

  .nav-link {
    padding: var(--s-4);
    font-size: 1.0625rem;
    border-radius: var(--radius-sm);
  }

  .nav-link--cta {
    margin-left: 0;
    text-align: center;
    margin-top: var(--s-4);
  }

  .burger {
    display: flex;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding-block: var(--s-12);
  }

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

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

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

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

  .pricing-grid .price-card:last-child {
    grid-column: span 1;
    max-width: none;
  }

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

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-item--tall {
    grid-row: span 1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }

  .footer-social {
    align-items: flex-start;
  }

  .schedule-table th,
  .schedule-table td {
    padding: var(--s-3) var(--s-4);
    font-size: 0.875rem;
  }

  .contact-form-wrap {
    padding: var(--s-6);
  }
}

@media (min-width: 641px) {
  .burger {
    display: none;
  }
}
