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

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

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

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #2C2417;
  background-color: #FAF7F2;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* ===================== VARIABLES ===================== */
:root {
  --terracotta: #C17A5A;
  --terracotta-dark: #A86040;
  --terracotta-light: #E8C4B0;
  --sage: #7B9E87;
  --sage-light: #B8D4C0;
  --cream: #FAF7F2;
  --cream-dark: #F0EAE0;
  --warm-dark: #2C2417;
  --warm-mid: #5C4A35;
  --warm-muted: #9C8B7A;
  --white: #FFFFFF;
  --border: #E2D9CE;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(44, 36, 23, 0.08);
  --shadow: 0 4px 24px rgba(44, 36, 23, 0.1);
  --shadow-lg: 0 8px 40px rgba(44, 36, 23, 0.14);

  --container: 1160px;
  --section-py: 96px;
}

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

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 500; }

p { line-height: 1.75; color: var(--warm-mid); }

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

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

.section-lead {
  font-size: 1.05rem;
  color: var(--warm-mid);
  max-width: 560px;
  line-height: 1.75;
}

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

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

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

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

.section-header--center .section-lead {
  margin: 0 auto;
}

/* ===================== NAVIGATION ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}

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

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
  transition: color 0.3s;
}

.nav.scrolled .nav__logo { color: var(--warm-dark); }

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

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(250, 247, 242, 0.85);
  transition: color 0.2s;
}

.nav.scrolled .nav__links a { color: var(--warm-mid); }
.nav__links a:hover { color: var(--terracotta); }

.nav__cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s, transform 0.1s !important;
}

.nav__cta:hover { background: var(--terracotta-dark) !important; transform: translateY(-1px); }

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

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
}

.nav.scrolled .nav__burger span { background: var(--warm-dark); }

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

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('./images/hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 36, 23, 0.72) 0%, rgba(44, 36, 23, 0.45) 60%, rgba(44, 36, 23, 0.55) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: var(--white);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 247, 242, 0.15);
  border: 1px solid rgba(250, 247, 242, 0.3);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(250, 247, 242, 0.9);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta-light);
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

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

.hero__text {
  font-size: 1.05rem;
  color: rgba(250, 247, 242, 0.85);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 520px;
}

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

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(250, 247, 242, 0.6);
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 60px;
  cursor: pointer;
  transition: color 0.2s;
}

.hero__scroll:hover { color: rgba(250, 247, 242, 0.9); }

.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(250, 247, 242, 0.4);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

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

.btn--primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193, 122, 90, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(250, 247, 242, 0.5);
}

.btn--outline:hover {
  background: rgba(250, 247, 242, 0.1);
  border-color: rgba(250, 247, 242, 0.8);
}

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

.btn--outline-dark:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ===================== ABOUT SECTION ===================== */
.about { background: var(--cream); }

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

.about__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

.about__image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--terracotta-light);
  z-index: -1;
}

.about__highlights {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.about__highlight {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about__highlight-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}

.about__highlight-label {
  font-size: 0.82rem;
  color: var(--warm-muted);
  font-weight: 500;
}

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

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

.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.card__title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--warm-dark);
}

.card__text {
  font-size: 0.9rem;
  color: var(--warm-muted);
  line-height: 1.65;
}

/* ===================== SKILLS ===================== */
.skills { background: var(--cream); }

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

.skill-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  transition: border-color 0.2s;
}

.skill-item:hover { border-color: var(--terracotta-light); }

.skill-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
  margin-top: 6px;
}

.skill-item__content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--warm-dark);
  margin-bottom: 4px;
}

.skill-item__content p {
  font-size: 0.85rem;
  color: var(--warm-muted);
  line-height: 1.55;
}

/* ===================== PROCESS ===================== */
.process { background: var(--cream-dark); }

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

.process__grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: var(--border);
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.process__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--terracotta);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process__step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--warm-dark);
  line-height: 1.3;
}

.process__step-text {
  font-size: 0.87rem;
  color: var(--warm-muted);
  line-height: 1.6;
}

.process__image {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 420px;
}

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

/* ===================== AUTHOR ===================== */
.author { background: var(--warm-dark); }

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

.author__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}

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

.author__photo-ring {
  position: absolute;
  inset: -8px;
  border: 2px solid var(--terracotta);
  border-radius: calc(var(--radius-lg) + 8px);
  pointer-events: none;
  opacity: 0.4;
}

.author__content .section-label { color: var(--terracotta-light); }

.author__content h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.author__content p {
  color: rgba(250, 247, 242, 0.75);
  margin-bottom: 16px;
}

.author__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.author__tag {
  background: rgba(250, 247, 242, 0.08);
  border: 1px solid rgba(250, 247, 242, 0.15);
  color: rgba(250, 247, 242, 0.85);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ===================== GALLERY ===================== */
.gallery { background: var(--cream); }

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

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
}

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

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

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

