/* =========================================================
   A.G.E. PROJECT — CONTACT PAGE
   PARTE 1: HERO + CANALI + DOVE SIAMO
   ========================================================= */


/* =========================================================
   BASE PAGINA
   ========================================================= */

.contact-page {
    overflow-x: hidden;
    background: #050505;
}

.contact-page main {
    overflow: hidden;
}

.contact-container {
    width: min(1440px, calc(100% - 96px));
    margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: min(920px, 100svh);
    padding: 170px clamp(24px, 6vw, 96px) 90px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 72px;

    background:
        radial-gradient(
            circle at 78% 32%,
            rgba(155, 0, 0, 0.20),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #090909 0%,
            #050505 58%,
            #080808 100%
        );
}

.contact-hero::after {
    content: "";

    position: absolute;
    right: clamp(24px, 6vw, 96px);
    bottom: 0;
    left: clamp(24px, 6vw, 96px);

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.14),
            transparent
        );

    z-index: 2;
}

.contact-hero-background {
    position: absolute;
    inset: 0;
    z-index: -3;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.78) 42%,
            rgba(0, 0, 0, 0.34) 72%,
            rgba(0, 0, 0, 0.52) 100%
        ),
        radial-gradient(
            circle at 80% 45%,
            rgba(157, 8, 8, 0.20),
            transparent 36%
        );
}

.contact-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;

    opacity: 0.34;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.024) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.024) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(0, 0, 0, 0.26) 34%,
            #000 74%,
            transparent 100%
        );
}

.contact-hero-content {
    position: relative;
    z-index: 2;

    width: min(900px, 100%);
}

.contact-hero h1 {
    max-width: 940px;
    margin: 18px 0 30px;

    color: #ffffff;

    font-size: clamp(4.4rem, 8.6vw, 9rem);
    font-weight: 540;
    line-height: 0.86;
    letter-spacing: -0.072em;
    text-wrap: balance;
}

.contact-hero-text {
    max-width: 680px;
    margin: 0 0 38px;

    color: rgba(255, 255, 255, 0.72);

    font-size: clamp(1.05rem, 1.45vw, 1.25rem);
    line-height: 1.72;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.contact-hero-side {
    position: relative;
    z-index: 2;

    width: min(360px, 30vw);
    min-width: 290px;
    padding: 32px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.018)
        );

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.contact-hero-side::before {
    content: "";

    position: absolute;
    top: -1px;
    left: 32px;

    width: 72px;
    height: 2px;

    background: var(--accent);
}

.contact-hero-side p {
    margin: 0 0 38px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-hero-side strong {
    display: block;
    margin-bottom: 12px;

    color: #ffffff;

    font-size: clamp(1.5rem, 2.2vw, 2.1rem);
    font-weight: 560;
    line-height: 1;
    letter-spacing: -0.04em;
}

.contact-hero-side span {
    color: rgba(255, 255, 255, 0.56);

    font-size: 0.9rem;
    font-weight: 600;
}


/* =========================================================
   CANALI DI CONTATTO
   ========================================================= */

.contact-channels-section {
    position: relative;
    padding: 140px 0;

    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(255, 255, 255, 0.04),
            transparent 28%
        ),
        #080808;
}

.contact-section-heading {
    max-width: 1040px;
    margin-bottom: 66px;
}

.contact-section-heading h2 {
    max-width: 940px;
    margin: 0 0 28px;

    color: #ffffff;

    font-size: clamp(3.3rem, 6.5vw, 7rem);
    font-weight: 520;
    line-height: 0.92;
    letter-spacing: -0.058em;
    text-wrap: balance;
}

.contact-section-heading > p:last-child {
    max-width: 660px;
    margin: 0;

    color: rgba(255, 255, 255, 0.58);

    font-size: 1.05rem;
    line-height: 1.75;
}

.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-channel-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 430px;
    padding: 34px 30px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background: rgba(255, 255, 255, 0.012);

    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    transition:
        background-color 260ms ease,
        transform 300ms cubic-bezier(.22, 1, .36, 1);
}

