/* =========================================================
   Психолог Михайло Шлапацький — основні стилі
   ========================================================= */

:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #1d2230;
  --text: #3a4150;
  --muted: #6b7280;
  --line: #e4e1da;
  --accent: #5b86d6;
  --accent-dark: #34558f;
  --accent-soft: #eaf0fb;
  --grad: linear-gradient(90deg, #6b95e0 0%, #3d5f9e 100%);
  --grad-footer: linear-gradient(120deg, #6690e3 0%, #8a7ddc 100%);
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 18px 50px rgba(40, 60, 100, .10);
  --shadow-sm: 0 6px 22px rgba(40, 60, 100, .08);
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
ul { padding-left: 1.2em; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 500; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 500; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--white { background: var(--surface); }
.section--tint { background: linear-gradient(180deg, #f3f5fa 0%, var(--bg) 100%); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Section title (like reference: bold + regular + line) ---------- */
.section-title {
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 400;
  color: var(--accent-dark);
  padding-bottom: 18px;
  margin-bottom: 40px;
  border-bottom: 3px solid var(--accent);
}
.section-title b { font-weight: 700; }
.section-title--left { text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 34px;
  border: 0; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; line-height: 1.2;
  box-shadow: 0 10px 24px rgba(61, 95, 158, .28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(61, 95, 158, .34); filter: brightness(1.05); }
.btn--outline {
  background: transparent; color: var(--accent); box-shadow: none;
  border: 2px solid var(--accent); min-height: 46px; padding: 8px 26px; font-size: .98rem;
}
.btn--outline:hover { background: var(--accent); color: #fff; box-shadow: none; }
.btn--light { background: #fff; color: var(--accent-dark); box-shadow: var(--shadow-sm); }
.btn--light:hover { color: var(--accent-dark); }
.btn--block { width: 100%; }

.link-more { font-weight: 700; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link-more::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .2s; }
.link-more:hover::after { transform: translateX(4px); }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(30, 40, 70, .07); border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo__mark { width: 46px; height: 46px; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(52, 85, 143, .25)); }
.logo__text { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; }
.logo__name { font-weight: 700; font-size: 1.08rem; color: var(--ink); letter-spacing: .01em; }
.logo__top { font-weight: 600; font-size: .74rem; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; }
.logo:hover .logo__name { color: var(--accent-dark); }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.nav__link { color: var(--ink); text-decoration: none; font-size: 1rem; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--accent); }
.nav__item--drop { position: relative; }
.nav__link .chev { width: 10px; height: 10px; transition: transform .2s; }
.dropdown {
  list-style: none; margin: 0; padding: 12px 0;
  position: absolute; top: 100%; left: -18px; min-width: 250px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease;
}
.dropdown a { display: block; padding: 9px 22px; color: var(--ink); text-decoration: none; }
.dropdown a:hover { color: var(--accent); background: var(--accent-soft); }
.nav__item--drop:hover .dropdown,
.nav__item--drop:focus-within .dropdown,
.nav__item--drop.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__item--drop.is-open .chev { transform: rotate(180deg); }

.header__contacts { display: flex; flex-direction: column; gap: 2px; font-size: .95rem; }
.header__contacts a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.header__contacts a:hover { color: var(--accent); }
.header__contacts svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.header__cta { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.header__cta .link-call { font-size: .9rem; color: var(--ink); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.header__cta .link-call:hover { color: var(--accent); }

.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: var(--accent-soft); border-radius: 12px; position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 12px; width: 22px; height: 2px; background: var(--accent-dark); border-radius: 2px; transition: .25s; content: "";
}
.burger span { top: 22px; }
.burger span::before { top: -7px; left: 0; }
.burger span::after { top: 7px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-contacts { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 20%, #e9eef8 0%, transparent 60%),
    radial-gradient(900px 500px at 0% 100%, #efeae2 0%, transparent 60%),
    var(--bg);
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px;
  padding-top: clamp(40px, 6vh, 72px); padding-bottom: clamp(56px, 8vh, 96px);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: .85rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 22px;
}
.hero__eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 { font-size: clamp(2.3rem, 4vw, 3.5rem); line-height: 1.12; margin-bottom: 24px; }
.hero__h1-top {
  display: block; margin-bottom: 10px;
  font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: .78em; line-height: 1.1;
  color: var(--accent-dark);
}
.hero__lead { font-size: 1.2rem; color: var(--text); max-width: 34em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.btn--ghost svg { width: 20px; height: 20px; color: #2aabee; }
.btn--ghost:hover { color: var(--ink); box-shadow: var(--shadow); }
.hero__facts { list-style: none; margin: 0; padding: 26px 0 0; display: flex; gap: 0; border-top: 1px solid var(--line); max-width: 520px; }
.hero__facts li { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 0 20px; border-left: 1px solid var(--line); }
.hero__facts li:first-child { padding-left: 0; border-left: 0; }
.hero__facts b { font-size: 1.2rem; color: var(--ink); white-space: nowrap; }
.hero__facts span { font-size: .88rem; color: var(--muted); }

.hero__visual { position: relative; justify-self: center; width: 100%; max-width: 470px; }
.hero__visual::before {
  content: ""; position: absolute; z-index: 0; inset: 7% -9% -5% 10%;
  border-radius: 240px 240px 40px 40px;
  background: linear-gradient(160deg, #dfe8f8 0%, #efe8dc 100%);
}
.hero__visual::after {
  content: ""; position: absolute; z-index: 0; inset: -4% 8% 10% -7%;
  border-radius: 240px 240px 40px 40px; border: 1.5px solid rgba(91, 134, 214, .35);
}
.hero__photo { position: relative; z-index: 1; border-radius: 240px 240px 36px 36px; overflow: hidden; box-shadow: 0 30px 60px rgba(40, 55, 90, .18); aspect-ratio: 4 / 5; background: #eee; }
.hero__photo picture, .hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero__badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .95); border-radius: 18px; padding: 12px 18px 12px 12px;
  box-shadow: 0 14px 34px rgba(40, 55, 90, .16); font-size: .88rem; line-height: 1.3; color: var(--muted);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__badge b { color: var(--ink); font-size: .95rem; }
.hero__badge--top { top: 12%; left: -14%; }
.hero__badge--bottom { bottom: 10%; right: -10%; padding-left: 16px; }
.hero__badge-icon .logo__mark { width: 40px; height: 40px; }
.hero__dot { width: 12px; height: 12px; border-radius: 50%; background: #3cb371; box-shadow: 0 0 0 5px rgba(60, 179, 113, .18); flex-shrink: 0; }

/* =========================================================
   Therapy steps
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { position: relative; }
.step__icon { display: block; width: 52px; height: 52px; color: var(--accent); margin-bottom: 18px; }
.step__icon svg { width: 100%; height: 100%; }
.step__bar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.step__bar::before { content: ""; width: 24px; height: 10px; border-radius: 6px; background: var(--grad); }
.step__bar::after { content: ""; flex: 1; height: 2px; background: #e6ecf6; }
.step h3 { color: var(--accent); font-size: 1.08rem; margin-bottom: 12px; }
.step p { font-size: .96rem; margin: 0; }

/* =========================================================
   Services cards
   ========================================================= */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.service-card {
  position: relative; overflow: hidden; display: block; color: #fff; text-decoration: none;
  border-radius: 0 var(--radius) 0 var(--radius);
  aspect-ratio: 4 / 3.4; background: #ddd; box-shadow: var(--shadow);
}
.service-card:nth-child(2) { border-radius: var(--radius) 0 var(--radius) 0; }
.service-card picture, .service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s ease; }
.service-card:hover img { transform: scale(1.04); }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15, 20, 35, .82) 100%); }
.service-card__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 28px 30px; }
.service-card h3 { color: #fff; font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; margin: 0 0 8px; }
.service-card__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .98rem; opacity: .95; }
.service-card__meta b { font-weight: 700; }
.service-card:hover { color: #fff; }

/* =========================================================
   Intro (photo + text)
   ========================================================= */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.split--reverse { grid-template-columns: 1.1fr .9fr; }
.split__photo { position: relative; }
.split__photo::before { content: ""; position: absolute; inset: 8% -4% -4% 8%; border: 1px solid var(--line); border-radius: 50%; z-index: 0; }
.split__photo img { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 6px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 12px; transform: rotate(45deg); border-radius: 3px; background: var(--grad); }
.check-list b { color: var(--ink); font-weight: 600; }
.arrow-list { list-style: none; padding: 0; margin: 0 0 1em; }
.arrow-list li { position: relative; padding-left: 20px; margin-bottom: 4px; }
.arrow-list li::before { content: "▸"; position: absolute; left: 0; color: var(--ink); }
.sub-title { color: var(--accent-dark); font-weight: 400; padding-bottom: 10px; border-bottom: 3px solid var(--accent); display: inline-block; margin-top: 18px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.quote { font-style: italic; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 16px; }

/* =========================================================
   Requests grid
   ========================================================= */
.requests { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 24px; list-style: none; margin: 0; padding: 0; }
.request { text-align: center; }
.request__icon {
  width: 132px; height: 132px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #ffffff 0%, #e6edf9 100%);
  box-shadow: var(--shadow-sm); color: var(--accent-dark); transition: transform .3s;
}
.request:hover .request__icon { transform: translateY(-4px); }
.request__icon svg { width: 52px; height: 52px; }
.request p { margin: 0; font-size: 1rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; align-items: start; }
.faq details { background: #fff; border-radius: 40px; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.faq details[open] { border-radius: 28px; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 24px 22px 24px 34px; font-size: 1.02rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "↓"; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: 1.05rem; transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq__answer { padding: 0 34px 26px; }
.faq__answer p:last-child { margin: 0; }

/* =========================================================
   Articles
   ========================================================= */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.article-card { display: flex; flex-direction: column; }
.article-card__img {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 20px; display: grid; place-items: center;
  color: #fff; text-decoration: none; position: relative;
}
.article-card__img { background: #e9e6e0; box-shadow: var(--shadow-sm); }
.article-card__img picture, .article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.article-card:hover .article-card__img img { transform: scale(1.05); }
.cover-1 { background: linear-gradient(135deg, #7f9ee0 0%, #c7a6d8 100%); }
.cover-2 { background: linear-gradient(135deg, #5b7fb8 0%, #9fb9d9 100%); }
.cover-3 { background: linear-gradient(135deg, #b39676 0%, #e3cfb3 100%); }
.cover-4 { background: linear-gradient(135deg, #6f8f84 0%, #b9cfc5 100%); }
.cover-ph { width: 100%; height: 100%; display: grid; place-items: center; }
.cover-ph svg { width: 76px; height: 76px; transition: transform .4s; }
.article-card:hover .cover-ph svg { transform: scale(1.08); }
.article-card h3, .article-card h2 { font-size: 1.08rem; font-weight: 600; margin-bottom: 10px; }
.article-card h3 a, .article-card h2 a { color: var(--ink); text-decoration: none; }
.article-card h3 a:hover { color: var(--accent); }
.article-card p { font-size: .95rem; color: var(--muted); }
.article-card .link-more { margin-top: auto; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* =========================================================
   Lead form section
   ========================================================= */
.lead { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 90% 20%, #e9eef8 0%, transparent 60%), var(--bg); padding-top: 60px; }
.lead__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: end; }
.lead__photo { position: relative; align-self: end; }
.lead__photo img { max-height: 640px; width: auto; margin: 0 auto; border-radius: 300px 300px 0 0; }
.lead__note { position: absolute; top: 10px; left: 0; z-index: 2; font-family: var(--font-head); font-style: italic; font-size: 1.3rem; color: var(--ink); line-height: 1.3; background: rgba(255,255,255,.85); padding: 12px 18px; border-radius: 16px; }
.lead__content { padding-bottom: 80px; }
.lead__content h2 { font-family: var(--font-body); font-weight: 400; }
.lead__content h2 b { display: block; font-weight: 700; }

.form { max-width: 460px; display: grid; gap: 16px; }
.form__field { position: relative; }
.form input, .form textarea, .form select {
  width: 100%; min-height: 58px; padding: 16px 26px; border-radius: 999px; border: 1px solid transparent;
  background: #fff; font: inherit; font-size: 1rem; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.form select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27%3E%3Cpath d=%27m2 4 4 4 4-4%27 fill=%27none%27 stroke=%27%235b86d6%27 stroke-width=%271.8%27/%3E%3C/svg%3E") no-repeat right 24px center / 14px; padding-right: 54px; cursor: pointer; }
.form textarea { border-radius: 24px; min-height: 100px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91, 134, 214, .18); }
.form input[aria-invalid="true"] { border-color: #d24b4b; }
.form__consent { font-size: .82rem; color: var(--muted); line-height: 1.45; margin: 0; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-size: .95rem; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #1f8a4c; }
.form__status.is-error { color: #c23b3b; }
.form__alt { font-size: .92rem; color: var(--muted); margin: 4px 0 0; }
.form__alt a { font-weight: 600; }
.form .btn[disabled] { opacity: .7; cursor: wait; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero { background: radial-gradient(1000px 500px at 85% 0%, #e9eef8 0%, transparent 60%), var(--bg); padding: 50px 0 70px; }
.breadcrumbs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .95rem; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "➤"; font-size: .8em; color: var(--ink); }
.breadcrumbs a { color: var(--ink); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--accent); }
.page-hero--center { text-align: center; }
.page-hero--center .breadcrumbs { justify-content: center; }

.about-hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.about-hero__photo { position: sticky; top: calc(var(--header-h) + 24px); }
.about-hero__photo img { border-radius: 260px 260px var(--radius) var(--radius); box-shadow: var(--shadow); }
.about-text h2 { font-size: 1.5rem; color: var(--accent-dark); margin-top: 1.6em; }
.about-text .lines p { margin: 0; }
.about-text .lines { margin-bottom: 1em; }
.signature { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--ink); font-weight: 600; }
.signature span { display: block; color: var(--muted); }

/* Prices */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.price-card {
  position: relative; overflow: hidden; background: #fff; border-radius: 60px; box-shadow: var(--shadow);
  padding: 44px 44px; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center;
}
.price-card::after { content: ""; position: absolute; right: -60px; top: 50%; width: 220px; height: 220px; transform: translateY(-50%); border: 1px solid #f0f0f0; border-radius: 50%; }
.price-card__time { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.price-card__time svg { width: 20px; height: 20px; }
.price-card h2, .price-card h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; margin: 0; }
.price-card p { margin: 4px 0 0; font-size: .95rem; color: var(--muted); }
.price-card__value { font-size: 1.6rem; color: var(--accent); white-space: nowrap; position: relative; z-index: 1; }
.price-card .btn { grid-column: 1 / -1; justify-self: start; margin-top: 22px; }

.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.two-col__aside { position: relative; font-family: var(--font-head); font-size: clamp(3rem, 8vw, 7rem); line-height: 1; color: rgba(40, 50, 80, .05); text-transform: uppercase; overflow: hidden; }

/* Service page */
.service-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.service-hero img { border-radius: var(--radius); box-shadow: var(--shadow); }
.facts { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 30px; padding: 0; list-style: none; }
.facts li { background: #fff; border-radius: 999px; padding: 10px 20px; box-shadow: var(--shadow-sm); font-size: .95rem; }
.facts b { color: var(--accent-dark); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.info-card { background: #fff; border-radius: var(--radius-sm); padding: 30px; box-shadow: var(--shadow-sm); }
.info-card h3 { color: var(--accent-dark); }
.info-card p:last-child { margin: 0; }
.num-list { list-style: none; counter-reset: n; padding: 0; margin: 0; display: grid; gap: 18px; }
.num-list li { counter-increment: n; position: relative; padding: 22px 24px 22px 80px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.num-list li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 24px; top: 20px; font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--accent); }

/* Blog */
.article { max-width: 780px; margin: 0 auto; }
.article__meta { color: var(--muted); font-size: .95rem; margin-bottom: 30px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.article__cover { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #e9e6e0; box-shadow: var(--shadow); }
.article__cover picture, .article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font-size: 1.6rem; margin-top: 1.6em; color: var(--accent-dark); }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { margin: 0 0 1.2em; }
.article li { margin-bottom: 6px; }
.article blockquote { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 22px 26px; margin: 30px 0; color: var(--ink); border-left: 4px solid var(--accent); }
.note {
  background: var(--accent-soft); border-radius: var(--radius-sm); padding: 22px 26px; margin: 30px 0; color: var(--ink);
}
.note p:last-child { margin: 0; }
.author-box { display: flex; gap: 22px; align-items: center; background: #fff; border-radius: var(--radius-sm); padding: 24px; box-shadow: var(--shadow-sm); margin-top: 50px; }
.author-box img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex-shrink: 0; }
.author-box p { margin: 0; }

/* Contacts page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--accent); }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow); background: #e8e8e8; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--grad-footer); color: #fff; padding: 70px 0 30px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .btn--light, .footer .btn--light:hover { color: var(--accent-dark); text-decoration: none; }
.footer .socials a:hover { text-decoration: none; }
.footer__grid { display: grid; grid-template-columns: 1.1fr .8fr 1.2fr; gap: 40px; }
.footer .logo__top, .footer .logo__name { color: #fff; }
.footer h2 { color: #fff; font-family: var(--font-body); font-size: 1.35rem; font-weight: 700; margin: 0 0 24px; padding-bottom: 12px; position: relative; }
.footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: rgba(255,255,255,.7); border-radius: 2px; }
.footer__menu { list-style: none; padding: 0 0 0 18px; margin: 0; display: grid; gap: 14px; font-size: 1.05rem; }
.footer__contacts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.footer__contacts li { display: flex; gap: 14px; align-items: flex-start; }
.footer__contacts svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; }
.footer__about { margin-top: 26px; font-size: .95rem; opacity: .92; max-width: 320px; }
.socials { display: flex; gap: 14px; margin-top: 26px; }
.socials a { width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.22); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: rgba(255,255,255,.38); }
.socials svg { width: 24px; height: 24px; }
.footer__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; opacity: .9; }

/* =========================================================
   Floating: to-top & telegram
   ========================================================= */
.to-top {
  position: fixed; right: 22px; bottom: 100px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--grad); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.tg-float {
  position: fixed; right: 18px; bottom: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #2aabee; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(42, 171, 238, .45);
  transition: transform .2s;
}
.tg-float:hover { transform: scale(1.07); color: #fff; }
.tg-float svg { width: 28px; height: 28px; }

/* =========================================================
   Modal
   ========================================================= */
.modal { border: 0; padding: 0; border-radius: var(--radius); width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); box-shadow: 0 30px 80px rgba(20, 30, 60, .3); background: var(--bg); color: var(--text); }
.modal::backdrop { background: rgba(20, 28, 45, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal__inner { padding: 44px 36px 36px; position: relative; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; font-size: 1.5rem; line-height: 1; color: var(--ink); box-shadow: var(--shadow-sm); }
.modal h2 { font-family: var(--font-body); font-size: 1.6rem; font-weight: 400; }
.modal h2 b { display: block; font-weight: 700; }
.modal .form { max-width: none; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1300px) {
  .header__contacts { display: none; }
  .nav__list { gap: 20px; }
}

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .requests { grid-template-columns: repeat(2, 1fr); }
  .articles { grid-template-columns: 1fr 1fr; }
  .articles .article-card:nth-child(3) { display: none; }
  .blog-list .article-card:nth-child(3) { display: flex; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .burger { display: block; }
  .header__cta { display: none; }
  .logo__mark { width: 40px; height: 40px; }
  .logo__name { font-size: 1rem; }
  .logo__top { font-size: .72rem; }

  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: #fff;
    padding: 24px 24px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s ease;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 1.15rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 12px 14px; display: none; min-width: 0; }
  .nav__item--drop.is-open .dropdown { display: block; }
  .nav__item--drop:hover .dropdown { opacity: 1; }
  .mobile-contacts { display: grid; gap: 14px; margin-top: 28px; }
  .mobile-contacts a:not(.btn) { color: var(--ink); text-decoration: none; display: flex; gap: 10px; align-items: center; font-size: 1.05rem; }
  .mobile-contacts svg { width: 20px; height: 20px; color: var(--accent); }

  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-top: 32px; padding-bottom: 56px; }
  .hero__content { text-align: center; }
  .hero__eyebrow { justify-content: center; }
  .hero__lead { font-size: 1.08rem; margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; margin-bottom: 32px; }
  .hero__facts { margin: 0 auto; }
  .hero__facts li { align-items: center; padding: 0 10px; }
  .hero__visual { max-width: 380px; }
  .hero__badge--top { left: -8%; top: 46%; }
  .hero__badge--bottom { right: -6%; }

  .split, .split--reverse, .service-hero, .about-hero, .lead__inner, .contact-grid, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__photo { order: -1; }
  .split__photo { max-width: 460px; margin: 0 auto; }
  .about-hero__photo { position: static; max-width: 420px; margin: 0 auto; }
  .two-col__aside { display: none; }
  .lead__photo { order: 2; }
  .lead__photo img { max-height: 460px; }
  .lead__content { padding-bottom: 0; }
  .lead__note { font-size: 1.1rem; }
  .form { max-width: none; }

  .services, .prices { grid-template-columns: 1fr; gap: 24px; }
  .faq { grid-template-columns: 1fr; gap: 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .section-title { margin-bottom: 30px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; }
  .step__icon { grid-row: span 3; margin: 0; }
  .step__bar { display: none; }
  .requests { gap: 26px 14px; }
  .request__icon { width: 104px; height: 104px; }
  .request__icon svg { width: 42px; height: 42px; }
  .request p { font-size: .93rem; }
  .articles, .cards-3 { grid-template-columns: 1fr; }
  .articles .article-card:nth-child(3) { display: flex; }
  .service-card { aspect-ratio: 4 / 4.2; }
  .service-card__body { padding: 22px; }
  .faq summary { padding: 18px 16px 18px 24px; }
  .faq__answer { padding: 0 24px 22px; }
  .price-card { border-radius: 36px; padding: 32px 26px; grid-template-columns: 1fr; }
  .price-card__value { font-size: 1.5rem; }
  .price-card .btn { width: 100%; }
  .btn { width: 100%; padding: 14px 22px; }
  .hero .btn, .lead .btn, .modal .btn { width: 100%; }
  .hero__facts b { font-size: 1.05rem; white-space: normal; }
  .hero__facts span { font-size: .8rem; }
  .hero__badge { font-size: .8rem; padding: 10px 14px 10px 10px; }
  .hero__badge-icon .logo__mark { width: 32px; height: 32px; }
  .hero__badge--top { left: -4%; top: 50%; }
  .hero__badge--bottom { right: -3%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__menu { padding-left: 0; }
  .modal__inner { padding: 50px 22px 26px; }
  .num-list li { padding: 20px 18px 20px 66px; }
  .num-list li::before { left: 16px; }
  .author-box { flex-direction: column; text-align: center; }
  .to-top { right: 16px; bottom: 92px; width: 44px; height: 44px; }
  .tg-float { right: 14px; bottom: 18px; width: 54px; height: 54px; }
}
