:root {
    --red: #d71920;
    --red-dark: #b50f16;
    --red-soft: #fff0f1;
    --ink: #181a1e;
    --ink-2: #292d33;
    --text: #30343a;
    --muted: #656b73;
    --line: #dfe2e7;
    --surface: #f4f5f7;
    --white: #fff;
    --success: #167449;
    --warning: #a45a00;
    --shadow-sm: 0 10px 30px rgba(15, 18, 24, .08);
    --shadow-lg: 0 24px 60px rgba(15, 18, 24, .16);
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --container: 1180px;
}

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

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

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

svg {
    display: block;
}

a {
    color: var(--red-dark);
    text-underline-offset: .18em;
}

a:hover {
    color: var(--red);
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(215, 25, 32, .45);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em;
}

h1 {
    font-size: clamp(2.65rem, 5.4vw, 5.15rem);
}

h2 {
    font-size: clamp(2rem, 3.6vw, 3.35rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.narrow {
    width: min(790px, 100%);
    margin-inline: auto;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    color: var(--white);
    background: var(--ink);
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus {
    color: var(--white);
    transform: translateY(0);
}

.topbar {
    color: rgba(255, 255, 255, .82);
    background: var(--ink);
    font-size: .82rem;
}

.topbar__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar p {
    margin: 0;
}

.topbar__contacts {
    display: flex;
    align-items: center;
    gap: 25px;
}

.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--white);
    text-decoration: none;
}

.topbar svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(223, 226, 231, .8);
    transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 30px rgba(15, 18, 24, .09);
}

.site-header__inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand:hover {
    color: var(--ink);
}

.brand__mark {
    display: inline-grid;
    grid-template-columns: auto auto;
    overflow: hidden;
    min-width: 74px;
    color: var(--white);
    background: var(--ink);
    border: 3px solid var(--ink);
    border-radius: 5px 5px 12px 5px;
    font-size: .88rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.03em;
}

.brand__mark span,
.brand__mark b {
    padding: 9px 7px;
}

.brand__mark b {
    background: var(--red);
}

.brand__text {
    display: grid;
    line-height: 1;
}

.brand__text strong {
    color: var(--ink);
    font-size: 1.3rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.brand__text small {
    margin-top: 7px;
    color: var(--muted);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav > a:not(.button) {
    position: relative;
    padding: 30px 0 27px;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 750;
    text-decoration: none;
}

.main-nav > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    height: 3px;
    content: "";
    background: var(--red);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .18s ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a.is-active::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 42px;
    padding: 9px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
    transition: transform .18s ease, opacity .18s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 23px;
    color: var(--white);
    background: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 10px;
    box-shadow: none;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.button:hover {
    color: var(--white);
    background: #050607;
    border-color: #050607;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.button--primary {
    background: var(--red);
    border-color: var(--red);
}

.button--primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.button--light {
    color: var(--ink);
    background: var(--white);
    border-color: var(--white);
}

.button--light:hover {
    color: var(--ink);
    background: #f2f3f5;
    border-color: #f2f3f5;
}

.button--outline {
    color: var(--ink);
    background: transparent;
    border-color: #bfc4ca;
}

.button--outline:hover {
    color: var(--red-dark);
    background: var(--white);
    border-color: var(--red);
}

.button--small {
    min-height: 44px;
    padding: 10px 17px;
    font-size: .84rem;
}

.button svg,
.text-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: var(--red-dark);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 3px;
    content: "";
    background: var(--red);
}

.hero {
    position: relative;
    min-height: 650px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
    isolation: isolate;
}

.hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    background-image: url('../images/servis-dilna.webp');
    background-position: center;
    background-size: cover;
}

.hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(17, 19, 23, .97) 0%, rgba(17, 19, 23, .9) 38%, rgba(17, 19, 23, .45) 68%, rgba(17, 19, 23, .15) 100%);
}

.hero__content {
    width: min(690px, 62%);
    padding: 90px 0 110px;
}

.hero .eyebrow {
    color: #ffb4b7;
}

.hero h1 {
    max-width: 780px;
    margin-bottom: 24px;
    color: var(--white);
}

.hero__lead {
    max-width: 630px;
    margin-bottom: 31px;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    line-height: 1.65;
}

