:root {
    --primary: #213062;
    --secondary: #4fbbd9;
    --primary-rgb: rgb(33, 48, 98);
    --secondary-rgb: rgb(79, 187, 217);
}

body {
    overflow-x: hidden;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.menu-bootstrap5 .mod-menu_bootstrap5 .nav-link {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Noto Sans', sans-serif;
    transition: color 0.22s ease;
}

.menu-bootstrap5 .mod-menu_bootstrap5 .nav-link.btn-outline {
    text-transform: uppercase;
    display: block;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: 'Baloo 2', cursive !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.22s ease;
    height: 36px;
    line-height: 1.2;
    padding: 8px 16px;
    text-align: center;
}

.menu-bootstrap5 .mod-menu_bootstrap5 .nav-link.btn-outline:hover,
.menu-bootstrap5 .mod-menu_bootstrap5 .nav-link.btn-outline:focus-visible {
    background: #0f1c3a;
    color: #ffffff !important;
    outline: none;
}

.menu-bootstrap5 .mod-menu_bootstrap5 .nav-link.btn-full {
    display: block;
    background: var(--primary);
    color: #ffffff;
    font-family: 'Baloo 2', cursive !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.22s ease;
    text-transform: uppercase;
    height: 36px;
    line-height: 1.2;
    border: 1px solid var(--primary);
    text-align: center;
    padding: 8px 16px;
}

.ac-form-btn {
    font-family: 'Baloo 2', cursive !important;
    font-size: 1rem;
}

.menu-bootstrap5 .mod-menu_bootstrap5 .nav-link.btn-full:hover,
.menu-bootstrap5 .mod-menu_bootstrap5 .nav-link.btn-full:focus-visible {
    color: #ffffff !important;
    border: 1px solid var(--primary);
    color: var(--primary);
    outline: none;
}


/* ── HERO WRAPPER ────────────────────────────────────────── */
.ac-hero {
    font-family: 'Noto Sans', sans-serif;
}

/* ── HERO CARD ───────────────────────────────────────────── */
.ac-hero__inner {
    position: relative;
    min-height: 580px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;

    /* Sostituisci con il percorso reale nel Media Manager di Joomla */
    background-image: url('./../../../images/homepage/attichiari-ricerca-atti-immobiliari.webp');
    background-size: cover;
    background-position: center 30%;

    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
}


/* overlay gradiente da sx per leggibilità testo */
.ac-hero__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
            105deg,
            rgba(0, 0, 0, 0.52) 0%,
            rgba(0, 0, 0, 0.35) 45%,
            rgba(0, 0, 0, 0.10) 100%
    );
    border-radius: inherit;
    z-index: 1;
}

/* ── CONTENUTO TESTO ─────────────────────────────────────── */
.ac-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 48px 52px 52px;
    color: #ffffff;
}

/* ── TITOLO H1 ───────────────────────────────────────────── */
h1.ac-hero__title {
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    color: #ffffff !important;
}

/* ── SOTTOTITOLO ─────────────────────────────────────────── */
.ac-hero__sub {
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 36px;
    max-width: 520px;
}

/* ── CTA BUTTON ──────────────────────────────────────────── */
.ac-hero__cta {
    display: inline-flex;
    align-items: center;
    padding: 2px 4px 2px 16px;
    border-radius: 50px;
    background: #FFF;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-family: 'Baloo 2', cursive !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.ac-hero__cta:hover,
.ac-hero__cta:focus-visible {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff !important;
    outline: none;
}

.ac-hero__cta-label {
    padding-right: 16px;
}

/* cerchio icona incollato al bordo destro */
.ac-hero__cta-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    font-family: 'Baloo 2', cursive !important;
    transition: background 0.22s ease, color 0.22s ease;

}

.ac-hero__cta:hover .ac-hero__cta-icon,
.ac-hero__cta:focus-visible .ac-hero__cta-icon {
    background: #ffffff;
    color: var(--primary);
}

/* ── SEZIONE WRAPPER ─────────────────────────────────────── */
.ac-buro {
    font-family: 'Noto Sans', sans-serif;
}

