/* ===========================
   LIRAVOS — Роспись льняных сумок
   Главная таблица стилей
   =========================== */

/* Google Fonts */
@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');

/* ===========================
   CSS ПЕРЕМЕННЫЕ
   =========================== */
:root {
  --cream:        #F7F2E8;
  --cream-dark:   #EDE6D6;
  --cream-deeper: #E0D5C0;
  --dark:         #231509;
  --dark-soft:    #4A3728;
  --dark-muted:   #7A6050;
  --terra:        #C2714F;
  --terra-light:  #D98F71;
  --terra-dark:   #A55A38;
  --sage:         #7A9E7E;
  --sage-light:   #A3BFA6;
  --white:        #FFFEF9;
  --border:       #DECE BD;
  --border:       #DDD0BE;
  --shadow:       rgba(35, 21, 9, 0.10);
  --shadow-soft:  rgba(35, 21, 9, 0.05);

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w:   1160px;
  --section: 96px;
  --radius:  8px;
  --radius-lg: 16px;
}

/* ===========================
   СБРОС И БАЗА
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--cream);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

ul, ol { list-style: none; }

/* ===========================
   ТИПОГРАФИКА
   =========================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { line-height: 1.75; color: var(--dark-soft); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--dark-muted);
  max-width: 580px;
  margin-bottom: 48px;
}

/* ===========================
   КНОПКИ
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 113, 79, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--terra);
  border-color: var(--terra);
}

.btn-outline:hover {
  background: var(--terra);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1rem;
}

/* ===========================
   ОБЁРТКА КОНТЕНТА
   =========================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   ШАПКА / НАВИГАЦИЯ
   =========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 242, 232, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px var(--shadow-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  text-decoration: none;
}

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

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

.header__nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.header__nav a:hover { color: var(--terra); }

.header__cta {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* Мобильное меню */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===========================
   ГЕРОЙ
   =========================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
  position: relative;
}

.hero__content {
  padding: 80px 24px 80px calc((100vw - var(--max-w)) / 2 + 24px);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terra);
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  margin-bottom: 20px;
  max-width: 540px;
}

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

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--dark-muted);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__note {
  font-size: 0.82rem;
  color: var(--dark-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__note::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
}

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

.hero__stat {}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--dark-muted);
  margin-top: 2px;
}

.hero__image-wrap {
  position: relative;
  height: 100%;
  min-height: 600px;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--cream) 0%, transparent 30%);
}

/* ===========================
   ПРИМЕРЫ РАБОТ
   =========================== */
.examples {
  background: var(--white);
  padding: var(--section) 0;
}

.examples__header {
  text-align: center;
  margin-bottom: 52px;
}

.examples__header .section-intro {
  margin: 0 auto 0;
  text-align: center;
}

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

.example-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  background: var(--cream-dark);
}

.example-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.example-card:hover .example-card__img {
  transform: scale(1.04);
}

.example-card__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 20px;
  background: linear-gradient(to top, rgba(35,21,9,0.7) 0%, transparent 100%);
  color: #fff;
  font-size: 0.85rem;
  font-style: italic;
  font-family: var(--font-heading);
}

/* ===========================
   ЧТО ВЫ ОСВОИТЕ
   =========================== */
.skills {
  background: var(--cream);
  padding: var(--section) 0;
}

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

.skills__image-col {
  position: relative;
}

.skills__image {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.skills__image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 8px 30px var(--shadow);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  max-width: 200px;
}

.skills__image-badge-label {
  font-size: 0.75rem;
  color: var(--dark-muted);
  font-weight: 400;
  margin-top: 2px;
}

.skills__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}

.skill-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.skill-item:hover {
  box-shadow: 0 4px 20px var(--shadow-soft);
  border-color: var(--terra-light);
}

.skill-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--terra-light), var(--terra));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.skill-item__text h4 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--dark);
}

.skill-item__text p {
  font-size: 0.85rem;
  color: var(--dark-muted);
  line-height: 1.5;
}

