/* =========================================================
   BASE / DOCUMENT
   ========================================================= */
:root {
    --ab4-gold: #d9bb73;
    --ab4-header-height: 90px;
    --ab4-header-height-mobile: 82px;
}

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #050607;
    color: #222;
    overflow-x: hidden;
}

/* Skip link accessibile, visibile solo al focus da tastiera */
.ab4-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 5000;
    padding: 10px 14px;
    border-radius: 6px;
    background: #ffffff;
    color: #111111;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform .18s ease;
}
.ab4-skip-link:focus { transform: translateY(0); }

/* =========================================================
   HEADER STATICO AB4
   Layering home:
   30 contenuto header
   20 immagine/hero
   10 sfondo header iniziale
   Sticky backdrop passa sopra alla pagina ma sotto al menu.
   ========================================================= */
#ab4-header-backdrop {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--ab4-header-height);
    background: #050606;
    z-index: 10;
    transform: translateY(0);
    transition: transform .28s ease, background-color .28s ease, box-shadow .28s ease;
    pointer-events: none;
}

#ab4-header-backdrop.is-sticky {
    z-index: 29;
    background: rgba(5, 6, 6, .58);
    box-shadow: 0 5px 25px rgba(0,0,0,.20);
}

#ab4-header-backdrop.is-hidden,
#ab4-header.is-hidden { transform: translateY(-100%); }

#ab4-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--ab4-header-height);
    z-index: 30;
    background: transparent;
    transform: translateY(0);
    transition: transform .28s ease;
}

.ab4-header-inner {
    width: min(1180px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.ab4-header-logo,
.ab4-header-logo a,
.ab4-header-logo picture { display: flex; align-items: center; }
.ab4-header-logo img {
    display: block;
    width: auto;
    height: 75px;
    max-width: none;
}

.ab4-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.ab4-desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ab4-desktop-nav a {
    position: relative;
    display: block;
    padding: 12px 0;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}
.ab4-desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--ab4-gold);
    transition: width .22s ease;
}
.ab4-desktop-nav a:hover,
.ab4-desktop-nav a:focus-visible { color: var(--ab4-gold); }
.ab4-desktop-nav a:hover::after,
.ab4-desktop-nav a:focus-visible::after { width: 100%; }

.ab4-header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 7px;
    background: var(--ab4-gold);
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
}
.ab4-header-contact:hover { color: #fff; }

.ab4-mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.ab4-mobile-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 10px;
    background: #fff;
}

/* Mobile drawer */
.ab4-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.64);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.ab4-mobile-overlay.is-open { opacity: 1; visibility: visible; }

.ab4-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    width: min(88vw,390px);
    height: 100dvh;
    padding: max(18px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
    background: #080909;
    box-shadow: -15px 0 50px rgba(0,0,0,.35);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .30s cubic-bezier(.4,0,.2,1), visibility .30s;
}
.ab4-mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.ab4-mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.ab4-mobile-logo,
.ab4-mobile-logo picture { display: flex; align-items: center; }
.ab4-mobile-logo img { display: block; width: auto; height: 75px; }
.ab4-mobile-close {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.ab4-mobile-close span {
    position: absolute;
    top: 21px;
    left: 8px;
    width: 29px;
    height: 2px;
    border-radius: 10px;
    background: #fff;
}
.ab4-mobile-close span:first-child { transform: rotate(45deg); }
.ab4-mobile-close span:last-child { transform: rotate(-45deg); }
.ab4-mobile-nav { padding-top: 22px; }
.ab4-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.ab4-mobile-nav li { border-bottom: 1px solid rgba(255,255,255,.09); }
.ab4-mobile-nav a {
    display: block;
    padding: 18px 2px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
}
.ab4-mobile-nav a:hover { color: var(--ab4-gold); }
.ab4-mobile-contact { margin-top: 30px; }
.ab4-mobile-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 7px;
    background: var(--ab4-gold);
    color: #000;
    text-decoration: none;
    font-weight: 700;
}
html.ab4-menu-open, body.ab4-menu-open { overflow: hidden; }

/* Hero above initial header background, below header content */
#ab4-home .ab4-hero { z-index: 20; }

@media (max-width: 991px) {
    #ab4-header, #ab4-header-backdrop { height: var(--ab4-header-height-mobile); }
    .ab4-header-inner { width: calc(100% - 24px); }
    .ab4-desktop-nav { display: none; }
    .ab4-mobile-toggle { display: flex; }
    .ab4-header-right { gap: 8px; }
    .ab4-header-contact { min-height: 40px; padding: 0 15px; font-size: 14px; }
}

@media (max-width: 420px) {
    .ab4-header-inner { width: calc(100% - 14px); }
    .ab4-header-contact { padding: 0 11px; font-size: 15px; }
    .ab4-mobile-toggle { width: 44px; height: 44px; }
}

