/* ==========================================================================
   Ahramovich — main stylesheet

   Sizes follow the 1920px Figma mockups 1:1. Every size is written as
   N * var(--u), where N is the pixel value at 1920px; --u scales it down
   proportionally on narrower screens (capped at 1920). max() keeps text
   readable on small screens; the mobile section at the end takes over below 760px.
   ========================================================================== */

:root {
	--u: calc(min(100vw, 1920px) / 1920);
	--bg: #f2f1ec;
	--white: #fff;
	--dark: #17161b;
	--dark-2: #0f0f12;
	--line-dark: #2c2b31;
	--navy: #0e2d5a;
	--navy-2: #0a2247;
	--text: #17161b;
	--muted: #6b6e78;
	--line: #dcdad2;
	--gold: #f0a63a;
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--serif: "PT Serif", Georgia, serif;
	--pad: max(16px, calc(80 * var(--u)));
	--gap: max(8px, calc(10 * var(--u)));
	--sec: max(56px, calc(120 * var(--u)));
	--fs-body: max(16px, calc(24 * var(--u)));
	--fs-small: max(13px, calc(20 * var(--u)));
	--fs-h2: max(30px, calc(75 * var(--u)));
	--fs-btn: max(14px, calc(24 * var(--u)));
	--ctl-h: max(52px, calc(82 * var(--u)));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 var(--fs-body)/1.45 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only, .hp {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--white); padding: 8px 16px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: 1920px; margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Typography ---------- */
.h1, .h2, .h3 { font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.h1 { font-size: var(--fs-h2); }
.h1--md { font-size: max(28px, calc(55 * var(--u))); line-height: 1.1; max-width: 26ch; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: max(22px, calc(45 * var(--u))); letter-spacing: -0.03em; line-height: 1.1; }

.tag {
	display: inline-flex; align-items: center; gap: max(6px, calc(10 * var(--u)));
	padding: max(4px, calc(8 * var(--u))) max(10px, calc(16 * var(--u)));
	border: 1px solid #c9c7bf; background: var(--white);
	font-size: max(12px, calc(16 * var(--u))); color: var(--muted);
}
.tag::before { content: "••"; letter-spacing: -2px; line-height: 1; }
.tag--dark { background: transparent; border-color: #6d6c74; color: #a9a8b0; }

.link-arrow {
	display: inline-flex; align-items: center; gap: max(8px, calc(14 * var(--u)));
	font-weight: 600; font-size: var(--fs-btn); text-transform: uppercase; letter-spacing: -0.01em;
	color: var(--navy); transition: gap .2s;
}
.link-arrow:hover { gap: max(12px, calc(20 * var(--u))); }
.link-arrow--light { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: max(10px, calc(16 * var(--u)));
	min-height: var(--ctl-h); padding: 10px max(24px, calc(48 * var(--u)));
	font-weight: 600; font-size: var(--fs-btn); text-transform: uppercase; letter-spacing: -0.01em;
	border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s;
	text-align: center;
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-2); }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.round-btn {
	width: max(48px, calc(110 * var(--u))); height: max(48px, calc(110 * var(--u))); border-radius: 50%;
	display: grid; place-items: center; background: var(--navy); color: var(--white);
	transition: background .2s;
}
.round-btn:hover { background: var(--navy-2); }

/* ---------- Sections ---------- */
.section { padding-block: var(--sec); }
.section--tight { padding-block: max(32px, calc(64 * var(--u))) var(--sec); }
.section--dark { background: var(--dark); color: var(--white); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: max(24px, calc(60 * var(--u))); flex-wrap: wrap; }
.section__foot { display: flex; justify-content: flex-end; margin-top: max(12px, calc(24 * var(--u))); }
.section__foot .btn { min-width: max(220px, calc(690 * var(--u))); }
.section .h2 + * { margin-top: max(24px, calc(60 * var(--u))); }
.section__head .h2 + * { margin-top: 0; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: max(10px, calc(24 * var(--u))); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: max(12px, calc(60 * var(--u))); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.empty { font-size: var(--fs-body); color: var(--muted); padding: 24px 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--dark); color: var(--white); }
.site-header--overlay { position: absolute; inset: 0 0 auto; background: transparent; }
.site-header.is-fixed {
	position: fixed; inset: 0 0 auto; background: rgba(23, 22, 27, .94);
	backdrop-filter: blur(8px); animation: drop .3s ease;
}
.site-header.is-fixed .site-header__row { min-height: max(64px, calc(110 * var(--u))); }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }

.site-header__row { display: flex; align-items: center; gap: max(16px, calc(48 * var(--u))); min-height: max(72px, calc(150 * var(--u))); }
.logo { display: inline-flex; align-items: center; gap: max(14px, calc(30 * var(--u))); flex-shrink: 0; }
.logo__mark { width: max(38px, calc(58 * var(--u))); height: max(38px, calc(58 * var(--u))); }
.logo__text { font-family: var(--serif); font-size: max(14px, calc(23 * var(--u))); line-height: 1.3; letter-spacing: .01em; }

.menu-btn { display: inline-flex; align-items: center; gap: max(10px, calc(20 * var(--u))); margin-left: max(0px, calc(140 * var(--u))); font-size: max(14px, calc(22 * var(--u))); text-transform: uppercase; }
.menu-btn .ico { width: max(24px, calc(34 * var(--u))); height: auto; transition: transform .2s; }
.menu-btn .ico-close, .menu-btn[aria-expanded="true"] .ico-menu { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }
.site-header:has(.mega:not([hidden])) { background: var(--dark); }

.topnav { margin-left: auto; }
.topnav ul { display: flex; gap: max(16px, calc(48 * var(--u))); }
.topnav a { font-size: max(14px, calc(19 * var(--u))); font-weight: 500; opacity: .92; transition: opacity .2s; position: relative; }
.topnav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .25s; }
.topnav a:hover::after, .topnav .current-menu-item a::after { right: 0; }

.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: max(14px, calc(19 * var(--u))); white-space: nowrap; }

.mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--dark); border-top: 1px solid var(--line-dark);
	max-height: calc(100vh - 96px); overflow: auto;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.mega__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-block: 48px 56px; }
.mega__title { font-size: max(12px, calc(16 * var(--u))); text-transform: uppercase; letter-spacing: .08em; color: #8d8c94; margin-bottom: 20px; }
.mega__services { columns: 2; column-gap: 40px; margin-bottom: 24px; }
.mega__services li, .mega__nav li { break-inside: avoid; }
.mega__services a, .mega__nav a { display: block; padding: 7px 0; font-size: max(16px, calc(22 * var(--u))); transition: color .2s; }
.mega__services a:hover, .mega__nav a:hover { color: var(--gold); }
.mega__col--contacts { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; font-size: max(15px, calc(20 * var(--u))); }
.mega__phone { font-size: max(24px, calc(36 * var(--u))); font-weight: 700; }
.mega__col--contacts p { color: #b5b4bb; }
.mega__col--contacts .btn { margin-top: 12px; }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px max(14px, calc(24 * var(--u))); font-size: max(12px, calc(16 * var(--u))); color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: max(14px, calc(24 * var(--u))); }
.crumbs li + li::before { content: "→"; }
.crumbs a:hover { color: var(--navy); }
.crumbs [aria-current] { color: var(--navy); }
.crumbs--light { color: rgba(255, 255, 255, .55); }
.crumbs--light ol { color: inherit; }
.crumbs--light [aria-current], .crumbs--light a:hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
	position: relative; color: var(--white); background: var(--dark) var(--hero-bg) center top / cover no-repeat;
	isolation: isolate;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(10, 9, 12, .5) 0%, rgba(10, 9, 12, 0) 20%),
		linear-gradient(0deg, rgba(10, 9, 12, .75) 0%, rgba(10, 9, 12, 0) 40%);
}
.hero__inner { position: relative; padding-top: max(110px, calc(200 * var(--u))); padding-bottom: max(32px, calc(110 * var(--u))); }

.hero--home { min-height: max(680px, calc(1080 * var(--u))); display: flex; }
.hero--home .hero__inner {
	display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto auto;
	grid-template-areas: "plaques aside" ". ." "name name" "form form";
	padding-top: max(110px, calc(260 * var(--u)));
}
.hero--home .plaques { grid-area: plaques; margin-left: max(0px, calc(38 * var(--u))); }
.hero__aside {
	text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
	font-size: max(16px, calc(30 * var(--u))); line-height: 1.2; text-transform: uppercase; font-weight: 300; letter-spacing: -0.03em;
}
.hero--home .hero__aside { grid-area: aside; justify-self: end; max-width: max(320px, calc(540 * var(--u))); margin-top: max(0px, calc(-10 * var(--u))); }
.hero__aside b { font-weight: 600; }

