:root {
  --bg: #080d16;
  --bg-alt: #101827;
  --panel: #151f2e;
  --panel-strong: #1b2839;
  --text: #f8fafc;
  --muted: #c5ceda;
  --subtle: #aeb9c8;
  --line: #344156;
  --line-soft: #243044;
  --orange: #ff9f1c;
  --orange-hover: #ffb347;
  --orange-dark: #261707;
  --green: #25d366;
  --blue: #6eb4ff;
  --telegram: #55aee8;
  --max: #7c5cff;
  --danger: #ff7373;
  --success: #6ee7a0;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 6px;
  --container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.15; }
h1 { margin-bottom: 24px; font-size: 58px; font-weight: 800; }
h2 { margin-bottom: 18px; font-size: 40px; font-weight: 750; }
h3 { margin-bottom: 12px; font-size: 22px; }
p { color: var(--muted); }
[hidden] { display: none !important; }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; color: #111827; background: var(--orange); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.eyebrow { margin-bottom: 12px; color: var(--orange); font-size: 13px; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.section { padding: 92px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }
.section-heading { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-heading p:last-child { margin-bottom: 0; font-size: 18px; }
.section-heading--left { margin-inline: 0; text-align: left; }
.section-note { margin: 28px 0 0; padding-left: 18px; color: var(--subtle); border-left: 3px solid var(--orange); font-size: 15px; }

.header { position: sticky; z-index: 100; top: 0; height: 78px; background: rgba(8, 13, 22, 0.96); border-bottom: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(16px); }
.header__inner { display: flex; align-items: center; height: 100%; gap: 28px; }
.logo { display: inline-flex; flex: 0 0 auto; align-items: center; background: transparent; }
.logo__img { width: auto; height: 106px; object-fit: contain; }
.nav { display: flex; align-items: center; margin-left: auto; gap: 24px; }
.nav a, .header__phone { color: var(--muted); font-size: 14px; font-weight: 650; }
.nav a:hover, .header__phone:hover, .footer a:hover, .text-link:hover { color: var(--orange-hover); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { color: var(--text); white-space: nowrap; }
.menu-button { display: none; width: 46px; height: 46px; padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.menu-button span { display: block; width: 22px; height: 2px; margin: 4px auto; background: var(--text); }
.mobile-menu { padding: 18px 0 24px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu a { min-height: 44px; padding: 10px 0; color: var(--muted); font-weight: 650; }

.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid transparent; border-radius: var(--radius); font-size: 15px; font-weight: 750; line-height: 1.2; text-align: center; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.btn:disabled { opacity: 0.65; cursor: wait; }
.btn--primary { color: #181006; background: var(--orange); border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn--outline { color: var(--text); background: rgba(255, 255, 255, 0.03); border-color: #667085; }
.btn--outline:hover { border-color: var(--orange); }
.btn--small { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.btn--full { width: 100%; }
.btn--text { color: var(--muted); background: transparent; border-color: transparent; }
.btn--text:hover { color: var(--text); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--orange); font-weight: 750; }

.quick-contacts { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-contact { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 8px 12px; color: var(--text); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; font-weight: 750; line-height: 1.1; text-align: center; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.quick-contact--phone:hover { border-color: var(--orange); }
.quick-contact--whatsapp { color: #07180e; background: var(--green); border-color: var(--green); }
.quick-contact--whatsapp:hover { background: #54dd82; border-color: #54dd82; }
.quick-contact--telegram { color: #071622; background: var(--telegram); border-color: var(--telegram); }
.quick-contact--telegram:hover { background: #82c6f2; border-color: #82c6f2; }
.quick-contact--max { flex-direction: column; gap: 2px; color: #fff; background: var(--max); border-color: var(--max); }
.quick-contact--max:hover { background: #9279ff; border-color: #9279ff; }
.track-max.is-disabled { color: var(--subtle); background: rgba(255, 255, 255, 0.025); border-color: var(--line); opacity: 0.72; cursor: not-allowed; }
.quick-contact__label { line-height: 1; }
.quick-contacts--header { flex-wrap: nowrap; gap: 5px; }
.quick-contacts--header .quick-contact { min-height: 34px; padding: 6px 8px; font-size: 11px; }
.quick-contacts--header .quick-contact--max { min-width: 78px; }
.quick-contacts--menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; }
.form-stack { min-width: 0; }
.form-quick-contacts { margin-top: 10px; padding: 12px; background: rgba(8, 13, 22, 0.88); border: 1px solid var(--line); border-radius: var(--radius); }
.form-quick-contacts > span { display: block; margin-bottom: 8px; color: var(--subtle); font-size: 12px; font-weight: 700; }
.quick-contacts--form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.quick-contacts--form .quick-contact { min-width: 0; min-height: 36px; padding: 6px 4px; font-size: 11px; }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 58px; border-bottom: 1px solid var(--line-soft); }
.hero__media, .hero__shade { position: absolute; z-index: -2; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__shade { z-index: -1; background: rgba(5, 10, 18, 0.82); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr); align-items: center; gap: 64px; }
.hero__content { max-width: 680px; }
.hero__content h1 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; }
.hero__badge { display: inline-flex; margin-bottom: 18px; padding: 8px 10px; color: #ffd18a; background: rgba(38, 23, 7, 0.88); border: 1px solid rgba(255, 159, 28, 0.45); border-radius: 4px; font-size: 12px; font-weight: 800; }
.hero__subtitle { max-width: 660px; margin-bottom: 24px; color: #e1e7ef; font-size: 19px; }
.hero__benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 28px; padding: 0; gap: 10px 22px; list-style: none; }
.hero__benefits li { position: relative; padding-left: 24px; color: var(--muted); font-size: 14px; }
.hero__benefits li::before, .check-list li::before, .service-card li::before, .service-summary li::before { position: absolute; top: 0.45em; left: 0; width: 9px; height: 9px; background: var(--orange); border-radius: 2px; content: ""; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__hint { margin: 14px 0 0; color: var(--subtle); font-size: 14px; }

.form-card { padding: 28px; background: rgba(21, 31, 46, 0.98); border: 1px solid #3a485d; border-top: 3px solid var(--orange); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card__header { margin-bottom: 22px; }
.form-card__header h2 { margin-bottom: 8px; font-size: 25px; }
.form-card__header p:last-child, .form-card__header > span { margin-bottom: 0; color: var(--subtle); font-size: 14px; }
.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-step legend { width: 100%; margin-bottom: 12px; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; min-height: 44px; align-items: center; padding: 8px 10px; color: var(--muted); background: #101827; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; line-height: 1.25; cursor: pointer; }
.choice input:checked + span { color: var(--text); background: var(--orange-dark); border-color: var(--orange); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.field { display: grid; margin-bottom: 16px; gap: 6px; }
.field > span { color: var(--muted); font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 12px; color: var(--text); background: #0e1624; border: 1px solid #48566c; border-radius: 4px; }
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8f9bad; opacity: 1; }
.field select option { color: var(--text); background: #0e1624; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: 2px solid rgba(255, 159, 28, 0.22); }
.field .is-invalid, .choice-grid.is-invalid { border-color: var(--danger); }
.consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; margin: 4px 0 16px; gap: 10px; color: var(--subtle); font-size: 12px; line-height: 1.45; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--orange); }
.consent a { color: #ffd18a; text-decoration: underline; text-underline-offset: 2px; }
.form-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.field-error, .form-status { min-height: 22px; margin: 9px 0 0; color: var(--danger); font-size: 13px; }
.form-status.is-success { color: var(--success); }
.honeypot { position: fixed; top: -10000px; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.stats { background: #0d1421; border-bottom: 1px solid var(--line-soft); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { display: grid; padding: 28px 32px; gap: 2px; border-left: 1px solid var(--line-soft); }
.stat:last-child { border-right: 1px solid var(--line-soft); }
.stat strong { color: var(--orange); font-size: 35px; line-height: 1.1; }
.stat > span { font-weight: 750; }
.stat small { color: var(--subtle); font-size: 12px; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card, .problem-card, .case-card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.service-card { display: grid; grid-template-rows: auto auto auto auto 1fr auto auto; padding: 26px; }
.service-card--featured { border-color: rgba(255, 140, 43, 0.55); background: linear-gradient(145deg, rgba(255, 140, 43, 0.08), transparent 42%), var(--panel); }
.service-card:hover, .problem-card:hover, .case-card:hover { border-color: #58677d; }
.card-index { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 12px; color: var(--orange); font-family: Consolas, "Courier New", monospace; font-size: 13px; }
.card-index strong { padding: 5px 8px; color: #ffd2a8; background: rgba(255, 140, 43, 0.13); border: 1px solid rgba(255, 140, 43, 0.32); border-radius: 999px; font-family: inherit; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.service-card > p, .problem-card > p { color: var(--muted); }
.service-card h4 { margin: 8px 0; color: var(--subtle); font-size: 12px; text-transform: uppercase; }
.service-card ul, .service-summary ul, .check-list { margin: 0; padding: 0; list-style: none; }
.service-card li, .service-summary li, .check-list li { position: relative; padding: 5px 0 5px 22px; color: var(--muted); }
.service-meta { display: flex; align-items: end; justify-content: space-between; margin-top: 20px; padding-top: 16px; gap: 16px; border-top: 1px solid var(--line-soft); }
.service-meta span { color: var(--subtle); font-size: 13px; }
.service-meta strong { color: var(--text); font-size: 23px; white-space: nowrap; }
.card-actions { display: grid; grid-template-columns: 1fr auto; align-items: center; margin-top: 14px; gap: 12px; }

.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.problem-card { display: flex; min-height: 250px; flex-direction: column; padding: 22px; }
.problem-card h3 { font-size: 19px; }
.problem-card .text-link { margin-top: auto; }

.process-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; gap: 0; list-style: none; }
.process-list li { padding: 24px 22px 8px; border-top: 3px solid var(--line); }
.process-list li:first-child { border-color: var(--orange); }
.process-list li > span { display: block; margin-bottom: 26px; color: var(--orange); font-family: Consolas, "Courier New", monospace; font-size: 14px; }
.process-list h3 { font-size: 18px; }
.process-list p { margin-bottom: 0; color: var(--subtle); font-size: 14px; }
.info-strip { display: grid; grid-template-columns: 0.75fr 1.25fr; margin-top: 42px; padding: 24px; gap: 28px; background: #121c2a; border: 1px solid var(--line); border-left: 4px solid var(--orange); }
.info-strip span { color: var(--muted); }

.documents-layout { display: grid; grid-template-columns: 0.72fr 1.28fr; align-items: start; gap: 64px; }
.documents-tool { padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.segmented, .tabs { display: flex; flex-wrap: wrap; margin-bottom: 12px; gap: 8px; }
.segmented button, .tabs button { min-height: 44px; padding: 8px 12px; color: var(--muted); background: #0e1624; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.segmented button.is-active, .tabs button.is-active { color: #181006; background: var(--orange); border-color: var(--orange); }
.document-list { display: grid; margin: 24px 0; padding: 0; gap: 0; list-style: none; }
.document-list li { padding: 12px 0; color: var(--text); border-bottom: 1px solid var(--line-soft); }
.document-list li::before { margin-right: 10px; color: var(--orange); content: "✓"; }
.tool-note { margin-bottom: 0; color: var(--subtle); font-size: 13px; }

.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case-card { display: flex; flex-direction: column; padding: 26px; }
.case-card:last-child { grid-column: 1 / -1; }
.case-card dl { margin-bottom: 6px; }
.case-card dl div { display: grid; grid-template-columns: 150px 1fr; padding: 10px 0; gap: 20px; border-bottom: 1px solid var(--line-soft); }
.case-card dt { color: var(--subtle); font-size: 13px; font-weight: 750; }
.case-card dd { color: var(--muted); }
.case-card .text-link { margin-top: auto; }

.rules-section { padding: 52px 0; background: #16202c; border-block: 1px solid #435165; }
.rules-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 64px; }
.rules-layout h2 { margin-bottom: 0; font-size: 31px; }

.faq-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; align-items: start; gap: 64px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-item button { display: grid; width: 100%; min-height: 64px; grid-template-columns: 1fr 28px; align-items: center; padding: 16px 0; gap: 20px; color: var(--text); background: transparent; border: 0; font-weight: 750; text-align: left; cursor: pointer; }
.faq-icon { color: var(--orange); font-size: 25px; font-weight: 400; text-align: center; }
.faq-item button[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 54px 18px 0; }
.faq-answer p { margin: 0; }

.lead-section { background: #0b121e; }
.lead-layout { display: grid; grid-template-columns: 0.72fr 1.28fr; align-items: stretch; gap: 36px; }
.contact-panel { padding: 18px 0; }
.contact-panel__primary { display: block; margin: 8px 0 16px; color: var(--text); font-size: 34px; font-weight: 800; line-height: 1.2; }
.quick-contacts--contact { margin-bottom: 6px; }
.quick-contacts--contact .quick-contact--max { min-width: 148px; }
.contact-panel__email { display: inline-flex; min-height: 44px; align-items: center; color: var(--orange); font-weight: 700; }
.contact-panel dl { margin: 28px 0 0; border-top: 1px solid var(--line-soft); }
.contact-panel dl div { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.contact-panel dt { color: var(--subtle); }
.contact-panel dd { color: var(--text); font-weight: 700; text-align: right; }

.footer { padding-top: 52px; background: #070b12; border-top: 1px solid var(--line-soft); }
.footer__grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); padding-bottom: 40px; gap: 40px; }
.footer__brand p { max-width: 310px; margin-top: 18px; color: var(--subtle); font-size: 14px; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer h2 { margin-bottom: 8px; font-size: 15px; }
.footer a, .footer span { color: var(--subtle); font-size: 14px; }
.footer .footer-max { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer .footer-max .quick-contact__label { font-size: 14px; }
.footer__bottom { display: flex; flex-wrap: wrap; padding: 20px 0 26px; gap: 12px 28px; border-top: 1px solid var(--line-soft); }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

.modal { position: fixed; z-index: 500; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.78); }
.modal__dialog { position: relative; z-index: 1; width: min(500px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius); box-shadow: var(--shadow); }
.modal__dialog h2 { padding-right: 30px; font-size: 27px; }
.modal__close { position: absolute; top: 12px; right: 12px; }
.icon-button { width: 44px; height: 44px; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.mobile-bar { display: none; }

.service-hero { padding: 42px 0 58px; background: #0d1522; border-bottom: 1px solid var(--line-soft); }
.breadcrumbs { display: flex; flex-wrap: wrap; margin-bottom: 34px; gap: 8px; color: var(--subtle); font-size: 13px; }
.breadcrumbs a:hover { color: var(--orange); }
.service-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr); align-items: start; gap: 64px; }
.service-hero h1 { max-width: 800px; font-size: 50px; }
.service-hero__grid > div > p:not(.eyebrow) { max-width: 700px; font-size: 19px; }
.service-hero__meta { display: flex; align-items: center; margin: 24px 0; gap: 22px; }
.service-hero__meta strong { color: var(--orange); font-size: 28px; }
.service-hero__meta span { color: var(--muted); }
.service-summary { padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.service-summary h2 { font-size: 24px; }
.service-summary p { margin: 16px 0 0; padding-top: 16px; color: var(--subtle); border-top: 1px solid var(--line-soft); font-size: 13px; }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
.check-list { border-top: 1px solid var(--line-soft); }
.check-list li { padding-block: 13px; padding-left: 26px; border-bottom: 1px solid var(--line-soft); }
.not-found { display: grid; min-height: 60vh; place-items: center; padding: 80px 0; text-align: center; }
.not-found .container { max-width: 720px; }
.not-found .hero__actions { justify-content: center; }
.legal { padding: 54px 0 92px; }
.legal__inner { max-width: 860px; }
.legal h1 { font-size: 46px; }
.legal h2 { margin: 40px 0 12px; font-size: 24px; }
.legal p { color: var(--muted); }
.legal a { color: var(--orange); text-decoration: underline; }
.legal__updated { padding-bottom: 24px; border-bottom: 1px solid var(--line); }

@media (max-width: 1100px) {
  h1 { font-size: 48px; }
  h2 { font-size: 35px; }
  .nav { display: none; }
  .header__actions { margin-left: auto; }
  .menu-button { display: block; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(350px, 0.8fr); gap: 34px; }
  .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .documents-layout, .faq-layout, .lead-layout { gap: 36px; }
  .footer__grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .footer__grid > div:last-child { grid-column: 2; }
}

@media (max-width: 1240px) and (min-width: 821px) {
  .header__actions > .btn { display: none; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 32px, var(--container)); }
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .section { padding: 70px 0; }
  .header__phone, .header__actions .btn { display: none; }
  .header__actions { display: none; }
  .hero { padding: 48px 0; }
  .hero__grid, .service-hero__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: none; }
  .hero__benefits { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr 1fr; }
  .stat { padding: 22px 16px; }
  .stat strong { font-size: 29px; }
  .stat small { display: none; }
  .service-grid, .case-grid, .two-column { grid-template-columns: 1fr; }
  .case-card:last-child { grid-column: auto; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .documents-layout, .faq-layout, .lead-layout, .rules-layout { grid-template-columns: 1fr; }
  .section-heading--left { max-width: none; }
  .contact-panel { padding: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: auto; }
}

@media (max-width: 560px) {
  body { padding-bottom: 70px; font-size: 16px; }
  html { scroll-padding-top: 72px; }
  .container { width: min(100% - 24px, var(--container)); }
  h1 { font-size: 36px; }
  h2 { font-size: 29px; }
  h3 { font-size: 20px; }
  .header { height: 68px; }
  .logo__img { height: 92px; }
  .hero { padding: 34px 0 40px; }
  .hero__grid { gap: 30px; }
  .hero__badge { font-size: 11px; }
  .hero__subtitle { font-size: 17px; }
  .hero__actions, .hero__actions .btn { width: 100%; }
  .form-card, .documents-tool, .service-summary, .modal__dialog { padding: 20px; }
  .choice-grid, .form-grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat, .stat:last-child { grid-template-columns: 0.8fr 1.2fr; align-items: center; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
  .stat small { display: none; }
  .section { padding: 58px 0; }
  .section-heading { margin-bottom: 30px; text-align: left; }
  .section-heading p:last-child { font-size: 16px; }
  .service-card, .problem-card, .case-card { min-height: 0; padding: 20px; }
  .card-actions { grid-template-columns: 1fr; }
  .card-actions .btn, .card-actions .text-link { width: 100%; }
  .problem-grid, .process-list { grid-template-columns: 1fr; }
  .process-list li { display: grid; grid-template-columns: 34px 1fr; padding-inline: 0; gap: 12px; }
  .process-list li > span { margin: 0; }
  .info-strip { grid-template-columns: 1fr; padding: 18px; gap: 10px; }
  .segmented, .tabs { display: grid; grid-template-columns: 1fr; }
  .case-card dl div { grid-template-columns: 1fr; gap: 4px; }
  .rules-layout { gap: 22px; }
  .rules-layout h2 { font-size: 27px; }
  .faq-answer { padding-right: 0; }
  .contact-panel__primary { font-size: 28px; }
  .contact-panel dl div { grid-template-columns: 1fr; }
  .contact-panel dd { text-align: left; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }
  .mobile-bar { position: fixed; z-index: 300; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 7px max(7px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(7px, env(safe-area-inset-left)); gap: 5px; background: rgba(8, 13, 22, 0.98); border-top: 1px solid var(--line); }
  .mobile-bar .quick-contact { min-width: 0; min-height: 48px; padding: 6px 3px; font-size: 11px; }
  .service-hero { padding: 28px 0 44px; }
  .service-hero h1, .legal h1 { font-size: 35px; }
  .service-hero__meta { align-items: flex-start; flex-direction: column; gap: 4px; }
  .two-column { gap: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
