.acfc-contact-page {
    --Primary: var(--brand-accent, #c9a565);
    --acfc-contact-ink: var(--brand-ink, #102033);
    --acfc-contact-muted: var(--brand-muted, #66768a);
    --acfc-contact-line: var(--brand-line, #d7e2ee);
    --acfc-contact-surface: var(--brand-surface, #f4f7fb);
    --acfc-contact-sea: var(--brand-secondary, #0d6f97);
    --acfc-contact-deep: var(--brand-deep, #061e33);
    --acfc-contact-gold: var(--brand-accent, #c9a565);
    --acfc-contact-white: var(--brand-white, #ffffff);
    --acfc-contact-gold-soft: var(--acfc-gold-soft, #f2ede5);
    background: var(--acfc-contact-surface);
}

.acfc-contact-hero {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: flex-end;
    background-image: var(--acfc-contact-hero);
    background-position: center;
    background-size: cover;
    color: var(--acfc-contact-white);
    overflow: hidden;
}

.acfc-contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 24, 42, 0.88) 0%, rgba(4, 24, 42, 0.68) 50%, rgba(4, 24, 42, 0.9) 100%),
        linear-gradient(180deg, rgba(4, 24, 42, 0.2) 0%, rgba(4, 24, 42, 0.88) 100%);
}

.acfc-contact-hero .tf-container {
    position: relative;
    z-index: 1;
    padding-top: 136px;
    padding-bottom: 92px;
}

.acfc-contact-hero h1 {
    max-width: 1040px;
    margin: 18px 0 22px;
    color: var(--acfc-contact-white);
    font-size: clamp(56px, 7vw, 108px);
    line-height: 0.96;
    font-weight: 400;
}

.acfc-contact-hero p {
    max-width: 850px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 23px;
    line-height: 1.7;
}

.acfc-contact-section {
    padding: 96px 0;
}

.acfc-contact-layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.acfc-contact-panel,
.acfc-contact-form-card {
    border: 1px solid var(--acfc-contact-line);
    border-radius: 8px;
    background: var(--acfc-contact-white);
    box-shadow: 0 18px 50px rgba(6, 30, 51, 0.07);
}

.acfc-contact-panel {
    padding: 44px;
}

.acfc-contact-panel h2,
.acfc-contact-form-head h2 {
    margin: 18px 0 18px;
    color: var(--acfc-contact-gold);
    font-size: clamp(38px, 4.6vw, 64px);
    line-height: 1.06;
    font-weight: 400;
}

.acfc-contact-panel p,
.acfc-contact-form-head p {
    margin: 0;
    color: var(--acfc-contact-muted);
    font-size: 19px;
    line-height: 1.75;
}

.acfc-contact-methods {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.acfc-contact-method {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--acfc-contact-line);
    border-radius: 8px;
    background: var(--acfc-contact-surface);
    color: var(--acfc-contact-ink);
}

.acfc-contact-method:hover {
    color: var(--acfc-contact-ink);
    border-color: rgba(13, 111, 151, 0.34);
}

.acfc-contact-method i {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--acfc-sea-soft);
    color: var(--acfc-contact-sea);
    font-size: 23px;
}

.acfc-contact-method span {
    color: var(--acfc-contact-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 800;
}

.acfc-contact-method strong {
    min-width: 0;
    color: var(--acfc-contact-ink);
    font-size: 18px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.acfc-contact-steps {
    display: grid;
    gap: 16px;
    margin-top: 34px;
}

.acfc-contact-steps div {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding-top: 18px;
    border-top: 1px solid var(--acfc-contact-line);
}

.acfc-contact-steps span {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--acfc-contact-gold-soft);
    color: var(--acfc-contact-gold);
    font-size: 18px;
    font-weight: 800;
}

.acfc-contact-steps p {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
}

.acfc-contact-form-card {
    padding: 44px;
}

.acfc-contact-form-head {
    margin-bottom: 30px;
}

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

.acfc-contact-page-form label {
    display: grid;
    gap: 9px;
    margin: 0;
    color: var(--acfc-contact-ink);
    font-size: 14px;
    font-weight: 800;
}

.acfc-contact-page-form input,
.acfc-contact-page-form select,
.acfc-contact-page-form textarea {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    border: 1px solid var(--acfc-contact-line);
    border-radius: 8px;
    background: var(--acfc-contact-surface);
    color: #162433;
    -webkit-text-fill-color: #162433;
    caret-color: #162433;
    font: inherit;
    font-size: 17px;
}

.acfc-contact-page-form input::placeholder,
.acfc-contact-page-form textarea::placeholder {
    color: #637284;
    -webkit-text-fill-color: #637284;
    opacity: 1;
}

.acfc-contact-page-form select option {
    color: #162433;
    background: #ffffff;
}

.acfc-contact-page-form input:focus,
.acfc-contact-page-form select:focus,
.acfc-contact-page-form textarea:focus {
    border-color: var(--acfc-contact-sea);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(13, 111, 151, 0.1);
}

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

.acfc-contact-wide,
.acfc-contact-form-note,
.acfc-contact-page-form button {
    grid-column: 1 / -1;
}

.acfc-contact-form-note {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 16px 18px;
    border-radius: 8px;
    background: var(--acfc-contact-surface);
    color: var(--acfc-contact-muted);
    font-size: 15px;
    line-height: 1.55;
}

.acfc-contact-form-note i {
    color: var(--acfc-contact-sea);
    font-size: 22px;
}

.acfc-contact-page-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 60px;
    border: 0;
    border-radius: 999px;
    background: var(--acfc-contact-gold);
    color: var(--acfc-contact-deep);
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
}

.acfc-contact-page-form button i {
    font-size: 20px;
}

.acfc-contact-page-form button:hover {
    color: var(--acfc-contact-deep);
    opacity: 0.92;
}

.acfc-final-cta-inner--catalog {
    display: block;
}

.acfc-contact-prefooter {
    display: grid;
    grid-template-columns: minmax(320px, 0.62fr) minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}

.acfc-contact-prefooter-copy h3 {
    max-width: 680px;
    margin: 18px 0 16px;
    color: var(--acfc-contact-white);
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.05;
    font-weight: 400;
}

#prenota .acfc-contact-prefooter-copy p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
    line-height: 1.72;
}

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

.acfc-contact-prefooter-card {
    position: relative;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--acfc-contact-deep);
    color: var(--acfc-contact-white);
}

.acfc-contact-prefooter-card::before,
.acfc-contact-prefooter-card::after {
    content: "";
    position: absolute;
    inset: 0;
}

.acfc-contact-prefooter-card::before {
    background-image: var(--card-image);
    background-position: center;
    background-size: cover;
    opacity: 0.72;
    transition: transform 500ms ease, opacity 500ms ease;
}

.acfc-contact-prefooter-card::after {
    background:
        linear-gradient(180deg, rgba(6, 30, 51, 0.18) 0%, rgba(6, 30, 51, 0.86) 100%),
        linear-gradient(90deg, rgba(6, 30, 51, 0.8) 0%, rgba(6, 30, 51, 0.42) 100%);
}

.acfc-contact-prefooter-card:hover {
    color: var(--acfc-contact-white);
}

.acfc-contact-prefooter-card:hover::before {
    opacity: 0.86;
    transform: scale(1.04);
}

.acfc-contact-prefooter-card span {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
    color: var(--acfc-contact-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 900;
}

.acfc-contact-prefooter-card strong {
    position: relative;
    z-index: 1;
    max-width: 340px;
    margin-bottom: 24px;
    color: var(--acfc-contact-white);
    font-size: 29px;
    line-height: 1.18;
    font-weight: 500;
}

.acfc-contact-prefooter-card em {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--acfc-contact-white);
    font-size: 16px;
    font-style: normal;
    font-weight: 900;
}

@media (max-width: 1199px) {
    .acfc-contact-layout,
    .acfc-contact-prefooter {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .acfc-contact-hero {
        min-height: 560px;
    }

    .acfc-contact-hero .tf-container {
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .acfc-contact-hero h1 {
        font-size: 54px;
    }

    .acfc-contact-hero p {
        font-size: 19px;
    }

    .acfc-contact-section {
        padding: 58px 0;
    }

    .acfc-contact-panel,
    .acfc-contact-form-card {
        padding: 26px;
    }

    .acfc-contact-page-form,
    .acfc-contact-prefooter-grid {
        grid-template-columns: 1fr;
    }

    .acfc-contact-prefooter-card {
        min-height: 230px;
    }
}