.hero__name {
	grid-area: name; position: relative;
	font-size: max(56px, calc(310 * var(--u))); font-weight: 500; letter-spacing: -0.085em; line-height: .8;
	margin: 0 0 max(16px, calc(-30 * var(--u))) calc(-16 * var(--u)); white-space: nowrap;
	position: relative; z-index: 1;
}
.hero__kicker {
	position: absolute; right: .06em; top: -0.36em;
	font-size: .387em; font-weight: 400; letter-spacing: -0.05em;
	color: rgba(255, 255, 255, .85); filter: blur(calc(2.5 * var(--u))); text-shadow: 0 0 calc(24 * var(--u)) rgba(255, 255, 255, .4);
}

.hero__form { grid-area: form; display: grid; grid-template-columns: max(200px, calc(480 * var(--u))) minmax(0, 1fr); gap: 24px max(24px, calc(80 * var(--u))); align-items: end; position: relative; z-index: 2; }
.hero__form-lead { max-width: max(220px, calc(320 * var(--u))); font-size: max(12px, calc(20 * var(--u))); text-transform: uppercase; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; }
.hero__form-lead b { display: block; font-size: max(16px, calc(30 * var(--u))); color: var(--gold); line-height: 1.15; margin-bottom: max(8px, calc(20 * var(--u))); font-weight: 600; }

/* Service hero */
.hero--service { min-height: max(640px, calc(1080 * var(--u))); display: flex; }
.hero--service::before {
	background:
		linear-gradient(90deg, rgba(10, 9, 12, .7) 0%, rgba(10, 9, 12, .15) 55%, rgba(10, 9, 12, 0) 100%),
		linear-gradient(0deg, rgba(10, 9, 12, .7) 0%, rgba(10, 9, 12, 0) 40%);
}
.hero--service .hero__inner {
	display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr auto;
	grid-template-areas: "crumbs plaques" "title plaques" ". ." "form form";
	gap: 24px 40px;
}
.hero--service .crumbs { grid-area: crumbs; margin-top: max(0px, calc(40 * var(--u))); }
.hero--service .plaques { grid-area: plaques; }
.hero__title { grid-area: title; margin-top: max(24px, calc(90 * var(--u))); }
.hero__pre { font-size: max(22px, calc(55 * var(--u))); letter-spacing: -0.05em; color: rgba(255, 255, 255, .5); font-weight: 300; }
.hero__h1 { font-size: max(38px, calc(120 * var(--u))); font-weight: 600; letter-spacing: -0.065em; line-height: .95; max-width: max(300px, calc(1100 * var(--u))); margin-top: max(12px, calc(40 * var(--u))); }

/* About hero */
.hero--about { min-height: max(620px, calc(1000 * var(--u))); display: flex; background-position: center 20%; }
.hero--about .hero__inner {
	display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr auto auto;
	grid-template-areas: "crumbs crumbs" ". aside" ". ." "name name" ". btn"; gap: 16px 40px;
}
.hero--about .crumbs { grid-area: crumbs; margin-top: max(0px, calc(40 * var(--u))); }
.hero--about .hero__aside { grid-area: aside; justify-self: end; width: max(320px, calc(560 * var(--u))); display: grid; gap: max(16px, calc(40 * var(--u))); }
.hero--about .hero__name { margin-bottom: 0; }
.hero--about .hero__kicker { right: auto; left: 0; top: -0.62em; }
.hero__btn { grid-area: btn; justify-self: end; margin-top: max(12px, calc(40 * var(--u))); }

/* Short page hero */
.hero--page { min-height: max(380px, calc(640 * var(--u))); display: flex; background-position: center; }
.hero--page::before { background: linear-gradient(90deg, rgba(10, 9, 12, .7), rgba(10, 9, 12, .2)); }
.hero--page .hero__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; width: 100%; padding-bottom: max(40px, calc(140 * var(--u))); }
.hero--page .crumbs { margin-top: max(0px, calc(40 * var(--u))); }
.hero--page .h1 { margin-top: auto; }
.hero__caps { font-size: max(13px, calc(20 * var(--u))); text-transform: uppercase; font-weight: 500; letter-spacing: -0.02em; margin-top: max(12px, calc(20 * var(--u))); }

/* Plaques */
.plaques { display: grid; gap: max(4px, calc(8 * var(--u))); justify-items: start; align-content: start; }
.plaques--left { justify-items: end; }
.plaque {
	position: relative; display: inline-flex; align-items: center;
	min-height: max(46px, calc(78 * var(--u))); min-width: max(220px, calc(340 * var(--u)));
	padding: 8px max(40px, calc(70 * var(--u))) 8px max(18px, calc(28 * var(--u)));
	font-size: max(12px, calc(23 * var(--u))); font-weight: 500; text-transform: uppercase; letter-spacing: -0.02em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.plaque::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: url("../img/plaque.png") center / 100% 100% no-repeat;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
}
.plaques--left .plaque { padding: 8px max(18px, calc(28 * var(--u))) 8px max(40px, calc(70 * var(--u))); justify-content: flex-end; }
.plaques--left .plaque::before { transform: scaleX(-1); }
.hero--about .plaque { text-transform: none; font-size: max(13px, calc(25 * var(--u))); }

