:root {
  --beige: #f4efe4;
  --beige-dark: #e8dfc9;
  --white: #ffffff;
  --ink: #2c2620;
  --ink-soft: #5a5147;
  --accent: #a9762f;
  --accent-dark: #8a5f24;
  --border: #e2d9c4;
  --radius: 14px;
  --max-width: 1120px;
  --shadow: 0 8px 24px rgba(44, 38, 32, 0.08);
  --shadow-lift: 0 16px 32px rgba(44, 38, 32, 0.14);
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 8px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--beige);
}

/* Icons */

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--beige-dark);
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.icon-badge-lg {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.icon {
  width: 24px;
  height: 24px;
}

.icon-badge-lg .icon {
  width: 28px;
  height: 28px;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.logo-mark {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.logo-text { font-size: 1.05rem; }

.footer-logo { margin-bottom: 12px; }

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.main-nav a:hover { color: var(--accent-dark); }

.nav-cta { margin-left: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn-lg { padding: 14px 30px; font-size: 1rem; }

/* Hero */

.hero {
  background:
    linear-gradient(180deg, rgba(30, 25, 20, 0.72) 0%, rgba(30, 25, 20, 0.82) 100%),
    url("assets/hero.jpg") center / cover no-repeat;
  padding: 96px 0 80px;
  text-align: center;
}

.hero .eyebrow { color: var(--beige-dark); }

.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero .btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero-inner { max-width: 720px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 20px;
}

.hero-subtitle {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  background: rgba(20, 16, 12, 0.35);
  backdrop-filter: blur(2px);
  padding: 10px 20px;
  border-radius: 999px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p { color: var(--ink-soft); }

.about-highlights {
  display: grid;
  gap: 16px;
}

.highlight-card {
  background: var(--beige);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.highlight-card h3 { margin-bottom: 6px; font-size: 1.05rem; }

.highlight-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.step-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
}

.step p { color: var(--ink-soft); margin: 0; }

/* Stats */

.stats-section {
  padding: 56px 0;
  background: var(--accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
}

.stat-label {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Subjects */

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.subject-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.subject-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.subject-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  display: grid;
  gap: 6px;
  flex-grow: 1;
}

.badge {
  align-self: flex-start;
  background: var(--beige-dark);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
}

/* Booking */

.booking-intro {
  max-width: 640px;
  color: var(--ink-soft);
  margin-top: 8px;
}

.booking-embed {
  margin-top: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.booking-embed iframe {
  width: 100%;
  height: 640px;
  border: 0;
  display: block;
}

.booking-fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--beige);
}

.booking-fallback p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* FAQ */

.faq-list {
  max-width: 760px;
  margin: 40px auto 0;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--beige);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: box-shadow 0.25s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--beige);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

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

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  font-size: 1.2rem;
  color: var(--accent);
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--beige);
  padding: 56px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(244, 239, 228, 0.15);
}

.footer-inner .logo-mark { margin-bottom: 12px; }

.footer-sub {
  color: rgba(244, 239, 228, 0.6);
  font-size: 0.9rem;
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact a { color: var(--beige); font-weight: 600; }

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(244, 239, 228, 0.6);
}

/* Responsive */

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .subjects-grid { grid-template-columns: 1fr; }
  .booking-embed iframe { height: 520px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
