@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  --color-cream: #FAF6F0;
  --color-blush: #D9977E;
  --color-blush-light: #EDB99F;
  --color-blush-pale: #F5E3D8;
  --color-sage: #8FA48A;
  --color-sage-light: #B5C4B0;
  --color-sage-pale: #E8EFE6;
  --color-charcoal: #2D2827;
  --color-warm-gray: #6E6560;
  --color-light-gray: #C8C0BB;
  --color-white: #FFFFFF;
  --color-section-alt: #F5EFE8;

  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(45, 40, 39, 0.08);
  --shadow-md: 0 6px 24px rgba(45, 40, 39, 0.12);
  --shadow-lg: 0 12px 48px rgba(45, 40, 39, 0.14);

  --max-width: 1160px;
  --section-padding: 80px 24px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: #744f3a;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-blush);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(217, 151, 126, 0.35);
}

.btn-primary:hover {
  background: #C77F63;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 151, 126, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-outline:hover {
  background: var(--color-blush);
  color: var(--color-white);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-blush);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background: var(--color-blush-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blush);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-charcoal);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-warm-gray);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 16px rgba(45, 40, 39, 0.08);
}

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

.header__logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-charcoal);
  letter-spacing: -0.02em;
}

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

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

.header__nav a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-charcoal);
  transition: color 0.2s;
}

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

.header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

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

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-cream);
  padding: 24px;
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

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

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  color: var(--color-charcoal);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-blush-pale);
  transition: color 0.2s;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--color-blush);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  overflow: hidden;
  background: var(--color-cream);
}

.hero__bg-accent {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: var(--color-blush-pale);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}

.hero__content {
  padding: 120px 48px 80px 80px;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-blush-pale);
  color: var(--color-blush);
  padding: 6px 16px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-blush);
  border-radius: 50%;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--color-charcoal);
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  color: var(--color-blush);
}

.hero__text {
  font-size: 17px;
  color: var(--color-warm-gray);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__note {
  font-size: 13px;
  color: var(--color-light-gray);
  margin-top: 16px;
}

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

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

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

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

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

.for-whom__card {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.for-whom__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.for-whom__icon {
  width: 52px;
  height: 52px;
  background: var(--color-blush-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.for-whom__card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 12px;
}

.for-whom__card p {
  font-size: 15px;
  color: var(--color-warm-gray);
  line-height: 1.7;
}

.program {
  padding: var(--section-padding);
  background: var(--color-section-alt);
}

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

.program__module {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  gap: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.program__number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-blush-pale);
  color: var(--color-blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
}

.program__module-content h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

.program__module-content p {
  font-size: 14px;
  color: var(--color-warm-gray);
  line-height: 1.65;
}

.outcomes {
  padding: var(--section-padding);
  background: var(--color-white);
}

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

.outcomes__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.outcomes__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.outcomes__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.outcomes__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-sage-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.outcomes__check::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--color-sage);
  border-bottom: 2px solid var(--color-sage);
  transform: rotate(-45deg) translateY(-2px);
}

.outcomes__item-text {
  font-size: 15px;
  color: var(--color-charcoal);
  line-height: 1.65;
}

.outcomes__item-text strong {
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.format {
  padding: var(--section-padding);
  background: var(--color-section-alt);
}

.format__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.format__steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: var(--color-blush-light);
  opacity: 0.5;
}

.format__step {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.format__step-num {
  width: 60px;
  height: 60px;
  background: var(--color-blush);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(217, 151, 126, 0.3);
}

.format__step h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 10px;
}

.format__step p {
  font-size: 14px;
  color: var(--color-warm-gray);
  line-height: 1.65;
}

.gallery {
  padding: var(--section-padding);
  background: var(--color-white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.gallery__item:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

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

.gallery__item:first-child img {
  min-height: 400px;
}

.gallery__item:not(:first-child) img {
  height: 220px;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.teacher {
  padding: var(--section-padding);
  background: var(--color-section-alt);
}

.teacher__layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 72px;
  align-items: center;
}

.teacher__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.teacher__photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

.teacher__photo-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.teacher__photo-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-charcoal);
}

.teacher__photo-badge span {
  font-size: 13px;
  color: var(--color-warm-gray);
}

.teacher__name {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

.teacher__role {
  font-size: 15px;
  color: var(--color-blush);
  font-weight: 500;
  margin-bottom: 24px;
}

.teacher__bio {
  font-size: 15px;
  color: var(--color-warm-gray);
  line-height: 1.8;
  margin-bottom: 32px;
}

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

.teacher__fact {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.teacher__fact strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-blush);
  margin-bottom: 4px;
}

.teacher__fact span {
  font-size: 13px;
  color: var(--color-warm-gray);
}

.lead-form {
  padding: var(--section-padding);
  background: var(--color-charcoal);
}

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

.lead-form__text .section-label {
  color: var(--color-blush-light);
}

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

.lead-form__text .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.lead-form__perks {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-form__perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.lead-form__perk::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--color-blush);
  border-radius: 50%;
  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'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

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

.form-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

.form-card__subtitle {
  font-size: 14px;
  color: var(--color-warm-gray);
  margin-bottom: 32px;
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--color-blush-pale);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--color-charcoal);
  background: var(--color-cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--color-blush);
  box-shadow: 0 0 0 3px rgba(217, 151, 126, 0.15);
}

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

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

