/* RİMAS Hüquq Xidmətləri
   Night desk (Instagram palette) with white legal paper on it.
   Archivo for the brand voice, Source Serif 4 only for what is a document: the application, topic texts, the tariff, checklists. */

:root {
  --night: #0b1727;
  --night-2: #0f1f33;
  --rule: #23354c;
  --rule-2: #31455f;
  --paper: #fbfaf7;
  --paper-rule: #dcd6cb;
  --ink: #182231;
  --ink-2: #545e6b;
  --lamp: #d6a15f;
  --lamp-hi: #e8bd85;
  --lamp-ink: #8b5a1f;
  --silver: #a6aeb8;
  --text: #e9e6e0;
  --stamp: #2d4a93;
  --err: #a3361f;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
.sheet :focus-visible { outline-color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--lamp); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(1220px, 100% - 2 * var(--gut)); margin-inline: auto; }
.muted { color: var(--silver); }
.small { font-size: .9375rem; }
.link { color: var(--lamp-hi); text-underline-offset: 3px; text-decoration-thickness: 1px; }

.h2 { font-size: clamp(1.9rem, 1.25rem + 2vw, 2.7rem); font-weight: 780; font-stretch: 80%; line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance; max-width: 20ch; }
.h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 90%; line-height: 1.25; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 4px;
  font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap;
}
.btn--lamp { background: var(--lamp); color: var(--ink); }
.btn--lamp:hover { background: var(--lamp-hi); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2a3546; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Top bar + header ---------- */
.topbar { background: #08121f; border-bottom: 1px solid var(--rule); font-size: .8125rem; color: var(--silver); }
.topbar__row { display: flex; align-items: center; gap: 28px; min-height: 36px; }
.topbar__hours { margin-right: auto; }
.topbar__phones { display: flex; gap: 18px; font-variant-numeric: tabular-nums; }
.topbar__phones a { text-decoration: none; color: var(--text); font-weight: 600; }
.topbar__phones a:hover { color: var(--lamp-hi); }

.head { position: sticky; top: 0; z-index: 50; background: var(--night); border-bottom: 1px solid var(--rule); }
.head__row { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 36px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font-weight: 800; font-stretch: 120%; font-size: 1.2rem; letter-spacing: .07em; }
.brand__text span { font-size: .78rem; color: var(--silver); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .9375rem; font-weight: 550; }
.nav a { text-decoration: none; color: var(--silver); padding: 6px 0; }
.nav a:hover { color: var(--text); }
.nav__phone { display: none !important; }
.menu { display: none; width: 44px; height: 44px; border: 1px solid var(--rule-2); border-radius: 4px; background: none; align-items: center; justify-content: center; }
.menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 18px; height: 1.6px; background: var(--text); position: relative; }
.menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
.menu__bars::before { top: -6px; }
.menu__bars::after { top: 6px; }
.menu[aria-expanded="true"] .menu__bars { background: transparent; }
.menu[aria-expanded="true"] .menu__bars::before { top: 0; transform: rotate(45deg); }
.menu[aria-expanded="true"] .menu__bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Paper ---------- */
.sheet {
  background: var(--paper); color: var(--ink); border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .25), 0 28px 56px -28px rgba(0, 0, 0, .75);
}
.doc { font-family: var(--serif); font-size: 1.125rem; line-height: 1.65; }
.doc p + p { margin-top: .7em; }
.doc .doc__lead { font-size: 1.25rem; line-height: 1.5; font-weight: 600; }
.doc .is-cta { font-family: var(--sans); font-weight: 700; color: var(--lamp-ink); font-size: 1.0625rem; margin-top: 1.1em; }
.doc a { color: var(--ink); }

/* ---------- Hero with the application form ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--rule); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.hero__copy { padding-top: clamp(0px, 3vw, 40px); }
.hero__title {
  font-size: clamp(2.6rem, 1.3rem + 4.4vw, 4.85rem); font-weight: 820; font-stretch: 72%;
  line-height: .95; letter-spacing: -0.018em; margin-bottom: 26px;
}
.hero__title span { display: block; }
.hero__lead { font-size: 1.1875rem; line-height: 1.55; color: #cfcbc4; max-width: 36em; margin-bottom: 36px; }
.hero__phones { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 22px; border-top: 1px solid var(--rule); max-width: 560px; }
.hero__phones a { display: flex; flex-direction: column; text-decoration: none; font-weight: 700; font-size: 1.625rem; font-variant-numeric: tabular-nums; line-height: 1.2; }
.hero__phones a:hover { color: var(--lamp-hi); }
.hero__phones small { font-size: .8125rem; font-weight: 500; color: var(--silver); }
.hero__hours { margin-top: 14px; font-size: .9375rem; color: var(--silver); }
.hero__hours { display: none; } /* the top bar already says it on wide screens */
.hero__form { max-width: 500px; justify-self: end; width: 100%; }

