@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --bg: #F7F5F1;
  --fg: #3C342F;
  --border: #DDD9D3;
  --card: #FDFCF9;
  --primary: #B05E3A;
  --primary-fg: #FDF9F5;
  --primary-hover: #9A5232;
  --secondary: #96B396;
  --muted: #EAE6DF;
  --muted-fg: #78706A;
  --accent: #E4D0C7;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius: 0.75rem;
  --shadow: 0 2px 16px rgba(60,52,47,0.08), 0 1px 4px rgba(60,52,47,0.06);
  --shadow-lg: 0 8px 32px rgba(60,52,47,0.12), 0 2px 8px rgba(60,52,47,0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.font-serif {
  font-family: var(--font-serif);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
  border: none;
  text-decoration: none;
}

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

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

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

.btn--primary:hover {
  background-color: var(--primary-hover);
  opacity: 1;
}

.btn--outline {
  background-color: transparent;
  color: var(--fg);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  background-color: var(--muted);
  opacity: 1;
}

.btn--wide {
  width: 100%;
  height: 56px;
  border-radius: var(--radius);
  font-size: 16px;
}

header.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  left: 0;
  right: 0;
}

.logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(60,52,47,0.75);
  transition: color 0.2s;
}

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

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--fg);
  margin: 5px 0;
  transition: all 0.3s;
}

