/* ==========================================================
   КРИСТИНА — maketwbl
   Палитра: Soft Romantic (№9)
   Шрифты: Fraunces + Manrope (№8)
   Карточки: Sophisticated Boudoir (№3)
   ========================================================== */

:root {
  /* Цвета */
  --bg: #EED9D1;         /* пыльная роза (основной фон) */
  --bg-alt: #F7E8E2;     /* светлый кремовый (карточки) */
  --bg-deep: #E3C5BC;    /* чуть темнее основы */
  --fg: #2B1418;         /* почти чёрный с бордо */
  --fg-soft: #4A2530;
  --accent: #6B2737;     /* глубокий бордо */
  --accent-dark: #501823;
  --rose: #CEA59E;       /* светло-роза */
  --muted: #8A6560;      /* приглушённый */
  --line: rgba(107, 39, 55, 0.15);

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

  /* Размеры */
  --container: 1240px;
  --radius: 20px;
  --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;              /* clip жёстче hidden — не создаёт скролл-контекст */
  width: 100%;
  max-width: 100%;
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;              /* жёсткая привязка к ширине вьюпорта */
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* === ГЛОБАЛЬНАЯ ЗАЩИТА ОТ ОВЕРФЛОУ === */
section, header, footer, nav, main { max-width: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

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

/* ========== TYPO HELPERS ========== */
.section-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: inline-block;
  position: relative;
  padding-left: 34px;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.section-label--light { color: var(--rose); }
.section-label--light::before { background: var(--rose); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 36px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg-alt);
}
.btn--primary:hover {
  background: var(--fg);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(107, 39, 55, 0.3);
}
.btn--secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg);
}
.btn--secondary:hover {
  background: var(--fg);
  color: var(--bg-alt);
  transform: translateY(-2px);
}
.btn--full { width: 100%; }

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(238, 217, 209, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(107, 39, 55, 0.08);
  transition: padding 0.3s, background 0.3s;
}
.nav.scrolled { padding: 10px 0; }
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__logo { display: flex; flex-direction: column; line-height: 1; }
.nav__logo-main {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--fg);
}
.nav__logo-sub {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 4px;
}
.nav__menu {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav__menu a {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-soft);
  transition: color 0.2s;
  position: relative;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav__menu a:hover { color: var(--accent); }
.nav__menu a:hover::after { width: 100%; }
.nav__cta {
  padding: 12px 22px;
  background: var(--accent);
  color: var(--bg-alt);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
}
.nav__cta:hover {
  background: var(--fg);
  transform: translateY(-1px);
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  width: 24px;
  height: 1.5px;
  background: var(--fg);
  transition: all 0.3s;
}

/* ========== HERO (2F.1 — неоновое зеркало) ========== */
.hero {
  position: relative;
  padding: 130px 0 70px;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 70% 50%, var(--bg-alt) 0%, var(--bg) 50%, var(--bg-deep) 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 60% at 85% 50%, rgba(206, 165, 158, 0.35), transparent 60%),
    radial-gradient(ellipse 35% 50% at 15% 80%, rgba(107, 39, 55, 0.08), transparent);
  z-index: 0;
}
.hero__glow {
  position: absolute;
  top: 50%;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(206, 165, 158, 0.4), transparent 60%);
  transform: translateY(-50%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 50px;
  align-items: center;
  z-index: 2;
}
.hero__tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 8px var(--accent); }
  50% { box-shadow: 0 0 18px var(--accent), 0 0 28px rgba(107, 39, 55, 0.5); }
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.18;
  letter-spacing: -1.3px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(107, 39, 55, 0.25);
}
.hero__title-line { white-space: nowrap; display: inline-block; }
.hero__sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: 480px;
  margin-bottom: 30px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero .btn--primary {
  box-shadow: 0 0 18px rgba(107, 39, 55, 0.3);
}
.hero .btn--primary:hover {
  box-shadow: 0 0 30px rgba(107, 39, 55, 0.5);
}

/* визуал — зеркало в неоновой раме */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__mirror-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
}
.hero__mirror {
  position: absolute;
  inset: 14px;
  background: linear-gradient(135deg, rgba(206, 165, 158, 0.7), rgba(107, 39, 55, 0.6));
  border-radius: 200px 200px 6px 6px / 30% 30% 6px 6px;
  overflow: hidden;
  box-shadow:
    inset 0 0 60px rgba(107, 39, 55, 0.2),
    0 24px 50px rgba(43, 20, 24, 0.18);
}
.hero__mirror-photo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(247, 232, 226, 0.95);
  overflow: hidden;
}
.hero__mirror-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero__mirror-photo span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 4px;
  opacity: 0.85;
}
.hero__mirror-photo small {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.7;
}
.hero__neon-frame {
  position: absolute;
  inset: 0;
  border-radius: 200px 200px 12px 12px / 30% 30% 12px 12px;
  border: 3px solid var(--accent);
  filter:
    drop-shadow(0 0 5px rgba(107, 39, 55, 0.7))
    drop-shadow(0 0 14px rgba(107, 39, 55, 0.45));
  animation: neon-pulse-burgundy 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}
