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

:root {
  --cream: #F9F4EE;
  --warm-white: #FDFAF6;
  --terracotta: #C85A2F;
  --terracotta-dark: #A84720;
  --terracotta-light: #E8896A;
  --brown: #4A2E1A;
  --brown-mid: #7A5239;
  --brown-light: #A87859;
  --text-main: #2C1A0E;
  --text-mid: #5C3D26;
  --text-light: #8A6A52;
  --border: #E0D0C0;
  --border-light: #EDE0D4;
  --shadow: 0 4px 24px rgba(44,26,14,0.09);
  --shadow-lg: 0 8px 48px rgba(44,26,14,0.14);

  --font-main: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;

  --radius: 12px;
  --radius-lg: 24px;
  --max-width: 1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--warm-white);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-accent);
  line-height: 1.2;
  color: var(--brown);
}

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

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

section { padding: 96px 0; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  line-height: 1;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(200,90,47,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}
.btn-outline:hover {
  background: var(--terracotta);
  color: #fff;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(253,250,246,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }

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

.logo {
  font-family: var(--font-accent);
  font-size: 22px;
  color: var(--brown);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo span { color: var(--terracotta); }

.header-cta { font-size: 14px; }

/* === HERO === */
.hero {
  padding-top: 120px;
  padding-bottom: 0;
  background: var(--cream);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 70vh;
}

.hero-content { padding: 48px 0 64px; }

.hero-tag {
  display: inline-block;
  background: rgba(200,90,47,0.1);
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  margin-bottom: 24px;
  color: var(--brown);
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-mid);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--text-light);
}

.hero-img-wrap {
  position: relative;
  height: 560px;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-accent {
  position: absolute;
  bottom: 40px;
  left: -20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
}
.hero-accent .accent-num {
  font-family: var(--font-accent);
  font-size: 28px;
  color: var(--terracotta);
  display: block;
  line-height: 1;
}

/* === FOR WHOM === */
.for-whom { background: var(--warm-white); }

.for-whom h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 12px;
}
.for-whom .section-intro {
  color: var(--text-mid);
  font-size: 17px;
  margin-bottom: 56px;
  max-width: 560px;
}

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

.whom-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.2s, transform 0.2s;
}
.whom-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.whom-icon {
  width: 52px;
  height: 52px;
  background: rgba(200,90,47,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.whom-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-family: var(--font-main);
  font-weight: 700;
}
.whom-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* === FORMAT === */
.format-section { background: var(--cream); }

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

.format-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.format-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.format-content h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 20px;
}
.format-content p {
  color: var(--text-mid);
  margin-bottom: 36px;
  font-size: 16px;
}

.format-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.format-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text-main);
}

.format-list .check {
  width: 22px;
  height: 22px;
  background: var(--terracotta);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 2px;
}

/* === CURRICULUM === */
.curriculum { background: var(--warm-white); }

.curriculum h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  margin-bottom: 12px;
}
.curriculum .section-intro {
  color: var(--text-mid);
  margin-bottom: 56px;
  font-size: 16px;
  max-width: 520px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--border);
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 28px 0;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  background: #fff;
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 20px;
  font-weight: 700;
  color: var(--terracotta);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
  font-family: var(--font-main);
  font-weight: 700;
}
.step-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 560px;
}

/* === BRAND / ABOUT === */
.brand-section { background: var(--cream); }

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

.brand-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  max-width: 460px;
}
.brand-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-content h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 20px;
}

.brand-content p {
  color: var(--text-mid);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.75;
}

.brand-values {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.brand-value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}
.brand-value-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  margin-top: 7px;
  flex-shrink: 0;
}

/* === OBJECTIONS === */
.objections { background: var(--warm-white); }

.objections h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  margin-bottom: 48px;
}

.objections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.obj-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-left: 4px solid var(--terracotta);
}

.obj-q {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--brown);
}

.obj-a {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* === FAQ === */
.faq-section { background: var(--cream); }

.faq-section h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  margin-bottom: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
}

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

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  gap: 16px;
  user-select: none;
}

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

.faq-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s, background 0.2s;
  font-size: 13px;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  background: var(--terracotta);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 22px;
}

/* === FORM SECTION === */
.form-section {
  background: var(--terracotta);
  padding: 80px 0;
}

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

.form-copy h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  color: #fff;
  margin-bottom: 16px;
}
.form-copy p {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.7;
}

.lead-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 24px;
  font-family: var(--font-accent);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--text-main);
  background: var(--warm-white);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--terracotta);
}

.form-group input::placeholder { color: var(--text-light); }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}

.form-consent a { color: var(--terracotta); text-decoration: underline; }

.btn-submit {
  width: 100%;
  padding: 17px;
  background: var(--terracotta);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.02em;
}
.btn-submit:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

/* === FOOTER === */
.site-footer {
  background: var(--brown);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { color: #fff; font-size: 20px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  font-family: var(--font-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--terracotta-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.55;
  max-width: 640px;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.45;
  white-space: nowrap;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--brown);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 28px;
  max-width: 560px;
  width: calc(100% - 48px);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  flex-wrap: wrap;
}

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

.cookie-text {
  font-size: 13px;
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
  opacity: 0.9;
}

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

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

.btn-cookie-ok {
  background: var(--terracotta);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-cookie-ok:hover { background: var(--terracotta-dark); }

/* === SUCCESS PAGE === */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 40px 24px;
}
.success-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  max-width: 520px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(200,90,47,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 32px;
}
.success-card h1 {
  font-size: 30px;
  margin-bottom: 16px;
}
.success-card p {
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* === LEGAL PAGES === */
.legal-page { padding-top: 120px; }
.legal-hero {
  background: var(--cream);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border-light);
}
.legal-hero h1 { font-size: clamp(28px, 4vw, 42px); }
.legal-hero p { color: var(--text-mid); margin-top: 8px; font-size: 15px; }

.legal-content {
  max-width: 760px;
  padding: 64px 24px 96px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 22px;
  margin: 40px 0 14px;
  color: var(--brown);
}
.legal-content h3 {
  font-size: 17px;
  margin: 28px 0 10px;
  font-family: var(--font-main);
  font-weight: 700;
}
.legal-content p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.legal-content li {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 6px;
}
.legal-content a { color: var(--terracotta); text-decoration: underline; }

.legal-company-block {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 48px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  border: 1px solid var(--border-light);
}
.legal-company-block strong { color: var(--text-main); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner,
  .format-inner,
  .brand-inner,
  .form-inner { grid-template-columns: 1fr; gap: 40px; }

  .hero-img-wrap { height: 320px; order: -1; }

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

  .lead-form { padding: 32px 24px; }

  section { padding: 64px 0; }
}

@media (max-width: 600px) {
  .hero { padding-top: 80px; }
  .hero-inner { gap: 28px; }
  .hero h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .whom-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .success-card { padding: 40px 28px; }
  .form-section { padding: 56px 0; }
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.anim { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }

.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
