/* =========================================================
   Тошич – агентство нянь. Главная страница
   ========================================================= */

:root {
  --navy: #1e2733;
  --navy-2: #27323f;
  --navy-line: rgba(255, 255, 255, .12);
  --gold: #b48a57;
  --gold-2: #c7a072;
  --gold-dark: #9a7444;
  --cream: #f7f3ed;
  --beige: #efe7dc;
  --card: #fffdf9;
  --line: #e7ded1;
  --text: #2b2724;
  --muted: #6f675e;
  --white: #fff;

  --serif-display: "Cormorant Garamond", "Times New Roman", serif;
  --serif: "Lora", Georgia, serif;

  --radius: 4px;
  --shadow: 0 2px 14px rgba(60, 45, 25, .06);
  --shadow-lg: 0 18px 50px rgba(30, 39, 51, .18);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Icons ---------- */
.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--lg { width: 34px; height: 34px; stroke-width: 1.2; }

.icircle {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--gold-2); color: var(--gold);
}
.icircle .ico { width: 24px; height: 24px; }
.icircle--dark { width: 54px; height: 54px; border-color: rgba(199, 160, 114, .55); color: var(--gold-2); }
.icircle--sm { width: 42px; height: 42px; }
.icircle--sm .ico { width: 20px; height: 20px; }
.icircle--fill { background: var(--gold-2); border-color: var(--gold-2); color: #fff; width: 56px; height: 56px; }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -.005em;
}
.h2--center { text-align: center; }
.h3 { font-family: var(--serif-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.muted { color: var(--muted); }
.small-muted { color: var(--muted); font-size: 13px; }
.center { text-align: center; }
.note-center { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }
.lead-center { text-align: center; color: rgba(255,255,255,.75); margin-top: 10px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text);
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
  transition: color .2s;
}
.link-arrow .ico { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover { color: var(--gold-dark); }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 30px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--serif); font-size: 15px; letter-spacing: .01em;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn--gold { background: linear-gradient(180deg, #c29a69, #ab8250); color: #fff; box-shadow: 0 6px 18px rgba(171, 130, 80, .28); }
.btn--gold:hover { background: linear-gradient(180deg, #b48a57, #9a7444); transform: translateY(-1px); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--block { width: 100%; }

/* ---------- Cards / placeholders ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ph {
  position: relative; margin: 0; overflow: hidden;
  background: linear-gradient(135deg, #e9dfd1 0%, #d9cab6 100%);
}
.ph::after {
  content: attr(data-ph);
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 12px/1 var(--serif); color: rgba(80, 60, 40, .45); letter-spacing: .04em;
}
.ph--transparent { background: transparent; }
.ph--transparent::after { color: rgba(150, 120, 90, .5); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph--transparent img { object-fit: contain; }

.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }

.dark { background: var(--navy); color: #fff; }
.dark .h2 { color: #fff; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.header.is-scrolled { background: rgba(30, 39, 51, .96); backdrop-filter: blur(8px); box-shadow: 0 4px 24px rgba(0,0,0,.18); padding: 10px 0; }
/* Пока шапка прозрачная – мягкое затемнение сверху, чтобы текст читался на светлых фото */
.header::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 26, 34, .55) 0%, rgba(20, 26, 34, 0) 100%);
  transition: opacity .3s;
}
.header.is-scrolled::before { opacity: 0; }
.header__inner { display: flex; align-items: center; gap: 48px; }

.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__name { font-family: var(--serif-display); font-size: 30px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.logo__sub { font-size: 9px; letter-spacing: .32em; text-transform: uppercase; margin-top: 4px; opacity: .8; }

.nav { display: flex; gap: 34px; font-size: 14px; }
.nav a { opacity: .9; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold-2); transition: right .25s; }
.nav a:hover { opacity: 1; }
.nav a:hover::after { right: 0; }
.nav__phone-mobile { display: none; }

.header__phone {
  margin-left: auto; display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 500; letter-spacing: .02em; white-space: nowrap;
  padding: 10px 18px; color: #fff;
  background: rgba(24, 31, 41, .72); backdrop-filter: blur(6px);
  border: 1px solid rgba(199, 160, 114, .55); border-radius: var(--radius);
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
  transition: border-color .2s, background .2s;
}
.header__phone .ico { width: 16px; height: 16px; color: var(--gold-2); stroke-width: 1.7; }
.header__phone:hover { border-color: var(--gold-2); background: rgba(24, 31, 41, .9); }

.burger { display: none; margin-left: auto; width: 42px; height: 42px; background: none; border: 0; padding: 10px; }
.burger span { display: block; height: 1.5px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: 640px; display: flex; align-items: center;
  padding: 140px 0 60px;
  background: radial-gradient(ellipse at 75% 40%, #4a4a48 0%, #2a3240 55%, var(--navy) 100%);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(24,31,41,.94) 0%, rgba(24,31,41,.82) 35%, rgba(24,31,41,.25) 65%, rgba(24,31,41,.1) 100%);
}
.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--serif-display); font-weight: 500;
  font-size: clamp(42px, 5.6vw, 68px); line-height: 1; letter-spacing: -.01em;
}
.hero__lead { font-family: var(--serif-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; margin-top: 18px; }
.hero__text { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,.78); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 44px; margin-top: 40px; }
.hero__facts li { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.3; color: rgba(255,255,255,.85); }
.hero__facts .ico { width: 26px; height: 26px; color: var(--gold-2); }

/* =========================================================
   2. PAINS
   ========================================================= */
.pains__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.pain { display: flex; align-items: center; gap: 16px; padding: 22px 20px; transition: transform .25s, box-shadow .25s; }
.pain:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pain p { font-size: 14px; line-height: 1.4; }

/* =========================================================
   3. TYPES
   ========================================================= */
.types__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.type-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.type-card .ph { aspect-ratio: 16 / 9; }
.type-card .ph img { transition: transform .6s; }
.type-card span { display: block; padding: 10px 14px 12px; font-size: 14px; }
.type-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.type-card:hover .ph img { transform: scale(1.05); }

/* =========================================================
   4. WHY
   ========================================================= */
.why { padding: 60px 0 64px; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 48px; margin-top: 40px; }
.why__item { display: flex; gap: 18px; align-items: flex-start; }
.why__item h3 { font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.why__item p { font-size: 13.5px; color: rgba(255,255,255,.62); line-height: 1.45; }

/* =========================================================
   5. CHECKS
   ========================================================= */
.checks { padding: 60px 0 40px; }
.checks__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 26px; align-items: stretch; }
.checks__list li { display: flex; gap: 18px; padding: 10px 0; }
.checks__list li + li { border-top: 1px solid transparent; }
.num {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--beige); color: var(--gold-dark);
  display: grid; place-items: center; font-size: 13px;
}
.checks__list h3 { font-size: 15px; font-weight: 500; }
.checks__list p { font-size: 13.5px; color: var(--muted); }
.checks__img { border-radius: var(--radius); min-height: 300px; }
.checks .small-muted { margin-top: 8px; }