/* ---------- Ərizə (application) ---------- */
.erize { position: relative; padding: clamp(24px, 3.4vw, 40px) clamp(22px, 3.4vw, 42px) clamp(22px, 3vw, 32px); font-family: var(--serif); }
.erize__to { width: min(100%, 290px); margin-left: auto; font-size: 1.0625rem; line-height: 1.45; }
.line { display: block; margin-top: 10px; }
.line input, .erize__phone input {
  width: 100%; border: 0; border-bottom: 1px solid #8f969f; border-radius: 0; background: transparent;
  font: 400 1.125rem var(--serif); color: var(--ink); padding: 4px 0;
}
.line input:focus, .erize__phone input:focus, .erize__note textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.line__cap { display: block; text-align: center; font-size: .75rem; font-style: italic; color: var(--ink-2); margin-top: 2px; }
.erize__title { text-align: center; font: 600 1.75rem/1 var(--serif); letter-spacing: .01em; margin: 26px 0 18px; }
.erize__text { font-size: 1.125rem; line-height: 2; }
.pick { position: relative; display: inline-block; max-width: 100%; }
.pick select {
  -webkit-appearance: none; appearance: none; max-width: 100%;
  border: 0; border-bottom: 1px dashed var(--lamp-ink); border-radius: 0; background: transparent;
  font: 600 1.0625rem var(--serif); color: var(--lamp-ink); padding: 0 18px 0 2px; cursor: pointer;
  text-overflow: ellipsis;
}
.pick::after { content: ""; position: absolute; right: 4px; top: 50%; width: 6px; height: 6px; border: solid var(--lamp-ink); border-width: 0 1.5px 1.5px 0; transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.erize__note { display: block; margin-top: 14px; }
.erize__note span { display: block; font-size: .9375rem; color: var(--ink-2); }
.erize__note i { font-style: italic; }
.erize__note textarea {
  display: block; width: 100%; border: 0; border-radius: 0; resize: vertical; min-height: 96px;
  background: transparent repeating-linear-gradient(to bottom, transparent 0, transparent 31px, var(--paper-rule) 31px, var(--paper-rule) 32px);
  font: 400 1.0625rem/32px var(--serif); color: var(--ink); padding: 0 2px;
}
.erize__phone { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 10px; margin-top: 14px; font-size: 1.0625rem; }
.erize__phone input { font-variant-numeric: tabular-nums; }
.erize__phone .erize__err { grid-column: 2; }
.erize__err { display: block; min-height: 0; font: 500 .8125rem/1.4 var(--sans); color: var(--err); }
.erize [aria-invalid="true"] { border-bottom-color: var(--err) !important; }
.erize__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.erize__sign { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--paper-rule); }
.erize__date { font-style: italic; color: var(--ink-2); font-size: 1rem; }
.erize__fail { margin-top: 12px; font: 500 .9rem/1.45 var(--sans); color: var(--err); }
.erize__privacy { margin-top: 12px; font: 400 .75rem/1.45 var(--sans); color: var(--ink-2); }
.erize__done { text-align: center; padding: 8px 0 6px; outline: none; }
.erize__done .erize__title { margin: 10px 0 12px; }
.erize__done p { font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); }
.erize__calls { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font: 700 1.125rem var(--sans); font-variant-numeric: tabular-nums; }
.erize__calls a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.stamp { width: 148px; height: 148px; margin: 0 auto; display: block; color: var(--stamp); transform: rotate(-9deg); opacity: .86; mix-blend-mode: multiply; font-family: var(--sans); }
@media (prefers-reduced-motion: no-preference) {
  .erize__done.is-fresh .stamp { animation: stamp-press .5s cubic-bezier(.2, .9, .3, 1.2) both; }
}
@keyframes stamp-press {
  0% { transform: rotate(-16deg) scale(1.5); opacity: 0; }
  60% { transform: rotate(-8deg) scale(.96); opacity: .92; }
  100% { transform: rotate(-9deg) scale(1); opacity: .86; }
}