/* ── 1. RIGA TITOLO + DESCRIZIONE ────────────────────────── */
.ac-buro__intro {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px 56px;
    align-items: center;
    width: 100%;
    margin: 80px auto 40px;
    padding: 0 8px;
}

.ac-buro__title {
    color: var(--primary);
    text-align: right;
}

p.ac-buro__desc {
    margin: 0;
}

.ac-buro__desc strong {
    font-weight: 700;
}

/* ── 2. BANNER IMMAGINI ──────────────────────────────────── */
.ac-buro__banner {
    position: relative;
    display: flex;
    width: 100%;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.10);
}

p.ac-achi__card-text {
    margin: 0;
}

.ac-buro__img {
    width: 140%;
    height: 300px;
    object-fit: cover;
    display: block;
    object-position: bottom;
    max-width: none;
}

.ac-buro__left-image, .ac-buro__right-image {
    width: 50%;
}

.ac-buro__right-image {
    border-radius: 20px 0 0 20px;
    overflow: hidden;
}

/* CTA sovrapposta al centro */
.ac-buro__banner-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    padding: 6px 6px 6px 24px;
    border-radius: 50px;
    background: #ffffff;
    border: none;
    color: var(--primary);
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.ac-buro__banner-cta:hover,
.ac-buro__banner-cta:focus-visible {
    background: var(--primary);
    color: #ffffff !important;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
    outline: none;
}

.ac-buro__banner-cta-label {
    padding-right: 16px;
}

.ac-buro__banner-cta-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: background 0.22s ease, color 0.22s ease;
}

.ac-buro__banner-cta:hover .ac-buro__banner-cta-icon,
.ac-buro__banner-cta:focus-visible .ac-buro__banner-cta-icon {
    background: #ffffff;
    color: var(--primary);
}

/* ── 3. PARAGRAFO CONCLUSIVO ─────────────────────────────── */
p.ac-buro__closing {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding: 0 8px;
    font-size: 1.25rem;
}

.ac-buro__closing strong {
    font-weight: 700;
}


/* ── SEZIONE WRAPPER ─────────────────────────────────────── */
.ac-achi {
    background: #ffffff;
    padding: 64px 16px 72px;
    font-family: 'Noto Sans', sans-serif;
}

/* ── HEADER ──────────────────────────────────────────────── */
.ac-achi__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.ac-achi__logo-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f0fb 0%, #c8ddf7 100%);
    color: var(--primary);
    font-size: 1.9rem;
}

.ac-achi__title {
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.15;
}

.ac-achi__subtitle {
    font-size: 1.25rem;
    font-weight: 700;
}

/* ── GRIGLIA 3+3 ─────────────────────────────────────────── */
.ac-achi__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
    margin: 0 auto;
}

/* ── SINGOLA CARD ────────────────────────────────────────── */
.ac-achi__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.ac-achi__icon-wrap {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 2rem;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .ac-hero {
        padding: 12px;
    }

    .ac-hero__inner {
        min-height: 400px;
    }

    .ac-hero__content {
        padding: 32px 24px 36px;
    }

    .ac-hero__title {
        font-size: 1.75rem;
    }

    .ac-hero__sub {
        font-size: 0.88rem;
    }
}

.ac-conosci {
    padding: 64px 16px;
    font-family: 'Noto Sans', sans-serif;
}

.ac-conosci__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

/* ── FOTO ────────────────────────────────────────────────── */
.ac-conosci__img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* ── TESTO ───────────────────────────────────────────────── */
.ac-conosci__title {
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.ac-conosci__text {
    margin-bottom: 16px;
}

.ac-conosci__text strong {
    font-weight: 700;
}

/* ── CALLOUT ─────────────────────────────────────────────── */
.ac-conosci__callout {
    margin: 28px 0 32px;
    padding-top: 24px;
}

.ac-conosci__callout-label {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
}

.ac-conosci__callout-text {
    font-family: 'Baloo 2', cursive !important;
    font-weight: 700;
    color: var(--primary);
}

/* ── CTA ─────────────────────────────────────────────────── */
.ac-conosci__cta {
    display: inline-flex;
    align-items: center;
    padding: 6px 6px 6px 24px;
    border-radius: 50px;
    background: var(--secondary);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    font-family: 'Baloo 2', cursive !important;
    transition: background 0.22s ease, box-shadow 0.22s ease;
}

.ac-conosci__cta:hover,
.ac-conosci__cta:focus-visible {
    background: var(--primary);
    outline: none;
}

.ac-conosci__cta-label {
    padding-right: 16px;
    color: #ffffff;
}

.ac-conosci__cta-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: color 0.22s ease;
}