.hero__neon-text {
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%);
  z-index: 4;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 26px;
  letter-spacing: 6px;
  color: var(--accent);
  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.9),
    0 0 10px var(--accent),
    0 0 20px var(--accent),
    0 0 40px var(--accent);
  animation: neon-pulse-burgundy 3s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes neon-pulse-burgundy {
  0%, 100% {
    filter:
      drop-shadow(0 0 5px rgba(107, 39, 55, 0.7))
      drop-shadow(0 0 14px rgba(107, 39, 55, 0.45));
  }
  50% {
    filter:
      drop-shadow(0 0 10px rgba(107, 39, 55, 0.95))
      drop-shadow(0 0 22px rgba(107, 39, 55, 0.65));
  }
}

.hero__badge {
  position: absolute;
  right: -18px;
  bottom: 30px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 16px 40px rgba(107, 39, 55, 0.35), 0 0 0 3px var(--bg-alt);
  animation: floatY 4s ease-in-out infinite;
  z-index: 5;
}
.hero__badge-pre {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.85;
  margin-bottom: 2px;
}
.hero__badge-num {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}
.hero__badge-text {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 3px;
  line-height: 1.2;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== PLACEHOLDERS ========== */
.placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--accent) 100%);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--bg-alt);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.placeholder::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(247, 232, 226, 0.3);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}
.placeholder span {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 4px;
  opacity: 0.85;
}
.placeholder small {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 10px;
  opacity: 0.75;
  text-align: center;
  padding: 0 16px;
  max-width: 240px;
}
.placeholder--portrait {
  aspect-ratio: 4/5;
}
.placeholder--square {
  aspect-ratio: 1/1;
}
.placeholder--service {
  aspect-ratio: 3/4;
  min-height: 280px;
}
.placeholder--reel {
  aspect-ratio: 9/16;
  cursor: pointer;
}
.placeholder--review {
  aspect-ratio: 3/4;
  min-height: 280px;
}
.placeholder--tech {
  aspect-ratio: 4/3;
}

/* ========== MARQUEE ========== */
.marquee {
  background: var(--accent);
  color: var(--bg-alt);
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(247, 232, 226, 0.15);
  border-bottom: 1px solid rgba(247, 232, 226, 0.15);
  isolation: isolate;
  contain: paint;
}
.marquee__track {
  display: flex;
  width: max-content;
  /* анимация управляется JS — см. script.js (исключает «проскоки» на CSS-стыке) */
  white-space: nowrap;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  will-change: transform;
  backface-visibility: hidden;
  font-kerning: none;
  font-feature-settings: "kern" 0, "liga" 0;
  text-rendering: optimizeSpeed;
}
.marquee__group {
  display: flex;
  flex-shrink: 0;
}
.marquee__group span {
  margin-right: 36px; /* margin вместо gap — фикс рывка на стыке */
  flex-shrink: 0;
}
.marquee__group span:nth-child(even) { color: var(--rose); }
/* keyframes scroll удалены — маркуи теперь на JS */

/* ========== ABOUT ========== */
.about {
  padding: 120px 0;
  position: relative;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about__body {
  margin-top: 14px;
}
.about__body p {
  font-size: 18px;
  color: var(--fg-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about__insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 22px;
  background: var(--bg-alt);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: all 0.3s;
}
.about__insta:hover {
  background: var(--accent);
  color: var(--bg-alt);
  transform: translateY(-2px);
}

/* about-фото с декорацией */
.about__photo {
  position: relative;
  padding: 18px;
}
.about__photo .placeholder {
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(43, 20, 24, 0.16);
}
.about__photo-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(43, 20, 24, 0.16);
}
.about__deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.about__deco--accent {
  inset: 0;
  border: 1.5px solid var(--accent);
  border-radius: calc(var(--radius) + 8px);
  transform: translate(-18px, -18px);
  opacity: 0.5;
}
.about__deco--ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 39, 55, 0.55), transparent 70%);
  filter: blur(24px);
  bottom: -30px;
  right: -30px;
  z-index: 0;
}