#ab4-header a:focus-visible,
#ab4-header button:focus-visible,
.ab4-mobile-menu a:focus-visible,
.ab4-mobile-menu button:focus-visible {
    outline: 2px solid var(--ab4-gold);
    outline-offset: 4px;
}


/* =========================================================
   VARIABILI
========================================================= */

#ab4-home {

    --ab4-gold: #d9bb73;
    --ab4-gold-light: #ead79e;
    --ab4-gold-dark: #80611f;

    --ab4-black: #090a0b;
    --ab4-dark: #111315;
    --ab4-dark-2: #191b1e;

    --ab4-text: #222222;
    --ab4-gray: #6d6d6d;

    --ab4-light: #f7f7f5;
    --ab4-white: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    color: var(--ab4-text);

    overflow-x: hidden;
    overflow-y: visible;
}


/* =========================================================
   RESET LOCALE
========================================================= */

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


#ab4-home h1,
#ab4-home h2,
#ab4-home h3,
#ab4-home h4,
#ab4-home p {
    margin-top: 0;
}


#ab4-home a {
    text-decoration: none;
}


#ab4-home img {
    max-width: 100%;
}


/* =========================================================
   ANCORE - OFFSET HEADER
========================================================= */

#ab4-home #home,
#ab4-home #servizi,
#ab4-home #chi-sono,
#ab4-home #competenze {
    scroll-margin-top: 0px;
}


/* =========================================================
   CONTAINER
========================================================= */

#ab4-home .ab4-container {

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
}


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

#ab4-home .ab4-hero {

    position: relative;

    min-height: 720px;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: #ffffff !important;

    background: #050607;
}


/* Immagine scrivania ottimizzata */

#ab4-home .ab4-hero-visual {

    position: absolute;

    top: 0;
    right: 0;

    width: 58%;
    height: 100%;

    overflow: hidden;

    z-index: 1;
}


#ab4-home .ab4-hero-visual::after {

    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            #050607 0%,
            rgba(5,6,7,0.96) 10%,
            rgba(5,6,7,0.75) 28%,
            rgba(5,6,7,0.28) 52%,
            rgba(5,6,7,0.06) 75%,
            rgba(5,6,7,0.00) 100%
        );

    pointer-events: none;
}


#ab4-home .ab4-hero-image {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;
}


/* Ombreggiatura generale */

#ab4-home .ab4-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,6,7,1) 0%,
            rgba(5,6,7,0.94) 28%,
            rgba(5,6,7,0.48) 58%,
            rgba(5,6,7,0.05) 100%
        );

    z-index: 2;

    pointer-events: none;
}


/* Luce oro decorativa */

#ab4-home .ab4-hero::after {

    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -150px;
    top: 50%;

    transform: translateY(-50%);

    border-radius: 50%;

    border: 1px solid rgba(217,187,115,0.22);

    z-index: 3;

    pointer-events: none;
}


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

#ab4-home .ab4-hero-content {

    position: relative;

    z-index: 5;

    max-width: 670px;

    padding-top: 70px;

    padding-bottom: 80px;
}


#ab4-home .ab4-eyebrow {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--ab4-gold) !important;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 25px;
}


#ab4-home .ab4-eyebrow::before {

    content: "";

    width: 45px;
    height: 1px;

    background: var(--ab4-gold);
}


#ab4-home .ab4-hero h1 {

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(46px, 6vw, 78px);

    line-height: 1.02;

    font-weight: 500;

    margin-bottom: 28px;

    max-width: 720px;

    color: #ffffff !important;
}


#ab4-home .ab4-hero .ab4-gold {

    color: #d9bb73 !important;
}


#ab4-home .ab4-hero-description {

    max-width: 600px;

    font-size: 18px;

    line-height: 1.7;

    color: rgba(255,255,255,0.86) !important;

    margin-bottom: 38px;
}


/* =========================================================
   BOTTONI
========================================================= */

#ab4-home .ab4-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 52px;

    padding: 0 26px;

    border-radius: 7px;

    font-size: 15px;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


#ab4-home .ab4-btn:hover {
    transform: translateY(-2px);
}


#ab4-home .ab4-btn-gold {

    background:
        linear-gradient(
            135deg,
            var(--ab4-gold-light),
            var(--ab4-gold)
        );

    color: #111111 !important;

    box-shadow:
        0 10px 30px rgba(217,187,115,0.18);
}


#ab4-home .ab4-btn-gold:hover {

    color: #000000 !important;

    box-shadow:
        0 15px 35px rgba(217,187,115,0.30);
}


#ab4-home .ab4-btn-dark {

    color: #ffffff !important;

    background: #121416;

    border: 1px solid rgba(255,255,255,0.10);
}


#ab4-home .ab4-btn-dark:hover {

    color: var(--ab4-gold) !important;
}


#ab4-home .ab4-arrow {

    font-size: 20px;
}


/* =========================================================
   SEZIONI GENERALI
========================================================= */

#ab4-home .ab4-section {

    padding: 90px 0;
}