.ac-conosci__cta:hover .ac-conosci__cta-icon {
    color: var(--primary);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 780px) {
    .ac-conosci__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ac-conosci__img {
        height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ac-conosci__cta,
    .ac-conosci__cta-icon {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ac-hero__cta {
        transition: none;
    }
}


/* ── SEZIONE ─────────────────────────────────────────────── */
.ac-prob {
    position: relative;
    z-index: 1;
    margin-bottom: -38px;
}

.ac-prob__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    width: 100%;
    margin: 0 auto;
}

/* ── COLONNA SX ──────────────────────────────────────────── */
.ac-prob__title {
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 24px;
}

.ac-prob__intro {
    line-height: 1.75;
    color: var(--secondary);
}

.ac-prob__intro strong {
    font-weight: 700;
}

/* ── COLONNA DX ──────────────────────────────────────────── */
.ac-prob__right-title {
    font-family: 'Baloo 2', cursive !important;
    font-weight: 800;
    color: var(--primary);
}

/* ── CARD PROBLEMA ───────────────────────────────────────── */
.ac-prob__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #d7d7d7;
    border-radius: 12px;
    padding: 20px 20px;
    margin-bottom: 12px;
    flex-direction: column;
}

.ac-prob__card:last-child {
    margin-bottom: 0;
}

.ac-prob__card-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.ac-prob__card-title {
    color: var(--primary);
    margin-bottom: 6px;
}

.ac-prob__card-text {
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 780px) {
    .ac-prob__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.blue-line {
    width: 100%;
    height: 3px;
    background: var(--primary);
    margin: 40px 0;
    border-radius: 9999px;
}

/* ── CARD SOLUZIONE ──────────────────────────────────────── */
.ac-sol {
    font-family: 'Noto Sans', sans-serif;
}

.ac-sol__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;

    background: #efefef; /* stesso sfondo della sezione problemi */
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.ac-sol__label {
    display: block;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ac-sol__title {
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 8px;
}

.ac-sol__subtitle {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
}

.ac-sol__text {
    margin-bottom: 14px;
}

.ac-sol__text strong {
    font-weight: 700;
}

/* CTA */
.ac-sol__cta {
    display: inline-flex;
    align-items: center;
    padding: 6px 6px 6px 24px;
    border-radius: 50px;
    background: var(--secondary);
    color: #ffffff !important;
    font-family: 'Baloo 2', cursive !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    margin-top: 8px;
    transition: background 0.22s ease;
}

.ac-sol__cta:hover,
.ac-sol__cta:focus-visible {
    background: var(--primary);
    outline: none;
}

.ac-sol__cta-label {
    padding-right: 16px;
}

.ac-sol__cta-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--secondary);
    font-family: 'Baloo 2', cursive !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: color 0.22s ease;
}

.ac-sol__cta:hover .ac-sol__cta-icon {
    color: var(--primary);
}

/* Foto */
.ac-sol__img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Responsive */
@media (max-width: 780px) {
    .ac-sol__inner {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }

    .ac-sol__media {
        order: -1;
    }

    .ac-sol__img {
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ac-sol__cta,
    .ac-sol__cta-icon {
        transition: none;
    }
}

.ac-imm {
    background: #ffffff;
    padding: 72px 0;
    font-family: 'Noto Sans', sans-serif;
}

.ac-imm__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.ac-imm__img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.ac-imm__title {
    font-family: 'Baloo 2', cursive !important;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 24px;
}

.ac-imm__title-accent {
    color: var(--secondary);
}

.ac-imm__text {
    margin-bottom: 16px;
}

.ac-imm__text strong {
    font-weight: 700;
}

.ac-imm__quote {
    margin-top: 28px;
    padding: 24px 28px;
    background: #e8f1f8;
    border-radius: 14px;
    line-height: 1.65;
    color: var(--primary);
    font-style: normal;
    border: none;
}

.ac-imm__quote strong {
    font-weight: 700;
}

@media (max-width: 780px) {
    .ac-imm__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ac-imm__img {
        height: 280px;
    }
}

.ac-come {
    font-family: 'Noto Sans', sans-serif;
}

.ac-come__inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: start;
    width: 80%;
    margin: 0 auto;
}