/* ---------- Lead form ---------- */
.field { display: block; }
.field > span:not(.sr-only) { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
	width: 100%; min-height: var(--ctl-h); padding: 10px max(14px, calc(20 * var(--u)));
	background: var(--bg); border: 1px solid #bfbdb5; border-radius: 0;
	font-size: max(15px, calc(18 * var(--u))); transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: max(96px, calc(160 * var(--u))); padding-top: max(12px, calc(20 * var(--u))); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field input::placeholder, .field textarea::placeholder { color: #9a9aa0; }
.field input.is-invalid { border-color: #c0392b; }

.lead-form__note { font-size: max(12px, calc(14 * var(--u))); color: var(--muted); margin-top: 12px; }
.form-msg { font-size: max(14px, calc(18 * var(--u))); font-weight: 600; margin-top: 10px; }
.form-msg:empty { display: none; }
.form-msg.is-ok { color: #1e7a46; }
.form-msg.is-err { color: #c0392b; }

.lead-form--bar { background: var(--bg); padding: max(12px, calc(25 * var(--u))) max(12px, calc(35 * var(--u))); color: var(--text); }
.lead-form--bar .lead-form__fields { display: grid; grid-template-columns: minmax(0, 360fr) minmax(0, 360fr) minmax(0, 456fr); gap: max(10px, calc(32 * var(--u))); }
.lead-form--bar .lead-form__note { display: none; }
.lead-form--bar .form-msg { margin: 10px 4px 0; }
.lead-form--bar .btn { padding-inline: 16px; white-space: nowrap; }

.lead-form--box .lead-form__fields, .lead-form--contact .lead-form__fields { display: grid; gap: max(8px, calc(18 * var(--u))); }
.lead-form--box .btn { margin-top: max(4px, calc(12 * var(--u))); }

/* ---------- Stats ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: max(10px, calc(20 * var(--u))) max(10px, calc(50 * var(--u))); align-items: start; }
.stats__title { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.06em; line-height: 1.02; }
.stats__title span { display: block; font-weight: 300; padding-left: 1.45em; }
.stats__title b { display: block; font-weight: 600; }
.stats__title i { font-style: normal; font-size: .8em; margin-right: .1em; }
.stat {
	position: relative; background: var(--white);
	padding: max(18px, calc(60 * var(--u))) max(18px, calc(48 * var(--u))) max(18px, calc(50 * var(--u)));
	min-height: max(140px, calc(230 * var(--u))); display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
}
.stats__grid .stat:first-of-type { margin-top: max(0px, calc(80 * var(--u))); }
.stats__grid .stat:nth-of-type(2) { margin-top: max(0px, calc(80 * var(--u))); }
.stats__grid .stat:nth-of-type(6) { grid-column: 2; }
.stat__label { display: flex; gap: max(8px, calc(16 * var(--u))); font-size: max(12px, calc(25 * var(--u))); font-weight: 500; text-transform: uppercase; color: #3d4150; padding-right: max(56px, calc(130 * var(--u))); line-height: 1.05; letter-spacing: -0.03em; }
.stat__label .ico { flex-shrink: 0; width: max(12px, calc(18 * var(--u))); height: auto; }
.stat__value { font-size: max(28px, calc(55 * var(--u))); font-weight: 600; color: var(--navy); letter-spacing: -0.05em; line-height: 1; padding-left: max(20px, calc(34 * var(--u))); }
.stat__icon {
	position: absolute; top: max(14px, calc(36 * var(--u))); right: max(14px, calc(48 * var(--u)));
	width: max(48px, calc(110 * var(--u))); height: max(48px, calc(110 * var(--u))); border-radius: 50%; border: 1px solid #9ea2ad;
	display: grid; place-items: center; color: #3d4150;
}
.stat__icon .ico { width: max(20px, calc(44 * var(--u))); height: auto; }

/* ---------- About teaser ---------- */
.about-teaser { padding-top: max(40px, calc(80 * var(--u))); }
.about-teaser__grid { display: grid; grid-template-columns: minmax(0, 650fr) minmax(0, 620fr) minmax(0, 590fr); gap: max(24px, calc(50 * var(--u))); align-items: stretch; }
.about-teaser__text { display: flex; flex-direction: column; }
.about-teaser__text .tag { align-self: flex-start; margin-bottom: max(32px, calc(110 * var(--u))); }
.about-teaser__text .h3 { font-weight: 600; margin-bottom: max(20px, calc(70 * var(--u))); max-width: 13em; }
.about-teaser__text p { color: var(--muted); max-width: 26em; }
.about-teaser__text p + p { margin-top: max(16px, calc(36 * var(--u))); }
.about-teaser__photo img { width: 100%; height: 100%; min-height: max(420px, calc(830 * var(--u))); object-fit: cover; object-position: 58% center; }
.about-teaser__side { display: flex; flex-direction: column; }
.about-teaser__name { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.06em; line-height: .98; margin-bottom: max(32px, calc(100 * var(--u))); }
.about-teaser__name span { display: block; font-weight: 300; }
.num-list { margin-bottom: max(32px, calc(100 * var(--u))); flex: 1; }
.num-list li { display: flex; align-items: center; gap: max(16px, calc(30 * var(--u))); min-height: max(60px, calc(115 * var(--u))); border-bottom: 1px solid var(--line); }
.num-list li:last-child { border-bottom: 0; }
.num-list a { flex: 1; align-self: stretch; display: flex; align-items: center; }
.num-list a:hover { color: var(--navy); }
.num-list__n { width: max(32px, calc(44 * var(--u))); height: max(32px, calc(44 * var(--u))); border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: max(11px, calc(18 * var(--u))); color: var(--muted); flex-shrink: 0; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(var(--bg) 0 50%, var(--dark) 50% 100%); }
.cta--dark { background: var(--bg); padding-block: 0 var(--sec); }
.cta__card {
	position: relative; isolation: isolate; color: var(--white);
	display: grid; grid-template-columns: minmax(0, 1fr) min(816px, 52%); gap: 40px;
	padding: max(28px, calc(110 * var(--u))) max(20px, calc(110 * var(--u)));
	min-height: max(0px, calc(720 * var(--u)));
	background: var(--dark) var(--cta-bg) center / cover no-repeat;
}
.cta__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 9, 12, .35), rgba(10, 9, 12, .1)); }
.cta__title { font-size: var(--fs-h2); letter-spacing: -0.06em; line-height: .95; font-weight: 300; }
.cta__title span { display: block; }
.cta__title b { display: block; font-weight: 600; padding-left: 1.65em; }
.cta__box { background: var(--bg); color: var(--text); padding: max(24px, calc(64 * var(--u))) max(20px, calc(100 * var(--u))) max(24px, calc(56 * var(--u))); align-self: center; }
.cta--dark .cta__box { background: var(--dark); color: var(--white); }
.cta--dark .field input { background: transparent; border-color: #45444b; }
.cta--dark .btn--primary { background: var(--bg); color: var(--navy); }
.cta--dark .btn--primary:hover { background: var(--white); }
.cta--dark .lead-form__note { color: #8d8c94; }
.cta__lead { display: flex; gap: max(16px, calc(56 * var(--u))); align-items: center; margin-bottom: max(20px, calc(36 * var(--u))); }
.cta__lead .ico { flex-shrink: 0; width: max(24px, calc(60 * var(--u))); height: auto; stroke-width: 1.2; }
.cta__lead p { text-transform: uppercase; font-size: max(15px, calc(30 * var(--u))); line-height: 1.15; letter-spacing: -0.03em; font-weight: 300; }
.cta__lead p b { font-weight: 600; }
.cta__text { margin: -8px 0 20px; color: var(--muted); font-size: var(--fs-small); }
.cta--dark .cta__text { color: #b5b4bb; }

/* ---------- Service cards ---------- */
.services-home { padding-top: max(56px, calc(190 * var(--u))); }
.services-home__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.services-home__head { display: flex; flex-direction: column; align-items: flex-start; gap: max(16px, calc(28 * var(--u))); padding-right: 24px; }
.services-home__head .h2 { margin-top: max(16px, calc(56 * var(--u))) !important; }
.services-home__head .link-arrow { margin-top: auto; margin-bottom: max(0px, calc(30 * var(--u))); }

.svc-card { background: var(--white); color: var(--text); padding: max(12px, calc(24 * var(--u))) max(12px, calc(24 * var(--u))) max(20px, calc(40 * var(--u))); display: flex; flex-direction: column; }
.section--dark .svc-card { background: var(--bg); }
.svc-card__img { display: block; aspect-ratio: 466 / 307; overflow: hidden; background: var(--dark); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-card__img img { transform: scale(1.04); }
.svc-card__title { margin-top: max(16px, calc(30 * var(--u))); font-size: max(20px, calc(38 * var(--u))); line-height: 1.05; letter-spacing: -0.04em; color: var(--navy); font-weight: 600; }
.svc-card__text { margin-top: max(12px, calc(30 * var(--u))); color: var(--muted); font-size: max(14px, calc(24 * var(--u))); font-weight: 300; line-height: 1.35; flex: 1; }
.svc-card__more { margin-top: max(16px, calc(36 * var(--u))); align-self: flex-end; }

/* ---------- Results (cases) ---------- */
.results__list { display: grid; gap: max(10px, calc(24 * var(--u))); }
.case-row { display: grid; grid-template-columns: minmax(0, 580fr) minmax(0, 1156fr); gap: max(10px, calc(24 * var(--u))); }
.case-row__img { display: block; min-height: max(220px, calc(413 * var(--u))); background: var(--dark); overflow: hidden; }
.case-row__img img { width: 100%; height: 100%; object-fit: cover; }
.case-row__body { background: var(--white); padding: max(24px, calc(70 * var(--u))) max(20px, calc(70 * var(--u))); display: flex; flex-direction: column; justify-content: center; gap: max(14px, calc(28 * var(--u))); }
.case-row__title { font-size: max(22px, calc(55 * var(--u))); line-height: .95; letter-spacing: -0.05em; color: var(--navy); font-weight: 600; max-width: 18em; }
.case-row__body p { color: var(--muted); max-width: 28em; font-weight: 300; }

.case-card { background: var(--white); padding: max(14px, calc(32 * var(--u))); display: grid; grid-template-columns: max(140px, calc(270 * var(--u))) minmax(0, 1fr); gap: max(16px, calc(40 * var(--u))); }
.case-card__img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--dark); }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; }
.case-card__body { display: flex; flex-direction: column; gap: max(10px, calc(20 * var(--u))); padding-top: max(0px, calc(12 * var(--u))); }
.case-card__title { font-size: max(20px, calc(38 * var(--u))); line-height: 1.05; letter-spacing: -0.04em; color: var(--navy); font-weight: 600; }
.case-card__body p { color: var(--muted); font-weight: 300; flex: 1; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: max(8px, calc(16 * var(--u))); margin-bottom: max(24px, calc(70 * var(--u))); }
.filter { padding: max(6px, calc(12 * var(--u))) max(14px, calc(26 * var(--u))); border: 2px solid var(--navy); font-size: max(13px, calc(16 * var(--u))); color: var(--navy); background: var(--white); transition: background .2s, color .2s; }
.filter:hover, .filter.is-active { background: var(--navy); color: var(--white); }

/* Situation card */
.situation { background: var(--white); }
.situation__head { display: flex; flex-direction: column; gap: 6px; padding: max(16px, calc(36 * var(--u))) max(16px, calc(50 * var(--u))); font-size: max(12px, calc(16 * var(--u))); color: var(--navy); }
.situation__head a { font-size: max(16px, calc(24 * var(--u))); font-weight: 600; color: var(--text); line-height: 1.2; }
.situation__head a:hover { color: var(--navy); }
.situation__part { padding: max(16px, calc(36 * var(--u))) max(16px, calc(50 * var(--u))); }
.situation__part + .situation__part:not(.situation__part--accent + .situation__part) { border-top: 1px solid var(--line); margin-inline: max(16px, calc(50 * var(--u))); padding-inline: 0; }
.situation__part--accent { background: var(--navy); color: rgba(255, 255, 255, .6); }
.situation__label { display: flex; align-items: center; gap: max(8px, calc(16 * var(--u))); font-size: max(17px, calc(30 * var(--u))); font-weight: 600; color: var(--text); margin-bottom: 8px; letter-spacing: -0.03em; }
.situation__part--accent .situation__label { color: var(--white); }
.situation__part p { color: inherit; font-weight: 300; }
.situation__part:not(.situation__part--accent) p { color: var(--muted); }
.situation__part p + p { margin-top: 10px; }

.case-single { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: max(24px, calc(48 * var(--u))); align-items: start; }
.case-single__img { margin-bottom: var(--gap); }
.case-single__main .prose { margin-top: 32px; }

/* ---------- Clients marquee ---------- */
.clients { background: var(--white); overflow: hidden; }
.clients__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: max(24px, calc(70 * var(--u))); }
.clients__head p { max-width: 24em; color: var(--muted); font-size: var(--fs-small); font-weight: 300; }
.clients .clients__head .h2 + * { margin-top: 0; }
.marquee + .marquee { margin-top: max(10px, calc(20 * var(--u))); }
.marquee__label { font-size: max(11px, calc(14 * var(--u))); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: max(10px, calc(24 * var(--u))); padding-right: max(10px, calc(24 * var(--u))); }
.pill {
	display: inline-flex; align-items: center; gap: max(10px, calc(20 * var(--u))); white-space: nowrap;
	min-height: max(52px, calc(105 * var(--u))); padding: 0 max(20px, calc(40 * var(--u)));
	background: var(--bg); font-size: max(15px, calc(30 * var(--u))); font-weight: 600; text-transform: uppercase; color: #3d4150; letter-spacing: -0.03em;
}
.pill .ico { width: max(26px, calc(48 * var(--u))); height: max(26px, calc(48 * var(--u))); flex-shrink: 0; padding: max(4px, calc(10 * var(--u))); border-radius: 50%; background: #6b6e78; color: var(--white); }
.pill--muted { color: #6b6e78; }
.pill--muted .ico { background: #9a9ca4; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.marquee__track { animation: none; flex-wrap: wrap; width: auto; }
	.marquee__list[aria-hidden] { display: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Reviews ---------- */
.reviews__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: max(24px, calc(70 * var(--u))); }
.reviews .reviews__head .h2 + * { margin-top: 0; }
.slider-nav { display: flex; gap: max(6px, calc(10 * var(--u))); }
.reviews__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * max(12px, calc(50 * var(--u)))) / 3);
	gap: max(12px, calc(50 * var(--u))); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review { background: var(--white); padding: max(20px, calc(50 * var(--u))) max(20px, calc(50 * var(--u))) max(20px, calc(40 * var(--u))); scroll-snap-align: start; display: flex; flex-direction: column; gap: max(16px, calc(32 * var(--u))); position: relative; }
.review__q { position: absolute; top: max(20px, calc(50 * var(--u))); right: max(20px, calc(50 * var(--u))); color: var(--text); transform: rotate(180deg); }
.reviews__counter { text-align: right; margin-top: max(12px, calc(24 * var(--u))); font-size: max(14px, calc(20 * var(--u))); color: var(--navy); }
.reviews__counter b { font-size: 1.5em; font-weight: 600; }
.review__text { color: var(--muted); padding-right: max(32px, calc(60 * var(--u))); font-weight: 300; }
.review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { align-self: flex-start; }
.review__author { display: flex; align-items: center; gap: max(14px, calc(26 * var(--u))); margin-top: auto; }
.review__author b { display: block; font-size: max(14px, calc(20 * var(--u))); color: var(--navy); font-weight: 600; }
.review__author small { color: var(--muted); font-size: max(13px, calc(18 * var(--u))); font-weight: 300; }
.review__avatar { width: max(56px, calc(110 * var(--u))); height: max(56px, calc(110 * var(--u))); border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review__avatar--letter { display: grid; place-items: center; background: var(--navy); color: var(--white); font-weight: 700; font-size: max(22px, calc(40 * var(--u))); }
.reviews__empty { color: var(--muted); max-width: 32em; font-weight: 300; }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: max(24px, calc(50 * var(--u))); }

/* ---------- Offers (service page) ---------- */
.offers { padding-top: max(56px, calc(190 * var(--u))); }
.offers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.offers__head { padding-right: 24px; grid-row: span 1; }
.offers__head .h2 { margin-top: max(20px, calc(70 * var(--u))) !important; }
.offer {
	min-height: max(170px, calc(312 * var(--u))); padding: max(20px, calc(44 * var(--u)));
	background: var(--dark-2); border: 1px solid #1d1c22;
	display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.offer--accent { background: var(--navy); border-color: var(--navy); }
.offer__icon { width: max(56px, calc(110 * var(--u))); height: max(56px, calc(110 * var(--u))); border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); display: grid; place-items: center; }
.offer__icon .ico { width: max(20px, calc(40 * var(--u))); height: auto; }
.offer__label { font-size: max(15px, calc(30 * var(--u))); text-transform: uppercase; line-height: 1.05; font-weight: 400; letter-spacing: -0.04em; }
.offer.offer--cta, .group.group--cta { background: transparent; border: 0; padding: 0; justify-content: flex-end; }

/* ---------- Service intro ---------- */
.svc-intro { padding-bottom: max(56px, calc(160 * var(--u))); }
.svc-intro__grid { display: grid; grid-template-columns: minmax(0, 620fr) minmax(0, 1140fr); gap: max(24px, calc(80 * var(--u))); }
.svc-intro__title { font-size: var(--fs-h2); margin-top: 0 !important; }
.svc-intro__lead { font-size: max(20px, calc(45 * var(--u))); line-height: 1.1; color: var(--text); font-weight: 600; letter-spacing: -0.04em; margin-bottom: max(20px, calc(60 * var(--u))); }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 620fr) minmax(0, 1140fr); gap: max(24px, calc(80 * var(--u))); }
.faq__title { margin-top: 0 !important; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
	display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; list-style: none;
	padding: max(18px, calc(32 * var(--u))) 0; font-size: max(17px, calc(30 * var(--u))); font-weight: 600; color: var(--navy); letter-spacing: -0.03em; line-height: 1.2;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex-shrink: 0; width: max(28px, calc(44 * var(--u))); height: max(28px, calc(44 * var(--u))); border-radius: 50%; border: 1px solid #9ea2ad; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 40%; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .25s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 max(40px, calc(90 * var(--u))) max(20px, calc(36 * var(--u))) 0; color: var(--muted); font-weight: 300; }

/* ---------- Prose ---------- */
.prose { color: var(--muted); font-weight: 300; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: max(22px, calc(38 * var(--u))); color: var(--navy); letter-spacing: -0.04em; line-height: 1.1; margin-top: 1.6em; font-weight: 600; }
.prose h3 { font-size: max(19px, calc(30 * var(--u))); color: var(--text); margin-top: 1.5em; line-height: 1.2; font-weight: 600; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose p.lead, .prose .is-style-lead { font-size: max(18px, calc(30 * var(--u))); line-height: 1.2; color: var(--text); font-weight: 500; letter-spacing: -0.03em; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose strong, .prose b { color: var(--text); font-weight: 600; }
.prose ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: max(10px, calc(24 * var(--u))) max(24px, calc(60 * var(--u))); }
.prose ul li { position: relative; padding-left: max(18px, calc(32 * var(--u))); color: var(--navy); font-weight: 400; }
.prose ul li::before { content: ""; position: absolute; left: max(4px, calc(12 * var(--u))); top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--navy); }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose ol li + li { margin-top: 6px; }
.prose blockquote, .prose .note { background: var(--gold); color: var(--white); padding: max(20px, calc(40 * var(--u))); }
.prose blockquote p { color: var(--white); }
.prose figure img { width: 100%; }
.prose--narrow { max-width: max(640px, calc(1060 * var(--u))); }
.seo-text { background: var(--white); }
.seo-text .prose { font-size: max(14px, calc(20 * var(--u))); }
.seo-text .prose h2 { font-size: max(24px, calc(45 * var(--u))); }
.article .prose { font-size: max(16px, calc(24 * var(--u))); }
.article .prose ul { grid-template-columns: minmax(0, 1fr); }
.bio__col.prose ul, .page .prose ul { grid-template-columns: minmax(0, 1fr); }

/* ---------- Page head ---------- */
.page-head { padding-top: max(28px, calc(100 * var(--u))); }
.page-head .h1 { margin-top: max(32px, calc(110 * var(--u))); }
.page-head__lead { margin-top: 20px; max-width: 760px; color: var(--muted); }
.meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: max(28px, calc(60 * var(--u))); font-size: max(13px, calc(16 * var(--u))); color: var(--muted); }
.meta-line a { color: var(--navy); font-weight: 600; }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; }
.meta-line + .h1 { margin-top: 16px; }
.big404 { font-size: clamp(100px, 18vw, 280px); font-weight: 800; letter-spacing: -0.07em; line-height: .9; color: var(--navy); margin-top: 40px; }
.page-head--404 { padding-bottom: var(--sec); }
.page-head--404 .h1 { margin-top: 16px; }

