:root {
    --bg-0: #faf7f2;
    --bg-1: #ffffff;
    --bg-2: #f6efe6;
    --bg-dark: #181410;

    --text-1: #1e1a18;
    --text-2: #4d433e;
    --text-3: #7a6b63;
    --text-disabled: #b4a79f;

    --border-1: #e7ded6;
    --border-2: rgba(30, 26, 24, 0.12);

    --gold-800: #7a4a07;
    --gold-700: #9b5c0a;
    --gold-500: #d79616;
    --gold-400: #f0b52a;
    --gold-300: #ffd864;

    --danger-500: #e11002;
    --tg-500: #2aabee;
    --wa-500: #25d366;

    --radius-lg: 22px;
    --radius-md: 14px;
    --shadow-soft: 0 16px 36px rgba(30, 26, 24, 0.08);
}

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

[v-cloak] {
    opacity: 0;
    pointer-events: none;
}

[data-form-app] {
    transition: opacity 240ms ease;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Trebuchet MS", "Lucida Sans", "Segoe UI", sans-serif;
    color: var(--text-1);
    background-color: var(--bg-0);
    background-image: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-2) 100%);
    line-height: 1.45;
}

a {
    color: var(--gold-800);
    text-decoration-color: rgba(122, 74, 7, 0.42);
    text-underline-offset: 2px;
}

a:hover {
    color: var(--gold-700);
    text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 216, 100, 0.55);
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: "Trebuchet MS", "Lucida Sans", "Segoe UI", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-1);
}

.page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 24px 16px 40px;
}

.page-glow {
    position: absolute;
    inset: -120px auto auto -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at center, rgba(215, 150, 22, 0.11) 0%, rgba(215, 150, 22, 0) 72%);
    pointer-events: none;
}

.shell,
.container {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header {
    position: relative;
    z-index: 30;
    margin-bottom: 24px;
    padding: 10px 0 18px;
    border-bottom: 1px solid rgba(215, 150, 22, 0.35);
}

.site-header__row {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    background: var(--bg-1);
    border: 1px solid var(--border-1);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
}

.brand-link__name {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--text-1);
}

.main-nav {
    flex: 1;
    min-width: 0;
}

.header-sos-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(225, 16, 2, 0.45);
    background: linear-gradient(135deg, #ff5a4f, #e11002 60%);
    color: #fff;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.015em;
    box-shadow: 0 10px 22px rgba(225, 16, 2, 0.28);
    white-space: nowrap;
}

.header-sos-link:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    filter: saturate(1.08);
}

.main-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.main-nav__item {
    position: relative;
}

.main-nav__dropdown {
    position: relative;
}

.main-nav__dropdown > summary {
    list-style: none;
    cursor: pointer;
    border: 1px solid var(--border-1);
    background: var(--bg-1);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-2);
    box-shadow: var(--shadow-soft);
}

.main-nav__dropdown > summary::-webkit-details-marker {
    display: none;
}

.main-nav__dropdown[open] > summary {
    border-color: rgba(155, 92, 10, 0.4);
    background: var(--bg-2);
}

.main-nav__dropdown ul {
    list-style: none;
    margin: 8px 0 0;
    padding: 8px;
    position: absolute;
    left: 0;
    min-width: 360px;
    background: var(--bg-1);
    border: 1px solid var(--border-1);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    z-index: 120;
}

.main-nav__dropdown li + li {
    margin-top: 4px;
}

.main-nav__dropdown a {
    display: block;
    text-decoration: none;
    color: var(--text-2);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.92rem;
}

.main-nav__dropdown a:hover,
.main-nav__dropdown a.is-active {
    background: rgba(215, 150, 22, 0.1);
    color: var(--gold-700);
}

.locale-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    border: 1px solid var(--border-1);
    background: var(--bg-1);
    padding: 4px;
}

.locale-switch__btn {
    border: 0;
    background: transparent;
    color: var(--text-2);
    border-radius: 999px;
    padding: 5px 10px;
    font: inherit;
    font-size: 0.84rem;
    cursor: pointer;
}

.locale-switch__btn.is-active {
    background: var(--gold-500);
    color: var(--text-1);
    font-weight: 700;
}

.home-hero,
.home-placeholder,
.home-categories,
.service-placeholder,
.story,
.form-card {
    background: var(--bg-1);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.home-hero,
.home-placeholder,
.home-categories,
.service-placeholder,
.story {
    padding: clamp(22px, 3vw, 34px);
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 22px;
    align-items: center;
}

.home-hero__content,
.home-hero__media {
    min-width: 0;
}

.home-hero__figure {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-1);
    background: var(--bg-2);
    box-shadow: var(--shadow-soft);
}

.home-hero__figure img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-hero__figure figcaption {
    margin: 0;
    padding: 10px 12px;
    font-size: 0.88rem;
    color: var(--text-2);
    border-top: 1px solid var(--border-1);
    background: rgba(255, 255, 255, 0.92);
}

.home-placeholder,
.home-categories {
    margin-top: 20px;
}

.home-placeholder__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 320px);
    gap: 20px;
    align-items: start;
}

.home-placeholder__text {
    min-width: 0;
}

.home-placeholder__side {
    min-width: 0;
}

.ratings-widgets {
    margin-top: 0;
    display: grid;
    gap: 12px;
    justify-items: stretch;
    width: 100%;
}

.ratings-widgets--columns {
    grid-template-columns: minmax(0, 1fr);
}

.reviews-widget {
    max-width: 340px;
    width: 100%;
    border: 1px solid var(--border-1);
    border-radius: var(--radius-md);
    background: var(--bg-1);
    box-shadow: var(--shadow-soft);
    padding: 14px;
    display: grid;
    gap: 10px;
}

.reviews-widget__title {
    margin: 0;
    font-size: 1rem;
    color: var(--text-1);
}

.reviews-widget__actions {
    display: grid;
    gap: 8px;
}

.reviews-widget__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-1);
    background: #fff;
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.reviews-widget__link:hover {
    color: var(--text-1);
    text-decoration: none;
    transform: translateY(-1px);
}