#ab4-home .ab4-section-title {

    text-align: center;

    max-width: 760px;

    margin: 0 auto 55px;
}


#ab4-home .ab4-section-title .ab4-mini {

    color: var(--ab4-gold-dark);

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 12px;
}


#ab4-home .ab4-section-title h2 {

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(34px, 4vw, 48px);

    font-weight: 500;

    margin-bottom: 18px;
}


#ab4-home .ab4-section-title p {

    color: var(--ab4-gray);

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   SERVIZI
========================================================= */

#ab4-home .ab4-services {

    background: #ffffff;
}


#ab4-home .ab4-service-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}


#ab4-home .ab4-service-card {

    background: #ffffff;

    border: 1px solid #e8e5dc;

    border-radius: 13px;

    padding: 34px 28px;

    text-align: center;

    min-height: 290px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border 0.3s ease;
}


#ab4-home .ab4-service-card:hover {

    transform: translateY(-8px);

    border-color: rgba(217,187,115,0.75);

    box-shadow:
        0 22px 50px rgba(0,0,0,0.09);
}


#ab4-home .ab4-service-icon {

    width: 68px;
    height: 68px;

    margin: 0 auto 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(217,187,115,0.13);

    color: var(--ab4-gold-dark);
}


#ab4-home .ab4-service-icon svg {

    width: 31px;

    height: 31px;

    stroke: currentColor;
}


#ab4-home .ab4-service-card h3 {

    font-family: Georgia, "Times New Roman", serif;

    font-size: 21px;

    margin-bottom: 15px;
}


#ab4-home .ab4-service-card p {

    color: var(--ab4-gray);

    font-size: 14px;

    line-height: 1.7;

    margin: 0;
}


/* =========================================================
   CHI SONO
========================================================= */

#ab4-home .ab4-about {

    background: #f7f6f2;
}


#ab4-home .ab4-about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 75px;

    align-items: center;
}


#ab4-home .ab4-about-visual {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    min-height: 0;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #08090a,
            #24201a
        );
}


#ab4-home .ab4-about-visual::before {

    content: "";

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

    width: 64%;
    aspect-ratio: 1 / 1;

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

    border-radius: 50%;

    border: 1px solid rgba(217,187,115,0.25);
}


#ab4-home .ab4-about-visual::after {

    content: "";

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

    width: 48%;
    aspect-ratio: 1 / 1;

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

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(217,187,115,0.13),
            transparent 70%
        );
}


#ab4-home .ab4-about-visual picture {

    position: absolute;
    inset: 0;

    z-index: 2;

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


#ab4-home .ab4-about-visual img {

    display: block;

    width: 260px;
    height: auto;

    max-width: 70%;
    max-height: 70%;

    margin: 0;

    object-fit: contain;
}


#ab4-home .ab4-about-content .ab4-mini {

    color: var(--ab4-gold-dark);

    text-transform: uppercase;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}


#ab4-home .ab4-about-content h2 {

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(36px, 4vw, 50px);

    font-weight: 500;

    line-height: 1.12;

    margin: 15px 0 25px;
}


#ab4-home .ab4-about-content p {

    color: #666666;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 20px;
}


/* =========================================================
   COMPETENZE
========================================================= */

#ab4-home .ab4-expertise {

    background: #ffffff;
}


#ab4-home .ab4-expertise-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}


#ab4-home .ab4-expertise-box {

    padding: 35px;

    border-radius: 15px;

    background: #f8f7f4;

    border-left: 3px solid var(--ab4-gold);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


#ab4-home .ab4-expertise-box:hover {

    transform: translateY(-4px);

    box-shadow:
        0 18px 40px rgba(0,0,0,0.07);
}


#ab4-home .ab4-expertise-box h3 {

    font-family: Georgia, "Times New Roman", serif;

    font-size: 23px;

    margin-bottom: 12px;
}


#ab4-home .ab4-expertise-box p {

    color: #6b6b6b;

    line-height: 1.7;

    margin: 0;
}


/* =========================================================
   PUNTI DI FORZA
========================================================= */

#ab4-home .ab4-strengths {

    background: #101214;

    color: #ffffff;
}


#ab4-home .ab4-strengths .ab4-section-title h2 {

    color: #ffffff !important;
}


#ab4-home .ab4-strengths .ab4-section-title p {

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


#ab4-home .ab4-strength-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


#ab4-home .ab4-strength {

    text-align: center;

    border: 1px solid rgba(255,255,255,0.09);

    border-radius: 12px;

    padding: 32px 20px;

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

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


#ab4-home .ab4-strength:hover {

    transform: translateY(-5px);

    border-color: rgba(217,187,115,0.45);
}


#ab4-home .ab4-strength-number {

    font-family: Georgia, "Times New Roman", serif;

    color: var(--ab4-gold);

    font-size: 38px;

    margin-bottom: 7px;
}