/* ---------- About ---------- */
.bio__grid {
	display: grid; grid-template-columns: minmax(0, 600fr) minmax(0, 500fr) minmax(0, 540fr);
	grid-template-areas: "tag title title" "photo a b" "c d d";
	gap: max(24px, calc(70 * var(--u))) max(24px, calc(80 * var(--u)));
}
.bio__grid .tag { grid-area: tag; align-self: start; justify-self: start; }
.bio__title { grid-area: title; margin: 0 !important; font-size: max(32px, calc(75 * var(--u))); max-width: 14em; }
.bio__photo { grid-area: photo; }
.bio__photo img { width: 100%; aspect-ratio: 600 / 365; object-fit: cover; }
.bio__col { font-size: max(15px, calc(20 * var(--u))); text-align: justify; hyphens: auto; }
.bio__col > * + * { margin-top: 0; }
.bio__col > p + p { margin-top: .4em; }
.bio__col--a { grid-area: a; }
.bio__col--b { grid-area: b; }
.bio__col--c { grid-area: c; }
.bio__col--d { grid-area: d; max-width: max(560px, calc(880 * var(--u))); }

.spec__grid { display: flex; flex-wrap: wrap; gap: max(4px, calc(10 * var(--u))); }
.spec-tile { flex: 1 1 calc(20% - 10px); min-width: 0; }
.spec-tile { position: relative; display: flex; flex-direction: column; background: var(--dark); color: var(--white); padding: max(10px, calc(24 * var(--u))); min-height: max(240px, calc(450 * var(--u))); }
.spec-tile img { width: 100%; aspect-ratio: 300 / 190; object-fit: cover; opacity: .92; transition: opacity .3s; }
.spec-tile:hover img { opacity: 1; }
.spec-tile span { margin-top: auto; padding: 24px 0 max(4px, calc(16 * var(--u))); font-size: max(18px, calc(38 * var(--u))); font-weight: 600; line-height: 1.05; letter-spacing: -0.04em; }

