@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=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --bg: #FAF7F3;
  --bg-warm: #F3EDE4;
  --dark: #2C2416;
  --mid: #5A4A38;
  --muted: #8A7B6B;
  --accent: #C4896A;
  --accent-dark: #A5684B;
  --sand: #D4B8A0;
  --border: #EDE5DB;
  --white: #FFFDF9;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 4px;
  --shadow: 0 2px 16px rgba(44,36,22,0.08);
  --shadow-md: 0 4px 32px rgba(44,36,22,0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.section { padding: 80px 0; }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--dark); color: var(--white); }

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 18px;
}

.section--dark .section-title { color: var(--white); }

.section-subtitle {
  font-size: 17px;
  color: var(--mid);
  max-width: 580px;
  line-height: 1.7;
}

.section--dark .section-subtitle { color: var(--sand); }

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,243,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.header__inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.01em;
}

.header__logo span { color: var(--accent); }

.header__nav { display: flex; gap: 28px; align-items: center; }

.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  transition: color 0.2s;
}
.header__nav a:hover { color: var(--accent); }

.header__cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.2s !important;
}
.header__cta:hover { background: var(--accent-dark) !important; }

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

/* HERO */
.hero {
  padding: 80px 0 60px;
  overflow: hidden;
}

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

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 22px;
}

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

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

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

.hero__form-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__form-inline input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}

.hero__form-inline input:focus { border-color: var(--accent); }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(196,137,106,0.35); }

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

.hero__note {
  font-size: 13px;
  color: var(--muted);
}

.hero__image {
  position: relative;
}

.hero__img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

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

.hero__badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  max-width: 220px;
}

.hero__badge-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

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

/* FOR WHOM */
.forwhom__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.forwhom__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.forwhom__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.forwhom__icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.forwhom__card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

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

/* COURSE CONTENT */
.course__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.course__image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.course__image img { width: 100%; height: auto; }

.course__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.course__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.course__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.course__item-body h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.course__item-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* PROCESS */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.process__step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process__circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 20px;
}

.process__step h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.process__step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* AUTHOR */
.author__wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.author__photo-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.author__photo-wrap img { width: 100%; height: auto; }

.author__name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.author__role {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.author__text {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 28px;
}

.author__facts {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.author__fact {
  display: flex;
  flex-direction: column;
}

.author__fact-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.author__fact-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* GALLERY */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.gallery__item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery__item:hover img { transform: scale(1.04); }

/* FAQ */
.faq__list {
  margin-top: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

.faq__question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.2s;
}

.faq__question:hover { color: var(--accent); }

.faq__arrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.3s;
}

.faq__item.open .faq__arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}

.faq__answer {
  display: none;
  padding-bottom: 22px;
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
}

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

/* LEAD FORM */
.form-section { background: var(--dark); }

.form__wrap {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.form__tag {
  display: inline-block;
  background: rgba(196,137,106,0.2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.form__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}

.form__subtitle {
  font-size: 16px;
  color: var(--sand);
  margin-bottom: 40px;
  line-height: 1.65;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--sand);
  letter-spacing: 0.02em;
}

.form-field input,
.form-field select {
  padding: 14px 16px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.form-field input::placeholder { color: rgba(255,255,255,0.35); }
.form-field input:focus { border-color: var(--accent); background: rgba(255,255,255,0.12); }

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D4B8A0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-field select option { background: var(--dark); }

.form__agreement {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
}

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

.form__agreement-text {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.form__agreement-text a {
  color: var(--sand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn--submit {
  background: var(--accent);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  width: 100%;
  margin-top: 6px;
}
.btn--submit:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(196,137,106,0.4); }

.form__privacy-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-top: 12px;
}

/* FOOTER */
.footer {
  background: #1E1710;
  color: rgba(255,255,255,0.55);
  padding: 48px 0 32px;
  font-size: 14px;
}

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

.footer__brand {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.footer__brand span { color: var(--accent); }

.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-bottom: 0;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  font-size: 14px;
}
.footer__links a:hover { color: var(--accent); }

.footer__company {
  line-height: 1.75;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 680px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(44,36,22,0.18);
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateX(-50%) translateY(20px);
}

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

.cookie-banner__text {
  flex: 1;
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.btn--cookie-accept {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn--cookie-accept:hover { background: var(--accent-dark); }

.btn--cookie-close {
  background: none;
  border: 1.5px solid var(--border);
  padding: 9px 14px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--mid);
  cursor: pointer;
  transition: border-color 0.2s;
}
.btn--cookie-close:hover { border-color: var(--muted); }

/* 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-icon {
  width: 72px;
  height: 72px;
  background: rgba(196,137,106,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
}

.success-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 14px;
}

.success-text {
  font-size: 17px;
  color: var(--mid);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* LEGAL PAGES */
.legal-page { padding: 80px 0; }

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.legal-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}

.legal-body {
  max-width: 720px;
  font-size: 15px;
  color: var(--mid);
  line-height: 1.8;
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin: 36px 0 12px;
}

.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 12px 0 14px 20px; }
.legal-body ul li { list-style: disc; margin-bottom: 6px; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* FINAL CTA */
.final-cta { text-align: center; }

.final-cta__wrap {
  background: linear-gradient(135deg, var(--accent) 0%, #A0624A 100%);
  border-radius: 16px;
  padding: 60px 48px;
  color: var(--white);
}

.final-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  margin-bottom: 14px;
}

.final-cta__text {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn--final {
  background: var(--white);
  color: var(--accent-dark);
  padding: 16px 36px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn--final:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.2); }

/* MOBILE NAV OVERLAY */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  flex-direction: column;
  padding: 24px;
}

.nav-overlay.open { display: flex; }

.nav-overlay__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.nav-overlay__logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
}
.nav-overlay__logo span { color: var(--accent); }

.nav-overlay__close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark);
  line-height: 1;
}

.nav-overlay__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nav-overlay__links a {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.2s;
}
.nav-overlay__links a:hover { color: var(--accent); }

.nav-overlay__cta {
  margin-top: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .header__nav { display: none; }
  .burger { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__image { order: -1; }
  .hero__badge { bottom: -12px; left: -10px; }

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

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

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process__steps::before { display: none; }

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

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

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

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

  .cookie-banner {
    flex-direction: column;
    gap: 16px;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .final-cta__wrap {
    padding: 40px 24px;
  }

  .hero__form-inline {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
  .process__steps {
    grid-template-columns: 1fr;
  }
  .hero__badge { display: none; }
}