.contact-channel-card::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    opacity: 0;

    background:
        radial-gradient(
            circle at 25% 10%,
            rgba(255, 255, 255, 0.075),
            transparent 42%
        );

    transition: opacity 260ms ease;
}

.contact-channel-card::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            transparent 75%
        );

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 360ms cubic-bezier(.22, 1, .36, 1);
}

.contact-channel-card:hover {
    background: rgba(255, 255, 255, 0.028);
}

.contact-channel-card:hover::before {
    opacity: 1;
}

.contact-channel-card:hover::after {
    transform: scaleX(1);
}

.contact-channel-primary {
    background:
        radial-gradient(
            circle at 15% 8%,
            rgba(160, 0, 0, 0.18),
            transparent 44%
        ),
        rgba(255, 255, 255, 0.018);
}

.contact-card-index {
    margin-bottom: auto;

    color: rgba(255, 255, 255, 0.30);

    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16em;
}

.contact-card-label {
    margin: 58px 0 12px !important;

    color: var(--accent) !important;

    font-size: 0.68rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: 0.17em !important;
    text-transform: uppercase;
}

.contact-channel-card h3 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 540;
    line-height: 0.96;
    letter-spacing: -0.052em;
}

.contact-channel-card > p:not(.contact-card-label) {
    margin: 0 0 30px;

    color: rgba(255, 255, 255, 0.56);

    font-size: 0.94rem;
    line-height: 1.68;
}

.contact-channel-card > a {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: auto;
    padding-bottom: 8px;

    color: #ffffff;

    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.contact-channel-card > a::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 1px;

    background: currentColor;

    transform: scaleX(0.28);
    transform-origin: left;

    transition: transform 220ms ease;
}

.contact-channel-card > a:hover::after {
    transform: scaleX(1);
}

.contact-channel-card > a span {
    transition: transform 220ms ease;
}

.contact-channel-card > a:hover span {
    transform: translate(3px, -3px);
}


/* =========================================================
   DOVE SIAMO
   ========================================================= */

.contact-location-section {
    position: relative;
    padding: 150px 0;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(125, 0, 0, 0.15),
            transparent 30%
        ),
        #050505;
}