/* ========== SERVICES (Витрина бутика) ========== */
.services {
  padding: 110px 0;
  background: var(--bg-deep);
}
.services__head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.services__head .section-title {
  font-size: clamp(32px, 3.8vw, 52px);
  margin-bottom: 0;
}
.services__head .section-label,
.education__head .section-label,
.reviews__head .section-label,
.faq__head .section-label,
.portfolio__head .section-label,
.reels__head .section-label,
.objections__head .section-label {
  margin-left: auto;
  margin-right: auto;
  display: table;
}
.services__head .section-label::before,
.education__head .section-label::before,
.portfolio__head .section-label::before,
.reviews__head .section-label::before,
.faq__head .section-label::before,
.reels__head .section-label::before,
.objections__head .section-label::before {
  display: none;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.services__note {
  margin-top: 36px;
  text-align: center;
  font-size: 18px;
  color: var(--fg-soft);
  line-height: 1.6;
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 300;
}
.services__note strong {
  color: var(--accent);
  font-weight: 500;
  /* шрифт и стиль наследуем — такие же, как у остальной фразы */
}
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: linear-gradient(135deg, var(--rose), var(--accent));
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s;
  box-shadow: 0 14px 30px rgba(43, 20, 24, 0.18);
  display: block;
  color: var(--bg-alt);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px rgba(43, 20, 24, 0.28);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 20, 24, 0) 0%, rgba(43, 20, 24, 0.05) 45%, rgba(43, 20, 24, 0.4) 70%, rgba(43, 20, 24, 0.78) 100%);
  z-index: 1;
}
.service-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-card:hover .service-card__photo {
  transform: scale(1.05);
}
.service-card__photo-label {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(247, 232, 226, 0.45);
  font-size: 13px;
  letter-spacing: 2px;
  z-index: 2;
  white-space: nowrap;
  text-align: center;
}
.service-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  background: var(--bg-alt);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-sans);
}
.service-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 22px 22px 20px;
  color: var(--bg-alt);
}
.service-card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 8px;
  color: var(--bg-alt);
}
.service-card__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  line-height: 1.4;
  max-width: 280px;
}
.service-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
}
.service-card__price {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: #FFD9A8;
  line-height: 1;
}
.service-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s, color 0.3s;
  flex-shrink: 0;
}
.service-card:hover .service-card__cta {
  transform: rotate(-45deg);
  background: var(--accent);
  color: var(--bg-alt);
}

/* ========== OFFER ========== */
.offer {
  padding: 120px 0;
  background: var(--accent);
  color: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.offer::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(206, 165, 158, 0.2), transparent);
}
.offer__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.offer__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
  color: var(--bg-alt);
  margin-bottom: 20px;
}
.offer__title em {
  font-style: italic;
  color: var(--rose);
}
.offer__title--stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.offer__title--stacked > span {
  display: block;
}
.offer__title-dash {
  color: var(--rose);
  font-style: italic;
  font-size: 0.7em;
  line-height: 0.6;
  opacity: 0.85;
  align-self: center;   /* по центру колонки */
  padding: 0;
}
.offer__desc {
  font-size: 17px;
  color: var(--rose);
  line-height: 1.6;
}
.offer__cards {
  display: grid;
  gap: 14px;
}
.offer-card {
  background: rgba(247, 232, 226, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(247, 232, 226, 0.2);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  transition: all 0.3s;
}
.offer-card:hover {
  background: rgba(247, 232, 226, 0.14);
  transform: translateX(6px);
}
.offer-card--accent {
  background: var(--bg-alt);
  color: var(--fg);
  border-color: var(--bg-alt);
}
.offer-card--accent:hover {
  background: var(--rose);
}
.offer-card__tag {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--rose);
  color: var(--accent-dark);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 700;
  white-space: nowrap;
}
.offer-card--accent .offer-card__tag {
  background: var(--accent);
  color: var(--bg-alt);
}
.offer-card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
}
.offer-card__text {
  grid-column: 2;
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.5;
  margin-top: -8px;
}
.offer-card__cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: inherit;
  white-space: nowrap;
  transition: transform 0.3s;
}
.offer-card:hover .offer-card__cta {
  transform: translateX(4px);
}