.hero__actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__micro {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin: 30px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, .8);
    font-size: .89rem;
    list-style: none;
}

.hero__micro li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__micro li::before {
    width: 7px;
    height: 7px;
    content: "";
    background: var(--red);
    border: 2px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
}

.trust-strip {
    position: relative;
    z-index: 5;
    margin-top: -35px;
}

.trust-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.trust-item {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px;
}

.trust-item + .trust-item {
    border-left: 1px solid var(--line);
}

.trust-item svg {
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--red);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.trust-item strong,
.trust-item span {
    display: block;
}

.trust-item strong {
    color: var(--ink);
    line-height: 1.25;
}

.trust-item span {
    margin-top: 4px;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.35;
}

.section {
    padding: 105px 0;
}

.section--compact {
    padding: 75px 0;
}

.section--muted {
    background: var(--surface);
}

.section--dark {
    color: rgba(255, 255, 255, .78);
    background: var(--ink);
}

.section--dark h2,
.section--dark h3 {
    color: var(--white);
}

.section--red-soft {
    background: var(--red-soft);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading--center .eyebrow {
    justify-content: center;
}

.section-heading h2 {
    margin-bottom: 17px;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.section--dark .section-heading p {
    color: rgba(255, 255, 255, .67);
}

.portal-grid,
.service-grid,
.three-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.portal-card,
.service-card,
.info-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(15, 18, 24, .05);
}

.portal-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.portal-card:hover {
    border-color: #c6cbd1;
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.portal-card--featured {
    color: rgba(255, 255, 255, .78);
    background: var(--ink);
    border-color: var(--ink);
}

.portal-card--featured h3 {
    color: var(--white);
}

.portal-card__icon,
.service-card__icon,
.contact-icon {
    width: 56px;
    height: 56px;
    display: grid;
    margin-bottom: 25px;
    color: var(--red);
    background: var(--red-soft);
    border-radius: 14px;
    place-items: center;
}

.portal-card--featured .portal-card__icon {
    color: var(--white);
    background: var(--red);
}

.portal-card__icon svg,
.service-card__icon svg,
.contact-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.portal-card h3,
.service-card h3 {
    margin-bottom: 12px;
}

.portal-card p {
    margin-bottom: 25px;
    color: var(--muted);
}

.portal-card--featured p {
    color: rgba(255, 255, 255, .68);
}

.portal-card .text-link {
    margin-top: auto;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red-dark);
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover {
    color: var(--red);
}

.portal-card--featured .text-link {
    color: var(--white);
}

.service-card {
    overflow: hidden;
    padding: 31px;
}

.service-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    content: "";
    background: var(--red);
    transform: scaleX(.25);
    transform-origin: left;
    transition: transform .2s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.service-card ul {
    margin: 19px 0 0;
    padding: 0;
    color: var(--muted);
    list-style: none;
}

.service-card li {
    position: relative;
    margin-top: 7px;
    padding-left: 18px;
}

.service-card li::before {
    position: absolute;
    top: .72em;
    left: 0;
    width: 6px;
    height: 6px;
    content: "";
    background: var(--red);
    border-radius: 50%;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(45px, 7vw, 90px);
}

.split--top {
    align-items: start;
}

.split__media {
    position: relative;
}

.split__media img {
    width: 100%;
    min-height: 440px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.split__media::after {
    position: absolute;
    z-index: -1;
    right: -20px;
    bottom: -20px;
    width: 55%;
    height: 55%;
    content: "";
    background: var(--red);
    border-radius: var(--radius);
}

.split__content h2 {
    margin-bottom: 20px;
}

.split__content > p {
    color: var(--muted);
    font-size: 1.04rem;
}

.check-list,
.plain-list {
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin: 13px 0;
    padding-left: 33px;
    color: var(--ink-2);
    font-weight: 650;
}

.check-list li::before {
    position: absolute;
    top: .2em;
    left: 0;
    width: 21px;
    height: 21px;
    display: grid;
    content: "✓";
    color: var(--white);
    background: var(--red);
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 900;
    place-items: center;
}

.plain-list li {
    margin: 8px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    counter-reset: steps;
}

.step {
    position: relative;
    padding: 0 28px;
    counter-increment: steps;
}

.step:first-child {
    padding-left: 0;
}

.step:last-child {
    padding-right: 0;
}

.step + .step {
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.step::before {
    width: 48px;
    height: 48px;
    display: grid;
    margin-bottom: 22px;
    content: counter(steps, decimal-leading-zero);
    color: var(--white);
    background: var(--red);
    border-radius: 50%;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .05em;
    place-items: center;
}

.step h3 {
    margin-bottom: 10px;
    font-size: 1.17rem;
}

.step p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .62);
    font-size: .91rem;
}

.cta-band {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, .84);
    background: var(--red);
    border-radius: var(--radius-lg);
}

.cta-band::after {
    position: absolute;
    top: -110px;
    right: -80px;
    width: 310px;
    height: 310px;
    content: "";
    border: 55px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
}

.cta-band__inner {
    position: relative;
    z-index: 1;
    min-height: 265px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 58px;
}

.cta-band h2 {
    max-width: 650px;
    margin-bottom: 13px;
    color: var(--white);
    font-size: clamp(2rem, 3.8vw, 3.25rem);
}

.cta-band p {
    max-width: 640px;
    margin-bottom: 0;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, .75);
    background: var(--ink);
}

