:root {
    --hf-contact-bg: #f5f6f7;
    --hf-contact-surface: #ffffff;
    --hf-contact-text: #17191c;
    --hf-contact-muted: #60656d;
    --hf-contact-border: #dfe2e6;
    --hf-contact-accent: #be1e2d;
    --hf-contact-accent-dark: #941522;
    --hf-contact-focus: #005fcc;
    --hf-contact-success: #087a55;
    --hf-contact-error: #b42318;
    --hf-contact-radius: 18px;
    --hf-contact-shadow: 0 16px 45px rgba(16, 24, 40, 0.08);
}

.hf-contact-page,
.hf-contact-page * {
    box-sizing: border-box;
}

.hf-contact-page {
    color: var(--hf-contact-text);
    background: var(--hf-contact-bg);
}

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

.hf-contact-hero {
    padding: clamp(64px, 9vw, 120px) 0 clamp(54px, 7vw, 90px);
    color: #fff;
    background:
        radial-gradient(circle at 90% 15%, rgba(255, 255, 255, 0.14), transparent 28%),
        linear-gradient(135deg, #16181b 0%, #292d31 100%);
}

.hf-contact-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
    gap: clamp(36px, 7vw, 90px);
    align-items: end;
}

.hf-contact-eyebrow {
    margin: 0 0 10px;
    color: var(--hf-contact-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hf-contact-hero .hf-contact-eyebrow {
    color: rgba(225,225,225, 0.5);
}

.hf-contact-hero h1,
.hf-contact-page h2,
.hf-contact-page h3,
.hf-contact-form legend {
    text-wrap: balance;
}

.hf-contact-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    line-height: 0.98;
}

.hf-contact-lead {
    max-width: 700px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
    line-height: 1.65;
}

.hf-contact-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hf-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.hf-button--primary {
    color: #fff;
    background: var(--hf-contact-accent);
    box-shadow: 0 8px 22px rgba(0, 0, 0 0.5);
}

.hf-button--primary:hover {
    color: #fff;
    background: var(--hf-contact-accent-dark);
}

.hf-button--secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.hf-button--secondary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.14);
}

.hf-button:focus-visible,
.hf-contact-page a:focus-visible,
.hf-contact-form input:focus-visible,
.hf-contact-form select:focus-visible,
.hf-contact-form textarea:focus-visible {
    outline: 3px solid var(--hf-contact-focus);
    outline-offset: 3px;
}

.hf-contact-hero__hint {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--hf-contact-radius);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.hf-contact-hero__hint > i {
    margin-top: 3px;
    font-size: 1.3rem;
}

.hf-contact-hero__hint strong,
.hf-contact-hero__hint span {
    display: block;
}

.hf-contact-hero__hint span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
}

.hf-contact-quick,
.hf-contact-request {
    padding: clamp(64px, 8vw, 105px) 0;
}

.hf-section-heading {
    max-width: 720px;
    margin-bottom: 32px;
}

.hf-section-heading h2,
.hf-contact-request__intro h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3.3rem);
    line-height: 1.08;
}

.hf-contact-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.hf-contact-card {
    display: flex;
    min-width: 0;
    gap: 16px;
    padding: 26px;
    border: 1px solid var(--hf-contact-border);
    border-radius: var(--hf-contact-radius);
    background: var(--hf-contact-surface);
    box-shadow: 0 7px 24px rgba(16, 24, 40, 0.04);
}

.hf-contact-card__icon {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--hf-contact-accent);
    background: rgba(190, 30, 45, 0.08);
}

.hf-contact-card h3 {
    margin: 0 0 9px;
    font-size: 1.05rem;
}

.hf-contact-card p,
.hf-contact-card address {
    margin: 8px 0 0;
    color: var(--hf-contact-muted);
    font-size: 0.94rem;
    font-style: normal;
    line-height: 1.55;
}

.hf-contact-card__main-link {
    display: inline-block;
    max-width: 100%;
    color: var(--hf-contact-text);
    font-weight: 800;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.hf-contact-card__main-link:hover,
.hf-contact-card__text-link:hover {
    color: var(--hf-contact-accent);
}

.hf-contact-card__text-link {
    display: inline-flex;
    margin-top: 12px;
    color: var(--hf-contact-accent);
    font-size: 0.94rem;
    font-weight: 750;
    text-decoration: none;
}

.hf-opening-hours {
    display: grid;
    gap: 7px;
    margin: 0;
    font-size: 0.9rem;
}

.hf-opening-hours div {
    display: grid;
    grid-template-columns: minmax(72px, auto) 1fr;
    gap: 10px;
}

.hf-opening-hours dt {
    color: var(--hf-contact-muted);
}

.hf-opening-hours dd {
    margin: 0;
    font-weight: 700;
}

.hf-contact-request {
    background: #eceff1;
}

.hf-contact-request__layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(36px, 7vw, 86px);
    align-items: start;
}

.hf-contact-request__intro {
    position: sticky;
    top: 120px;
}

.hf-contact-request__intro > p:not(.hf-contact-eyebrow) {
    margin: 20px 0 0;
    color: var(--hf-contact-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hf-contact-benefits {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.hf-contact-benefits li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: start;
    line-height: 1.5;
}

.hf-contact-benefits i {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--hf-contact-success);
    font-size: 0.72rem;
}

.hf-contact-form-shell {
    min-width: 0;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--hf-contact-border);
    border-radius: 24px;
    background: var(--hf-contact-surface);
    box-shadow: var(--hf-contact-shadow);
}

