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

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

:root {
  --cream: #FBF7F0;
  --cream-dark: #F2EBE0;
  --card: #EDD5C5;
  --plum: #8B4A6B;
  --plum-dark: #6B3552;
  --plum-light: #C987A8;
  --terra: #C4855A;
  --terra-light: #E8A87C;
  --text: #2C2218;
  --text-muted: #6B5A52;
  --border: #DBC9B8;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(44, 34, 24, 0.09);
  --shadow-sm: 0 2px 8px rgba(44, 34, 24, 0.07);
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--text);
}

a {
  color: var(--plum);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--plum-dark);
}

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

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

.section {
  padding: 80px 0;
}

.section--alt {
  background-color: var(--cream-dark);
}

.section--plum {
  background-color: var(--plum);
  color: var(--white);
}

.section--plum h2,
.section--plum h3 {
  color: var(--white);
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  text-decoration: none;
}

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

.btn--primary:hover {
  background-color: var(--plum-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 74, 107, 0.35);
}

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

.btn--terra:hover {
  background-color: #B0754C;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196, 133, 90, 0.35);
}

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

.btn--outline:hover {
  background-color: var(--plum);
  color: var(--white);
}

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

.btn--white:hover {
  background-color: var(--cream);
  color: var(--plum-dark);
  transform: translateY(-1px);
}

/* =========== HEADER =========== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(251, 247, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: -0.01em;
}

.logo span {
  color: var(--terra);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 50px;
  transition: all 0.2s;
}

.nav__link:hover {
  color: var(--plum);
  background-color: rgba(139, 74, 107, 0.07);
}

.nav__cta {
  background-color: var(--plum);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}

.nav__cta:hover {
  background-color: var(--plum-dark);
  color: var(--white) !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =========== HERO =========== */

.hero {
  padding: 80px 0 0;
  overflow: hidden;
  background-color: var(--cream);
}

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

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(196, 133, 90, 0.12);
  color: var(--terra);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}

.hero__title em {
  font-style: italic;
  color: var(--plum);
}

.hero__desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

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

.hero__trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
}

.hero__trust-num {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--plum);
}

.hero__trust-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero__trust-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero__image-wrap {
  position: relative;
}

.hero__image {
  border-radius: 24px;
  width: 100%;
  height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero__badge {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__badge-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--plum-light), var(--plum));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.hero__badge-text strong {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.hero__badge-text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* =========== FOR WHOM =========== */

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

.for-whom__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.for-whom__icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.for-whom__card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.for-whom__card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========== WHAT YOU LEARN =========== */

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

.learn__item {
  display: flex;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.learn__item:hover {
  border-color: var(--plum-light);
}

.learn__num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--plum-light);
  min-width: 40px;
  line-height: 1;
}

.learn__item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.learn__item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =========== FORMAT =========== */

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

.format__item {
  text-align: center;
  padding: 32px 20px;
}

.format__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background-color: rgba(139, 74, 107, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.format__item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.format__item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =========== EXAMPLES =========== */

.examples__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 52px;
  align-items: start;
}

.examples__card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}

.examples__card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s;
}

.examples__card:hover img {
  transform: scale(1.03);
}

.examples__card-body {
  padding: 24px;
}

.examples__card-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.examples__card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =========== INSTRUCTOR =========== */

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

.instructor__photo {
  border-radius: 24px;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.instructor__name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}

.instructor__title {
  font-size: 15px;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 24px;
}

.instructor__bio {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.instructor__facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.instructor__fact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text-muted);
}

.instructor__fact::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--plum-light);
  flex-shrink: 0;
  margin-top: 7px;
}

/* =========== FORM =========== */

.form-section {
  background: linear-gradient(135deg, var(--plum) 0%, #6B3552 100%);
  padding: 96px 0;
}

.form-section .section-label {
  color: var(--terra-light);
}

.form-section .section-title {
  color: var(--white);
  max-width: 520px;
}

.form-section .section-subtitle {
  color: rgba(255,255,255,0.75);
  margin-bottom: 48px;
}

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

.form__card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.form__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.form__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.form__group {
  margin-bottom: 16px;
}

.form__group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form__group input,
.form__group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form__group input:focus,
.form__group select:focus {
  border-color: var(--plum);
  background: var(--white);
}

.form__group input::placeholder {
  color: #B0A09A;
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 24px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.form__consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--plum);
  cursor: pointer;
}

.form__consent a {
  color: var(--plum);
  text-decoration: underline;
}

.form__submit {
  width: 100%;
  padding: 15px;
  background: var(--plum);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.form__submit:hover {
  background: var(--plum-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 74, 107, 0.3);
}

.form__reassurance {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* =========== FAQ =========== */

.faq__list {
  margin-top: 52px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
  transition: background 0.2s;
}

.faq__question:hover {
  background: var(--cream);
}

.faq__arrow {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--plum);
  transition: transform 0.3s, background 0.2s;
}

.faq__item.open .faq__arrow {
  transform: rotate(180deg);
  background: var(--plum);
  color: var(--white);
}

.faq__answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq__item.open .faq__answer {
  display: block;
}

/* =========== FOOTER =========== */

.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
}

.footer__logo span {
  color: var(--terra-light);
}

.footer__about {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 340px;
}

.footer__company {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

.footer__nav-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-list a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer__nav-list a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  font-size: 12px;
  flex-wrap: wrap;
}

.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__legal a {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: var(--white);
}

.mobile-menu {
  display: none;
}

/* =========== COOKIE BANNER =========== */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--text);
  color: var(--white);
  border-radius: 16px;
  padding: 20px 28px;
  max-width: 620px;
  width: calc(100% - 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
  transform: translateX(-50%) translateY(20px);
}

.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner__text {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
}

.cookie-banner__text a {
  color: var(--terra-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 20px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.cookie-btn--accept {
  background: var(--plum);
  color: var(--white);
}

.cookie-btn--accept:hover {
  background: var(--plum-light);
}

.cookie-btn--decline {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}

.cookie-btn--decline:hover {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

/* =========== LEGAL PAGES =========== */

.legal-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.legal-hero p {
  font-size: 15px;
  color: var(--text-muted);
}

.legal-content {
  padding: 56px 0 96px;
  max-width: 760px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--text);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 14px;
}

.legal-content li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--plum);
  text-decoration: underline;
}

/* =========== SUCCESS PAGE =========== */

.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.success-page__icon {
  font-size: 64px;
  margin-bottom: 28px;
  display: block;
}

.success-page h1 {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--text);
}

.success-page p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

/* =========== RESPONSIVE =========== */

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

  .hero__image-wrap {
    order: -1;
  }

  .hero__image {
    height: 380px;
  }

  .hero__badge {
    display: none;
  }

  .for-whom__grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .instructor__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .instructor__photo {
    height: 320px;
    width: 100%;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 56px 0;
  }

  .nav__link:not(.nav__cta) {
    display: none;
  }

  .hero {
    padding: 48px 0 0;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__trust {
    gap: 16px;
    flex-wrap: wrap;
  }

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

  .form__card {
    padding: 28px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 16px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }

  .burger {
    display: flex;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 200;
    padding: 24px;
    flex-direction: column;
    gap: 4px;
    display: none;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
  }

  .mobile-menu__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
    padding: 4px;
  }

  .mobile-menu a {
    font-size: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    display: block;
  }

  .mobile-menu a:last-child {
    border-bottom: none;
    margin-top: 16px;
    background: var(--plum);
    color: var(--white) !important;
    text-align: center;
    padding: 16px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
  }
}