.reviews-widget__link--google {
    border-color: #d2e3fc;
    background: #eef4ff;
    color: #1a73e8;
    box-shadow: 0 8px 18px rgba(26, 115, 232, 0.12);
}

.reviews-widget__link--google:hover {
    border-color: #aecbfa;
    background: #e6efff;
}

.reviews-widget__link--trustpilot {
    border-color: #b7e9d6;
    background: #ecfaf4;
    color: #067a55;
    box-shadow: 0 8px 18px rgba(6, 122, 85, 0.12);
}

.reviews-widget__link--trustpilot:hover {
    border-color: #9eddc8;
    background: #e2f7ee;
}

.maps-rating-widget {
    max-width: 300px;
    width: 100%;
}

.maps-rating-widget__link {
    display: block;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid #dadce0;
    background: #fff;
    box-shadow: 0 12px 26px rgba(60, 64, 67, 0.14);
    padding: 16px 18px;
    color: #202124;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.maps-rating-widget__link:hover {
    color: #202124;
    text-decoration: none;
    transform: translateY(-2px);
    border-color: #aecbfa;
    box-shadow: 0 18px 34px rgba(60, 64, 67, 0.18);
}

.maps-rating-widget__badge {
    display: inline-block;
    margin-bottom: 7px;
    border-radius: 999px;
    border: 1px solid #d2e3fc;
    background: #e8f0fe;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a73e8;
}

.maps-rating-widget h3 {
    margin: 0;
    font-size: 1.02rem;
    color: #202124;
}

