/* Светлая «клиническая» тема: белый, пудрово-розовый акцент, Manrope */
:root {
  --bg: #FFFFFF;
  --ink: #17181A;
  --muted: #64625F;
  --rose: #D9A491;        /* заливки, активные вкладки (с тёмным текстом) */
  --rose-deep: #B5674D;   /* кнопки с белым текстом, ссылки */
  --rose-tint: #FBF3F0;   /* светлые подложки */
  --gray: #F4F3F1;        /* неактивные вкладки, поля */
  --line: #E7E4E0;
  --hero-bg: #F3EFEC;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --w: 1200px;
  --pad: clamp(16px, 4vw, 40px);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--rose-deep); }
button, input { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 120px; }

.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(56px, 7vw, 96px) var(--pad); }
.h2 { font-size: clamp(30px, 3.4vw, 44px); }
.h2 b { font-weight: 800; }
.h2--center { text-align: center; }
.note { font-size: 14px; color: var(--muted); text-align: center; margin-top: 24px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--rose-deep); color: #fff; }
.btn--primary:hover { background: #9E5640; color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--rose-deep); color: var(--rose-deep); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; border-radius: 8px; }
/* стрелка в отдельной секции кнопки, как в примере */
.btn--arrow { padding-right: 0; }
.btn--arrow i {
  display: inline-flex; align-items: center; justify-content: center; align-self: stretch;
  width: 56px; margin-left: 4px; border-left: 1px solid rgba(255,255,255,0.35);
}
.btn--arrow i::before {
  content: ""; width: 12px; height: 12px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg) translate(-2px, 2px);
}

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 46px; height: 46px; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 14px; }
.brand__text small { font-size: 12px; color: var(--muted); }
.topbar__online { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3CB371; box-shadow: 0 0 0 4px rgba(60,179,113,0.18); }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; margin-left: 2px; }
.icon-btn--wa { background: #2FBF5B; }
.icon-btn--tg { background: #2AA4E6; }
.icon-btn:hover { filter: brightness(0.92); }
.topbar__contact { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.topbar__phone { font-weight: 800; font-size: 17px; color: var(--ink); text-decoration: none; }
.topbar__link { font-size: 13px; color: var(--rose-deep); }
.lang { display: flex; gap: 2px; }
.lang button { min-height: 36px; min-width: 38px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; cursor: pointer; }
.lang button:hover { background: var(--gray); color: var(--ink); }
.lang button[aria-current="true"] { background: var(--rose); color: var(--ink); }
.nav { display: flex; justify-content: space-between; gap: 16px; min-height: 52px; align-items: center; border-top: 1px solid var(--line); }
.nav a { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 0; }
.nav a:hover { color: var(--rose-deep); }

/* бургер и мобильное меню */
.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; transition: transform .25s, top .25s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; top: 64px; left: 0; right: 0; z-index: 19; display: flex; flex-direction: column; gap: 10px; padding: 12px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0,0,0,0.12); }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a { display: flex; align-items: center; min-height: 52px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.mobile-menu__phone { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; padding: 8px 0; }

/* ---------- герой ---------- */
.hero { background: var(--hero-bg); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; align-items: center; padding-top: clamp(32px, 4vw, 56px); padding-bottom: 0; }
.hero__text { display: flex; flex-direction: column; gap: 28px; padding-bottom: clamp(40px, 5vw, 72px); }
.hero__title { font-size: clamp(34px, 4.4vw, 60px); font-weight: 400; line-height: 1.12; }
.hero__title b { font-weight: 800; }
.hero__sub { display: flex; align-items: center; gap: 14px; font-size: 20px; line-height: 1.4; }
.dots { display: inline-block; width: 44px; height: 6px; flex-shrink: 0; background: radial-gradient(circle, var(--rose) 2.5px, transparent 3px) 0 0 / 11px 6px repeat-x; }
.hero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__note { display: flex; align-items: flex-start; gap: 10px; max-width: 300px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.hero__note svg { flex-shrink: 0; color: var(--rose-deep); }
.hero__photo { align-self: end; }
.hero__photo img { width: 100%; height: auto; border-radius: 24px 24px 0 0; object-fit: cover; }

/* ---------- вкладки услуг ---------- */
.services { display: flex; flex-direction: column; gap: 36px; }
.tabs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tab { min-height: 56px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--gray); color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s; }
.tab:hover { background: #ECEAE7; }
.tab[aria-selected="true"] { background: var(--rose); }
.tabpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.tabpanel__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--rose-tint); }
.tabpanel__photo img { width: 100%; height: 100%; object-fit: cover; }
.tabpanel__body { display: flex; flex-direction: column; gap: 20px; }
.tabpanel__body h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; }
.tabpanel__desc { color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; font-size: 16px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--rose-tint); }
.checklist li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 6px; height: 11px; border-right: 2px solid var(--rose-deep); border-bottom: 2px solid var(--rose-deep); transform: rotate(45deg); }
.checklist li b { font-weight: 600; }
.checklist li .p { color: var(--muted); font-weight: 500; margin-left: 6px; }
.price-from { display: flex; align-items: baseline; gap: 12px; font-size: 16px; color: var(--muted); }
.price-from b { font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.tabpanel__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- карточки процедур ---------- */
.cards { display: flex; flex-direction: column; gap: 32px; }
.cards__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 380px; padding: 24px; border-radius: var(--radius); overflow: hidden; color: #fff; background: #3a3230; isolation: isolate; }
.card__bg { position: absolute; inset: 0; z-index: -1; }
.card__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .5s; }
.card__bg::after { content: ""; position: absolute; inset: 0; background: rgba(38, 30, 28, 0.62); }
.card:hover .card__bg img { transform: scale(1.06); }
.card__name { font-size: 20px; font-weight: 700; line-height: 1.2; margin-bottom: auto; }
.card__cat { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose); }
.card__desc { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.85); }
.card__price { font-size: 24px; font-weight: 800; }
.card .btn { min-height: 46px; padding: 0 18px; font-size: 14px; background: var(--rose); color: var(--ink); border-radius: 8px; }
.card .btn:hover { background: #fff; }

/* ---------- цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 0; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 28px 32px; border-radius: var(--radius); background: var(--rose-tint); }
.stat__n { font-size: clamp(44px, 5vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.stat__n::after { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--rose); margin-left: 10px; vertical-align: super; }
.stat__l { font-size: 15px; color: var(--muted); }

/* ---------- обо мне ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 18px; }
.about__sub { font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.3; margin-bottom: 8px; }
.about__text p { font-size: 17px; line-height: 1.7; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 8%; border-radius: var(--radius); }

/* ---------- консультация ---------- */
.consult { background: var(--rose-tint); }
.consult__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.consult__text { display: flex; flex-direction: column; gap: 12px; }
.consult__text p { color: var(--muted); font-size: 17px; }
.consult__form { display: flex; flex-direction: column; gap: 18px; padding: 32px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input { min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--gray); font-weight: 500; }
.field input:focus { outline: 2px solid var(--rose); border-color: transparent; background: #fff; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.chips label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--gray); font-size: 14px; font-weight: 600; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips input:checked + span { color: var(--ink); }
.chips label:has(input:checked) { background: var(--rose); }
.chips input:focus-visible + span { outline: 2px solid var(--rose-deep); outline-offset: 6px; border-radius: 4px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 28px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; max-width: 900px; width: 100%; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-size: 17px; font-weight: 600; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; width: 10px; height: 10px; flex-shrink: 0; border-right: 2px solid var(--rose-deep); border-bottom: 2px solid var(--rose-deep); transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item p { padding: 0 22px 20px; color: var(--muted); line-height: 1.65; }
.faq__cta { display: flex; justify-content: center; }

/* ---------- SEO-текст ---------- */
.seo { display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.seo p { color: var(--muted); line-height: 1.7; }
.seo h3 { font-size: 22px; font-weight: 700; margin-top: 8px; }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.contacts__info { display: flex; flex-direction: column; gap: 18px; }
.contacts__info > p { color: var(--muted); font-size: 17px; }
.contacts__list { margin: 8px 0 0; display: flex; flex-direction: column; gap: 18px; }
.contacts__list dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contacts__list dd { margin: 0; font-size: 18px; font-weight: 500; }
.contacts__list dd a:not(.btn) { color: var(--ink); text-decoration: none; }
.contacts__list dd a#link-map { color: var(--rose-deep); text-decoration: underline; font-size: 15px; margin-left: 8px; }
.contacts__msg { display: flex; gap: 10px; flex-wrap: wrap; }
.contacts__map { min-height: 380px; border-radius: var(--radius); overflow: hidden; background: var(--gray); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- плавающие кнопки ---------- */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 15; width: 60px; height: 60px; border-radius: 50%; background: var(--rose-deep); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0,0,0,0.2); transition: transform .2s; }
.fab:hover { transform: scale(1.06); color: #fff; }
.cta-bar { display: none; position: fixed; left: 16px; right: 16px; z-index: 15; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 12px; background: var(--rose-deep); color: #fff; text-decoration: none; font-size: 15px; font-weight: 700; box-shadow: 0 12px 30px rgba(181,103,77,0.35); transform: translateY(calc(100% + 32px)); transition: transform .3s ease; }
.cta-bar.is-shown { transform: none; }

/* ---------- подвал ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--gray); }
.site-footer__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; min-height: 72px; padding-top: 12px; padding-bottom: 12px; font-size: 13px; color: var(--muted); }

/* ---------- появление ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .topbar__online { display: none; }
  .cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 380px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .topbar__contact { display: none; }
  .burger { display: block; }
  .topbar { min-height: 64px; gap: 8px; }
  .brand__text small { display: none; }
  section[id] { scroll-margin-top: 76px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__text { padding-bottom: 0; }
  .hero__photo { max-width: 420px; margin: 0 auto; }
  .tabpanel { grid-template-columns: 1fr; gap: 24px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about__photo { max-width: 440px; }
  .consult__box { grid-template-columns: 1fr; gap: 28px; }
  .contacts { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .stat { flex-direction: row; align-items: center; gap: 20px; padding: 20px 24px; }
  .stat__n { font-size: 40px; min-width: 110px; }
  .fab { display: none; }
  .cta-bar { display: flex; }
  .site-footer__row { justify-content: center; text-align: center; padding-bottom: 96px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .h2 { font-size: 28px; }
  .hero__title { font-size: 32px; }
  .hero__sub { font-size: 17px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__cta .btn { width: 100%; }
  .hero__note { max-width: none; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin: 0 calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; min-height: 48px; padding: 0 18px; font-size: 14px; }
  .price-from b { font-size: 36px; }
  .tabpanel__cta .btn { flex: 1 1 auto; }
  .cards__grid { grid-template-columns: 1fr; }
  .card { min-height: 280px; }
  .consult__form { padding: 20px; }
  .faq__item summary { font-size: 15px; padding: 16px 18px; }
  .faq__item p { padding: 0 18px 16px; }
  .lang button { min-width: 34px; padding: 0 6px; }
}