#ab4-home .ab4-strength-title {

    font-size: 14px;

    color: rgba(255,255,255,0.80);
}

/* =========================================================
   ACCESSIBILITA' - SEZIONE PUNTI DI FORZA
   ========================================================= */

#ab4-home .ab4-strengths .ab4-section-title .ab4-mini {
    color: #d9bb73 !important;
}

#ab4-home .ab4-strengths .ab4-section-title p {
    color: rgba(255,255,255,0.78);
}

#ab4-home .ab4-strengths .ab4-strength-title {
    color: rgba(255,255,255,0.88);
}

/* =========================================================
   CTA FINALE CON MONTAGNE
========================================================= */

#ab4-home .ab4-cta {

    position: relative;

    padding: 105px 0;

    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(239,220,171,0.97) 0%,
            rgba(227,200,135,0.94) 28%,
            rgba(217,187,115,0.72) 53%,
            rgba(217,187,115,0.25) 76%,
            rgba(0,0,0,0.05) 100%
        ),
        url('/assets/img/montagne-desktop.webp');

    background-size: cover;

    background-position: right top;

    background-repeat: no-repeat;
}


#ab4-home .ab4-cta::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.12),
            transparent 60%
        );

    pointer-events: none;
}


#ab4-home .ab4-cta::after {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.20);

    right: -150px;

    top: -220px;
}


#ab4-home .ab4-cta-inner {

    position: relative;

    z-index: 2;

    max-width: 720px;
}


#ab4-home .ab4-cta h2 {

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(38px, 5vw, 58px);

    font-weight: 500;

    line-height: 1.1;

    margin-bottom: 20px;

    color: #111111 !important;
}


#ab4-home .ab4-cta p {

    font-size: 18px;

    max-width: 620px;

    line-height: 1.7;

    margin-bottom: 30px;

    color: rgba(0,0,0,0.76) !important;
}


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

@media (max-width: 1024px) {

    #ab4-home .ab4-hero-visual {

        width: 55%;

        opacity: 0.85;
    }


    #ab4-home .ab4-hero-content {

        max-width: 620px;
    }


    #ab4-home .ab4-service-grid,
    #ab4-home .ab4-strength-grid {

        grid-template-columns: repeat(2, 1fr);
    }

}


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

@media (max-width: 768px) {

    #ab4-home .ab4-container {

        width: min(calc(100% - 30px), 1180px);
    }


    #ab4-home .ab4-hero {

        min-height: 700px;

        background: #050607;
    }


    #ab4-home .ab4-hero-visual {

        width: 100%;

        height: 100%;

        opacity: 0.62;
    }


    #ab4-home .ab4-hero-image {

        object-position: 72% center;
    }


    #ab4-home .ab4-hero::before {

        background:
            linear-gradient(
                90deg,
                rgba(5,6,7,0.94) 0%,
                rgba(5,6,7,0.82) 35%,
                rgba(5,6,7,0.58) 65%,
                rgba(5,6,7,0.38) 100%
            );
    }


    #ab4-home .ab4-hero-content {

        position: relative;

        z-index: 5;

        padding-top: 85px;

        padding-bottom: 70px;
    }


    #ab4-home .ab4-hero h1 {

        font-size: 48px;

        color: #ffffff !important;
    }


    #ab4-home .ab4-hero-description {

        font-size: 16px;

        color: rgba(255,255,255,0.92) !important;
    }


    #ab4-home .ab4-section {

        padding: 65px 0;
    }


    #ab4-home .ab4-service-grid,
    #ab4-home .ab4-strength-grid,
    #ab4-home .ab4-expertise-grid,
    #ab4-home .ab4-about-grid {

        grid-template-columns: 1fr;
    }


    #ab4-home .ab4-about-grid {

        gap: 45px;
    }


    #ab4-home .ab4-about-visual img {

        width: 210px;
        height: auto;

        max-width: 65%;
        max-height: 65%;
    }


    #ab4-home .ab4-cta {

        padding: 80px 0;

        background-image:
            linear-gradient(
                90deg,
                rgba(239,220,171,0.97) 0%,
                rgba(227,200,135,0.90) 40%,
                rgba(217,187,115,0.45) 100%
            ),
            url('/assets/img/montagne-mobile.webp');

        background-position: right top;
    }

}


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

@media (max-width: 480px) {

    #ab4-home .ab4-hero {

        min-height: 680px;
    }


    #ab4-home .ab4-hero h1 {

        font-size: 40px;
    }


    #ab4-home .ab4-eyebrow {

        font-size: 11px;

        letter-spacing: 1.4px;
    }


    #ab4-home .ab4-hero-visual {

        opacity: 0.58;

        object-position: 72% center;
    }


    #ab4-home .ab4-service-card {

        min-height: auto;
    }


    #ab4-home .ab4-cta {

        padding: 70px 0;

        background-position: right top;
    }


    #ab4-home .ab4-about-content h2,
    #ab4-home .ab4-section-title h2 {

        line-height: 1.15;
    }

}