/* ===========================
   КАК УСТРОЕН КУРС
   =========================== */
.format {
  background: var(--cream-dark);
  padding: var(--section) 0;
}

.format__header {
  text-align: center;
  margin-bottom: 56px;
}

.format__header .section-intro {
  margin: 0 auto;
  text-align: center;
}

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

.format-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.format-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--shadow);
}

.format-step__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.25s;
}

.format-step:hover .format-step__number {
  color: var(--terra-light);
}

.format-step h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.format-step p {
  font-size: 0.875rem;
  color: var(--dark-muted);
  line-height: 1.6;
}

/* ===========================
   ДЛЯ КОГО ЭТОТ КУРС
   =========================== */
.audience {
  background: var(--cream);
  padding: var(--section) 0;
}

.audience__header {
  max-width: 560px;
  margin-bottom: 52px;
}

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

.audience-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  border: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.audience-card:hover {
  border-color: var(--sage-light);
  box-shadow: 0 4px 20px var(--shadow-soft);
}

.audience-card__marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 2px solid var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--sage);
}

.audience-card h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.audience-card p {
  font-size: 0.875rem;
  color: var(--dark-muted);
  line-height: 1.6;
}

/* ===========================
   АВТОР
   =========================== */
.instructor {
  background: var(--dark);
  padding: var(--section) 0;
  color: var(--white);
}

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

.instructor__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  flex-shrink: 0;
}

.instructor__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.instructor__name {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 4px;
}

.instructor__title {
  color: var(--terra-light);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.instructor__bio {
  color: rgba(255, 254, 249, 0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  font-size: 1rem;
}

.instructor__highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.instructor__highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 254, 249, 0.85);
}

.instructor__highlight::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

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

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

.faq__header .section-intro {
  margin-bottom: 0;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

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

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  transition: color 0.2s;
}

.faq-item__question:hover { color: var(--terra); }

.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-size: 1rem;
  color: var(--dark-muted);
  font-style: normal;
}

.faq-item.open .faq-item__icon {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item__answer-inner {
  padding-bottom: 20px;
  font-size: 0.9rem;
  color: var(--dark-muted);
  line-height: 1.7;
}

.faq-item.open .faq-item__answer {
  max-height: 400px;
}

/* ===========================
   ФОРМА ЗАЯВКИ
   =========================== */
.lead-form {
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dark) 100%);
  padding: var(--section) 0;
  position: relative;
  overflow: hidden;
}

.lead-form::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.lead-form::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.lead-form__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.lead-form .section-label { color: rgba(255,254,249,0.7); }

.lead-form__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.lead-form__subtitle {
  color: rgba(255, 254, 249, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

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

.lead-form__reassurance {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 254, 249, 0.85);
  font-size: 0.875rem;
}

.lead-form__reassurance::before {
  content: '✓';
  font-weight: 700;
  color: rgba(255, 254, 249, 0.5);
}

/* Форма */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(35, 21, 9, 0.2);
}

.form-card__heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 28px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-soft);
  margin-bottom: 8px;
}

.form-field input,
.form-field select {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-field input::placeholder { color: var(--dark-muted); }

.form-field input:focus,
.form-field select:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(194, 113, 79, 0.15);
  background: var(--white);
}

.form-field input.error {
  border-color: #e05c5c;
}

.form-field__error {
  font-size: 0.78rem;
  color: #d94040;
  margin-top: 5px;
  display: none;
}

.form-field__error.visible { display: block; }

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-submit .btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--dark-muted);
  margin-top: 14px;
  text-align: center;
  line-height: 1.5;
}

.form-privacy a { color: var(--dark-muted); text-decoration: underline; }
.form-privacy a:hover { color: var(--terra); }

/* ===========================
   ПОДВАЛ
   =========================== */