.maps-rating-widget__score-row {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.maps-rating-widget__google-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid #e8eaed;
    background: #fff;
    box-shadow: 0 2px 6px rgba(60, 64, 67, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.maps-rating-widget__google-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.maps-rating-widget__score {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-weight: 800;
    line-height: 1;
    color: #202124;
}

.maps-rating-widget__stars {
    position: relative;
    display: inline-block;
    line-height: 1;
    font-size: 1.05rem;
    letter-spacing: 0.09em;
}

.maps-rating-widget__stars-base {
    color: #dadce0;
}

.maps-rating-widget__stars-fill {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    color: #fbbc04;
    white-space: nowrap;
}

.maps-rating-widget__reviews,
.maps-rating-widget__unavailable,
.maps-rating-widget__updated {
    margin: 8px 0 0;
    font-size: 0.88rem;
    color: #3c4043;
}

.maps-rating-widget__updated {
    color: #5f6368;
}

.maps-rating-widget__cta {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e8f0fe;
    border: 1px solid #d2e3fc;
    font-size: 0.84rem;
    font-weight: 700;
    color: #1a73e8;
}

.maps-rating-widget__link:hover .maps-rating-widget__cta {
    background: #d2e3fc;
    border-color: #aecbfa;
}

.trustpilot-rating-widget {
    max-width: 300px;
    width: 100%;
}

.trustpilot-rating-widget__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    border-radius: var(--radius-md);
    border: 2px solid #b7e9d6;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0, 42, 34, 0.1);
    padding: 14px 16px;
    min-height: 62px;
    color: #192f2a;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.trustpilot-rating-widget__link:hover {
    color: #192f2a;
    text-decoration: none;
    transform: translateY(-1px);
    border-color: #00b67a;
    background: #f7fffb;
    box-shadow: 0 14px 26px rgba(0, 42, 34, 0.14);
}

.trustpilot-rating-widget__headline {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    color: #1f2e2b;
}

.trustpilot-rating-widget__brand {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    color: #1f2e2b;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.trustpilot-rating-widget__brand-star {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.trustpilot-rating-widget__brand-star svg {
    width: 100%;
    height: 100%;
    display: block;
}

.trustpilot-rating-widget__brand-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.home-categories h2,
.home-placeholder h2,
.service-placeholder h2 {
    margin-bottom: 10px;
}

.legal-page__content {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.legal-page h1 {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.legal-page__content > * {
    min-width: 0;
}

.legal-page__content p,
.legal-page__content ul {
    margin: 0;
    color: var(--text-2);
}

.legal-page__content p,
.legal-page__content li,
.legal-page__content a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.legal-page__content ul {
    padding-left: 20px;
    display: grid;
    gap: 8px;
}

.legal-page__content strong {
    color: var(--text-1);
}

.legal-page__content hr {
    border: 0;
    border-top: 1px dashed var(--border-2);
    margin: 2px 0;
}

.faq-hub .lead {
    margin-top: 10px;
    color: var(--text-2);
}

.faq-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.faq-card {
    border: 1px solid var(--border-1);
    border-radius: var(--radius-md);
    background: var(--bg-2);
    padding: 14px;
    display: grid;
    gap: 10px;
    min-width: 0;
}

.faq-card h2 {
    font-size: 1.05rem;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.faq-card__meta {
    margin: 0;
    color: var(--text-3);
    font-size: 0.9rem;
}

.faq-card__link {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(215, 150, 22, 0.14);
    border: 1px solid rgba(155, 92, 10, 0.25);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
}

.faq-card__link:hover {
    text-decoration: none;
}

.faq-details__back {
    margin: 12px 0 0;
}

.faq-details__content {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.faq-hub h1,
.faq-details h1 {
    max-width: none;
    width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.faq-section-title {
    margin-top: 6px;
    margin-bottom: 2px;
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.faq-item {
    border: 1px solid var(--border-1);
    border-radius: var(--radius-md);
    background: #fff;
    overflow: hidden;
}

.faq-item__summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 700;
}

.faq-item__question {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.faq-item__direct-link {
    display: none;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    min-width: 3.4ch;
    border-radius: 999px;
    border: 1px solid var(--border-1);
    background: var(--bg-1);
    color: var(--gold-700);
    text-decoration: none;
    padding: 4px 10px;
    font-size: 0.8rem;
    line-height: 1;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-item__direct-link:hover {
    text-decoration: none;
    border-color: rgba(155, 92, 10, 0.4);
    background: rgba(215, 150, 22, 0.1);
}

.faq-item__direct-link.is-copied {
    border-color: rgba(37, 211, 102, 0.45);
    background: rgba(37, 211, 102, 0.12);
    color: #146b35;
}

@media (min-width: 980px) {
    .faq-item__direct-link {
        display: inline-flex;
    }
}

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

.faq-item[open] > .faq-item__summary {
    border-bottom: 1px solid var(--border-1);
    background: rgba(215, 150, 22, 0.08);
}

.faq-item__index {
    color: var(--gold-700);
    min-width: 2.2ch;
}

.faq-item__answer {
    padding: 12px 14px;
    display: grid;
    gap: 10px;
    color: var(--text-2);
}

.faq-item__answer p {
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.faq-answer__link {
    font-weight: 600;
}

.faq-answer__messenger {
    display: inline-flex;
    margin-right: 6px;
    vertical-align: middle;
}

.not-found-page__code {
    text-align: center;
    max-width: none;
    font-size: clamp(3.2rem, 11vw, 6.4rem);
    line-height: 1;
}

.not-found-page__title {
    text-align: center;
    font-size: clamp(1.35rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-1);
}

.category-grid {
    margin-top: 12px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.category-column {
    min-width: 0;
    display: grid;
    gap: 14px;
    align-content: start;
}

.category-card {
    border: 1px solid var(--border-1);
    border-radius: var(--radius-md);
    background: var(--bg-2);
    padding: 12px;
}

.category-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.category-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.category-card li a {
    display: block;
    border-radius: 10px;
    border: 1px solid transparent;
    background: var(--bg-1);
    padding: 8px 10px;
    text-decoration: none;
    color: var(--text-2);
    font-size: 0.92rem;
}

.category-card li a:hover {
    border-color: rgba(155, 92, 10, 0.28);
    background: rgba(255, 255, 255, 0.94);
}

.eyebrow {
    margin: 0;
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--bg-2);
    border: 1px solid var(--border-1);
    color: var(--gold-800);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

h1 {
    margin-top: 14px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    max-width: 18ch;
}

.lead {
    margin: 16px 0 0;
    color: var(--text-2);
    max-width: 60ch;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 22px;
    align-items: start;
}

.hero--with-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: flex-start;
}

.hero--with-ratings > .story {
    flex: 0 0 calc((100% - 22px) * 0.55);
}

.hero--with-ratings > .form-card {
    flex: 0 0 calc((100% - 22px) * 0.45);
    max-width: calc((100% - 22px) * 0.45);
    min-width: 360px;
    display: flex;
    flex-direction: column;
}

.hero--with-ratings > .hero-ratings {
    flex: 0 0 calc((100% - 22px) * 0.55);
    max-width: calc((100% - 22px) * 0.55);
    justify-items: stretch;
}

.hero--with-ratings > .hero-ratings .maps-rating-widget,
.hero--with-ratings > .hero-ratings .trustpilot-rating-widget,
.hero--with-ratings > .hero-ratings .reviews-widget {
    width: 100%;
}

.hero--with-ratings > .form-card.form-card--ipoteka .consultant.consultant--top {
    margin: 12px 20px 0;
    border-top: 0;
    padding-top: 0;
}

.hero--with-ratings > .form-card.form-card--ipoteka .lead-form,
.hero--with-ratings > .form-card.form-card--ipoteka .submit-success {
    max-height: max(0px, calc(min(78vh, 980px) - 60px));
}

.page--ipoteka {
    --form-layout-motion: 300ms;
}

.page--ipoteka .shell {
    max-width: 1440px;
}

.page--phv .story h1,
.page--phv .story .eyebrow,
.page--phv .story .lead,
.page--phv .label,
.page--phv .hint {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.page--rsv .hint {
    font-size: 0.92rem;
}

.page--ipoteka .hero-ratings--trust-row.ratings-widgets--columns {
    grid-template-columns: 1fr;
}

.page--ipoteka .hero-ratings--trust-row .ratings-widgets__actions {
    display: none !important;
}

.page--ipoteka .hero-ratings--trust-row .maps-rating-widget,
.page--ipoteka .hero-ratings--trust-row .trustpilot-rating-widget {
    max-width: none;
    width: 100%;
}

.page--ipoteka .hero-ratings--trust-row .reviews-widget {
    max-width: none;
    width: 100%;
    padding: 14px 15px;
}

.page--ipoteka .hero-ratings--trust-row .reviews-widget__title {
    font-size: 0.95rem;
}

.page--ipoteka .hero-ratings--trust-row .maps-rating-widget__link,
.page--ipoteka .hero-ratings--trust-row .trustpilot-rating-widget__link {
    padding: 14px 15px;
}

.page--ipoteka .hero-ratings--trust-row .maps-rating-widget__badge {
    margin-bottom: 6px;
}

.page--ipoteka .hero-ratings--trust-row .maps-rating-widget__score {
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.page--ipoteka .hero-ratings--trust-row .maps-rating-widget__reviews,
.page--ipoteka .hero-ratings--trust-row .maps-rating-widget__updated {
    font-size: 0.82rem;
}

.page--ipoteka .hero-ratings--trust-row .trustpilot-rating-widget__headline {
    font-size: 0.9rem;
}

.page--ipoteka .form-card--ipoteka .consultant-layout {
    margin: 16px 20px 20px;
    border-top: 1px solid var(--border-2);
    padding-top: 14px;
}

.page--ipoteka .form-card--ipoteka .consultant-layout .consultant.consultant--top {
    margin: 0;
    border-top: 0;
    padding-top: 0;
}

.page--ipoteka .form-progress--side {
    position: static;
    top: auto;
    z-index: auto;
    margin: 10px 0 0;
    padding: 0;
    background: transparent;
}

@media (min-width: 1280px) {
    .page--ipoteka .hero-ratings--trust-row.ratings-widgets--columns {
        grid-template-columns: 1fr;
    }

    .page--ipoteka .hero--ipoteka-layout {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 42%) minmax(720px, 58%);
        grid-template-areas:
            "story form"
            "trust form";
        gap: 24px;
        align-items: start;
    }

    .page--ipoteka .hero--ipoteka-layout > .story {
        grid-area: story;
        min-width: 0;
        transition:
            opacity var(--form-layout-motion) ease,
            transform var(--form-layout-motion) ease,
            width var(--form-layout-motion) ease,
            margin var(--form-layout-motion) ease,
            max-height var(--form-layout-motion) ease,
            padding var(--form-layout-motion) ease,
            border-width var(--form-layout-motion) ease,
            border-color var(--form-layout-motion) ease,
            box-shadow var(--form-layout-motion) ease;
    }

    .page--ipoteka .hero--ipoteka-layout > .form-card.form-card--ipoteka {
        grid-area: form;
        min-width: 720px;
        width: 100%;
        max-width: none;
        display: flex;
        flex-direction: column;
        transition:
            width var(--form-layout-motion) ease,
            min-width var(--form-layout-motion) ease,
            transform var(--form-layout-motion) ease;
    }

    .page--ipoteka .hero--ipoteka-layout > .hero-ratings {
        grid-area: trust;
        min-width: 0;
        max-width: none;
        width: 100%;
        transition:
            transform var(--form-layout-motion) ease,
            opacity var(--form-layout-motion) ease;
    }

    .page--ipoteka .hero--ipoteka-layout .cta-row .btn-primary {
        display: none;
    }

    .page--ipoteka .form-card--ipoteka .consultant-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 16px;
        align-items: end;
    }

    .page--ipoteka .form-progress--side {
        margin-top: 0;
        margin-left: auto;
        align-self: end;
        justify-self: end;
    }

    .page--ipoteka .form-progress--side .form-progress__step {
        width: 28px;
        height: 28px;
    }

    .page--ipoteka .form-mode-toggle {
        display: inline-flex;
    }

    .page--ipoteka.is-form-focus .hero--ipoteka-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "form"
            "trust";
        justify-items: center;
    }

    .page--ipoteka.is-form-focus .hero--ipoteka-layout > .story {
        max-height: 0;
        width: 0;
        margin: 0;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
        border-width: 0;
        border-color: transparent;
        box-shadow: none;
        opacity: 0;
        transform: translateX(-42px);
        overflow: hidden;
        pointer-events: none;
    }

    .page--ipoteka.is-form-focus .hero--ipoteka-layout > .form-card.form-card--ipoteka {
        width: min(960px, calc(100% - 48px));
        min-width: 0;
        margin-inline: auto;
        position: static;
    }

    .page--ipoteka.is-form-focus .hero--ipoteka-layout > .form-card.form-card--ipoteka .lead-form,
    .page--ipoteka.is-form-focus .hero--ipoteka-layout > .form-card.form-card--ipoteka .submit-success {
        max-height: none;
        overflow: visible;
    }

    .page--ipoteka.is-form-focus .form-head {
        padding-bottom: 12px;
    }

    .page--ipoteka.is-form-focus .form-head__legal {
        margin-top: 6px;
        font-size: 0.8rem;
        padding: 6px 10px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.84);
        border: 1px solid rgba(30, 26, 24, 0.08);
    }

    .page--ipoteka.is-form-focus .hero--ipoteka-layout > .hero-ratings {
        width: min(960px, calc(100% - 48px));
        margin-inline: auto;
        transform: translateY(0);
    }
}

.page--sos {
    --form-layout-motion: 300ms;
}

.page--sos .shell {
    max-width: 1440px;
}

.page--sos .hero-ratings--trust-row.ratings-widgets--columns {
    grid-template-columns: 1fr;
}

.page--sos .hero-ratings--trust-row .ratings-widgets__actions {
    display: none !important;
}

.page--sos .hero-ratings--trust-row .maps-rating-widget,
.page--sos .hero-ratings--trust-row .trustpilot-rating-widget {
    max-width: none;
    width: 100%;
}

.page--sos .hero-ratings--trust-row .reviews-widget {
    max-width: none;
    width: 100%;
    padding: 14px 15px;
}

.page--sos .hero-ratings--trust-row .reviews-widget__title {
    font-size: 0.95rem;
}

.page--sos .hero-ratings--trust-row .maps-rating-widget__link,
.page--sos .hero-ratings--trust-row .trustpilot-rating-widget__link {
    padding: 14px 15px;
}

.page--sos .hero-ratings--trust-row .maps-rating-widget__badge {
    margin-bottom: 6px;
}

.page--sos .hero-ratings--trust-row .maps-rating-widget__score {
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.page--sos .hero-ratings--trust-row .maps-rating-widget__reviews,
.page--sos .hero-ratings--trust-row .maps-rating-widget__updated {
    font-size: 0.82rem;
}

.page--sos .hero-ratings--trust-row .trustpilot-rating-widget__headline {
    font-size: 0.9rem;
}

@media (min-width: 1280px) {
    .page--sos .hero-ratings--trust-row.ratings-widgets--columns {
        grid-template-columns: 1fr;
    }

    .page--sos .hero--sos-layout {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 42%) minmax(720px, 58%);
        grid-template-areas:
            "story form"
            "trust form";
        gap: 24px;
        align-items: start;
    }

    .page--sos .hero--sos-layout > .story {
        grid-area: story;
        min-width: 0;
        transition:
            opacity var(--form-layout-motion) ease,
            transform var(--form-layout-motion) ease,
            width var(--form-layout-motion) ease,
            margin var(--form-layout-motion) ease,
            max-height var(--form-layout-motion) ease,
            padding var(--form-layout-motion) ease,
            border-width var(--form-layout-motion) ease,
            border-color var(--form-layout-motion) ease,
            box-shadow var(--form-layout-motion) ease;
    }

    .page--sos .hero--sos-layout > .form-card.form-card--sos {
        grid-area: form;
        min-width: 720px;
        width: 100%;
        max-width: none;
        display: flex;
        flex-direction: column;
        transition:
            width var(--form-layout-motion) ease,
            min-width var(--form-layout-motion) ease,
            transform var(--form-layout-motion) ease;
    }

    .page--sos .hero--sos-layout > .hero-ratings {
        grid-area: trust;
        min-width: 0;
        max-width: none;
        width: 100%;
        transition:
            transform var(--form-layout-motion) ease,
            opacity var(--form-layout-motion) ease;
    }

    .page--sos .hero--sos-layout .cta-row .btn-primary {
        display: none;
    }

    .page--sos .form-mode-toggle {
        display: inline-flex;
    }

    .page--sos.is-form-focus .hero--sos-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "form"
            "trust";
        justify-items: center;
    }

    .page--sos.is-form-focus .hero--sos-layout > .story {
        max-height: 0;
        width: 0;
        margin: 0;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
        border-width: 0;
        border-color: transparent;
        box-shadow: none;
        opacity: 0;
        transform: translateX(-42px);
        overflow: hidden;
        pointer-events: none;
    }

    .page--sos.is-form-focus .hero--sos-layout > .form-card.form-card--sos {
        width: min(960px, calc(100% - 48px));
        min-width: 0;
        margin-inline: auto;
        position: static;
    }

    .page--sos.is-form-focus .hero--sos-layout > .form-card.form-card--sos .lead-form,
    .page--sos.is-form-focus .hero--sos-layout > .form-card.form-card--sos .submit-success {
        max-height: none;
        overflow: visible;
    }

    .page--sos.is-form-focus .hero--sos-layout > .hero-ratings {
        width: min(960px, calc(100% - 48px));
        margin-inline: auto;
        transform: translateY(0);
    }
}

.hero--single {
    grid-template-columns: minmax(0, 1fr);
}

.page--biometrie-risiken .form-card.form-card--ipoteka {
    position: static;
}

.page--biometrie-risiken .lead-form,
.page--biometrie-risiken .submit-success {
    max-height: none;
    overflow: visible;
}

@media (min-width: 1280px) {
    .page--biometrie-risiken .hero--single {
        justify-items: center;
    }

    .page--biometrie-risiken .hero--single > .form-card.form-card--ipoteka {
        width: min(960px, calc(100% - 48px));
        min-width: 0;
        margin-inline: auto;
        position: static;
    }
}

.cta-row {
    margin-top: 22px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    border-radius: 12px;
    border: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn-primary,
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: var(--gold-500);
    color: var(--text-1);
    font-weight: 700;
    border: 1px solid rgba(155, 92, 10, 0.36);
    box-shadow: 0 8px 20px rgba(155, 92, 10, 0.18);
}

.btn-primary:hover,
.btn-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--gold-400);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid var(--gold-700);
    background: transparent;
    color: var(--gold-800);
    font-weight: 700;
}

.btn-secondary:hover {
    background: rgba(215, 150, 22, 0.1);
}

.meta {
    color: var(--text-3);
    font-size: 0.92rem;
}

.benefits {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.benefits li {
    position: relative;
    padding-left: 22px;
    color: var(--text-2);
}

.benefits li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--gold-700), var(--gold-500));
    position: absolute;
    left: 0;
    top: 8px;
}

.steps {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px dashed var(--border-2);
}

.steps h2 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.steps ol {
    margin: 0;
    padding-left: 20px;
    color: var(--text-2);
    display: grid;
    gap: 9px;
}

.support-chat {
    margin-top: 28px;
    max-width: 60ch;
    padding-top: 22px;
    border-top: 1px dashed var(--border-2);
}

.support-chat__text {
    margin: 0;
    color: var(--text-2);
}

.support-chat__actions {
    margin-top: 14px;
    justify-content: flex-start;
}

.support-chat__link {
    gap: 8px;
}

.support-chat__link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.support-chat__link-icon svg {
    display: block;
}

.form-card {
    position: sticky;
    top: 20px;
    padding: 0;
    overflow: hidden;
}

.form-card--embed {
    position: static;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

.form-head {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border-2);
    background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
}

.form-head h2 {
    font-size: 1.5rem;
    margin: 0;
}

.form-head__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.form-head__legal {
    margin: 8px 0 0;
}

.form-head p {
    color: var(--text-2);
    font-size: 0.9rem;
}

.form-mode-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

.form-mode-toggle__icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(215, 150, 22, 0.15);
    border: 1px solid rgba(155, 92, 10, 0.28);
}

.form-mode-toggle__icon svg {
    width: 12px;
    height: 12px;
    display: block;
}

.form-mode-toggle__icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lead-form {
    padding: 16px 20px 20px;
    max-height: min(78vh, 980px);
    overflow: auto;
}

.form-progress {
    position: sticky;
    top: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -2px 0 14px;
    padding: 8px 0 10px;
    background: linear-gradient(180deg, rgba(250, 247, 242, 0.98) 0%, rgba(250, 247, 242, 0.78) 72%, rgba(250, 247, 242, 0) 100%);
}

.form-progress__step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border-1);
    background: var(--bg-1);
    color: var(--text-3);
    font-size: 0.86rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(30, 26, 24, 0.08);
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.form-progress__step.is-active {
    color: var(--text-1);
    border-color: rgba(155, 92, 10, 0.45);
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
}