/* =========================================================
   FOOTER AB4 - VERSIONE STATICA
   Riproduzione del footer Elementor originale
   ========================================================= */

#ab4-footer-module {
    --ab4-gold: #d9bb73;
    --ab4-gold-light: #ead79e;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
}

#ab4-footer-module *,
#ab4-footer-module *::before,
#ab4-footer-module *::after {
    box-sizing: border-box;
}

#ab4-footer-module a {
    text-decoration: none;
}

#ab4-footer-module img {
    max-width: 100%;
}

#ab4-footer-module .ab4-footer-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

#ab4-footer-module .ab4-footer {
    width: 100%;
    background: #08090a;
    color: rgba(255,255,255,0.65);
    padding: 42px 0;
}

#ab4-footer-module .ab4-footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 45px;
}

#ab4-footer-module .ab4-footer-logo {
    display: flex;
    align-items: center;
    gap: 17px;
}

#ab4-footer-module .ab4-footer-logo img {
    width: 75px;
    height: auto;
    display: block;
}

#ab4-footer-module .ab4-footer-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

#ab4-footer-module .ab4-footer-logo small {
    color: rgba(255,255,255,0.55);
    font-size: 12px;
}

#ab4-footer-module .ab4-footer-company {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255,255,255,0.65);
}

#ab4-footer-module .ab4-footer-company strong {
    color: rgba(255,255,255,0.92);
    font-weight: 600;
}

#ab4-footer-module .ab4-footer-company a {
    color: #d9bb73 !important;
    transition: color 0.25s ease;
}

#ab4-footer-module .ab4-footer-company a:hover {
    color: #ead79e !important;
}

#ab4-footer-module .ab4-footer-copy {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
    text-align: right;
    white-space: nowrap;
}

#ab4-footer-module .ab4-footer-copy a {
    color: #d9bb73 !important;
    transition: color 0.25s ease;
}

#ab4-footer-module .ab4-footer-copy a:hover {
    color: #ead79e !important;
}

@media (max-width: 1024px) {
    #ab4-footer-module .ab4-footer-inner {
        grid-template-columns: auto 1fr;
    }

    #ab4-footer-module .ab4-footer-copy {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 768px) {
    #ab4-footer-module .ab4-footer-container {
        width: min(calc(100% - 30px), 1180px);
    }

    #ab4-footer-module .ab4-footer-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    #ab4-footer-module .ab4-footer-company {
        text-align: center;
    }

    #ab4-footer-module .ab4-footer-copy {
        text-align: center;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    #ab4-footer-module .ab4-footer {
        padding: 35px 0;
    }

    #ab4-footer-module .ab4-footer-logo {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    #ab4-footer-module .ab4-footer-logo img {
        width: 70px;
    }
}



/* =========================================================
   ACCESSIBILITA / RESPONSIVE FINISHING
   ========================================================= */
.ab4-footer-logo picture {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

/* Riduce le animazioni per chi lo richiede a livello di sistema. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
   PRIVACY POLICY
   ========================================================= */

#ab4-privacy {
    --ab4-gold: #d9bb73;
    --ab4-gold-dark: #80611f;
    --ab4-text: #292929;
    --ab4-gray: #626262;
    --ab4-light: #f7f6f2;

    background: #ffffff;
    color: var(--ab4-text);
    font-family: Arial, Helvetica, sans-serif;
}

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

#ab4-privacy .ab4-policy-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* Hero */
#ab4-privacy .ab4-policy-hero {
    position: relative;
    padding: 165px 0 85px;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #050607 0%,
            #101214 65%,
            #1d1a15 100%
        );
}

#ab4-privacy .ab4-policy-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -180px;
    border-radius: 50%;
    border: 1px solid rgba(217,187,115,0.22);
    pointer-events: none;
}

#ab4-privacy .ab4-policy-eyebrow {
    margin-bottom: 18px;
    color: var(--ab4-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#ab4-privacy .ab4-policy-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 66px);
    line-height: 1.05;
    font-weight: 500;
}

#ab4-privacy .ab4-policy-hero p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: 18px;
    line-height: 1.75;
}

/* Content */
#ab4-privacy .ab4-policy-content {
    padding: 85px 0 100px;
    background: #ffffff;
}

#ab4-privacy .ab4-policy-intro {
    margin-bottom: 55px;
    padding: 30px 32px;
    border-left: 3px solid var(--ab4-gold);
    border-radius: 0 12px 12px 0;
    background: var(--ab4-light);
    color: #555555;
    font-size: 17px;
    line-height: 1.8;
}

#ab4-privacy .ab4-policy-intro p {
    margin: 0;
}

#ab4-privacy .ab4-policy-intro strong {
    color: #111111;
}

#ab4-privacy a {
    color: var(--ab4-gold-dark);
    text-underline-offset: 3px;
}

#ab4-privacy .ab4-policy-section {
    padding: 0 0 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid #e8e5dc;
}

