/* ===== VARIABLES ===== */
:root {
  --cream: #F5F0EA;
  --cream-dark: #EDE5D8;
  --terracotta: #B5715A;
  --terracotta-dark: #9A5D48;
  --sage: #8A9E89;
  --sage-light: #D5E0D4;
  --brown: #2A1A12;
  --brown-light: #5C3D2E;
  --gray: #7A7367;
  --white: #FFFFFF;

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

  --container: 1200px;
  --section-gap: 100px;
  --radius: 4px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--brown);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--terracotta-dark); }

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brown);
  margin-bottom: 16px;
}
.section-title--light { color: var(--cream); }

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}
.section-sub--light { color: rgba(245, 240, 234, 0.7); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  letter-spacing: 0.02em;
}
.btn--primary { background-color: var(--terracotta); color: var(--white); }
.btn--primary:hover { background-color: var(--terracotta-dark); color: var(--white); transform: translateY(-1px); }
.btn--light { background-color: var(--cream); color: var(--brown); }
.btn--light:hover { background-color: var(--cream-dark); color: var(--brown); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
  padding: 14px 32px;
}
.btn--outline:hover { background: var(--terracotta); color: white; transform: translateY(-1px); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brown);
  color: var(--cream);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.9rem; opacity: 0.85; }
.cookie-banner a { color: var(--cream); text-decoration: underline; }

.btn-cookie-accept {
  background: var(--terracotta);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background var(--transition);
  font-family: var(--font-sans);
}
.btn-cookie-accept:hover { background: var(--terracotta-dark); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(42, 26, 18, 0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.06em;
}
.logo:hover { color: var(--terracotta); }

.nav { display: flex; gap: 36px; }
.nav a {
  font-size: 0.88rem;
  color: var(--brown);
  font-weight: 400;
  letter-spacing: 0.03em;
}
.nav a:hover { color: var(--terracotta); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background-color: var(--cream);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero__label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--brown);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 440px;
  line-height: 1.75;
}

.hero__image { position: relative; }
.hero__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
}
.hero__image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: 20px;
  left: 20px;
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  z-index: -1;
}

/* ===== WHY SECTION ===== */
.why {
  padding: var(--section-gap) 0;
  background: var(--cream-dark);
}

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

.why__item {
  padding: 36px 28px;
  background: var(--cream);
  border-radius: var(--radius);
}
.why__icon {
  font-size: 1rem;
  color: var(--terracotta);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}
.why__item h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--brown);
}
.why__item p { font-size: 0.92rem; color: var(--gray); line-height: 1.7; }

/* ===== COURSE SECTION ===== */
.course { padding: var(--section-gap) 0; }

.course__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}

.course__image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
  position: sticky;
  top: 88px;
}

.module {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.module:last-child { border-bottom: none; }

.module__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--terracotta);
  opacity: 0.5;
  min-width: 36px;
  padding-top: 2px;
}

.module__content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--brown);
  margin-bottom: 8px;
}
.module__content p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }

/* ===== FOR WHOM ===== */
.forwhom {
  padding: var(--section-gap) 0;
  background: var(--sage-light);
}

.forwhom__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.forwhom__item { padding: 48px 44px; background: var(--cream); }
.forwhom__item:nth-child(2) { background: var(--cream-dark); }
.forwhom__item:nth-child(4) { background: var(--cream-dark); }

.forwhom__item h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--brown);
  margin-bottom: 14px;
}
.forwhom__item p { color: var(--gray); line-height: 1.75; }

/* ===== RESULTS ===== */
.results { padding: var(--section-gap) 0; }

.results__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.results__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 28px 32px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.results__item:hover { border-color: var(--terracotta); }

.results__check {
  color: var(--terracotta);
  font-size: 1rem;
  min-width: 20px;
  margin-top: 3px;
}
.results__item p { color: var(--brown-light); line-height: 1.7; font-size: 0.95rem; }

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: var(--section-gap) 0;
  background: var(--cream-dark);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.testimonial {
  padding: 40px 36px;
  background: var(--cream);
  border-radius: var(--radius);
  position: relative;
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--terracotta);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 8px;
}

