:root {
  --ink: #0b1728;
  --ink-soft: #344256;
  --muted-text: #66758a;
  --primary: #0b5f86;
  --primary-hover: #084d6d;
  --accent: #c89042;
  --canvas: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #edf3f8;
  --line: #dce5ee;
  --success: #17724d;
  --danger: #b42318;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 8px 24px rgba(11, 23, 40, .07);
  --shadow-md: 0 22px 65px rgba(11, 23, 40, .12);
  --ease: cubic-bezier(.2,.8,.2,1);
  --container: 1240px;
  --font-body: system-ui,-apple-system,"Segoe UI Variable Text","Segoe UI",Roboto,Arial,sans-serif;
  --font-display: system-ui,-apple-system,"Segoe UI Variable Display","Segoe UI",Roboto,Arial,sans-serif;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 108px; }
body { max-width: 100%; margin: 0; overflow-x: clip; color: var(--ink); background: var(--canvas); font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
#site-header { display: contents; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button,input,select,textarea { font: inherit; }
button,a { touch-action: manipulation; }
button { cursor: pointer; }
svg { flex: 0 0 auto; }
.container { width: min(calc(100% - 40px), var(--container)); min-width: 0; margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 2000; padding: 12px 16px; color: white; background: var(--ink); border-radius: 10px; transform: translateY(-140%); transition: transform .2s var(--ease); }
.skip-link:focus { transform: translateY(0); }

h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { font-family: var(--font-display); }
h1,h2 { font-weight: 750; letter-spacing: -.045em; text-wrap: balance; }
h1 { margin-bottom: 24px; font-size: clamp(3rem, 6.4vw, 6.2rem); line-height: .98; }
h2 { margin-bottom: 20px; font-size: clamp(2.25rem, 4.2vw, 4rem); line-height: 1.05; }
h3 { margin-bottom: 10px; font-size: 1.18rem; line-height: 1.3; letter-spacing: -.015em; }
p { color: var(--ink-soft); }
.lead { max-width: 700px; font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.55; }
.eyebrow { margin-bottom: 16px; color: var(--primary); font-size: .75rem; line-height: 1.2; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section-dark .eyebrow,.section-blue .eyebrow { color: #8ed4ee; }

.topline { color: #d8e4ef; background: #071321; font-size: .78rem; }
.topline .container,.topline-list { display: flex; align-items: center; gap: 22px; }
.topline .container { min-height: 38px; justify-content: space-between; }
.topline-list span,.topline-list a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topline-list a:hover { color: white; }
.topline-social { padding: 3px 8px; border-radius: 999px; transition: color .18s var(--ease),background .18s var(--ease); }
.topline-social.telegram:hover { color: #dff5ff; background: rgba(35,158,217,.2); }
.topline-social.whatsapp:hover { color: #e1ffec; background: rgba(37,211,102,.17); }
.header { width: 100%; margin-inline: auto; position: sticky; top: 0; z-index: 100; border: 1px solid transparent; border-bottom-color: rgba(220,229,238,.85); background: rgba(255,255,255,.82); backdrop-filter: blur(22px) saturate(170%); transform: translateZ(0); transform-origin: top center; transition: width .42s var(--ease),top .42s var(--ease),border-radius .42s var(--ease),border-color .32s var(--ease),background .32s var(--ease),box-shadow .42s var(--ease); will-change: width,top,border-radius; }
.header.is-island { width: min(calc(100% - 24px),1280px); top: 12px; border-color: rgba(255,255,255,.88); border-radius: 24px; background: rgba(255,255,255,.88); box-shadow: 0 18px 55px rgba(11,23,40,.14),0 2px 8px rgba(11,23,40,.06); }
.header-row { min-height: 78px; position: relative; display: flex; align-items: center; gap: 30px; transition: min-height .42s var(--ease),padding-inline .42s var(--ease); }
.header.is-island .header-row { min-height: 66px; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-avatar { width: 48px; height: 48px; overflow: hidden; flex: 0 0 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); background: #050608; border-radius: 15px; box-shadow: 0 8px 22px rgba(11,23,40,.18); }
.brand-avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16) translateY(-1px); transform-origin: center; }
.brand-copy { min-width: 0; }
.brand-copy strong,.brand-copy span { display: block; }
.brand-copy strong { font-family: var(--font-display); font-size: 1.13rem; line-height: 1.1; letter-spacing: -.025em; }
.brand-copy span { margin-top: 3px; color: var(--muted-text); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.nav { position: absolute; left: 50%; margin-left: 0; display: flex; align-items: center; gap: 7px; transform: translateX(-50%); }
.nav>a,.nav-drop>button { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; padding: 0 12px; border: 0; color: #26364a; background: transparent; border-radius: 11px; text-decoration: none; font-size: .9rem; font-weight: 650; }
.nav>a:hover,.nav-drop>button:hover,.nav-drop.open>button,.nav>a[aria-current="page"] { color: var(--primary); background: var(--surface-soft); }
.nav-drop { position: relative; }
.nav-drop>button svg { transform: rotate(90deg); }
.nav-drop-panel { width: 360px; padding: 10px; position: absolute; top: calc(100% + 8px); left: 50%; display: grid; gap: 3px; border: 1px solid var(--line); background: rgba(255,255,255,.97); border-radius: 18px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translate(-50%,8px) scale(.98); transform-origin: top center; transition: opacity .18s var(--ease),transform .18s var(--ease),visibility .18s; }
.nav-drop.open .nav-drop-panel { opacity: 1; visibility: visible; transform: translate(-50%,0) scale(1); }
.nav-drop-panel a { min-height: 48px; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; text-decoration: none; font-size: .88rem; font-weight: 650; }
.nav-drop-panel a:hover { color: var(--primary); background: var(--surface-soft); }
.header-contact-cluster { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.phone-picker { position: relative; display: flex; }
.header-contact { width: 0; min-height: 44px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0; color: white; border-radius: 14px; text-decoration: none; font-size: .9rem; font-weight: 750; white-space: nowrap; opacity: 0; pointer-events: none; transform: scale(.72); transition: width .38s var(--ease),padding .38s var(--ease),opacity .24s var(--ease),transform .38s var(--ease),background .18s var(--ease),box-shadow .18s var(--ease); }
.header-contact-phone { width: auto; min-height: 48px; padding: 0 17px; background: var(--ink); opacity: 1; pointer-events: auto; transform: none; }
.header-contact-phone:hover { background: var(--primary); }
.header-contact-phone>i { width: 14px; height: 14px; display: grid; place-items: center; transition: transform .2s var(--ease); }
.header-contact-phone>i svg { transform: rotate(90deg); }
.phone-picker.open .header-contact-phone>i { transform: rotate(180deg); }
.phone-picker-panel { width: 286px; padding: 8px; position: absolute; z-index: 120; top: calc(100% + 10px); right: 0; display: grid; gap: 4px; border: 1px solid rgba(205,216,226,.95); background: rgba(255,255,255,.98); border-radius: 18px; box-shadow: 0 20px 55px rgba(11,23,40,.2),0 2px 8px rgba(11,23,40,.06); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-7px) scale(.97); transform-origin: top right; transition: opacity .18s var(--ease),visibility .18s,transform .22s var(--ease); }
.phone-picker.open .phone-picker-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.phone-picker-panel a { min-height: 62px; padding: 9px 11px; display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 10px; color: var(--ink); border-radius: 12px; text-decoration: none; transition: color .18s var(--ease),background .18s var(--ease),transform .12s var(--ease); }
.phone-picker-panel a:hover,.phone-picker-panel a:focus-visible { color: var(--primary); background: var(--surface-soft); }
.phone-picker-panel a:active { transform: scale(.98); }
.phone-picker-icon { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--ink); border-radius: 11px; }
.phone-picker-panel small,.phone-picker-panel strong { display: block; }
.phone-picker-panel small { margin-bottom: 2px; color: var(--muted-text); font-size: .68rem; font-weight: 650; }
.phone-picker-panel strong { font-size: .91rem; font-variant-numeric: tabular-nums; }
.header-contact-whatsapp { background: #20b95b; }
.header-contact-whatsapp:hover { background: #159847; box-shadow: 0 8px 20px rgba(32,185,91,.28); }
.header-contact-telegram { background: #229ed9; }
.header-contact-telegram:hover { background: #1888bd; box-shadow: 0 8px 20px rgba(34,158,217,.28); }
.header.is-island .header-contact-phone { width: 44px; min-height: 44px; gap: 0; padding: 0; }
.header.is-island .header-contact-phone span { width: 0; overflow: hidden; opacity: 0; }
.header.is-island .header-contact-phone>i { width: 0; overflow: hidden; opacity: 0; }
.header.is-island .header-contact-social { width: 44px; opacity: 1; pointer-events: auto; transform: none; }
.header-contact:active,.btn:active,.service-card:active { transform: scale(.94); transition-duration: .08s; }
.menu-toggle { width: 48px; height: 48px; display: none; place-items: center; border: 1px solid var(--line); color: var(--ink); background: white; border-radius: 14px; }
.mobile-panel { display: none; }

.lead-success-island { width: 52px; min-height: 52px; padding: 7px; position: fixed; z-index: 140; top: max(92px,calc(env(safe-area-inset-top) + 80px)); left: 50%; overflow: hidden; display: grid; grid-template-columns: 38px 0 0; align-items: center; gap: 0; color: var(--ink); background: rgba(255,255,255,.97); border: 1px solid rgba(195,208,219,.92); border-radius: 999px; box-shadow: 0 18px 50px rgba(2,12,20,.18),0 2px 8px rgba(2,12,20,.06); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%,-18px) scale(.58); transform-origin: top center; backdrop-filter: blur(22px) saturate(160%); transition: width .4s var(--ease),grid-template-columns .4s var(--ease),gap .4s var(--ease),opacity .2s var(--ease),visibility .2s,transform .4s var(--ease),border-radius .4s var(--ease); }
.lead-success-island.is-visible { width: min(410px,calc(100% - 24px)); grid-template-columns: 38px minmax(0,1fr) 36px; gap: 10px; opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%,0) scale(1); border-radius: 21px; }
.lead-success-icon { width: 38px; height: 38px; display: grid; place-items: center; color: #dfffea; background: #159653; border-radius: 50%; }
.lead-success-copy { min-width: 0; opacity: 0; transform: translateX(-8px); transition: opacity .2s .18s var(--ease),transform .28s .15s var(--ease); }
.lead-success-island.is-visible .lead-success-copy { opacity: 1; transform: none; }
.lead-success-copy strong,.lead-success-copy small { display: block; white-space: nowrap; }
.lead-success-copy strong { font-size: .86rem; }
.lead-success-copy small { margin-top: 1px; overflow: hidden; color: #607083; font-size: .68rem; text-overflow: ellipsis; }
.lead-success-island button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; color: #607083; background: #eef3f7; border-radius: 50%; opacity: 0; transition: opacity .2s .18s var(--ease),color .18s,background .18s; }
.lead-success-island.is-visible button { opacity: 1; }
.lead-success-island button:hover { color: var(--ink); background: #e1e9ef; }
.lead-success-island>i { height: 2px; position: absolute; right: 14px; bottom: 0; left: 14px; background: #42d980; transform: scaleX(0); transform-origin: left; }
.lead-success-island.is-visible>i { animation: success-progress 5.6s linear forwards; }
@keyframes success-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.hero { position: relative; overflow: hidden; padding: clamp(54px,8vw,112px) 0 80px; background: radial-gradient(circle at 9% 9%,rgba(74,161,199,.13),transparent 30%),linear-gradient(180deg,#fff 0%,#f5f8fb 100%); }
.hero::after { content: ""; width: 520px; height: 520px; position: absolute; right: -250px; bottom: -330px; border: 1px solid rgba(11,95,134,.16); border-radius: 50%; box-shadow: 0 0 0 90px rgba(11,95,134,.025),0 0 0 180px rgba(11,95,134,.02); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(420px,.98fr); align-items: center; gap: clamp(40px,7vw,96px); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 760px; font-size: clamp(3rem,5.8vw,5.75rem); line-height: 1; }
.hero-copy h1 em { display: block; position: relative; width: fit-content; color: var(--primary); font-style: normal; }
.hero-copy .lead { max-width: 650px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 21px; border: 1px solid transparent; border-radius: 14px; text-decoration: none; font-size: .94rem; font-weight: 750; cursor: pointer; transition: transform .2s var(--ease),box-shadow .2s var(--ease),background .2s,color .2s,border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--primary); box-shadow: 0 12px 28px rgba(11,95,134,.22); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 16px 34px rgba(11,95,134,.28); }
.btn-secondary { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.75); }
.btn-secondary:hover { border-color: #b7c6d5; background: white; box-shadow: var(--shadow-sm); }
.btn-light { color: var(--ink); background: white; }
.hero-proof { margin-top: 42px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.hero-proof div { padding-top: 15px; border-top: 1px solid var(--line); }
.hero-proof strong,.hero-proof span { display: block; }
.hero-proof strong { white-space: nowrap; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.hero-proof span { margin-top: 4px; color: var(--muted-text); font-size: .75rem; line-height: 1.35; }
.hero-collage { min-height: 570px; position: relative; }
.hero-photo { position: absolute; overflow: hidden; margin: 0; border: 5px solid rgba(255,255,255,.9); background: #dce5ee; border-radius: 26px; box-shadow: var(--shadow-md); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 10px 13px; color: white; background: rgba(7,19,33,.74); border: 1px solid rgba(255,255,255,.15); border-radius: 13px; backdrop-filter: blur(14px); font-size: .78rem; font-weight: 700; }
.hero-photo-main { inset: 0 16% 5% 0; }
.hero-photo-small { width: 42%; height: 36%; top: 5%; right: 0; }
.hero-photo-sign { width: 46%; height: 34%; right: 2%; bottom: 0; }
.hero-float-card { max-width: 250px; min-height: 76px; position: absolute; left: 0; bottom: -56px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 15px; color: var(--ink); background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: var(--shadow-md); backdrop-filter: blur(18px); }
.hero-float-card>svg { color: var(--primary); }
.hero-float-card strong,.hero-float-card span { display: block; }
.hero-float-card strong { font-size: .86rem; }
.hero-float-card span { margin-top: 2px; color: var(--muted-text); font-size: .7rem; line-height: 1.3; }

.trust-bar { border-block: 1px solid var(--line); background: white; }
.trust-bar-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.trust-bar span,.trust-bar a { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; }
.trust-bar span svg { color: var(--primary); }
.trust-bar a { color: var(--primary); text-decoration: none; }
.section { padding: clamp(76px,9vw,128px) 0; }
.section-sm { padding: 48px 0; }
.section-soft { background: var(--surface-soft); }
.section-blue { color: white; background: #0a263d; }
.section-blue p,.section-dark p { color: #c3d0dc; }
.section-head { margin-bottom: 42px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-head>div { max-width: 830px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p:last-child { max-width: 720px; margin-bottom: 0; }
.services-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; }
.service-card { grid-column: span 2; min-width: 0; overflow: hidden; position: relative; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; box-shadow: 0 3px 0 rgba(11,23,40,.02); transition: transform .25s var(--ease),box-shadow .25s var(--ease),border-color .25s; }
.service-card-featured { grid-column: span 3; }
.service-card:hover { transform: translateY(-6px); border-color: #b9cbd9; box-shadow: var(--shadow-md); }
.service-media { height: 210px; position: relative; overflow: hidden; background: #d7e1e9; }
.service-card-featured .service-media { height: 270px; }
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 45%,rgba(7,19,33,.36)); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.035); }
.service-number,.service-icon { position: absolute; z-index: 2; display: grid; place-items: center; color: white; background: rgba(7,19,33,.72); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); }
.service-number { min-width: 42px; height: 32px; top: 14px; left: 14px; border-radius: 10px; font-size: .72rem; font-weight: 800; }
.service-icon { width: 42px; height: 42px; right: 14px; bottom: 14px; border-radius: 13px; }
.service-body { min-height: 260px; display: flex; flex-direction: column; padding: 25px; }
.service-kicker { margin-bottom: 9px; color: var(--primary); font-size: .69rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.service-body h3 { font-family: var(--font-display); font-size: 1.42rem; font-weight: 750; }
.service-body>p:not(.service-kicker) { margin-bottom: 24px; font-size: .91rem; }
.service-bottom { margin-top: auto; padding-top: 18px; display: flex; align-items: end; justify-content: space-between; border-top: 1px solid var(--line); }
.service-bottom small,.service-bottom strong { display: block; }
.service-bottom small { color: var(--muted-text); font-size: .68rem; }
.price { margin-top: 2px; font-size: 1rem; font-variant-numeric: tabular-nums; }
.arrow { width: 42px; height: 42px; display: grid; place-items: center; color: var(--primary); background: var(--surface-soft); border-radius: 50%; transition: transform .2s var(--ease),background .2s,color .2s; }
.service-card:hover .arrow { color: white; background: var(--primary); transform: translateX(3px); }

.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px,8vw,110px); }
.process-intro { position: sticky; top: 130px; align-self: start; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 800; text-decoration: none; }
.process-list { margin: 0; padding: 0; display: grid; list-style: none; }
.process-list li { padding: 28px 0; display: grid; grid-template-columns: 58px 1fr; gap: 20px; border-bottom: 1px solid #cedae5; }
.process-list li:first-child { padding-top: 0; }
.process-list>li>span { width: 50px; height: 50px; display: grid; place-items: center; color: var(--primary); background: white; border: 1px solid var(--line); border-radius: 15px; font-size: .75rem; font-weight: 850; }
.process-list h3 { font-size: 1.25rem; }
.process-list p { margin-bottom: 0; }
.authority-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(48px,8vw,110px); }
.benefit-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.benefit-grid article,.feature { padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); }
.benefit-grid article svg,.feature-icon { color: var(--primary); }
.benefit-grid article h3 { margin-top: 24px; }
.benefit-grid article p,.feature p { margin-bottom: 0; font-size: .9rem; }
.company-teaser { display: grid; grid-template-columns: 1.05fr 1fr auto; align-items: center; gap: 46px; }
.company-teaser h2,.company-teaser p { margin-bottom: 0; }

.page-hero { padding: 55px 0 72px; background: linear-gradient(180deg,#fff,#f1f5f9); border-bottom: 1px solid var(--line); }
.breadcrumbs { margin-bottom: 42px; display: flex; gap: 9px; color: var(--muted-text); font-size: .78rem; }
.breadcrumbs a { text-decoration: none; }
.page-hero-grid { display: grid; grid-template-columns: 1fr minmax(340px,.72fr); align-items: center; gap: 70px; }
.page-hero h1 { font-size: clamp(2.8rem,5.6vw,5.6rem); }
.page-hero-media { height: 390px; overflow: hidden; border: 5px solid white; border-radius: 28px; box-shadow: var(--shadow-md); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; align-items: start; gap: 70px; }
.prose { max-width: 800px; }
.prose h2 { margin-top: 56px; font-size: clamp(1.9rem,3vw,2.8rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; }
.prose p,.prose li { color: var(--ink-soft); }
.prose li+li { margin-top: 8px; }
.prose blockquote { margin: 18px 0; padding: 22px; border-left: 4px solid var(--accent); background: white; border-radius: 0 16px 16px 0; }
.sidebar-card { position: sticky; top: 118px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.sidebar-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 750; }
.sidebar-links { margin: 24px 0; display: grid; }
.sidebar-links a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--primary); text-decoration: none; font-weight: 700; }
.sidebar-related { margin-top: -8px; padding-top: 12px; border-top: 1px solid var(--line); }
.sidebar-related a { min-height: 42px; color: var(--ink-soft); font-size: .82rem; font-weight: 650; }
.sidebar-related a:hover { color: var(--primary); }
.grid-2,.grid-3,.grid-4,.photo-grid,.service-price-grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.photo-grid { grid-template-columns: repeat(2,1fr); }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; }
.service-price-grid { grid-template-columns: repeat(2,1fr); }
.service-price-card { min-height: 214px; padding: 24px; display: flex; flex-direction: column; align-items: stretch; border: 1px solid var(--line); background: white; border-radius: 18px; box-shadow: 0 3px 0 rgba(11,23,40,.025); transition: transform .22s var(--ease),border-color .22s var(--ease),box-shadow .22s var(--ease); }
.service-price-card:hover { transform: translateY(-3px); border-color: #b8cbd9; box-shadow: var(--shadow-sm); }
.service-price-card h3 { margin: 0; }
.service-price-card strong { margin: 14px 0 18px; color: var(--primary); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.service-price-card a { min-height: 46px; margin-top: auto; padding: 0 14px; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--primary); border: 1px solid #c5d8e4; background: #f5fafc; border-radius: 12px; font-size: .84rem; font-weight: 800; line-height: 1; text-decoration: none; transition: color .18s var(--ease),background .18s var(--ease),border-color .18s var(--ease),transform .18s var(--ease); }
.service-price-card a svg { display: block; margin: 0; }
.service-price-card a:hover { color: white; border-color: var(--primary); background: var(--primary); transform: translateY(-1px); }
.service-price-card a:active { transform: scale(.98); }
.steps { display: grid; gap: 10px; counter-reset: step; }
.step { padding: 20px 20px 20px 66px; position: relative; background: white; border: 1px solid var(--line); border-radius: 16px; counter-increment: step; }
.step::before { content: counter(step); width: 34px; height: 34px; position: absolute; left: 18px; top: 17px; display: grid; place-items: center; color: white; background: var(--primary); border-radius: 10px; font-size: .75rem; font-weight: 800; }
.step p { margin: 0; }
.comparison-table { overflow: hidden; border: 1px solid var(--line); background: white; border-radius: 16px; }
.comparison-row { padding: 16px 18px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; border-bottom: 1px solid var(--line); }
.comparison-row:last-child { border-bottom: 0; }
.comparison-head { color: white; background: var(--ink); font-size: .78rem; font-weight: 750; }
.price-filter { margin-bottom: 30px; position: relative; display: flex; flex-wrap: wrap; gap: 8px; isolation: isolate; }
.price-filter-indicator { width: var(--filter-w,0); height: var(--filter-h,44px); position: absolute; left: 0; top: 0; z-index: 0; overflow: hidden; pointer-events: none; border-radius: 999px; background: var(--ink); transform: translate3d(var(--filter-x,0),var(--filter-y,0),0); transition: width .32s var(--ease),height .32s var(--ease),transform .32s var(--ease); will-change: width,height,transform; }
.price-filter-indicator::after { content: ""; width: 65%; position: absolute; inset-block: -20%; left: 0; opacity: 0; background: linear-gradient(100deg,transparent,rgba(255,255,255,.28),transparent); transform: translate3d(-125%,0,0) skewX(-18deg); }
.price-filter-indicator.is-moving::after { animation: filter-wave .38s var(--ease); }
@keyframes filter-wave { 0% { transform: translate3d(-125%,0,0) skewX(-18deg); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate3d(175%,0,0) skewX(-18deg); opacity: 0; } }
.filter-btn { min-height: 44px; position: relative; z-index: 1; padding: 0 15px; border: 1px solid var(--line); color: var(--ink-soft); background: white; border-radius: 999px; font-weight: 700; transition: color .2s var(--ease),border-color .2s var(--ease),background .2s var(--ease),transform .15s var(--ease); }
.filter-btn:hover { border-color: #b9c9d8; background: #f9fbfd; }
.filter-btn:active { transform: scale(.97); }
.filter-btn[aria-pressed="true"] { border-color: transparent; color: white; background: transparent; }
.price-list { display: grid; gap: 18px; }
.price-group { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); }
.price-group>h2 { margin: 0; padding: 24px; font-family: inherit; font-size: 1.35rem; letter-spacing: -.02em; background: var(--surface-soft); }
.price-row { padding: 20px 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 25px; border-top: 1px solid var(--line); }
.price-row { transition: background .18s var(--ease); }
.price-row:hover { background: #f8fbfd; }
.price-row h3,.price-row p { margin-bottom: 3px; }
.price-row h3 { font-size: 1.02rem; font-weight: 750; }
.price-row p { font-size: .85rem; }
.price-row>strong { color: var(--primary); font-variant-numeric: tabular-nums; white-space: nowrap; }

.articles-section { padding-top: 64px; }
.articles-intro { max-width: 980px; margin-bottom: 34px; display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 54px; }
.articles-intro h2,.articles-intro p { margin-bottom: 0; }
.articles-intro>p { padding-bottom: 6px; }
.article-accordion { display: grid; gap: 14px; }
.article-card { overflow: clip; border: 1px solid var(--line); background: white; border-radius: 20px; box-shadow: 0 3px 0 rgba(11,23,40,.02); transition: border-color .22s var(--ease),box-shadow .22s var(--ease),background .22s var(--ease); }
.article-card[open] { border-color: #b9cedd; box-shadow: var(--shadow-sm); }
.article-card summary { min-height: 136px; padding: 22px 24px; display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 20px; cursor: pointer; list-style: none; }
.article-card summary::-webkit-details-marker { display: none; }
.article-card summary:hover { background: #f8fbfd; }
.article-index { width: 50px; height: 50px; display: grid; place-items: center; color: var(--primary); background: #eaf4f8; border-radius: 14px; font-size: .8rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.article-summary-copy { min-width: 0; display: block; }
.article-category,.article-summary-copy strong,.article-summary-copy small { display: block; }
.article-category { margin-bottom: 7px; color: var(--primary); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.article-summary-copy strong { color: var(--ink); font-family: var(--font-display); font-size: clamp(1.25rem,2vw,1.65rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 750; }
.article-summary-copy small { max-width: 850px; margin-top: 8px; overflow: hidden; color: var(--muted-text); font-size: .78rem; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.article-toggle { min-width: 102px; min-height: 44px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--primary); border: 1px solid #c7d9e5; background: white; border-radius: 12px; font-size: .76rem; font-weight: 800; }
.article-toggle svg { transform: rotate(90deg); transition: transform .22s var(--ease); }
.article-card[open] .article-toggle svg { transform: rotate(-90deg); }
.article-card[open] .article-toggle span { font-size: 0; }
.article-card[open] .article-toggle span::after { content: "Свернуть"; font-size: .76rem; }
.article-content-shell { display: grid !important; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .28s var(--ease),opacity .2s var(--ease); }
.article-card[open] .article-content-shell { grid-template-rows: 1fr; opacity: 1; }
.article-content-clip { min-height: 0; overflow: hidden; }
.article-content { max-width: none; padding: 8px clamp(24px,6vw,96px) 48px; border-top: 1px solid var(--line); }
.article-content>p:first-child { margin-top: 34px; }
.article-content p { max-width: 820px; }
.license-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.license-card { overflow: hidden; padding: 10px; border: 1px solid var(--line); background: white; border-radius: 18px; text-decoration: none; transition: transform .2s var(--ease),box-shadow .2s; }
.license-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.license-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: 12px; }
.license-card span { min-height: 48px; display: flex; align-items: center; padding: 8px; color: var(--primary); font-size: .82rem; font-weight: 750; }
.faq-section { margin-top: 64px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { overflow: hidden; border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 1.4rem; transition: transform .2s var(--ease); }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-answer { display: grid !important; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .26s var(--ease),opacity .18s var(--ease); }
.faq-list details[open] .faq-answer { grid-template-rows: 1fr; opacity: 1; }
.faq-answer-inner { min-height: 0; overflow: hidden; }
.faq-answer-inner p { margin: 0; padding: 0 42px 18px 0; }
.policy-full { max-width: 920px; margin-inline: auto; }

.section-dark { color: white; background: #071321; }
.cta { position: relative; overflow: hidden; }
.cta::before { content: ""; width: 560px; height: 560px; position: absolute; top: -260px; left: -260px; border: 1px solid rgba(142,212,238,.15); border-radius: 50%; box-shadow: 0 0 0 90px rgba(142,212,238,.025),0 0 0 180px rgba(142,212,238,.02); }
.cta-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(50px,8vw,110px); }
.cta-benefits { margin: 30px 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.cta-benefits li { display: flex; align-items: center; gap: 9px; color: #dbe6ef; }
.cta-benefits svg { color: #8ed4ee; }
.contact-card { max-width: 420px; padding: 19px 20px; display: block; border: 1px solid rgba(255,255,255,.16); color: white; background: rgba(255,255,255,.07); border-radius: 16px; text-decoration: none; }
.contact-card span { display: flex; align-items: center; gap: 8px; }
.contact-card span { color: #aec1d1; font-size: .8rem; }
.contact-card-phones { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 7px; }
.contact-card-phones a { min-height: 40px; padding: 7px 10px; display: inline-flex; align-items: center; color: white; background: rgba(255,255,255,.08); border-radius: 10px; text-decoration: none; font-size: .96rem; font-weight: 750; font-variant-numeric: tabular-nums; transition: background .18s var(--ease),transform .12s var(--ease); }
.contact-card-phones a:hover { background: rgba(142,212,238,.18); }
.contact-card-phones a:active { transform: scale(.97); }
.contact-form { scroll-margin-top: 118px; padding: clamp(24px,4vw,40px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; color: var(--ink); background: linear-gradient(180deg,#fff 0%,#f9fbfd 100%); border: 1px solid rgba(255,255,255,.75); border-radius: 28px; box-shadow: 0 30px 70px rgba(0,0,0,.24); }
.form-heading { grid-column: 1/-1; margin-bottom: 4px; padding-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.form-heading span { color: var(--primary); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.form-heading strong { color: var(--ink-soft); font-size: .82rem; font-weight: 650; }
.form-heading>div:first-child { display: grid; gap: 5px; }
.form-progress { display: flex; align-items: center; gap: 6px; }
.form-progress i { width: 24px; height: 5px; display: block; background: #d8e2ea; border-radius: 999px; transition: width .24s var(--ease),background .24s var(--ease); }
.form-progress i.is-current,.form-progress i.is-done { background: var(--primary); }
.form-progress i.is-current { width: 34px; }
.form-step { grid-column: 1/-1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; animation: form-step-in .28s var(--ease); }
.form-step[hidden] { display: none; }
.form-step>h3,.form-step>p:not(.form-step-count),.form-step-top,.lead-goal-options,.form-step>.service-field,.form-step>.form-next { grid-column: 1/-1; }
.form-step h3 { margin: 0; color: var(--ink); font-family: var(--font-display); font-size: clamp(1.35rem,2vw,1.75rem); line-height: 1.08; }
.form-step>p:not(.form-step-count) { margin: -9px 0 2px; color: var(--muted-text); font-size: .88rem; line-height: 1.55; }
.form-step-count { margin: 0; color: var(--primary); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.form-step-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.form-back { min-height: 32px; display: inline-flex; align-items: center; gap: 5px; padding: 0 9px; border: 0; color: var(--muted-text); background: transparent; border-radius: 9px; font-size: .74rem; font-weight: 750; }
.form-back:hover { color: var(--primary); background: var(--surface-soft); }
.form-back svg { transform: rotate(180deg); }
.lead-goal-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.lead-goal-card { min-height: 126px; padding: 17px; display: grid; grid-template-columns: 42px minmax(0,1fr) 20px; gap: 12px; align-items: center; border: 1px solid #cbd7e2; color: var(--ink); background: #f4f8fb; border-radius: 17px; text-align: left; transition: border-color .2s var(--ease),background .2s var(--ease),box-shadow .2s var(--ease),transform .2s var(--ease); }
.lead-goal-card:hover,.lead-goal-card:focus-visible { border-color: var(--primary); background: white; box-shadow: 0 12px 24px rgba(11,95,134,.12); outline: none; transform: translateY(-2px); }
.lead-goal-card:active { transform: scale(.985); }
.lead-goal-card>span:nth-child(2) { min-width: 0; }
.lead-goal-card strong,.lead-goal-card small { display: block; }
.lead-goal-card strong { font-size: .88rem; line-height: 1.3; }
.lead-goal-card small { margin-top: 5px; color: var(--muted-text); font-size: .7rem; line-height: 1.45; }
.lead-goal-card>svg { color: var(--primary); }
.lead-goal-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--primary); background: rgba(11,95,134,.09); border-radius: 12px; }
.form-next { justify-self: start; }
@keyframes form-step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.field { min-width: 0; display: grid; grid-auto-rows: max-content; align-content: start; gap: 8px; }
.field-wide,.check,.privacy-note,.contact-form .btn,.form-note,.form-status { grid-column: 1/-1; }
.field label { display: flex; justify-content: space-between; gap: 10px; color: var(--ink); font-size: .78rem; font-weight: 800; }
.field label span { color: var(--muted-text); font-size: .7rem; font-weight: 600; }
.field input,.field textarea { width: 100%; min-height: 56px; padding: 0 16px; border: 1px solid #cbd7e2; color: var(--ink); background: #f4f8fb; border-radius: 14px; outline: none; transition: border-color .18s,box-shadow .18s,background .18s; }
.field input { height: 56px; }
.field textarea { min-height: 116px; padding-block: 15px; resize: vertical; }
.field input:focus,.field textarea:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(11,95,134,.11); }
.field input::placeholder,.field textarea::placeholder { color: #8290a2; }
.field-hint { color: var(--muted-text); font-size: .7rem; line-height: 1.4; }
.service-field { position: relative; z-index: 8; }
.service-picker { position: relative; }
.service-picker-trigger { width: 100%; min-height: 66px; padding: 10px 13px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #cbd7e2; color: var(--ink); background: #f4f8fb; border-radius: 15px; text-align: left; outline: none; transition: border-color .18s,box-shadow .18s,background .18s; }
.service-picker-trigger:hover { border-color: #9fb4c7; background: white; }
.service-picker.open .service-picker-trigger,.service-picker-trigger:focus-visible { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(11,95,134,.11); }
.service-picker-current { min-width: 0; display: flex; align-items: center; gap: 12px; }
.service-picker-current>span:last-child { min-width: 0; }
.service-picker-current strong,.service-picker-current small { display: block; }
.service-picker-current strong { overflow: hidden; color: var(--ink); font-size: .92rem; text-overflow: ellipsis; white-space: nowrap; }
.service-picker-current small { margin-top: 2px; overflow: hidden; color: var(--muted-text); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.service-picker-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; color: var(--primary); background: rgba(11,95,134,.09); border-radius: 11px; }
.service-picker-chevron { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; color: var(--muted-text); transition: transform .2s var(--ease); }
.service-picker-chevron svg { transform: rotate(90deg); }
.service-picker.open .service-picker-chevron { transform: rotate(180deg); }
.service-picker-panel { width: 100%; max-height: 390px; position: absolute; z-index: 30; top: calc(100% + 9px); left: 0; overflow: auto; padding: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.98); border-radius: 18px; box-shadow: 0 24px 60px rgba(11,23,40,.2); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px) scale(.985); transform-origin: top; transition: opacity .18s var(--ease),transform .18s var(--ease),visibility .18s; }
.service-picker.open .service-picker-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.service-picker-panel>button { width: 100%; min-height: 64px; padding: 9px 10px; display: grid; grid-template-columns: 38px minmax(0,1fr) 30px; align-items: center; gap: 11px; border: 0; color: var(--ink); background: transparent; border-radius: 12px; text-align: left; }
.service-picker-panel>button:hover,.service-picker-panel>button:focus-visible { background: var(--surface-soft); outline: none; }
.service-picker-panel>button[aria-selected="true"] { background: #e8f4f9; }
.service-picker-panel strong,.service-picker-panel small { display: block; }
.service-picker-panel strong { font-size: .84rem; }
.service-picker-panel small { margin-top: 2px; color: var(--muted-text); font-size: .67rem; line-height: 1.35; }
.service-picker-check { color: var(--primary); opacity: 0; }
.service-picker-panel>button[aria-selected="true"] .service-picker-check { opacity: 1; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; color: var(--ink-soft); font-size: .78rem; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--primary); }
.check a,.privacy-note a { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(11,95,134,.3); text-underline-offset: 3px; }
.privacy-note { margin: -8px 0 0 33px; color: var(--muted-text); font-size: .72rem; line-height: 1.45; }
.contact-form .btn { width: 100%; }
.contact-form .btn:disabled { opacity: .55; cursor: wait; transform: none; }
.contact-form .btn.is-loading svg { animation: submit-spin .9s linear infinite; }
.contact-form .btn.is-success,.contact-form .btn.is-success:hover { color: white; background: #159653; box-shadow: 0 14px 32px rgba(21,150,83,.25); }
.contact-form .btn.is-success:disabled { opacity: 1; cursor: default; }
.contact-form .btn.is-success svg { animation: submit-check .28s var(--ease); }
@keyframes submit-spin { to { transform: rotate(360deg); } }
@keyframes submit-check { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: scale(1); } }
.form-note,.form-status { margin: 0; color: var(--muted-text); font-size: .74rem; }
.form-trap { width: 1px; height: 1px; position: absolute; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.footer { padding: 75px 0 28px; color: white; background: #050d17; }
.footer p { color: #aebdcc; }
.footer-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.footer-intro h2 { margin-bottom: 0; }
.footer-contact-grid { margin: 44px 0 62px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.footer-contact { min-height: 170px; padding: 22px; display: grid; grid-template-rows: auto auto 1fr auto; align-content: start; gap: 9px; border: 1px solid #233143; color: white; background: #0a1522; border-radius: 19px; text-decoration: none; transition: transform .2s var(--ease),border-color .2s var(--ease),background .2s var(--ease); }
a.footer-contact:hover,.footer-address:hover { transform: translateY(-3px); border-color: #3c536b; background: #0d1b2a; }
.footer-address { width: 100%; text-align: left; cursor: pointer; }
.footer-address:active { transform: scale(.985); }
.footer-contact-icon { width: 42px; height: 42px; margin-bottom: 5px; display: grid !important; place-items: center; color: #8ed4ee !important; background: rgba(142,212,238,.09); border: 1px solid rgba(142,212,238,.13); border-radius: 12px; }
.footer-contact>span:not(.footer-contact-icon),.footer-contact small { color: #a9bac9; font-size: .79rem; font-weight: 600; }
.footer-contact strong { align-self: start; overflow-wrap: anywhere; font-size: 1.04rem; font-weight: 760; line-height: 1.45; }
.footer-phone-links { align-self: start; display: grid; gap: 4px; }
.footer-phone-links a { width: fit-content; color: white; text-decoration: none; font-size: 1rem; font-weight: 760; line-height: 1.4; font-variant-numeric: tabular-nums; }
.footer-phone-links a:hover { color: #8ed4ee; }
.footer-nav-row { padding: 30px 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; border-block: 1px solid #1d2938; }
.footer .brand { color: white; }
.footer .brand-avatar { border-color: #26384b; box-shadow: none; }
.footer .brand-copy span { color: #94a6b7; }
.footer-links,.footer-social { display: flex; align-items: center; gap: 7px; }
.footer-links { justify-content: center; }
.footer-links a,.footer-bottom a,.footer-bottom button { min-height: 40px; padding: 0 12px; display: inline-flex; align-items: center; color: #bdc9d4; border: 0; background: transparent; border-radius: 10px; text-decoration: none; font: inherit; font-size: .78rem; cursor: pointer; transition: color .18s var(--ease),background .18s var(--ease); }
.footer-links a:hover,.footer-bottom a:hover,.footer-bottom button:hover { color: white; background: #101e2d; }
.social-button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; font-size: .76rem; font-weight: 750; transition: transform .18s var(--ease),background .18s var(--ease),border-color .18s var(--ease); }
.social-button svg:last-child { opacity: .65; }
.social-button.whatsapp { color: #bfffd6; border-color: rgba(37,211,102,.2); background: rgba(37,211,102,.11); }
.social-button.telegram { color: #c9f0ff; border-color: rgba(35,158,217,.22); background: rgba(35,158,217,.12); }
.social-button:hover { color: white; transform: translateY(-2px); }
.social-button.whatsapp:hover { border-color: rgba(37,211,102,.42); background: rgba(37,211,102,.2); }
.social-button.telegram:hover { border-color: rgba(35,158,217,.45); background: rgba(35,158,217,.22); }
.footer-bottom { padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #8fa1b2; font-size: .74rem; }
.footer-bottom>span { min-height: 40px; display: inline-flex; align-items: center; }
.footer-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }

.map-dialog { width: min(920px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.75); color: var(--ink); background: rgba(248,251,253,.96); border-radius: 28px; box-shadow: 0 34px 100px rgba(3,12,22,.34); opacity: 0; transform: translateY(14px) scale(.975); transition: opacity .24s var(--ease),transform .3s var(--ease),display .3s allow-discrete,overlay .3s allow-discrete; }
.map-dialog[open] { opacity: 1; transform: translateY(0) scale(1); }
@starting-style { .map-dialog[open] { opacity: 0; transform: translateY(14px) scale(.975); } }
.map-dialog::backdrop { background: rgba(3,12,22,.56); backdrop-filter: blur(8px); opacity: 0; transition: opacity .24s var(--ease),display .3s allow-discrete,overlay .3s allow-discrete; }
.map-dialog[open]::backdrop { opacity: 1; }
@starting-style { .map-dialog[open]::backdrop { opacity: 0; } }
.map-dialog-shell { padding: 18px; display: grid; gap: 14px; }
.map-dialog-header { padding: 8px 8px 2px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.map-dialog-header h2 { margin: 5px 0 6px; font-size: clamp(1.75rem,4vw,2.6rem); }
.map-dialog-header p { margin: 0; font-size: .92rem; }
.map-dialog-kicker { color: var(--primary); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.map-dialog-close { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); background: white; border-radius: 14px; transition: color .18s var(--ease),background .18s var(--ease),transform .18s var(--ease); }
.map-dialog-close:hover { color: white; background: var(--ink); transform: rotate(4deg); }
.map-frame { height: min(54dvh,500px); min-height: 340px; overflow: hidden; border: 1px solid var(--line); background: #e7eef4; border-radius: 20px; }
.map-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.map-dialog-footer { padding: 4px 5px 2px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.map-dialog-footer p { max-width: 520px; margin: 0; display: flex; align-items: center; gap: 8px; font-size: .78rem; line-height: 1.45; }
.map-dialog-footer .btn { flex: 0 0 auto; }

:focus-visible { outline: 3px solid #4fb2db; outline-offset: 3px; }
.motion-ready .reveal { opacity: 0; transform: translateY(16px); }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .38s var(--ease),transform .38s var(--ease); }
.motion-ready .reveal-stagger>* { opacity: 0; transform: translateY(12px); }
.motion-ready .reveal-stagger.is-visible>* { opacity: 1; transform: translateY(0); transition: opacity .34s var(--ease),transform .34s var(--ease); transition-delay: calc(var(--i,0) * 40ms); }

@media (max-width: 1320px) {
  .nav { display: none; }
  .header-contact-cluster { margin-left: auto; }
  .menu-toggle { display: grid; }
  .mobile-panel { max-height: calc(100dvh - 78px); position: fixed; z-index: 99; inset: 78px 0 auto; overflow: auto; padding: 16px 20px 30px; display: grid; gap: 3px; border-top: 1px solid var(--line); background: rgba(255,255,255,.98); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .2s var(--ease),transform .2s var(--ease),visibility .2s; }
  .mobile-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .header.is-island+.mobile-panel { width: calc(100% - 24px); right: 12px; left: 12px; border: 1px solid rgba(220,229,238,.9); border-radius: 20px; }
  .mobile-panel a,.mobile-services-toggle { width: 100%; min-height: 48px; display: flex; align-items: center; padding: 0 14px; border: 0; color: var(--ink); background: transparent; border-radius: 10px; text-align: left; text-decoration: none; font-weight: 700; }
  .mobile-panel a:hover,.mobile-services-toggle:hover { background: var(--surface-soft); }
  .mobile-services-toggle { justify-content: space-between; }
  .mobile-services-toggle svg { transform: rotate(90deg); transition: transform .22s var(--ease); }
  .mobile-services-toggle[aria-expanded="true"] svg { transform: rotate(-90deg); }
  .mobile-services-list { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .28s var(--ease),opacity .2s var(--ease); }
  .mobile-services-list.open { grid-template-rows: 1fr; opacity: 1; }
  .mobile-services-inner { min-height: 0; overflow: hidden; display: grid; gap: 2px; }
  .mobile-panel .mobile-service { min-height: 44px; padding-left: 24px; gap: 10px; color: var(--ink-soft); font-size: .86rem; font-weight: 600; }
  .mobile-panel .mobile-service svg { color: var(--primary); }
  .mobile-panel .mobile-service-all { margin-top: 4px; color: var(--primary); font-weight: 750; }
  .hero-grid { grid-template-columns: 1fr 420px; gap: 45px; }
  .hero-collage { min-height: 490px; }
  .content-layout { grid-template-columns: 1fr 300px; gap: 45px; }
  .company-teaser { grid-template-columns: 1fr 1fr; }
  .company-teaser .btn { grid-column: 1/-1; justify-self: start; }
}

@media (max-width: 820px) {
  .topline-list:first-child span:first-child { display: none; }
  .hero { padding-top: 62px; }
  .hero-grid,.page-hero-grid,.process-layout,.authority-grid,.cta-grid,.content-layout { grid-template-columns: 1fr; }
  .hero-collage { min-height: 520px; margin-top: 12px; }
  .hero-float-card { left: 12px; bottom: -58px; }
  .trust-bar-inner { padding-block: 18px; flex-wrap: wrap; justify-content: flex-start; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .service-card,.service-card-featured { grid-column: span 1; }
  .service-card-featured .service-media,.service-media { height: 220px; }
  .process-intro,.sidebar-card { position: static; }
  .page-hero-media { height: 320px; }
  .page-hero .btn { width: 100%; }
  .content-layout .prose { max-width: none; }
  .sidebar-card { order: -1; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .service-price-grid { grid-template-columns: 1fr; }
  .license-grid { grid-template-columns: repeat(2,1fr); }
  .company-teaser { grid-template-columns: 1fr; gap: 22px; }
  .footer-intro { grid-template-columns: 1fr; gap: 22px; }
  .footer-contact-grid { grid-template-columns: 1fr; }
  .footer-nav-row { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .footer-social { flex-wrap: wrap; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .articles-intro { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topline { display: none; }
  .header-row { min-height: 68px; gap: 10px; }
  .header.is-island { width: calc(100% - 16px); top: 8px; border-radius: 20px; }
  .header.is-island .header-row { min-height: 60px; padding-inline: 8px; }
  .brand-avatar { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy span { font-size: .58rem; }
  .map-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 22px; }
  .map-dialog-shell { padding: 10px; gap: 10px; }
  .map-dialog-header { padding: 8px 6px 0; gap: 10px; }
  .map-dialog-header h2 { font-size: 1.65rem; }
  .map-dialog-header p { font-size: .8rem; line-height: 1.45; }
  .map-dialog-close { width: 42px; height: 42px; flex-basis: 42px; border-radius: 12px; }
  .map-frame { height: 52dvh; min-height: 300px; border-radius: 16px; }
  .map-dialog-footer { padding: 2px; align-items: stretch; flex-direction: column; gap: 10px; }
  .map-dialog-footer p { padding-inline: 4px; }
  .map-dialog-footer .btn { width: 100%; }
  .header-contact-phone { width: 46px; min-height: 46px; flex: 0 0 46px; padding: 0; position: relative; top: 0; border-radius: 13px; line-height: 0; }
  .header-contact-phone span { display: none; }
  .header-contact-phone>i { display: none; }
  .phone-picker-panel { width: min(300px,calc(100vw - 28px)); position: fixed; top: max(76px,calc(env(safe-area-inset-top) + 68px)); right: auto; left: 50vw; transform: translate(-50%,-7px) scale(.97); transform-origin: top center; }
  .phone-picker.open .phone-picker-panel { transform: translateX(-50%); }
  .header.is-island .phone-picker-panel { top: max(72px,calc(env(safe-area-inset-top) + 64px)); }
  .header-contact svg { width: 20px; height: 20px; display: block; margin: 0; }
  .header.is-island .brand-copy span { display: none; }
  .header.is-island .header-contact-phone,.header.is-island .header-contact-social { width: 40px; min-height: 40px; flex-basis: 40px; border-radius: 12px; }
  .header.is-island .header-contact-cluster { gap: 5px; }
  .lead-success-island { top: max(78px,calc(env(safe-area-inset-top) + 68px)); }
  .menu-toggle { width: 46px; height: 46px; }
  .mobile-panel { top: 68px; }
  h1 { font-size: clamp(2.7rem,14vw,4.1rem); }
  h2 { font-size: clamp(2rem,10vw,3rem); }
  .hero { padding: 48px 0 54px; }
  .hero-copy .lead { font-size: 1.04rem; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; gap: 8px; }
  .hero-proof div { padding: 11px 0; display: grid; grid-template-columns: 132px minmax(0,1fr); align-items: center; gap: 10px; }
  .hero-proof span { margin: 0; }
  .hero-collage { min-height: 420px; margin-bottom: 28px; }
  .hero-photo-main { inset: 0 8% 10% 0; }
  .hero-photo-small { width: 44%; height: 31%; }
  .hero-photo-sign { width: 49%; height: 29%; }
  .hero-photo figcaption { left: 9px; right: 9px; bottom: 9px; min-height: 38px; padding: 8px 9px; font-size: .65rem; }
  .hero-float-card { max-width: 220px; bottom: -76px; }
  .trust-bar-inner { display: grid; gap: 12px; }
  .section { padding: 72px 0; }
  .section-head { align-items: stretch; flex-direction: column; gap: 16px; }
  .section-head .btn { width: 100%; }
  .services-grid,.benefit-grid,.grid-2,.grid-3,.grid-4,.photo-grid { grid-template-columns: 1fr; }
  .service-body { min-height: 235px; padding: 22px; }
  .process-list li { grid-template-columns: 46px 1fr; gap: 14px; }
  .process-list>li>span { width: 42px; height: 42px; }
  .page-hero { padding: 35px 0 52px; }
  .breadcrumbs { margin-bottom: 28px; }
  .page-hero-media { height: 240px; }
  .comparison-table { overflow: hidden; }
  .comparison-head { display: none; }
  .comparison-row { min-width: 0; padding: 17px; grid-template-columns: 1fr 1fr; gap: 12px; }
  .comparison-row>strong { grid-column: 1/-1; }
  .comparison-row>span { min-width: 0; color: var(--primary); font-weight: 750; }
  .comparison-row>span::before { display: block; margin-bottom: 2px; color: var(--muted-text); font-size: .68rem; font-weight: 650; }
  .comparison-row>span:nth-child(2)::before { content: "Досудебная"; }
  .comparison-row>span:nth-child(3)::before { content: "Судебная"; }
  .price-row { grid-template-columns: 1fr; gap: 8px; }
  .license-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; padding: 20px; border-radius: 20px; }
  .form-step { grid-template-columns: 1fr; }
  .lead-goal-options { grid-template-columns: 1fr; }
  .field,.field-wide,.check,.privacy-note,.contact-form .btn,.form-note,.form-status { grid-column: 1; }
  .form-heading { align-items: start; flex-direction: column; gap: 5px; }
  .privacy-note { margin-left: 31px; }
  .service-picker-panel { max-height: 330px; }
  .service-picker-current small { display: none; }
  .article-card summary { min-height: 0; padding: 18px; grid-template-columns: 42px minmax(0,1fr); gap: 13px; }
  .article-index { width: 42px; height: 42px; border-radius: 12px; }
  .article-summary-copy small { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .article-toggle { grid-column: 2; justify-self: start; min-width: 94px; margin-top: 2px; }
  .article-content { padding: 0 20px 32px; }
  .article-content>p:first-child { margin-top: 26px; }
  .footer { padding-top: 60px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 20px); }
  .header-row { gap: 7px; }
  .header-row>.brand { gap: 7px; }
  .header-row .brand-avatar { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
  .header-row .brand-copy strong { font-size: .92rem; white-space: nowrap; }
  .header-row .brand-copy span { display: none; }
  .header-contact-phone,.menu-toggle { width: 42px; height: 42px; min-height: 42px; flex-basis: 42px; border-radius: 12px; }
  .header.is-island .header-row>.brand { min-width: 40px; }
  .header.is-island .brand-copy { display: none; }
  .header.is-island .header-contact-phone,.header.is-island .header-contact-social { width: 36px; min-height: 36px; flex-basis: 36px; }
  .hero-copy h1,.page-hero h1 { overflow-wrap: anywhere; }
  .faq-list summary { gap: 10px; font-size: .92rem; line-height: 1.35; }
  .faq-answer-inner p { padding-right: 18px; }
}

@media (max-width: 430px) {
  .header.is-island .header-row { gap: 0; }
  .header.is-island .brand-copy { display: none; }
  .header.is-island .header-row>.brand { min-width: 42px; flex: 0 0 42px; justify-content: center; }
  .header.is-island .header-contact-cluster { min-width: 0; flex: 1 1 auto; margin: 0; justify-content: space-evenly; gap: 0; }
  .header.is-island .header-contact-phone,.header.is-island .header-contact-social { width: 44px; min-height: 44px; flex: 0 0 44px; border-radius: 13px; }
  .header.is-island .menu-toggle { width: 44px; height: 44px; min-height: 44px; flex: 0 0 44px; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .motion-ready .reveal,.motion-ready .reveal-stagger>* { opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .header,.header.is-island { background: #fff; backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root { --line: #9eacba; --muted-text: #455468; }
  .header { background: white; backdrop-filter: none; }
}
.analytics-consent { position: fixed; z-index: 1300; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); left: auto; width: min(680px, calc(100vw - 40px)); display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 18px; color: #102033; background: rgba(255,255,255,.97); border: 1px solid #d7e2ec; border-radius: 24px; box-shadow: 0 22px 70px rgba(3,18,33,.22); opacity: 0; visibility: hidden; transform: translateY(18px) scale(.98); transition: opacity .22s var(--ease),transform .22s var(--ease),visibility .22s; }
.analytics-consent.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.analytics-consent-icon { width: 48px; height: 48px; display: grid; place-items: center; color: #08739b; background: #e5f4f9; border-radius: 15px; }
.analytics-consent-copy strong { display: block; margin-bottom: 3px; font-size: 1rem; }
.analytics-consent-copy p { margin: 0; color: #536579; font-size: .84rem; line-height: 1.45; }
.analytics-consent-copy a { display: inline-flex; margin-top: 5px; color: #075f82; font-size: .78rem; font-weight: 700; }
.analytics-consent-actions { display: flex; gap: 8px; align-items: center; }
.analytics-consent-actions .btn { min-height: 46px; padding-inline: 16px; white-space: nowrap; font-size: .8rem; }
@media (max-width: 720px) {
  .analytics-consent { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; width: auto; grid-template-columns: 44px minmax(0,1fr); gap: 12px; padding: 15px; border-radius: 20px; }
  .analytics-consent-icon { width: 44px; height: 44px; }
  .analytics-consent-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .analytics-consent-actions .btn { width: 100%; padding-inline: 10px; }
}
@media (max-width: 420px) {
  .analytics-consent-actions { grid-template-columns: 1fr; }
}