#ab4-privacy .ab4-policy-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

#ab4-privacy .ab4-policy-section h2 {
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 500;
    color: #161616;
}

#ab4-privacy .ab4-policy-section h3 {
    margin: 32px 0 15px;
    color: #222222;
    font-size: 19px;
    line-height: 1.4;
}

#ab4-privacy .ab4-policy-section p {
    margin: 0 0 18px;
    color: #5f5f5f;
    font-size: 16px;
    line-height: 1.8;
}

#ab4-privacy .ab4-policy-section p:last-child {
    margin-bottom: 0;
}

#ab4-privacy .ab4-policy-section strong {
    color: #292929;
}

#ab4-privacy .ab4-policy-section ul {
    margin: 20px 0;
    padding-left: 23px;
}

#ab4-privacy .ab4-policy-section li {
    margin-bottom: 12px;
    color: #5f5f5f;
    font-size: 16px;
    line-height: 1.75;
}

/* Tabelle */
#ab4-privacy .ab4-policy-table-wrap {
    margin: 28px 0;
    overflow-x: auto;
    border: 1px solid #e4e0d6;
    border-radius: 12px;
}

#ab4-privacy .ab4-policy-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

#ab4-privacy .ab4-policy-table th {
    padding: 16px 20px;
    background: #101214;
    color: #ffffff;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
}

#ab4-privacy .ab4-policy-table td {
    padding: 17px 20px;
    border-bottom: 1px solid #ece9e1;
    color: #5d5d5d;
    font-size: 15px;
    line-height: 1.65;
    vertical-align: top;
}

#ab4-privacy .ab4-policy-table tr:last-child td {
    border-bottom: 0;
}

#ab4-privacy .ab4-policy-table tbody tr:nth-child(even) {
    background: #faf9f6;
}

/* Box evidenziato */
#ab4-privacy .ab4-policy-highlight {
    margin: 25px 0;
    padding: 25px 28px;
    border: 1px solid #ebe6da;
    border-radius: 12px;
    background: #f7f6f2;
}

#ab4-privacy .ab4-policy-highlight p:last-child {
    margin-bottom: 0;
}

/* Data informativa */
#ab4-privacy .ab4-policy-update {
    margin-top: 55px;
    padding: 22px 26px;
    border-radius: 10px;
    background: #101214;
    color: rgba(255,255,255,0.80);
    font-size: 14px;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    #ab4-privacy .ab4-policy-container {
        width: min(calc(100% - 30px), 1180px);
    }

    #ab4-privacy .ab4-policy-hero {
        padding: 135px 0 65px;
    }

    #ab4-privacy .ab4-policy-hero p {
        font-size: 16px;
    }

    #ab4-privacy .ab4-policy-content {
        padding: 60px 0 75px;
    }

    #ab4-privacy .ab4-policy-intro {
        padding: 23px 22px;
    }

    #ab4-privacy .ab4-policy-section {
        margin-bottom: 38px;
        padding-bottom: 38px;
    }
}

@media (max-width: 480px) {
    #ab4-privacy .ab4-policy-hero {
        padding-top: 120px;
    }

    #ab4-privacy .ab4-policy-hero h1 {
        font-size: 38px;
    }

    #ab4-privacy .ab4-policy-section h2 {
        font-size: 27px;
    }
}


/* =========================================================
   COOKIE POLICY
   ========================================================= */

#ab4-cookie {
    --ab4-gold: #d9bb73;
    --ab4-gold-dark: #80611f;
    --ab4-text: #292929;
    --ab4-light: #f7f6f2;
    background: #ffffff;
    color: var(--ab4-text);
    font-family: Arial, Helvetica, sans-serif;
}

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

#ab4-cookie .ab4-policy-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

#ab4-cookie .ab4-policy-hero {
    position: relative;
    padding: 165px 0 85px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #050607 0%, #101214 65%, #1d1a15 100%);
}

#ab4-cookie .ab4-policy-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -180px;
    border-radius: 50%;
    border: 1px solid rgba(217,187,115,0.22);
    pointer-events: none;
}

#ab4-cookie .ab4-policy-eyebrow {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    color: var(--ab4-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#ab4-cookie .ab4-policy-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 66px);
    line-height: 1.05;
    font-weight: 500;
}

#ab4-cookie .ab4-policy-hero p {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: 18px;
    line-height: 1.75;
}

#ab4-cookie .ab4-policy-content {
    padding: 85px 0 100px;
    background: #ffffff;
}

#ab4-cookie .ab4-policy-intro {
    margin-bottom: 55px;
    padding: 30px 32px;
    border-left: 3px solid var(--ab4-gold);
    border-radius: 0 12px 12px 0;
    background: var(--ab4-light);
    color: #555555;
    font-size: 17px;
    line-height: 1.8;
}

#ab4-cookie .ab4-policy-intro p { margin: 0; }