.contact-location-layout {
    width: min(1440px, calc(100% - 96px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
    gap: 80px;
    align-items: stretch;
}

.contact-location-copy {
    padding: 24px 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-location-copy h2 {
    max-width: 720px;
    margin: 0 0 34px;

    color: #ffffff;

    font-size: clamp(3.4rem, 6.2vw, 6.7rem);
    font-weight: 520;
    line-height: 0.92;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.contact-location-copy address {
    margin: 0 0 46px;
    padding-left: 22px;

    display: flex;
    flex-direction: column;
    gap: 6px;

    border-left: 2px solid var(--accent);

    color: rgba(255, 255, 255, 0.65);

    font-style: normal;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-location-copy address strong {
    margin-bottom: 4px;

    color: #ffffff;

    font-size: 1.05rem;
    font-weight: 700;
}

.contact-location-data {
    width: 100%;
    margin: 0 0 46px;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    list-style: none;

    border-top: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-location-data li {
    min-width: 0;
    padding: 24px 18px;

    border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-location-data li:first-child {
    padding-left: 0;
}

.contact-location-data li:last-child {
    border-right: 0;
}

.contact-location-data strong {
    display: block;
    margin-bottom: 8px;

    color: #ffffff;

    font-size: clamp(1.65rem, 2.6vw, 2.7rem);
    font-weight: 540;
    line-height: 1;
    letter-spacing: -0.045em;
}

.contact-location-data span {
    color: rgba(255, 255, 255, 0.46);

    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.35;
}

.contact-location-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}


/* Mappa grafica */

.contact-map {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 650px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 62% 46%,
            rgba(162, 0, 0, 0.15),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #101010,
            #080808
        );

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;

    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);

    text-decoration: none;

    transition:
        transform 340ms cubic-bezier(.22, 1, .36, 1),
        border-color 240ms ease,
        box-shadow 240ms ease;
}

.contact-map:hover {
    transform: translateY(-6px);

    border-color: rgba(255, 255, 255, 0.22);

    box-shadow: 0 44px 110px rgba(0, 0, 0, 0.52);
}

.contact-map-grid {
    position: absolute;
    inset: 0;
    z-index: -3;

    opacity: 0.58;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 52px 52px;
}

.contact-map-route {
    position: absolute;
    top: 18%;
    right: 13%;
    bottom: 16%;
    left: 10%;

    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: transparent;
    border-left-color: rgba(255, 255, 255, 0.12);
    border-radius: 48% 52% 42% 58% / 56% 38% 62% 44%;

    transform: rotate(-12deg);

    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.06));
}

.contact-map-route::before,
.contact-map-route::after {
    content: "";

    position: absolute;

    width: 54%;
    height: 42%;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
}

.contact-map-route::before {
    top: 18%;
    left: -8%;

    transform: rotate(24deg);
}

.contact-map-route::after {
    right: -10%;
    bottom: 8%;

    transform: rotate(-28deg);
}

.contact-map-marker {
    position: absolute;
    top: 45%;
    left: 58%;

    width: 26px;
    height: 26px;

    background: var(--accent);
    border: 5px solid #ffffff;
    border-radius: 50%;

    box-shadow:
        0 0 0 12px rgba(231, 76, 60, 0.12),
        0 0 40px rgba(231, 76, 60, 0.45);
}

.contact-map-marker::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 74px;
    height: 74px;

    border: 1px solid rgba(231, 76, 60, 0.28);
    border-radius: 50%;

    transform: translate(-50%, -50%);

    animation: contactMarkerPulse 2.6s ease-out infinite;
}

.contact-map-caption {
    position: absolute;
    right: 34px;
    bottom: 32px;
    left: 34px;

    padding-top: 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-map-caption span {
    display: block;
    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.38);

    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact-map-caption strong {
    display: block;
    margin-bottom: 10px;

    color: #ffffff;

    font-size: clamp(2.4rem, 4vw, 4.4rem);
    font-weight: 540;
    line-height: 0.92;
    letter-spacing: -0.055em;
}

.contact-map-caption small {
    color: rgba(255, 255, 255, 0.62);

    font-size: 0.82rem;
    font-weight: 700;
}

@keyframes contactMarkerPulse {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.65);
    }

    70%,
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.25);
    }
}


/* =========================================================
   RIDUZIONE MOVIMENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .contact-channel-card,
    .contact-channel-card::before,
    .contact-channel-card::after,
    .contact-channel-card > a::after,
    .contact-channel-card > a span,
    .contact-map,
    .contact-map-marker::after {
        transition: none;
        animation: none;
    }
}
/* =========================================================
   A.G.E. PROJECT — CONTACT PAGE
   PARTE 2: PERCORSI RAPIDI + CTA FINALE + RESPONSIVE
   ========================================================= */


/* =========================================================
   PERCORSI RAPIDI
   ========================================================= */

.contact-guidance-section {
    position: relative;
    padding: 150px 0;

    background:
        radial-gradient(
            circle at 12% 14%,
            rgba(255, 255, 255, 0.035),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #090909 0%,
            #060606 100%
        );
}

.contact-section-heading-split {
    max-width: none;

    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 80px;
    align-items: end;
}

.contact-section-heading-split > div {
    min-width: 0;
}

.contact-section-heading-split > p {
    max-width: 520px;
    margin: 0 0 8px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 1.04rem;
    line-height: 1.75;
}

.contact-guidance-grid {
    display: grid;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-guidance-item {
    position: relative;

    min-height: 158px;
    padding: 30px 0;

    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;

    color: #ffffff;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    text-decoration: none;

    transition:
        padding-left 280ms cubic-bezier(.22, 1, .36, 1),
        background-color 220ms ease;
}

.contact-guidance-item::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.045),
            transparent 72%
        );

    transition: opacity 220ms ease;

    pointer-events: none;
}

