/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, picture, video { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
blockquote { margin: 0; }

/* ===== TOKENS ===== */
:root {
  --primary:    #6B7F6E;
  --primary-dk: #4E5F51;
  --primary-lt: #E8EDE9;
  --accent:     #C4A882;
  --accent-lt:  #F5EDE0;
  --bg:         #F7F5F2;
  --surface:    #FFFFFF;
  --surface-2:  #F0EDE8;
  --ink:        #2C2C2C;
  --ink-mute:   #6B6B6B;
  --border:     #DDD9D3;

  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-6:  24px;
  --s-8:  32px;
  --s-12: 48px;
  --s-16: 64px;

  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 2px 16px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 32px rgba(0,0,0,0.10);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { margin: 0; }

/* ===== SECTION COMMON ===== */
.section {
  padding-block: var(--s-16);
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--s-12);
}
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--s-3);
}
.section-title {
  margin-bottom: var(--s-4);
}
.section-desc {
  color: var(--ink-mute);
  font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-6);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover { background: var(--primary-dk); border-color: var(--primary-dk); }
.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.25); }
.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover { background: var(--primary-lt); }
.btn--full { width: 100%; }

/* ===== TAGS ===== */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: var(--s-1) var(--s-3);
  border-radius: 100px;
  background: var(--primary-lt);
  color: var(--primary-dk);
  margin-right: var(--s-1);
  margin-top: var(--s-2);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--s-4);
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.nav__link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-mute);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--primary); }
.nav__link--cta {
  background: var(--primary);
  color: #fff;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--radius);
  font-weight: 500;
}
.nav__link--cta:hover { background: var(--primary-dk); color: #fff; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s-2);
  flex-shrink: 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 40, 32, 0.72) 0%,
    rgba(30, 40, 32, 0.40) 60%,
    rgba(30, 40, 32, 0.20) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-block: var(--s-16);
  max-width: 680px;
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--s-4);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: var(--s-6);
  letter-spacing: 0.01em;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--s-8);
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-bottom: var(--s-12);
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.hero__badges li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.80);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  padding: var(--s-2) var(--s-3);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

/* ===== ABOUT ===== */
.about { background: var(--surface); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}
.about__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about__image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.about__text .section-label { margin-bottom: var(--s-3); }
.about__text .section-title { margin-bottom: var(--s-6); }
.about__text p {
  color: var(--ink-mute);
  margin-bottom: var(--s-4);
  font-size: 1.02rem;
}
.about__list {
  margin-top: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.about__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: 0.95rem;
  color: var(--ink);
}
.about__list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}

/* ===== CARDS GRID ===== */
.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(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card__image-wrap { flex-shrink: 0; }
.card__image {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  display: block;
}
.card__body {
  flex: 1 1 auto;
  padding: var(--s-6);
}
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: var(--s-4);
}
.card__title {
  font-size: 1.3rem;
  margin-bottom: var(--s-3);
}
.card__text {
  color: var(--ink-mute);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__footer {
  margin-top: auto;
  padding: 0 var(--s-6) var(--s-6);
}

/* ===== SERVICES ===== */
.services { background: var(--bg); }

/* ===== EXPECT ===== */
.expect { background: var(--surface); }
.expect__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin-inline: auto;
}
.expect__step {
  display: flex;
  gap: var(--s-8);
  padding-block: var(--s-8);
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.expect__step:last-child { border-bottom: none; }
.expect__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--primary);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  width: 64px;
  text-align: right;
}
.expect__content h3 {
  font-size: 1.25rem;
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.expect__content p {
  color: var(--ink-mute);
  font-size: 0.97rem;
}

/* ===== BOOKING ===== */
.booking { background: var(--bg); }
.booking__layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--s-12);
  align-items: start;
}
.booking__week-title,
.booking__form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: var(--s-6);
  color: var(--ink);
}

/* Slot badges */
.slot {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: var(--s-1) var(--s-3);
  border-radius: 100px;
}
.slot--free {
  background: #E6F4EA;
  color: #2E7D32;
}
.slot--busy {
  background: #FBE9E7;
  color: #BF360C;
}