/* ========== PORTFOLIO ========== */
.portfolio {
  padding: 120px 0 100px;
  overflow: hidden;
}
.portfolio__head {
  text-align: center;
  margin-bottom: 60px;
}
.portfolio__marquee {
  position: relative;
}
.portfolio__marquee::before,
.portfolio__marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  z-index: 5;
  pointer-events: none;
}
.portfolio__marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(238, 217, 209, 0) 100%);
}
.portfolio__marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg) 0%, rgba(238, 217, 209, 0) 100%);
}
.portfolio__rail {
  display: flex;
  overflow: hidden;
  padding: 8px 0;
  contain: paint;
  isolation: isolate;
}
.portfolio__track {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  /* анимация управляется JS — см. script.js */
}
.portfolio__group {
  display: flex;
  flex-shrink: 0;
}
.portfolio__card {
  flex: 0 0 200px;
  width: 200px;
  aspect-ratio: 4 / 5;
  margin-right: 18px; /* margin вместо gap — фикс рывка на стыке */
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 24px rgba(43, 20, 24, 0.14);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s;
}
.portfolio__card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(247, 232, 226, 0.55);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
  z-index: 2;
  transition: inset 0.4s, border-color 0.4s;
}
.portfolio__card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 24px 44px rgba(43, 20, 24, 0.22);
  z-index: 3;
}
.portfolio__card:hover::after {
  inset: 14px;
  border-color: var(--bg-alt);
}
.portfolio__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.portfolio__card:hover .portfolio__photo {
  transform: scale(1.06);
}
.portfolio__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(247, 232, 226, 0.92);
  color: var(--accent);
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--mono, "Space Mono", monospace);
}
.portfolio__card .placeholder {
  min-height: 100%;
  height: 100%;
  border-radius: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .marquee__track,
  .portfolio__track,
  .rfeed__track { transform: none !important; }
}

/* ========== REELS ========== */
.reels {
  padding: 120px 0;
  background: var(--bg-deep);
}
.reels__head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.reels__sub {
  font-size: 17px;
  color: var(--muted);
  margin-top: 12px;
}
.reels__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 50px;
}
.reel {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s;
  display: block;
}
.reel:hover {
  transform: translateY(-8px);
}
.reel__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(247, 232, 226, 0.95);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  padding-left: 5px;
  transition: transform 0.3s;
  z-index: 2;
}
.reel:hover .reel__play {
  transform: translate(-50%, -50%) scale(1.1);
}
.reels__footer { text-align: center; }

/* ========== EDUCATION ========== */
.education {
  padding: 90px 0;
}
.education__head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 32px;
}
.education__head .section-title {
  font-size: clamp(28px, 3.4vw, 46px);
}
.education__sub {
  font-size: 16px;
  color: var(--muted);
  margin-top: 10px;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  background: var(--bg-alt);
  border-radius: 100px;
  margin: 0 auto 40px;
  width: fit-content;
  border: 1px solid var(--line);
}
.tab {
  padding: 14px 36px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.3s;
}
.tab--active {
  background: var(--accent);
  color: var(--bg-alt);
}
.tab:not(.tab--active):hover {
  color: var(--accent);
}
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
}
.tab-content--active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.education__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.education__intro {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 24px;
}

/* education-фото с декорацией */
.education__photo {
  position: relative;
  padding: 18px;
}
.education__photo .placeholder {
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(43, 20, 24, 0.16);
}
.education__photo-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(43, 20, 24, 0.16);
}
.education__deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.education__deco--accent {
  inset: 0;
  border: 1.5px solid var(--accent);
  border-radius: calc(var(--radius) + 8px);
  transform: translate(18px, 18px);
  opacity: 0.5;
}
.education__deco--ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 39, 55, 0.5), transparent 70%);
  filter: blur(26px);
  top: -30px;
  left: -30px;
  z-index: 0;
}

/* PRICING */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.price-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  transition: all 0.3s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(43, 20, 24, 0.1);
}
.price-card--accent {
  background: var(--accent);
  color: var(--bg-alt);
  border-color: var(--accent);
  position: relative;
}
.price-card--accent::before {
  content: "выгодно";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rose);
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
}
.price-card__label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.price-card--accent .price-card__label { color: var(--rose); }
.price-card__value {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
}
.price-card__note {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 14px;
}
.price-card--accent .price-card__note {
  color: var(--rose);
}
.price-card__cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent);
  transition: all 0.3s;
}
.price-card--accent .price-card__cta {
  color: var(--bg-alt);
  border-color: var(--bg-alt);
}
.price-card__cta:hover { letter-spacing: 3px; }

/* ONLINE */
.online {
  max-width: 1000px;
  margin: 0 auto;
}
.online__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 18px;
  text-align: center;
}
.online__desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-soft);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.online__subtitle {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--fg);
  margin-bottom: 24px;
}
.online__for {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  margin-bottom: 40px;
}
.online__list {
  list-style: none;
}
.online__list li {
  position: relative;
  padding: 14px 0 14px 38px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-soft);
  border-bottom: 1px solid var(--line);
}
.online__list li:last-child { border-bottom: none; }
.online__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--accent);
  font-size: 16px;
}
.online__cosmetics {
  background: var(--rose);
  border-radius: var(--radius);
  padding: 28px 36px;
  margin-bottom: 50px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--accent-dark);
}
.online__cosmetics strong {
  color: var(--accent-dark);
  font-weight: 700;
}

