/* VEEDENTA – main stylesheet. Mobile-first. Tokens from the VEEDENTA design system. */

:root {
	--bg-base: #ffffff;
	--bg-soft: #ecf1f7;
	--bg-tint: #e8f0fe;
	--ink: #111111;
	--ink-muted: #5b6472;
	--line: #dce3ec;
	--line-strong: #7a8494;
	--blue-600: #1767e0;
	--blue-700: #155fd6;
	--blue-500: #1f79fb;
	--on-blue: #ffffff;
	--focus: #1767e0;
	--star: #f5a524;
	--success: #1a7f4b;
	--danger: #c4262e;
	--radius-sm: 10px;
	--radius-md: 14px;
	--radius-lg: 20px;
	--radius-xl: 28px;
	--shadow-card: 0 1px 2px rgba(17, 17, 17, .04), 0 8px 24px rgba(23, 103, 224, .06);
	--shadow-float: 0 12px 32px rgba(17, 17, 17, .12);
	--gutter: 16px;
	--section: 48px;
	--header-h: 60px;
	--font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (min-width: 900px) {
	:root { --gutter: 24px; --section: 80px; --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg-base); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
@media (min-width: 900px) { body { font-size: 17px; } }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--blue-600); color: var(--on-blue); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 8px; color: var(--on-blue); }
main:focus { outline: none; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 848px; }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) / 2) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 16px; margin-bottom: 24px; }
@media (min-width: 900px) { .section-head { margin-bottom: 32px; } }
.section-more { margin: 20px 0 0; font-weight: 500; }
.eyebrow { margin: 0 0 10px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.h2 { font-size: 24px; line-height: 30px; }
.h3 { font-size: 20px; line-height: 26px; }
@media (min-width: 900px) {
	.eyebrow { font-size: 13px; }
	.h2 { font-size: 36px; line-height: 44px; }
	.h3 { font-size: 22px; line-height: 28px; }
}
.lead-text { font-size: 17px; line-height: 1.55; color: var(--ink-muted); max-width: 640px; margin: 12px 0 0; }
@media (min-width: 900px) { .lead-text { font-size: 20px; } }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 1.5; }
.more { font-weight: 500; white-space: nowrap; }
.accent { color: var(--blue-600); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-md); border: 1px solid transparent; font: 500 16px/24px var(--font); text-align: center; text-decoration: none; transition: background-color .15s, border-color .15s; }
@media (min-width: 900px) { .btn { min-height: 52px; padding: 0 24px; } }
.btn-primary { background: var(--blue-600); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-700); color: var(--on-blue); }
.btn-secondary { background: var(--bg-base); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { color: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); }
.icon-btn:hover { background: var(--bg-soft); }
.round-arrow { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--bg-tint); color: var(--blue-600); transition: background-color .15s, color .15s; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.logo { display: flex; flex-direction: column; color: var(--ink); margin-right: auto; }
.logo:hover { color: var(--ink); }
.logo-name { font-size: 20px; line-height: 22px; font-weight: 600; letter-spacing: .02em; }
.logo-tag { font-size: 10px; line-height: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.main-nav { display: none; }
.header-tools { display: flex; align-items: center; gap: 4px; }
.header-phone { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--blue-600); }
.header-phone span, .header-book, .header-tools [data-search-toggle], .header-tools [data-vision-toggle] { display: none; }
@media (min-width: 1100px) {
	.logo { margin-right: 0; }
	.logo-name { font-size: 24px; line-height: 26px; }
	.logo-tag { font-size: 11px; }
	.main-nav { display: block; flex: 1; }
	.main-nav > ul { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; }
	.main-nav > ul > li > a { color: var(--ink); padding: 26px 0; }
	.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-expanded="true"] { color: var(--blue-600); }
	.header-phone { display: inline-flex; width: auto; gap: 8px; color: var(--ink); font-weight: 600; font-size: 15px; margin: 0 8px; }
	.header-phone .ico { color: var(--blue-600); }
	.header-phone span, .header-book, .header-tools [data-search-toggle], .header-tools [data-vision-toggle] { display: inline-flex; }
	.burger { display: none; }
}
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-base); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-float); padding: 28px 0 32px; display: none; }
.has-mega.is-open .mega, .has-mega:focus-within .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
.mega-col { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.mega-col a { color: var(--ink-muted); }
.mega-col a:hover { color: var(--blue-600); }
.mega-col .mega-head { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.search-bar { border-top: 1px solid var(--line); padding: 12px 0; background: var(--bg-base); }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: rgba(17, 17, 17, .4); }
.mobile-menu-inner { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--bg-base); overflow-y: auto; padding: 8px var(--gutter) 32px; display: flex; flex-direction: column; gap: 16px; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav > a, .m-group summary { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 500; }
.m-group summary { list-style: none; cursor: pointer; justify-content: space-between; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary::after { content: "+"; color: var(--blue-600); font-size: 22px; }
.m-group[open] summary::after { content: "−"; }
.m-group a { display: flex; align-items: center; min-height: 44px; padding-left: 12px; color: var(--ink-muted); }
.m-contacts { display: flex; flex-direction: column; gap: 6px; color: var(--ink-muted); font-size: 15px; }
.m-contacts > a { font-size: 20px; font-weight: 600; color: var(--ink); }
.m-vision { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--bg-base); font-weight: 500; }

/* ---------- Forms ---------- */
input[type=text], input[type=tel], input[type=email], input[type=search], select, textarea {
	width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg-base); color: var(--ink); font: 400 16px/22px var(--font);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; }
.channels { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
.channels legend { width: 100%; margin-bottom: 6px; }
.channels label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 400; }
.channels input, .consent input { width: 20px; height: 20px; accent-color: var(--blue-600); flex: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-muted); }
.consent input { margin-top: 1px; }
.hp { position: absolute !important; left: -9999px; }
.form-msg { margin: 0; font-size: 15px; }
.form-msg.ok { color: var(--success); }
.form-msg.err { color: var(--danger); }
.lead-form [aria-invalid="true"] { border-color: var(--danger); }

