/* ============================================================
   MirrorX — «Зеркало вашего фокуса. Спокойствие как метод»
   Class system: BEM (block__element--modifier)
   Layout engine: CSS Grid (hero, cards, stats, faq) + Flex (nav, footer)
   Rhythm: vertical spacing via --space-* scale; container = .wrap
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Prata&display=swap');

/* ---------- design tokens ---------- */
:root {
  /* surfaces */
  --pearl:      #f6f4ef;
  --pearl-deep: #efece4;
  --card:       #fffdf9;

  /* brand — mint (primary, h≈180) */
  --mint:       #3f9a8c;
  --mint-deep:  #2c6f64;
  --mint-soft:  #dcefe9;
  --mint-tint:  #eef6f3;

  /* accent — lavender */
  --lav:        #9a8fc0;
  --lav-deep:   #71659c;
  --lav-soft:   #ece7f7;

  /* neutrals — warm grey */
  --ink:        #29322f;
  --ink-2:      #3c4642;
  --text:       #4a5551;
  --muted:      #7c857f;
  --line:       #e2e1d9;
  --line-soft:  #eceae2;

  /* type */
  --f-serif: 'Prata', Georgia, serif;
  --f-sans:  'Manrope', system-ui, -apple-system, sans-serif;

  /* spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3.25rem;
  --space-xl: 5.5rem;

  /* radii */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* shadows (soft, warm, low) */
  --sh-sm: 0 2px 10px -4px rgba(41, 50, 47, 0.18);
  --sh-md: 0 16px 34px -20px rgba(41, 50, 47, 0.30);
  --sh-lg: 0 40px 70px -34px rgba(41, 50, 47, 0.38);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  line-height: 1;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
a { text-decoration: none; color: inherit; }

/* ---------- base type ---------- */
body {
  font-family: var(--f-sans);
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.125rem);
  line-height: 1.72;
  color: var(--text);
  background-color: var(--pearl);
  background-image:
    radial-gradient(1100px 620px at 82% -8%, var(--mint-tint), transparent 58%),
    radial-gradient(900px 560px at -6% 24%, var(--lav-soft), transparent 55%),
    radial-gradient(760px 560px at 62% 108%, var(--mint-soft), transparent 60%);
  background-attachment: fixed;
}

h1, h2, h3 { font-family: var(--f-serif); font-weight: 400; line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.15rem); }
h3 { font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.75rem); }
p  { font-size: inherit; }
strong { font-weight: 700; color: var(--ink); }

::selection { background: var(--mint); color: #fff; }

/* ---------- container (the standard wrapper) ---------- */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ---------- eyebrow / label ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mint), var(--lav));
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: var(--r-pill);
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  color: #fff;
  background: var(--bg);
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: var(--sh-md);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn:active { transform: translateY(0); }
.btn__arrow { transition: transform .25s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--card); border-color: var(--mint); color: var(--mint-deep); box-shadow: var(--sh-sm); }
.btn--lav { --bg: var(--lav-deep); }
.btn--lav:hover { --bg: var(--lav); }
.btn--block { width: 100%; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 239, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.brand__mark { width: 34px; height: 34px; }
.brand__name {
  font-family: var(--f-serif);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand__name em { font-style: normal; color: var(--mint-deep); }

.site-nav { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.9rem); margin-left: auto; }
.site-nav__link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0.35rem 0;
  transition: color .2s ease;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav__link:hover { color: var(--mint-deep); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link--active { color: var(--mint-deep); font-weight: 700; }
.site-nav__link--active::after { transform: scaleX(1); }

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.site-header__phone {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s ease;
}
.site-header__phone:hover { color: var(--mint-deep); }
.site-header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
}
.site-header__menu-btn span,
.site-header__menu-btn span::before,
.site-header__menu-btn span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .3s ease, opacity .2s ease;
}
.site-header__menu-btn span::before { position: absolute; top: -6px; }
.site-header__menu-btn span::after  { position: absolute; top: 6px; }
.site-header__menu-btn.is-open span { background: transparent; }
.site-header__menu-btn.is-open span::before { transform: translateY(6px) rotate(45deg); }
.site-header__menu-btn.is-open span::after  { transform: translateY(-6px) rotate(-45deg); }