.page-hero::after {
    position: absolute;
    top: -140px;
    right: -80px;
    width: 430px;
    height: 430px;
    content: "";
    border: 80px solid rgba(215, 25, 32, .5);
    border-radius: 50%;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 850px;
    padding: 75px 0 82px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .53);
    font-size: .82rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
}

.page-hero h1 {
    margin-bottom: 21px;
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.page-hero p {
    max-width: 720px;
    margin-bottom: 0;
    font-size: clamp(1.03rem, 1.7vw, 1.23rem);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: clamp(45px, 7vw, 90px);
}

.prose > :first-child {
    margin-top: 0;
}

.prose h2 {
    margin: 2.1em 0 .55em;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.prose h3 {
    margin: 1.8em 0 .5em;
}

.prose p,
.prose li {
    color: #464b52;
}

.prose a {
    font-weight: 700;
}

.sidebar-card {
    position: sticky;
    top: 115px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.sidebar-card h2,
.sidebar-card h3 {
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.sidebar-card .button {
    width: 100%;
    margin-top: 10px;
}

.sidebar-card__links {
    margin: 20px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.sidebar-card__links li + li {
    margin-top: 8px;
}

.sidebar-card__links a {
    font-weight: 750;
    text-decoration: none;
}

.notice {
    position: relative;
    margin: 28px 0;
    padding: 23px 25px 23px 29px;
    background: var(--red-soft);
    border-left: 5px solid var(--red);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.notice--neutral {
    background: var(--surface);
    border-left-color: var(--ink);
}

.notice--success {
    background: #eaf8f1;
    border-left-color: var(--success);
}

.notice h2,
.notice h3 {
    margin-bottom: 7px;
    font-size: 1.2rem;
}

.notice p:last-child {
    margin-bottom: 0;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 25px 0;
}

.tag {
    display: inline-flex;
    padding: 7px 12px;
    color: var(--ink-2);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 750;
}

.info-card {
    padding: 28px;
}

.info-card h3 {
    margin-bottom: 11px;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.number-card {
    position: relative;
    padding-top: 72px;
}

.number-card::before {
    position: absolute;
    top: 28px;
    left: 28px;
    color: var(--red);
    content: attr(data-number);
    font-size: 1.2rem;
    font-weight: 900;
}

.plate-example {
    padding: 28px;
    color: var(--white);
    background: var(--ink);
    border-radius: var(--radius);
}

.plate-example__label {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .52);
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.plate-example dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 9px 18px;
    margin: 0;
}

.plate-example dt {
    color: rgba(255, 255, 255, .55);
}

.plate-example dd {
    margin: 0;
    font-weight: 800;
}

.plate-example small {
    display: block;
    margin-top: 18px;
    color: rgba(255, 255, 255, .58);
}

.faq {
    border-top: 1px solid var(--line);
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    position: relative;
    padding: 23px 45px 23px 0;
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    position: absolute;
    top: 22px;
    right: 5px;
    content: "+";
    color: var(--red);
    font-size: 1.45rem;
    line-height: 1;
}

.faq details[open] summary::after {
    content: "−";
}

.faq details > div {
    max-width: 850px;
    padding: 0 40px 23px 0;
    color: var(--muted);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.35fr);
    gap: clamp(40px, 7vw, 85px);
}

.contact-cards {
    display: grid;
    gap: 15px;
}

.contact-card {
    display: flex;
    gap: 17px;
    padding: 21px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.contact-card .contact-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 auto;
    margin: 0;
    border-radius: 11px;
}

.contact-card .contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-card strong,
.contact-card span,
.contact-card a {
    display: block;
}

.contact-card strong {
    margin-bottom: 3px;
    color: var(--ink);
}

.contact-card span {
    color: var(--muted);
    font-size: .9rem;
}

.contact-card a {
    color: var(--ink);
    font-weight: 750;
    text-decoration: none;
}

.form-card {
    padding: clamp(28px, 5vw, 48px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-card h2 {
    margin-bottom: 13px;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.form-card > p {
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px;
    margin-top: 29px;
}

.field {
    display: grid;
    gap: 7px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label,
.field > span {
    color: var(--ink);
    font-size: .86rem;
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 11px 13px;
    background: var(--white);
    border: 1px solid #bec3c9;
    border-radius: 8px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.field textarea {
    min-height: 145px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(215, 25, 32, .11);
    outline: none;
}

.field small {
    color: var(--muted);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: .82rem;
}

.checkbox input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 2px;
    accent-color: var(--red);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.form-actions small {
    color: var(--muted);
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
}

.status-message {
    margin-bottom: 24px;
    padding: 14px 16px;
    background: #fff4dd;
    border: 1px solid #eccb8d;
    border-radius: 8px;
    color: #6b4200;
}

.map-panel {
    min-height: 330px;
    display: grid;
    overflow: hidden;
    background: linear-gradient(135deg, #e5e7ea, #f7f7f8);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    place-items: center;
}

.map-panel__content {
    max-width: 450px;
    padding: 35px;
    text-align: center;
}

.map-panel__pin {
    width: 62px;
    height: 62px;
    display: grid;
    margin: 0 auto 19px;
    color: var(--white);
    background: var(--red);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    place-items: center;
}

.map-panel__pin svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transform: rotate(45deg);
}

.site-footer {
    color: rgba(255, 255, 255, .64);
    background: #111316;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1.15fr 1fr;
    gap: 55px;
    padding-top: 75px;
    padding-bottom: 62px;
}

.brand--footer .brand__text strong {
    color: var(--white);
}

.brand--footer .brand__text small {
    color: rgba(255, 255, 255, .48);
}

.footer-brand p {
    max-width: 335px;
    margin: 24px 0 0;
    font-size: .9rem;
}

.site-footer h2 {
    margin: 7px 0 20px;
    color: var(--white);
    font-size: .83rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-list li {
    margin-bottom: 10px;
    font-size: .88rem;
}

.footer-list a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
}

.footer-list a:hover {
    color: var(--white);
}

.footer-bottom {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .78rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    gap: 22px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, .62);
    text-decoration: none;
}

.mobile-call {
    display: none;
}

.error-code {
    margin-bottom: 12px;
    color: var(--red);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .15em;
}

.standalone-title {
    margin-bottom: 12px;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.standalone-title--large {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
}

@media (max-width: 1080px) {
    .main-nav {
        gap: 18px;
    }

    .main-nav > a:not(.button) {
        font-size: .84rem;
    }

    .brand__text small {
        display: none;
    }

    .trust-item {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1.25fr 1fr 1fr;
    }

    .footer-grid > div:last-child {
        grid-column: 2;
    }
}

@media (max-width: 960px) {
    .site-header__inner {
        min-height: 74px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        z-index: 999;
        top: 112px;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        overflow-y: auto;
        padding: 25px max(20px, calc((100vw - var(--container)) / 2));
        background: var(--white);
        transform: translateX(100%);
        transition: transform .22s ease;
    }

    .main-nav.is-open {
        transform: translateX(0);
    }

    .main-nav > a:not(.button) {
        display: block;
        padding: 16px 3px;
        border-bottom: 1px solid var(--line);
        font-size: 1.07rem;
    }

    .main-nav > a:not(.button)::after {
        display: none;
    }

    .main-nav__cta {
        width: 100%;
        margin-top: 22px;
    }

    .hero {
        min-height: 620px;
    }

    .hero__content {
        width: min(670px, 78%);
    }

    .trust-strip__inner {
        grid-template-columns: 1fr 1fr;
    }

    .trust-item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .trust-item:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .portal-grid,
    .service-grid,
    .three-grid {
        grid-template-columns: 1fr 1fr;
    }

    .portal-card:last-child,
    .service-card:last-child,
    .three-grid > *:last-child {
        grid-column: 1 / -1;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
        gap: 35px 0;
    }

    .step:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        position: static;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body {
        padding-bottom: 64px;
    }

    .container {
        width: min(var(--container), calc(100% - 30px));
    }

    .topbar__inner {
        min-height: 34px;
    }

    .topbar p,
    .topbar__contacts a:last-child {
        display: none;
    }

    .topbar__contacts {
        width: 100%;
        justify-content: flex-end;
    }

    .main-nav {
        top: 108px;
    }

    .brand__mark {
        min-width: 66px;
        font-size: .8rem;
    }

    .brand__mark span,
    .brand__mark b {
        padding: 8px 6px;
    }

    .brand__text strong {
        font-size: 1.1rem;
    }

    .hero {
        min-height: 650px;
        align-items: end;
    }

    .hero::before {
        background-position: 62% center;
    }

    .hero::after {
        background: linear-gradient(0deg, rgba(17, 19, 23, .99) 0%, rgba(17, 19, 23, .9) 55%, rgba(17, 19, 23, .35) 100%);
    }

    .hero__content {
        width: 100%;
        padding: 210px 0 75px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero__actions .button,
    .section-actions .button {
        width: 100%;
    }

    .trust-strip {
        margin-top: 0;
    }

    .trust-strip .container {
        width: 100%;
    }

    .trust-strip__inner {
        grid-template-columns: 1fr 1fr;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .trust-item {
        min-height: 125px;
        display: block;
        padding: 20px 15px;
        text-align: center;
    }

    .trust-item svg {
        margin: 0 auto 8px;
    }

    .section {
        padding: 75px 0;
    }

    .section--compact {
        padding: 55px 0;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .portal-grid,
    .service-grid,
    .three-grid {
        grid-template-columns: 1fr;
    }

    .portal-card:last-child,
    .service-card:last-child,
    .three-grid > *:last-child {
        grid-column: auto;
    }

    .portal-card {
        min-height: 0;
        padding: 28px;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 43px;
    }

    .split__media {
        order: -1;
    }

    .split__media img {
        min-height: 300px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .step,
    .step:first-child,
    .step:last-child,
    .step:nth-child(3) {
        padding: 27px 0 27px 68px;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
        border-left: 0;
    }

    .step::before {
        position: absolute;
        top: 25px;
        left: 0;
    }

    .cta-band__inner {
        display: block;
        padding: 39px 28px;
    }

    .cta-band .button {
        width: 100%;
        margin-top: 28px;
    }

    .page-hero__inner {
        padding: 55px 0 62px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field--full {
        grid-column: auto;
    }

    .form-actions {
        display: block;
    }

    .form-actions .button {
        width: 100%;
        margin-bottom: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
        padding-top: 58px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-grid > div:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        display: block;
        padding: 22px 0;
    }

    .footer-bottom div {
        margin-top: 9px;
    }

    .mobile-call {
        position: fixed;
        z-index: 2000;
        right: 0;
        bottom: 0;
        left: 0;
        min-height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        color: var(--white);
        background: var(--red);
        box-shadow: 0 -6px 24px rgba(0, 0, 0, .18);
        font-weight: 850;
        text-decoration: none;
    }

    .mobile-call:hover {
        color: var(--white);
        background: var(--red-dark);
    }

    .mobile-call svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }
}

@media (max-width: 440px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-grid > div:last-child {
        grid-column: auto;
    }

    .trust-strip__inner {
        grid-template-columns: 1fr;
    }

    .trust-item + .trust-item,
    .trust-item:nth-child(3) {
        border-top: 1px solid var(--line);
        border-left: 0;
    }
}

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

@media print {
    .topbar,
    .site-header,
    .site-footer,
    .mobile-call,
    .button,
    .nav-toggle {
        display: none !important;
    }

    body {
        padding: 0;
        color: #000;
    }

    .section,
    .page-hero__inner {
        padding: 20px 0;
    }
}
