:root {
  --bg: #F6F4EE;
  --bg-alt: #EDE8DD;
  --panel: #FFFFFF;
  --ink: #191A17;
  --ink-soft: #5B5C54;
  --ink-faint: #8B8C82;
  --line: #E1DCCE;
  --gold: #F3CA32;
  --gold-warm: #E3A430;
  --gold-deep: #93701A;
  --gold-soft: #FBEEC2;
  --night: #141310;
  --night-soft: #242019;
  --ok: #4C6A4A;
  --radius: 20px;
  --radius-sm: 10px;
  --card-pad: 26px;
  --section-space: clamp(72px, 8vw, 112px);
  --shadow: 0 12px 36px rgba(23, 23, 18, 0.10);
  --shadow-lg: 0 24px 60px rgba(23, 23, 18, 0.16);
  --container: 1180px;
  --disp: 'Unbounded', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px;}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--disp); line-height: 1.08; margin: 0; letter-spacing: -0.01em; overflow-wrap: break-word; }
h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -0.015em; }
li { min-width: 0; }

section { padding: 76px 0; padding-block: clamp(64px, 7vw, 96px); scroll-margin-top: 88px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.hero-grid, .hero-grid > div, .process-list, .process-item, .trust-grid, .trust-card, .team-grid, .team-card, .cases-grid, .case-card, .guarantee-grid, .guarantee-card, .reviews-grid, .review-card, .footer-grid, .footer-col, .video-block, .diag, .diag-content, .stats .container, .ticket-row, .ticket-meta, .ticket-seal, .hero-badges, .hero-badge { min-width: 0; }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); display: block; margin: 0 0 14px; max-width: 100%; overflow-wrap: break-word; }
.eyebrow::before { content: ""; display: inline-block; width: 16px; height: 1px; background: var(--gold-deep); margin-right: 8px; vertical-align: middle; }
.section-head { margin-bottom: 40px; }
.section-sub { color: var(--ink-soft); font-size: 16px; max-width: 560px; margin: 14px 0 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 26px; border-radius: 100px; border: none; font-weight: 700; font-size: 15px; font-family: var(--body); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--night); box-shadow: 0 10px 24px rgba(243, 202, 50, 0.4); }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--night-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