/* ---------- Sections ---------- */
.sec { padding: var(--sec) 0; border-bottom: 1px solid var(--rule); }

/* Table of contents of legal problems */
.toc__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 48px; margin-bottom: 36px; }
.toc__intro { color: var(--silver); max-width: 34em; }
.toc__bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; border-bottom: 1px solid var(--rule-2); margin-bottom: 32px; }
.tabs { display: flex; gap: 28px; }
.tabs__tab {
  background: none; border: 0; padding: 0 0 14px; margin-bottom: -1px; border-bottom: 2px solid transparent;
  font-weight: 650; font-size: 1.0625rem; color: var(--silver);
}
.tabs__tab span { font-weight: 500; font-variant-numeric: tabular-nums; margin-left: 4px; opacity: .7; }
.tabs__tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--lamp); }
.tabs__tab:hover { color: var(--text); }
.find { position: relative; display: flex; align-items: center; width: min(360px, 100%); margin-bottom: 8px; }
.find .i { position: absolute; left: 2px; color: var(--silver); }
.find input {
  width: 100%; border: 0; border-bottom: 1px solid var(--rule-2); border-radius: 0; background: transparent;
  padding: 8px 4px 8px 28px; font-size: 1rem; color: var(--text); -webkit-appearance: none; appearance: none;
}
.find input::placeholder { color: #75808e; }
.find input:focus { outline: none; border-color: var(--lamp); }
.find input::-webkit-search-cancel-button { filter: invert(.7); }
.toc__cols { columns: 3; column-gap: 48px; }
.toc__group { break-inside: avoid; margin-bottom: 34px; }
.toc__group[hidden] { display: none; }
.toc__cat { margin-bottom: 4px; }
.toc__toggle { all: unset; display: block; font: 700 1.0625rem/1.3 var(--sans); color: var(--text); padding: 4px 0 8px; border-bottom: 1px solid var(--rule-2); width: 100%; cursor: default; }
.toc__toggle span { font-weight: 500; color: var(--silver); font-variant-numeric: tabular-nums; margin-left: 4px; }
.toc__list li[hidden] { display: none; }
.toc__list a { display: grid; grid-template-columns: 2.2ch 1fr; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.toc__no { font-size: .8125rem; color: var(--silver); font-variant-numeric: tabular-nums; }
.toc__t { line-height: 1.35; }
.toc__list a:hover .toc__t { color: var(--lamp-hi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.toc__list--flow { columns: 3; column-gap: 48px; }
.toc__list--flow li { break-inside: avoid; }
.toc__empty { color: var(--silver); padding: 24px 0; max-width: 44em; }
.toc__empty a, .toc__empty button { color: var(--lamp-hi); }
.toc__empty button { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* Services */
.svc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); }
.svc__grid .h2 { margin-bottom: 16px; }
.svc__main { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.svc__item { border-top: 2px solid var(--text); padding-top: 18px; }
.svc__item h3 { font-size: 1.25rem; font-weight: 720; font-stretch: 88%; line-height: 1.2; margin-bottom: 10px; }
.svc__item p { color: var(--silver); font-size: .9875rem; }
.svc__areas { grid-column: 1 / -1; }
.svc__areas .h3 { margin-bottom: 6px; }
.defs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin-bottom: 14px; }
.defs > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.defs dt { font-weight: 650; }
.defs dd { color: var(--silver); font-size: .9375rem; }

/* Stages — a real sequence */
.stages .h2 { margin-bottom: 40px; max-width: none; }
.stages__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; counter-reset: none; }
.stage { border-top: 1px solid var(--rule-2); padding-top: 18px; display: flex; flex-direction: column; }
.stage__n { font-weight: 800; font-stretch: 120%; font-size: 2.6rem; line-height: 1; color: var(--lamp); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.stage__t { font-size: 1.125rem; font-weight: 720; line-height: 1.25; margin-bottom: 8px; }
.stage__d { color: var(--silver); font-size: .9375rem; line-height: 1.5; margin-bottom: 14px; }
.stage__p { margin-top: auto; font-size: .875rem; }
.stage__p div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px dotted var(--rule-2); }
.stage__p dt { color: #cfcbc4; }
.stage__p dd { font-weight: 700; color: var(--lamp-hi); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stage__note dt { color: var(--silver); font-style: italic; }
.forms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; margin-top: 56px; }
.forms__item h3 { font-size: 1.25rem; font-weight: 720; margin-bottom: 6px; }
.forms__item p { color: var(--silver); max-width: 40em; }

/* Business */
.biz__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 48px; margin-bottom: 36px; }
.biz__head p { max-width: 38em; }
.cmp { overflow-x: auto; }
.cmp__table { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp__table thead th { text-align: left; vertical-align: bottom; padding: 0 16px 16px 0; border-bottom: 2px solid var(--text); width: 18%; }
.cmp__table thead th:first-child { width: 46%; }
.cmp__table thead b { display: block; font-weight: 800; font-stretch: 115%; font-size: 1.3rem; letter-spacing: .01em; }
.cmp__table thead span { display: block; color: var(--lamp-hi); font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; margin-top: 2px; }
.cmp__table tbody th { text-align: left; font-weight: 450; padding: 12px 24px 12px 0; border-bottom: 1px solid var(--rule); line-height: 1.4; }
.cmp__table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); color: #cfcbc4; font-size: .9375rem; }
.cmp__no { color: #56637a; }
.packs-m { display: none; }
.biz__note { margin-top: 14px; }
.biz__more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 64px; margin-top: 64px; }
.biz__more .h3 { grid-row: span 2; }
.biz__more .defs { grid-template-columns: 1fr; border-top: 1px solid var(--rule); }

/* Tariff sheet */
.tariff { padding: clamp(24px, 4vw, 52px); }
.tariff__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 48px; align-items: end; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.tariff__title { font: 600 clamp(1.7rem, 1.2rem + 1.5vw, 2.3rem)/1.1 var(--serif); }
.tariff__note { font: italic 400 1rem/1.5 var(--serif); color: var(--ink-2); }
.tariff__cols { display: grid; grid-template-columns: 1fr 1fr; }
.tariff__group { padding: 26px 32px 0 0; }
.tariff__group + .tariff__group { padding: 26px 0 0 32px; border-left: 1px solid var(--paper-rule); }
.tariff__group h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; }
.tariff table { width: 100%; border-collapse: collapse; }
.tariff tr { border-bottom: 1px solid var(--paper-rule); }
.tariff th, .tariff td { padding: 11px 0; vertical-align: baseline; text-align: left; }
.tariff th { font: 400 1.03rem/1.4 var(--serif); padding-right: 18px; }
.tariff th small { display: block; font: 400 .8125rem/1.4 var(--sans); color: var(--ink-2); margin-top: 2px; }
.tariff td { text-align: right; white-space: nowrap; font-weight: 700; font-stretch: 105%; font-variant-numeric: tabular-nums; }
.tariff td.is-agreed { font-weight: 500; font-stretch: 100%; color: var(--ink-2); font-size: .9375rem; white-space: normal; }

/* Documents checklist */
.docs__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.docs__grid .h2 { margin-bottom: 16px; }
.docs__pick { display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid var(--rule); }
.docs__opt { all: unset; cursor: pointer; padding: 12px 0 12px 20px; border-bottom: 1px solid var(--rule); color: var(--silver); position: relative; }
.docs__opt:hover { color: var(--text); }
.docs__opt[aria-selected="true"] { color: var(--text); font-weight: 650; }
.docs__opt[aria-selected="true"]::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; background: var(--lamp); transform: translateY(-50%); }
.docs__opt:focus-visible { outline: 2px solid var(--lamp); outline-offset: -2px; }
.checklist { padding: clamp(24px, 3.5vw, 44px); }
.checklist__title { font: 600 1.375rem/1.25 var(--serif); padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 6px; }
.checklist li { border-bottom: 1px solid var(--paper-rule); }
.checklist label { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 13px 0; cursor: pointer; font: 400 1.0625rem/1.45 var(--serif); }
.checklist input {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin: 3px 0 0; border: 1.5px solid var(--ink); border-radius: 2px; background: #fff; display: grid; place-items: center; cursor: pointer;
}
.checklist input::after { content: ""; width: 5px; height: 10px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.checklist input:checked { background: var(--ink); }
.checklist input:checked::after { opacity: 1; }
.checklist input:checked + span { color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(24, 34, 49, .35); }
.checklist__warn { margin-top: 18px; font: italic 400 .9375rem/1.5 var(--serif); color: var(--ink-2); }
.checklist__print { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Values */
.values { padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--rule); }
.values__title { font-size: 1.0625rem; font-weight: 600; color: var(--silver); margin-bottom: 22px; }
.values__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.values__list dt { font-weight: 700; font-size: 1.0625rem; display: flex; align-items: baseline; gap: 10px; }
.values__list dt span { font-weight: 800; font-stretch: 125%; font-size: 2.2rem; line-height: 1; color: #c8cdd4; }
.values__list dd { color: var(--silver); font-size: .9375rem; margin-top: 6px; }

/* Contact */
.contact { border-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 48px; margin-bottom: 56px; border-bottom: 1px solid var(--rule); }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; }
.steps__n { grid-row: span 2; font-weight: 800; font-stretch: 120%; font-size: 2rem; line-height: 1; color: var(--lamp); }
.steps b { font-weight: 700; }
.steps li > span:last-child { color: var(--silver); font-size: .9375rem; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.contact__info .h2 { margin-bottom: 22px; }
.contact__phone { display: block; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--rule); font-weight: 800; font-stretch: 94%; font-size: clamp(1.9rem, 1.2rem + 2.3vw, 2.9rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.contact__phone:first-of-type { border-top: 1px solid var(--rule); }
.contact__phone small { display: block; font: 500 .8125rem/1.4 var(--sans); color: var(--silver); }
.contact__phone:hover { color: var(--lamp-hi); }
.contact__hours { margin-top: 16px; color: var(--silver); font-size: .9375rem; }
.contact__meta { margin-top: 24px; display: grid; gap: 14px; }
.contact__meta dt { font-size: .8125rem; color: var(--silver); }
.contact__meta dd { font-weight: 600; }
.contact__meta a { text-decoration: none; }
.contact__meta a:hover { color: var(--lamp-hi); }
.contact__map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 2px; background: var(--night-2); filter: saturate(.75); }
.contact__route { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--lamp-hi); font-size: .9375rem; text-underline-offset: 3px; }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding: 40px 0 48px; font-size: .9375rem; color: var(--silver); background: #08121f; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px 40px; }
.foot__brand { display: flex; gap: 14px; align-items: flex-start; }
.foot__brand img { width: 30px; margin-top: 3px; }
.foot__brand b { color: var(--text); font-weight: 650; }
.foot__brand a { text-decoration: none; }
.foot__links li + li { margin-top: 6px; }
.foot__links a { text-decoration: none; font-variant-numeric: tabular-nums; }
.foot a:hover { color: var(--text); }
.foot__copy { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--rule); font-size: .8125rem; }

