/* Dermaclinic — вариант B «Точность» */
:root {
  --teal: #0b2f33;
  --teal-2: #124349;
  --teal-dark: #051d20;
  --sage: #7fb6b3;
  --mint: #9fcfcb;
  --gold: #c5a880;
  --gold-text: #8a6d45;
  --cream: #f9f8f5;
  --sand: #f0ece3;
  --ink: #141b1d;
  --text: #33464a;
  --muted: #44575a;
  --light: #f5f5f7;
  --light-2: #d3e2e3;
  --light-3: #b0c4c7;
  --line: rgba(11, 47, 51, 0.15);
  --sans: 'Geologica', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 136px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--light); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: 19px; border: 0; cursor: pointer; white-space: nowrap;
  transition: background-color .3s ease, color .3s ease, transform .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-mint { background: var(--mint); color: var(--teal-dark); }
.btn-mint:hover { background: var(--light); color: var(--teal-dark); }
.btn-outline { border: 1px solid var(--mint); color: var(--light); min-height: 48px; padding: 0 24px; font-size: 18px; }
.btn-outline:hover { background: var(--light); color: var(--teal); }
.btn-dark { background: var(--teal); color: var(--light); }
.btn-dark:hover { background: var(--teal-2); color: var(--light); }
.btn-block { width: 100%; min-height: 62px; font-size: 20px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--teal); color: var(--light);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { background: rgba(11, 47, 51, 0.96); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); backdrop-filter: blur(8px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--light); }
.brand img { width: 46px; height: auto; }
.brand span { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: .03em; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.main-nav > a:not(.btn) {
  color: var(--mint); text-decoration: none; font-family: var(--mono); font-size: 15px;
  text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; position: relative; padding: 6px 0;
}
.main-nav > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.main-nav > a:not(.btn):hover { color: var(--light); }
.main-nav > a:not(.btn):hover::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid rgba(159, 207, 203, .4); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--light); transition: transform .3s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 132px 0 auto 0; max-height: calc(100vh - 132px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--teal); padding: 8px var(--gutter) 28px;
    border-top: 1px solid rgba(159, 207, 203, .2);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s ease, transform .3s var(--ease), visibility .3s;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .main-nav > a:not(.btn) { padding: 16px 0; font-size: 18px; border-bottom: 1px solid rgba(159, 207, 203, .15); }
  .main-nav > a:not(.btn)::after { display: none; }
  .nav-book { margin-top: 20px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--teal); color: var(--light); overflow: hidden; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 48px; padding-bottom: 96px; }