header { position: sticky; top: 0; z-index: 100; background: rgba(246, 244, 238, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
header.scrolled { box-shadow: 0 6px 20px rgba(23, 23, 18, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; position: relative; z-index: 100; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.logo-mark { background: var(--night); border-radius: 11px; display: flex; align-items: center; gap: 9px; padding: 8px 13px 8px 9px; flex-shrink: 0; }
.logo-mark img { width: auto !important; height: 46px !important; max-width: 230px; object-fit: contain; display: block; flex-shrink: 0; }
.logo-word { font-family: var(--disp); font-weight: 700; font-size: 14px; line-height: 1.15; color: var(--gold); letter-spacing: -0.01em; white-space: nowrap; }
.logo-word small { display: block; font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .12em; color: #B9B7A8; text-transform: uppercase; margin-top: 2px; }
nav.main-nav { display: flex; gap: 7px; font-size: 12px; font-weight: 600; flex-shrink: 1; white-space: nowrap; }
nav.main-nav a { color: var(--ink-soft); transition: color .15s; }
nav.main-nav a:hover { color: var(--ink); }
.header-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-cta { padding: 10px 18px !important; font-size: 13.5px !important; flex-shrink: 0; }
.header-phone { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 6px; white-space: nowrap; flex-shrink: 0; }
.header-phone svg { width: 16px; height: 16px; color: var(--gold-deep); flex-shrink: 0; }

.burger { display: none; background: none; border: none; width: 40px; height: 40px; position: relative; flex-shrink: 0; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 24px; }
.burger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav { display: none; position: fixed; inset: 0; background: var(--bg); z-index: 99; height: 100vh; padding: calc(76px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; font-size: 20px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--disp); }
.mobile-nav .btn { margin-top: 24px; text-align: center; }

.top-social { display: flex; gap: 6px; align-items: center; }
.top-social a, .footer-social-icons a { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: #fff; transition: .2s; overflow: hidden; }
.top-social a:hover, .footer-social-icons a:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 7px 16px rgba(0, 0, 0, .12); }
.top-social img, .footer-social-icons img { width: 20px; height: 20px; object-fit: contain; }
.top-social .max-logo, .footer-social-icons .max-logo { width: 23px; height: 23px; }

.hero { padding: 56px 0 84px; position: relative; overflow: hidden; background: var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(1100px 520px at 12% -10%, rgba(243, 202, 50, 0.10), transparent 60%); }
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--gold-deep); }
.hero .eyebrow::before { background: var(--gold-deep); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.hero-grid > div:first-child { align-self: center; }
.hero h1 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 800; color: var(--ink); }
.hero h1 .hl { color: var(--gold-deep); }
.hero-lead { font-size: 18px; color: var(--ink-soft); max-width: 520px; margin: 20px 0 30px; }
.hero-proofline { margin: 22px 0 0; font-family: var(--mono); font-size: 12px; line-height: 1.6; letter-spacing: .025em; color: var(--ink-soft); }
.hero-proofline strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-actions .btn { min-width: 220px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-badge { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 100px; padding: 9px 16px 9px 10px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.hero-badge .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--gold-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-badge .dot svg { width: 12px; height: 12px; color: var(--gold-deep); }

.hero-visual { position: relative; }
.hero-photo-frame { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); background: var(--night); }
.hero-main-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.hero-photo-frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(10, 9, 7, 0.85) 0%, rgba(10, 9, 7, 0.15) 42%, rgba(10, 9, 7, 0) 65%); }
.hero-photo-tag { position: absolute; left: 22px; bottom: 20px; z-index: 2; color: #fff; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; pointer-events: none; }
.hero-photo-tag .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-warm); box-shadow: 0 0 0 4px rgba(241, 197, 110, 0.25); flex-shrink: 0; }
.hero-visual .order-card { position: relative; z-index: 2; margin: -150px 0 0 26px; width: calc(100% - 26px); }

.order-card { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; position: relative; }
.order-card h3 { font-size: 20px; margin-bottom: 4px; }
.order-card p { color: var(--ink-soft); font-size: 14px; margin: 0 0 18px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); margin-bottom: 6px; font-family: var(--mono); }
.field input, .field select { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); font-size: 15px; font-family: var(--body); font-weight: 600; background: #fff; color: var(--ink); transition: border-color .15s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field.error input { border-color: #B5493F; }
.field-error-msg { color: #B5493F; font-size: 12px; margin-top: 5px; display: none; font-weight: 600; position: absolute; }
.field.error .field-error-msg { display: block; }
.form-note { font-size: 12px; color: var(--ink-faint); margin-top: 12px; line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.form-success svg { width: 44px; height: 44px; color: var(--ok); margin-bottom: 10px; }

.ticket { position: relative; background: var(--night); color: #fff; border-radius: 14px; padding: 20px 22px; margin-top: -14px; margin-left: 14px; margin-right: 14px; box-shadow: var(--shadow); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); }
.ticket::before { left: 24px; }
.ticket::after { right: 24px; }
.ticket-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket-meta { font-family: var(--mono); font-size: 12px; color: #B9B7A8; letter-spacing: .04em; }
.ticket-seal { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--gold-soft); border: 1px dashed rgba(241, 227, 198, 0.4); border-radius: 100px; padding: 6px 12px; }
.ticket-seal svg { width: 14px; height: 14px; color: var(--gold-soft); }

.stats { background: var(--night); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 40px 20px; }
.stat-num { font-family: var(--disp); font-weight: 700; font-size: clamp(22px, 3vw, 32px); color: var(--gold-warm); }
.stat-label { font-size: 12.5px; color: #B9B7A8; margin-top: 4px; line-height: 1.4; }

.services-section { background: #f1efe8; }
.service-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trust-grid, .services-grid, .cases-grid, .reviews-grid, .process-list { align-items: stretch; }
.trust-card, .service-card, .case-card, .review-card, .process-item { height: 100%; padding: var(--card-pad); border-radius: var(--radius); box-shadow: var(--shadow); }
.service-item { display: flex; flex-direction: column; min-height: 220px; padding: 24px; background: #fff; border: 1px solid #ddd9cc; border-radius: 18px; box-shadow: 0 10px 28px rgba(24, 22, 16, .045); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-item:hover { transform: translateY(-3px); border-color: #d1ad27; box-shadow: 0 16px 34px rgba(24, 22, 16, .09); }
.service-num { font-family: var(--mono); font-size: 12px; color: #a07b00; letter-spacing: .08em; margin-bottom: 24px; }
.service-item h3 { font-size: 19px; line-height: 1.18; margin-bottom: 9px; color: var(--ink); }
.service-item p { font-size: 13px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 20px; }
.service-link { margin-top: auto; font-size: 12.5px; font-weight: 750; color: #8b6900; }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.service-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #171612; color: #e7bd2f; box-shadow: inset 0 0 0 1px rgba(231, 189, 47, .24); }
.service-icon svg { width: 25px; height: 25px; }
.service-top .service-num { margin: 4px 0 0; }
.service-item:hover .service-icon { background: #e7bd2f; color: #171612; }
.privacy { color: #8b6900; font-weight: 600; }

.service-catalog:not(.single) .service-item:nth-child(13) { display: none !important; }
.service-catalog .service-item:nth-child(8) { order: 1; }
.service-catalog .service-item:nth-child(2) { order: 2; }
.service-catalog .service-item:nth-child(3) { order: 3; }
.service-catalog .service-item:nth-child(4) { order: 4; }
.service-catalog .service-item:nth-child(1) { order: 5; }
.service-catalog .service-item:nth-child(5) { order: 6; }
.service-catalog .service-item:nth-child(7) { order: 7; }
.service-catalog .service-item:nth-child(11) { order: 8; }
.service-catalog .service-item:nth-child(12) { order: 9; }
.service-catalog .service-item:nth-child(6) { order: 10; }
.service-catalog .service-item:nth-child(9) { order: 11; }
.service-catalog .service-item:nth-child(10) { order: 12; }
.service-catalog .service-item:nth-child(13) { order: 13; }
.service-catalog .service-num { font-size: 0; }
.service-catalog .service-num::after { font-size: 12px; }
.service-catalog .service-item:nth-child(8) .service-num::after { content: '01'; }
.service-catalog .service-item:nth-child(2) .service-num::after { content: '02'; }
.service-catalog .service-item:nth-child(3) .service-num::after { content: '03'; }
.service-catalog .service-item:nth-child(4) .service-num::after { content: '04'; }
.service-catalog .service-item:nth-child(1) .service-num::after { content: '05'; }
.service-catalog .service-item:nth-child(13) .service-num::after { content: '13'; }
.service-catalog .service-item:nth-child(5) .service-num::after { content: '06'; }
.service-catalog .service-item:nth-child(7) .service-num::after { content: '07'; }
.service-catalog .service-item:nth-child(11) .service-num::after { content: '08'; }
.service-catalog .service-item:nth-child(12) .service-num::after { content: '09'; }
.service-catalog .service-item:nth-child(6) .service-num::after { content: '10'; }
.service-catalog .service-item:nth-child(9) .service-num::after { content: '11'; }
.service-catalog .service-item:nth-child(10) .service-num::after { content: '12'; }

.symptom-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 16px; padding: 22px 24px; background: #fff; border: 1px solid #ddd9cc; border-radius: 18px; }
.symptom-cta > div { display: flex; flex-direction: column; gap: 4px; }
.symptom-cta strong { font-size: 17px; }
.symptom-cta span { font-size: 13px; color: var(--ink-soft); }

#diagnostics, #offers { padding-block: clamp(72px, 8vw, 104px); }
.diag { background: var(--night); color: #fff; border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.diag-media { position: relative; min-height: 420px; }
.diag-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.diag-content { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.diag .eyebrow { color: var(--gold-warm); }
.diag .eyebrow::before { background: var(--gold-warm); }
.diag h2 { color: #fff; }
.diag-points { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.diag-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: #D9D7C9; }
.diag-points svg { width: 20px; height: 20px; color: var(--gold-warm); flex-shrink: 0; margin-top: 2px; }

.process-section { padding: 34px 0 48px; background: var(--bg); }
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.process-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.process-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.process-step-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #171612; color: #f2c72d; border: 1px solid rgba(23, 22, 18, .12); transition: background .22s ease, color .22s ease, transform .22s ease; }
.process-step-icon svg { width: 24px; height: 24px; }
.process-top .process-num { font-family: var(--mono); font-weight: 600; margin: 0; font-size: 12px; padding: 7px 9px; border-radius: 999px; background: #f5edcf; color: #8a6810; }
.process-item:hover .process-step-icon { background: #f2c72d; color: #171612; transform: translateY(-2px); }
.process-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.process-item p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

.guarantee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guarantee-card { background: var(--panel); border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.guarantee-card .num { font-family: var(--mono); font-size: 12px; color: var(--gold-deep); letter-spacing: .06em; }
.guarantee-card h3 { font-size: 17px; font-weight: 700; margin: 10px 0 8px; }
.guarantee-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.trust-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.trust-icon svg { width: 22px; height: 22px; color: var(--gold-deep); }
.trust-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.trust-card p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

#offers { position: relative; background: #14130f; color: #fff; overflow: hidden; }
#offers::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 360px at 10% 0%, rgba(255, 210, 41, .09), transparent 68%), radial-gradient(600px 340px at 100% 100%, rgba(255, 210, 41, .055), transparent 70%); }
#offers .container { position: relative; z-index: 1; }
#offers .eyebrow { color: #e1b92d; }
#offers .eyebrow::before { background: #e1b92d; }
#offers .section-head h2 { color: #fff; }
#offers .section-sub { color: #aaa79e; }
.offers-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; align-items: stretch; gap: 20px; }
.offer-card, .offer-card.featured { grid-column: auto; grid-row: auto; display: flex; flex-direction: column; height: 100%; background: #201f1a; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: 0 18px 42px rgba(0, 0, 0, .2); transition: transform .25s ease, border-color .25s ease; }
#offers .offer-card:hover { transform: translateY(-3px); border-color: rgba(255, 210, 41, .3); }
.offer-card-photo { position: relative; overflow: hidden; background: #24231e; aspect-ratio: 16/10; }
.offer-card.featured .offer-card-photo { aspect-ratio: 16/10; }
.offer-card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 11, 9, .9) 0%, rgba(12, 11, 9, .22) 60%, rgba(12, 11, 9, .04) 100%); }
.offer-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; filter: saturate(.86) contrast(1.02); }
#offers .offer-card:hover .offer-card-photo img { transform: scale(1.025); }
.offer-badge { position: absolute; top: 14px; right: 14px; z-index: 2; font-family: var(--mono); font-size: 13px; line-height: 1; font-weight: 800; padding: 9px 14px; background: #ffd229; color: #111; border: 1px solid rgba(0, 0, 0, .08); border-radius: 100px; box-shadow: 0 4px 14px rgba(0, 0, 0, .16); }
.offer-card-caption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff; }
.offer-card-caption h3 { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.08; color: #fff; margin-bottom: 4px; }
.offer-card-hook { font-size: 12px; color: #f0cf64; font-weight: 600; margin-bottom: 4px; }
.offer-card-body { display: flex; flex-direction: column; flex: 1; padding: 21px; background: linear-gradient(180deg, #201f1a, #1b1a16); }
.offer-card-body p { font-size: 14px; line-height: 1.55; color: #bbb8ae; min-height: 44px; margin: 0 0 18px; }
.offer-card-body .btn { margin-top: auto; min-height: 54px; display: flex; align-items: center; justify-content: center; line-height: 1.2; text-align: center; padding: 12px 18px; background: transparent; color: #f3cf4b; border: 1px solid rgba(243, 207, 75, .62); box-shadow: none; }
.offer-card-body .btn:hover { background: #f3cf4b; color: #171510; border-color: #f3cf4b; transform: none; }

#team { padding-bottom: 38px; }
#team + section[data-screen-label="Денис"], #masters + section[data-screen-label="Артём-мастер"] { padding-top: 28px; }
.profile-feature { background: #171612; color: #fff; border-radius: 28px; padding: 26px; gap: 40px; box-shadow: 0 24px 60px rgba(18, 16, 11, .14); position: relative; overflow: hidden; }
.profile-feature::after { content: ''; position: absolute; width: 340px; height: 340px; right: -220px; bottom: -250px; border: 1px solid rgba(243, 207, 75, .18); border-radius: 50%; pointer-events: none; }
.leader-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.leader-feature.reverse .leader-feature-media { order: 2; }
.profile-feature .leader-feature-media { border-radius: 20px; box-shadow: none; z-index: 1; position: relative; overflow: hidden; aspect-ratio: 4/5; }
.about-company .profile-feature .leader-feature-media { aspect-ratio: 1/1; }
.about-company #team { padding-bottom: 76px; }
.leader-feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.profile-feature .leader-feature-text { padding: 18px 20px 18px 0; position: relative; z-index: 1; max-width: 560px; }
.profile-feature.reverse .leader-feature-text { padding: 18px 0 18px 20px; }
.profile-feature .eyebrow { color: #e4bd35; }
.profile-feature .eyebrow::before { background: #e4bd35; }
.profile-feature h2 { color: #fff; font-size: clamp(38px, 5vw, 62px); line-height: .95; margin-top: 8px; }
.profile-feature .leader-feature-role { color: #e4bd35; font-size: 12px; margin-top: 14px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.profile-feature .leader-feature-quote { font-family: var(--disp); color: #fff; font-size: clamp(19px, 2vw, 25px); font-weight: 600; border-left: 2px solid #e4bd35; padding-left: 20px; margin: 22px 0; line-height: 1.36; }
.profile-feature .section-sub { color: #bbb8ae; }
.profile-values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.profile-value { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: rgba(255, 255, 255, .025); }
.profile-value i { font-style: normal; color: #e4bd35; font-size: 17px; width: 22px; text-align: center; }
.profile-value span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.profile-value b { font-size: 12px; text-transform: uppercase; letter-spacing: .045em; color: #fff; }
.profile-value small { font-size: 12px; color: #96938a; white-space: nowrap; }
.profile-facts { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(228, 189, 53, .32); border-radius: 17px; overflow: hidden; margin-top: 6px; }
.profile-facts > div { padding: 15px 12px; display: flex; flex-direction: column; gap: 3px; text-align: center; }
.profile-facts > div:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, .1); }
.profile-facts strong { font-family: var(--disp); font-size: 18px; color: #e4bd35; }
.profile-facts span { font-size: 12px; color: #9e9b92; text-transform: uppercase; letter-spacing: .04em; }

#video.team-divider { padding: 54px 0; background: #ece9df; }
#video.team-divider .video-block { box-shadow: 0 22px 58px rgba(20, 18, 12, .1); }
.video-block { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.video-frame { aspect-ratio: 16/10; background: var(--night); border-radius: var(--radius); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: .55; }
.play-btn { position: relative; z-index: 2; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); border: none; }
.play-btn svg { width: 22px; height: 22px; color: var(--night); margin-left: 3px; }
.video-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.video-list a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.video-list a svg { width: 16px; height: 16px; color: var(--gold-deep); flex-shrink: 0; }

#masters { padding-top: 74px; padding-bottom: 28px; }
.masters-section-head { margin-bottom: 30px; max-width: 760px; }
.masters-section-head h2 { margin-bottom: 14px; }
.master-feature .leader-feature-media { aspect-ratio: 3/2; }
.master-feature .leader-feature-media img { object-position: center; }
.profile-master { grid-template-columns: .82fr 1.18fr !important; padding: 20px !important; gap: 28px !important; align-items: center; }
.profile-master.reverse { grid-template-columns: 1.18fr .82fr !important; }
.profile-master .leader-feature-media { aspect-ratio: 16/10 !important; min-height: 0; }
.profile-master .leader-feature-text, .profile-master.reverse .leader-feature-text { padding: 4px 10px !important; }
.profile-master h2 { font-size: clamp(29px, 3.2vw, 40px) !important; line-height: 1.04; }
.profile-master .leader-feature-role { margin-top: 10px; }
.profile-master .leader-feature-quote { font-size: 17px !important; margin: 13px 0 !important; padding-left: 14px !important; }
.profile-master .section-sub { font-size: 13px; line-height: 1.5; margin: 0; }
.profile-master .profile-skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0 11px; }
.profile-master .profile-skills span { padding: 6px 10px; border-radius: 100px; background: rgba(228, 189, 53, .1); border: 1px solid rgba(228, 189, 53, .32); color: #e8c64d; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.profile-master .master-standards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.profile-master .master-standards > div { padding: 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); display: flex; flex-direction: column; gap: 5px; }
.profile-master .master-standards b { color: #fff; font-size: 12px; }
.profile-master .master-standards small { color: #96938a; font-size: 12px; line-height: 1.32; }
section[data-screen-label="Артём-мастер"] .leader-feature-media img { object-position: center 18% !important; }

.staff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.staff-card { overflow: hidden; background: #171612; color: #fff; border: 1px solid rgba(255, 255, 255, .09); border-radius: 20px; box-shadow: 0 14px 34px rgba(22, 20, 15, .1); }
.staff-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; display: block; }
.staff-card-body { padding: 17px 18px 19px; }
.staff-card h3 { font-size: 22px; line-height: 1; margin: 0 0 7px; color: #fff; }
.staff-card p { font-size: 12px; line-height: 1.45; color: #aaa69c; margin: 0; }
.staff-card-role { display: block; color: #e2b924; font-family: var(--mono); font-size: 12px; line-height: 1.4; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }

.reviews-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 32px; }
.rating-badge { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; }
.rating-number { font-family: var(--disp); font-size: 38px; line-height: 1; color: var(--ink); }
.rating-badge .stars { color: var(--gold-deep); font-size: 18px; letter-spacing: 2px; }
.rating-badge small { display: block; color: var(--ink-faint); font-size: 12px; margin-top: 2px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: none; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--bg-alt); }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-name { font-weight: 700; font-size: 14.5px; }
.review-src { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .04em; }
.review-stars { color: var(--gold-deep); font-size: 13px; margin-bottom: 10px; letter-spacing: 1px; }
.review-card p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.award-strip { margin-top: 28px; display: flex; align-items: center; gap: 14px; background: var(--gold-soft); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 13.5px; font-weight: 600; color: var(--gold-deep); }
.award-strip svg { width: 22px; height: 22px; flex-shrink: 0; }

.brands-wrap { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands-track { display: flex; gap: 0; padding: 18px 0; white-space: nowrap; }
.brands-track span { font-family: var(--disp); font-size: 15px; font-weight: 600; color: var(--ink-faint); padding: 0 22px; border-right: 1px solid var(--line); }

.map-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-frame { position: relative; min-height: 380px; background: var(--bg-alt); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-info { background: var(--panel); padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.map-info h3 { font-size: 22px; font-weight: 700; }
.map-info-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.map-info-row svg { width: 20px; height: 20px; color: var(--gold-deep); flex-shrink: 0; margin-top: 1px; }
.map-info-row b { color: var(--ink); }

.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 16px; background: none; border: none; width: 100%; text-align: left; color: var(--ink); }
.faq-q .plus { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--ink); transition: transform .25s; }
.faq-q .plus::before { left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; }
.faq-q .plus::after { top: 0; left: 50%; height: 100%; width: 2px; margin-left: -1px; }
.faq-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { margin: 0 0 22px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; max-width: 640px; }

.final-cta { background: var(--night); color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta p { color: #B9B7A8; max-width: 480px; margin: 14px auto 30px; }
.final-form { width: min(100%, 920px); max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(230px, 1fr) auto; gap: 10px; align-items: stretch; flex-wrap: nowrap; }
.final-form input { min-width: 0; width: 100%; min-height: 56px; padding: 16px 18px; border-radius: 100px; border: none; font-size: 15px; font-weight: 600; font-family: var(--body); }
.final-form input:focus { outline: 2px solid var(--gold); }
.final-form .btn { white-space: nowrap; min-height: 56px; }
.final-messengers { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.final-messenger { height: 48px; min-width: 132px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-weight: 800; transition: .2s; }
.final-messenger:hover { border-color: var(--yellow); transform: translateY(-2px); }
.final-messenger img { width: 24px; height: 24px; object-fit: contain; background: #fff; border-radius: 50%; padding: 2px; }
.final-messenger img.max-logo { width: 27px; height: 27px; }
.final-messenger span { font-size: 14px; }

footer { padding: 56px 0 100px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin: 0 0 14px; font-family: var(--mono); font-weight: 500; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.footer-col .footer-social-icons a { display: grid; }
.footer-col a:hover { color: var(--ink); }
.footer-social { display: flex; flex-direction: column; gap: 8px; }
.footer-social-icons { display: flex !important; flex-direction: row !important; gap: 7px !important; margin-top: 12px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--ink-faint); }
.footer-legal { max-width: 640px; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--panel); border-top: 1px solid var(--line); display: none; padding: 10px 14px; gap: 10px; box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.sticky-cta a, .sticky-cta button { flex: 1; }

@media (min-width: 981px) {
  .hero { padding: 32px 0 48px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: start !important; }
  .hero-grid > div:first-child { align-self: start !important; padding-top: 16px; }
  .hero h1 { font-size: clamp(38px, 3.85vw, 48px); line-height: 1.04; max-width: 650px; }
  .hero-lead { font-size: 16.5px; line-height: 1.55; margin: 16px 0 0; max-width: 540px; }
  .hero-proofline { margin-top: 18px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .btn { min-height: 50px; padding: 13px 20px; }
  .hero-badges { margin-top: 18px; gap: 8px; }
  .hero-badge { padding: 7px 13px 7px 8px; font-size: 12px; }
  
  .hero-photo-frame { aspect-ratio: 1/1.04; border-radius: 24px; }
  .hero-main-photo { object-position: center 24%; }
  .hero-visual .order-card { margin: -46px 14px 0 !important; width: calc(100% - 28px) !important; padding: 20px !important; }
  
  .order-card h3 { font-size: 18px !important; margin-bottom: 2px; }
  .order-card > p { font-size: 12.5px !important; margin-bottom: 12px !important; }
  .order-card form { display: grid; grid-template-columns: 1fr 1fr 1.12fr; gap: 9px 10px; align-items: end; }
  .order-card .field { margin: 0 !important; min-width: 0; }
  .order-card .field label { font-size: 12px; margin-bottom: 5px; }
  .order-card input, .order-card select { min-width: 0; width: 100%; height: 46px; padding: 11px 12px !important; font-size: 13px; }
  .order-card form > .btn { height: 46px; min-height: 46px !important; padding: 9px 10px !important; font-size: 12px; white-space: normal; line-height: 1.15; }
  .order-card .form-note { grid-column: 1/-1; margin: 0 !important; font-size: 12px !important; line-height: 1.35; }
  
  .service-catalog { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .service-catalog .service-item { grid-column: span 4; min-height: 220px !important; padding: 24px !important; }
  .service-catalog .service-item h3 { font-size: 22px !important; }
  .service-catalog .service-item p { font-size: 14px !important; }
}

@media (min-width: 481px) and (max-width: 980px) {
  .service-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 1120px) {
  .top-social { display: none; }
}

@media (max-width: 1100px) {
  .staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .logo-mark img { height: 44px !important; max-width: 190px; }
  .header-inner { height: 76px; }
  nav.main-nav { display: none; }
  .header-phone span { display: none; }
  .header-right .btn-primary { display: none; }
  .burger { display: block; }
  
  .hero { padding: 24px 0 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-hero .hero-grid .hero-media { order: 2; }
  .hero-grid > div:first-child { order: 1 !important; margin-top: 0 !important; padding-top: 0 !important; }
  .hero-visual { order: 2 !important; }
  .hero-photo-frame { aspect-ratio: 16/10 !important; border-radius: 22px; }
  .hero-main-photo { object-position: center 24% !important; }
  .hero-visual .order-card { position: relative !important; margin: 12px 0 0 !important; width: 100% !important; padding: 22px !important; border-radius: 22px !important; }
  
  .order-card form { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .order-card .field { margin-bottom: 12px !important; }
  .order-card form > .btn { grid-column: 1/-1; min-height: 50px !important; font-size: 14px !important; white-space: normal !important; }
  .order-card .form-note { grid-column: 1/-1; margin: 0 !important; }
  .order-card input { height: 50px !important; padding: 12px 14px !important; font-size: 14px !important; }
  .order-card h3 { font-size: 22px !important; }
  .order-card > p { font-size: 14px !important; }
  
  .service-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-item { min-height: 200px; }
  
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .offers-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-card.featured { grid-column: auto; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .diag { grid-template-columns: 1fr; }
  .diag-media { min-height: 260px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  
  .leaders-frame { grid-template-columns: 1fr; gap: 16px; }
  .leader-slot { aspect-ratio: 4/5; }
  .leader-feature { grid-template-columns: 1fr; gap: 24px; }
  .leader-feature.reverse .leader-feature-media { order: 0; }
  .leader-feature-media { aspect-ratio: 4/5; }
  
  .profile-feature { padding: 22px; gap: 24px; }
  .profile-feature .leader-feature-text, .profile-feature.reverse .leader-feature-text { padding: 8px 4px 4px; }
  .profile-facts { grid-column: auto; }
  .profile-feature.reverse .leader-feature-media { order: 0; }
  .profile-master, .profile-master.reverse { grid-template-columns: 1fr !important; }
  .profile-master .leader-feature-media { aspect-ratio: 16/9 !important; }
  .profile-master .leader-feature-text, .profile-master.reverse .leader-feature-text { padding: 8px 4px !important; }
  section[data-screen-label="Артём-мастер"] .leader-feature-media img { object-position: center 20% !important; }
  
  .map-wrap { grid-template-columns: 1fr; }
  .map-frame { min-height: 280px; }
  .map-info { padding: 28px 22px; }
  
  .cta-band { padding: 30px 24px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-band-actions { width: 100%; }
  .cta-band .btn { width: 100%; }
  
  .cases-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .video-block { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .sticky-cta { display: flex; }
  section { padding: 56px 0; }
  body { padding-bottom: 64px; }
}

@media (max-width: 760px) {
  :root { --card-pad: 22px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .hero-proofline { font-size: 12px; }
  .trust-check-grid { grid-template-columns: 1fr; gap: 14px; }
  .leader-feature, .leader-feature.reverse { gap: 28px; }
  .leader-feature.reverse .leader-feature-media { order: 0; }
  .leader-feature-media { aspect-ratio: 4/5; }
  .leader-feature-quote { font-size: 21px; }
  .final-form { grid-template-columns: 1fr !important; }
  .final-form .btn { width: 100%; }
  .btn { min-height: 48px; padding-inline: 18px; }
  .final-messengers { flex-wrap: wrap; }
  .final-messenger { min-width: 0; flex: 1 1 110px; padding-inline: 12px; }
}

@media (max-width: 700px) {
  .staff-grid { grid-template-columns: 1fr 1fr; }
  .staff-card img { aspect-ratio: 1/1; }
}

@media (max-width: 620px) {
  .hero { padding-top: 18px; }
  .hero h1 { font-size: clamp(34px, 10vw, 42px); line-height: 1.02; }
  .hero-lead { font-size: 15px; }
  .hero-proofline { font-size: 12px; }
  .hero-photo-frame { aspect-ratio: 16/10 !important; }
  .hero-main-photo { object-position: center 18% !important; }
  .hero-visual .order-card { padding: 18px !important; margin-top: 10px !important; }
  
  .order-card form { grid-template-columns: 1fr !important; }
  .order-card form > .btn, .order-card .form-note { grid-column: 1; }
  .order-card h3 { font-size: 20px !important; line-height: 1.05; }
  .order-card > p { margin-bottom: 14px !important; }
  .order-card .field label { font-size: 12px; }
  .order-card input { height: 48px !important; }
  
  .service-catalog { grid-template-columns: 1fr; }
  .service-item { min-height: 0 !important; padding: 20px; }
  .service-num { margin-bottom: 16px; }
  .service-top { margin-bottom: 17px; }
  .service-icon { width: 44px; height: 44px; border-radius: 13px; }
  .service-icon svg { width: 23px; height: 23px; }
  .symptom-cta { align-items: stretch; flex-direction: column; }
  .symptom-cta .btn { width: 100%; }
  
  .process-list { grid-template-columns: 1fr; }
  .process-step-icon { width: 44px; height: 44px; border-radius: 13px; }
  .process-step-icon svg { width: 22px; height: 22px; }
  
  #offers .offer-card-body p { min-height: 0; }
  #offers .offer-card:hover { transform: none; }
  .offers-bento { grid-template-columns: 1fr; }
  .offer-card.featured { grid-row: auto; }
  .offer-card-body .btn { min-height: 50px; }
  .offer-badge { font-size: 12px; }
  
  .trust-grid { grid-template-columns: 1fr; }
  .diag-content { padding: 32px 22px; }
  
  .profile-values { grid-template-columns: 1fr; }
  .profile-value small { white-space: normal; }
  .profile-facts { grid-template-columns: 1fr 1fr; }
  .profile-facts > div:nth-child(2) { border-right: 0; }
  .profile-facts > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .master-standards { grid-template-columns: 1fr; }
  .profile-feature h2 { font-size: 40px; }
  .profile-feature .leader-feature-quote { font-size: 18px; }
  
  #team { padding-bottom: 24px; }
  #video.team-divider { padding: 38px 0; }
  section[data-screen-label="Денис"] { padding-top: 44px; }
  .masters-section-head { margin-bottom: 22px; }
  #masters { padding-top: 52px; }
  
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .final-cta { padding: 40px 22px; }
  .final-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .service-catalog { grid-template-columns: 1fr !important; }
  .service-catalog .service-item:nth-child(13) { display: flex !important; }
  footer .footer-col { align-items: center; text-align: center; margin: auto; }
  footer .footer-col:first-child, footer .footer-col:last-child  { grid-column: span 2; }
  footer .footer-col:first-child .logo { justify-content: center; }
  footer .footer-bottom { text-align: center; justify-content: center; }
}

@media (max-width: 430px) {
  .staff-grid { grid-template-columns: 1fr; }
  .staff-card img { aspect-ratio: 4/3; }
}

@media (max-width: 420px) {
  .hero-grid, .leader-feature, .diag, .map-wrap { min-width: 0; }
  /* .container { width: min(100% - 32px, var(--container)); } */
}


/* =========================================================
Стиль внутренних страниц (Услуги, Цены, Эксперты)
Адаптировано под глобальные переменные
========================================================= */

.crumbs { font-size: 13px; color: var(--ink-soft); padding-top: 24px; padding-bottom: 24px; }
.crumbs a { text-decoration: underline; }

.service-hero { padding: 20px 0 72px; }
.service-hero h1 { font-size: clamp(42px, 5.6vw, 60px); line-height: .98; letter-spacing: -.04em; margin: 18px 0 22px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 680px; }

.proof { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; }
.proof span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: 12px; }

.hero-media { position: relative; background: var(--night); border-radius: 28px; padding: 0 0 76px; overflow: hidden; box-shadow: var(--shadow); }
.hero-media img { height: 430px !important; width: 100%; object-fit: cover !important; border-radius: 28px 28px 0 0 !important; }

.quick { position: absolute; left: 18px; right: 18px; bottom: 18px; background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.quick form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.quick input, .quick select { width: 100%; border: 1px solid var(--line); border-radius: 13px; padding: 14px; background: #fff; font: inherit; }
.quick small { display: block; color: var(--ink-soft); margin-top: 8px; }

.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--night); color: #fff; }
.dark .section-sub { color: #bdb9ae; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 28px rgba(30,26,17,.05); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--night); color: var(--gold); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.technical-panel { min-height: 0; border-radius: 28px; background: var(--night); overflow: hidden; box-shadow: var(--shadow); }
.technical-panel img { height: 340px !important; width: 100% !important; object-fit: cover !important; border-radius: 28px !important; }

.checklist { list-style: none; padding: 0; margin: 26px 0; }
.checklist li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li:before { content: '✓'; position: absolute; left: 0; color: var(--gold-deep); font-weight: 900; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { border-radius: 20px; padding: 22px; background: var(--night-soft); }
.step b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--gold); color: #111; margin-bottom: 18px; }

.price-box { background: #fff; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.price-row:last-child { border: 0; }
.price-row strong:last-child { color: var(--gold-deep); }
.price-more { margin-top: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.price-more summary { cursor: pointer; padding: 17px 22px; font-weight: 800; color: var(--gold-deep); }
.price-more .price-box { border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.note { font-size: 12px; color: var(--ink-soft); margin-top: 14px; }

.guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-company .guarantees { grid-template-columns: repeat(4, 1fr); }
.guarantee { border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 26px; }
.guarantee b { color: var(--gold); font-size: 28px; display: block; margin-bottom: 10px; }

/* Карточка эксперта */
.expert-card { display: grid; grid-template-columns: .78fr 1.22fr; gap: 0; background: var(--night); color: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.expert-photo { min-height: 410px; }
.expert-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.expert-copy { padding: 42px; align-self: center; }
.expert-role { color: var(--gold); font-weight: 800; margin-bottom: 22px; }
.expert-quote { font-size: 20px; line-height: 1.45; border-left: 2px solid var(--gold); padding-left: 18px; margin: 0 0 24px; }
.expert-facts { display: flex; gap: 10px; flex-wrap: wrap; }
.expert-facts span { border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 8px 12px; font-size: 12px; color: #cbc7bc; }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; }
.contact-strip small { color: #aaa69b; }

/* Иконки соцсетей эксперта */
.social-links { display: flex; align-items: center; gap: 7px; }
.social-link { width: 42px; height: 42px; border: 1px solid #454138; border-radius: 50%; display: grid; place-items: center; background: #fff; transition: .2s; overflow: hidden; }
.social-link:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 7px 16px rgba(0,0,0,.12); }
.social-link img { width: 25px; height: 25px; object-fit: contain; }
.social-link-max img { width: 29px; height: 29px; }

/* Адаптив для новых блоков */
@media (max-width: 900px) {
  .hero-media img { height: 360px !important; }
  .quick { position: static; margin-top: 0; }
  .hero-media { padding-bottom: 0; }
  .grid4, .steps, .split { grid-template-columns: 1fr 1fr; }
  .guarantees { grid-template-columns: 1fr; }
  .about-company .guarantees { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 760px) {
  .expert-card { grid-template-columns: 1fr; }
  .expert-photo { min-height: 320px; height: 320px; }
  .expert-copy { padding: 28px; }
  .contact-strip { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .service-hero h1 { font-size: 40px; }
  .quick form { grid-template-columns: 1fr; }
  .grid4, .steps, .split { grid-template-columns: 1fr; }
  .hero-media img { height: 260px !important; }
  .technical-panel img { height: 230px !important; }
  .about-company .guarantees { grid-template-columns: 1fr; }
}


/* =========================================================
Стили для нативного FAQ (через <details>)
========================================================= */
.faq { 
  display: grid; 
  gap: 10px; 
}
.faq details { 
  background: var(--panel); 
  border: 1px solid var(--line); 
  border-radius: 16px; 
  padding: 18px 22px; 
}
.faq summary { 
  font-weight: 800; 
  cursor: pointer; 
  color: var(--ink);
  font-size: 16px;
  outline: none;
}
.faq p { 
  color: var(--ink-soft); 
  margin: 12px 0 0; 
  line-height: 1.55; 
  font-size: 14.5px;
}

/* Главный экран хаба статей */
.hub-hero { padding: 20px 0 42px; }
.hub-hero p { font-size: 20px; color: var(--ink-soft); max-width: 760px; margin-top: 14px; }
.hub-hero h1, .article-hero h1 { font-size: clamp(42px, 5.7vw, 60px); line-height: .98; letter-spacing: -.045em; margin: 18px 0 22px; font-family: var(--disp); }

/* Блок "Кто пишет" */
.editorial-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.editorial-proof > div { padding: 22px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.editorial-proof strong { font-size: 18px; font-family: var(--disp); display: block; margin-bottom: 8px; }
.editorial-proof p { font-size: 15px; margin: 0; color: var(--ink-soft); line-height: 1.5; }

/* Сетка карточек статей */
.hub-section { padding: 18px 0 80px; }
.hub-section h2, .related h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1; margin: 0 0 28px; font-family: var(--disp); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.article-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: .2s ease; display: block; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-card-body { padding: 24px; }
.article-card h2, .article-card h3 { font-size: 26px; line-height: 1.1; margin: 8px 0 12px; font-family: var(--disp); }
.article-card p { color: var(--ink-soft); margin: 0 0 16px; font-size: 15px; }
.article-card .read { font-weight: 800; color: var(--gold-deep); font-size: 14.5px; }

/* Внутренняя страница статьи */
.article-hero { padding: 18px 0 52px; }
.article-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; font-weight: 700; margin-top: 24px; }
.meta span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; }
.article-cover { border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; box-shadow: var(--shadow-lg); }

.article-layout { display: grid; grid-template-columns: minmax(0, 780px) 300px; gap: 48px; align-items: start; padding-bottom: 72px; }
.article-body { background: var(--panel); padding: clamp(26px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius); }
.article-body h2 { font-size: 32px; line-height: 1.12; margin: 46px 0 16px; letter-spacing: -.025em; font-family: var(--disp); padding-block: 0 !important; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 22px; line-height: 1.2; margin: 30px 0 10px; font-family: var(--disp); }
.article-body p, .article-body li { font-size: 17px; line-height: 1.65; color: var(--ink); margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 16px; }

/* Спец-блоки в тексте статьи */
.article-body .note { padding: 22px 24px; border-left: 5px solid var(--gold); background: #fff8d8; border-radius: 0 16px 16px 0; margin: 28px 0; font-size: 16px; color: var(--ink); }
.answer { padding: 24px; border-radius: 18px; background: var(--night); color: #fff; margin: 28px 0; }
.answer strong { color: var(--gold); display: block; margin-bottom: 8px; font-size: 18px; }

/* Сайдбар статьи */
.article-aside { position: sticky; top: 104px; }
.aside-card { background: var(--night); color: #fff; padding: 28px; border-radius: 20px; }
.aside-card h3 { font-size: 24px; line-height: 1.1; margin: 0 0 12px; color: #fff; font-family: var(--disp); }
.aside-card p { color: #c8c3b8; font-size: 14.5px; margin-bottom: 18px; }
.aside-card .btn { width: 100%; margin-top: 10px; }

/* Оглавление */
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-bottom: 18px; }
.toc strong { display: block; margin-bottom: 10px; font-family: var(--disp); font-size: 16px; }
.toc a { display: block; color: var(--ink-soft); padding: 5px 0; font-size: 14px; transition: color .15s; }
.toc a:hover { color: var(--gold-deep); }

.related { padding: 64px 0; }

/* Адаптив для статей */
@media (max-width: 900px) {
  .article-hero-grid, .article-layout { grid-template-columns: 1fr; }
  .article-layout { gap: 24px; }
  .article-aside { position: static; }
  .article-hero-grid > div:first-child { order: 1; }
  .article-cover { order: 2; }
  .hub-section .card-grid, .editorial-proof { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .article-hero h1, .hub-hero h1 { font-size: 42px; }
  .hub-hero p { font-size: 17px; }
  .article-body { padding: 25px 20px; }
  .article-body h2 { font-size: 28px; }
  .article-body p, .article-body li { font-size: 16px; }
  .card-grid { grid-template-columns: 1fr; }
}

.header-modal {
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
  max-width: 440px;
  width: 100%;
  margin: auto;
}

.header-modal::backdrop {
  background: rgba(20, 19, 16, 0.85);
  backdrop-filter: blur(5px);
}

.header-modal .modal-box {
  margin: 0 !important;
  width: 100%;
  border-radius: var(--radius);
}

.header-modal form {
  display: grid;
  grid-template-columns: 1fr !important; 
  gap: 14px !important;
}

.header-modal .modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink-faint);
  background: none;
  border: none;
  padding: 0;
  transition: color 0.15s ease;
  z-index: 10;
}
.header-modal .modal-close:hover {
  color: var(--ink);
}

.header-modal[open] .modal-box {
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.header-modal[open] .modal-box h3 {
  text-align: center;
  margin-bottom: 10px;
}
.header-modal[open] .modal-box > p {
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}
.header-modal .form-note {
  text-align: center;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}