.ac-come__title {
    font-family: 'Baloo 2', cursive !important;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    position: sticky;
    top: 24px;
}

.ac-come__step {
    margin-bottom: 28px;
}

.ac-come__step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ac-come__step-title {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
	margin-bottom: 0;
}

.ac-come__step-num {
    color: var(--primary);
}

p.ac-come__step-text {
    margin: 0;
}

@media (max-width: 720px) {
    .ac-come__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ac-come__title {
        position: static;
    }
}

.ac-devi {
    background: linear-gradient(100deg, #50bbda 0%, #79cdcf 100%);
    margin: 40px auto;
    padding: 2rem;
    font-family: 'Noto Sans', sans-serif;
    border-radius: 20px;
}

.ac-devi__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    margin: 0 auto;
}

.ac-devi__title {
    font-family: 'Baloo 2', cursive !important;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.ac-devi__sub {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.ac-devi__sub strong {
    font-weight: 700;
    color: #ffffff;
}

.ac-devi__cta {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 6px 6px 6px 24px;
    border-radius: 50px;
    background: #ffffff;
    color: var(--primary);
    font-family: 'Baloo 2', cursive !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease;
}

.ac-devi__cta:hover,
.ac-devi__cta:focus-visible {
    background: var(--primary);
    color: #ffffff !important;
    outline: none;
}

.ac-devi__cta-label {
    padding-right: 16px;
}

.ac-devi__cta-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Baloo 2', cursive !important;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: background 0.22s ease, color 0.22s ease;
}

.ac-devi__cta:hover .ac-devi__cta-icon {
    background: #ffffff;
    color: var(--primary);
}

@media (max-width: 640px) {
    .ac-devi__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ac-devi__cta,
    .ac-devi__cta-icon {
        transition: none;
    }
}

/* ── SEZIONE FORM ATTICHIARI ─────────────────────────────── */
.ac-form-section {
    background: linear-gradient(135deg, #3ab5d4 0%, var(--secondary) 100%);
    padding: 2rem;
    border-radius: 20px;
}

.ac-form-section__inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    align-items: start;
    width: 100%;
    margin: 0 auto;
}

/* ── TESTO SX ────────────────────────────────────────────── */
.ac-form-section__title {
    font-family: 'Baloo 2', cursive !important;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.15;
    margin-bottom: 20px;
}

.ac-form-section__subtitle {
    font-family: 'Baloo 2', cursive !important;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 12px;
    font-size: 18px !important;
}

.ac-form-section__desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 24px;
}

.ac-form-section__divider {
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* ── FORM DX ─────────────────────────────────────────────── */
.ac-form-row {
    gap: 0;
}

.ac-form-row .mb-3 {
    margin-bottom: 12px !important;
}

/* Campi testo / email */
.ac-form-section .form-control {
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 14px 16px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--primary);
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.ac-form-section .form-control::placeholder {
    color: #9aafc4;
}

.ac-form-section .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 45, 94, 0.12);
    outline: none;
}

/* Select: freccia custom */
.ac-form-section .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231b2d5e' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Label sopra select/textarea (outside mode) */
.ac-form-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
}

/* Checkbox privacy */
.ac-form-section .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.ac-form-section .form-check-input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    cursor: pointer;
    accent-color: var(--primary);

    margin: 0;
}

.ac-form-section .form-check-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
}

/* Bottone submit */
.ac-form-submit {
    margin-top: 8px !important;
}

.ac-form-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: #ffffff;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.22s ease;
    text-transform: uppercase;
}