.callbar { display: none; }

/* ---------- Topic page ---------- */
.topic { padding: 28px 0 var(--sec); }
.crumbs { font-size: .875rem; color: var(--silver); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.topic__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.topic__doc { padding: clamp(24px, 4.5vw, 60px); }
.topic__meta { font-size: .875rem; font-weight: 600; color: var(--lamp-ink); margin-bottom: 10px; }
.topic__title { font: 600 clamp(1.9rem, 1.3rem + 2vw, 2.7rem)/1.1 var(--serif); margin-bottom: 24px; text-wrap: balance; }
.topic__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--paper-rule); font-size: .9375rem; }
.topic__pager a { text-decoration: none; color: var(--ink); }
.topic__pager a:hover { text-decoration: underline; }
.topic__pager a[rel="next"] { text-align: right; }
.topic__pager small { display: block; color: var(--ink-2); font-size: .8125rem; }
.topic__side { position: sticky; top: 96px; }
.topic__ask { font-size: 1.375rem; font-weight: 750; font-stretch: 86%; line-height: 1.2; margin-bottom: 14px; }
.topic__calls { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.topic__calls a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topic__calls a:hover { color: var(--lamp-hi); }
.topic__calls .i { width: 18px; height: 18px; color: var(--lamp); }
.topic__or { color: var(--silver); font-size: .9375rem; margin: 14px 0 14px; }
.topic__rel { margin-top: 64px; }
.topic__rel .h3 { margin-bottom: 12px; }
.topic__rel p { margin-top: 18px; }
.notfound { padding: var(--sec) 0; }
.notfound__sheet { max-width: 640px; padding: clamp(28px, 5vw, 56px); }
.notfound__sheet .doc { margin-bottom: 26px; }

/* ---------- Reader dialog ---------- */
.reader { width: min(760px, 100% - 32px); max-height: min(90vh, 960px); padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.reader::backdrop { background: rgba(5, 10, 18, .78); }
.reader[open] { animation: reader-in .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes reader-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .reader[open] { animation: none; } }
.reader__sheet { background: var(--paper); border-radius: 2px; padding: clamp(22px, 4vw, 48px); max-height: min(90vh, 960px); overflow-y: auto; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); }
.reader__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.reader__meta { font-size: .875rem; font-weight: 600; color: var(--lamp-ink); }
.reader__close { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: none; border: 1px solid var(--paper-rule); border-radius: 50%; color: var(--ink); }
.reader__close:hover { border-color: var(--ink); }
.reader__close .i { width: 18px; height: 18px; stroke-width: 2; }
.reader__title { font: 600 clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem)/1.12 var(--serif); margin-bottom: 20px; text-wrap: balance; }
.reader__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--paper-rule); }
.reader__call { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.reader__call:hover { text-decoration: underline; }
.reader__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: .875rem; }
.reader__nav button, .reader__nav a { background: none; border: 0; padding: 6px 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--paper-rule); }
.reader__nav button:hover, .reader__nav a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.reader__nav button:disabled { visibility: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .toc__cols, .toc__list--flow { columns: 2; }
  .stages__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .values__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .topbar__addr { display: none; }
  .menu { display: inline-flex; }
  .head__cta { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gut) 18px;
    background: var(--night); border-bottom: 1px solid var(--rule);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--text); font-size: 1.0625rem; }
  .nav__phone { display: flex !important; align-items: center; gap: 8px; border-bottom: 0 !important; color: var(--lamp-hi) !important; font-weight: 700; }
  .hero__grid, .svc__grid, .docs__grid, .contact__grid, .topic__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__form { justify-self: stretch; max-width: 560px; }
  .topic__side { position: static; }
  .svc__areas { grid-column: auto; }
  .tariff__head { grid-template-columns: minmax(0, 1fr); }
  .tariff__cols { grid-template-columns: minmax(0, 1fr); }
  .tariff__group, .tariff__group + .tariff__group { padding: 26px 0 0; border-left: 0; }
  .biz__more { grid-template-columns: minmax(0, 1fr); }
  .biz__more .h3 { grid-row: auto; }
  .forms { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .cmp { display: none; }
  .packs-m { display: grid; gap: 28px; }
  .packs-m__item h3 { font-weight: 800; font-stretch: 115%; font-size: 1.25rem; padding-bottom: 8px; border-bottom: 2px solid var(--text); }
  .packs-m__item h3 span { display: block; font-weight: 600; font-stretch: 100%; font-size: .9375rem; color: var(--lamp-hi); margin-top: 2px; }
  .packs-m__inh { margin-top: 10px; font-weight: 600; font-size: .9375rem; }
  .packs-m__item li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
  .packs-m__item em { display: block; font-style: normal; color: var(--silver); font-size: .8125rem; }
  .defs { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { padding-bottom: 66px; }
  .topbar { display: none; }
  .head__row { min-height: 62px; }
  html { scroll-padding-top: 72px; }
  .hero__lead { font-size: 1.0625rem; }
  .hero__hours { display: block; }
  .hero__phones a { font-size: 1.375rem; }
  .erize__to { width: 100%; }
  .erize__sign { flex-direction: column; align-items: stretch; }
  .erize__sign .btn { width: 100%; }
  .toc__cols, .toc__list--flow { columns: 1; }
  .toc__toggle { cursor: pointer; display: flex; align-items: center; gap: 2px; }
  .toc__toggle::after { content: ""; width: 8px; height: 8px; margin-left: auto; margin-right: 4px; border: solid var(--silver); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s; }
  .toc__toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
  .toc__group { margin-bottom: 8px; }
  .tabs { width: 100%; }
  .find { width: 100%; }
  .svc__main { grid-template-columns: minmax(0, 1fr); }
  .defs > div { grid-template-columns: minmax(0, 1fr); }
  .stages__list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .values__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .topic__pager { grid-template-columns: minmax(0, 1fr); }
  .topic__pager a[rel="next"] { text-align: left; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--night); border-top: 1px solid var(--rule-2);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 4px; text-decoration: none; font-weight: 650; }
  .callbar__call { background: var(--lamp); color: var(--ink); }
  .callbar__form { border: 1px solid var(--rule-2); }
  .reader { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; }
  .reader__sheet { min-height: 100%; max-height: 100%; border-radius: 0; }
  .reader__foot .btn { width: 100%; }
}

/* ---------- Print: only the checklist ---------- */
@media print {
  body { background: #fff; color: #000; padding: 0; }
  body * { visibility: hidden; }
  .checklist, .checklist * { visibility: visible; }
  .checklist { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; }
  .checklist__page[hidden], .checklist__print { display: none; }
}
