/* Base + theme tokens */
:root {
  --bg: #fffaf6;
  --surface: #ffffff;
  --surface-soft: #fff3eb;
  --text: #2d2d2d;
  --muted: #666666;
  --line: #f0dfd4;
  --primary: #f36a45;
  --primary-dark: #d95330;
  --accent: #ff9f66;
  --shadow: 0 10px 30px rgba(36, 19, 11, 0.09);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

.section-container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  background: var(--text);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 0.5rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header + nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(240, 223, 212, 0.85);
}

.header-content {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  width: clamp(120px, 13vw, 160px);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

/* Shared typography + buttons */
section {
  padding: 5.5rem 0;
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: center;
}

.section-title-left {
  text-align: left;
}

.section-subtitle {
  max-width: 640px;
  margin: 0 auto 2.4rem;
  text-align: center;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-light {
  background: #ffffff;
  color: var(--primary-dark);
}

/* Hero */
.hero {
  padding-top: 7.5rem;
  padding-bottom: 6.2rem;
  background: radial-gradient(circle at 15% 20%, rgba(243, 106, 69, 0.14), transparent 42%),
    radial-gradient(circle at 90% 15%, rgba(255, 159, 102, 0.16), transparent 38%),
    linear-gradient(180deg, #fffefd 0%, #fff6ef 100%);
}

.hero-content {
  max-width: 900px;
  text-align: center;
}

.hero-logo {
  margin: 0 auto 1.2rem;
  display: flex;
  justify-content: center;
}

.hero-logo-image {
  width: clamp(250px, 44vw, 420px);
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.3rem, 5.8vw, 4.25rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

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

.hero-subtitle {
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* About + services */
.about {
  background: var(--surface);
}

.about-content {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.2rem;
  align-items: center;
}

.about-image {
  background: var(--surface-soft);
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.services {
  background: #fff3ea;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.4rem;
  box-shadow: 0 8px 22px rgba(36, 19, 11, 0.06);
}

.service-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  margin-bottom: 0.45rem;
  font-size: 1.4rem;
}

.service-card p {
  color: var(--muted);
}

/* Class schedule cards */
.schedule {
  background: var(--surface);
}

.schedule-list {
  display: grid;
  gap: 1rem;
}

.schedule-day-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--primary);
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(36, 19, 11, 0.05);
}

.schedule-day-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.schedule-classes {
  display: grid;
  gap: 0.75rem;
}

.schedule-class-row {
  background: #fffaf8;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.8rem;
}

.schedule-class-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.schedule-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.1rem;
}

.schedule-value {
  display: block;
  font-weight: 700;
  color: var(--text);
}

.schedule-link {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--primary-dark);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
}

.schedule-link[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.65;
  border-style: dashed;
}

/* Booking + contact + footer */
.booking {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
}

.booking .section-title,
.booking .section-subtitle {
  color: #ffffff;
}

.booking-content {
  text-align: center;
}

.contact {
  background: #fff7f2;
}

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

.contact-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.3rem;
  text-align: center;
}

.contact-item h3 {
  font-family: "Playfair Display", Georgia, serif;
  margin-bottom: 0.45rem;
}

.contact-item a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
}

.site-footer {
  background: #261711;
  color: rgba(255, 255, 255, 0.88);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
}

.footer-logo {
  width: 150px;
}

/* Mobile adjustments */
@media (max-width: 900px) {
  .about-content,
  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-title-left {
    text-align: center;
  }

  .about-photo {
    min-height: 300px;
  }

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

@media (max-width: 640px) {
  .header-content {
    min-height: 80px;
    flex-direction: column;
    justify-content: center;
    padding: 0.8rem 0;
  }

  .site-nav {
    justify-content: center;
    gap: 0.8rem;
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 9rem;
    padding-bottom: 4.5rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .schedule-class-meta {
    grid-template-columns: 1fr;
  }
}