/* mobile nav */
@media (max-width: 900px) {
  .site-header__menu-btn { display: inline-flex; }
  .site-header__phone { display: none; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.5rem 0 1rem;
    background: var(--card);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--sh-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
  }
  .site-header.is-open .site-nav { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-nav__link { padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); }
  .site-nav__link::after { display: none; }
  .site-header__cta { margin-left: 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: clamp(3rem, 7vw, 6rem); position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__eyebrow { margin-bottom: 1.2rem; }
.hero__title { margin-bottom: 1.4rem; }
.hero__title span { color: var(--mint-deep); }
.hero__lead {
  max-width: 34ch;
  font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.28rem);
  color: var(--ink-2);
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.4rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}
.hero__meta-item { display: flex; align-items: center; gap: 0.6rem; }
.hero__meta-item svg { width: 20px; height: 20px; color: var(--mint-deep); }
.hero__meta-item strong { display: block; font-size: 1.05rem; color: var(--ink); }
.hero__meta-item span { font-size: 0.82rem; color: var(--muted); }

/* hero visual card */
.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line-soft);
  background: var(--mint-tint);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute;
  left: 18px; bottom: 18px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: var(--sh-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.hero__badge .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px var(--mint-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--mint-soft); }
  50%      { box-shadow: 0 0 0 9px rgba(63, 154, 140, 0.12); }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16 / 11; order: -1; }
  .hero__lead { max-width: none; }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--pearl  { background: var(--pearl); }
.section--deep   { background: var(--pearl-deep); }
.section--mint   { background: linear-gradient(180deg, var(--mint-tint), var(--pearl)); }
.section--lav    { background: linear-gradient(180deg, var(--lav-soft), var(--pearl)); }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { text-align: center; margin-inline: auto; max-width: 72ch; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::before { display: none; }
.section__head h2 { margin: 0.7rem 0 1rem; }
.section__head p { color: var(--ink-2); font-size: 1.08rem; }
.section__head .eyebrow { display: inline-flex; }

/* two-column content */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.content-grid__text p { margin-bottom: 1.2rem; }
.content-grid__text p:first-child {
  font-size: 1.2rem;
  color: var(--ink-2);
}
.content-grid__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  aspect-ratio: 4 / 3;
}
.content-grid__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .content-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CARDS / FEATURE GRID
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--mint-soft); }
.card__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--mint-soft);
  color: var(--mint-deep);
}
.card--lav .card__icon { background: var(--lav-soft); color: var(--lav-deep); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem); }
.card p { color: var(--text); font-size: 1rem; }
.card__tag {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-deep);
  background: var(--mint-tint);
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-pill);
}
.card--lav .card__tag { color: var(--lav-deep); background: var(--lav-soft); }

@media (max-width: 860px) { .cards-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  text-align: center;
}
.stat {
  padding: 1.5rem 1rem;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line-soft);
  box-shadow: var(--sh-sm);
}
.stat__num {
  font-family: var(--f-serif);
  font-size: clamp(2.4rem, 1.7rem + 2vw, 3.4rem);
  line-height: 1;
  color: var(--mint-deep);
  display: block;
  margin-bottom: 0.5rem;
}
.stat--lav .stat__num { color: var(--lav-deep); }
.stat__label { font-size: 0.95rem; color: var(--text); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(154, 143, 192, 0.35), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(63, 154, 140, 0.35), transparent 60%),
    var(--card);
  border: 1px solid var(--line-soft);
  box-shadow: var(--sh-md);
  text-align: center;
}
.cta-band h2 { max-width: 20ch; margin: 0 auto 1rem; }
.cta-band p { max-width: 48ch; margin: 0 auto 2rem; color: var(--ink-2); font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
.cta-band__note { margin-top: 1.4rem; font-size: 0.9rem; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0.2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-sans);
  font-size: 1.12rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
}
.faq-item__q .faq__marker {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint-tint);
  color: var(--mint-deep);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .3s ease, background .3s ease;
}
.faq-item.is-open .faq__marker { transform: rotate(45deg); background: var(--mint-soft); }
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-item__a > div { overflow: hidden; }
.faq-item__a p { padding: 0 0.2rem 1.5rem; color: var(--text); max-width: 68ch; }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }

/* ============================================================
   FORM
   ============================================================ */
.form-card {
  max-width: 560px;
  margin-inline: auto;
  padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 0.5rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--pearl);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 4px var(--mint-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-card__note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: clamp(2rem, 5vw, 4rem);
  background: #20282599;
  background-color: #212a27;
  color: #c8d0cc;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #ffffff22;
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__mark { filter: invert(0.05); }
.footer__desc { margin-top: 1rem; max-width: 34ch; font-size: 0.95rem; color: #9fb0ab; }
.footer__contact { margin-top: 1.4rem; display: grid; gap: 0.5rem; font-size: 0.95rem; }
.footer__contact a { color: #d7e0dc; transition: color .2s ease; }
.footer__contact a:hover { color: var(--mint); }
.footer__col h4 {
  font-family: var(--f-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8ea09a;
  margin-bottom: 1rem;
}
.footer__col ul { display: grid; gap: 0.7rem; }
.footer__col a { font-size: 0.95rem; color: #c8d0cc; transition: color .2s ease; }
.footer__col a:hover { color: var(--mint); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.85rem;
  color: #8ea09a;
}
.footer__bottom a { color: #8ea09a; }
.footer__bottom a:hover { color: var(--mint); }

@media (max-width: 820px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
} img,svg,video{max-width:100%;height:auto} *{box-sizing:border-box} html{-webkit-text-size-adjust:100%} body{margin:0} 