.hf-contact-form {
    display: grid;
    gap: 30px;
}

.hf-form-section {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.hf-form-section + .hf-form-section {
    padding-top: 30px;
    border-top: 1px solid var(--hf-contact-border);
}

.hf-contact-form legend {
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--hf-contact-text);
    font-size: 1.28rem;
    font-weight: 850;
    line-height: 1.25;
}

.hf-field-help {
    margin: 7px 0 18px;
    color: var(--hf-contact-muted);
    line-height: 1.55;
}

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

.hf-topic-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.hf-topic-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.hf-topic-option__content {
    display: grid;
    min-height: 108px;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    align-items: start;
    padding: 19px;
    border: 2px solid var(--hf-contact-border);
    border-radius: 15px;
    background: #fff;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hf-topic-option:hover .hf-topic-option__content {
    border-color: #b7bbc1;
    transform: translateY(-1px);
}

.hf-topic-option input:checked + .hf-topic-option__content {
    border-color: var(--hf-contact-accent);
    background: rgba(190, 30, 45, 0.045);
    box-shadow: 0 0 0 3px rgba(190, 30, 45, 0.1);
}

.hf-topic-option input:focus-visible + .hf-topic-option__content {
    outline: 3px solid var(--hf-contact-focus);
    outline-offset: 3px;
}

.hf-topic-option__content > i {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--hf-contact-accent);
    background: rgba(190, 30, 45, 0.08);
}

.hf-topic-option__content strong,
.hf-topic-option__content small {
    display: block;
}

.hf-topic-option__content strong {
    margin-top: 1px;
    font-size: 1rem;
}

.hf-topic-option__content small {
    margin-top: 5px;
    color: var(--hf-contact-muted);
    font-size: 0.84rem;
    line-height: 1.4;
}

.hf-topic-details {
    padding: 22px;
    border: 1px solid #ead0d3;
    border-radius: 15px;
    background: #fff8f8;
}

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

.hf-conditional-fields:not([hidden]) {
    margin-top: 18px;
}

.hf-field {
    min-width: 0;
}

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

.hf-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 750;
    line-height: 1.35;
}

.hf-contact-form input[type="text"],
.hf-contact-form input[type="email"],
.hf-contact-form input[type="tel"],
.hf-contact-form input[type="number"],
.hf-contact-form select,
.hf-contact-form textarea {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #bec3ca;
    border-radius: 10px;
    color: var(--hf-contact-text);
    background: #fff;
    font: inherit;
    line-height: 1.4;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.hf-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.hf-contact-form input:hover,
.hf-contact-form select:hover,
.hf-contact-form textarea:hover {
    border-color: #8f959d;
}

.hf-contact-form input:focus,
.hf-contact-form select:focus,
.hf-contact-form textarea:focus {
    border-color: var(--hf-contact-focus);
    box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.12);
}

.hf-contact-form input::placeholder,
.hf-contact-form textarea::placeholder {
    color: #858b93;
    opacity: 1;
}

.hf-form-footer {
    display: grid;
    gap: 18px;
    padding-top: 28px;
    border-top: 1px solid var(--hf-contact-border);
}

.hf-consent {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 11px;
    align-items: start;
    color: var(--hf-contact-muted);
    font-size: 0.91rem;
    line-height: 1.55;
    cursor: pointer;
}

.hf-consent input {
    width: 19px;
    height: 19px;
    margin: 2px 0 0;
    accent-color: var(--hf-contact-accent);
}

.hf-consent a {
    color: var(--hf-contact-text);
    font-weight: 700;
}

.hf-submit {
    justify-self: start;
    min-width: 190px;
}

.hf-submit:disabled {
    cursor: wait;
    opacity: 0.66;
    transform: none;
}

.hf-required-note {
    margin: -6px 0 0;
    color: var(--hf-contact-muted);
    font-size: 0.82rem;
}

.hf-form-status:empty {
    display: none;
}

.hf-form-status {
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 700;
    line-height: 1.5;
}

.hf-form-status--success {
    color: #075f45;
    border: 1px solid #9dd8c5;
    background: #ecfdf5;
}

.hf-form-status--error {
    color: var(--hf-contact-error);
    border: 1px solid #f2b8b5;
    background: #fff1f0;
}

.contact-url-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1050px) {
    .hf-contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hf-contact-request__intro {
        position: static;
        max-width: 760px;
    }
}

@media (max-width: 760px) {
    .hf-contact-container {
        width: min(100% - 28px, 1180px);
    }

    .hf-contact-hero {
        padding-top: 58px;
    }

    .hf-contact-hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hf-contact-hero__hint {
        max-width: 520px;
    }

    .hf-contact-hero__actions,
    .hf-contact-hero__actions .hf-button {
        width: 100%;
    }

    .hf-contact-cards,
    .hf-topic-grid,
    .hf-form-grid {
        grid-template-columns: 1fr;
    }

    .hf-contact-card {
        padding: 22px;
    }

    .hf-contact-form-shell {
        margin-inline: -4px;
        padding: 23px 18px;
        border-radius: 18px;
    }

    .hf-topic-option__content {
        min-height: 0;
    }

    .hf-submit {
        width: 100%;
    }
}

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