/* ---------- Cards and grids ---------- */
.card { background: var(--bg-base); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
	.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 599px) {
	.scroll-x { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
	.scroll-x::-webkit-scrollbar { display: none; }
	.scroll-x > * { flex: 0 0 auto; width: min(78%, 300px); scroll-snap-align: start; }
	.scroll-x > .doc-card { width: 160px; }
}

.svc-card { display: flex; flex-direction: column; background: var(--bg-base); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); transition: border-color .15s; }
.svc-card:hover { color: var(--ink); border-color: var(--blue-600); }
.svc-card:hover .round-arrow { background: var(--blue-600); color: var(--on-blue); }
.svc-media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--bg-soft), var(--bg-tint)); overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 14px 16px 16px; }
.svc-title { font-size: 17px; line-height: 22px; }
.svc-price { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-muted); }
@media (min-width: 900px) { .svc-title { font-size: 18px; line-height: 24px; } .svc-body { padding: 18px 20px 20px; } }

.doc-card { display: flex; flex-direction: column; color: var(--ink); }
.doc-card:hover { color: var(--ink); }
.doc-card:hover .doc-name { color: var(--blue-600); }
.doc-photo { aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc-name { margin-top: 12px; font-size: 16px; line-height: 21px; font-weight: 600; }
.doc-role { margin-top: 4px; font-size: 14px; line-height: 20px; }
.doc-exp { font-size: 14px; line-height: 20px; color: var(--ink-muted); }

.review { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.review h3 { font-size: 17px; }
.review-text { font-size: 15px; line-height: 1.6; }
.review-text p:last-child { margin: 0; }
.review-author { margin: auto 0 0; font-size: 14px; color: var(--ink-muted); }
@media (min-width: 900px) { .review { padding: 28px; } }

.ratings { display: flex; flex-wrap: wrap; gap: 8px; }
.rating-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg-base); border-radius: var(--radius-md); box-shadow: var(--shadow-card); color: var(--ink); font-size: 14px; }
.rating-chip b { font-size: 18px; }
.rating-chip:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-soft) 100%); padding: 20px 0 32px; }
.hero-grid { display: flex; flex-direction: column-reverse; gap: 20px; }
.hero h1 { font-size: 32px; line-height: 38px; letter-spacing: -.02em; }
.hero-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-tint); aspect-ratio: 4 / 3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-rating { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg-base); border-radius: var(--radius-md); box-shadow: var(--shadow-float); color: var(--ink); }
.hero-rating:hover { color: var(--ink); }
.hero-rating b { font-size: 24px; line-height: 1; }
.hero-rating > span { display: flex; flex-direction: column; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.stars { color: var(--star); letter-spacing: 2px; }
.hero-award { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--bg-base); border-radius: 999px; font-size: 13px; font-weight: 500; }
.hero-award .ico { color: var(--blue-600); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .ico { color: var(--blue-600); }
.hero .btn-row .btn { flex: 1 1 100%; }
@media (min-width: 600px) { .hero .btn-row .btn { flex: 0 0 auto; } }
@media (min-width: 900px) {
	.hero { padding: 56px 0 72px; }
	.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
	.hero h1 { font-size: 56px; line-height: 60px; }
	.hero-media { aspect-ratio: auto; height: 540px; }
	.hero-rating { left: 20px; bottom: 24px; padding: 16px 20px; }
	.hero-rating b { font-size: 32px; }
	.hero-rating > span { font-size: 14px; line-height: 20px; }
	.hero-award { right: 20px; top: 20px; font-size: 14px; }
}

.trust { background: var(--bg-soft); padding-bottom: var(--section); }
.trust-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; margin: 0; padding: 20px; list-style: none; }
.trust-row li { display: flex; flex-direction: column; gap: 2px; }
.trust-row b { font-size: 26px; line-height: 32px; font-weight: 600; }
.trust-row span { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
@media (min-width: 900px) {
	.trust-row { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 28px 8px; }
	.trust-row b { font-size: 36px; line-height: 44px; }
	.trust-row span { font-size: 14px; }
}

/* Offers */
.offer { display: grid; grid-template-columns: 110px minmax(0, 1fr); background: var(--bg-soft); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); }
.offer:hover { color: var(--ink); }
.offer-media { background: var(--bg-tint); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; }
.offer-body { display: flex; flex-direction: column; gap: 6px; padding: 18px; }
.badge { align-self: flex-start; background: var(--blue-600); color: var(--on-blue); font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; }
.offer-price { font-size: 22px; line-height: 28px; font-weight: 600; }
.offer-text { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.offer .more { color: var(--blue-600); margin-top: auto; }
@media (min-width: 900px) { .offer { grid-template-columns: 200px minmax(0, 1fr); } .offer-body { padding: 28px; } .offer-price { font-size: 28px; line-height: 34px; } .offer-text { font-size: 15px; } }

/* About */
.about-grid { display: flex; flex-direction: column; gap: 24px; }
.about-media { border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-tint); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-text .content { margin: 16px 0 24px; }
@media (min-width: 900px) { .about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; } .about-media { height: 460px; } }

/* FAQ */
.faq-grid { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) { .faq-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; } }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg-base); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0 16px; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 16px; line-height: 22px; font-weight: 500; letter-spacing: 0; }
.faq-plus { flex: none; color: var(--blue-600); transition: transform .2s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-a { padding: 0 0 16px; color: var(--ink-muted); font-size: 15px; }
.faq-a p:last-child { margin: 0; }
@media (min-width: 900px) { .faq-item { padding: 0 20px; } .faq-item summary { min-height: 60px; } .faq-item summary h3 { font-size: 17px; } .faq-a { font-size: 16px; } }

/* NOK banner */
.nok { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); }
.nok span { color: var(--blue-600); font-size: 15px; }
.nok:hover { color: var(--ink); border-color: var(--blue-600); }