.form-progress__index {
    line-height: 1;
}

.lead-form--embed {
    max-height: none;
    overflow: visible;
    width: 100%;
}

.lead-form::-webkit-scrollbar {
    width: 10px;
}

.lead-form::-webkit-scrollbar-track {
    background: var(--bg-2);
}

.lead-form::-webkit-scrollbar-thumb {
    background: rgba(122, 107, 99, 0.5);
    border-radius: 999px;
}

.lead-form::-webkit-scrollbar-thumb:hover {
    background: rgba(155, 92, 10, 0.45);
}

.form-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(250, 247, 242, 0.78);
    backdrop-filter: blur(2px);
}

.form-card__spinner {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 4px solid rgba(155, 92, 10, 0.22);
    border-top-color: var(--gold-700);
    animation: form-card-spin 0.8s linear infinite;
}

.form-card.is-loading .lead-form,
.form-card.is-loading .submit-success {
    pointer-events: none;
}

@keyframes form-card-spin {
    to {
        transform: rotate(360deg);
    }
}

.group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-2);
}

.group:last-of-type {
    border-bottom: 0;
    padding-bottom: 10px;
}

.group h3 {
    font-size: 1.16rem;
    margin-bottom: 14px;
}

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

.label {
    display: inline-block;
    font-weight: 700;
    margin-bottom: 7px;
    color: var(--text-1);
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="file"],
select,
textarea {
    width: 100%;
    border: 1px solid var(--border-1);
    border-radius: 11px;
    padding: 10px 12px;
    color: var(--text-1);
    background: var(--bg-1);
    font: inherit;
    transition: border-color 130ms ease, box-shadow 130ms ease, background-color 130ms ease;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-3);
}