#ab4-cookie a {
    color: var(--ab4-gold-dark);
    text-underline-offset: 3px;
}

#ab4-cookie .ab4-policy-section {
    padding: 0 0 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid #e8e5dc;
}

#ab4-cookie .ab4-policy-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

#ab4-cookie .ab4-policy-section h2 {
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 500;
    color: #161616;
}

#ab4-cookie .ab4-policy-section h3 {
    margin: 32px 0 15px;
    color: #222222;
    font-size: 19px;
    line-height: 1.4;
}

#ab4-cookie .ab4-policy-section p,
#ab4-cookie .ab4-policy-content > .ab4-policy-container > p {
    margin: 0 0 18px;
    color: #5f5f5f;
    font-size: 16px;
    line-height: 1.8;
}

#ab4-cookie .ab4-policy-section strong,
#ab4-cookie .ab4-policy-content > .ab4-policy-container > p strong {
    color: #292929;
}

#ab4-cookie .ab4-policy-section ul,
#ab4-cookie .ab4-policy-content > .ab4-policy-container > ul {
    margin: 20px 0;
    padding-left: 23px;
}

#ab4-cookie .ab4-policy-section li,
#ab4-cookie .ab4-policy-content > .ab4-policy-container > ul li {
    margin-bottom: 12px;
    color: #5f5f5f;
    font-size: 16px;
    line-height: 1.75;
}

#ab4-cookie .ab4-policy-table-wrap {
    margin: 28px 0;
    overflow-x: auto;
    border: 1px solid #e4e0d6;
    border-radius: 12px;
}

#ab4-cookie .ab4-policy-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

#ab4-cookie .ab4-policy-table th {
    padding: 16px 20px;
    background: #101214;
    color: #ffffff;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
}

#ab4-cookie .ab4-policy-table td {
    padding: 17px 20px;
    border-bottom: 1px solid #ece9e1;
    color: #5d5d5d;
    font-size: 15px;
    line-height: 1.65;
    vertical-align: top;
}

#ab4-cookie .ab4-policy-table tr:last-child td { border-bottom: 0; }
#ab4-cookie .ab4-policy-table tbody tr:nth-child(even) { background: #faf9f6; }

#ab4-cookie .ab4-policy-highlight {
    margin: 25px 0;
    padding: 25px 28px;
    border: 1px solid #ebe6da;
    border-radius: 12px;
    background: #f7f6f2;
}

#ab4-cookie .ab4-policy-update {
    margin-top: 55px;
    padding: 22px 26px;
    border-radius: 10px;
    background: #101214;
    color: rgba(255,255,255,0.80);
    font-size: 14px;
    line-height: 1.7;
}

#ab4-cookie .ab4-policy-update strong { color: #d9bb73; }

@media (max-width: 768px) {
    #ab4-cookie .ab4-policy-container {
        width: min(calc(100% - 30px), 1180px);
    }

    #ab4-cookie .ab4-policy-hero {
        padding: 135px 0 65px;
    }

    #ab4-cookie .ab4-policy-hero p { font-size: 16px; }
    #ab4-cookie .ab4-policy-content { padding: 60px 0 75px; }
    #ab4-cookie .ab4-policy-intro { padding: 23px 22px; }

    #ab4-cookie .ab4-policy-section {
        margin-bottom: 38px;
        padding-bottom: 38px;
    }
}

@media (max-width: 480px) {
    #ab4-cookie .ab4-policy-hero { padding-top: 120px; }
    #ab4-cookie .ab4-policy-hero h1 { font-size: 38px; }
    #ab4-cookie .ab4-policy-section h2 { font-size: 27px; }
}


/* =========================================================
   PAGINA CONTATTI
   ========================================================= */

#ab4-contact-page {
    --ab4-gold: #d9bb73;
    --ab4-gold-dark: #80611f;
    --ab4-light: #f7f6f2;
    --ab4-text: #222222;

    background: #ffffff;
    color: var(--ab4-text);
    font-family: Arial, Helvetica, sans-serif;
}

#ab4-contact-page *,
#ab4-contact-page *::before,
#ab4-contact-page *::after {
    box-sizing: border-box;
}

#ab4-contact-page .ab4-contact-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

#ab4-contact-page .ab4-contact-hero {
    position: relative;
    padding: 165px 0 85px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #050607 0%, #101214 65%, #1d1a15 100%);
}

#ab4-contact-page .ab4-contact-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -180px;
    border-radius: 50%;
    border: 1px solid rgba(217,187,115,0.22);
    pointer-events: none;
}

#ab4-contact-page .ab4-contact-eyebrow {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    color: var(--ab4-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

#ab4-contact-page .ab4-contact-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 6vw, 66px);
    line-height: 1.05;
    font-weight: 500;
}

#ab4-contact-page .ab4-contact-hero p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: 18px;
    line-height: 1.75;
}

#ab4-contact-page .ab4-contact-content {
    padding: 90px 0 105px;
    background: #f7f6f2;
}