/* Contacts */
.contacts-grid { display: flex; flex-direction: column; gap: 16px; }
.contacts-card { padding: 22px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ico { flex: none; color: var(--blue-600); margin-top: 3px; }
.contact-list small { display: block; font-size: 14px; color: var(--ink-muted); }
.contact-list a { color: var(--ink); font-weight: 500; }
.route-note { font-size: 15px; color: var(--ink-muted); }
.messengers { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.messengers a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); color: var(--ink); font-size: 15px; font-weight: 500; }
.messengers a:hover { border-color: var(--ink); color: var(--ink); }
.map { position: relative; min-height: 280px; border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-tint); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade { position: absolute; inset: 0; width: 100%; border: 0; background: radial-gradient(circle at 50% 45%, var(--bg-base) 0, var(--bg-tint) 60%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.map-pin { background: var(--blue-600); color: var(--on-blue); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.map-hint { color: var(--blue-600); font-weight: 500; }
@media (min-width: 900px) { .contacts-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; } .contacts-card { padding: 40px; } .map { min-height: 460px; } }

/* Booking */
.booking { background: var(--bg-soft); }
.booking-grid { display: flex; flex-direction: column; gap: 24px; }
.form-card { padding: 20px; }
@media (min-width: 900px) { .booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 64px; align-items: start; } .form-card { padding: 32px; } }

/* ---------- Inner pages ---------- */
.page-head { padding: 20px 0 28px; background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-soft) 100%); }
.page-head h1 { font-size: 28px; line-height: 34px; letter-spacing: -.015em; }
.page-head-compact { padding: 16px 0 0; background: var(--bg-soft); }
@media (min-width: 900px) { .page-head { padding: 32px 0 48px; } .page-head h1 { font-size: 44px; line-height: 52px; } }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 13px; color: var(--ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--ink-muted); }
.crumbs a:hover { color: var(--blue-600); }

.service-head-grid { display: flex; flex-direction: column; gap: 20px; }
.service-media { border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-tint); aspect-ratio: 4 / 3; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-cta { margin-top: 20px; }
.price-from { margin: 0; font-size: 15px; color: var(--ink-muted); }
.price-from b { font-size: 24px; color: var(--ink); font-weight: 600; }
.service-cta .btn-row { margin-top: 12px; }
@media (min-width: 900px) { .service-head-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; } .service-media { aspect-ratio: auto; height: 400px; } }

.content { font-size: inherit; }
.content h2 { font-size: 22px; line-height: 28px; margin: 1.6em 0 .6em; }
.content h3 { font-size: 18px; line-height: 24px; margin: 1.4em 0 .5em; }
.content h2:first-child, .content h3:first-child { margin-top: 0; }
.content ul, .content ol { padding-left: 1.3em; margin: 0 0 1em; }
.content li { margin: .3em 0; }
.content img { border-radius: var(--radius-lg); }
.content table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; }
.content th, .content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.content blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--blue-600); color: var(--ink-muted); }
@media (min-width: 900px) { .content h2 { font-size: 28px; line-height: 36px; } .content h3 { font-size: 21px; line-height: 28px; } }
.note { padding: 14px 16px; background: var(--bg-soft); border-radius: var(--radius-md); font-size: 15px; }

.table-wrap { overflow-x: auto; margin: 16px 0; background: var(--bg-base); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table th { padding: 12px 16px; text-align: left; font-size: 13px; font-weight: 500; color: var(--ink-muted); border-bottom: 1px solid var(--line); }
.price-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .num { text-align: right; white-space: nowrap; font-weight: 600; }
.price-table .code { font-size: 13px; color: var(--ink-muted); white-space: nowrap; }
.price-note { display: block; font-size: 13px; color: var(--ink-muted); }
.prices-layout { display: flex; flex-direction: column; gap: 16px; }
.price-toc { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.price-toc a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); font-size: 14px; }
.price-group { margin-bottom: 28px; }
@media (min-width: 900px) {
	.prices-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
	.price-toc { position: sticky; top: calc(var(--header-h) + 24px); flex-direction: column; overflow: visible; }
	.price-toc a { background: none; padding: 6px 0; color: var(--ink-muted); }
	.price-toc a:hover { color: var(--blue-600); }
}

.risks h3 { font-size: 17px; margin: 16px 0 8px; }
.risks ul { margin: 0; padding-left: 1.2em; }
.disclaimer-inline { margin-top: 16px; font-weight: 500; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

/* Doctors */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-base); font-size: 14px; }
.chip.is-active { background: var(--blue-600); border-color: var(--blue-600); color: var(--on-blue); }
.doctors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .doctors-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.doctor-head { display: flex; flex-direction: column; gap: 20px; }
.doctor-photo { border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-soft); max-width: 360px; aspect-ratio: 3 / 4; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doctor-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.doctor-facts li { padding: 6px 12px; background: var(--bg-base); border-radius: 999px; font-size: 14px; }
@media (min-width: 900px) { .doctor-head { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: center; } }
.timeline { margin: 12px 0 32px; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tl-year { font-weight: 600; color: var(--blue-600); }
.plain-list { margin: 12px 0 32px; padding-left: 1.2em; }
.link-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 32px; padding: 0; list-style: none; }
.link-chips a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--bg-tint); font-size: 14px; font-weight: 500; }

