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

:root {
  --cream: #F8F3EE;
  --cream-dark: #EDE4D7;
  --dark: #2A1A10;
  --medium: #6B4C35;
  --terracotta: #B85C2A;
  --terracotta-hover: #A04E22;
  --terracotta-light: #F3E0D3;
  --olive: #6B7C52;
  --sand: #E0C9AF;
  --sand-light: #F4EDE4;
  --white: #FFFFFF;
  --border: rgba(107, 76, 53, 0.15);
  --shadow-sm: 0 2px 8px rgba(42, 26, 16, 0.08);
  --shadow-md: 0 4px 20px rgba(42, 26, 16, 0.12);
  --shadow-lg: 0 8px 40px rgba(42, 26, 16, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.01em;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background-color: var(--terracotta);
  color: var(--white);
  box-shadow: 0 3px 10px rgba(184, 92, 42, 0.3);
}

.btn-primary:hover {
  background-color: var(--terracotta-hover);
  box-shadow: 0 4px 16px rgba(184, 92, 42, 0.4);
}

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

.btn-outline:hover {
  border-color: var(--medium);
  background-color: rgba(42, 26, 16, 0.04);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(248, 243, 238, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

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

.header-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background-color: var(--terracotta);
  color: var(--white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.logo-light .logo-text { color: var(--white); }
.logo-light .logo-mark { background-color: rgba(255,255,255,0.2); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--medium);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-link:hover { color: var(--dark); }

.header-cta { margin-left: 8px; flex-shrink: 0; }

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

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(42, 26, 16, 0.72) 0%,
    rgba(42, 26, 16, 0.55) 45%,
    rgba(42, 26, 16, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero-text {
  flex: 1;
  max-width: 560px;
}

.hero-label {
  display: inline-block;
  background-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  font-weight: 300;
}

.hero-form-wrap {
  flex-shrink: 0;
  width: 360px;
}

.hero-form-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 13px;
  color: var(--medium);
  margin-bottom: 24px;
  line-height: 1.5;
}

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

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

.field-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--medium);
}

.field-input {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--dark);
  background-color: var(--sand-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  outline: none;
}

.field-input::placeholder { color: #B0967E; }

.field-input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(184, 92, 42, 0.12);
  background-color: var(--white);
}

.field-textarea {
  resize: vertical;
  min-height: 80px;
}

.checkbox-group { margin-top: 4px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

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

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

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

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 17px;
  color: var(--medium);
  line-height: 1.6;
}

.for-whom { background-color: var(--white); }

.whom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.whom-card {
  background-color: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow var(--transition);
}

.whom-card:hover { box-shadow: var(--shadow-md); }

.whom-icon {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--sand);
  margin-bottom: 16px;
  line-height: 1;
}

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

.whom-card p {
  font-size: 15px;
  color: var(--medium);
  line-height: 1.65;
}

.program { background-color: var(--cream); }

.program-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}

.program-left .section-title { text-align: left; }
.program-left .section-sub {
  text-align: left;
  margin-bottom: 40px;
}

.program-list { display: flex; flex-direction: column; gap: 0; }

.program-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

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

.program-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--terracotta-light);
  line-height: 1;
  min-width: 36px;
  padding-top: 2px;
}

.program-body h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.program-body p {
  font-size: 14px;
  color: var(--medium);
  line-height: 1.65;
}

.program-right {
  position: sticky;
  top: 90px;
}

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

.how-it-works { background-color: var(--sand-light); }

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

.step-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.step-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.step-content {
  padding: 28px;
}

.step-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 10px;
}

.step-content h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.step-content p {
  font-size: 14px;
  color: var(--medium);
  line-height: 1.7;
}

.steps-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-detail {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-detail-icon {
  width: 40px;
  height: 40px;
  background-color: var(--terracotta-light);
  color: var(--terracotta);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.step-detail h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.step-detail p {
  font-size: 13px;
  color: var(--medium);
  line-height: 1.6;
}

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

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

.result-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.result-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.result-caption {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--medium);
  font-weight: 500;
}

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

.faq-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}

.faq-left .section-title { text-align: left; }

.faq-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

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

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

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

.faq-arrow {
  font-size: 22px;
  font-weight: 300;
  color: var(--terracotta);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 22px;
}

.faq-answer.open { display: block; }

.faq-answer p {
  font-size: 15px;
  color: var(--medium);
  line-height: 1.7;
}

.lead-form-section {
  background-color: var(--dark);
  color: var(--white);
}

.lead-form-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
}

.lead-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lead-text p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 28px;
}

.lead-promises {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lead-promises li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

.lead-promises li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--terracotta);
  flex-shrink: 0;
}

.lead-form-box {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.footer {
  background-color: #1E1208;
}

.footer-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-link:hover { color: rgba(255,255,255,0.95); }

.footer-info {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.footer-legal-inner p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background-color: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

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

.legal-page {
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 100vh;
  background-color: var(--cream);
}

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

.legal-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.legal-date {
  font-size: 13px;
  color: var(--medium);
}

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

.legal-body p {
  font-size: 15px;
  color: #4A3225;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-body ul li {
  font-size: 15px;
  color: #4A3225;
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--terracotta);
  text-decoration: none;
  margin-bottom: 32px;
  transition: gap var(--transition);
}

.legal-back:hover { gap: 12px; }

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

.success-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.success-icon {
  width: 64px;
  height: 64px;
  background-color: var(--terracotta-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
}

.success-card h1 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

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

@media (max-width: 1024px) {
  .program-inner { grid-template-columns: 1fr; }
  .program-right { position: static; }
  .program-img { max-width: 480px; }

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

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

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

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

  .header-cta { display: none; }

  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 0;
    display: none;
    margin-left: 0;
  }

  .nav.open { display: flex; }

  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .nav-link:last-child { border-bottom: none; }

  .burger { display: flex; }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .hero-form-wrap { width: 100%; }

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

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

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

  .footer-links { grid-template-columns: 1fr 1fr; }

  .footer-legal-inner { flex-direction: column; align-items: flex-start; }

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

  .success-card { padding: 40px 28px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .hero-form-card { padding: 28px 20px; }
  .lead-form-box { padding: 28px 20px; }
  .footer-links { grid-template-columns: 1fr; }
}