.hero-text { flex: 999 1 min(520px, 100%); min-width: 0; }
.hero h1 { font-weight: 300; font-size: clamp(42px, 6vw, 76px); line-height: 1.04; letter-spacing: -.035em; }
.accent { color: var(--mint); }
.hero-lead { margin-top: 32px; max-width: 560px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: var(--light-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; align-items: center; }
.hero-phone { color: var(--light); text-decoration: none; font-size: 19px; padding: 12px 8px; }
.hero-phone:hover { color: var(--mint); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 40px; margin: 64px 0 0; font-family: var(--mono); font-size: 16px; color: var(--light-2); }
.hero-facts dt { font-family: var(--sans); font-size: 40px; font-weight: 300; color: var(--light); line-height: 1.2; }
.hero-facts dd { margin: 0; }
.hero-visual { flex: 1 1 min(400px, 100%); min-width: 0; display: flex; justify-content: center; }
.lens { position: relative; width: 520px; max-width: 100%; aspect-ratio: 1 / 1; }
.lens svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lens > img { position: absolute; left: 32%; top: 28.6%; width: 36%; }
.lens-label { position: absolute; font-family: var(--mono); font-size: 14px; }
.lens-label-top { top: 6%; right: 2%; color: var(--mint); }
.lens-label-bottom { bottom: 6%; left: 0; color: var(--light-3); }

.spin { transform-origin: 260px 260px; animation: spin 90s linear infinite; }
.spin-r { transform-origin: 260px 260px; animation: spin 140s linear infinite reverse; }
.scan { transform-origin: 260px 260px; animation: spin 6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.breathe { animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .9; transform: scale(1); } 50% { opacity: 1; transform: scale(1.025); } }
.blink { animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.in { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; }
.i1 { animation-delay: .1s; } .i2 { animation-delay: .25s; } .i3 { animation-delay: .4s; } .i4 { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--teal); color: var(--light); }
.eyebrow { margin-bottom: 16px; font-family: var(--mono); font-size: 15px; letter-spacing: .08em; color: var(--muted); }
.eyebrow-light { color: var(--mint); }
.h2 { font-weight: 300; font-size: clamp(38px, 4.6vw, 58px); letter-spacing: -.03em; line-height: 1.08; color: var(--teal); }
.section-dark .h2 { color: var(--light); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.head-text { max-width: 460px; font-size: 20px; color: var(--text); }
.mono-note { font-family: var(--mono); font-size: 15px; color: var(--muted); }
.mono-light { color: var(--mint); font-size: 14px; }
.lead-muted { margin-top: 16px; font-size: 21px; color: var(--text); }
.lead-light { font-size: 21px; color: var(--light-2); }
.table-note { margin-top: 20px; font-size: 16px; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 2px solid var(--teal); }
.steps li { padding: 28px 28px 8px; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.step-num { font-family: var(--mono); font-size: 16px; color: var(--gold-text); }
.steps h3 { margin-top: 14px; font-size: 27px; font-weight: 500; color: var(--teal); }
.steps p { margin-top: 10px; font-size: 20px; line-height: 1.55; color: var(--text); }
@media (max-width: 600px) { .steps li { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; } }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 14px; padding: 32px; min-height: 270px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--cream);
  text-decoration: none; color: var(--ink); text-align: left; cursor: pointer;
  transition: border-color .4s ease, background-color .4s ease, transform .5s var(--ease), box-shadow .5s ease;
}
.card:hover { border-color: var(--teal); background: #fff; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 47, 51, .08); }
.card-code { font-family: var(--mono); font-size: 15px; color: var(--muted); }
.card-title { font-size: clamp(24px, 2.1vw, 29px); font-weight: 500; line-height: 1.25; color: var(--teal); }
.card-text { font-size: 20px; line-height: 1.55; color: var(--text); }
.card-bar { margin-top: auto; height: 2px; background: var(--teal); transform-origin: left; transform: scaleX(.12); transition: transform .6s var(--ease); }
.card:hover .card-bar { transform: scaleX(1); }
.section:not(.section-sand) .card { background: var(--cream); }
.cards-grid-blog .card { min-height: 360px; padding: 36px; }
.post-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.post-icon { width: 64px; height: 64px; }

/* Split layout */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split-aside { flex: 1 1 min(300px, 100%); }
.split-main { flex: 2 1 min(600px, 100%); min-width: 0; }

/* Price table */
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-size: clamp(18px, 1.5vw, 21px); }
.price-table th { padding: 0 0 12px; font-family: var(--mono); font-size: 14px; font-weight: 400; color: var(--muted); text-align: left; }
.price-table th:last-child, .price-table td:last-child { text-align: right; }
.price-table td { padding: 20px 16px 20px 0; border-top: 1px solid var(--line); }
.price-table tr:last-child td { border-bottom: 1px solid var(--line); }
.price-table td:nth-child(2) { font-family: var(--mono); font-size: 18px; color: var(--muted); white-space: nowrap; }
.price-table td:last-child { padding-right: 0; font-family: var(--mono); font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; color: var(--teal); white-space: nowrap; }
.price-table tbody tr { transition: background-color .3s ease; }
.price-table tbody tr:hover { background: var(--sand); }

/* Before / after */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.ba-card { background: var(--cream); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; touch-action: pan-y; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { background: #d9d2c4; }
.ba-before { background: #c9c0ae; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-placeholder { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 14px; color: var(--muted); }
.ba-after .ba-placeholder { right: 24px; }
.ba-before .ba-placeholder { left: 24px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--cream); pointer-events: none; }
.ba-handle::after {
  content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--cream); color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}
.ba-tag { position: absolute; top: 16px; padding: 4px 12px; border-radius: 999px; font-family: var(--mono); font-size: 13px; pointer-events: none; }
.ba-tag-before { left: 16px; background: var(--teal); color: var(--light); }
.ba-tag-after { right: 16px; background: var(--mint); color: var(--teal-dark); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:focus-within .ba-handle::after { outline: 2px solid var(--teal); outline-offset: 2px; }
.ba-caption { padding: 28px 32px; }
.ba-caption h3 { font-size: 27px; font-weight: 500; color: var(--teal); }
.ba-caption p { margin-top: 8px; font-size: 19px; color: var(--text); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.doc { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .5s var(--ease), box-shadow .5s ease; }
.doc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 47, 51, .1); }
.doc-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #e4ded2; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.doc:hover .doc-photo img { transform: scale(1.04); }
.doc-photo-empty { display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-size: 17px; color: var(--muted); }
.doc-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.doc-exp { font-family: var(--mono); font-size: 14px; color: var(--gold-text); }
.doc h3 { font-size: 26px; font-weight: 500; line-height: 1.2; color: var(--teal); }
.doc p { font-size: 18px; color: var(--text); }
.doc-link { margin-top: auto; padding-top: 12px; font-size: 18px; font-weight: 500; }

/* Booking */
.book-aside { display: flex; flex-direction: column; gap: 24px; }
.book-phone { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.book-phone a { font-size: 32px; color: var(--light); text-decoration: none; }
.book-phone a:hover { color: var(--mint); }
.book-form { flex: 1.3 1 min(520px, 100%); display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; flex-wrap: wrap; gap: 20px; }
.form-row > label { flex: 1 1 220px; min-width: 0; }
.book-form label { display: flex; flex-direction: column; gap: 10px; font-size: 17px; color: var(--light-2); }
.book-form input, .book-form select, .book-form textarea {
  width: 100%; min-width: 0; min-height: 58px; padding: 0 20px; border-radius: 14px;
  border: 1px solid rgba(159, 207, 203, .35); background: var(--teal-2); color: var(--light); font-size: 19px;
  transition: border-color .3s ease;
}
.book-form select { padding: 0 16px; }
.book-form textarea { padding: 16px 20px; resize: vertical; }
.book-form input::placeholder, .book-form textarea::placeholder { color: #8fa9ac; }
.book-form input:hover, .book-form select:hover, .book-form textarea:hover { border-color: var(--mint); }
.book-form [aria-invalid="true"] { border-color: #f0a58f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.6em; font-size: 18px; color: var(--mint); }
.form-status.is-error { color: #f6c2b3; }
.form-status a { color: var(--light); }
.form-note { font-size: 15px; color: var(--light-3); }

/* FAQ */
.faq-list { border-top: 2px solid var(--teal); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; color: var(--teal);
  transition: color .3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-2); }
.faq-icon { position: relative; flex: 0 0 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s ease, transform .4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--teal); transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq-item[open] .faq-icon { background: var(--teal); }
.faq-item[open] .faq-icon::before { background: var(--light); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); background: var(--light); }
.faq-answer { padding: 0 56px 28px 0; font-size: 19px; line-height: 1.65; color: var(--text); }
.faq-item[open] .faq-answer { animation: rise .5s var(--ease); }
@media (max-width: 600px) { .faq-answer { padding-right: 0; } }

/* Footer */
.site-footer { background: var(--teal-dark); color: var(--light-2); padding: 96px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 56px; justify-content: space-between; }
.footer-brand { flex: 1 1 min(320px, 100%); display: flex; flex-direction: column; gap: 20px; }
.footer-brand .brand img { width: 52px; }
.footer-brand p { font-size: 19px; max-width: 380px; }
.live-status { font-family: var(--mono); font-size: 15px; color: var(--mint); }
.live-status.is-closed { color: var(--light-3); }
.socials { display: flex; gap: 12px; }
.socials a { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(159, 207, 203, .4); display: flex; align-items: center; justify-content: center; color: var(--mint); transition: background-color .3s ease, color .3s ease; }
.socials a:hover { background: var(--mint); color: var(--teal-dark); }
.socials svg { width: 22px; height: 22px; }
.footer-cols { flex: 2 1 min(640px, 100%); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.footer-cols a { color: var(--light-2); }
.footer-cols a:hover { color: var(--light); }
.f-strong { font-size: 19px; color: var(--light); }
.footer-cols .f-phone { font-size: 22px; color: var(--light); text-decoration: none; }
.map { margin-top: 56px; height: 320px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(159, 207, 203, .25); background: var(--teal); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(159, 207, 203, .2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--light-3); }

/* Article modal */
.article-modal { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 24px; background: var(--cream); color: var(--ink); }
.article-modal::backdrop { background: rgba(5, 29, 32, .7); backdrop-filter: blur(4px); }
.article-modal[open] { animation: rise .5s var(--ease); }
.article-inner { position: relative; padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.article-inner h2 { font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; color: var(--teal); padding-right: 40px; }
.article-body { font-size: 19px; line-height: 1.65; color: var(--text); }
.article-body h4 { margin: 24px 0 8px; font-size: 22px; font-weight: 500; color: var(--teal); }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 12px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-inner .btn { align-self: flex-start; margin-top: 8px; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 26px; line-height: 1; cursor: pointer; color: var(--teal); }

/* Scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spin, .spin-r, .scan, .breathe, .blink { animation: none; }
  .in { animation: none; opacity: 1; transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Основные услуги (главная) ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.svc { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .5s var(--ease), box-shadow .5s ease; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 47, 51, .1); }
.svc-visual { position: relative; height: 210px; background: radial-gradient(circle at 50% 55%, var(--teal-2) 0%, var(--teal) 70%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.svc-visual svg { width: 82%; max-width: 300px; height: auto; }
.svc-photo { background: var(--teal); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-photo img { transform: scale(1.05); }
.svc-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-body h3 { font-size: 26px; font-weight: 500; line-height: 1.2; color: var(--teal); }
.svc-body p { font-size: 18px; color: var(--text); }
.svc-price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.svc-price .mono-note { font-size: 13px; }
.svc-price strong { font-family: var(--mono); font-size: 20px; font-weight: 500; color: var(--teal); }
.svc-price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.svc-link { font-size: 18px; font-weight: 500; }
.svc-all { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.btn-wide { min-height: 60px; padding: 0 36px; font-size: 20px; }

/* Анимации иллюстраций */
.ill-dot { animation: twinkle 2.4s ease-in-out infinite; }
.ill-dot.d2 { animation-delay: .8s; } .ill-dot.d3 { animation-delay: 1.6s; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.ill-scope { transform-origin: 104px 74px; animation: scope 6s ease-in-out infinite; }
@keyframes scope { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(10px, 4px); } }
.ill-drop { animation: drip 2.2s ease-in infinite; }
.ill-drop.d2 { animation-delay: 1.1s; }
@keyframes drip { 0% { transform: translateY(-6px); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(40px); opacity: 0; } }
.ill-beam { animation: beam 1.6s ease-in-out infinite; }
@keyframes beam { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.ill-frac circle { animation: twinkle 1.6s ease-in-out infinite; }
.ill-frac circle:nth-child(2n) { animation-delay: .5s; } .ill-frac circle:nth-child(3n) { animation-delay: 1s; }
.ill-sweep { animation: sweep 5s cubic-bezier(.65, 0, .35, 1) infinite alternate; }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(140px); } }
.ill-hit { opacity: 0; animation: hit 4.5s ease infinite; }
.ill-hit.d2 { animation-delay: 1.5s; } .ill-hit.d3 { animation-delay: 3s; }
@keyframes hit { 0%, 100% { opacity: 0; } 15%, 60% { opacity: .9; } }

/* ---------- Страница прайса ---------- */
.prices-hero { background: var(--teal); color: var(--light); padding: 40px 0 72px; }
.prices-hero h1 { margin-top: 24px; font-weight: 300; font-size: clamp(42px, 6vw, 72px); letter-spacing: -.035em; line-height: 1.05; }
.back-link { color: var(--mint); text-decoration: none; font-family: var(--mono); font-size: 15px; }
.back-link:hover { color: var(--light); }
.price-search { position: relative; display: block; max-width: 640px; margin-top: 36px; }
.price-search svg { position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: var(--mint); pointer-events: none; }
.price-search input { width: 100%; min-height: 62px; padding: 0 20px 0 56px; border-radius: 999px; border: 1px solid rgba(159, 207, 203, .4); background: var(--teal-2); color: var(--light); font-size: 19px; }
.price-search input::placeholder { color: #8fa9ac; }
.price-nav { position: sticky; top: 132px; z-index: 40; background: rgba(249, 248, 245, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.price-nav-row { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.price-nav-row::-webkit-scrollbar { display: none; }
.price-nav a { flex: 0 0 auto; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 16px; color: var(--teal); white-space: nowrap; transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.price-nav a:hover { border-color: var(--teal); }
.price-nav a.is-active { background: var(--teal); color: var(--light); border-color: var(--teal); }
.prices-body { padding-top: 24px; padding-bottom: 96px; }
.page-prices { scroll-padding-top: 210px; }
html:has(.page-prices) { scroll-padding-top: 210px; }
.price-sec { padding-top: 56px; }
.price-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--teal); }
.price-sec-head h2 { font-weight: 300; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.02em; color: var(--teal); }
.price-group { margin: 28px 0 4px; font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-text); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: background-color .25s ease; }
.price-list li:hover { background: var(--sand); }
.pl-name { flex: 1 1 auto; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink); }
.pl-price { flex: 0 0 auto; font-family: var(--mono); font-size: clamp(16px, 1.4vw, 19px); font-weight: 500; color: var(--teal); text-align: right; white-space: nowrap; }
@media (max-width: 560px) { .price-list li { flex-direction: column; gap: 4px; } .pl-price { text-align: left; } }
.price-empty { margin-top: 40px; font-size: 20px; color: var(--text); }
.price-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.site-footer-compact { padding-top: 72px; }
.main-nav a[aria-current="page"] { color: var(--light); }

@media (prefers-reduced-motion: reduce) {
  .ill-dot, .ill-scope, .ill-drop, .ill-beam, .ill-frac circle, .ill-sweep, .ill-hit { animation: none; }
  .ill-hit { opacity: .9; }
}

/* ---------- Переключатель языка ---------- */
.i18n-wait body { visibility: hidden; }
.topbar { background: var(--teal-dark); border-bottom: 1px solid rgba(159, 207, 203, .12); }
.topbar-row { display: flex; align-items: center; gap: 24px; min-height: 40px; font-family: var(--mono); font-size: 14px; color: var(--light-3); }
.topbar-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--light-2); text-decoration: none; white-space: nowrap; }
.topbar-phone:hover { color: var(--light); }
.topbar-phone svg { width: 16px; height: 16px; color: var(--mint); }
.topbar .lang-switch { margin-left: auto; }
@media (max-width: 600px) { .topbar-hours { display: none; } }
@media (max-width: 440px) { .topbar-row { gap: 8px; font-size: 13px; } .lang-switch span { display: none; } .lang-switch button { padding: 0 8px; } }
.lang-switch { display: flex; gap: 2px; flex: 0 0 auto; }
.lang-switch button {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 10px;
  border: 0; border-radius: 999px; background: none; color: var(--mint); cursor: pointer;
  font-family: var(--mono); font-size: 14px; letter-spacing: .04em;
  transition: background-color .3s ease, color .3s ease;
}
.lang-switch button:hover { color: var(--light); background: rgba(159, 207, 203, .12); }
.lang-switch button[aria-pressed="true"] { background: var(--mint); color: var(--teal-dark); }
.flag { width: 22px; height: 15px; border-radius: 3px; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
@media (max-width: 380px) { .brand span { font-size: 20px; } }

/* ---------- Страница статьи ---------- */
.article-narrow { max-width: 860px; }
.article-hero { background: var(--teal); color: var(--light); padding: 40px 0 64px; }
.article-meta { margin-top: 28px; }
.article-hero h1 { margin-top: 14px; font-weight: 300; font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.03em; line-height: 1.08; }
.article-content { padding-top: 48px; padding-bottom: 96px; }
.article-cover { margin: 0 0 40px; border-radius: 20px; overflow: hidden; }
.article-cover img { width: 100%; height: auto; }
.article-page .article-body { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; color: var(--text); }
.article-page .article-body h2 { margin: 40px 0 12px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; color: var(--teal); }
.article-page .article-body h3 { margin: 32px 0 10px; font-size: 23px; font-weight: 500; color: var(--teal); }
.article-page .article-body p, .article-page .article-body ul, .article-page .article-body ol { margin: 0 0 16px; }
.article-page .article-body li { margin-bottom: 10px; }
.article-page .article-body img { margin: 24px 0; border-radius: 16px; }
.article-page .article-body strong { color: var(--ink); font-weight: 600; }
.article-cta { margin-top: 56px; padding: 32px; border-radius: 20px; background: var(--sand); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; font-size: 20px; color: var(--text); }
.post-cover { margin: -36px -36px 4px; height: 180px; overflow: hidden; border-radius: 16px 16px 0 0; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.faq-answer a { color: var(--teal); }
.pl-desc { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.ba-layer img { position: absolute; inset: 0; }
.ba-meta { margin-top: 6px; font-family: var(--mono); font-size: 15px; color: var(--gold-text); }
.ba-doctor { margin-top: 10px; font-size: 16px; color: var(--muted); }