section.hero {
  padding: 160px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__tag {
  display: inline-block;
  background: rgba(228,208,199,0.6);
  color: var(--muted-fg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__desc {
  font-size: 18px;
  color: var(--muted-fg);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__image-wrap {
  position: relative;
}

.hero__image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.hero__blob-1 {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  z-index: -1;
}

.hero__blob-2 {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0.25;
  z-index: -1;
}

section.about {
  padding: 100px 24px;
  background-color: var(--card);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 17px;
  color: var(--muted-fg);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-card__img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 28px;
  background-color: var(--muted);
}

.about-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--fg);
}

.about-card__desc {
  font-size: 15px;
  color: var(--muted-fg);
  line-height: 1.65;
}

section.gallery {
  padding: 100px 24px;
  overflow: hidden;
}

.gallery__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}

.gallery__heading-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.gallery__heading-text p {
  color: var(--muted-fg);
  font-size: 16px;
  max-width: 460px;
  line-height: 1.6;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gallery__main {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.gallery__main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.gallery__item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__main:hover img,
.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__label {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery__main:hover .gallery__label,
.gallery__item:hover .gallery__label {
  opacity: 1;
}

.gallery__label span {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
}

section.teacher {
  padding: 100px 24px;
  background-color: rgba(228,208,199,0.2);
}

.teacher__card {
  max-width: 960px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.teacher__photo {
  min-height: 400px;
  overflow: hidden;
}

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

.teacher__content {
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.teacher__name {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.teacher__role {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}

.teacher__content p {
  color: var(--muted-fg);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 16px;
}

.teacher__content p:last-child {
  margin-bottom: 0;
}

section.testimonials {
  padding: 100px 24px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid rgba(221,217,211,0.7);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow);
}

.testimonial-card:nth-child(2) {
  margin-top: 48px;
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 24px;
  opacity: 0.8;
}

.testimonial__text {
  font-size: 15px;
  color: var(--muted-fg);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 24px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial__avatar--e {
  background: rgba(150,179,150,0.3);
  color: #4a7a4a;
}

.testimonial__avatar--a {
  background: rgba(176,94,58,0.15);
  color: var(--primary);
}

.testimonial__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.testimonial__city {
  font-size: 12px;
  color: var(--muted-fg);
}

section.faq {
  padding: 100px 24px;
  background-color: var(--card);
}

.faq__list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  color: var(--fg);
  transition: color 0.2s;
  list-style: none;
  user-select: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.3s;
  font-size: 18px;
  color: var(--muted-fg);
  line-height: 1;
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: var(--primary-fg);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--muted-fg);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

section.lead-form {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.lead-form__bg-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: rgba(150,179,150,0.08);
  border-radius: 100px 0 0 100px;
  z-index: -1;
}

.lead-form__inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lead-form__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead-form__desc {
  color: var(--muted-fg);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.lead-form__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-form__bullets li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--fg);
}

.lead-form__bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
}

.form-card {
  background: var(--card);
  border: 1px solid rgba(221,217,211,0.5);
  border-radius: 28px;
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.form-field {
  margin-bottom: 20px;
}

.form-field input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background-color: rgba(247,245,241,0.5);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-field input::placeholder {
  color: var(--muted-fg);
}

.form-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(176,94,58,0.12);
}

.form-field--error input {
  border-color: #c0392b;
}

.form-error {
  display: none;
  font-size: 12px;
  color: #c0392b;
  margin-top: 6px;
}

.form-field--error .form-error {
  display: block;
}

.form-submit {
  width: 100%;
  height: 56px;
  border-radius: var(--radius);
  border: none;
  background-color: var(--primary);
  color: var(--primary-fg);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
  margin-top: 8px;
}

.form-submit:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  font-size: 12px;
  color: var(--muted-fg);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

.form-note a {
  text-decoration: underline;
}

.form-note a:hover {
  color: var(--fg);
}

footer {
  background-color: #EFECE8;
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.footer__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 14px;
}

.footer__brand-desc {
  font-size: 14px;
  color: var(--muted-fg);
  line-height: 1.65;
  max-width: 320px;
}

.footer__links-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer__links a {
  font-size: 14px;
  color: var(--muted-fg);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__bottom {
  border-top: 1px solid rgba(221,217,211,0.7);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__legal {
  font-size: 12px;
  color: rgba(120,112,106,0.75);
  line-height: 1.55;
}

.footer__copy {
  font-size: 12px;
  color: rgba(120,112,106,0.75);
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
  max-width: 400px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-banner h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--fg);
}

.cookie-banner p {
  font-size: 13px;
  color: var(--muted-fg);
  line-height: 1.6;
  margin-bottom: 18px;
}

.cookie-banner a {
  color: var(--primary);
}

.cookie-banner a:hover {
  text-decoration: underline;
}

.cookie-btn {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 100px;
  background: var(--primary);
  color: var(--primary-fg);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-btn:hover {
  background: var(--primary-hover);
}

.legal-page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-fg);
  transition: color 0.2s;
}

.legal-back:hover {
  color: var(--fg);
}

.legal-back svg {
  width: 16px;
  height: 16px;
}

.legal-content {
  flex: 1;
  padding: 64px 24px;
}

.prose {
  max-width: 680px;
  margin: 0 auto;
}

.prose h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.prose .lead {
  font-size: 15px;
  color: var(--muted-fg);
  margin-bottom: 48px;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  margin-top: 40px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.prose p {
  font-size: 15px;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 16px;
}

.prose ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.prose ul li {
  font-size: 15px;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 8px;
}

.prose strong {
  color: var(--fg);
  font-weight: 600;
}

.prose a {
  color: var(--primary);
}

.prose a:hover {
  text-decoration: underline;
}

.success-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.success-card {
  max-width: 440px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 52px 44px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(150,179,150,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: #4a7a4a;
  stroke: #4a7a4a;
}

.success-card h1 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.success-card p {
  font-size: 15px;
  color: var(--muted-fg);
  line-height: 1.65;
  margin-bottom: 36px;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .gallery__main img {
    height: 320px;
  }

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

  .gallery__item {
    height: 200px;
  }

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

  .teacher__photo {
    min-height: 300px;
  }

  .teacher__content {
    padding: 36px 32px;
  }

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

  .testimonial-card:nth-child(2) {
    margin-top: 0;
  }

  .lead-form__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  section.hero {
    padding: 120px 20px 80px;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .form-card {
    padding: 32px 24px;
  }

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