.footer {
  background: var(--dark);
  padding: 52px 0 32px;
  color: rgba(255, 254, 249, 0.55);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.footer__brand {}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

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

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255, 254, 249, 0.5);
  max-width: 280px;
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.footer__nav a {
  font-size: 0.85rem;
  color: rgba(255, 254, 249, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__nav a:hover { color: var(--terra-light); }

.footer__bottom {
  border-top: 1px solid rgba(255, 254, 249, 0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__legal {
  font-size: 0.78rem;
  color: rgba(255, 254, 249, 0.35);
  line-height: 1.6;
}

/* ===========================
   БАНЕР COOKIES
   =========================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 12px 48px rgba(35, 21, 9, 0.35);
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  pointer-events: none;
}

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

.cookie-banner__text {
  flex: 1;
  font-size: 0.875rem;
  color: rgba(255, 254, 249, 0.8);
  line-height: 1.6;
}

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

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

.cookie-accept {
  background: var(--terra);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font-body);
}

.cookie-accept:hover { background: var(--terra-dark); }

.cookie-decline {
  background: transparent;
  color: rgba(255, 254, 249, 0.6);
  border: 1px solid rgba(255, 254, 249, 0.2);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.cookie-decline:hover {
  background: rgba(255, 254, 249, 0.08);
  color: var(--white);
}

/* ===========================
   СТРАНИЦА УСПЕХА
   =========================== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 40px 24px;
}

.success-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 52px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px var(--shadow-soft);
}

.success-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-light), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2rem;
}

.success-card h1 {
  font-size: 1.8rem;
  margin-bottom: 14px;
  color: var(--dark);
}

.success-card p {
  color: var(--dark-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.success-card__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terra);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.success-card__back:hover { gap: 12px; color: var(--terra-dark); }

/* ===========================
   ПРАВОВЫЕ СТРАНИЦЫ
   =========================== */
.legal-page {
  min-height: 100vh;
  background: var(--cream);
}

.legal-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.legal-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.legal-header__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}

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

.legal-header__sep {
  color: var(--border);
  font-size: 1.2rem;
}

.legal-header__title {
  font-size: 0.9rem;
  color: var(--dark-muted);
  font-weight: 500;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-content .updated {
  font-size: 0.85rem;
  color: var(--dark-muted);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.legal-content p {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--dark-soft);
}

.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--dark-soft);
  font-size: 0.95rem;
}

.legal-content ul li { margin-bottom: 6px; line-height: 1.6; }

.legal-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--terra);
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 40px;
  font-weight: 500;
}

.legal-footer-link:hover { color: var(--terra-dark); }

/* ===========================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   =========================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Задержки */
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ===========================
   АДАПТИВ
   =========================== */

/* Планшет / небольшой экран */
@media (max-width: 1024px) {
  :root { --section: 72px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: 100px 24px 48px;
    text-align: center;
  }

  .hero__title { max-width: 100%; }
  .hero__subtitle { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }

  .hero__image-wrap {
    min-height: 400px;
    position: relative;
  }

  .hero__image-overlay {
    background: linear-gradient(to bottom, var(--cream) 0%, transparent 20%);
  }

  .skills__inner,
  .instructor__inner,
  .faq__inner,
  .lead-form__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .instructor__image-wrap {
    max-width: 360px;
    margin: 0 auto;
  }

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

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

  .examples__grid .example-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Мобильные */
@media (max-width: 768px) {
  :root { --section: 56px; }

  .header__nav { display: none; }

  .header__nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 8px 20px var(--shadow-soft);
  }

  .header__nav.mobile-open .header__cta {
    width: 100%;
    text-align: center;
  }

  .header__burger { display: flex; }

  .hero__content {
    padding: 88px 24px 40px;
  }

  .hero__image-wrap { min-height: 300px; }

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

  .examples__grid .example-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

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

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

  .skills__image-badge {
    bottom: 12px;
    right: 12px;
  }

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

  .footer__nav {
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

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

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-accept, .cookie-decline {
    flex: 1;
    text-align: center;
  }

  .form-card {
    padding: 28px 22px;
  }

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

  .legal-content { padding: 40px 24px 60px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
  .hero__stat-number { font-size: 1.5rem; }
}