.form-error {
  display: none;
  font-size: 12px;
  color: #e05252;
  margin-top: 6px;
}

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

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

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

.form-consent label {
  font-size: 12px;
  color: var(--color-warm-gray);
  line-height: 1.6;
}

.form-consent a {
  color: var(--color-blush);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.faq {
  padding: var(--section-padding);
  background: var(--color-cream);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

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

.faq__question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: color 0.2s;
}

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

.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-blush-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.2s;
}

.faq__icon::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-blush);
  border-bottom: 2px solid var(--color-blush);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s ease;
}

.faq__item.open .faq__icon {
  background: var(--color-blush);
}

.faq__item.open .faq__icon::after {
  border-color: var(--color-white);
  transform: rotate(-135deg) translateY(-2px);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__answer-inner {
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--color-warm-gray);
  line-height: 1.75;
}

.faq__item.open .faq__answer {
  max-height: 500px;
}

.footer {
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer__brand-name span {
  color: var(--color-blush);
}

.footer__brand-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer__company {
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.55;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

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

.footer__links a:hover {
  color: var(--color-blush-light);
}

.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: 12px;
  opacity: 0.45;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 20px 24px;
  background: var(--color-charcoal);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-banner p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 700px;
}

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

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

.cookie-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.cookie-btn-accept {
  background: var(--color-blush);
  color: var(--color-white);
}

.cookie-btn-accept:hover {
  background: #C77F63;
}

.cookie-btn-close {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.cookie-btn-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

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

.success-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  max-width: 560px;
  box-shadow: var(--shadow-lg);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--color-blush-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.success-icon svg {
  width: 40px;
  height: 40px;
}

.success-card h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 16px;
}

.success-card p {
  font-size: 16px;
  color: var(--color-warm-gray);
  line-height: 1.7;
  margin-bottom: 32px;
}

.legal-page {
  min-height: 100vh;
  background: var(--color-cream);
}

.legal-hero {
  background: #744f3a;
  padding: 120px 24px 64px;
  text-align: center;
}

.legal-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.legal-hero p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

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

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 15px;
  color: var(--color-warm-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

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

.legal-content ul li {
  font-size: 15px;
  color: var(--color-warm-gray);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--color-blush);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blush);
  margin-bottom: 40px;
  transition: gap 0.2s;
}

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

.legal-back::before {
  content: '←';
}

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: 120px 32px 48px;
    order: 1;
  }

  .hero__image-col {
    height: 360px;
    order: 2;
  }

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

  .hero__bg-accent {
    display: none;
  }

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

  .teacher__photo img {
    height: 420px;
  }

  .format__steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 56px 24px;
  }

  .header__nav,
  .header__cta .btn {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__text {
    font-size: 15px;
  }

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

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

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

  .outcomes__image img {
    height: 280px;
  }

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

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

  .gallery__item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery__item:first-child img {
    min-height: 240px;
  }

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

  .teacher__photo img {
    height: 360px;
  }

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

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

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

  .footer__top > :first-child {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

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

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

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