/* ==========================================================================
   Nadlen — частная студия косметологии. Основные стили.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --bg: #FBF6EF;
  --bg-alt: #F8ECE5;
  --surface: #FFFFFF;

  --text: #362A22;
  --text-muted: #7C6C60;

  --accent: #B8896B;
  --accent-dark: #9C6B4E;
  --accent-light: #E8C9AE;
  --rose: #D64980;
  --rose-dark: #A93A66;
  --rose-soft: #FBEDF2;

  --line: #EADDD2;

  --shadow-sm: 0 2px 10px rgba(54, 42, 34, 0.06);
  --shadow-md: 0 12px 32px rgba(54, 42, 34, 0.10);
  --shadow-lg: 0 24px 60px rgba(54, 42, 34, 0.16);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --header-h: 84px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; margin: 0; color: var(--text); }
p { margin: 0; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 110px 0; }
.section:nth-of-type(even) { background: var(--bg-alt); }

.highlight { color: var(--accent-dark); font-weight: 600; }

/* ---------- Прелоадер ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.spinner {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 3px solid var(--accent-light);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Общие элементы ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 14px;
}
.eyebrow svg { color: var(--rose); }
.eyebrow--light { color: #F3E3D6; }
.eyebrow--light svg { color: #F3E3D6; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.2; }
.section-head__lead { margin-top: 14px; color: var(--text-muted); font-size: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn--outline { background: transparent; border-color: var(--accent); color: var(--accent-dark); }
.btn--outline:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--block { width: 100%; margin-bottom: 12px; }

/* ---------- Плавающая кнопка WhatsApp ---------- */
.floating-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(184, 137, 107, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background-color .25s ease;
}
.floating-cta.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.floating-cta:hover { background: var(--accent-dark); }