/* Video reviews */
.video { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-tint); }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video-facade { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: none; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--blue-600); color: var(--on-blue); }
.duration { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(17, 17, 17, .7); color: #fff; font-size: 12px; }

/* Lists of documents, search, sitemap */
.doc-links { display: flex; flex-direction: column; gap: 8px; margin: 24px 0; padding: 0; list-style: none; }
.doc-links a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink); font-weight: 500; }
.doc-links a:hover { border-color: var(--blue-600); color: var(--ink); }
.doc-links .ico { color: var(--blue-600); flex: none; }
.search-results { margin: 24px 0; padding: 0; list-style: none; }
.search-results li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.search-results p { margin: 4px 0 0; font-size: 15px; }
.sitemap-grid { display: grid; gap: 32px; }
.sitemap-grid ul { padding-left: 1.1em; }
@media (min-width: 900px) { .sitemap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c4cad3; padding: 40px 0 112px; font-size: 15px; line-height: 1.6; }
.site-footer a { color: #ffffff; }
.site-footer a:hover { color: #c9dbff; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand .logo-name { color: #fff; }
.footer-brand p { margin: 8px 0; }
.footer-phone { font-weight: 600; font-size: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-head { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; color: #c4cad3; }
.site-footer .messengers a { color: #fff; border-color: #5b6472; }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid #3a3f47; font-size: 13px; }
.footer-legal .disclaimer { color: #fff; font-weight: 500; }
@media (min-width: 900px) { .site-footer { padding: 56px 0 40px; } .footer-grid { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 32px; } .footer-legal { display: flex; justify-content: space-between; gap: 32px; } .footer-legal .disclaimer { max-width: 360px; text-align: right; } }

/* ---------- Dialog, mobile bar, cookie ---------- */
.book-dialog { width: min(480px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }
.book-dialog::backdrop { background: rgba(17, 17, 17, .45); }
.book-dialog-inner { position: relative; padding: 24px 20px; }
.book-dialog h2 { font-size: 22px; margin: 0 40px 8px 0; }
.book-dialog .muted { font-size: 15px; }
.dialog-close { position: absolute; right: 8px; top: 8px; }
@media (min-width: 600px) { .book-dialog-inner { padding: 32px; } }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--bg-base); box-shadow: 0 -8px 24px rgba(17, 17, 17, .1); transition: transform .2s; }
.mobile-bar .btn { min-height: 48px; }
.mobile-bar.is-hidden { transform: translateY(110%); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

.cookie { position: fixed; left: 12px; right: 12px; bottom: 84px; z-index: 35; display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--bg-base); border-radius: var(--radius-md); box-shadow: var(--shadow-float); font-size: 14px; }
.cookie p { margin: 0; flex: 1; }
@media (min-width: 900px) { .cookie { left: auto; right: 24px; bottom: 24px; max-width: 420px; } }

/* ---------- Vision mode (версия для слабовидящих) ---------- */
html.vision { font-size: 125%; }
html.vision body { font-size: 21px; }
html.vision img:not(.keep), html.vision .svc-media, html.vision .hero-media img, html.vision .about-media, html.vision .doc-photo, html.vision .offer-media, html.vision .service-media { display: none !important; }
html.vision .hero-media { aspect-ratio: auto; height: auto; background: none; }
html.vision .hero-rating, html.vision .hero-award { position: static; box-shadow: none; border: 2px solid #000; margin-top: 8px; }
html.vision, html.vision body, html.vision .section-soft, html.vision .hero, html.vision .page-head, html.vision .booking, html.vision .trust, html.vision .card, html.vision .site-header { background: #fff !important; color: #000 !important; }
html.vision .muted, html.vision .lead-text, html.vision .eyebrow, html.vision .svc-price, html.vision .doc-exp { color: #000 !important; }
html.vision a { color: #0a3fa0; text-decoration: underline; }
html.vision .btn-primary { background: #000; color: #fff; text-decoration: none; }
html.vision .card, html.vision .svc-card, html.vision .faq-item { border: 2px solid #000; box-shadow: none; }
html.vision .site-footer { background: #000; }
html.vision [data-vision-toggle] { background: #000; color: #fff; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .mobile-bar, .cookie, .book-dialog, .booking, .map { display: none !important; }
}

/* ---------- v0.2: video strip, footer legal ---------- */
.video-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 6px; scrollbar-width: thin; }
.video-strip .video { flex: 0 0 132px; aspect-ratio: 9 / 16; scroll-snap-align: start; border-radius: var(--radius-md); }
.video-strip .play { width: 44px; height: 44px; }
@media (min-width: 900px) { .video-strip { gap: 14px; margin: 0; padding: 0 0 8px; } .video-strip .video { flex-basis: 168px; } }

.footer-legal .legal-name { display: block; color: #fff; margin-bottom: 2px; }
html.vision .offer-ill { display: none !important; }

/* ---------- v0.3: reference design – hero cover, services + offers, about, doctors carousel, reviews ---------- */
.hero-cover { position: relative; padding: 0; background: var(--bg-soft); overflow: hidden; }
.hero-bg { position: relative; aspect-ratio: 5 / 4; background: var(--bg-tint); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 20%; }
.hero-bg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, rgba(236,241,247,0) 0%, var(--bg-soft) 100%); }
.hero-inner { position: relative; margin-top: -48px; padding-bottom: 24px; }
.hero-cover h1 { font-size: 32px; line-height: 38px; letter-spacing: -.02em; }
.hero-cover .btn-row .btn { flex: 1 1 100%; }
.hero-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.hero-feats li { display: flex; flex-direction: column; gap: 6px; }
.hero-feats .ico { color: var(--blue-600); width: 24px; height: 24px; }
.hero-cover .hero-rating { position: absolute; left: var(--gutter); right: auto; top: -84px; bottom: auto; gap: 10px; padding: 8px 12px; }
.hero-rating-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--bg-tint); color: var(--blue-600); }
.hero-cover .hero-rating > span:last-child { display: flex; flex-direction: column; font-size: 14px; line-height: 18px; color: var(--ink); }
.hero-cover .hero-rating b { font-size: 18px; }
.hero-cover .hero-rating > span:last-child { white-space: nowrap; }
.hero-cover .hero-rating small { font-size: 11px; color: var(--ink-muted); }
@media (min-width: 900px) {
	.hero-bg { position: absolute; inset: 0; aspect-ratio: auto; }
	.hero-bg img { object-position: right 20%; }
	.hero-bg::after { inset: 0; height: auto; background: linear-gradient(90deg, var(--bg-soft) 0%, rgba(236,241,247,.92) 32%, rgba(236,241,247,0) 62%); }
	.hero-inner { margin: 0 auto; min-height: 560px; display: flex; align-items: center; padding-top: 48px; padding-bottom: 96px; }
	.hero-text { max-width: 560px; }
	.hero-cover h1 { font-size: 52px; line-height: 58px; }
	.hero-cover .btn-row .btn { flex: 0 0 auto; }
	.hero-feats { max-width: 520px; font-size: 13px; }
	.hero-feats li { flex-direction: row; align-items: center; gap: 10px; }
	.hero-cover .hero-rating { top: auto; left: auto; bottom: 120px; right: max(var(--gutter), calc(50% - 600px + 380px)); padding: 10px 14px; }
}
.trust { background: linear-gradient(180deg, var(--bg-soft) 50%, var(--bg-base) 50%); padding: 0 0 8px; }
.trust-row { padding: 18px; gap: 16px 12px; }
.trust-row li { flex-direction: row; align-items: center; gap: 12px; }
.trust-row li > span:last-child { display: flex; flex-direction: column; }
.trust-row b { font-size: 22px; line-height: 26px; }
.trust-row small { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.trust-ic { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--bg-tint); color: var(--blue-600); }
@media (min-width: 900px) { .trust { margin-top: -56px; position: relative; background: none; } .trust-row { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 24px 28px; } .trust-row li + li { border-left: 1px solid var(--line); padding-left: 20px; } .trust-row b { font-size: 26px; line-height: 32px; } }

.svc-layout { display: grid; gap: 12px; }
.dir-grid { display: grid; gap: 12px; }
.dir-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 118px; padding: 16px 16px 14px; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(90deg, #f6f9fd 0%, #eaf1fb 100%); color: var(--ink); box-shadow: var(--shadow-card); isolation: isolate; }
.dir-card:hover { color: var(--ink); }
.dir-card:hover .round-arrow { background: var(--blue-600); color: var(--on-blue); border-color: var(--blue-600); }
.dir-bg { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 72%; height: 100%; object-fit: cover; object-position: right center; }
.dir-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #f4f8fd 30%, rgba(244,248,253,.85) 48%, rgba(244,248,253,0) 72%); }
.dir-text { display: flex; flex-direction: column; gap: 4px; max-width: 62%; }
.dir-title { font-size: 19px; line-height: 24px; font-weight: 700; letter-spacing: -.01em; }
.dir-sub { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.dir-card .round-arrow, .offer .round-arrow { width: 34px; height: 34px; background: var(--bg-base); border: 1.5px solid var(--blue-600); color: var(--blue-600); margin-top: 10px; }
.offer-col { display: grid; gap: 12px; margin-top: 28px; }
.offer-price { white-space: nowrap; }
.offer-col-title { margin-bottom: 4px; }
.offer { position: relative; display: flex; align-items: center; min-height: 128px; padding: 18px; gap: 12px; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-base); border: 1px solid var(--line); box-shadow: var(--shadow-card); color: var(--ink); isolation: isolate; }
.offer:hover { color: var(--ink); border-color: var(--blue-600); }
.offer:hover .round-arrow { background: var(--blue-600); color: var(--on-blue); }
.offer-bg { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 46%; height: 100%; object-fit: cover; object-position: center; }
.offer::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #fff 48%, rgba(255,255,255,0) 64%); }
.offer-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; max-width: 60%; padding: 0; }
.offer .badge { align-self: flex-start; white-space: nowrap; }
.offer-title { font-size: 17px; line-height: 22px; font-weight: 700; }
.offer-price { display: block; font-size: 20px; line-height: 26px; }
.offer-text { display: none; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.offer .round-arrow { position: relative; z-index: 1; margin: 0 0 0 auto; align-self: center; }
@media (min-width: 600px) { .dir-grid, .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offer-grid { display: grid; gap: 12px; }
@media (min-width: 1000px) {
	.dir-grid { gap: 20px; grid-auto-rows: 200px; }
	.dir-card { min-height: 0; height: 100%; padding: 30px 32px 26px; }
	.dir-bg { width: 100%; }
	.dir-card::before { background: linear-gradient(90deg, #f4f8fd 30%, rgba(244,248,253,.88) 44%, rgba(244,248,253,0) 64%); }
	.dir-text { max-width: 52%; gap: 8px; }
	.dir-title { font-size: 28px; line-height: 34px; }
	.dir-sub { font-size: 16px; line-height: 22px; }
	.dir-card .round-arrow { width: 44px; height: 44px; }
	.offer-grid { gap: 20px; }
	.offer { min-height: 320px; padding: 34px 36px; flex-direction: column; align-items: flex-start; justify-content: space-between; background: #f4f8fd; }
	.offer-bg { width: 62%; object-position: 70% center; }
	.offer::before { background: linear-gradient(90deg, #f4f8fd 34%, rgba(244,248,253,.7) 48%, rgba(244,248,253,0) 64%); }
	.offer-body { max-width: 52%; gap: 14px; }
	.offer-title { font-size: 34px; line-height: 40px; }
	.offer-price { font-size: 34px; line-height: 40px; }
	.offer-text { display: block; font-size: 17px; line-height: 25px; }
	.offer .round-arrow { align-self: flex-start; width: 48px; height: 48px; margin: 0; }
	.offer .badge { padding: 7px 16px; font-size: 14px; border-radius: 10px; }
}

.about-sec .about-grid { display: grid; gap: 24px; }
.about-sec .about-grid > * { min-width: 0; }
.about-sec .about-media { height: auto !important; }
.about-sec .about-media { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-tint); }
.about-sec .about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-sec .about-text .content { font-size: 15px; color: var(--ink-muted); }
.about-feats { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; }
.about-feats li { display: flex; align-items: center; gap: 14px; }
.feat-ic { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--bg-base); color: var(--blue-600); box-shadow: var(--shadow-card); }
@media (min-width: 900px) { .about-sec .about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, .8fr); gap: 40px; align-items: center; } .about-sec .about-media { aspect-ratio: 5 / 4; } }

.head-tools { display: flex; align-items: center; gap: 16px; }
.carousel-nav { display: none; gap: 8px; }
.carousel-nav .icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; color: var(--blue-600); background: var(--bg-base); }
.carousel-nav .icon-btn[data-dir="-1"] .ico { transform: rotate(180deg); }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { flex: 0 0 calc((100% - 12px) / 2.15); scroll-snap-align: start; }
@media (min-width: 1000px) { .carousel-nav { display: inline-flex; } .carousel { gap: 20px; margin: 0; padding: 4px 0 8px; } .carousel > * { flex-basis: calc((100% - 60px) / 4); } }
.doc-card { background: var(--bg-base); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.doc-card .doc-photo { border-radius: 0; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #eef3fa, #e2eaf6); }
.doc-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 12px 12px 14px; }
.doc-text { display: flex; flex-direction: column; min-width: 0; }
.doc-card .doc-name { margin: 0; font-size: 14px; line-height: 18px; }
.doc-card .doc-role, .doc-card .doc-exp { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.doc-card .round-arrow { width: 30px; height: 30px; flex: 0 0 30px; }
@media (min-width: 1000px) { .doc-body { padding: 16px 18px 18px; } .doc-card .doc-name { font-size: 16px; line-height: 21px; } .doc-card .doc-role, .doc-card .doc-exp { font-size: 13px; line-height: 18px; } }

.head-sub { margin: 6px 0 0; font-size: 14px; }
.review { gap: 10px; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); }
.src-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ink); }
.src-logo i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; font-style: normal; font-size: 14px; color: #fff; }
.src-yandex i { background: #fc3f1d; }
.src-2gis i { background: #19aa1e; }
.src-site i { background: var(--blue-600); }
.stars-off { color: var(--line); }
.review-author { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--bg-tint); color: var(--blue-600); font-weight: 600; }
.review-link { margin-left: auto; font-size: 13px; font-weight: 400; }
html.vision .dir-bg, html.vision .offer-bg { display: none !important; }
.svc-media img { object-position: right center; }

/* v0.4.1: hero feats, rating card, trust row */
.nw { white-space: nowrap; }
.hero-feats .nw { display: block; }
.btn-secondary { border-color: #719ef7; }
.btn-secondary:hover { border-color: var(--blue-600); color: var(--blue-600); }
.hero-cover .hero-rating .hero-rating-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 999px; background: var(--bg-tint); color: var(--blue-600); }
.hero-rating-icon .ico { display: block; }
.hero-cover .hero-rating { align-items: center; gap: 14px; padding: 12px 20px 12px 12px; }
.hero-cover .hero-rating .hero-rating-body { display: flex; flex-direction: column; gap: 4px; color: var(--ink); white-space: nowrap; }
.hero-cover .hero-rating .hr-line { font-size: 17px; line-height: 28px; color: var(--ink); }
.hero-cover .hero-rating .hr-line b { font-size: 26px; font-weight: 600; }
.hr-sub { display: flex; align-items: center; gap: 8px; }
.hr-avatars { display: flex; }
.hr-avatars i { width: 22px; height: 22px; margin-left: -7px; border: 2px solid var(--bg-base); border-radius: 999px; background: #8fb2f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='9' r='4.2' fill='%23fff'/%3E%3Cpath d='M3.5 23c.8-4.8 4.2-7.8 8.5-7.8s7.7 3 8.5 7.8z' fill='%23fff'/%3E%3C/svg%3E") center / 100% no-repeat; }
.hr-avatars i:first-child { margin-left: 0; background-color: #c4d6fb; }
.hr-avatars i:nth-child(2) { background-color: #a9c4fa; }
.hr-avatars i:nth-child(3) { background-color: #719ef7; }
.hr-avatars i:nth-child(4) { background-color: #5a87e6; }
.trust-row .trust-ic { width: 60px; height: 60px; background: var(--bg-tint); color: var(--blue-600); }
.trust-row b { color: var(--ink); }
.trust-row small { color: var(--ink-muted); }
@media (min-width: 900px) {
	.hero-feats { width: 660px; max-width: calc(100vw - 2 * var(--gutter)); gap: 20px; font-size: 14px; line-height: 18px; }
	.hero-feats li { gap: 12px; }
	.hero-feats .ico { flex: none; width: 36px; height: 36px; stroke-width: 1.6; }
	.trust-row li + li { padding-left: 24px; }
	.hero-cover .hero-rating { right: 24px; bottom: 96px; }
}

/* v0.4.2: hero headline, weights, icon sizes */
.br-d { display: none; }
.hero-cover .btn-secondary { font-weight: 600; }
.hero-cover .btn-primary .ico { flex: none; }
.hero-cover .hero-rating .hero-rating-icon, .trust-row .trust-ic { width: 64px; height: 64px; }
.hero-cover .hero-rating .hr-line { display: flex; align-items: center; gap: 6px; }
.hero-cover .hero-rating .hr-line b { font-weight: 700; line-height: 1; }
.trust-row b { font-weight: 700; }
@media (min-width: 900px) {
	.br-d { display: inline; }
	.hero-feats li:nth-child(2) .ico { transform: scale(1.06); }
	.hero-feats li:nth-child(3) .ico { transform: scale(1.05); }
}

/* v0.4.3: section titles, service cards (desktop: 4 x 2, photo on top) */
.h2 { font-weight: 700; }
.more { font-weight: 600; }
.dir-card { justify-content: center; }
.dir-card .dir-text { max-width: none; flex: 1 1 auto; justify-content: center; }
.dir-card .dir-title { max-width: 60%; }
.dir-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.dir-row .dir-sub { max-width: 60%; }
.dir-row .round-arrow { flex: none; margin: 0; }
.dir-bg { transform: translateX(var(--shift, 0%)); }
.dir-card[data-dir="implantaciya"] { --shift: 26%; --pos: 25%; }
.dir-card[data-dir="ortopediya"] { --shift: 14%; --pos: 90%; }
.dir-card[data-dir="terapiya"] { --shift: 18%; --pos: 50%; }
.dir-card[data-dir="detskaya"] { --shift: 28%; --pos: 30%; }
.dir-card[data-dir="hirurgiya"] { --shift: 10%; --pos: 90%; }
.dir-card[data-dir="ortodontiya"] { --shift: 12%; --pos: 90%; }
.dir-card[data-dir="profilaktika"] { --shift: 10%; --pos: 90%; }
.dir-card[data-dir="diagnostika"] { --shift: 5%; --pos: 100%; }
@media (min-width: 900px) {
	.dir-grid { grid-auto-rows: auto; gap: 20px; }
	.dir-card { justify-content: flex-start; height: auto; padding: 0; background: var(--bg-base); border: 1px solid var(--line); }
	.dir-card::before { display: none; }
	.dir-card .dir-bg { position: static; z-index: auto; display: block; width: 100%; height: auto; aspect-ratio: 2.7 / 1; object-fit: cover; object-position: var(--pos, 50%) center; transform: none; }
	.dir-card .dir-text { justify-content: space-between; gap: 6px; padding: 18px 20px 20px; }
	.dir-card .dir-title, .dir-row .dir-sub { max-width: none; }
	.dir-card .dir-title { font-size: 20px; line-height: 26px; }
	.dir-row .dir-sub { font-size: 14px; line-height: 20px; }
	.dir-card .round-arrow { width: 40px; height: 40px; }
}
@media (min-width: 1100px) {
	.dir-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* v0.4.4: about block – photo spans the text column, title in 2 lines, unified icon circles */
.about-feats .feat-ic { width: 64px; height: 64px; }
.about-feats .feat-ic .ico { width: 36px; height: 36px; }
@media (min-width: 900px) {
	.about-sec .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, .8fr); }
	.about-sec .about-media { position: relative; align-self: stretch; aspect-ratio: auto; margin: -12px 0; }
	.about-sec .about-media img { position: absolute; inset: 0; }
}
@media (min-width: 1100px) {
	.about-sec .about-grid { grid-template-columns: minmax(0, 1fr) minmax(480px, 1.25fr) minmax(0, .8fr); }
}

/* v0.5: doctors dots, special offers, reviews, FAQ, contacts, light footer */
.carousel-dots { display: flex; justify-content: center; gap: 4px; margin-top: 16px; }
.carousel-dots[hidden] { display: none; }
.carousel-dots button { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; }
.carousel-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #c9d6ea; transition: width .2s, background-color .2s; }
.carousel-dots button.is-active::before { width: 24px; background: var(--blue-600); }
.deal-grid { display: grid; gap: 12px; }
.deal { display: grid; grid-template-columns: 38% minmax(0, 1fr); overflow: hidden; background: var(--bg-base); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); color: var(--ink); transition: border-color .15s; }
.deal:hover { color: var(--ink); border-color: var(--blue-600); }
.deal:hover .round-arrow { background: var(--blue-600); color: var(--on-blue); }
.deal-media { min-height: 150px; background: var(--bg-tint); }
.deal-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.deal-body { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px; }
.deal .badge { margin-bottom: 6px; }
.deal-title { font-size: 17px; line-height: 22px; font-weight: 700; }
.deal-price { font-size: 20px; line-height: 26px; font-weight: 700; white-space: nowrap; }
.deal-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 6px; }
.deal-text { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.deal .round-arrow { flex: none; width: 36px; height: 36px; background: var(--bg-base); border: 1.5px solid var(--blue-600); color: var(--blue-600); }
.head-sub { margin: 6px 0 0; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ink); }
.faq-ask { margin: 0; font-size: 15px; color: var(--ink-muted); }
.faq-ask a { font-weight: 600; white-space: nowrap; }
.contacts-grid { display: flex; flex-direction: column; gap: 20px; }
.contacts-main .h2 { margin-bottom: 20px; }
.contacts-row { display: flex; flex-direction: column; gap: 18px; }
.c-item { display: flex; align-items: flex-start; gap: 14px; }
.c-ic { flex: none; color: var(--blue-600); line-height: 0; padding-top: 2px; }
.c-item > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.c-phone { font-size: 18px; line-height: 24px; font-weight: 700; color: var(--ink); }
.c-addr { font-size: 16px; line-height: 22px; font-weight: 600; }
.c-item small { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.c-route { align-self: flex-start; }
.c-mail { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; }
.metro-badge { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg-base); border-radius: var(--radius-md); box-shadow: var(--shadow-float); font-size: 14px; line-height: 18px; pointer-events: none; }
.metro-badge i { font-style: normal; font-weight: 800; font-size: 18px; color: #e42313; }
.metro-badge > span { display: flex; flex-direction: column; }
.metro-badge small { font-size: 12px; color: var(--ink-muted); }
.site-footer { background: #f5f8fc; color: var(--ink-muted); border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--blue-600); }
.footer-brand .logo-name { color: var(--ink); }
.footer-head { color: var(--ink-muted); }
.site-footer .messengers a { color: var(--ink); border-color: var(--line-strong); }
.footer-legal { border-top-color: var(--line); }
.footer-legal .disclaimer, .footer-legal .legal-name { color: var(--ink); }
@media (min-width: 900px) {
	.deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.deal-media { min-height: 200px; }
	.deal-body { padding: 24px 28px; }
	.deal-title { font-size: 20px; line-height: 26px; }
	.deal-price { font-size: 24px; line-height: 30px; }
	.deal-text { font-size: 14px; line-height: 20px; }
	.deal .round-arrow { width: 40px; height: 40px; }
	.faq-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-items: start; }
	.contacts-sec .contacts-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: center; }
	.contacts-sec .contacts-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 24px 32px; }
	.contacts-sec .c-item:nth-child(2) { max-width: 300px; }
	.contacts-sec .map { min-height: 260px; }
	.contacts-full .contacts-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
	.contacts-full .contacts-row { flex-direction: column; align-items: flex-start; }
	.contacts-full .map { min-height: 460px; }
}
.section-soft .grid-3 .review-text { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }

/* v0.6: mobile hero – smaller rating card, no feature icons, stats in one row */
.lbl-s { display: none; }
@media (max-width: 899px) {
	.hero-feats { display: none; }
	.hero-cover .lead-text { font-size: 14px; line-height: 21px; }
	.hero-cover .hero-rating { top: -66px; gap: 8px; padding: 6px 12px 6px 6px; }
	.hero-cover .hero-rating .hero-rating-icon { width: 40px; height: 40px; }
	.hero-cover .hero-rating .hero-rating-icon .ico { width: 22px; height: 22px; }
	.hero-cover .hero-rating .hero-rating-body { gap: 1px; }
	.hero-cover .hero-rating .hr-line { font-size: 12px; line-height: 18px; gap: 4px; }
	.hero-cover .hero-rating .hr-line b { font-size: 17px; }
	.hero-cover .hero-rating .hr-sub { gap: 5px; }
	.hero-cover .hero-rating small { font-size: 9.5px; line-height: 12px; }
	.hr-avatars i { width: 15px; height: 15px; margin-left: -5px; border-width: 1.5px; }
	.trust-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 14px 4px; }
	.trust-row li { flex-direction: column; align-items: center; gap: 6px; padding: 0 4px; text-align: center; }
	.trust-row li + li { border-left: 1px solid var(--line); }
	.trust-row .trust-ic { width: auto; height: auto; background: none; }
	.trust-row .trust-ic .ico { width: 26px; height: 26px; }
	.trust-row li > span:last-child { align-items: center; }
	.trust-row b { font-size: 15px; line-height: 20px; white-space: nowrap; }
	.trust-row small { font-size: 11px; line-height: 14px; }
	.lbl-l { display: none; }
	.lbl-s { display: inline; }
}
.trust-row small span { font-size: inherit; line-height: inherit; color: inherit; }

/* v0.6.1: mobile services – 2 x 2 cards as in the reference, the 4 main directions first */
@media (max-width: 899px) {
	.dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.dir-card { display: none; min-height: 0; padding: 0; justify-content: flex-start; background: var(--bg-base); border: 1px solid var(--line); }
	.dir-card::before { display: none; }
	.dir-card[data-dir="detskaya"] { display: flex; order: 1; --mpos: 41%; }
	.dir-card[data-dir="ortodontiya"] { display: flex; order: 2; --mpos: 70%; }
	.dir-card[data-dir="implantaciya"] { display: flex; order: 3; --mpos: 22%; }
	.dir-card[data-dir="ortopediya"] { display: flex; order: 4; --mpos: 68%; }
	.dir-card .dir-bg { position: static; z-index: auto; display: block; width: 100%; height: auto; aspect-ratio: 1.55 / 1; object-fit: cover; object-position: var(--mpos, 50%) center; transform: none; }
	.dir-card .dir-text { flex: 1 1 auto; flex-direction: column; justify-content: space-between; gap: 4px; max-width: none; padding: 10px 8px 10px 12px; }
	.dir-card .dir-title { max-width: none; font-size: 14px; line-height: 19px; }
	.dir-row { justify-content: flex-end; margin-left: auto; }
	.dir-row .dir-sub { display: none; }
	.dir-card .round-arrow { width: 26px; height: 26px; }
	.dir-card .round-arrow .ico { width: 14px; height: 14px; }
}

/* v0.6.2: mobile about block – heading, photo, text, button, features */
@media (max-width: 899px) {
	.about-sec .about-grid { gap: 0; }
	.about-sec .about-text { display: contents; }
	.about-sec .about-text .eyebrow { order: 1; }
	.about-sec .about-text .h2 { order: 2; margin-bottom: 16px; }
	.about-sec .about-media { order: 3; margin-bottom: 16px; }
	.about-sec .about-text .content { order: 4; margin: 0 0 20px; }
	.about-sec .about-text .btn { order: 5; }
	.about-sec .about-feats { order: 6; margin-top: 28px; }
}

/* v0.6.3: doctor cards – arrow always bottom right; mobile: side margin kept, 2 cards + a bit of the 3rd, name 2 lines, role + experience 2 lines */
.doc-card .doc-body { flex: 1 1 auto; align-items: stretch; }
.doc-card .doc-body .round-arrow { align-self: flex-end; }
@media (max-width: 999px) {
	.carousel { scroll-padding-inline: var(--gutter); }
	.carousel > * { flex-basis: calc((100% - 12px) / 2.1); }
	.doc-card .doc-body { position: relative; display: block; padding: 10px 8px 12px 10px; }
	.doc-card .doc-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; font-size: 12.5px; line-height: 17px; }
	.doc-card .doc-role { display: block; margin-top: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; line-height: 15px; }
	.doc-card .doc-exp { padding-right: 30px; font-size: 11px; line-height: 24px; }
	.doc-card .doc-body .round-arrow { position: absolute; right: 8px; bottom: 12px; width: 24px; height: 24px; }
	.doc-card .doc-body .round-arrow .ico { width: 14px; height: 14px; }
}

/* v0.6.4: static map picture in contacts, click opens Yandex Maps */
.map-static { display: block; color: var(--ink); }
.map-static img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s; }
.map-static:hover img { transform: scale(1.02); }
.map-static .map-pin { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, calc(-100% - 6px)); box-shadow: var(--shadow-float); white-space: nowrap; }
.map-static .map-pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 0 0 3px 0; z-index: -1; }
.contacts-sec .map-static { aspect-ratio: 650 / 450; min-height: 0; }
.map-static .metro-badge { right: auto; left: 14px; }

/* v0.6.5: services catalogue – plain list per direction (no pictures): name, price «от», arrow */
.svc-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.svc-list .svc-card { flex-direction: row; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.svc-list .svc-media { display: none; }
.svc-list .svc-body { flex: 1 1 auto; align-items: center; gap: 16px; padding: 14px 0; }
.svc-list .svc-title { font-size: 16px; line-height: 22px; font-weight: 600; }
.svc-list .svc-price { margin-top: 2px; font-size: 14px; line-height: 20px; }
.svc-list .round-arrow { flex: none; width: 32px; height: 32px; background: var(--bg-base); border: 1.5px solid var(--blue-600); color: var(--blue-600); }
.svc-list .round-arrow .ico { width: 16px; height: 16px; }
@media (min-width: 900px) {
	.svc-list .svc-body { gap: 32px; padding: 18px 0; }
	.svc-list .svc-text { flex: 1 1 auto; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
	.svc-list .svc-title { font-size: 18px; line-height: 24px; }
	.svc-list .svc-price { margin: 0; font-size: 16px; white-space: nowrap; }
	.svc-list .round-arrow { width: 36px; height: 36px; }
}

/* v0.6.6 – mobile: header scrolls away, small «up» button */
@media (max-width: 899px) {
	.site-header { position: relative; }
	html { scroll-padding-top: 16px; }
}
.to-top { position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 29; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .96); color: var(--blue-600); box-shadow: 0 4px 14px rgba(17, 17, 17, .12); cursor: pointer; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .to-top { display: none; } }