/* Form */
.booking-form,
.cta-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--s-8);
  box-shadow: var(--shadow);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
}
.form-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}
.form-optional {
  font-weight: 400;
  color: var(--ink-mute);
}
.form-input {
  width: 100%;
  padding: var(--s-3) var(--s-4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107, 127, 110, 0.15);
}
.form-textarea {
  min-height: 100px;
  resize: vertical;
}
.form-note {
  margin-top: var(--s-4);
  font-size: 0.8rem;
  color: var(--ink-mute);
  text-align: center;
}

/* ===== DATA TABLE ===== */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th,
.data-table td { padding: 12px 16px; text-align: left; }
.data-table thead { background: var(--surface-2); }
.data-table th { font-weight: 600; font-size: 0.88rem; color: var(--ink-mute); }
.data-table tbody tr { border-bottom: 1px solid var(--border); }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: var(--primary-lt); }
.booking-table {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ===== SUPERVISION ===== */
.supervision { background: var(--accent-lt); }
.supervision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
}
.supervision__card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--s-8);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.supervision__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.supervision__card h3 {
  font-size: 1.4rem;
  color: var(--ink);
}
.supervision__card p {
  color: var(--ink-mute);
  font-size: 0.97rem;
}
.supervision__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  flex: 1;
}
.supervision__list li {
  font-size: 0.92rem;
  color: var(--ink-mute);
  padding-left: var(--s-4);
  position: relative;
}
.supervision__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--surface); }
.testimonial-card { padding: 0; }
.testimonial-card .card__body { padding: var(--s-6); }
.testimonial__stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: var(--s-4);
}
.testimonial__text {
  font-style: italic;
  font-size: 0.97rem;
  color: var(--ink);
  -webkit-line-clamp: 5;
}
.card__footer.testimonial__author {
  padding: var(--s-4) var(--s-6) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  border-top: 1px solid var(--border);
}
.testimonial__name {
  font-weight: 600;
  font-size: 0.9rem;
}
.testimonial__type {
  font-size: 0.8rem;
  color: var(--ink-mute);
}

/* ===== CTA SECTION ===== */
.cta-section { background: var(--primary); }
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: start;
}
.cta-text { color: #fff; }
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--s-4);
  color: #fff;
}
.cta-desc {
  color: rgba(255,255,255,0.80);
  font-size: 1.05rem;
  margin-bottom: var(--s-8);
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: rgba(255,255,255,0.85);
  font-size: 0.97rem;
}
.contact-list a {
  color: rgba(255,255,255,0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-form-wrap .booking-form,
.cta-form-wrap .cta-form {
  background: var(--surface);
}
.cta-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: var(--s-6);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.70);
  padding-block: var(--s-12);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-8);
  align-items: start;
}
.footer-brand .logo {
  color: #fff;
  font-size: 1.3rem;
  display: block;
  margin-bottom: var(--s-3);
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-info p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: var(--s-3);
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.40);
}

/* ===== TABLE RESPONSIVE ===== */
@media (max-width: 640px) {
  .data-table thead { position: absolute; left: -9999px; }
  .data-table tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 12px;
    background: var(--surface);
  }
  .data-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border: none;
    gap: 12px;
    font-size: 0.9rem;
  }
  .data-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--ink-mute);
    flex: 0 0 auto;
    font-size: 0.82rem;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .booking__layout {
    grid-template-columns: 1fr;
  }
  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }
  .about__image { aspect-ratio: 16/9; }
  .cta-inner {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .supervision__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section { padding-block: var(--s-12); }
  .section-header { margin-bottom: var(--s-8); }

  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(247,245,242,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99;
  }
  .nav.is-open .nav__list {
    flex-direction: column;
    gap: var(--s-6);
    text-align: center;
  }
  .nav.is-open .nav__link {
    font-size: 1.3rem;
    color: var(--ink);
  }
  .burger { display: flex; }

  .hero { min-height: 100svh; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__badges { gap: var(--s-2); }
  .hero__badges li { font-size: 0.78rem; }

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

  .expect__step {
    flex-direction: column;
    gap: var(--s-3);
  }
  .expect__num {
    width: auto;
    text-align: left;
    font-size: 2rem;
  }

  .booking-form,
  .cta-form {
    padding: var(--s-6);
  }

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

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

  .cta-inner {
    grid-template-columns: 1fr;
  }
}