/* ---------- Шапка ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease, height .3s ease;
}
.header.is-scrolled {
  background: rgba(251, 246, 241, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  height: 74px;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; flex-wrap: nowrap; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo img { width: 42px; height: 42px; object-fit: contain; border-radius: 50%; flex-shrink: 0; }
.logo__name { font-family: var(--font-heading); font-size: 23px; font-weight: 700; color: var(--text); white-space: nowrap; }
.header.is-scrolled .logo__name { color: var(--accent-dark); }
.header:not(.is-scrolled) .logo__name { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.35); }

.nav { display: flex; align-items: center; gap: 26px; flex-wrap: nowrap; }
.nav ul { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; }
.nav li { flex-shrink: 0; }
.nav a:not(.btn) {
  display: inline-block;
  text-decoration: none; font-weight: 500; font-size: 14.5px; white-space: nowrap;
  color: var(--text); position: relative; padding: 4px 0;
}
.header:not(.is-scrolled) .nav a:not(.btn) { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.3); }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: var(--accent); transition: right .25s ease;
}
.nav a:not(.btn):hover::after { right: 0; }
.nav a.nav__mobile-brand { display: none; }
.nav a.nav__mobile-brand::after { content: none; }
.nav__cta { padding: 10px 20px; font-size: 13.5px; flex-shrink: 0; }

.hamburger {
  display: none; background: none; border: none; color: var(--text); padding: 6px; flex-shrink: 0;
}
.header:not(.is-scrolled) .hamburger { color: #fff; }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(54, 42, 34, 0.45); z-index: 790;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.nav-overlay.visible { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(41, 28, 20, 0.55) 0%, rgba(41, 28, 20, 0.45) 45%, rgba(35, 24, 18, 0.85) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-top: var(--header-h); max-width: 760px; }
.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.12;
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.hero__lead {
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.92);
  max-width: 620px; margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
}
.hero__facts li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,0.9); font-weight: 500;
}
.hero__facts svg { color: var(--accent-light); flex-shrink: 0; }
.hero__facts-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.55); }
.hero__facts-link:hover { text-decoration-color: #fff; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.6); border-radius: 20px;
  z-index: 1;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px; background: #fff;
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 8px; }
}

/* ---------- Reveal-анимация ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Обо мне ---------- */
.about__grid {
  display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 52px; align-items: center;
}
.about__media {
  --photo-size: 340px;
  position: relative;
  width: var(--photo-size);
  justify-self: center;
  align-self: center;
}
.about__media img {
  display: block;
  width: var(--photo-size);
  height: var(--photo-size);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.about__media-badge {
  position: absolute; left: -20px; bottom: -20px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; line-height: 1.3;
  color: var(--accent-dark);
}
.about__media-badge svg { flex-shrink: 0; color: var(--accent); }

.about__text p { color: var(--text-muted); margin-bottom: 14px; font-size: 14.5px; line-height: 1.6; }
.about__text h2 { font-size: clamp(25px, 2.8vw, 32px); margin-bottom: 18px; line-height: 1.25; }
.about__list { margin: 20px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.about__list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; color: var(--text);
}
.about__list svg { color: var(--accent); flex-shrink: 0; }

/* ---------- Преимущества ---------- */
.advantages__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.advantage-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.advantage-card__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.advantage-card h3 { font-size: 19px; margin-bottom: 10px; }
.advantage-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

/* ---------- Услуги (постерная сетка прайса) ---------- */
.price-grid {
  max-width: 1020px; margin: 0 auto;
  columns: 2; column-gap: 26px;
}
.price-card {
  break-inside: avoid;
  margin-bottom: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card__head {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px;
  background: linear-gradient(135deg, #B98A67 0%, #8A5C41 100%);
  color: #fff;
}
.price-card__head h3 {
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: #fff;
}
.price-card__badge {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.price-card__list { padding: 8px 20px 16px; }
.price-item {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px;
  padding: 10px 0 9px;
  font-size: 14px; line-height: 1.45;
}
.price-item + .price-item { border-top: 1px dashed var(--line); }
.price-item__name { color: var(--text); font-weight: 500; }
.price-item__dots {
  flex: 1 1 24px; min-width: 24px;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-4px);
}
.price-item__time { color: var(--text-muted); font-size: 12.5px; white-space: nowrap; }
.price-item__price { font-weight: 700; color: var(--accent-dark); white-space: nowrap; margin-left: auto; }
.price-item__note {
  flex-basis: 100%;
  margin-top: 3px;
  font-size: 12px; color: var(--text-muted); font-style: italic;
}
.price-card--gift .price-card__head { background: linear-gradient(135deg, var(--rose) 0%, #A93A66 100%); }
.price-card--gift .price-item__price { color: var(--rose-dark); }

.price-cta {
  max-width: 640px; margin: 30px auto 0;
  text-align: center;
}
.price-cta p { color: var(--text-muted); font-size: 15px; margin-bottom: 18px; }

/* ---------- Обучение ---------- */
.training { background: linear-gradient(180deg, #FDF4EE 0%, var(--rose-soft) 100%); }
.training__grid {
  display: grid; grid-template-columns: 1.12fr 0.88fr;
  gap: 56px; align-items: center;
}
.training__text h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; line-height: 1.22; }
.training__text > p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.training__list { margin: 22px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.training__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.5;
}
.training__list svg { color: var(--rose); flex-shrink: 0; margin-top: 2px; }
.training__teacher {
  margin: 0 0 26px; padding: 14px 18px;
  background: rgba(255, 255, 255, 0.75);
  border-left: 3px solid var(--rose);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px; color: var(--text) !important; line-height: 1.6;
}

.training__cert { display: flex; justify-content: center; }
.cert {
  width: min(360px, 100%);
  background: linear-gradient(165deg, #FDF6F4 0%, #F9E9E9 55%, #F6E0E4 100%);
  border: 1px solid #F0D8DC;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 34px 30px 24px;
  text-align: center;
  transform: rotate(2.5deg);
  transition: transform .35s ease;
}
.cert:hover { transform: rotate(0deg) scale(1.02); }
.cert__logo {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 20px;
}
.cert__logo img { width: 34px; height: 34px; border-radius: 50%; }
.cert__logo span { font-family: var(--font-heading); font-size: 19px; font-weight: 700; color: var(--rose); }
.cert__title {
  font-family: var(--font-heading);
  font-size: 30px; font-weight: 600; text-transform: uppercase; letter-spacing: 8px;
  color: #8A5C41;
  margin-bottom: 6px;
}
.cert__no { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.cert__line { font-size: 11.5px; color: var(--text-muted); margin-bottom: 8px; }
.cert__name-line { border-bottom: 1px solid #D9BFB2; margin: 0 12px 14px; height: 16px; }
.cert__topic {
  font-family: var(--font-heading);
  font-size: 21px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: #9C6B4E; margin: 6px 0 2px;
}
.cert__subtopic {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 3px;
  color: var(--text-muted); margin-bottom: 18px;
}
.cert__teacher { font-size: 12px; color: var(--text); line-height: 1.55; margin-bottom: 18px; }
.cert__teacher span { font-size: 11px; color: var(--text-muted); }
.cert__footer {
  border-top: 1px dashed #E2C9BE; padding-top: 12px;
  font-size: 10.5px; color: var(--text-muted);
}

/* ---------- Отзывы ---------- */
.review-slider { max-width: 760px; margin: 0 auto; }
.review-slider__track { position: relative; min-height: 260px; }
.review-slide {
  display: none;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 44px 46px;
  text-align: center;
}
.review-slide.active { display: block; animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }
.review-slide__stars { display: flex; justify-content: center; gap: 4px; color: var(--rose); margin-bottom: 18px; }
.review-slide p { font-size: 17px; line-height: 1.75; font-style: italic; color: var(--text); margin-bottom: 22px; }
.review-slide h4 { font-size: 17px; color: var(--accent-dark); margin-bottom: 4px; }
.review-slide span { font-size: 13px; color: var(--text-muted); }

.review-slider__controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.review-slider__controls button {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .25s ease, transform .25s ease, border-color .25s ease;
}
.review-slider__controls button:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.08); }
.review-slider__dots { display: flex; gap: 8px; }
.review-slider__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: var(--line);
}
.review-slider__dots button.active { background: var(--accent); width: 22px; border-radius: 5px; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 26px; background: none; border: none; text-align: left;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600; color: var(--text);
}
.faq-question svg { color: var(--accent); flex-shrink: 0; transition: transform .3s ease; }
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer__inner { overflow: hidden; padding: 0 26px; color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }
.faq-item.is-open .faq-answer__inner { padding: 0 26px 22px; }

/* ---------- Контакты ---------- */
.contacts__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: start; }
.contacts__list { display: flex; flex-direction: column; gap: 26px; }
.contacts__list li { display: flex; gap: 18px; align-items: flex-start; }
.contacts__icon {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-light); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.contacts__list strong { display: block; font-size: 14px; margin-bottom: 4px; color: var(--text); }
.contacts__list p { color: var(--text-muted); font-size: 15px; }
.contacts__list a { text-decoration: none; color: var(--accent-dark); font-weight: 600; }
.contacts__list a:hover { text-decoration: underline; }
.contacts__map-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--accent-dark); text-decoration: none;
  border-bottom: 1px solid var(--accent-light);
  padding-bottom: 1px;
}
.contacts__map-link svg { color: var(--accent); transition: transform .2s ease; }
.contacts__map-link:hover { color: var(--accent); border-color: var(--accent); }
.contacts__map-link:hover svg { transform: translateX(3px); }

.contacts__card {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 40px;
}
.contacts__card h3 { font-size: 22px; margin-bottom: 12px; }
.contacts__card > p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 24px; }
.contacts__note { font-size: 13px; color: var(--text-muted); margin-top: 16px; text-align: center; }

/* ---------- Подвал ---------- */
.footer { background: #2B211B; color: rgba(255,255,255,0.85); padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__brand { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.footer__brand img { border-radius: 50%; }
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background-color .25s ease, transform .25s ease;
}
.footer__social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer__meta { text-align: right; font-size: 13px; color: rgba(255,255,255,0.6); }
.footer__meta a { color: var(--accent-light); text-decoration: none; font-weight: 600; }
.footer__meta a:hover { text-decoration: underline; }
.footer__meta p { margin: 2px 0; }

/* ==========================================================================
   Адаптивность
   ========================================================================== */
@media (max-width: 992px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { --photo-size: 220px; margin: 0 auto; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .training__grid { grid-template-columns: 1fr; gap: 44px; }
  .contacts__grid { grid-template-columns: 1fr; }
  .contacts__card { max-width: 520px; }
}

@media (max-width: 960px) {
  .nav {
    position: fixed; top: 0; right: -100%; width: min(340px, 86vw); height: 100vh;
    background: var(--surface); flex-direction: column; align-items: flex-start;
    padding: 40px 32px; gap: 28px;
    box-shadow: var(--shadow-lg);
    transition: right .35s ease;
    z-index: 795;
    overflow-y: auto;
  }
  .nav.is-open { right: 0; }
  .nav a.nav__mobile-brand {
    display: block; font-family: var(--font-heading); font-size: 26px; font-weight: 700;
    color: var(--accent-dark) !important; text-decoration: none; margin-bottom: 4px;
  }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 20px; width: 100%; }
  .nav a:not(.btn) { color: var(--text) !important; text-shadow: none !important; font-size: 17px; white-space: normal; }
  .nav__cta { width: 100%; justify-content: center; }
  .hamburger { display: flex; }
  .header:not(.is-scrolled) .hamburger { color: #fff; }
}

@media (max-width: 768px) {
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { min-height: 92vh; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .advantages__grid { grid-template-columns: 1fr; }
  .price-grid { columns: 1; }
  .price-card { margin-bottom: 18px; }
  .review-slide { padding: 32px 24px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__meta { text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 32px; }
  .hero__lead { font-size: 16px; }
  .about__media-badge { left: 50%; transform: translateX(-50%); bottom: -18px; }
  .price-card__head { padding: 12px 16px; }
  .price-card__head h3 { font-size: 12.5px; letter-spacing: 1.4px; }
  .price-card__list { padding: 6px 16px 14px; }
  .contacts__card { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