/* ===================== CURRICULUM ===================== */
.curriculum { background: var(--cream-dark); }

.curriculum__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}

.curriculum__item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.curriculum__item:last-child { border-bottom: none; }
.curriculum__item:hover { background: var(--cream-dark); }

.curriculum__index {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--terracotta-light);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.curriculum__item-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--warm-dark);
  margin-bottom: 6px;
}

.curriculum__item-content p {
  font-size: 0.88rem;
  color: var(--warm-muted);
  line-height: 1.6;
}

/* ===================== LEAD FORM ===================== */
.lead-form { background: var(--cream-dark); }

.lead-form__inner {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.lead-form__title {
  margin-bottom: 12px;
}

.lead-form__text {
  color: var(--warm-muted);
  margin-bottom: 36px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--warm-mid);
}

.form__input {
  padding: 13px 16px;
  background: var(--cream-dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--warm-dark);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form__input::placeholder { color: var(--warm-muted); }

.form__input:focus {
  border-color: var(--terracotta);
  background: var(--white);
}

.form__input.error { border-color: #C0392B; }

.form__submit {
  margin-top: 8px;
  align-self: center;
  width: 100%;
}

.form__disclaimer {
  font-size: 0.78rem;
  color: var(--warm-muted);
  text-align: center;
  line-height: 1.5;
}

.form__disclaimer a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}

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

.faq__item:last-child { border-bottom: none; }

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

.faq__question:hover { background: var(--cream-dark); }

.faq__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--warm-muted);
  transition: transform 0.3s, background 0.2s;
}

.faq__item.open .faq__icon {
  transform: rotate(45deg);
  background: var(--terracotta-light);
  color: var(--terracotta-dark);
}

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

.faq__answer p {
  padding-bottom: 24px;
  font-size: 0.9rem;
  color: var(--warm-muted);
  line-height: 1.7;
}

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

/* ===================== FOOTER ===================== */
.footer {
  background: var(--warm-dark);
  padding: 56px 0 36px;
  color: rgba(250, 247, 242, 0.6);
}

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

.footer__brand { }

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

.footer__tagline {
  font-size: 0.87rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.4);
  margin-bottom: 16px;
}

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

.footer__col-links a {
  font-size: 0.88rem;
  color: rgba(250, 247, 242, 0.6);
  transition: color 0.2s;
}

.footer__col-links a:hover { color: var(--terracotta-light); }

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

.footer__legal {
  font-size: 0.78rem;
  line-height: 1.7;
  max-width: 540px;
}

.footer__copy {
  font-size: 0.78rem;
  white-space: nowrap;
}

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--warm-dark);
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 260px;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.75);
  line-height: 1.6;
}

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

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

.cookie-btn-accept {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

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

.cookie-btn-decline {
  background: transparent;
  color: rgba(250, 247, 242, 0.55);
  border: none;
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s;
}

.cookie-btn-decline:hover { color: rgba(250, 247, 242, 0.85); }

/* ===================== PAGE: LEGAL ===================== */
.page-hero {
  background: var(--cream-dark);
  padding: 120px 0 64px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero .meta {
  font-size: 0.85rem;
  color: var(--warm-muted);
}

.legal-content {
  padding: 64px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}

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

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

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

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

.legal-content ul li {
  font-size: 0.92rem;
  color: var(--warm-mid);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ===================== PAGE: SUCCESS ===================== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-dark);
  padding: 60px 24px;
}

.success-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

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

.success-card h1 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.success-card p {
  font-size: 0.95rem;
  margin-bottom: 32px;
}

/* ===================== ANIMATIONS ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===================== MOBILE NAV ===================== */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--warm-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 99;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    font-size: 1.25rem;
    color: rgba(250, 247, 242, 0.85);
  }

  .nav__cta {
    font-size: 1rem !important;
    padding: 14px 32px;
  }

  .nav__burger { display: flex; position: relative; z-index: 100; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid::before { display: none; }
  .author__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 1; }
}

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

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__image { max-height: 360px; aspect-ratio: 16/10; }
  .cards-grid { grid-template-columns: 1fr; }
  .skills__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr 1fr; }
  .author__grid { grid-template-columns: 1fr; gap: 32px; }
  .author__photo { max-height: 340px; aspect-ratio: 3/2; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide { aspect-ratio: 4/3; }
  .curriculum__item { padding: 20px 20px; gap: 16px; }
  .lead-form__inner { padding: 36px 24px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .success-card { padding: 40px 28px; }
  .legal-content { padding: 40px 0 64px; }
}

@media (max-width: 480px) {
  .process__grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 0 60px; }
}
