/* ============================================================
   BLOOMIST — Главные стили
   ============================================================ */

/* ---------- Сброс и базовые правила ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Цвета */
  --cream:        #FDFAF5;
  --cream-mid:    #F4EDE3;
  --green-dark:   #2B4A36;
  --green-mid:    #3D6350;
  --green-light:  #8B9D77;
  --terra:        #C47A5A;
  --terra-light:  #E8A88D;
  --text-dark:    #2C2624;
  --text-body:    #4A3F3A;
  --text-muted:   #7A6E65;
  --border:       #DDD5CA;
  --white:        #FFFFFF;

  /* Типографика */
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  /* Скругления */
  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  /* Тени */
  --shadow-sm:    0 1px 3px rgba(43,74,54,.08);
  --shadow-md:    0 4px 16px rgba(43,74,54,.10);
  --shadow-lg:    0 8px 32px rgba(43,74,54,.12);

  /* Анимации */
  --ease:         cubic-bezier(.25,.46,.45,.94);
  --ease-spring:  cubic-bezier(.34,1.56,.64,1);
}

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Контейнер ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* ---------- Типографика ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

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

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.7;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-xl);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: all .22s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(43,74,54,.25);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
}
.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

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

.btn-lg {
  padding: 1rem 2.4rem;
  font-size: 1rem;
}

/* ============================================================
   НАВИГАЦИЯ
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,250,245,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: -.01em;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color .18s;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

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

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.5rem;
}

.mobile-nav a {
  padding: .75rem clamp(20px, 5vw, 60px);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid transparent;
  transition: color .18s, background .18s;
}

.mobile-nav a:hover {
  color: var(--green-dark);
  background: var(--cream-mid);
}

.mobile-nav .btn {
  margin: .75rem clamp(20px, 5vw, 60px) 0;
  align-self: flex-start;
}

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--cream-mid);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
}

.hero h1 {
  margin-bottom: 1.25rem;
}

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

.hero-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-note {
  font-size: .8rem;
  color: var(--text-muted);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: .2rem;
}

.hero-stat-label {
  font-size: .8rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.hero-image-wrap:hover img {
  transform: scale(1.03);
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-dark);
  max-width: 200px;
}

.hero-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--cream-mid);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ============================================================
   СЕКЦИЯ: ДЛЯ КОГО
   ============================================================ */
.for-whom {
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--cream-mid);
}

.for-whom-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.for-whom-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.for-whom-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.for-whom-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--cream-mid);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.for-whom-card h4 {
  font-size: 1rem;
  margin-bottom: .4rem;
}

.for-whom-card p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   СЕКЦИЯ: ФОРМАТ ОБУЧЕНИЯ
   ============================================================ */
.format {
  padding-block: clamp(60px, 8vw, 100px);
}

.format-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.format-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow-lg);
}

.format-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.format-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.format-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.format-item-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .15rem;
}

.format-item-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .2rem;
}

.format-item-text {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   СЕКЦИЯ: ПРОГРАММА КУРСА
   ============================================================ */
.curriculum {
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--green-dark);
  color: var(--white);
}

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

.curriculum .section-subtitle {
  color: rgba(255,255,255,.65);
}

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

.curriculum-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.module-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: background .22s, transform .22s;
}

.module-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}

.module-num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--terra-light);
  margin-bottom: .6rem;
}

.module-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: .75rem;
}

.module-card p {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

/* ============================================================
   СЕКЦИЯ: РЕЗУЛЬТАТ
   ============================================================ */
.results {
  padding-block: clamp(60px, 8vw, 100px);
}

.results-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.results-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.results-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.result-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.result-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream-mid);
  border: 1.5px solid var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .2rem;
  color: var(--green-dark);
  font-size: .75rem;
}

.result-item p {
  font-size: .92rem;
  color: var(--text-body);
  line-height: 1.55;
}

.result-item strong {
  color: var(--text-dark);
}

/* ============================================================
   СЕКЦИЯ: ФОРМА ЗАЯВКИ
   ============================================================ */
.lead-form-section {
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--cream-mid);
}

.lead-form-inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.lead-form-inner .section-subtitle {
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.lead-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .45rem;
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text-dark);
  font-size: .9rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(43,74,54,.1);
}

.form-control.error {
  border-color: #d64444;
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: .7;
}

.form-note {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.5;
}

.form-note a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-error {
  font-size: .78rem;
  color: #d64444;
  margin-top: .3rem;
  display: none;
}

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

.form-submit-wrap {
  margin-top: .5rem;
}

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

/* ============================================================
   СЕКЦИЯ: FAQ
   ============================================================ */
.faq {
  padding-block: clamp(60px, 8vw, 100px);
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item.open {
  border-color: var(--green-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: background .2s;
}

.faq-question:hover {
  background: var(--cream-mid);
}

.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cream-mid);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
  color: var(--green-dark);
  transition: background .2s, transform .25s var(--ease);
}

.faq-item.open .faq-icon {
  background: var(--green-dark);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.6);
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-desc {
  font-size: .85rem;
  line-height: 1.65;
  max-width: 28ch;
}

.footer-heading {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color .18s;
}

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

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
}

.footer-legal {
  font-size: .8rem;
  line-height: 1.7;
}

.footer-legal p + p {
  margin-top: .25rem;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 999;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  max-width: 540px;
  width: calc(100% - 3rem);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform .4s var(--ease-spring);
}

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

.cookie-text {
  flex: 1;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

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

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex-shrink: 0;
}

.cookie-accept {
  padding: .5rem 1.1rem;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}

.cookie-accept:hover {
  background: var(--green-mid);
}

.cookie-decline {
  padding: .5rem 1.1rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  font-size: .82rem;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s, color .2s;
}

.cookie-decline:hover {
  color: var(--text-dark);
  border-color: var(--text-muted);
}

/* ============================================================
   СТРАНИЦА SUCCESS
   ============================================================ */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.success-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem clamp(20px, 5vw, 60px);
}

.success-card {
  text-align: center;
  max-width: 520px;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--cream-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
}

.success-card h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.success-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: .95rem;
}

/* ============================================================
   СТРАНИЦА ЮРИДИЧЕСКАЯ
   ============================================================ */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-hero {
  background: var(--cream-mid);
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--border);
}

.legal-hero .label {
  display: block;
  margin-bottom: .5rem;
}

.legal-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: .5rem;
}

.legal-date {
  font-size: .82rem;
  color: var(--text-muted);
}

.legal-content {
  flex: 1;
  padding-block: clamp(40px, 5vw, 64px);
}

.legal-body {
  max-width: 740px;
}

.legal-body h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
}

.legal-body h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}

.legal-body p {
  font-size: .92rem;
  color: var(--text-body);
  margin-bottom: .75rem;
  line-height: 1.75;
}

.legal-body ul {
  list-style: disc;
  margin: .75rem 0 .75rem 1.5rem;
}

.legal-body ul li {
  font-size: .92rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: .35rem;
}

.legal-body a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-inner,
  .for-whom-inner,
  .format-inner,
  .results-inner,
  .faq-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-badge {
    left: auto;
    right: 1rem;
    bottom: 1rem;
  }

  .hero-image-wrap {
    aspect-ratio: 16/9;
    max-height: 400px;
  }

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

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .hero-stats {
    gap: 1.25rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cookie-banner {
    flex-direction: column;
  }

  .cookie-actions {
    flex-direction: row;
    width: 100%;
  }

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

/* ============================================================
   УТИЛИТЫ
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-center { text-align: center; }

.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