.ac-form-btn:hover,
.ac-form-btn:focus-visible {
    background: #0f1c3a;
    outline: none;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 780px) {
    .ac-form-section {
        margin: 0 8px;
        padding: 40px 20px 48px;
    }

    .ac-form-section__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ac-form-section .form-control,
    .ac-form-btn {
        transition: none;
    }
}

/* ── ACCORDION ATTICHIARI ────────────────────────────────── */
.kw-accordion {
    max-width: 660px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── ITEM ────────────────────────────────────────────────── */
.ac-faq__item {
    border: 2px solid var(--primary) !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #ffffff;
}

/* rimuove il bordo top di Bootstrap tra items */
.ac-faq__item + .ac-faq__item {
    border-top: 2px solid var(--primary) !important;
}

/* ── BUTTON ──────────────────────────────────────────────── */
.ac-faq__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    background: #ffffff !important;
    color: var(--primary) !important;
    font-family: 'Noto Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border: none !important;
    box-shadow: none !important;
    text-align: left !important;
    gap: 16px;
}

/* rimuove la freccia default di Bootstrap */
.ac-faq__btn::after {
    display: none !important;
}

.ac-faq__btn:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* stato aperto: sfondo invariato */
.ac-faq__btn:not(.collapsed) {
    background: #ffffff !important;
    color: var(--primary) !important;
    box-shadow: none !important;
}

/* ── ICONA +/- ───────────────────────────────────────────── */
.ac-faq__icon {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--primary);
    line-height: 1;
}

/* default: mostra + nascondi - */
.ac-faq__icon-minus {
    display: none;
}

.ac-faq__icon-plus {
    display: inline;
}

.kw-accordion.accordion .accordion-item.ac-faq__item {
    margin: 0;
}

/* quando aperto: mostra - nascondi + */
.ac-faq__btn:not(.collapsed) .ac-faq__icon-minus {
    display: inline;
}

.ac-faq__btn:not(.collapsed) .ac-faq__icon-plus {
    display: none;
}

/* ── BODY ────────────────────────────────────────────────── */
.ac-faq__item .accordion-header h3 {
    margin: 0;
}

.ac-faq__item .accordion-body {
    padding: 20px 0 !important;
    font-family: 'Noto Sans', sans-serif;
    padding-top: 16px !important;
}

.ac-faq__item .accordion-body p {
    margin: 0;
}

.art-modulo-form-contatti {

    margin-bottom: -150px;
    z-index: 1;
    position: relative;
}

.art-footer {
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

#first-hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 50vh;
    background: linear-gradient(180deg, rgba(79, 187, 217, .20) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 0;
}

#second-hero::before {
    content: '';
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 50vh;
    clip-path: inset(0 0 -850px 0 round 0 1120px 0 1050px);
    background: linear-gradient(180deg, rgba(79, 187, 217, .20) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 0;
}

#third-hero::before {
    content: '';
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 50vh;
    background: linear-gradient(180deg, rgba(79, 187, 217, .20) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 0;
}

.art-nav {
	border-bottom: 0px;
}

/* Extra extra large devices (<1400px) */
@media (max-width: 1399.98px) {

}

/* Extra large devices (max-width 1199.98px) */
@media (max-width: 1199.98px) {

}


/* Large devices (max-width 991.98px): Desktops */
@media (max-width: 991.98px) {

}

/* Medium devices (max-width 767.98px): Tablets */
@media (max-width: 767.98px) {

    .ac-come__inner {
        width: 100%;
    }

    .ac-buro__intro {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 0;
    }

    .ac-buro__title {
        text-align: left;
    }

    .ac-achi__grid {
        grid-template-columns: 1fr;
    }

    .ac-prob {
        margin-bottom: 20px;
    }

    #third-hero::before {
        display: none;
    }

    .menu-bootstrap5 .mod-menu_bootstrap5 .nav-link.btn-full, .menu-bootstrap5 .mod-menu_bootstrap5 .nav-link.btn-outline {
        margin-bottom: 1rem;
    }
}


/* Small devices (max-width 575.98px): Mobile portrait */
@media (max-width: 575.98px) {


}