/* =========================================================
   6. FOUNDER
   ========================================================= */
.founder { background: linear-gradient(90deg, var(--cream) 0%, var(--beige) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.founder__inner { display: grid; grid-template-columns: 1.6fr 1fr; align-items: stretch; }
.founder__text { padding: 44px 0; }
.founder__row { display: flex; align-items: center; gap: 28px; margin-top: 20px; flex-wrap: wrap; }
.monogram {
  font-family: var(--serif-display); font-size: 82px; line-height: .9; font-weight: 400;
  color: var(--gold); letter-spacing: -.08em; font-style: italic;
  background: linear-gradient(180deg, #d1ac7d, #9a7444); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-right: 10px;
}
.founder__name strong { display: block; font-family: var(--serif-display); font-size: 26px; font-weight: 500; line-height: 1.1; }
.founder__name span { font-size: 13px; color: var(--muted); }
.founder__about { font-size: 13px; color: var(--muted); padding-left: 28px; border-left: 1px solid var(--line); }
.founder__about .link-arrow { margin-top: 8px; font-size: 13px; }
.founder__img { min-height: 220px; }

/* =========================================================
   7. CASES
   ========================================================= */
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.case { display: grid; grid-template-columns: 42% 1fr; overflow: hidden; }
.case .ph { min-height: 220px; }
.case__body { padding: 16px 16px 18px; font-size: 12.5px; line-height: 1.45; display: flex; flex-direction: column; gap: 8px; }
.case__body h3 { font-size: 14px; font-weight: 500; line-height: 1.3; }
.case__body p { color: var(--muted); }
.case__body b { color: var(--text); font-weight: 500; }
.case__body .link-arrow { margin-top: auto; font-size: 13px; align-self: flex-start; }

/* =========================================================
   8. STEPS
   ========================================================= */
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.step { display: flex; gap: 18px; align-items: center; padding: 22px; transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.step__num {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(180deg, #c7a072, #a87f4e); color: #fff;
  display: grid; place-items: center; font-family: var(--serif-display); font-size: 24px;
}
.step h3 { font-size: 14.5px; font-weight: 500; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* =========================================================
   9. ORGANIZATION
   ========================================================= */
.org { background: var(--card); border-top: 1px solid var(--line); }
.org__inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 34% 1fr; }
.org__img { min-height: 300px; }
.org__content { padding: 40px 32px 40px 40px; }
.org__row { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin-top: 24px; }
.checklist li { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-size: 14px; }
.checklist b { font-weight: 500; }
.checkmark { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-2); color: #fff; display: grid; place-items: center; }
.checkmark .ico { width: 14px; height: 14px; stroke-width: 2; }
.flow { display: flex; align-items: flex-start; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.flow__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.flow__item small { font-size: 11px; color: var(--muted); line-height: 1.25; }
.flow__arrow { width: 16px; height: 16px; color: var(--gold); margin-top: 13px; }

/* =========================================================
   10. PRICE WHY
   ========================================================= */
.price-why { padding: 56px 0; }
.pw__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin-top: 40px; }
.pw__item { display: flex; gap: 18px; }
.pw__item .ico { color: var(--gold-2); }
.pw__item h3 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.pw__item p { font-size: 13.5px; color: rgba(255,255,255,.62); }
.pw__note { text-align: center; margin-top: 40px; font-size: 14px; color: rgba(255,255,255,.85); }

/* =========================================================
   11. COMPARE
   ========================================================= */
.table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.ctable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.ctable th, .ctable td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.ctable tbody tr:last-child td { border-bottom: 0; }
.ctable th { font-weight: 500; font-size: 13px; background: var(--beige); }
.ctable th:nth-child(2) { text-align: center; }
.ctable td:first-child { font-weight: 500; }
.ctable td:nth-child(2) { color: var(--muted); }
.ctable th.ctable__ours { background: var(--gold); color: #fff; text-align: center; }
.ctable td:nth-child(3) { background: #faf5ee; }

/* =========================================================
   12. TARIFFS
   ========================================================= */
.tariffs { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tariffs__inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 36%; }
.tariffs__content { padding: 44px 32px 32px; }
.tariffs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0 16px; }
.tariff {
  padding: 22px 22px 22px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--cream); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.tariff:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tariff__name { font-family: var(--serif-display); font-size: 28px; line-height: 1; }
.tariff__price { font-family: var(--serif-display); font-size: 34px; color: var(--gold); margin: 6px 0 14px; line-height: 1; }
.tariff__list { margin-bottom: 20px; flex: 1; }
.tariff__list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 3px 0; }
.tariff__list .ico { width: 15px; height: 15px; color: var(--gold); stroke-width: 2; }
.tariff--vip {
  background: var(--navy); color: #fff; border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px var(--navy), 0 0 0 5px rgba(180,138,87,.6), var(--shadow-lg);
}
.tariff--vip .tariff__price { color: var(--gold-2); }
.tariff--vip .tariff__list .ico { color: var(--gold-2); }
.tariffs__img { min-height: 320px; }

/* =========================================================
   13 / 19. ACCORDIONS
   ========================================================= */
.payfaq__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; align-items: start; }
.acc { padding: 0; }
.acc summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 52px 18px 20px; font-size: 14px; font-weight: 500;
}
.acc summary::-webkit-details-marker { display: none; }
.acc__icon { position: absolute; right: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 1px solid var(--line); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; height: 1px; background: var(--text); transition: transform .25s; }
.acc__icon::after { transform: rotate(90deg); }
.acc[open] .acc__icon::after { transform: rotate(0); }
.acc p { padding: 0 20px 18px; font-size: 13.5px; color: var(--muted); }

/* =========================================================
   14. GUARANTEE
   ========================================================= */
.guarantee__inner { display: grid; grid-template-columns: 40% 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.guarantee__img { min-height: 220px; }
.guarantee__text { padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.guarantee__text > p { font-size: 14px; color: var(--muted); }
.guarantee__badges { display: flex; gap: 14px; flex-wrap: wrap; }
.gbadge { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; background: var(--cream); }
.gbadge small { display: block; color: var(--muted); font-size: 12px; }
.gbadge__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--beige); color: var(--gold-dark); }
.gbadge__icon--txt { background: var(--gold-2); color: #fff; font-size: 11px; }
.guarantee .link-arrow { align-self: flex-start; }

/* =========================================================
   15. FAMILY FIT
   ========================================================= */
.fit { padding-bottom: 40px; background: linear-gradient(180deg, var(--card) 0%, var(--cream) 100%); border-top: 1px solid var(--line); }
.fit__inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 34% 1fr; }
.fit__img { min-height: 260px; }
.fit__content { padding: 44px 40px; }
.fit__content p { margin-top: 14px; font-size: 14px; }
.fit__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -60px; position: relative; z-index: 2; }
.fit-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fbf7f1; }
.fit-card h3 { font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.fit-card p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* =========================================================
   16. DECISION
   ========================================================= */
.decision__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.dcard { padding: 10px 10px 18px; transition: transform .3s, box-shadow .3s; }
.dcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.dcard .ph { aspect-ratio: 16 / 10; border-radius: 2px; margin-bottom: 14px; }
.dcard h3 { font-size: 15px; font-weight: 500; padding: 0 6px; }
.dcard p { font-size: 13px; color: var(--muted); padding: 2px 6px 0; }

/* =========================================================
   17. REVIEWS
   ========================================================= */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.review { display: grid; grid-template-columns: 42% 1fr; overflow: hidden; }
.review__photo { min-height: 200px; }
.review__body { padding: 16px 16px 18px; }
.review__body small { font-size: 11px; color: var(--muted); }
.review__body h3 { font-family: var(--serif-display); font-size: 22px; font-weight: 500; margin: 4px 0 6px; }
.review__body p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* =========================================================
   18. LEAD MAGNET
   ========================================================= */
.leadmag { background: linear-gradient(90deg, var(--beige), var(--cream)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.leadmag__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.leadmag__img { aspect-ratio: 16 / 11; }
.leadmag__lead { font-size: 15px; margin-top: 10px; }
.leadmag__text .muted { font-size: 14px; margin: 6px 0 20px; }
.privacy-note { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 12px; color: var(--muted); max-width: 360px; }
.privacy-note .ico { width: 18px; height: 18px; }

/* =========================================================
   19. FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; align-items: start; }
.faq__col { display: flex; flex-direction: column; gap: 12px; }

/* =========================================================
   20. CTA
   ========================================================= */
.cta { padding: 56px 0 50px; position: relative; overflow: hidden; }
.cta__row { display: grid; grid-template-columns: 1.5fr .9fr .7fr; gap: 36px; align-items: center; margin-top: 30px; }
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.lead-form__fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form select {
  width: 100%; height: 46px; padding: 0 14px;
  font: 14px var(--serif); color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.lead-form select {
  color: var(--muted);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b48a57' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px;
}
.lead-form select.is-filled { color: var(--text); }
.lead-form input:focus, .lead-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180,138,87,.18); }
.lead-form .is-invalid { border-color: #c0573f !important; }
.agree { display: flex; gap: 10px; align-items: center; font-size: 12px; color: rgba(255,255,255,.7); cursor: pointer; }
.agree input { accent-color: var(--gold); width: 16px; height: 16px; margin: 0; }
.agree a { text-decoration: underline; }
.agree.is-invalid span { color: #e59a85; }
.form-msg { font-size: 13px; min-height: 0; }
.form-msg.ok { color: #a9d3a0; }
.form-msg.err { color: #f0a08c; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.cta__contacts { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.cta__contacts a { display: flex; gap: 12px; align-items: center; }
.cta__contacts a:hover { color: var(--gold-2); }
.cta__contacts .ico { color: var(--gold-2); }
.cta__img { aspect-ratio: 1 / 1; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--card); padding: 44px 0 24px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.logo--dark { color: var(--text); align-items: flex-start; }
.logo--dark .logo__name { font-size: 34px; }
.footer__brand p { margin-top: 30px; font-size: 13px; color: var(--muted); }
.footer__col { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.footer__col h4 { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.footer__col a { color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: var(--gold-dark); }
.footer__bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* =========================================================
   MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20, 26, 34, .7); backdrop-filter: blur(3px); }
.modal__box {
  position: relative; width: 100%; max-width: 440px; background: var(--card);
  border-radius: 6px; padding: 40px 36px 32px; box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  transform: translateY(16px); transition: transform .3s;
}
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 30px; line-height: 1; color: var(--muted); }
.modal__close:hover { color: var(--text); }
.modal__title { font-family: var(--serif-display); font-size: 30px; font-weight: 500; line-height: 1.1; }
.modal__box > .muted { font-size: 14px; margin: 10px 0 20px; }
.lead-form--modal .agree { color: var(--muted); }
.lead-form--modal .form-msg.ok { color: #4f7f46; }
.lead-form--modal .form-msg.err { color: #b24a33; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .8s ease, translate .8s ease, transform .3s, box-shadow .3s; }
.reveal.is-visible { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; transition: none; }
  * { transition: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .header__inner { gap: 28px; }
  .nav { gap: 22px; }
  .cases__grid { grid-template-columns: 1fr 1fr; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .cta__row { grid-template-columns: 1.5fr 1fr; }
  .cta__img { display: none; }
  .org__row { grid-template-columns: 1fr; }
  .flow { justify-self: start; }
}

@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 44px 0; }

  .burger { display: block; }
  .header__phone { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
    flex-direction: column; gap: 4px; padding: 90px 28px 28px;
    background: var(--navy); font-size: 18px;
    transform: translateX(100%); transition: transform .35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.3);
  }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--navy-line); }
  .nav a::after { display: none; }
  .nav.is-open { transform: none; }
  .nav__phone-mobile { display: block; color: var(--gold-2); }
  .burger { position: relative; z-index: 2; }

  .hero { min-height: 600px; padding: 120px 0 48px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(24,31,41,.55) 0%, rgba(24,31,41,.9) 70%); }
  .hero__facts { gap: 24px; }

  .pains__grid { grid-template-columns: 1fr 1fr; }
  .types__grid { grid-template-columns: 1fr 1fr; }
  .why__grid, .pw__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .checks__wrap { grid-template-columns: 1fr; }
  .founder__inner { grid-template-columns: 1fr; }
  .founder__img { margin: 0 -20px; min-height: 280px; }
  .steps__grid { grid-template-columns: 1fr 1fr; }
  .org__inner, .tariffs__inner, .fit__inner { grid-template-columns: 1fr; }
  .org__img, .fit__img { min-height: 260px; }
  .org__content, .tariffs__content, .fit__content { padding: 36px 20px; }
  .tariffs__img { min-height: 260px; order: -1; }
  .payfaq__grid { grid-template-columns: 1fr; }
  .guarantee__inner { grid-template-columns: 1fr; }
  .fit__cards { grid-template-columns: 1fr; margin-top: 0; }
  .decision__grid { grid-template-columns: 1fr 1fr; }
  .leadmag__inner { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__col { gap: 12px; }
  .cta__row { grid-template-columns: 1fr; }
  .lead-form__fields { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .hero__title br, .hero__lead br, .hero__text br { display: none; }
  .hero__btns .btn { width: 100%; }
  .pains__grid, .types__grid, .why__grid, .pw__grid, .steps__grid,
  .cases__grid, .reviews__grid, .decision__grid, .tariffs__grid { grid-template-columns: 1fr; }
  .case, .review { grid-template-columns: 1fr; }
  .case .ph, .review__photo { min-height: 200px; }
  .founder__about { padding-left: 0; border-left: 0; }
  .flow { flex-wrap: wrap; }
  .modal__box { padding: 36px 22px 26px; }
}

/* =========================================================
   Фото (подключены 14.10.2026)
   ========================================================= */
.ph--initial { background: linear-gradient(160deg, #f1e8db 0%, #e3d3bd 100%); }
.ph--initial::after {
  font: italic 500 72px/1 var(--serif-display);
  color: var(--gold); letter-spacing: 0;
}

.leadmag__img { border-radius: 6px; box-shadow: var(--shadow-lg); }

.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right 40%; }
.cta__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,39,51,.97) 0%, rgba(30,39,51,.9) 45%, rgba(30,39,51,.35) 75%, rgba(30,39,51,.15) 100%);
}
.cta__inner { position: relative; z-index: 1; }
.cta__inner .h2--center, .cta__inner .lead-center { text-align: left; }
.cta__row { grid-template-columns: minmax(0, 1fr); max-width: 620px; gap: 24px; }
.cta__contacts { flex-direction: row; flex-wrap: wrap; gap: 14px 32px; }

@media (max-width: 900px) {
  .hero__bg img { object-position: 64% center; }
  .cta__bg::after { background: linear-gradient(180deg, rgba(30,39,51,.92) 0%, rgba(30,39,51,.95) 100%); }
  .cta__row { grid-template-columns: 1fr; }
  .review__photo { min-height: 140px; }
}
