/* SEO site layer. Keeps the existing PT Sans / Roboto Condensed type and military palette. */

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

body {
    min-width: 320px;
    font-family: "PT Sans", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background: hsl(var(--background));
}

body.nav-open {
    overflow: hidden;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid hsl(var(--accent));
    outline-offset: 3px;
}

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

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

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: #fff;
    background: #1e2318;
    border-radius: 6px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    color: hsl(var(--secondary-foreground));
    background: hsl(var(--secondary) / .98);
    border-bottom: 1px solid rgb(255 255 255 / .12);
    box-shadow: 0 10px 30px rgb(0 0 0 / .15);
    backdrop-filter: blur(12px);
}

.header-main {
    min-height: 76px;
    display: flex;
    align-items: center;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
}

.brand-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: #272b21;
    background: hsl(var(--accent));
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2);
}

.brand-icon {
    width: 26px;
    height: 26px;
}

.brand-copy {
    display: grid;
    line-height: 1.15;
}

.brand-copy strong {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.brand-copy small {
    margin-top: 4px;
    color: rgb(255 255 255 / .68);
    font-size: .78rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.desktop-nav a {
    position: relative;
    padding-block: 10px;
    font-size: .95rem;
    font-weight: 700;
    color: rgb(255 255 255 / .9);
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    background: hsl(var(--accent));
    transform: scaleX(0);
    transition: transform .2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
    transform: scaleX(1);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.header-phone .icon {
    width: 20px;
    color: hsl(var(--accent));
}

.menu-button {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    color: #fff;
    border: 1px solid rgb(255 255 255 / .2);
    border-radius: 6px;
    cursor: pointer;
}

.menu-button .menu-close,
.menu-button[aria-expanded="true"] .menu-open {
    display: none;
}

.menu-button[aria-expanded="true"] .menu-close {
    display: block;
}

.mobile-nav {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    background: #30353a;
    border-top: 1px solid rgb(255 255 255 / .12);
}

.mobile-nav-inner {
    padding-block: 12px 20px;
    display: grid;
}

.mobile-nav a {
    padding: 13px 2px;
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid rgb(255 255 255 / .1);
}

.mobile-nav .mobile-call {
    margin-top: 12px;
    padding: 13px 16px;
    text-align: center;
    color: #272b21;
    background: hsl(var(--accent));
    border: 0;
    border-radius: 6px;
}

.breadcrumbs {
    color: #5d6256;
    background: #f0f1ed;
    border-bottom: 1px solid #dde0d7;
}

.breadcrumbs ol {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    font-size: .9rem;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 9px;
    color: #9da194;
}

.breadcrumbs a {
    color: hsl(var(--primary));
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: #2f3925;
}

.hero-inner {
    min-height: 500px;
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    background: linear-gradient(90deg, rgb(41 54 29 / .97) 0%, rgb(54 68 40 / .92) 46%, rgb(37 45 32 / .5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-block: 78px 82px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: hsl(var(--accent));
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 880px;
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
    font-size: clamp(2.45rem, 5.6vw, 4.7rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.hero-inner h1 {
    max-width: 940px;
    font-size: clamp(2.3rem, 5vw, 4.15rem);
}

.hero-lead {
    max-width: 780px;
    margin: 24px 0 0;
    color: rgb(255 255 255 / .9);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    line-height: 1.65;
}

.audience-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.audience-list li {
    padding: 7px 13px;
    color: #fff;
    background: rgb(255 255 255 / .11);
    border: 1px solid rgb(255 255 255 / .22);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 21px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-family: "PT Sans", sans-serif;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #272b21;
    background: hsl(var(--accent));
    border-color: hsl(var(--accent));
    box-shadow: 0 10px 28px rgb(0 0 0 / .18);
}

.button-primary:hover {
    background: #e0ad29;
    border-color: #e0ad29;
}

.button-secondary {
    color: #fff;
    background: hsl(var(--secondary));
    border-color: hsl(var(--secondary));
}

.button-ghost {
    color: #fff;
    background: rgb(255 255 255 / .06);
    border-color: rgb(255 255 255 / .42);
}

.button-ghost:hover {
    background: rgb(255 255 255 / .13);
}

.button-full {
    width: 100%;
}

.hero-note {
    margin: 18px 0 0;
    color: rgb(255 255 255 / .7);
    font-size: .88rem;
}

.section {
    padding-block: 86px;
}

.section h2 {
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.018em;
    color: hsl(var(--foreground));
    text-wrap: balance;
}

.section-heading {
    max-width: 790px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading.align-left {
    margin-inline: 0;
    text-align: left;
}

.section-heading > p:last-child,
.section-intro,
.document-copy > p:last-child,
.faq-heading > p:last-child {
    margin: 18px 0 0;
    color: hsl(var(--muted-foreground));
    font-size: 1.08rem;
}

.answer-section {
    padding-block: 64px;
    background: #f4f5f1;
    border-bottom: 1px solid #e1e3dc;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
    gap: 28px;
    align-items: stretch;
}

.answer-card,
.contact-aside {
    padding: clamp(28px, 4vw, 48px);
    background: #fff;
    border: 1px solid #e1e3dc;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgb(40 48 35 / .07);
}

.answer-card > p:not(.section-kicker):not(.reviewed) {
    margin: 22px 0 0;
    font-size: 1.16rem;
    line-height: 1.8;
}

.reviewed {
    margin: 26px 0 0;
    padding-top: 20px;
    color: #666b60;
    border-top: 1px solid #e4e6df;
    font-size: .9rem;
}

.contact-aside {
    color: #fff;
    background: hsl(var(--primary));
    border-color: hsl(var(--primary));
}

.contact-aside h2 {
    margin-top: 22px;
    color: #fff;
    font-size: 2rem;
}

.contact-aside p {
    margin: 16px 0 22px;
    color: rgb(255 255 255 / .84);
}

.aside-icon,
.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #272b21;
    background: hsl(var(--accent));
    border-radius: 8px;
}

.aside-icon .icon,
.service-icon .icon {
    width: 27px;
    height: 27px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: hsl(var(--primary));
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.contact-aside .text-link {
    color: #fff;
}

.link-icon {
    width: 18px;
    height: 18px;
}

.services-section {
    background: hsl(var(--background));
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    background: #fff;
    border: 1px solid #dedfd9;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgb(39 47 34 / .05);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: hsl(var(--accent));
    box-shadow: 0 20px 40px rgb(39 47 34 / .1);
}

.service-card h2,
.service-card h3 {
    margin: 22px 0 0;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.service-card p {
    margin: 13px 0 23px;
    color: hsl(var(--muted-foreground));
}

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

.section-action {
    margin-top: 34px;
    text-align: center;
}

.situation-section {
    background: #edf0e8;
}

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

.check-list {
    display: grid;
    gap: 13px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgb(255 255 255 / .62);
    border: 1px solid rgb(96 116 62 / .13);
    border-radius: 6px;
}

.check-list .icon {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: hsl(var(--primary));
    stroke-width: 2.3;
}

.process-panel {
    padding: clamp(28px, 4vw, 42px);
    color: #fff;
    background: #383d29;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgb(26 31 23 / .17);
}

.process-panel h2 {
    color: #fff;
}

.process-list {
    display: grid;
    gap: 0;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 15px;
    padding: 18px 0;
    border-top: 1px solid rgb(255 255 255 / .14);
}

.process-list li > span {
    color: hsl(var(--accent));
    font-weight: 700;
}

.process-list h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
}

.process-list p {
    margin: 5px 0 0;
    color: rgb(255 255 255 / .69);
    font-size: .95rem;
}

.documents-section {
    background: #fff;
}

.document-layout {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: clamp(36px, 7vw, 100px);
    align-items: start;
}

.document-copy {
    position: sticky;
    top: 120px;
}

.document-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.document-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: #f6f7f4;
    border-left: 4px solid hsl(var(--primary));
    border-radius: 0 6px 6px 0;
}

.document-list .icon {
    color: hsl(var(--primary));
}

.trust-section {
    color: #fff;
    background: hsl(var(--secondary));
}

.light-heading h2,
.trust-section .section-kicker {
    color: #fff;
}

.trust-section .section-kicker {
    color: hsl(var(--accent));
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.trust-grid article {
    padding: 30px;
    background: rgb(255 255 255 / .06);
    border: 1px solid rgb(255 255 255 / .12);
    border-radius: 8px;
}

.trust-grid article > span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    color: #272b21;
    background: hsl(var(--accent));
    border-radius: 50%;
}

.trust-grid h3 {
    margin: 21px 0 0;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
}

.trust-grid p {
    margin: 12px 0 0;
    color: rgb(255 255 255 / .72);
}

.region-note {
    margin-top: 25px;
    padding: 19px 22px;
    color: rgb(255 255 255 / .84);
    background: rgb(255 255 255 / .06);
    border-left: 4px solid hsl(var(--accent));
}

.faq-section {
    background: #f4f5f1;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(270px, .65fr) minmax(0, 1.35fr);
    gap: clamp(40px, 7vw, 96px);
    align-items: start;
}

.faq-heading {
    position: sticky;
    top: 120px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    background: #fff;
    border: 1px solid #dfe1da;
    border-radius: 7px;
    overflow: hidden;
}

.faq-list summary {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    font-size: 1.06rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

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

.faq-plus {
    position: relative;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.faq-plus::before,
.faq-plus::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 4px;
    width: 14px;
    height: 2px;
    background: hsl(var(--primary));
}

.faq-plus::after {
    transform: rotate(90deg);
    transition: transform .18s ease;
}

details[open] .faq-plus::after {
    transform: rotate(0);
}

.faq-answer {
    padding: 0 20px 20px;
    color: hsl(var(--muted-foreground));
}

.faq-answer p {
    margin: 0;
}

.related-section {
    padding-block: 70px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.related-grid a {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 20px;
    background: #fff;
    border: 1px solid #dedfd9;
    border-radius: 6px;
    font-weight: 700;
}

.related-grid a:hover {
    border-color: hsl(var(--primary));
}

.related-grid .icon {
    color: hsl(var(--primary));
}

.consultation-section {
    color: #fff;
    background: #383d29;
}

.consultation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: clamp(42px, 8vw, 100px);
    align-items: start;
}

.consultation-copy h2 {
    color: #fff;
}

.consultation-copy > p:not(.section-kicker):not(.hours-line):not(.address-line) {
    max-width: 650px;
    margin: 20px 0 0;
    color: rgb(255 255 255 / .75);
    font-size: 1.08rem;
}

.contact-methods {
    display: grid;
    gap: 11px;
    margin-top: 30px;
}

.contact-methods a {
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 15px;
    color: #fff;
    background: rgb(255 255 255 / .06);
    border: 1px solid rgb(255 255 255 / .12);
    border-radius: 6px;
}

.contact-methods a > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #272b21;
    background: hsl(var(--accent));
    border-radius: 50%;
}

.contact-methods a div {
    min-width: 0;
    display: grid;
}

.contact-methods small {
    color: rgb(255 255 255 / .62);
}

.contact-methods strong {
    overflow-wrap: anywhere;
}

.hours-line {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 23px 0 0;
    color: rgb(255 255 255 / .74);
}

.hours-line .icon {
    color: hsl(var(--accent));
}

.address-line {
    max-width: 600px;
    margin: 12px 0 0;
    color: rgb(255 255 255 / .74);
}

.form-card {
    padding: clamp(25px, 4vw, 38px);
    color: hsl(var(--foreground));
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgb(0 0 0 / .25);
}

.form-field {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
}

.form-field label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-weight: 700;
}

.field-hint,
.form-field small {
    color: #6a6f64;
    font-size: .83rem;
    font-weight: 400;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 13px;
    color: #272b21;
    background: #fff;
    border: 1px solid #cfd2c8;
    border-radius: 5px;
}

.form-field input {
    min-height: 48px;
}

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

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
    border-color: #b42318;
    box-shadow: 0 0 0 2px rgb(180 35 24 / .1);
}

.field-error {
    min-height: 1px;
    color: #a61b12 !important;
    font-size: .86rem !important;
}

.consent-field {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    margin-bottom: 7px;
    color: #555a50;
    font-size: .88rem;
}

.consent-field input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: hsl(var(--primary));
}

.consent-field a {
    color: hsl(var(--primary));
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-error {
    display: block;
    margin-bottom: 12px;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.form-status {
    display: none;
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: 5px;
    font-size: .92rem;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    color: #185b2a;
    background: #e9f6eb;
}

.form-status.is-error {
    color: #8e1911;
    background: #fff0ef;
}

.legal-copy {
    background: #fff;
}

.legal-copy h2 {
    margin-top: 42px;
    font-size: 1.9rem;
}

.legal-copy p,
.legal-copy li {
    color: #454a40;
    font-size: 1.04rem;
}

.legal-copy a {
    color: hsl(var(--primary));
    text-decoration: underline;
}

.site-footer {
    padding-top: 60px;
    color: rgb(255 255 255 / .72);
    background: #292e31;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 42px;
}

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

.footer-brand .legal-requisites {
    color: rgb(255 255 255 / .54);
}

.footer-logo {
    color: #fff;
}

.site-footer h2 {
    margin: 5px 0 17px;
    color: #fff;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.site-footer ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .92rem;
}

.site-footer a:hover,
.footer-cookie-button:hover {
    color: hsl(var(--accent));
}

.footer-cookie-button {
    padding: 0;
    color: inherit;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-block: 21px;
    border-top: 1px solid rgb(255 255 255 / .1);
    font-size: .84rem;
}

.footer-bottom p {
    margin: 0;
}

.cookie-panel {
    position: fixed;
    z-index: 5000;
    right: 20px;
    bottom: 20px;
    width: min(calc(100% - 40px), 520px);
    padding: 24px;
    color: #fff;
    background: #292e31;
    border: 1px solid rgb(255 255 255 / .16);
    border-radius: 8px;
    box-shadow: 0 20px 70px rgb(0 0 0 / .35);
}

.cookie-panel h2 {
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.cookie-panel p {
    margin: 9px 0 16px;
    color: rgb(255 255 255 / .72);
    font-size: .92rem;
}

.cookie-panel > div > a {
    display: inline-block;
    margin-top: 12px;
    color: hsl(var(--accent));
    font-size: .88rem;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.cookie-actions .button {
    min-height: 42px;
    padding: 9px 13px;
    font-size: .84rem;
}

.mobile-cta {
    display: none;
}

@media (max-width: 1080px) {
    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: grid;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .section {
        padding-block: 68px;
    }

    .two-column,
    .split-content,
    .document-layout,
    .faq-layout,
    .consultation-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .document-copy,
    .faq-heading {
        position: static;
    }

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

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

@media (max-width: 640px) {
    html {
        scroll-padding-top: 72px;
    }

    body {
        padding-bottom: 62px;
    }

    .site-container,
    .content-narrow {
        width: min(100% - 30px, 1240px);
    }

    .header-main {
        min-height: 68px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-icon {
        width: 23px;
        height: 23px;
    }

    .brand-copy strong {
        font-size: 1rem;
    }

    .brand-copy small {
        display: none;
    }

    .header-phone span {
        display: none;
    }

    .header-phone {
        width: 42px;
        height: 42px;
        justify-content: center;
        border: 1px solid rgb(255 255 255 / .2);
        border-radius: 6px;
    }

    .mobile-nav {
        max-height: calc(100vh - 68px);
    }

    .breadcrumbs ol {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .hero,
    .hero-inner {
        min-height: 520px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgb(41 54 29 / .96), rgb(41 54 29 / .79));
    }

    .hero-content {
        padding-block: 60px 66px;
    }

    .hero h1,
    .hero-inner h1 {
        font-size: clamp(2.05rem, 10.5vw, 3rem);
        line-height: 1.05;
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .button {
        width: 100%;
    }

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

    .service-card {
        min-height: 0;
        padding: 24px;
    }

    .section h2 {
        font-size: clamp(1.85rem, 9vw, 2.55rem);
    }

    .process-panel,
    .answer-card,
    .contact-aside,
    .form-card {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .cookie-panel {
        right: 15px;
        bottom: 76px;
        width: calc(100% - 30px);
    }

    .cookie-actions {
        display: grid;
    }

    .mobile-cta {
        position: fixed;
        z-index: 1200;
        right: 0;
        bottom: 0;
        left: 0;
        min-height: 62px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: #272b21;
        background: hsl(var(--accent));
        border-top: 1px solid rgb(0 0 0 / .15);
        box-shadow: 0 -8px 26px rgb(0 0 0 / .18);
        font-weight: 700;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

