:root {
  --ink: #17352a;
  --ink-2: #29473c;
  --muted: #64756e;
  --line: #dfe9e3;
  --green: #2fb667;
  --green-dark: #14874a;
  --mint: #e9f7ef;
  --mint-2: #f5fbf7;
  --sand: #fff4dc;
  --white: #fff;
  --danger: #b23b3b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(20, 68, 48, .08);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Manrope, Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(47, 182, 103, .35); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 6vw, 74px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 750; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: 12px; transform: translateY(-150%); padding: 10px 14px; color: var(--white); background: var(--ink); border-radius: 8px; }
.skip-link:focus-visible { transform: none; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--green-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.text-link { color: var(--green-dark); font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 8px; padding: 13px 23px; border: 1px solid var(--green); border-radius: 12px; color: var(--white); background: var(--green); font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { color: var(--white); background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.button--small { min-height: 42px; padding: 9px 17px; border-radius: 10px; font-size: 14px; }
.button--outline { color: var(--ink); background: transparent; border-color: #b8cec2; }
.button--outline:hover { color: var(--ink); background: var(--mint); border-color: var(--green); }
.button--ghost { color: var(--ink); background: #f1f6f3; border-color: #f1f6f3; }
.button--ghost:hover { color: var(--ink); background: #e5eee9; border-color: #e5eee9; }
.button--light { color: var(--ink); background: var(--white); border-color: var(--white); }
.button--light:hover { color: var(--ink); background: var(--mint); border-color: var(--mint); }
.button--wide { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.portal-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(223,233,227,.8); backdrop-filter: blur(14px); }
.header-inner { display: grid; grid-template-columns: 200px 1fr 170px; min-height: 78px; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand img { width: 154px; height: auto; }
.main-nav { display: flex; justify-content: center; gap: 31px; }
.main-nav a { position: relative; padding: 27px 0 24px; color: var(--ink-2); font-size: 14px; font-weight: 700; text-decoration: none; }
.main-nav a::after { content: ''; position: absolute; right: 0; bottom: 18px; left: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .nav-account { display: none; }
.account-button { justify-self: end; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 10px; background: var(--mint-2); cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 4px auto; background: var(--ink); transition: .2s ease; }

.flash { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--mint); border: 1px solid #c8e8d5; font-weight: 650; }
.flash--error { color: var(--danger); background: #fff1f1; border-color: #f0cece; }

.hero-section { position: relative; overflow: hidden; padding: 68px 0 62px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(420px, 1.07fr); align-items: center; min-height: 620px; }
.hero-copy { position: relative; z-index: 2; max-width: 630px; padding-right: 28px; }
.hero-copy h1 { max-width: 620px; margin-bottom: 22px; }
.hero-lead { max-width: 580px; margin-bottom: 30px; color: var(--muted); font-size: 19px; }
.hero-visual { position: relative; min-height: 570px; }
.hero-visual > img { position: absolute; z-index: 0; top: 50%; right: min(0px, calc((1180px - 100vw) / 2)); width: calc(160% + max(0px, (100vw - 1180px) / 2)); max-width: none; height: auto; transform: translateY(-50%); }
.hero-note { position: absolute; right: 1%; bottom: 7%; display: flex; flex-direction: column; min-width: 210px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); }
.hero-note strong { font-size: 15px; }
.hero-note span { color: var(--muted); font-size: 13px; }
.quick-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 610px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.quick-calc label { display: grid; gap: 7px; }
.quick-calc label span, .field > span, .city-calc label span { font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.quick-calc input, .quick-calc select, .field input, .field select, .city-calc input { width: 100%; height: 50px; padding: 0 14px; color: var(--ink); background: var(--white); border: 1px solid #cfdcd5; border-radius: 10px; outline: none; transition: border .2s ease, box-shadow .2s ease; }
.quick-calc input:focus, .quick-calc select:focus, .field input:focus, .field select:focus, .city-calc input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(47,182,103,.1); }
.quick-calc .button { align-self: end; }
.quick-calc .text-link { align-self: center; justify-self: center; font-size: 13px; }
.quick-calc small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 18px; color: var(--muted); font-size: 13px; font-weight: 650; }
.hero-trust i { display: inline-grid; width: 21px; height: 21px; place-items: center; margin-right: 5px; color: var(--white); background: var(--green); border-radius: 50%; font-style: normal; }

.trust-strip { border-block: 1px solid var(--line); background: var(--mint-2); }
.trust-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.trust-strip__inner span { padding: 20px 28px; color: var(--ink-2); border-left: 1px solid var(--line); font-size: 13px; font-weight: 650; text-align: center; }
.trust-strip__inner span:last-child { border-right: 1px solid var(--line); }

.section { padding: 100px 0; }
.section--soft { background: #f7faf8; }
.section--mint { background: var(--mint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-head h2 { margin-bottom: 0; }
.section-head--small { margin-bottom: 22px; }
.section-head--small h2 { font-size: 25px; }
.section-head--small a { font-size: 14px; font-weight: 750; text-decoration: none; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-grid--large { grid-template-columns: repeat(3, 1fr); }
.service-card { display: flex; min-height: 300px; flex-direction: column; padding: 29px; color: var(--ink); background: #f7faf8; border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.service-card:hover { color: var(--ink); border-color: #bbd8c7; transform: translateY(-4px); }
.service-card--mint { background: var(--mint); }
.service-card--sand { background: var(--sand); }
.service-card .line-icon { margin-bottom: 42px; }
.service-card h2, .service-card h3 { margin-bottom: 12px; font-size: 22px; }
.service-card p { color: var(--muted); font-size: 14px; }
.service-card b { margin-top: auto; color: var(--green-dark); font-size: 13px; }
.line-icon { display: inline-grid; width: 43px; height: 43px; place-items: center; border: 1px solid #bad6c5; border-radius: 12px; color: var(--green-dark); background: var(--white); font-size: 21px; font-weight: 800; }

.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.process-copy { position: sticky; top: 120px; }
.process-copy p { max-width: 510px; color: var(--muted); }
.steps-list { margin: 0; padding: 0; list-style: none; }
.steps-list li { display: grid; grid-template-columns: 70px 1fr; gap: 25px; padding: 32px 0; border-top: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 1px solid var(--line); }
.steps-list > li > span { color: var(--green); font-size: 20px; font-weight: 800; }
.steps-list h3 { margin-bottom: 8px; font-size: 25px; }
.steps-list p { margin: 0; color: var(--muted); }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-grid--catalog { grid-template-columns: repeat(2, 1fr); }
.article-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s ease, transform .2s ease; }
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.article-card__image { display: block; overflow: hidden; aspect-ratio: 16 / 9; }
.article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.article-card:hover img { transform: scale(1.02); }
.article-card__body { padding: 25px; }
.article-card__body > span { display: block; margin-bottom: 12px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.article-card h2, .article-card h3 { margin-bottom: 12px; font-size: 22px; }
.article-card h2 a, .article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card p { margin-bottom: 12px; color: var(--muted); font-size: 14px; }

.city-callout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.city-callout h2 { margin-bottom: 18px; }
.city-callout p { color: var(--muted); }
.city-links { display: flex; flex-wrap: wrap; gap: 9px; }
.city-links a { padding: 9px 13px; color: var(--ink); background: var(--white); border: 1px solid #cfe5d8; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; }
.city-links a:hover { border-color: var(--green); }
.city-links .city-links__all { color: var(--white); background: var(--ink); border-color: var(--ink); }

.evidence-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.evidence-grid p { max-width: 520px; color: var(--muted); }
.evidence-links { display: grid; gap: 12px; }
.evidence-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.evidence-links a:hover { border-color: var(--green); }
.evidence-links span { color: var(--muted); font-size: 13px; text-align: right; }

.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.faq-layout > div:first-child { position: sticky; top: 120px; }
.faq-layout > div:first-child p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 48px 24px 0; color: var(--ink); font-size: 18px; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 19px; display: grid; width: 32px; height: 32px; place-items: center; color: var(--green-dark); background: var(--mint); border-radius: 50%; font-size: 21px; font-weight: 500; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 700px; padding: 0 50px 25px 0; color: var(--muted); }

.cta-wrap { padding-top: 0; }
.cta-panel { display: flex; min-height: 280px; align-items: center; justify-content: space-between; gap: 40px; padding: 55px 65px; color: var(--white); background: var(--ink); border-radius: 24px; }
.cta-panel h2 { margin: 6px 0 9px; color: var(--white); }
.cta-panel p { margin: 0; color: #bbd1c7; }
.cta-panel > div > span { color: #82d8a5; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.page-hero { overflow: hidden; padding: 80px 0 70px; background: var(--mint-2); border-bottom: 1px solid var(--line); }
.page-hero--compact { padding: 62px 0 64px; }
.page-hero__grid, .city-hero__grid { display: grid; grid-template-columns: 1fr .9fr; gap: 50px; align-items: center; }
.page-hero__grid > div, .city-hero__grid > div { position: relative; z-index: 2; }
.page-hero__grid > img { width: 100%; height: auto; margin: 0; }
.osago-hero { overflow: hidden; }
.osago-hero .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.osago-hero h1 { font-size: clamp(38px, 4.8vw, 64px); }
.osago-hero .osago-hero__art { position: relative; z-index: 0; min-width: 0; mix-blend-mode: multiply; }
.osago-hero__art img { width: 165%; max-width: none; height: auto; margin-left: -65%; mix-blend-mode: multiply; }
.page-hero h1, .city-hero h1 { margin-bottom: 20px; }
.page-hero p, .city-hero p, .narrow-head > p { max-width: 720px; color: var(--muted); font-size: 18px; }
.narrow-head { max-width: 920px; margin-left: calc((100vw - min(var(--container), calc(100vw - 40px))) / 2); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 30px; color: #7b8d85; font-size: 12px; }
.breadcrumbs a { color: #5e756b; text-decoration: none; }
.breadcrumbs span:last-child { max-width: 540px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.content-split { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 80px; align-items: start; }
.prose { max-width: 760px; }
.prose h2, .article-body h2, .legal-copy h2 { margin-top: 48px; margin-bottom: 17px; font-size: 32px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 32px; margin-bottom: 12px; font-size: 23px; }
.prose p, .prose li, .article-body p, .article-body li, .legal-copy p { color: #415c50; }
.prose li, .article-body li { margin-bottom: 10px; }
.answer-box { padding: 22px 25px; color: var(--ink) !important; background: var(--mint); border-left: 4px solid var(--green); border-radius: 0 13px 13px 0; font-size: 17px; }
.toc-card { display: grid; gap: 12px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(20,68,48,.04); }
.toc-card strong { margin-bottom: 3px; font-size: 18px; }
.toc-card p { margin-bottom: 4px; color: var(--muted); font-size: 14px; }
.toc-card a:not(.button) { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; text-decoration: none; }
.toc-card a:not(.button):last-child { border-bottom: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid > div { min-height: 240px; padding: 27px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-grid > div > span, .criteria-grid article > span { color: var(--green); font-weight: 800; }
.feature-grid h3 { margin-top: 48px; }
.feature-grid p { color: var(--muted); font-size: 14px; }

.article-hero { padding: 64px 0 120px; background: var(--mint-2); }
.article-hero__inner { max-width: var(--container); }
.article-hero h1 { max-width: none; margin: 18px 0 20px; font-size: clamp(40px, 6vw, 68px); }
.article-hero p { max-width: 750px; color: var(--muted); font-size: 19px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 12px; font-weight: 650; }
.article-cover { overflow: hidden; margin-top: -74px; border-radius: 24px; box-shadow: var(--shadow); }
.article-cover img { width: 100%; aspect-ratio: 16 / 8.4; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 85px; align-items: start; padding-top: 75px; padding-bottom: 100px; }
.article-body { font-size: 17px; }
.article-body section { scroll-margin-top: 110px; }
.article-body ul { padding-left: 24px; }
.article-aside { position: sticky; top: 110px; display: grid; gap: 18px; }
.sources { margin-top: 55px; padding: 26px; background: #f7faf8; border-radius: var(--radius); }
.sources h2 { margin-top: 0; font-size: 24px; }
.sources ul { margin-bottom: 0; }
.editorial-note { margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }

.city-directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.city-directory a { display: grid; padding: 19px 21px; color: var(--ink); border: 1px solid var(--line); border-radius: 13px; text-decoration: none; }
.city-directory a:hover { background: var(--mint-2); border-color: var(--green); }
.city-directory span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.city-hero { overflow: hidden; padding: 60px 0; background: var(--mint-2); border-bottom: 1px solid var(--line); }
.city-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); min-height: 560px; }
.city-hero h1 { font-size: clamp(44px, 5.2vw, 68px); }
.city-hero__visual { min-height: 500px; z-index: auto !important; }
.city-hero__visual > img { position: absolute; top: 50%; right: min(0px, calc((1180px - 100vw) / 2)); width: calc(160% + max(0px, (100vw - 1180px) / 2)); max-width: none; height: auto; transform: translateY(-50%); mix-blend-mode: multiply; }
.city-calc { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 520px; margin: 28px 0 12px; padding: 15px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.city-calc label { display: grid; gap: 5px; }
.city-hero small { color: var(--muted); }

.calculator-section { padding-top: 50px; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.calculator-progress { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.calculator-progress button { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px; color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; cursor: default; }
.calculator-progress button span { display: grid; width: 28px; height: 28px; place-items: center; background: #eef3f0; border-radius: 50%; font-size: 12px; font-weight: 800; }
.calculator-progress button.is-active { color: var(--ink); border-color: var(--green); }
.calculator-progress button.is-active span { color: var(--white); background: var(--green); }
.calculator-form { min-height: 640px; padding: 36px; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.form-step[hidden] { display: none; }
.form-heading { margin-bottom: 30px; }
.form-heading > span { color: var(--green-dark); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.form-heading h2 { margin: 7px 0 9px; font-size: 32px; }
.form-heading p { max-width: 620px; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.field { display: grid; align-content: start; gap: 7px; margin-bottom: 16px; }
.field--wide { grid-column: 1 / -1; }
.field small { color: var(--muted); font-size: 11px; }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field-action { display: grid; grid-template-columns: 1fr auto; }
.field-action input { border-radius: 10px 0 0 10px; }
.field-action button { padding: 0 18px; color: var(--green-dark); background: var(--mint); border: 1px solid #cfdcd5; border-left: 0; border-radius: 0 10px 10px 0; font-weight: 800; cursor: pointer; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 27px; padding-top: 24px; border-top: 1px solid var(--line); }
.choice-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.choice-row label { cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 12px; font-weight: 750; text-align: center; }
.choice-row input:checked + span { background: var(--mint); border-color: var(--green); }
.driver-card { padding: 22px; background: #f8fbf9; border: 1px solid var(--line); border-radius: 15px; }
.driver-card > strong { display: block; margin-bottom: 17px; }
.form-note { margin-top: 15px; color: var(--muted); font-size: 12px; }
.check-field { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; }
.check-field input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); }
.calculator-aside { display: grid; gap: 16px; }
.aside-card { padding: 23px; background: var(--mint-2); border-radius: var(--radius); }
.aside-card .line-icon { margin-bottom: 28px; }
.aside-card h2 { font-size: 19px; }
.aside-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.form-message { margin-top: 20px; padding: 15px; background: var(--mint); border-radius: 10px; }
.form-message.is-error { color: var(--danger); background: #fff0f0; }
.partner-fallback { grid-column: 1 / -1; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--mint-2); }

.criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.criteria-grid article { min-height: 235px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); }
.criteria-grid h2 { margin: 45px 0 10px; font-size: 23px; }
.criteria-grid p { color: var(--muted); font-size: 14px; }
.center-actions { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { min-height: 270px; padding: 35px; background: var(--mint-2); border-radius: var(--radius); }
.contact-card > span { color: var(--green-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contact-card h2 { margin: 45px 0 14px; font-size: 28px; }
.contact-card p { color: var(--muted); }
.legal-copy { max-width: 850px; }
.legal-copy h2:first-of-type { margin-top: 55px; }

.auth-page { display: grid; min-height: calc(100vh - 78px); place-items: center; padding: 55px 20px; background: var(--mint-2); }
.auth-card { width: min(100%, 480px); padding: 40px; background: var(--white); border: 1px solid var(--line); border-radius: 23px; box-shadow: var(--shadow); }
.auth-card--wide { width: min(100%, 630px); }
.auth-brand { margin-bottom: 32px; }
.auth-card h1 { margin-bottom: 10px; font-size: 38px; }
.auth-card > p { color: var(--muted); }
.auth-switch { margin: 22px 0 0; font-size: 13px; text-align: center; }
.form-errors { margin-bottom: 20px; padding: 13px 16px; color: var(--danger); background: #fff2f2; border-radius: 10px; font-size: 13px; }
.form-errors ul { margin: 0; padding-left: 18px; }

.account-page { min-height: calc(100vh - 78px); padding: 42px 0 80px; background: #f6f9f7; }
.account-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 28px; align-items: start; }
.account-nav { position: sticky; top: 102px; overflow: hidden; padding: 19px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.account-nav__user { display: flex; gap: 12px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.account-nav__user > span { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: var(--white); background: var(--green); border-radius: 12px; font-weight: 800; }
.account-nav__user div { min-width: 0; }
.account-nav__user strong, .account-nav__user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-nav__user small { color: var(--muted); font-size: 10px; }
.account-nav nav { display: grid; gap: 4px; padding: 15px 0; }
.account-nav nav a { padding: 10px 12px; color: var(--ink); border-radius: 9px; font-size: 13px; font-weight: 700; text-decoration: none; }
.account-nav nav a:hover, .account-nav nav a[aria-current="page"] { background: var(--mint); }
.account-logout { width: 100%; padding: 10px 12px; color: var(--muted); background: none; border: 0; border-top: 1px solid var(--line); font-size: 13px; text-align: left; cursor: pointer; }
.account-content { min-width: 0; }
.account-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.account-head h1 { margin-bottom: 7px; font-size: 42px; }
.account-head p { margin-bottom: 0; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 20px; }
.stat-grid > div { display: flex; min-height: 110px; flex-direction: column; justify-content: space-between; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; }
.stat-grid span { color: var(--muted); font-size: 12px; }
.stat-grid strong { font-size: 28px; }
.account-section { margin-bottom: 20px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.account-section--narrow { max-width: 650px; }
.account-section > h2 { font-size: 24px; }
.account-section hr { margin: 35px 0; border: 0; border-top: 1px solid var(--line); }
.empty-state { display: grid; justify-items: center; padding: 48px 25px; background: #fafcfb; border: 1px dashed #cbdcd3; border-radius: 15px; text-align: center; }
.empty-state .line-icon { margin-bottom: 15px; }
.empty-state h2, .empty-state h3 { margin-bottom: 8px; }
.empty-state p { max-width: 500px; color: var(--muted); }
.empty-state--row { display: flex; align-items: center; justify-content: space-between; text-align: left; }
.empty-state--row p { margin: 0; }
.vehicle-list, .policy-list { display: grid; gap: 11px; }
.vehicle-item { display: flex; gap: 14px; align-items: center; padding: 15px; background: #fafcfb; border-radius: 12px; }
.vehicle-item strong, .vehicle-item small { display: block; }
.vehicle-item small { color: var(--muted); font-size: 11px; }
.vehicle-item--detail { align-items: flex-start; padding: 19px; }
.policy-item { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px; background: #fafcfb; border: 1px solid var(--line); border-radius: 13px; }
.policy-item h3 { margin: 8px 0 4px; }
.policy-item p { margin: 0; color: var(--muted); font-size: 12px; }
.policy-item > div:last-child { display: grid; gap: 7px; justify-items: end; font-size: 12px; }
.status { display: inline-flex; padding: 4px 8px; color: #675011; background: var(--sand); border-radius: 99px; font-size: 10px; font-weight: 800; }
.status--active { color: var(--green-dark); background: var(--mint); }
.account-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }

.portal-footer { padding: 70px 0 25px; color: #bbcec5; background: #10291f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 60px; }
.footer-brand img { width: 160px; height: auto; margin-bottom: 19px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 310px; color: #94afa3; font-size: 13px; }
.portal-footer h2 { margin-bottom: 18px; color: var(--white); font-size: 14px; letter-spacing: 0; }
.portal-footer div:not(.footer-brand) > a { display: block; margin: 10px 0; color: #aac0b6; font-size: 12px; text-decoration: none; }
.portal-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 50px; padding-top: 22px; border-top: 1px solid #28453a; color: #789589; font-size: 10px; }

@media (max-width: 1020px) {
  .header-inner { grid-template-columns: 190px 1fr 150px; gap: 14px; }
  .main-nav { gap: 17px; }
  .hero-grid { grid-template-columns: 1fr .8fr; min-height: 580px; }
  .hero-visual > img { width: 160%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { gap: 16px; }
  .city-callout, .evidence-grid, .faq-layout { gap: 45px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 45px; }
  .city-directory { grid-template-columns: repeat(2, 1fr); }
  .calculator-layout { grid-template-columns: minmax(0, 1fr) 260px; }
  .account-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .footer-grid { gap: 30px; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 30px, var(--container)); }
  .portal-header { position: sticky; }
  .header-inner { grid-template-columns: 1fr 44px; min-height: 68px; }
  .brand img { width: 132px; }
  .menu-toggle { display: block; justify-self: end; }
  .main-nav { position: fixed; z-index: 120; top: 68px; right: 0; bottom: 0; left: 0; display: none; flex-direction: column; justify-content: flex-start; gap: 0; padding: 20px 25px; background: var(--white); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 17px 5px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .main-nav a::after { display: none; }
  .main-nav .nav-account { display: block; color: var(--green-dark); }
  .account-button { display: none; }
  .hero-section { padding: 50px 0 20px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: none; padding-right: 0; }
  .hero-visual { min-height: 390px; }
  .hero-visual > img { top: 50%; right: auto; left: -36%; width: 135%; height: auto; transform: translateY(-50%); }
  .hero-note { right: 4%; bottom: 12%; }
  .trust-strip__inner { grid-template-columns: 1fr; }
  .trust-strip__inner span { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .section { padding: 75px 0; }
  .process-grid, .city-callout, .evidence-grid, .faq-layout, .content-split, .page-hero__grid, .city-hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .process-copy, .faq-layout > div:first-child { position: static; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .page-hero__grid > img { width: 100%; margin: 0; }
  .osago-hero .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .osago-hero__art { overflow: hidden; }
  .osago-hero__art img { width: 145%; margin-left: -45%; }
  .city-hero__grid { min-height: auto; }
  .city-hero__visual { min-height: 390px; }
  .city-hero__visual > img { top: 50%; right: auto; left: -36%; width: 135%; height: auto; transform: translateY(-50%); }
  .narrow-head { max-width: none; margin: 0 auto; width: min(100% - 30px, var(--container)); }
  .toc-card { position: static; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; grid-template-columns: 1fr 1fr; }
  .calculator-layout { grid-template-columns: 1fr; }
  .calculator-aside { grid-template-columns: 1fr 1fr; }
  .criteria-grid { grid-template-columns: repeat(2, 1fr); }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; }
  .account-nav nav { grid-template-columns: repeat(4, 1fr); overflow-x: auto; }
  .account-nav nav a { white-space: nowrap; text-align: center; }
  .account-two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  body { font-size: 15px; }
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .hero-section { padding-top: 38px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-lead { font-size: 16px; }
  .quick-calc, .field-grid { grid-template-columns: 1fr; }
  .quick-calc { padding: 16px; }
  .quick-calc > *, .field--wide { grid-column: 1; }
  .quick-calc .text-link { min-height: 38px; align-content: center; }
  .hero-trust { display: grid; gap: 9px; }
  .hero-visual { min-height: 300px; }
  .hero-visual > img { left: -47%; width: 155%; }
  .hero-note { min-width: 180px; padding: 12px 15px; }
  .section { padding: 58px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .service-grid, .service-grid--large, .article-grid, .article-grid--catalog, .feature-grid, .city-directory, .criteria-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .service-card .line-icon { margin-bottom: 30px; }
  .steps-list li { grid-template-columns: 44px 1fr; gap: 12px; }
  .city-callout { gap: 25px; }
  .evidence-links a { align-items: flex-start; flex-direction: column; gap: 5px; }
  .evidence-links span { text-align: left; }
  .cta-panel { align-items: flex-start; flex-direction: column; padding: 38px 27px; border-radius: 18px; }
  .page-hero, .city-hero { padding: 45px 0; }
  .page-hero p, .city-hero p { font-size: 16px; }
  .breadcrumbs { margin-bottom: 22px; }
  .button-row { align-items: stretch; flex-direction: column; }
  .article-hero { padding: 42px 0 94px; }
  .article-hero h1 { font-size: 39px; }
  .article-cover { width: calc(100% - 30px); margin-top: -58px; border-radius: 15px; }
  .article-layout { padding-top: 46px; padding-bottom: 70px; }
  .article-aside { grid-template-columns: 1fr; }
  .article-body { font-size: 16px; }
  .prose h2, .article-body h2, .legal-copy h2 { font-size: 27px; }
  .city-calc { grid-template-columns: 1fr; }
  .city-hero__visual { min-height: 300px; }
  .city-hero__visual > img { left: -47%; width: 155%; }
  .calculator-progress { overflow-x: auto; }
  .calculator-progress button { min-width: 118px; font-size: 11px; }
  .calculator-form { min-height: 0; padding: 22px 18px; border-radius: 16px; }
  .form-heading h2 { font-size: 27px; }
  .choice-row { grid-template-columns: 1fr; }
  .form-actions .button { flex: 1; padding-inline: 12px; }
  .calculator-aside { grid-template-columns: 1fr; }
  .center-actions { flex-direction: column; }
  .auth-card { padding: 28px 20px; }
  .auth-card h1 { font-size: 32px; }
  .account-page { padding-top: 22px; }
  .account-nav nav { grid-template-columns: 1fr 1fr; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; }
  .account-head { align-items: flex-start; flex-direction: column; }
  .account-head h1 { font-size: 35px; }
  .account-head .button { width: 100%; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid > div:first-child { grid-column: 1 / -1; }
  .account-section { padding: 20px 16px; }
  .empty-state--row, .policy-item { align-items: flex-start; flex-direction: column; }
  .policy-item > div:last-child { justify-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Insurance catalogue discovery: home, services and city hubs. */
.hero-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero-products a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 14px 17px; color: var(--ink); background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-size: 14px; }
.hero-products a:hover { border-color: var(--green); background: var(--mint-2); }
.hero-products a > span { color: var(--green-dark); }
.hero-catalog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 20px; }
.hero-catalog-actions .text-link { font-size: 13px; }
.product-card .product-card__bottom { flex-wrap: wrap; align-items: center; }
.city-catalog-hero h1 { font-size: clamp(38px, 5.5vw, 68px); overflow-wrap: anywhere; }
.city-search { display: block; width: min(100%, 310px); flex-shrink: 0; }
.city-search input { width: 100%; min-height: 50px; padding: 12px 16px; color: var(--ink); background: var(--white); border: 1px solid #cfdcd5; border-radius: 12px; font: inherit; }
.city-search input:focus { border-color: var(--green); }
.city-directory > [hidden], .directory-empty[hidden] { display: none; }
.directory-hint { margin: -16px 0 28px; color: var(--muted); font-size: 14px; }
.directory-empty { padding: 22px; color: var(--muted); background: var(--mint-2); border-radius: 12px; }
.service-directory a > span:first-child { min-width: 0; }
.service-directory small { display: block; margin: 4px 0; color: var(--muted); font-size: 11px; font-weight: 500; }
.footer-catalog { margin-top: 44px; padding-top: 32px; border-top: 1px solid #28453a; }
.footer-catalog-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.footer-catalog-head h2 { margin: 0; }
.footer-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 44px; }
.footer-catalog-group h3 { margin-bottom: 18px; color: var(--white); font-size: 14px; letter-spacing: 0; }
.footer-catalog-group ul { padding: 0; margin: 0; list-style: none; }
.footer-catalog-group li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 11px 0; }
.footer-catalog-group li > a { min-width: 0; color: #aac0b6; font-size: 12px; text-decoration: none; }
.footer-catalog-group li > .footer-product-cities { flex-shrink: 0; color: #8ca99b; font-size: 10px; white-space: nowrap; }
.footer-catalog-group li > a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 1020px) {
  .hero-products a { padding: 12px; font-size: 12px; }
  .footer-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 580px) {
  .hero-copy h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .hero-products a { min-height: 58px; font-size: 13px; }
  .hero-catalog-actions { gap: 16px; }
  .city-search { width: 100%; }
  .footer-catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-catalog-head { align-items: flex-start; flex-direction: column; }
}