textarea {
    resize: vertical;
    min-height: 88px;
    max-height: 200px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold-700);
    box-shadow: 0 0 0 4px rgba(255, 216, 100, 0.45);
}

input:disabled,
select:disabled,
textarea:disabled {
    color: var(--text-disabled);
    background: var(--bg-2);
    border-color: var(--border-1);
    cursor: not-allowed;
}

input[type="radio"],
input[type="checkbox"] {
    accent-color: var(--gold-700);
}

.choices {
    display: grid;
    gap: 8px;
}

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

.choice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border: 1px solid var(--border-1);
    border-radius: 10px;
    padding: 8px 10px;
    background: var(--bg-2);
    cursor: pointer;
    font-size: 0.93rem;
    color: var(--text-2);
    transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.choice:hover {
    border-color: var(--gold-700);
    background: rgba(215, 150, 22, 0.1);
}

.choice:has(input:checked) {
    border-color: var(--gold-700);
    background: rgba(215, 150, 22, 0.1);
    box-shadow: inset 0 0 0 1px rgba(155, 92, 10, 0.22);
}

.choice input {
    margin-top: 3px;
}

.hint {
    display: block;
    margin-top: 6px;
    color: var(--text-3);
    font-size: 0.82rem;
}

.field--radius input[type="range"] {
    display: block;
    width: 100%;
    margin: 2px 0 0;
    accent-color: var(--gold-700);
}

