/* ================================
   BRUSHWRITE — Global Styles
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --cream:      #FAF8F4;
  --beige:      #EFE9DF;
  --beige-dark: #E2D9CC;
  --terracotta: #B5533C;
  --terra-dark: #93422E;
  --brown:      #5C3D2E;
  --dark:       #2D1F14;
  --muted:      #9A8676;
  --light-text: #6B5B4E;
  --white:      #FFFFFF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --max-w: 1140px;
  --section-py: 80px;
  --radius: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* ================================
   TYPOGRAPHY
   ================================ */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--light-text);
  font-size: 1rem;
  line-height: 1.75;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--light-text);
  max-width: 560px;
}

/* ================================
   BUTTONS
   ================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(181, 83, 60, 0.28);
}

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

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

/* ================================
   NAVIGATION
   ================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--beige-dark);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 2px 16px rgba(45, 31, 20, 0.08);
}

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

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.nav__logo span {
  color: var(--terracotta);
}

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

.nav__links a {
  font-size: 0.875rem;
  color: var(--light-text);
  transition: color 0.2s;
}

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

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  transition: all 0.3s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--beige-dark);
  gap: 16px;
}

.nav__mobile a {
  font-size: 1rem;
  color: var(--light-text);
  padding: 8px 0;
  border-bottom: 1px solid var(--beige);
}

.nav__mobile .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ================================
   HERO
   ================================ */

.hero {
  padding: 72px 0 80px;
  overflow: hidden;
}

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

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(181, 83, 60, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero__title {
  margin-bottom: 20px;
}

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

.hero__text {
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 480px;
}

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

.hero__note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 16px;
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 16/11;
}

.hero__image-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(45, 31, 20, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__image-badge .badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(181, 83, 60, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero__image-badge .badge-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--dark);
}

.hero__image-badge .badge-text span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ================================
   FOR WHOM
   ================================ */

.for-whom {
  padding: var(--section-py) 0;
  background: var(--beige);
}

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

.whom-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.whom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(45, 31, 20, 0.1);
}

.whom-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.whom-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.whom-card p {
  font-size: 0.9rem;
}

/* ================================
   FORMAT
   ================================ */

.format {
  padding: var(--section-py) 0;
}

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

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

.format__list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.format__item-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(181, 83, 60, 0.1);
  color: var(--terracotta);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.format__item-text strong {
  display: block;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.format__item-text span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ================================
   PROGRAM
   ================================ */

.program {
  padding: var(--section-py) 0;
  background: var(--dark);
}

.program .section-label {
  color: rgba(181, 83, 60, 0.9);
}

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

.program__header {
  margin-bottom: 48px;
}

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

.module {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px 28px;
  transition: background 0.25s;
}

.module:hover {
  background: rgba(255,255,255,0.07);
}

.module:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

.module:nth-child(2) {
  border-radius: 0 var(--radius-lg) 0 0;
}

.module:nth-child(4) {
  border-radius: 0 0 var(--radius-lg) 0;
}

.module:nth-child(3) {
  border-radius: 0 0 0 var(--radius-lg);
}

.module__num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.module h3 {
  color: var(--cream);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.module p {
  color: rgba(250, 248, 244, 0.5);
  font-size: 0.88rem;
}

.module__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.module__tag {
  font-size: 0.75rem;
  color: rgba(250, 248, 244, 0.6);
  background: rgba(255,255,255,0.07);
  padding: 4px 10px;
  border-radius: 20px;
}

.program__wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-radius: 0;
  background: rgba(181, 83, 60, 0.12);
  border-color: rgba(181, 83, 60, 0.25);
}

.program__wide h3 {
  font-size: 1.1rem;
}

/* ================================
   TEACHER
   ================================ */

.teacher {
  padding: var(--section-py) 0;
}

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

.teacher__photo {
  position: relative;
}

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

.teacher__photo::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid var(--beige-dark);
  border-radius: calc(var(--radius-lg) + 8px);
  z-index: -1;
}

.teacher__name {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.teacher h2 {
  margin-bottom: 20px;
}

.teacher__bio {
  margin-bottom: 32px;
}

.teacher__bio p {
  margin-bottom: 14px;
}

.teacher__stats {
  display: flex;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--beige-dark);
  border-bottom: 1px solid var(--beige-dark);
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1;
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ================================
   RESULTS
   ================================ */

.results {
  padding: var(--section-py) 0;
  background: var(--beige);
}

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

.results__content .section-subtitle {
  max-width: 100%;
  margin-bottom: 32px;
}

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

.results__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--light-text);
}

.results__item::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--terracotta);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}

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

/* ================================
   TESTIMONIALS
   ================================ */