/* TECHNIQUES */
.techniques {
  margin-bottom: 50px;
}
.techniques__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.technique-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: all 0.4s;
}
.technique-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(43, 20, 24, 0.1);
  border-color: var(--accent);
}
.technique-card__visual {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}
.technique-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.technique-card__body { padding: 0 10px 10px; }
.technique-card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--fg);
  margin-bottom: 6px;
}
.technique-card__desc {
  font-size: 14px;
  color: var(--muted);
}
.techniques__bonus {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  padding: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ========== OBJECTIONS ========== */
.objections {
  padding: 120px 0;
  background: var(--bg-deep);
}
.objections__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.objections__sub {
  font-size: 17px;
  color: var(--muted);
  margin-top: 12px;
}
.objections__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.objection {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.4s;
}
.objection:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(43, 20, 24, 0.08);
}
.objection__top {
  padding: 28px 30px;
  background: rgba(206, 165, 158, 0.2);
  position: relative;
}
.objection__quote {
  position: absolute;
  top: 4px;
  left: 18px;
  font-family: var(--font-serif);
  font-size: 70px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  opacity: 0.25;
}
.objection__think {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--fg);
  position: relative;
  padding-left: 24px;
}
.objection__bottom {
  padding: 24px 30px 30px;
}
.objection__label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}
.objection__answer {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-soft);
}
.objections__cta { text-align: center; }

/* ========== REVIEWS ========== */
.reviews {
  padding: 120px 0;
}
.reviews__head {
  text-align: center;
  margin-bottom: 60px;
}

/* Layout: цифры + вертикальная лента */
.reviews__layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: stretch;
}

/* Левая колонка — статистика */
.reviews__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-content: center;
}
.rstat {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 28px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rstat:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(43, 20, 24, 0.1);
  border-color: var(--accent);
}
.rstat--accent {
  background: var(--accent);
  color: var(--bg-alt);
  border-color: var(--accent);
}
.rstat--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.rstat__num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
}
.rstat--accent .rstat__num { color: var(--rose); }
.rstat__label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}
.rstat--accent .rstat__label { color: var(--rose); }

/* Правая колонка — вертикальная бегущая лента */
.reviews__feed {
  position: relative;
  height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  transform: translateZ(0);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
}
.rfeed__track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
.rcard {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: all 0.3s;
}
.rcard:hover {
  border-color: var(--accent);
  transform: translateX(-4px);
  box-shadow: -10px 12px 30px rgba(43, 20, 24, 0.08);
}
.rcard__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.rcard__avatar {
  display: none;
}
.rcard__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
}
.rcard__role {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.rcard__stars {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.rcard__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg-soft);
}

/* ========== FAQ ========== */
.faq {
  padding: 120px 0;
  background: var(--bg-alt);
}
.faq__head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
  transition: background 0.3s;
}
.faq-item[open] { background: rgba(206, 165, 158, 0.14); }
.faq-item summary {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: var(--fg);
  padding: 26px 60px 26px 24px;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-item__body {
  padding: 0 60px 26px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-soft);
}

/* ========== CONTACT ========== */
.contact {
  padding: 120px 0;
  background: var(--fg);
  color: var(--bg-alt);
}
.contact .section-label {
  color: var(--rose);
}
.contact .section-label::before {
  background: var(--rose);
}
.contact .section-title {
  color: var(--bg-alt);
}
.contact .section-title em {
  color: var(--rose);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--rose);
  margin-bottom: 40px;
  max-width: 440px;
}
.contact__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(247, 232, 226, 0.15);
  transition: padding 0.3s;
}
.contact__link:hover { padding-left: 10px; }
.contact__link-label {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--bg-alt);
}
.contact__link-value {
  font-size: 14px;
  color: var(--rose);
}
.contact__form {
  background: rgba(247, 232, 226, 0.04);
  border: 1px solid rgba(247, 232, 226, 0.15);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  gap: 18px;
}
.contact__form-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--bg-alt);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.contact__form-hint {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(247, 232, 226, 0.55);
  font-weight: 400;
  margin-left: 6px;
  text-transform: none;
}
.contact__form-consent {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-top: 4px;
}
.contact__form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.contact__form-consent span {
  font-size: 12px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 400 !important;
  color: rgba(247, 232, 226, 0.75) !important;
  line-height: 1.5;
}
.contact__form-consent a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact__form-consent a:hover {
  color: var(--bg-alt);
}
.contact__form-status {
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  margin-top: 4px;
  min-height: 20px;
}
.contact__form-status[data-type="success"] {
  color: #c8e6c9;
}
.contact__form-status[data-type="error"] {
  color: #ffb6b6;
}
.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__form span {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(247, 232, 226, 0.25);
  padding: 12px 0;
  color: var(--bg-alt);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
  font-family: var(--font-sans);
  resize: none;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  border-bottom-color: var(--rose);
}
.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: rgba(247, 232, 226, 0.3);
}
.contact__form select option {
  background: var(--fg);
  color: var(--bg-alt);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--fg);
  color: var(--rose);
  padding: 50px 0 40px;
  border-top: 1px solid rgba(247, 232, 226, 0.1);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--bg-alt);
  margin-bottom: 4px;
}
.footer__tagline { font-size: 13px; }
.footer__socials {
  display: flex;
  gap: 28px;
}
.footer__socials a {
  font-size: 13px;
  font-weight: 500;
  color: var(--rose);
  transition: color 0.2s;
}
.footer__socials a:hover { color: var(--bg-alt); }
.footer__copy { font-size: 12px; opacity: 0.7; }
.footer__privacy { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer__privacy:hover { opacity: 1; color: var(--bg-alt); }
.footer__credit { font-size: 15px; opacity: 1; margin-top: 8px; letter-spacing: 0.02em; }
.footer__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: opacity 0.2s; }
.footer__credit a:hover { opacity: 1; color: var(--bg-alt); }