.field--radius .hint {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.field--radius-value {
    display: inline-block;
    font-size: 1.38rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-1);
    letter-spacing: 0.01em;
}

.file-input-native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.file-upload-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-file-upload {
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(155, 92, 10, 0.4);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
    color: var(--text-1);
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(155, 92, 10, 0.2);
}

.btn-file-upload:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.btn-file-clear {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-1);
    background: var(--bg-1);
    color: var(--text-2);
    font-weight: 600;
}

.btn-file-clear:hover {
    border-color: var(--gold-700);
    background: rgba(215, 150, 22, 0.1);
}

.file-upload-selected {
    margin-top: 10px;
    color: var(--text-2);
    font-size: 0.86rem;
    font-weight: 600;
}

.file-upload-selected img {
    display: block;
    max-width: 100%;
    height: auto;
}

.file-upload-help {
    margin-top: 12px;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--bg-2);
}

.file-upload-help .hint {
    margin-top: 0;
}

.file-upload-help .hint + .hint {
    margin-top: 6px;
}

.field:has(.file-upload-help) {
    margin-bottom: 18px;
}

.error {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    color: var(--text-2);
    font-size: 0.82rem;
}

.error::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--danger-500);
    flex-shrink: 0;
}

.field:has(.error) input[type="text"],
.field:has(.error) input[type="email"],
.field:has(.error) input[type="date"],
.field:has(.error) input[type="file"],
.field:has(.error) select,
.field:has(.error) textarea {
    border-color: var(--danger-500);
    box-shadow: 0 0 0 3px rgba(225, 16, 2, 0.16);
}

.person-block {
    margin-top: 16px;
    border: 1px solid var(--border-1);
    border-radius: 14px;
    padding: 12px;
    background: var(--bg-2);
}

.person-block h4 {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

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

@media (min-width: 761px) {
    .page--phv .person-grid .field {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto auto;
        align-content: start;
    }

    .page--phv .person-grid .field > .label {
        grid-row: 1;
        margin-bottom: 0;
    }

    .page--phv .person-grid .field > .hint {
        grid-row: 2;
        margin-top: 6px;
        min-height: 2.2em;
    }

    .page--phv .person-grid .field:not(:has(> .hint))::before {
        content: "";
        grid-row: 2;
        display: block;
        min-height: 2.2em;
    }

    .page--phv .person-grid .field > input[type="text"],
    .page--phv .person-grid .field > input[type="email"],
    .page--phv .person-grid .field > input[type="date"],
    .page--phv .person-grid .field > input[type="file"],
    .page--phv .person-grid .field > select,
    .page--phv .person-grid .field > textarea {
        grid-row: 3;
        margin-top: 7px;
    }

    .page--phv .person-grid .field > .error {
        grid-row: 4;
    }
}

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

@media (min-width: 761px) {
    .page--khzv .split--messenger > .field {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .page--khzv .split--messenger > .field > .label {
        grid-row: 1;
    }

    .page--khzv .split--messenger > .field > .hint {
        grid-row: 2;
        min-height: 2.2em;
        display: block;
    }

    .page--khzv .split--messenger > .field:not(:has(> .hint))::before {
        content: "";
        grid-row: 2;
        display: block;
        min-height: 2.2em;
    }

    .page--khzv .split--messenger > .field > input[type="text"],
    .page--khzv .split--messenger > .field > input[type="email"],
    .page--khzv .split--messenger > .field > input[type="date"],
    .page--khzv .split--messenger > .field > input[type="file"],
    .page--khzv .split--messenger > .field > select,
    .page--khzv .split--messenger > .field > textarea {
        grid-row: 3;
        margin-top: 7px;
    }

    .page--khzv .split--messenger > .field > .error {
        grid-row: 4;
    }
}

.page--phv .split--date-pair > .field {
    display: flex;
    flex-direction: column;
}

@media (min-width: 761px) {
    .page--phv .split--date-pair > .field > .label {
        min-height: 2.4em;
        display: inline-flex;
        align-items: flex-end;
    }
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0;
    font-size: 0.93rem;
    color: var(--text-2);
}

.checkbox input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
}

.page--zzv .group > .checkbox + .checkbox,
.page--zzv .group > .checkbox + .error + .checkbox {
    margin-top: 10px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.warning {
    margin: 10px 0 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--danger-500);
    border-left-width: 3px;
    background: rgba(225, 16, 2, 0.08);
    color: var(--text-2);
}

.warning p {
    margin: 0 0 7px;
    font-weight: 700;
    color: var(--text-1);
}

.warning ul {
    margin: 0;
    padding-left: 18px;
}

.kfz-note-card {
    margin: 10px 0 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-1);
    background: rgba(240, 181, 42, 0.08);
}

