:root {
  --cream: #FAF6F0;
  --terracotta: #C4673A;
  --rose: #D4927A;
  --warm-dark: #2D2017;
  --gold: #C9A96E;
  --muted: #8B7355;
  --bg-color: var(--cream);
  --text-color: var(--warm-dark);
  --section-pad-desktop: 100px;
  --section-pad-mobile: 60px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--warm-dark);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

p {
  margin-bottom: 1rem;
  color: var(--warm-dark);
  opacity: 0.9;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 115, 85, 0.1);
  padding: 1rem 0;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav__link:hover {
  color: var(--terracotta);
}

.btn {
  display: inline-block;
  background-color: var(--terracotta);
  color: var(--cream);
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #a3532c;
  color: var(--cream);
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  background-color: var(--terracotta);
  color: var(--cream);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--warm-dark);
}

section {
  padding: var(--section-pad-desktop) 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 4rem auto;
  color: var(--muted);
}

.hero {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-top: calc(var(--section-pad-desktop) * 0.5);
  padding-bottom: var(--section-pad-desktop);
}

.hero__content {
  flex: 1;
}

.hero__image-wrap {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(45, 32, 23, 0.08);
  position: relative;
}

.hero__image-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 8px;
  z-index: 1;
  pointer-events: none;
}

.hero__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.problems {
  background-color: #F5EFEB;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  border: 1px solid rgba(139, 115, 85, 0.1);
  box-shadow: 0 4px 12px rgba(45, 32, 23, 0.03);
}

.problem-card h4 {
  color: var(--terracotta);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.program-image {
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.module {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(139, 115, 85, 0.2);
}

.module:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.module-num {
  font-family: 'Cormorant Garamond', serif;
  color: var(--rose);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery {
  background-color: #F5EFEB;
}

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

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(45, 32, 23, 0.05);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--cream);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid rgba(139, 115, 85, 0.1);
  position: relative;
}

.review-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: rgba(201, 169, 110, 0.2);
  position: absolute;
  top: -10px;
  left: 20px;
}

.review-author {
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(139, 115, 85, 0.2);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h4 {
  margin: 0;
  font-size: 1.25rem;
}

.faq-icon {
  color: var(--terracotta);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  margin-top: 1rem;
}

.lead-section {
  background-color: var(--warm-dark);
  color: var(--cream);
  text-align: center;
}

.lead-section h2,
.lead-section p {
  color: var(--cream);
}

.lead-section p {
  opacity: 0.8;
}

.form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  background: var(--cream);
  padding: 3rem;
  border-radius: 8px;
  color: var(--warm-dark);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(139, 115, 85, 0.3);
  border-radius: 4px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--warm-dark);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--terracotta);
}

.form-error {
  color: #d32f2f;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
}

.footer {
  background-color: var(--warm-dark);
  color: rgba(250, 246, 240, 0.6);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: rgba(250, 246, 240, 0.6);
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(250, 246, 240, 0.6);
}

.footer-links a:hover {
  color: var(--terracotta);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 240, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--warm-dark);
  color: var(--cream);
  padding: 1rem 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  color: var(--cream);
  margin: 0;
  font-size: 0.9rem;
}

.cookie-content a {
  text-decoration: underline;
  color: var(--rose);
}

.cookie-btn {
  padding: 8px 24px;
  background: var(--terracotta);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.page-header {
  background-color: #F5EFEB;
  padding: 6rem 0 4rem;
  text-align: center;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero p {
    margin: 0 auto 2rem auto;
  }

  .problems-grid,
  .program-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  section {
    padding: var(--section-pad-mobile) 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }

  .nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .problems-grid,
  .program-grid,
  .reviews-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