#ab4-contact-page .ab4-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 75px;
    align-items: start;
}

#ab4-contact-page .ab4-contact-info {
    padding-top: 18px;
}

#ab4-contact-page .ab4-contact-mini {
    margin-bottom: 15px;
    color: var(--ab4-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

#ab4-contact-page .ab4-contact-info h2 {
    max-width: 520px;
    margin: 0 0 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.13;
    font-weight: 500;
}

#ab4-contact-page .ab4-contact-info > p {
    max-width: 520px;
    margin: 0 0 40px;
    color: #656565;
    font-size: 16px;
    line-height: 1.8;
}

#ab4-contact-page .ab4-contact-details {
    display: grid;
    gap: 18px;
}

#ab4-contact-page .ab4-contact-detail {
    padding: 20px 22px;
    border: 1px solid #e4e0d6;
    border-radius: 10px;
    background: #ffffff;
}

#ab4-contact-page .ab4-contact-detail span {
    display: block;
    margin-bottom: 7px;
    color: #747474;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

#ab4-contact-page .ab4-contact-detail strong,
#ab4-contact-page .ab4-contact-detail a {
    color: #222222;
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
}

#ab4-contact-page .ab4-contact-detail a:hover {
    color: var(--ab4-gold-dark);
}

#ab4-contact-page .ab4-contact-form-card {
    padding: 38px;
    border: 1px solid #e1ded4;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

#ab4-contact-page .ab4-contact-form {
    display: grid;
    gap: 23px;
}

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

#ab4-contact-page .ab4-form-field {
    display: grid;
    gap: 8px;
}

#ab4-contact-page .ab4-form-field label {
    color: #292929;
    font-size: 14px;
    font-weight: 700;
}

#ab4-contact-page .ab4-form-field input,
#ab4-contact-page .ab4-form-field textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d9d5cb;
    border-radius: 8px;
    background: #ffffff;
    color: #222222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#ab4-contact-page .ab4-form-field input {
    min-height: 50px;
}

#ab4-contact-page .ab4-form-field textarea {
    min-height: 185px;
    resize: vertical;
    line-height: 1.6;
}

#ab4-contact-page .ab4-form-field input:focus,
#ab4-contact-page .ab4-form-field textarea:focus {
    border-color: #b89445;
    box-shadow: 0 0 0 3px rgba(217,187,115,0.18);
}

#ab4-contact-page .ab4-privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #5c5c5c;
    font-size: 14px;
    line-height: 1.55;
    cursor: pointer;
}

#ab4-contact-page .ab4-privacy-check input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 auto;
    accent-color: #80611f;
}

#ab4-contact-page .ab4-privacy-check a {
    color: #80611f;
    font-weight: 700;
    text-underline-offset: 3px;
}

#ab4-contact-page .ab4-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, #ead79e, #d9bb73);
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

#ab4-contact-page .ab4-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(217,187,115,.28);
}

#ab4-contact-page .ab4-contact-submit:focus-visible {
    outline: 2px solid #80611f;
    outline-offset: 3px;
}

#ab4-contact-page .ab4-contact-note {
    margin: -5px 0 0;
    color: #777777;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

#ab4-contact-page .ab4-form-message {
    margin-bottom: 26px;
    padding: 18px 20px;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.6;
}

#ab4-contact-page .ab4-form-message strong {
    display: block;
    margin-bottom: 4px;
}

#ab4-contact-page .ab4-form-message span {
    display: block;
}

#ab4-contact-page .ab4-form-success {
    border: 1px solid #bfd7c4;
    background: #f2f8f3;
    color: #244b2b;
}

#ab4-contact-page .ab4-form-error {
    border: 1px solid #e0b9b9;
    background: #fff4f4;
    color: #6a2626;
}

#ab4-contact-page .ab4-form-error ul {
    margin: 8px 0 0;
    padding-left: 19px;
}

#ab4-contact-page .ab4-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 900px) {
    #ab4-contact-page .ab4-contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    #ab4-contact-page .ab4-contact-container {
        width: min(calc(100% - 30px), 1180px);
    }

    #ab4-contact-page .ab4-contact-hero {
        padding: 135px 0 65px;
    }

    #ab4-contact-page .ab4-contact-hero p {
        font-size: 16px;
    }

    #ab4-contact-page .ab4-contact-content {
        padding: 65px 0 80px;
    }

    #ab4-contact-page .ab4-contact-form-card {
        padding: 28px 24px;
    }
}

@media (max-width: 560px) {
    #ab4-contact-page .ab4-form-row {
        grid-template-columns: 1fr;
    }

    #ab4-contact-page .ab4-contact-form-card {
        padding: 25px 19px;
    }
}

@media (max-width: 480px) {
    #ab4-contact-page .ab4-contact-hero {
        padding-top: 120px;
    }

    #ab4-contact-page .ab4-contact-hero h1 {
        font-size: 38px;
    }
}