.kfz-note-card p {
    margin: 0 0 8px;
}

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

.kfz-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 10px 0 14px;
}

.kfz-media-card {
    border-radius: 12px;
    border: 1px solid var(--border-1);
    background: var(--bg-1);
    overflow: hidden;
}

.kfz-media-card img {
    display: block;
    width: 100%;
    height: auto;
}

.kfz-coverage-table-wrap {
    margin-top: 8px;
    border: 1px solid var(--border-1);
    border-radius: 12px;
    overflow-x: auto;
    background: var(--bg-1);
}

.kfz-coverage-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.kfz-coverage-table th,
.kfz-coverage-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-1);
    text-align: left;
    vertical-align: top;
    font-size: 0.92rem;
}

.kfz-coverage-table th {
    font-weight: 700;
    color: var(--text-1);
    background: rgba(240, 181, 42, 0.08);
}

.kfz-coverage-table tbody tr:nth-child(even) td {
    background: rgba(240, 181, 42, 0.04);
}

.kfz-coverage-table tbody tr:last-child td {
    border-bottom: none;
}

.pet-builder-actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pet-builder-actions__hint {
    margin: 0;
}

.pet-empty-state {
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px dashed var(--border-1);
    border-radius: 12px;
    background: rgba(240, 181, 42, 0.04);
    color: var(--text-2);
    font-size: 0.93rem;
}

.pets-table-wrap {
    margin-top: 14px;
    border: 1px solid var(--border-1);
    border-radius: 12px;
    overflow-x: auto;
    background: var(--bg-1);
}

.pets-table {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
}

.pets-table th,
.pets-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-1);
    text-align: left;
    vertical-align: top;
    font-size: 0.92rem;
}

.pets-table th {
    font-weight: 700;
    color: var(--text-1);
    background: rgba(240, 181, 42, 0.08);
}

.pets-table tbody tr:nth-child(even) td {
    background: rgba(240, 181, 42, 0.04);
}

.pets-table tbody tr:last-child td {
    border-bottom: none;
}

.pets-table__actions {
    width: 1%;
    white-space: nowrap;
}

.btn-pet-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid rgba(185, 28, 28, 0.2);
    border-radius: 10px;
    background: rgba(254, 242, 242, 0.95);
    color: #b91c1c;
    font: inherit;
    font-weight: 700;
}

.btn-pet-remove:hover {
    background: rgba(254, 226, 226, 0.98);
    transform: translateY(-1px);
}

.btn-submit {
    width: 100%;
    padding: 13px 16px;
    font-size: 1rem;
}

.btn-submit:disabled {
    background: var(--bg-2);
    border: 1px solid var(--border-1);
    color: var(--text-disabled);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.status {
    margin: 10px 0 0;
    font-size: 0.9rem;
}

.status.ok {
    color: var(--gold-700);
}

.status.error {
    color: var(--danger-500);
}

.submit-success {
    padding: 22px 20px 20px;
    display: grid;
    gap: 14px;
}

.submit-success__badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    justify-self: center;
    align-items: center;
    justify-content: center;
    background: rgba(37, 211, 102, 0.14);
    color: #15803d;
    font-size: 1.3rem;
    font-weight: 700;
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.submit-success__title {
    font-size: 1.45rem;
    text-align: center;
}

.submit-success__lead {
    margin: 0;
    color: var(--text-2);
}

.submit-success__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.submit-success__link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 12px 14px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 160ms ease, filter 160ms ease;
}

.submit-success__link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.submit-success__link-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
}

.submit-success__link-label {
    line-height: 1;
}

.submit-success__link:hover {
    transform: translateY(-1px);
    filter: brightness(0.95);
    color: #fff;
    text-decoration: none;
}

.submit-success__link--telegram {
    background: linear-gradient(135deg, #229ed9, var(--tg-500));
    border-color: rgba(34, 158, 217, 0.45);
}

.submit-success__link--whatsapp {
    background: linear-gradient(135deg, #1fa855, var(--wa-500));
    border-color: rgba(37, 211, 102, 0.45);
}

.submit-success__deal {
    margin: 0;
    font-size: 0.96rem;
    color: var(--text-2);
}

.submit-success__deal strong {
    color: var(--text-1);
    font-size: 1rem;
}

.submit-success__file-status {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.93rem;
    font-weight: 600;
}

.submit-success__file-status-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid transparent;
    line-height: 1;
}

.submit-success__file-status.is-success {
    color: #166534;
}

.submit-success__file-status.is-success .submit-success__file-status-icon {
    color: #166534;
    background: rgba(22, 101, 52, 0.12);
    border-color: rgba(22, 101, 52, 0.24);
}

.submit-success__file-status.is-error {
    color: #9f1239;
}

.submit-success__file-status.is-error .submit-success__file-status-icon {
    color: #9f1239;
    background: rgba(159, 18, 57, 0.12);
    border-color: rgba(159, 18, 57, 0.24);
}

.submit-success__notes {
    margin: 0;
    padding-left: 18px;
    color: var(--text-2);
    display: grid;
    gap: 6px;
    font-size: 0.92rem;
}

.submit-success__notes a {
    font-weight: 700;
}

.submit-success__again {
    width: 100%;
}

.submit-success__signoff {
    margin: 0;
    color: var(--text-3);
    font-size: 0.9rem;
}

.consultant {
    margin: 16px 20px 20px;
    border-top: 1px solid var(--border-2);
    padding-top: 14px;
    display: flex;
    gap: 12px;
}

.avatar {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--border-1);
    flex-shrink: 0;
    position: relative;
}

.avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.avatar::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--danger-500);
    border: 1px solid var(--bg-1);
    right: 4px;
    top: 4px;
}

.consultant-copy strong {
    display: block;
}

.consultant-copy span {
    display: block;
    color: var(--text-3);
    font-size: 0.88rem;
}

.consultant-copy p {
    margin: 8px 0 0;
    font-size: 0.9rem;
    color: var(--text-2);
}

.site-footer {
    background: var(--bg-dark);
    color: #fff;
    margin-top: 36px;
}

.footer-middle {
    padding: 36px 16px;
}

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