.contact-guidance-item:hover {
    padding-left: 18px;
    background: rgba(255, 255, 255, 0.012);
}

.contact-guidance-item:hover::before {
    opacity: 1;
}

.contact-guidance-item > span {
    color: var(--accent);

    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.17em;
}

.contact-guidance-item h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: clamp(1.5rem, 2.2vw, 2.4rem);
    font-weight: 540;
    line-height: 1.02;
    letter-spacing: -0.042em;
}

.contact-guidance-item p {
    max-width: 760px;
    margin: 0;

    color: rgba(255, 255, 255, 0.52);

    font-size: 0.95rem;
    line-height: 1.65;
}

.contact-guidance-item > strong {
    position: relative;

    width: 50px;
    height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.60);

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;

    font-size: 1.05rem;
    font-weight: 400;

    transition:
        color 220ms ease,
        background-color 220ms ease,
        border-color 220ms ease,
        transform 220ms ease;
}

.contact-guidance-item:hover > strong {
    color: #0b0b0b;
    background: #ffffff;
    border-color: #ffffff;

    transform: translateX(4px);
}


/* =========================================================
   CTA FINALE
   ========================================================= */

.contact-final-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: min(1440px, calc(100% - 96px));
    margin: 0 auto 150px;
    padding: clamp(42px, 6vw, 78px);

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 60px;
    align-items: end;

    background:
        radial-gradient(
            circle at 82% 16%,
            rgba(180, 10, 10, 0.22),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        ),
        #0a0a0a;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 30px;

    box-shadow:
        0 34px 100px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-final-cta::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            110deg,
            transparent 0%,
            rgba(255, 255, 255, 0.035) 42%,
            transparent 65%
        );
}

.contact-final-cta::after {
    content: "CONTACT";

    position: absolute;
    right: -2%;
    bottom: -26%;

    color: rgba(255, 255, 255, 0.018);

    font-size: clamp(7rem, 16vw, 16rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.08em;

    pointer-events: none;
    user-select: none;
}

.contact-final-cta > div {
    position: relative;
    z-index: 1;

    max-width: 900px;
}

.contact-final-cta h2 {
    max-width: 900px;
    margin: 0 0 22px;

    color: #ffffff;

    font-size: clamp(3.3rem, 6.4vw, 6.8rem);
    font-weight: 520;
    line-height: 0.92;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.contact-final-cta > div > p:last-child {
    max-width: 650px;
    margin: 0;

    color: rgba(255, 255, 255, 0.60);

    font-size: 1rem;
    line-height: 1.72;
}

.contact-final-cta > .btn {
    position: relative;
    z-index: 2;

    min-width: 230px;
}


/* =========================================================
   TABLET
   ========================================================= */

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

    .contact-hero-side {
        width: min(100%, 420px);
        min-width: 0;
    }

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

    .contact-location-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 54px;
    }

    .contact-map {
        min-height: 580px;
    }

    .contact-section-heading-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .contact-section-heading-split > p {
        max-width: 680px;
    }
}