.testimonials {
  padding: var(--section-py) 0;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials__header .section-subtitle {
  margin: 0 auto;
}

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

.testimonial {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.25s;
}

.testimonial:hover {
  box-shadow: 0 8px 32px rgba(45, 31, 20, 0.08);
}

.testimonial__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #D4A043;
  font-size: 0.9rem;
}

.testimonial__text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--light-text);
  margin-bottom: 20px;
  font-style: italic;
  font-family: var(--font-serif);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--terracotta);
  font-weight: 600;
}

.testimonial__name strong {
  display: block;
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 500;
}

.testimonial__name span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ================================
   LEAD FORM
   ================================ */

.lead-form {
  padding: var(--section-py) 0;
  background: var(--terracotta);
}

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

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

.lead-form__content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.lead-form__content p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 0;
}

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

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

.lead-form__perk::before {
  content: '✓';
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

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

.form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-card > p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--beige-dark);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}

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

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  cursor: pointer;
}

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

.form-checkbox span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

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

.form-submit {
  width: 100%;
  margin-top: 20px;
  justify-content: center;
  font-size: 0.95rem;
  padding: 16px;
}

/* ================================
   FAQ
   ================================ */

.faq {
  padding: var(--section-py) 0;
}

.faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.faq-item:last-child {
  border-bottom: none;
}

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

.faq-item__question:hover {
  background: var(--beige);
}

.faq-item__question.open {
  color: var(--terracotta);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  transition: transform 0.3s, background 0.2s;
}

.faq-item__question.open .faq-item__icon {
  transform: rotate(45deg);
  background: rgba(181, 83, 60, 0.12);
  color: var(--terracotta);
}

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

.faq-item__answer.open {
  max-height: 300px;
  padding: 0 28px 24px;
}

.faq-item__answer p {
  font-size: 0.92rem;
}

/* ================================
   FOOTER
   ================================ */

.footer {
  background: var(--dark);
  color: rgba(250, 248, 244, 0.6);
  padding: 56px 0 32px;
}

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

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}

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

.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__email a {
  font-size: 0.85rem;
  color: var(--terracotta);
  text-decoration: underline;
}

.footer__col-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.4);
  margin-bottom: 16px;
}

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

.footer__links a {
  font-size: 0.875rem;
  color: rgba(250, 248, 244, 0.6);
  transition: color 0.2s;
}

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

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__legal {
  font-size: 0.78rem;
  line-height: 1.8;
}

.footer__legal strong {
  color: rgba(250, 248, 244, 0.5);
  font-weight: 400;
}

.footer__copy {
  font-size: 0.78rem;
  text-align: right;
}

/* ================================
   COOKIE BANNER
   ================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--dark);
  color: rgba(250, 248, 244, 0.85);
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.85rem;
  flex: 1;
  min-width: 280px;
  line-height: 1.5;
}

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

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

.cookie-btn {
  padding: 8px 20px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

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

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

.cookie-btn-close {
  background: transparent;
  color: rgba(250, 248, 244, 0.6);
  border: 1px solid rgba(255,255,255,0.15);
}

.cookie-btn-close:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--cream);
}

/* ================================
   SUCCESS PAGE
   ================================ */

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.success-card {
  max-width: 480px;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(181, 83, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 28px;
}

.success-card h1 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.success-card p {
  margin-bottom: 32px;
}

/* ================================
   LEGAL PAGES
   ================================ */

.legal-page {
  padding: 48px 0 80px;
}

.legal-page__header {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--beige-dark);
  margin-bottom: 48px;
}

.legal-page__header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.legal-page__header p {
  font-size: 0.88rem;
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
  color: var(--dark);
}

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

.legal-content p {
  font-size: 0.92rem;
  margin-bottom: 12px;
}

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

.legal-content ul li {
  font-size: 0.92rem;
  color: var(--light-text);
  margin-bottom: 6px;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 1024px) {
  .teacher__inner {
    grid-template-columns: 320px 1fr;
    gap: 48px;
  }
}

@media (max-width: 900px) {
  :root { --section-py: 60px; }

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

  .hero__image {
    order: -1;
  }

  .hero__image-badge {
    bottom: -14px;
    left: 12px;
  }

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

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

  .module:first-child,
  .module:nth-child(2),
  .module:nth-child(3),
  .module:nth-child(4) {
    border-radius: 0;
  }

  .program__modules > .module:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .program__modules > .module:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
  }

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

  .teacher__photo img {
    aspect-ratio: 4/3;
    max-height: 340px;
    object-position: top;
  }

  .teacher__stats {
    gap: 24px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta .btn {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile.open {
    display: flex;
  }

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

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

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

  .footer__copy {
    text-align: left;
  }

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

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

  .teacher__photo::before {
    display: none;
  }

  .teacher__stats {
    gap: 20px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  :root { --section-py: 48px; }

  .hero {
    padding: 48px 0 56px;
  }

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

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

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