/* ========== REVEAL ANIMATION ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
/* === ПЛАНШЕТЫ И УЗКИЕ НОУТЫ (≤1024) === */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .nav__inner { padding: 0 28px; gap: 20px; }
  .nav__menu { gap: 22px; }

  .hero__inner { grid-template-columns: 1fr; gap: 50px; padding: 0 28px; }
  .hero__visual { order: -1; }
  .hero__mirror-wrap { max-width: 380px; margin: 0 auto; }
  .hero { padding: 120px 0 70px; min-height: auto; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .service-card:nth-child(3) { grid-column: span 2; aspect-ratio: 16/9; }
  .service-card:nth-child(3) .service-card__photo-label { top: 25%; }
  .service-card__title { font-size: 26px; }
  .offer__inner { grid-template-columns: 1fr; gap: 40px; }
  .portfolio__card { flex: 0 0 220px; width: 220px; margin-right: 18px; }
  .portfolio__marquee::before,
  .portfolio__marquee::after { width: 70px; }
  .education__grid { grid-template-columns: 1fr; gap: 40px; }
  .techniques__grid { grid-template-columns: 1fr; }
  .reviews__layout { grid-template-columns: 1fr; gap: 40px; }
  .reviews__feed { height: 480px; }
  .objections__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* === БОЛЬШИЕ ТЕЛЕФОНЫ (≤768) === */
@media (max-width: 768px) {
  /* отступ под навигацию при якорной прокрутке */
  html { scroll-padding-top: 70px; }

  /* размер заголовков секций — чуть компактнее */
  .section-title { font-size: clamp(28px, 8vw, 44px); }

  .hero__title { font-size: clamp(28px, 6vw, 44px); letter-spacing: -1px; }
}

/* === МОБИЛЬНЫЕ (≤640) === */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav__inner { padding: 14px 20px; min-height: 64px; }

  /* === АНТИ-OVERFLOW: страховка для всех секций === */
  .hero, .marquee, .about, .services, .offer,
  .portfolio, .education, .objections, .reviews,
  .contact, .footer, section {
    overflow-x: hidden;
    overflow-x: clip; /* перебивает hidden в современных браузерах */
    max-width: 100vw;
  }

  /* убираем декоративные элементы, выходящие за край */
  .about__deco--ring { display: none; }
  .education__deco--accent,
  .education__deco--ring { display: none; }
  .about__deco--accent { transform: translate(-8px, -8px); opacity: 0.4; }
  /* hero badge — внутри mirror-wrap, не должно вылезать */
  .hero__badge { right: 0; }

  /* === БУРГЕР-МЕНЮ === */
  .nav__menu {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    padding: 14px 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(43, 20, 24, 0.10);
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav__menu--open {
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__menu a {
    padding: 16px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav__menu a:last-child { border-bottom: none; }
  .nav__menu a::after { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__burger--active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav__burger--active span:nth-child(2) { opacity: 0; }
  .nav__burger--active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* === HERO === */
  .hero { padding: 130px 0 60px; }
  .hero__bg { background: radial-gradient(ellipse 50% 50% at 50% 30%, rgba(206, 165, 158, 0.25), transparent 70%); }
  .hero__glow { display: none; } /* выкл. лишний blur — экономит GPU */
  .hero__inner { padding: 0 20px; gap: 36px; }
  .hero__sub { font-size: 15px; max-width: 100%; }
  .hero__tag { font-size: 10px; letter-spacing: 2.5px; margin-bottom: 16px; }
  .hero__mirror-wrap { max-width: 280px; }
  .hero__neon-frame {
    border-width: 2px;
    /* облегчённая тень для GPU + без анимации */
    filter: drop-shadow(0 0 6px rgba(107, 39, 55, 0.55));
    animation: none;
  }
  .hero__mirror-photo span { font-size: 14px; letter-spacing: 3px; }
  .hero__mirror-photo small { font-size: 9px; }
  .hero__badge {
    width: 88px; height: 88px;
    right: -10px; bottom: 14px;
    padding: 8px;
    animation: none; /* убираем плавающее «дрожание» — ровнее на телефоне */
  }
  .hero__badge-pre { font-size: 8px; letter-spacing: 1.5px; }
  .hero__badge-num { font-size: 24px; }
  .hero__badge-text { font-size: 8px; }
  .hero__cta .btn { flex: 1 1 100%; min-width: 0; }

  .about__photo { padding: 10px; }
  .about__deco--accent { transform: translate(-10px, -10px); }
  .about__deco--ring { opacity: 0.5; }
  .offer__title--stacked { font-size: clamp(28px, 8vw, 38px); }

  /* === КНОПКИ — комфортная зона касания (≥44px) === */
  .btn { padding: 15px 22px; font-size: 12px; min-height: 48px; }

  /* === БЕГУЩАЯ СТРОКА === */
  .marquee { padding: 14px 0; }
  .marquee__track { font-size: 18px; }
  .marquee__group span { margin-right: 24px; }

  /* === ОБО МНЕ === */
  .about { padding: 70px 0; }
  .about__body p { font-size: 16px; }

  /* === УСЛУГИ === */
  .services { padding: 70px 0; }
  .services__grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card,
  .service-card:nth-child(3) { aspect-ratio: 4/5; grid-column: auto; }
  .service-card__title { font-size: 24px; }
  .service-card__price { font-size: 24px; }
  .service-card__body { padding: 20px 18px 18px; }
  .service-card__cta { width: 44px; height: 44px; font-size: 18px; } /* tap target */
  /* отключаем hover на тач-устройствах (избавляет от «залипшего» состояния) */
  .service-card:hover { transform: none; box-shadow: 0 14px 30px rgba(43, 20, 24, 0.18); }
  .service-card:hover .service-card__photo { transform: none; }

  /* === БОНУСЫ === */
  .offer { padding: 70px 0; }
  .offer-card {
    padding: 22px 22px 24px;
    grid-template-columns: 1fr; /* в один столбик: тег → заголовок → текст → CTA */
    gap: 12px;
    text-align: left;
  }
  .offer-card__tag {
    justify-self: start;
    grid-column: 1;
  }
  .offer-card__title { grid-column: 1; }
  .offer-card__text {
    grid-column: 1;
    margin-top: 0;
  }
  .offer-card__cta {
    grid-column: 1;
    justify-self: start;
    margin-top: 4px;
  }
  .offer-card:hover { transform: none; }

  /* === ПОРТФОЛИО === */
  .portfolio { padding: 70px 0; }
  .portfolio__head { margin-bottom: 36px; }
  .portfolio__card {
    flex: 0 0 170px;
    width: 170px;
    margin-right: 14px;
  }
  .portfolio__marquee::before,
  .portfolio__marquee::after { width: 40px; }
  .portfolio__tag { font-size: 9px; padding: 4px 9px; top: 10px; left: 10px; }
  /* убираем hover-зум на телефоне (нет наведения, только тыкают) */
  .portfolio__card:hover { transform: none; box-shadow: 0 10px 24px rgba(43, 20, 24, 0.14); }
  .portfolio__card:hover .portfolio__photo { transform: none; }
  .portfolio__card:hover::after { inset: 10px; border-color: rgba(247, 232, 226, 0.55); }

  /* === ОБУЧЕНИЕ === */
  .education { padding: 70px 0; }
  .education__photo { padding: 12px; max-width: 420px; margin: 0 auto; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 14px 18px; min-height: 48px; font-size: 14px; }
  .pricing { grid-template-columns: 1fr; gap: 14px; }
  .online__for { padding: 26px 22px; }
  .online__cosmetics { padding: 20px 22px; }
  .technique-card__title { font-size: 22px; }
  .price-card__cta { min-height: 48px; }

  /* === ОФЛАЙН-ВКЛАДКА: фото СВЕРХУ, цены под ним === */
  .education__visual { order: -1; }

  /* === Правка 5/6: выравнивание заголовков "Техники:" / "Тарифы:" с контентом === */
  /* фото в карточке техник — full-bleed, текст с минимальным отступом от края карточки */
  .technique-card { padding: 0; overflow: hidden; }
  .technique-card__visual { margin-bottom: 0; border-radius: 0; }
  .technique-card__body { padding: 14px 14px 16px; }
  /* "Техники:" и "Тарифы:" — центрируем, как договорились */
  .techniques .online__subtitle,
  .online__pricing .online__subtitle { text-align: center; padding-left: 0; }
  /* "Кому подойдёт онлайн:" остаётся слева — список под ним тоже слева */

  .objections { padding: 70px 0; }

  /* === ОТЗЫВЫ === */
  .reviews { padding: 70px 0; }
  .reviews__stats {
    gap: 12px;
    grid-template-columns: 1fr 1fr; /* 2×2 на мобиле */
  }
  .rstat { padding: 24px 16px; }
  .rstat__num { font-size: 36px; margin-bottom: 6px; }
  .rstat__label { font-size: 10px; letter-spacing: 1.5px; }
  .reviews__feed { height: 440px; }
  .rcard { padding: 20px 22px; }
  .rcard__text { font-size: 15px; }

  /* === КОНТАКТЫ === */
  .contact { padding: 70px 0; }
  .contact__form { padding: 24px 20px; }
  .contact__link-label { font-size: 20px; }
  /* поля формы — 16px, чтобы iOS не зумил при фокусе */
  .contact__form input,
  .contact__form textarea,
  .contact__form select { font-size: 16px; min-height: 48px; }
  .contact__form textarea { min-height: 110px; }

  /* === Правка 4: ФОРМА сверху, ссылки/контакты — под ней === */
  .contact__form { order: -1; }

  /* === ФУТЕР === */
  .footer { padding: 40px 0 32px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 22px; padding: 0 20px; }
  .footer__socials {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }
  .footer__socials a { font-size: 14px; padding: 6px 0; min-height: 36px; display: flex; align-items: center; }
  .footer__logo { font-size: 20px; }

  /* === ПЕРФОРМАНС: отрубаем тяжёлые анимации, которые жрут батарею === */
  .hero__tag::before { animation: none; box-shadow: 0 0 8px var(--accent); }
  /* float и neon-pulse уже отключены выше для конкретных элементов */
}

/* === НЕБОЛЬШИЕ ТЕЛЕФОНЫ (≤480) — iPhone SE, узкие Android === */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav__inner { padding: 12px 16px; }
  .nav__logo-main { font-size: 18px; }

  /* hero — компактнее, но с отступом от навигации */
  .hero { padding: 120px 0 50px; }
  .hero__inner { padding: 0 16px; gap: 28px; }
  .hero__title { font-size: clamp(24px, 7vw, 34px); margin-bottom: 18px; }
  .hero__sub { margin-bottom: 24px; }
  .hero__mirror-wrap { max-width: 240px; }
  .hero__badge {
    width: 78px; height: 78px;
    right: -6px; bottom: 8px;
    padding: 7px;
  }
  .hero__badge-num { font-size: 22px; }

  /* секции */
  section { padding: 60px 0; }
  .about,
  .services,
  .offer,
  .portfolio,
  .education,
  .objections,
  .reviews,
  .contact { padding: 60px 0; }

  .marquee { padding: 12px 0; }
  .marquee__track { font-size: 16px; }
  .marquee__group span { margin-right: 20px; }

  /* сервисы — фото меньше */
  .service-card__title { font-size: 22px; }
  .service-card__price { font-size: 22px; }
  .service-card__body { padding: 18px 16px 16px; }

  /* портфолио — ещё компактнее карточки */
  .portfolio__card { flex: 0 0 150px; width: 150px; margin-right: 12px; }
  .portfolio__card::after { inset: 7px; }

  /* отзывы — статистика двумя колонками, шрифт ещё немного меньше */
  .rstat { padding: 20px 12px; }
  .rstat__num { font-size: 32px; }
  .rstat__label { font-size: 9px; letter-spacing: 1px; }
  .reviews__feed { height: 400px; }
  .rcard { padding: 18px 18px; }
  .rcard__text { font-size: 14px; }

  /* техники онлайн */
  .technique-card__title { font-size: 20px; }

  /* кнопки */
  .btn { padding: 14px 18px; font-size: 11px; }
}

/* === ОЧЕНЬ УЗКИЕ ЭКРАНЫ (≤380) === */
@media (max-width: 380px) {
  .hero__mirror-wrap { max-width: 220px; }
  .hero__title { font-size: 22px; }
  .section-title { font-size: 26px; }
  .reviews__stats { grid-template-columns: 1fr; } /* 4×1 на совсем узких */
  .rstat { padding: 18px 14px; }
}

/* === ТАЧ-УСТРОЙСТВА: убираем hover-эффекты, дают «залипший» вид === */
@media (hover: none) {
  .service-card:hover,
  .portfolio__card:hover,
  .technique-card:hover,
  .offer-card:hover,
  .nav__menu a:hover { transform: none; }
}