.footer-col h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.2rem;
}

.footer-logo {
    width: 36px;
    height: 36px;
    display: block;
    border-radius: 50%;
}

.footer-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.85);
}

.footer-socials {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 127, 80, 0.55);
    color: #ff7f50;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

.footer-socials a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}

.footer-socials a:hover {
    background: #e30613;
    border-color: #e30613;
    color: #fff;
}

.footer-support {
    margin-top: 14px;
}

.footer-support__title {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-support__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-support__link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 160ms ease, filter 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.footer-support__link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}

.footer-support__link:hover {
    transform: translateY(-1px);
    filter: none;
}

.footer-support__link--telegram {
    border: 1px solid rgba(34, 158, 217, 0.55);
    color: #229ed9;
    background: rgba(34, 158, 217, 0.12);
}

.footer-support__link--telegram:hover {
    border-color: #229ed9;
    background: #229ed9;
    color: #fff;
}

.footer-support__link--whatsapp {
    border: 1px solid rgba(37, 211, 102, 0.55);
    color: #25d366;
    background: rgba(37, 211, 102, 0.12);
}

.footer-support__link--whatsapp:hover {
    border-color: #25d366;
    background: #25d366;
    color: #fff;
}

.footer-col--links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-col--links a,
.footer-col--contacts a {
    color: #fff;
}

.footer-col--links a:hover,
.footer-col--contacts a:hover {
    color: #e30613;
}

.footer-col--contacts {
    font-style: normal;
}

.footer-locale {
    margin-top: 16px;
    display: grid;
    gap: 8px;
}

.footer-locale p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

.footer-locale .locale-switch {
    justify-self: center;
    width: max-content;
}

.cookie-open {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    font: inherit;
    cursor: pointer;
}

.cookie-open:hover {
    border-color: #e30613;
    color: #e30613;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 100;
    background: var(--bg-1);
    border: 1px solid var(--border-1);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

[data-cookie-banner][hidden] {
    display: none !important;
}

.cookie-banner__body h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.cookie-banner__body p {
    margin: 0;
    color: var(--text-2);
}

.cookie-banner__meta {
    margin-top: 8px;
    font-size: 0.9rem;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.reveal {
    animation: rise 0.55s ease both;
}

.story.reveal,
.home-placeholder.reveal {
    animation-delay: 40ms;
}

.form-card.reveal,
.home-categories.reveal {
    animation-delay: 120ms;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page--ipoteka .hero--ipoteka-layout > .story,
    .page--ipoteka .hero--ipoteka-layout > .form-card.form-card--ipoteka,
    .page--ipoteka .hero--ipoteka-layout > .hero-ratings,
    .page--sos .hero--sos-layout > .story,
    .page--sos .hero--sos-layout > .form-card.form-card--sos,
    .page--sos .hero--sos-layout > .hero-ratings,
    .page--ipoteka .form-mode-toggle,
    .page--sos .form-mode-toggle,
    .form-progress__step {
        transition: none !important;
    }

    .page--ipoteka .reveal,
    .page--sos .reveal {
        animation: none !important;
    }
}

@media (max-width: 1120px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero--with-ratings > .story,
    .hero--with-ratings > .form-card,
    .hero--with-ratings > .hero-ratings {
        flex: 1 1 100%;
        max-width: none;
        min-width: 0;
    }

    .hero--with-ratings > .story {
        order: 1;
    }

    .hero--with-ratings > .form-card {
        order: 2;
        display: block;
    }

    .hero--with-ratings > .hero-ratings {
        order: 3;
    }

    .form-card {
        position: static;
    }

    .lead-form {
        max-height: none;
    }

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

    .site-header__row {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
    }

    .home-placeholder__layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 300px);
    }
}

@media (max-width: 760px) {
    .page {
        padding: 18px 12px 24px;
    }

    .site-header__row {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        row-gap: 10px;
    }

    .brand-link {
        order: 1;
    }

    .locale-switch--header {
        order: 2;
        margin-left: auto;
    }

    .header-sos-link {
        order: 3;
        align-self: stretch;
        justify-content: center;
        width: 100%;
    }

    .main-nav {
        order: 4;
    }

    .main-nav__list {
        justify-content: flex-start;
    }

    .main-nav__dropdown ul {
        position: static;
        min-width: 0;
        margin-top: 6px;
    }

    .choices-columns,
    .split,
    .person-grid,
    .category-grid,
    .footer-grid,
    .cookie-banner {
        grid-template-columns: 1fr;
    }

    .story,
    .home-hero,
    .home-placeholder,
    .home-categories,
    .service-placeholder {
        padding: 20px 16px;
    }

    .ratings-widgets--columns {
        grid-template-columns: 1fr;
    }

    .home-placeholder__layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .reviews-widget {
        max-width: none;
    }

    .reviews-widget__link {
        padding: 9px 10px;
        font-size: 0.88rem;
    }

    .maps-rating-widget__link {
        padding: 14px 14px;
    }

    .maps-rating-widget__stars {
        letter-spacing: 0.06em;
    }

    .trustpilot-rating-widget__link {
        padding: 14px 14px;
    }

    .trustpilot-rating-widget__headline {
        font-size: 0.9rem;
    }

    .trustpilot-rating-widget__brand {
        font-size: 0.95rem;
    }

    .home-hero {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-head,
    .lead-form {
        padding-left: 16px;
        padding-right: 16px;
    }

    .consultant {
        margin-left: 16px;
        margin-right: 16px;
    }

    .page--ipoteka .form-card--ipoteka .consultant-layout {
        margin-left: 16px;
        margin-right: 16px;
    }

    .kfz-media-grid {
        grid-template-columns: 1fr;
    }

    .kfz-coverage-table th,
    .kfz-coverage-table td,
    .pets-table th,
    .pets-table td {
        font-size: 0.86rem;
        padding: 9px 10px;
    }

    .pet-builder-actions {
        align-items: stretch;
    }

    .pet-builder-actions .btn {
        width: 100%;
    }

    .cookie-banner {
        display: block;
    }

    .cookie-banner__actions {
        margin-top: 12px;
        flex-wrap: wrap;
    }
}