.testimonial__text {
  font-size: 0.95rem;
  color: var(--brown-light);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial__author {
  font-size: 0.85rem;
  color: var(--terracotta);
  font-weight: 500;
}

/* ===== FAQ ===== */
.faq { padding: var(--section-gap) 0; }

.faq__list {
  max-width: 760px;
  margin-top: 56px;
}

.faq__item { border-bottom: 1px solid var(--cream-dark); }

.faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq__question:hover { color: var(--terracotta); }
.faq__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--terracotta);
  flex-shrink: 0;
  transition: transform var(--transition);
  font-family: var(--font-sans);
}
.faq__item.open .faq__question::after { transform: rotate(45deg); }

.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__answer p { padding-bottom: 24px; color: var(--gray); line-height: 1.8; }

/* ===== FORM SECTION ===== */
.form-section {
  padding: var(--section-gap) 0;
  background: var(--brown);
}

.form-section__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.lead-form {
  text-align: left;
  margin-top: 12px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  color: rgba(245, 240, 234, 0.65);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 240, 234, 0.18);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input::placeholder { color: rgba(245, 240, 234, 0.3); }
.form-group input:focus { border-color: rgba(245, 240, 234, 0.45); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--terracotta);
  cursor: pointer;
  margin-top: 3px;
}
.form-check label {
  font-size: 0.83rem;
  color: rgba(245, 240, 234, 0.6);
  cursor: pointer;
  line-height: 1.6;
}
.form-check label a { color: rgba(245, 240, 234, 0.75); text-decoration: underline; }
.lead-form .btn { width: 100%; }

/* ===== FOOTER ===== */
.footer {
  background: var(--brown-light);
  padding: 64px 0 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand .logo { color: var(--cream); display: block; margin-bottom: 10px; }
.footer__brand p { font-size: 0.88rem; color: rgba(245, 240, 234, 0.45); }

.footer__nav { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; }
.footer__nav a { font-size: 0.9rem; color: rgba(245, 240, 234, 0.6); }
.footer__nav a:hover { color: var(--cream); }

.footer__bottom {
  border-top: 1px solid rgba(245, 240, 234, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__legal { font-size: 0.78rem; color: rgba(245, 240, 234, 0.35); line-height: 1.6; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { font-size: 0.78rem; color: rgba(245, 240, 234, 0.35); }
.footer__links a:hover { color: rgba(245, 240, 234, 0.7); }

/* ===== INNER PAGES ===== */
.inner-header {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  padding: 24px 0;
}
.inner-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.inner-header a { font-size: 0.88rem; color: var(--gray); }
.inner-header a:hover { color: var(--terracotta); }

.inner-page {
  padding: 60px 0 100px;
  min-height: 70vh;
}

.inner-page .page-header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--cream-dark);
}

.inner-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--brown);
  margin-bottom: 10px;
}

.inner-page .updated {
  font-size: 0.85rem;
  color: var(--gray);
}

.legal-content { max-width: 800px; }
.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--brown);
  margin: 40px 0 14px;
}
.legal-content p { color: var(--brown-light); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul {
  margin: 0 0 16px 20px;
  color: var(--brown-light);
  line-height: 1.8;
}
.legal-content li { margin-bottom: 8px; }

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}
.success-page__inner { max-width: 480px; }

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 2rem;
}

.success-page h1 {
  font-size: 2.8rem;
  color: var(--brown);
  margin-bottom: 16px;
}
.success-page p { color: var(--gray); line-height: 1.75; margin-bottom: 36px; }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .course__grid { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 72px; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right var(--transition);
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    z-index: 99;
  }
  .nav.open { right: 0; }
  .nav a { font-size: 1.2rem; }

  .burger { display: flex; z-index: 100; }

  .hero {
    padding: 100px 0 56px;
    min-height: auto;
  }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__image { order: -1; }
  .hero__image img { aspect-ratio: 4/3; }
  .hero__image::before { display: none; }

  .why__grid { grid-template-columns: 1fr; gap: 16px; }

  .course__grid { grid-template-columns: 1fr; gap: 40px; }
  .course__image { display: none; }

  .forwhom__grid { grid-template-columns: 1fr; gap: 0; }
  .forwhom__item:nth-child(2) { background: var(--cream); }
  .forwhom__item:nth-child(4) { background: var(--cream); }

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

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

  .footer__top { flex-direction: column; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__links { gap: 16px; }

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

  .form-section__inner { text-align: left; }
}

@media (max-width: 480px) {
  .forwhom__item { padding: 36px 24px; }
  .testimonial { padding: 32px 24px; }
  .results__item { padding: 22px 24px; }
  .footer__nav { gap: 16px; }
}