@media (max-width: 980px) {
    .contact-container,
    .contact-location-layout,
    .contact-final-cta {
        width: min(100% - 48px, 1240px);
    }

    .contact-hero {
        min-height: 900px;
        padding:
            150px
            24px
            72px;
    }

    .contact-channels-section,
    .contact-location-section,
    .contact-guidance-section {
        padding: 110px 0;
    }

    .contact-final-cta {
        margin-bottom: 110px;
    }

    .contact-location-copy h2,
    .contact-section-heading h2,
    .contact-final-cta h2 {
        font-size: clamp(3.1rem, 8.8vw, 5.6rem);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {
    .contact-container,
    .contact-location-layout,
    .contact-final-cta {
        width: calc(100% - 32px);
    }

    .contact-hero {
        min-height: 100svh;
        padding:
            calc(118px + env(safe-area-inset-top))
            16px
            48px;

        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        gap: 34px;
    }

    .contact-hero::after {
        right: 16px;
        left: 16px;
    }

    .contact-hero-grid {
        background-size: 48px 48px;
    }

    .contact-hero h1 {
        margin: 14px 0 24px;

        font-size: clamp(3.5rem, 17vw, 5.9rem);
        line-height: 0.88;
        letter-spacing: -0.068em;
    }

    .contact-hero-text {
        margin-bottom: 30px;

        font-size: 1rem;
        line-height: 1.62;
    }

    .contact-hero-actions {
        width: 100%;
        gap: 12px;
    }

    .contact-hero-actions .btn {
        width: 100%;
    }

    .contact-hero-side {
        width: 100%;
        padding: 26px;

        border-radius: 20px;
    }

    .contact-hero-side p {
        margin-bottom: 28px;
    }

    .contact-channels-section,
    .contact-location-section,
    .contact-guidance-section {
        padding: 88px 0;
    }

    .contact-section-heading {
        margin-bottom: 44px;
    }

    .contact-section-heading h2,
    .contact-location-copy h2,
    .contact-final-cta h2 {
        font-size: clamp(2.9rem, 14vw, 4.8rem);
        line-height: 0.94;
    }

    .contact-section-heading > p:last-child,
    .contact-section-heading-split > p {
        font-size: 0.97rem;
        line-height: 1.68;
    }

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

    .contact-channel-card {
        min-height: 350px;
        padding: 28px 24px;
    }

    .contact-card-label {
        margin-top: 42px !important;
    }

    .contact-location-copy {
        padding: 0;
    }

    .contact-location-copy address {
        margin-bottom: 36px;
    }

    .contact-location-data {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-location-data li,
    .contact-location-data li:first-child {
        padding: 20px 0;

        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .contact-location-data li:last-child {
        border-bottom: 0;
    }

    .contact-location-actions {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .contact-location-actions .btn {
        width: 100%;
    }

    .contact-map {
        min-height: 500px;
        border-radius: 22px;
    }

    .contact-map-grid {
        background-size: 42px 42px;
    }

    .contact-map-caption {
        right: 24px;
        bottom: 24px;
        left: 24px;
    }

    .contact-map-marker {
        left: 58%;
    }

    .contact-guidance-item {
        min-height: 0;
        padding: 28px 0;

        grid-template-columns: 46px minmax(0, 1fr);
        gap: 18px;
    }

    .contact-guidance-item:hover {
        padding-left: 0;
    }

    .contact-guidance-item > strong {
        display: none;
    }

    .contact-guidance-item h3 {
        font-size: clamp(1.45rem, 7vw, 2rem);
    }

    .contact-guidance-item p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .contact-final-cta {
        margin-bottom: 88px;
        padding: 38px 24px;

        grid-template-columns: minmax(0, 1fr);
        gap: 34px;

        border-radius: 22px;
    }

    .contact-final-cta > .btn {
        width: 100%;
        min-width: 0;
    }

    .contact-final-cta::after {
        bottom: -8%;
        font-size: 8rem;
    }
}


/* =========================================================
   SCHERMI MOLTO PICCOLI
   ========================================================= */

@media (max-width: 390px) {
    .contact-hero h1 {
        font-size: clamp(3.05rem, 16vw, 4.4rem);
    }

    .contact-hero-side strong {
        font-size: 1.45rem;
    }

    .contact-channel-card {
        min-height: 330px;
    }

    .contact-map {
        min-height: 450px;
    }

    .contact-map-marker {
        left: 54%;
    }

    .contact-final-cta {
        padding: 32px 20px;
    }
}


/* =========================================================
   RIDUZIONE MOVIMENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .contact-guidance-item,
    .contact-guidance-item::before,
    .contact-guidance-item > strong {
        transition: none;
    }
}