.pubs { padding-top: 0; }
.pubs__list { border-top: 1px solid var(--line); }
.pub { display: grid; grid-template-columns: max(110px, calc(180 * var(--u))) max(160px, calc(320 * var(--u))) 1fr; gap: 24px; padding: max(14px, calc(24 * var(--u))) 0; border-bottom: 1px solid var(--line); align-items: baseline; font-size: max(15px, calc(20 * var(--u))); }
.pub__date { color: var(--muted); font-variant-numeric: tabular-nums; }
.pub__source { font-weight: 600; }
.pub__title { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); }
.pub__title:hover { text-decoration: underline; }

/* ---------- Clients page ---------- */
.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.group { background: var(--white); padding: max(20px, calc(50 * var(--u))); min-height: max(170px, calc(312 * var(--u))); display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s; }
.group:hover { box-shadow: 0 12px 32px rgba(14, 45, 90, .12); }
.group__icon { width: max(56px, calc(110 * var(--u))); height: max(56px, calc(110 * var(--u))); border-radius: 50%; border: 1px solid #9ea2ad; display: grid; place-items: center; color: #3d4150; margin-bottom: auto; }
.group__icon .ico { width: max(22px, calc(44 * var(--u))); height: auto; }
.group__title { font-size: max(18px, calc(30 * var(--u))); font-weight: 700; color: var(--navy); line-height: 1.05; letter-spacing: -0.04em; margin-top: 24px; }
.group--cta:hover { box-shadow: none; }

/* ---------- Blog ---------- */
.post-card { background: var(--white); padding: max(12px, calc(24 * var(--u))) max(12px, calc(24 * var(--u))) max(20px, calc(40 * var(--u))); display: flex; flex-direction: column; }
.post-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: max(12px, calc(24 * var(--u))); font-size: max(12px, calc(16 * var(--u))); color: var(--muted); }
.post-card__author { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: max(13px, calc(18 * var(--u))); }
.post-card__author img { width: max(32px, calc(52 * var(--u))); height: max(32px, calc(52 * var(--u))); border-radius: 50%; object-fit: cover; }
.post-card__info { display: flex; flex-direction: column; align-items: flex-end; }
.post-card__info a { color: var(--navy); font-weight: 600; }
.post-card__img { display: block; aspect-ratio: 640 / 350; overflow: hidden; background: var(--dark); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__title { margin-top: max(16px, calc(36 * var(--u))); font-size: max(18px, calc(30 * var(--u))); line-height: 1.2; color: var(--navy); font-weight: 500; letter-spacing: -0.03em; }
.post-card__text { margin-top: max(12px, calc(24 * var(--u))); color: var(--muted); font-weight: 300; flex: 1; }
.post-card__read { margin-top: 16px; display: flex; align-items: center; gap: 6px; font-size: max(13px, calc(16 * var(--u))); color: var(--muted); }

.pager { margin-top: max(32px, calc(60 * var(--u))); }
.pager .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pager .page-numbers {
	min-width: max(40px, calc(50 * var(--u))); height: max(40px, calc(50 * var(--u))); padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	border: 2px solid var(--navy); color: var(--navy); font-size: max(13px, calc(16 * var(--u))); background: var(--white);
}
.pager .page-numbers.current, .pager .page-numbers:hover { background: var(--navy); color: var(--white); }
.pager .page-numbers.dots { border-color: transparent; background: transparent; }

.article { display: grid; grid-template-columns: minmax(0, 1460fr) minmax(280px, 690fr); gap: max(24px, calc(50 * var(--u))); align-items: start; }
.article__img { margin-bottom: max(24px, calc(50 * var(--u))); }
.article__img img { width: 100%; }
.toc { border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 36px; }
.toc__title { font-size: max(22px, calc(38 * var(--u))); font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.toc ol { list-style: decimal; padding-left: 1.4em; color: var(--muted); font-weight: 300; }
.toc li { padding: 3px 0; }
.toc a:hover { color: var(--navy); }
.article__aside { display: grid; gap: var(--gap); }
.author-card { background: var(--dark); color: var(--white); padding: max(24px, calc(50 * var(--u))); display: grid; gap: 24px; }
.author-card__head { display: flex; align-items: center; gap: 24px; }
.author-card__head img { width: max(80px, calc(180 * var(--u))); height: max(80px, calc(180 * var(--u))); border-radius: 50%; object-fit: cover; }
.author-card__head b { display: block; font-size: max(24px, calc(45 * var(--u))); letter-spacing: -0.04em; font-weight: 600; }
.author-card__head span { color: #8d8c94; font-size: max(14px, calc(24 * var(--u))); }
.author-card > p { color: #d3d2d8; font-size: max(15px, calc(24 * var(--u))); font-weight: 300; }
.follow { display: grid; gap: 6px; }
.follow a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); padding: max(14px, calc(24 * var(--u))); }
.follow b { color: var(--navy); font-size: max(13px, calc(22 * var(--u))); text-transform: uppercase; font-weight: 600; }
.aside-card { background: var(--white); padding: max(24px, calc(40 * var(--u))); display: grid; gap: 16px; }
.aside-card > p:not(.h3) { color: var(--muted); font-weight: 300; }
.aside-card--sticky { position: sticky; top: 120px; }

/* ---------- Contacts ---------- */
.contacts { display: grid; grid-template-columns: minmax(0, 1255fr) minmax(0, 560fr); gap: var(--gap); }
.contacts__form .field textarea { min-height: max(96px, calc(125 * var(--u))); }
.contacts__form { background: var(--white); padding: max(24px, calc(50 * var(--u))) max(20px, calc(50 * var(--u))); display: grid; grid-template-columns: minmax(0, 520fr) minmax(0, 680fr); gap: max(20px, calc(40 * var(--u))); }
.contacts__title { font-size: max(20px, calc(30 * var(--u))); font-weight: 600; text-transform: uppercase; color: var(--navy); line-height: 1.15; letter-spacing: -0.03em; max-width: 10em; }
.contacts__sub { margin-top: max(16px, calc(40 * var(--u))); font-size: max(13px, calc(20 * var(--u))); text-transform: uppercase; color: #3d4150; max-width: 15em; font-weight: 300; }
.contacts__avatar { width: max(100px, calc(150 * var(--u))); height: max(100px, calc(150 * var(--u))); border-radius: 50%; object-fit: cover; margin-top: max(24px, calc(40 * var(--u))); }
.contacts__card { background: var(--white); padding: max(24px, calc(64 * var(--u))) max(20px, calc(60 * var(--u))); display: flex; flex-direction: column; gap: max(14px, calc(28 * var(--u))); font-size: max(16px, calc(24 * var(--u))); font-weight: 300; }
.contacts__label { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.contacts__phone { font-size: max(22px, calc(40 * var(--u))); font-weight: 600; color: var(--navy); letter-spacing: -0.03em; white-space: nowrap; }
.contacts__card b { color: var(--navy); font-weight: 600; }
.contacts__note { font-size: max(13px, calc(18 * var(--u))); color: var(--muted); }
.contacts__map { grid-column: 1 / -1; height: max(320px, calc(820 * var(--u))); background: #e4e2db; }
.contacts__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }

/* ---------- Socials ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .2s; }
.socials a:hover { background: var(--navy); }
.socials--dark a { background: var(--bg); color: var(--navy); }
.socials--dark a:hover { color: var(--white); }

/* ---------- Legal 500 ---------- */
.l500 { display: flex; align-items: center; gap: 18px; }
.l500__seal { width: max(90px, calc(120 * var(--u))); height: max(90px, calc(120 * var(--u))); flex-shrink: 0; color: var(--gold); }
.l500__seal svg { width: 100%; height: 100%; animation: spin 40s linear infinite; }
.l500__text { font-size: max(13px, calc(16 * var(--u))); color: #b5b4bb; max-width: 22em; line-height: 1.45; }
.l500__text b { display: block; color: var(--white); font-size: 1.1em; margin-bottom: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .l500__seal svg { animation: none; } }

/* Legal 500 seal in page heroes / heads */
.l500--hero, .l500--head { position: absolute; z-index: 3; right: var(--pad); top: max(120px, calc(260 * var(--u))); }
.l500--hero .l500__seal, .l500--head .l500__seal {
	width: max(96px, calc(150 * var(--u))); height: max(96px, calc(150 * var(--u)));
	padding: max(5px, calc(8 * var(--u))); border-radius: 50%;
	background: rgba(10, 9, 12, .5); backdrop-filter: blur(4px);
	box-shadow: 0 0 0 1px rgba(240, 166, 58, .3), 0 12px 30px rgba(0, 0, 0, .35);
}
.hero--home .l500--hero { right: calc(var(--pad) + max(340px, calc(620 * var(--u)))); }
.hero--service .l500--hero { top: max(320px, calc(560 * var(--u))); }
.hero--about .l500--hero { right: auto; left: var(--pad); top: max(160px, calc(300 * var(--u))); }
.hero--page .l500--hero { top: 50%; transform: translateY(-30%); }
.page-head .container { position: relative; }
.l500--head { top: max(20px, calc(70 * var(--u))); }
.l500--head .l500__seal { background: var(--dark); }


/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--white); font-size: max(14px, calc(17 * var(--u))); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 620fr) minmax(0, 1100fr); gap: max(24px, calc(50 * var(--u))); padding-block: max(40px, calc(56 * var(--u))) max(40px, calc(64 * var(--u))); align-items: start; }
.site-footer__about { display: flex; flex-direction: column; gap: max(24px, calc(44 * var(--u))); }
.site-footer__brand { display: flex; gap: max(20px, calc(48 * var(--u))); align-items: flex-start; }
.site-footer__tagline { color: #8d8c94; font-size: max(12px, calc(14 * var(--u))); max-width: 20em; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px max(18px, calc(30 * var(--u))); }
.site-footer__nav a { position: relative; padding-left: max(18px, calc(24 * var(--u))); }
.site-footer__nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: max(10px, calc(12 * var(--u))); height: 1px; background: #55545c; }
.site-footer__nav a:hover, .site-footer__services a:hover, .site-footer__contacts a:hover { color: var(--gold); }
.site-footer__contacts { display: flex; flex-wrap: wrap; gap: 12px max(24px, calc(48 * var(--u))); color: #b5b4bb; font-size: max(13px, calc(17 * var(--u))); }
.site-footer__contacts li { display: flex; gap: 10px; }
.site-footer__contacts .ico { flex-shrink: 0; margin-top: 2px; color: var(--white); }
.site-footer__services { border: 1px solid var(--line-dark); padding: max(20px, calc(44 * var(--u))) max(20px, calc(44 * var(--u))) max(24px, calc(60 * var(--u))); }
.site-footer__title { font-size: max(12px, calc(14 * var(--u))); text-transform: uppercase; letter-spacing: .08em; color: #8d8c94; margin-bottom: max(14px, calc(24 * var(--u))); }
.site-footer__services ul { display: flex; flex-wrap: wrap; gap: max(12px, calc(28 * var(--u))) max(20px, calc(30 * var(--u))); }
.site-footer__about .l500 { margin-top: max(0px, calc(8 * var(--u))); }
.site-footer__bottom { border-top: 1px solid var(--line-dark); background: var(--dark-2); }
.site-footer__bottom-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px 32px; padding-block: max(20px, calc(40 * var(--u))); font-size: max(12px, calc(16 * var(--u))); }
.site-footer__bottom-row > :last-child { justify-self: end; }
.site-footer__bottom a:hover { color: var(--gold); }
.site-footer__seo { color: var(--white); }

/* ---------- Modal ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: min(640px, calc(100% - 32px)); width: 100%; }
.modal::backdrop { background: rgba(10, 9, 12, .7); backdrop-filter: blur(3px); }
.modal__box { position: relative; background: var(--bg); padding: max(24px, calc(50 * var(--u))); display: grid; gap: 14px; font-size: max(15px, calc(18 * var(--u))); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; }
.modal__hint { color: var(--muted); margin-top: -6px; }
.modal .field input, .modal .field textarea { background: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1400px) {
	.topnav ul { gap: 20px; }
	.header-phone span { display: none; }
	.cta__title b { padding-left: .9em; }
	.site-footer__top { grid-template-columns: minmax(0, 1fr); }
	.prose ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
	.topnav, .header-phone { display: none; }
	.menu-btn { margin-left: auto; }
	.mega { max-height: calc(100vh - 72px); }
	.mega__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 32px 40px; }
	.mega__col--services { grid-column: 1 / -1; }

	.grid-4, .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
	.stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats__title { grid-column: 1 / -1; margin-bottom: 16px; }
	.stats__grid .stat:first-of-type, .stats__grid .stat:nth-of-type(2) { margin-top: 0; }
	.stats__grid .stat:nth-of-type(6) { grid-column: auto; }
	.about-teaser__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.about-teaser__text { grid-column: 1 / -1; }
	.about-teaser__text .tag { margin-bottom: 24px; }
	.cta__card { grid-template-columns: minmax(0, 1fr); }
	.grid-2 { grid-template-columns: minmax(0, 1fr); }
	.svc-intro__grid, .bio__grid, .case-single, .article, .contacts { grid-template-columns: minmax(0, 1fr); }
	.bio__grid { grid-template-areas: "tag" "title" "photo" "a" "b" "c" "d"; }
	.contacts__map { grid-column: auto; }
	.site-footer__top { grid-template-columns: minmax(0, 1fr); }
	.aside-card--sticky { position: static; }

	.hero__form { grid-template-columns: minmax(0, 1fr); }
	.hero--service .hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumbs" "title" "." "plaques" "form"; }
	.hero--service .plaques { justify-items: start; }
	.hero--service .plaques--left .plaque { padding: 8px 40px 8px 18px; justify-content: flex-start; }
	.hero--service .plaques--left .plaque::before { transform: none; }
}

/* ==========================================================================
   Tablets (761–1100): stacked heroes, 2-column grids, readable type.
   ========================================================================== */
@media (min-width: 761px) and (max-width: 1100px) {
	:root { --fs-body: 16px; --fs-small: 14px; --fs-h2: 40px; --fs-btn: 14px; --pad: 32px; --gap: 12px; --sec: 72px; }
	.services-home__grid, .offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.services-home__head, .offers__head { grid-column: auto; padding-right: 16px; }
	.spec-tile { flex-basis: calc(33.333% - 10px); min-height: 220px; }
	.spec-tile span { font-size: 20px; }
	.reviews__track { grid-auto-columns: calc((100% - var(--gap)) / 2); }
	.groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat__label { font-size: 12px; }
	.stat__value { font-size: 32px; padding-left: 0; }
	.bio__col { text-align: left; }
	.about-teaser__text p { max-width: none; }
	.svc-card__title, .case-card__title { font-size: 22px; }
	.case-row__title { font-size: 26px; }
	.offer__label { font-size: 16px; }
	.group__title { font-size: 20px; }
	.cta__card { grid-template-columns: minmax(0, 1fr); }
	.cta__box { max-width: 560px; }
	.about-teaser__text .h3 { max-width: none; }
	.seo-text .prose { font-size: 15px; }
	.pub { font-size: 15px; }

	.hero__name { font-size: 12.5vw; margin: 0; }
	.hero__kicker { position: static; display: block; font-size: .36em; filter: none; margin-bottom: .08em; }
	.hero__aside, .hero--home .hero__aside, .hero--about .hero__aside { justify-self: start; max-width: 560px; width: auto; font-size: 18px; margin: 0; }
	.hero--home, .hero--about { min-height: 0; }
	.hero--home .hero__inner {
		grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(34vw, 1fr) auto auto auto;
		grid-template-areas: "plaques" "." "name" "aside" "form"; gap: 18px;
		padding-top: 110px;
	}
	.hero--about .hero__inner {
		grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(40vw, 1fr) auto auto auto;
		grid-template-areas: "crumbs" "." "name" "aside" "btn"; gap: 18px;
	}
	.hero__btn { justify-self: start; }
	.hero::before {
		background: linear-gradient(0deg, rgba(10, 9, 12, .9) 0%, rgba(10, 9, 12, .45) 45%, rgba(10, 9, 12, 0) 70%),
			linear-gradient(180deg, rgba(10, 9, 12, .5) 0%, rgba(10, 9, 12, 0) 20%);
	}
	.hero--home { background-position: 40% top; }
	.hero__form { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.hero__form-lead { max-width: none; }
	.site-footer__services ul { font-size: 14px; }
	.l500--hero, .hero--home .l500--hero, .hero--about .l500--hero, .hero--service .l500--hero { top: 100px; right: var(--pad); left: auto; transform: none; }
	.faq__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* Elements that exist only on phones */
.header-call, .mobile-bar { display: none; }

@media (max-width: 1100px) {
	.header-call {
		display: grid; place-items: center; order: 2; margin-left: auto;
		width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
	}
	.menu-btn { order: 3; margin-left: 0; }
}

/* ==========================================================================
   Phones (≤760px): separate composition, not a squeezed desktop.
   ========================================================================== */
@media (max-width: 760px) {
	:root {
		--pad: 16px;
		--gap: 8px;
		--sec: 48px;
		--fs-body: 15px;
		--fs-small: 13px;
		--fs-h2: 28px;
		--fs-btn: 13px;
		--ctl-h: 50px;
	}
	.site-footer__bottom { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.section .h2 + * { margin-top: 20px; }
	.h3 { font-size: 20px; }
	.h1, .page-head .h1 { font-size: 30px; }
	.h1--md { font-size: 26px; }
	.btn { padding-inline: 18px; }
	.tag { font-size: 11px; padding: 3px 10px; }
	.link-arrow { font-size: 12px; }

	/* Header + menu */
	.site-header__row, .site-header.is-fixed .site-header__row { min-height: 60px; gap: 12px; }
	.logo { gap: 10px; }
	.logo__mark { width: 34px; height: 34px; }
	.logo__text { font-size: 13px; }
	.menu-btn__label { display: none; }
	.menu-btn { width: 44px; height: 44px; justify-content: center; margin-right: -9px; }
	.menu-btn .ico { width: 26px; }
	.mega { max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); }
	.mega__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 20px 88px; }
	.mega__services { columns: 1; margin-bottom: 12px; }
	.mega__services a, .mega__nav a { font-size: 16px; padding: 8px 0; border-bottom: 1px solid var(--line-dark); }
	.mega__nav { columns: 2; column-gap: 20px; }
	.mega__phone { font-size: 22px; }
	.mega__col--contacts .btn { width: 100%; }

	/* Sticky contact bar */
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: rgba(23, 22, 27, .96); backdrop-filter: blur(8px);
		border-top: 1px solid var(--line-dark);
	}
	.mobile-bar a {
		display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px;
		font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--white);
	}
	.mobile-bar__call { border: 1px solid rgba(255, 255, 255, .35); }
	.mobile-bar__lead { background: var(--navy); }
	html:has(.mega:not([hidden])) .mobile-bar { display: none; }

	/* Breadcrumbs */
	.crumbs ol { font-size: 11px; gap: 4px 10px; }
	.crumbs li { gap: 10px; }

	/* Plaques: small chips in a row */
	.plaques, .plaques--left { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
	.plaque, .plaques--left .plaque {
		min-width: 0; min-height: 30px; padding: 5px 20px 5px 10px;
		font-size: 11px; letter-spacing: 0; justify-content: flex-start;
	}
	.plaques--left .plaque::before { transform: none; }
	.plaque::before { filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .4)); }

	/* Heroes with a person: portrait crop on top, content below */
	.hero--home, .hero--service, .hero--about {
		min-height: 0; display: block;
		background: var(--dark) var(--hero-bg-m, var(--hero-bg)) center top / 100% auto no-repeat;
	}
	.hero--home::before, .hero--service::before, .hero--about::before {
		background: linear-gradient(180deg,
			rgba(10, 9, 12, .6) 0, rgba(10, 9, 12, 0) 110px,
			rgba(10, 9, 12, 0) calc(122vw - 240px), var(--dark) 122vw, var(--dark) 100%);
	}
	.hero__inner { padding-top: 72px; padding-bottom: 24px; }
	.hero__name {
		font-size: 15.5vw; line-height: .86; letter-spacing: -0.07em; white-space: normal;
		margin: 0; font-weight: 500;
	}
	.hero__kicker { position: static; display: block; font-size: .34em; filter: none; text-shadow: none; margin-bottom: .12em; letter-spacing: -0.04em; }
	.hero__aside, .hero--home .hero__aside, .hero--about .hero__aside { font-size: 13px; line-height: 1.3; max-width: none; width: auto; justify-self: start; margin: 0; }
	.hero__form { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.hero__form-lead { font-size: 11px; max-width: none; }
	.hero__form-lead b { font-size: 17px; margin-bottom: 4px; }
	.lead-form--bar { padding: 10px; }
	.lead-form--bar .lead-form__fields { grid-template-columns: minmax(0, 1fr); gap: 8px; }

	.hero--home .hero__inner {
		display: grid; grid-template-columns: minmax(0, 1fr);
		grid-template-rows: max(0px, calc(122vw - 330px)) auto auto auto auto;
		grid-template-areas: "." "plaques" "name" "aside" "form"; gap: 14px;
		padding-top: 72px;
	}
	.hero--home .plaques { margin: 0; align-self: start; }

	.hero--service .hero__inner {
		display: grid; grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto max(0px, calc(122vw - 390px)) auto auto auto;
		grid-template-areas: "crumbs" "." "plaques" "title" "form"; gap: 14px;
	}
	.hero--service .crumbs { margin: 0; }
	.hero--service .plaques { align-self: start; }
	.hero__title { margin: 0; }
	.hero__pre { font-size: 18px; }
	.hero__h1 { font-size: 34px; line-height: 1; letter-spacing: -0.05em; margin-top: 6px; max-width: none; }

	.hero--about .hero__inner {
		display: grid; grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto calc(122vw - 250px) auto auto auto;
		grid-template-areas: "crumbs" "." "name" "aside" "btn"; gap: 14px;
	}
	.hero--about .crumbs { margin: 0; }
	.hero--about .hero__aside { gap: 12px; }
	.hero__btn { justify-self: stretch; margin: 0; }

	.hero--page { min-height: 300px; }
	.hero--page .hero__inner { padding-bottom: 28px; }
	.hero--page .crumbs { margin: 0; }
	.hero__caps { font-size: 11px; }

	/* Page heads */
	.page-head { padding-top: 20px; }
	.page-head .h1 { margin-top: 24px; }
	.page-head__lead { font-size: 15px; }
	.meta-line { margin-top: 20px; font-size: 12px; }

	/* Stats: 2 compact columns */
	.stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; grid-auto-rows: 1fr; align-items: stretch; gap: 8px; }
	.stats__title { grid-column: 1 / -1; margin-bottom: 12px; font-size: 30px; }
	.stats__grid .stat:first-of-type, .stats__grid .stat:nth-of-type(2) { margin-top: 0; }
	.stats__grid .stat:nth-of-type(6) { grid-column: auto; }
	.stat { min-height: 0; padding: 14px 12px; gap: 14px; }
	.stat__label { font-size: 11.5px; padding-right: 36px; gap: 5px; letter-spacing: -0.01em; }
	.stat__label .ico { width: 10px; }
	.stat__value { font-size: 24px; padding-left: 0; }
	.stat__icon { width: 32px; height: 32px; top: 10px; right: 10px; }
	.stat__icon .ico { width: 15px; }

	/* About teaser */
	.about-teaser { padding-top: 8px; }
	.about-teaser__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.about-teaser__text .tag { margin-bottom: 16px; }
	.about-teaser__text .h3 { margin-bottom: 14px; max-width: none; }
	.about-teaser__text p + p { margin-top: 10px; }
	.about-teaser__photo img { min-height: 0; aspect-ratio: 1 / 1; object-position: 60% 20%; }
	.about-teaser__name { font-size: 34px; margin-bottom: 8px; }
	.num-list { margin-bottom: 20px; }
	.num-list li { min-height: 52px; gap: 14px; }

	/* CTA */
	.cta, .cta--dark { background: var(--bg); padding-block: 0 var(--sec); }
	.cta__card { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 12px 12px; min-height: 0; }
	.cta__title { font-size: 32px; padding-inline: 8px; }
	.cta__title b { padding-left: 1em; }
	.cta__box { padding: 18px 16px; }
	.cta__lead { gap: 12px; margin-bottom: 16px; }
	.cta__lead .ico { width: 22px; }
	.cta__lead p { font-size: 14px; }

	/* Service / case / post lists: compact rows instead of tall cards */
	.services-home__grid, .grid-4, .grid-3, .grid-2, .results__list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.services-home__head { gap: 12px; padding: 0 0 8px; }
	.services-home__head .h2 { margin-top: 4px !important; }

	.svc-card, .case-card, .case-row {
		position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr);
		gap: 4px 14px; align-items: center; padding: 10px; background: var(--white);
	}
	.section--dark .svc-card { background: var(--bg); }
	.svc-card__img, .case-card__img, .case-row__img { grid-row: 1 / span 2; aspect-ratio: 1; min-height: 0; width: 84px; height: 84px; }
	.svc-card__title, .case-card__title, .case-row__title { margin: 0; font-size: 16px; line-height: 1.15; letter-spacing: -0.02em; align-self: end; max-width: none; }
	.svc-card__text { margin: 0; font-size: 12.5px; line-height: 1.35; align-self: start; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.svc-card__more, .case-card .link-arrow, .case-row .link-arrow { display: none; }
	.svc-card__title a::after, .case-card__title a::after, .case-row__title a::after { content: ""; position: absolute; inset: 0; }
	.case-row__body, .case-card__body { display: contents; }
	.case-row__body p, .case-card__body p { margin: 0; font-size: 12.5px; line-height: 1.35; align-self: start; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.section__foot .btn { min-width: 0; width: 100%; }

	.post-card__title { font-size: 17px; }
	.filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
	.filter { white-space: nowrap; }

	/* Clients marquee */
	.clients__head p { font-size: 13px; }
	.pill { min-height: 42px; padding: 0 14px; font-size: 13px; gap: 8px; }
	.pill .ico { width: 22px; height: 22px; padding: 4px; }

	/* Reviews */
	.reviews__head { margin-bottom: 16px; }
	.round-btn { width: 42px; height: 42px; }
	.reviews__track { grid-auto-columns: 86%; gap: 8px; }
	.review { padding: 18px 16px; gap: 14px; }
	.review__text { font-size: 14px; padding-right: 24px; }
	.review__q { top: 16px; right: 14px; }
	.review__avatar { width: 44px; height: 44px; }
	.review__avatar--letter { font-size: 18px; }
	.reviews__actions .btn { flex: 1 1 100%; }

	/* Service page */
	.svc-intro__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.svc-intro__lead { font-size: 19px; margin-bottom: 18px; }
	.prose ul { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.prose h2 { font-size: 21px; }
	.prose p.lead { font-size: 18px; }
	.offers, .services-home { padding-top: var(--sec); }
	.offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.offers__head { grid-column: 1 / -1; padding: 0 0 10px; }
	.offers__head .h2 { margin-top: 14px !important; font-size: 26px; }
	.offer { min-height: 118px; padding: 14px 12px; gap: 12px; }
	.offer__icon { width: 40px; height: 40px; }
	.offer__icon .ico { width: 18px; }
	.offer__label { font-size: 12px; line-height: 1.15; letter-spacing: -0.02em; }
	.offer.offer--cta, .group.group--cta { grid-column: 1 / -1; min-height: 0; order: 99; }

	/* FAQ */
	.faq__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.faq__q { font-size: 16px; padding: 16px 0; gap: 14px; }
	.faq__a { padding: 0 0 16px; font-size: 14.5px; }

	/* About page */
	.bio__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tag" "title" "photo" "a" "b" "c" "d"; gap: 16px; }
	.bio__title { font-size: 28px; }
	.bio__col { font-size: 14.5px; text-align: left; }
	.bio__col--d { max-width: none; }
	.spec__grid { gap: 6px; }
	.spec-tile { flex-basis: calc(50% - 6px); }
	.spec-tile { min-height: 0; padding: 8px; }
	.spec-tile span { font-size: 15px; padding: 12px 2px 4px; }
	.pub { grid-template-columns: minmax(0, 1fr); gap: 2px; font-size: 14px; }

	/* Clients page */
	.groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.group { min-height: 0; padding: 14px 12px; }
	.group__icon { width: 40px; height: 40px; }
	.group__icon .ico { width: 18px; }
	.group__title { font-size: 15px; margin-top: 16px; }
	.situation__head, .situation__part { padding: 14px; }
	.situation__part + .situation__part:not(.situation__part--accent + .situation__part) { margin-inline: 14px; }
	.situation__label { font-size: 16px; }

	/* Contacts */
	.contacts__form { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 16px; }
	.contacts__avatar { display: none; }
	.contacts__sub { margin-top: 8px; }
	.contacts__card { padding: 20px 16px; gap: 12px; font-size: 15px; }
	.contacts__phone { font-size: 24px; }
	.contacts__map { height: 300px; }

	/* Article */
	.article .prose { font-size: 15px; }
	.author-card { padding: 20px; }
	.author-card__head img { width: 64px; height: 64px; }
	.author-card__head b { font-size: 20px; }

	/* Footer */
	.site-footer { font-size: 14px; }
	.site-footer__top { gap: 24px; padding-block: 32px; }
	.site-footer__brand { flex-direction: column; gap: 12px; }
	.site-footer__contacts { flex-direction: column; gap: 10px; }
	.site-footer__contacts a, .site-footer__nav a, .site-footer__bottom a { display: inline-block; padding-block: 6px; }
	.site-footer__services a { display: inline-block; padding-block: 4px; }
	.contacts__mail { display: inline-block; padding-block: 8px; }
	.review__more { padding-block: 8px; }
	.services-home__head .link-arrow { padding-block: 10px; }
	.site-footer__services { padding: 16px; }
	.site-footer__services ul { gap: 10px 16px; font-size: 13px; }
	.site-footer__bottom-row { grid-template-columns: minmax(0, 1fr); padding-block: 16px; }
	.site-footer__bottom-row > :last-child { justify-self: start; }
	.l500__seal { width: 72px; height: 72px; }
	.l500--hero, .hero--home .l500--hero, .hero--about .l500--hero, .hero--service .l500--hero, .hero--page .l500--hero { top: 96px; right: 16px; left: auto; transform: none; }
	.l500--hero .l500__seal, .l500--head .l500__seal { width: 84px; height: 84px; padding: 4px; }
	.l500--head { top: 14px; right: 16px; }
	.l500--head + .crumbs, .page-head .h1 { padding-right: 96px; }
}
