/* Reset generale */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-testai: #387c30;
    --yellow-testai: #ffbb02;
    --dark-blue: #006600;
    --light-blue-links: #cef5c8; /* Colore blu chiaro per i link del footer */
    --text-gray: #4d5d6d;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
    padding-top: 0;
}

/* HEADER */
.ct-header {
    background-color: transparent;
    height: calc(65px + 6mm);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.ct-header.scrolled {
    background-color: var(--blue-testai);
    height: calc(65px + 6mm);
}

/* When header becomes scrolled (green), make nav links white and rimuovi il rettangolo */
.ct-header.scrolled .nav-menu a {
    color: #ffffff;
    background: transparent;
}
.ct-header.scrolled .nav-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

/* Make button text white when header is scrolled */
.ct-header.scrolled .btn-preventivo {
    color: #ffffff;
}

.ct-container {
    max-width: 1250px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    position: relative;
    top: -0.1cm;
}

.logo img {
    transform: scale(0.90);
    transform-origin: left center;
}

.logo span {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    padding-bottom: 14px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-preventivo {
    display: none;
}

.nav-menu a {
    text-decoration: none;
    color: #2b2f2d;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    backdrop-filter: blur(4px);
    transition: background 0.2s, color 0.2s;
}

.nav-menu a:hover {
    color: #7ac97a;
    opacity: 1;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-icon {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

.btn-preventivo {
    background-color: var(--yellow-testai);
    color: #3c3e3d;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}

.btn-preventivo:hover {
    color: #387c30;
}

/* HERO */
.hero-section {
    position: relative;
    min-height: 840px;
    background-image: url('pegaso-amministrazioni-condominiali-24.jpg');
    background-size: 120% auto;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-content-wrapper {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-box {
    background: rgba(51,153,51,0.32);
    background: #33993352;
    backdrop-filter: blur(5px);
    max-width: 576px;
    padding: 50px 40px;
    border-radius: 15px;
    color: white;
    text-align: center;
    margin-top: 4cm;
}

@media (min-width: 992px) {
    .hero-box {
        /* reduce width by additional 1cm + 0.5cm from the right, keep left margin */
        max-width: calc(576px - 5mm - 1cm - 0.5cm);
        margin-left: 1cm;
        margin-right: auto;
        transform: none;
    }
}

.hero-box h1 {
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-box p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ffffff;
    max-width: calc(100% - 2cm);
    margin-left: auto;
    margin-right: auto;
}

.hero-box p strong {
    font-weight: 700;
}

.valorizzazione {
    font-weight: 700 !important;
    font-size: 16px !important;
    margin: 30px 0 25px 0 !important;
    text-align: center;
    max-width: calc(100% - 2cm) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.search-box {
    margin-top: 30px;
}

.search-box select {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    color: #666;
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

/* SEZIONE INTRO (bianca) */
.intro-section {
    background-color: #ffffff;
    text-align: center;
    padding: 60px 20px 40px;
}

.intro-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.intro-illustration {
    max-width: 300px;
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* SEZIONE PERCHÉ (verde) */
.perche-section {
    background-color: #387c30;
    text-align: center;
    padding: 60px 20px 70px;
}

.perche-section .section-title {
    font-size: 32px;
    margin-bottom: 30px;
}

.perche-text {
    color: #ffffff;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- SEZIONE SERVIZI --- */
.services-grid {
    padding: 100px 0;
    background-color: #ffffff;
    color: var(--text-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 40px; 
    font-weight: 700;
    position: relative;
    padding-bottom: 25px;
    display: inline-block;
    line-height: 1.2;
    color: var(--text-gray);
}

.perche-section .section-title {
    color: #ffffff;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 140px;
    height: 7px;
    background-color: var(--yellow-testai);
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px; 
    width: 95%;
    max-width: 1350px;
}

.service-card {
    text-align: center;
    padding: 10px;
}

.service-card img {
    height: 185px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 20px;
    color: var(--blue-testai);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-gray);
}

.service-card p strong {
    color: var(--text-gray);
    font-weight: 700;
}

/* --- SEZIONE SCOPRI SERVIZI --- */
.scopri-servizi-section {
    position: relative;
    min-height: 500px;
    background-image: url('amministratori-condominio-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.scopri-servizi-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.scopri-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 80px 20px;
}

.scopri-icon-circle {
    width: 110px;
    height: 110px;
    background-color: #1a73c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scopri-icon-circle i {
    font-size: 46px;
    color: #ffffff;
}

.scopri-content h2 {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    max-width: 600px;
    line-height: 1.2;
}

.btn-vai-servizi {
    background-color: var(--yellow-testai);
    color: #3c3e3d;
    padding: 12px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-vai-servizi:hover {
    opacity: 0.9;
}

.scopri-question {
    font-size: 22px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 10px;
    text-transform: uppercase;
}

.btn-preventivo-large {
    background-color: var(--yellow-testai);
    color: #3c3e3d;
    padding: 18px 55px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.btn-preventivo-large:hover {
    opacity: 0.9;
}

/* --- SEZIONE LE NOSTRE SEDI --- */
.sedi-section {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.sedi-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.sedi-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 55px;
}

.sede-mappa-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0,0,0,0.12);
}

.sede-mappa-wrapper iframe {
    border: 0;
    display: block;
}

.sedi-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 45px 55px;
    max-width: 1100px;
    margin: 0 auto;
}

.sede-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.sede-circle {
    width: 155px;
    height: 155px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.sede-circle:hover {
    transform: scale(1.05);
}

.sede-circle i {
    font-size: 60px;
    color: #1168b5;
}

.sede-label {
    background-color: var(--yellow-testai);
    color: #3c3e3d;
    font-weight: 700;
    padding: 7px 22px;
    border-radius: 20px;
    font-size: 15px;
}

/* --- FOOTER MODIFICATO --- */
.main-footer {
    background-color: var(--dark-blue);
    color: #ffffff;
    padding: 60px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 65px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0px;
}

/* Link in blu chiaro senza sottolineatura */
.footer-links a {
    color: var(--light-blue-links); 
    text-decoration: none; 
    font-size: 14px;
    line-height: 0.5; /* Diminuisce lo spazio tra le righe di un link lungo */
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-bottom {
    background-color: #000400;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #ffffff;
    opacity: 0.7;
    width: 100%;
}

/* ==============================
   BANNER PAGINE INTERNE
   ============================== */

/* Base comune */
.page-banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 45px;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
}

/* Variante privacy (sfondo verde) */
.page-banner-privacy {
    height: 320px;
    background-color: #387c30;
}

.page-banner-privacy::before {
    background: rgba(0, 40, 0, 0.45);
}

.page-banner-privacy .page-banner-content {
    position: relative;
    z-index: 1;
    max-width: 1250px;
    width: 95%;
    margin: 0 auto;
}

.page-banner-privacy .page-banner h1 {
    color: #ffffff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
}

/* Variante foto (chi-siamo, servizi, contatti) */
.page-banner-photo {
    height: 380px;
    background-size: cover;
}

.page-banner-photo::before {
    background: rgba(0, 0, 0, 0.50);
}

.page-banner-photo .page-banner-content {
    position: relative;
    z-index: 1;
    padding: 0 50px;
}

/* Background image per pagina (path relativo a /images/) */
.page-banner-chi-siamo {
    background-image: url('chi-siamo.jpg');
    background-position: center top;
}

.page-banner-servizi {
    background-image: url('servizi.jpg');
    background-position: center;
}

.page-banner-contatti {
    background-image: url('contatti.jpg');
    background-position: center;
}

/* Breadcrumb e titolo banner */
.breadcrumb {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 10px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.page-banner-title {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 1px;
}

/* ==============================
   CHI SIAMO PAGE
   ============================== */
.chi-siamo-content {
    background: #ffffff;
    padding: 75px 40px 80px;
}

.chi-siamo-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 65px;
    align-items: start;
}

.cs-section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-testai);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
}

.cs-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-gray);
    position: relative;
    padding-bottom: 22px;
    margin-bottom: 30px;
    display: inline-block;
}

.cs-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75px;
    height: 5px;
    background-color: var(--yellow-testai);
}

.cs-photo {
    width: 100%;
    height: calc(310px + 2cm);
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 32px;
    display: block;
}

.cs-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.85;
    margin-bottom: 18px;
}

.cs-text strong {
    color: var(--text-gray);
    font-weight: 700;
}

.anaci-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: #f4f7fb;
    border: 2px solid #dde6f0;
    border-radius: 10px;
    padding: 16px 24px;
    margin-top: 24px;
}

.anaci-badge img {
    height: 60px;
    width: auto;
    display: block;
}

.anaci-text {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 600;
    line-height: 1.4;
}

.anaci-text strong {
    font-size: 20px;
    color: var(--blue-testai);
    font-weight: 700;
    display: block;
}

.cs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 100px;
}

.cs-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0,0,0,0.09);
}

.cs-card-header {
    background-color: var(--blue-testai);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cs-card-body {
    background: #ffffff;
    padding: 20px 22px;
}

.cs-card-body p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.75;
}

.cs-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.cs-contact-row:last-child {
    margin-bottom: 0;
}

.cs-contact-row i {
    color: var(--blue-testai);
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.cs-contact-row em {
    font-style: italic;
    font-size: 13px;
    opacity: 0.8;
}

/* ==============================
   SERVIZI PAGE
   ============================== */
.servizi-content {
    background: #ffffff;
    padding: 75px 40px 80px;
}

.servizi-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 65px;
    align-items: start;
}

.sv-section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-testai);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
}

.sv-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-gray);
    position: relative;
    padding-bottom: 22px;
    margin-bottom: 30px;
    display: inline-block;
}

.sv-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75px;
    height: 5px;
    background-color: var(--yellow-testai);
}

.sv-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.85;
    margin-bottom: 18px;
}

.sv-grid-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 40px 0 24px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.sv-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sv-card {
    border-radius: 10px;
    border: 2px solid #e8eef5;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.sv-card:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,0.10);
    border-color: var(--blue-testai);
}

.sv-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--blue-testai);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sv-card-icon i {
    color: #ffffff;
    font-size: 22px;
}

.sv-card-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.sv-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 100px;
}

.sv-card-side {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0,0,0,0.09);
}

.sv-card-side-header {
    background-color: var(--blue-testai);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sv-card-side-body {
    background: #ffffff;
    padding: 20px 22px;
}

.sv-card-side-body p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.75;
}

.sv-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.sv-contact-row:last-child { margin-bottom: 0; }

.sv-contact-row i {
    color: var(--blue-testai);
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.sv-contact-row em {
    font-style: italic;
    font-size: 13px;
    opacity: 0.8;
}

.sv-tags {
    margin-top: 36px;
    font-size: 13px;
    color: var(--text-gray);
}

.sv-tags strong {
    font-weight: 700;
    margin-right: 6px;
}

.sv-tag {
    display: inline-block;
    background: #f0f4f8;
    border: 1px solid #dde6f0;
    border-radius: 4px;
    padding: 3px 10px;
    margin: 3px 4px 3px 0;
    font-size: 12px;
    color: var(--blue-testai);
    font-weight: 600;
}

/* ==============================
   CONTATTI PAGE
   ============================== */
.contatti-content {
    background: #ffffff;
    padding: 75px 40px 80px;
}

.contatti-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 65px;
    align-items: start;
}

.ct-section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-testai);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
}

.ct-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-gray);
    position: relative;
    padding-bottom: 22px;
    margin-bottom: 10px;
    display: inline-block;
}

.ct-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75px;
    height: 5px;
    background-color: var(--yellow-testai);
}

.ct-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 28px 0 36px;
}

.preventivo-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 2px solid #e0e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-gray);
    background: #fafcff;
    transition: border-color 0.2s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-testai);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

.form-privacy input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--blue-testai);
    cursor: pointer;
}

.form-privacy a {
    color: var(--blue-testai);
    text-decoration: underline;
}

.btn-invia {
    align-self: flex-start;
    background-color: var(--blue-testai);
    color: #ffffff;
    padding: 14px 42px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-invia:hover {
    opacity: 0.85;
}

.form-success {
    display: none;
    background: #edf7ed;
    border: 2px solid var(--blue-testai);
    border-radius: 10px;
    padding: 20px 24px;
    font-size: 15px;
    color: var(--blue-testai);
    font-weight: 600;
    margin-top: 10px;
}

.ct-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 100px;
}

.ct-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0,0,0,0.09);
}

.ct-card-header {
    background-color: var(--blue-testai);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ct-card-body {
    background: #ffffff;
    padding: 20px 22px;
}

.ct-card-body p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.75;
}

.ct-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.ct-contact-row:last-child { margin-bottom: 0; }

.ct-contact-row i {
    color: var(--blue-testai);
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.ct-contact-row em {
    font-style: italic;
    font-size: 13px;
    opacity: 0.8;
}

/* Box preventivo nella pagina contatti */
.ct-preventivo-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #f4faf3;
    border: 2px solid #c5e3bf;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 32px;
}

.ct-preventivo-box > i {
    font-size: 26px;
    color: var(--blue-testai);
    flex-shrink: 0;
    margin-top: 2px;
}

.ct-preventivo-box strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.ct-preventivo-box p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0 0 10px;
}

.ct-preventivo-link {
    display: inline-block;
    background-color: var(--blue-testai);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.ct-preventivo-link:hover {
    opacity: 0.85;
}

.ct-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0,0,0,0.09);
}

.ct-map iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

/* ==============================
   CAMBIO AMMINISTRATORE PAGE
   ============================== */

.page-banner-cambio {
    background-image: url('cambio-amministratore.jpg');
    background-position: center;
}

/* --- Benefits strip --- */
.ca-benefits-strip {
    background-color: var(--blue-testai);
    padding: 22px 40px;
}

.ca-benefits-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ca-benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.5;
}

.ca-benefit i {
    font-size: 26px;
    color: var(--yellow-testai);
    flex-shrink: 0;
}

/* --- Layout --- */
.cambio-content {
    background: #f5f8f5;
    padding: 70px 40px 80px;
}

.cambio-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 55px;
    align-items: start;
}

.ca-left {
    min-width: 0;
}

.ca-section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-testai);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
}

.ca-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-gray);
    position: relative;
    padding-bottom: 22px;
    margin-bottom: 10px;
    display: inline-block;
}

.ca-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75px;
    height: 5px;
    background-color: var(--yellow-testai);
}

.ca-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 20px 0 14px;
}

.ca-subtitle-link {
    margin-top: 0;
    margin-bottom: 28px;
}

.ca-link {
    color: var(--blue-testai);
    text-decoration: underline;
}

.ca-link:hover {
    color: var(--dark-blue);
}

/* --- Form card wrapper --- */
.cambio-form-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.cambio-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 32px;
}

/* --- Form blocks (sections) --- */
.form-block {
    border-bottom: 1px solid #eef2ee;
}

.form-block:last-of-type {
    border-bottom: none;
}

.form-block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-testai);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 28px;
    background: #f4faf3;
    border-bottom: 1px solid #e2f0df;
}

.form-block-icon {
    width: 32px;
    height: 32px;
    background-color: var(--blue-testai);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-block-icon i {
    color: #ffffff;
    font-size: 14px;
}

.form-block-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Override form-group dentro form-block */
.form-block-body .form-group {
    margin-bottom: 0;
}

/* Label optional tag */
.label-optional {
    font-weight: 400;
    font-size: 12px;
    color: #999;
    text-transform: none;
    letter-spacing: 0;
}

/* --- Date row --- */
.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 10px;
    margin-top: 6px;
}

.form-row-3 input,
.form-row-3 select {
    border: 2px solid #e0e8f0;
    border-radius: 8px;
    padding: 11px 13px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-gray);
    background: #fafcff;
    transition: border-color 0.2s;
    width: 100%;
}

.form-row-3 select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.form-row-3 input:focus,
.form-row-3 select:focus {
    outline: none;
    border-color: var(--blue-testai);
    background: #ffffff;
}

/* --- Radio cards --- */
.radio-card-group {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.radio-card {
    cursor: pointer;
    flex: 1;
    min-width: 90px;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 10px;
    border: 2px solid #e0e8f0;
    border-radius: 10px;
    background: #fafcff;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    text-align: center;
}

.radio-card-inner i {
    font-size: 18px;
    color: #aabcaa;
    transition: color 0.2s;
}

.radio-card input[type="radio"]:checked + .radio-card-inner {
    border-color: var(--blue-testai);
    background: #f0f9ee;
    color: var(--blue-testai);
}

.radio-card input[type="radio"]:checked + .radio-card-inner i {
    color: var(--blue-testai);
}

.radio-card:hover .radio-card-inner {
    border-color: #8cc488;
}

/* --- Privacy + submit --- */
.cambio-form .form-privacy {
    margin: 0 28px;
}

.cambio-form .btn-invia-full {
    align-self: stretch;
    text-align: center;
    margin: 16px 28px 0;
    padding: 16px;
    font-size: 15px;
}

.cambio-form .form-success {
    margin: 8px 28px 0;
}

/* --- Sidebar CTA card --- */
.ca-cta-card .ct-card-header {
    display: none;
}

.ca-cta-card-body {
    background: var(--blue-testai);
    padding: 28px 22px;
    text-align: center;
    border-radius: 10px;
}

.ca-cta-icon {
    font-size: 32px;
    color: var(--yellow-testai);
    display: block;
    margin-bottom: 12px;
}

.ca-cta-text {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    line-height: 1.55;
    margin-bottom: 16px;
}

.ca-cta-tel {
    display: inline-block;
    background: var(--yellow-testai);
    color: #1a2b1a;
    font-weight: 700;
    font-size: 15px;
    padding: 11px 26px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.ca-cta-tel:hover {
    opacity: 0.88;
}

/* --- Photo divider with CTA --- */
.ca-photo-divider {
    height: 380px;
    background-image: url('amministratori-condominio-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ca-photo-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 55, 0, 0.55);
}

.ca-photo-divider-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.ca-photo-divider-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.2;
}

.ca-photo-divider-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.88);
    max-width: 500px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.ca-photo-cta {
    display: inline-block;
    background-color: var(--yellow-testai);
    color: #1a2b1a;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.ca-photo-cta:hover {
    opacity: 0.9;
}

/* --- FAQ Section --- */
.ca-faq-section {
    background-color: #f5f8f5;
    padding: 80px 40px 100px;
}

.ca-faq-inner {
    max-width: 960px;
    margin: 0 auto;
}

.ca-faq-main-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 55px;
    position: relative;
    padding-bottom: 22px;
}

.ca-faq-main-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background-color: var(--yellow-testai);
}

.ca-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ca-faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    display: flex;
    gap: 0;
    overflow: hidden;
}

.ca-faq-num {
    background: var(--blue-testai);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.ca-faq-num-highlight {
    background: var(--dark-blue);
}

.ca-faq-highlight {
    border: 2px solid #b4d9af;
}

.ca-faq-body {
    padding: 26px 30px;
    flex: 1;
    min-width: 0;
}

.ca-faq-question {
    font-size: 17px;
    font-weight: 700;
    color: var(--blue-testai);
    margin-bottom: 12px;
    line-height: 1.35;
}

.ca-faq-highlight .ca-faq-question {
    color: var(--dark-blue);
}

.ca-faq-body p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.85;
    margin-bottom: 12px;
}

.ca-faq-body p:last-child {
    margin-bottom: 0;
}

.ca-faq-list {
    margin: 10px 0 14px 22px;
    list-style: disc;
}

.ca-faq-list li {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 5px;
}

.ca-faq-checklist {
    list-style: none;
    margin-left: 0;
}

.ca-faq-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ca-faq-checklist li i {
    color: var(--blue-testai);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.ca-faq-note {
    background: #f4faf3;
    border-left: 4px solid var(--blue-testai);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 13px !important;
    margin-top: 14px;
}

.ca-warning-box {
    background: #fffbea;
    border: 2px solid var(--yellow-testai);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 14px 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.ca-warning-box i {
    color: #e6a800;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ca-warning-box p {
    font-size: 13px !important;
    margin-bottom: 6px !important;
}

.ca-warning-list {
    list-style: none;
    margin: 4px 0 0 0;
    padding: 0;
}

.ca-warning-list li {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.75;
    padding-left: 16px;
    position: relative;
    margin-bottom: 3px;
}

.ca-warning-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #e6a800;
}

/* --- Responsive --- */
@media (max-width: 980px) {
    .cambio-inner { grid-template-columns: 1fr; }
    .cambio-content { padding: 60px 30px 70px; }
    .ca-title { font-size: 28px; }
    .ca-photo-divider { background-attachment: scroll; }
    .ca-benefits-strip { padding: 18px 30px; }
}

@media (max-width: 768px) {
    .cambio-content { padding: 50px 20px 60px; }
    .ca-title { font-size: 26px; }
    .form-row-3 { grid-template-columns: 1fr; }
    .ca-faq-section { padding: 60px 20px 70px; }
    .ca-faq-main-title { font-size: 24px; }
    .ca-faq-question { font-size: 16px; }
    .ca-photo-divider { height: 300px; background-attachment: scroll; }
    .ca-photo-divider-content h2 { font-size: 26px; }
    .ca-benefits-inner { gap: 14px 30px; }
    .form-block-title { padding: 16px 20px; }
    .form-block-body { padding: 20px; }
    .cambio-form .form-privacy { margin: 0 20px; }
    .cambio-form .btn-invia-full { margin: 16px 20px 0; }
    .cambio-form .form-success { margin: 8px 20px 0; }
    .ca-faq-num { min-width: 48px; font-size: 16px; }
    .ca-faq-body { padding: 20px 22px; }
}

@media (max-width: 560px) {
    .ca-benefits-strip { padding: 16px 20px; }
    .ca-benefit { font-size: 12px; gap: 10px; }
    .ca-benefit i { font-size: 20px; }
    .ca-title { font-size: 22px; }
    .cambio-content { padding: 40px 15px 50px; }
    .ca-photo-divider { height: 260px; }
    .ca-photo-divider-content h2 { font-size: 22px; }
    .ca-photo-divider-content p { font-size: 14px; }
    .ca-faq-num { min-width: 40px; font-size: 14px; }
    .ca-faq-body { padding: 18px 16px; }
    .radio-card-group { gap: 8px; }
}

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

/* --- CONTENUTO PRIVACY --- */
.privacy-content {
    background-color: #ffffff;
    padding: 70px 20px 90px;
}

.privacy-inner {
    max-width: 860px;
    margin: 0 auto;
}

.privacy-inner h2 {
    font-size: 26px;
    font-weight: 700;
    color: #387c30;
    margin: 45px 0 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ffbb02;
}

.privacy-inner h2:first-child {
    margin-top: 0;
}

.privacy-inner h3 {
    font-size: 18px;
    font-weight: 700;
    color: #4d5d6d;
    margin: 25px 0 10px;
}

.privacy-inner p {
    font-size: 15px;
    color: #4d5d6d;
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-inner ul {
    margin: 10px 0 20px 25px;
}

.privacy-inner ul li {
    font-size: 15px;
    color: #4d5d6d;
    line-height: 1.8;
    margin-bottom: 6px;
}

.privacy-inner a {
    color: #387c30;
    text-decoration: underline;
}

.privacy-inner a:hover {
    color: #006600;
}

.info-box {
    background-color: #f4faf3;
    border-left: 4px solid #387c30;
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.info-box p {
    margin-bottom: 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.cookie-table th {
    background-color: #387c30;
    color: #ffffff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 700;
}

.cookie-table td {
    padding: 11px 15px;
    border-bottom: 1px solid #e8f0e6;
    color: #4d5d6d;
    vertical-align: top;
}

.cookie-table tr:nth-child(even) td {
    background-color: #f9fcf8;
}

.last-update {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: #999;
    text-align: right;
}

.btn-cookie-settings {
    display: inline-block;
    background-color: #387c30;
    color: #ffffff;
    padding: 11px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.btn-cookie-settings:hover {
    background-color: #006600;
    color: #ffffff;
}

.btn-cookie-settings + p {
    margin-top: 20px;
}

/* ==============================
   COOKIE BANNER (barra in basso)
   ============================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #1a2b1a;
    padding: 22px 20px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-banner-icon {
    flex-shrink: 0;
    font-size: 28px;
    color: #ffbb02;
    display: flex;
    align-items: center;
}

.cookie-banner-text {
    flex: 1;
    min-width: 220px;
}

.cookie-banner-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.cookie-banner-text p {
    font-size: 13px;
    line-height: 1.65;
    color: #c8e6c4;
    margin: 0;
}

.cookie-banner-text a {
    color: #ffbb02;
    text-decoration: underline;
    font-weight: 700;
}

.cookie-banner-text a:hover {
    color: #ffe066;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-cookie-accept {
    background-color: #ffbb02;
    color: #1a2b1a;
    border: none;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    background-color: #e6a800;
}

.btn-cookie-reject {
    background-color: transparent;
    color: #c8e6c4;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-cookie-reject:hover {
    border-color: #ffffff;
    color: #ffffff;
}

@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .cookie-banner-actions {
        width: 100%;
    }
    .btn-cookie-accept,
    .btn-cookie-reject {
        flex: 1;
        text-align: center;
    }
}

/* ==============================
   HAMBURGER
   ============================== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

@media (max-width: 1024px) {
    .grid-layout { grid-template-columns: repeat(2, 1fr); }
    .page-banner-photo { height: 320px; }
    .page-banner-title { font-size: 42px; }

    .hamburger-btn { display: flex; }
    .header-action { display: none; }

    .nav-menu {
        position: fixed;
        top: calc(65px + 6mm);
        left: 0;
        right: 0;
        background: var(--blue-testai);
        z-index: 9999;
        padding: 6px 0 10px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.25);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
    .nav-menu.open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .nav-menu a {
        display: block;
        padding: 14px 24px;
        border-radius: 0;
        background: transparent;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        color: #ffffff;
        backdrop-filter: none;
    }
    .nav-menu a:last-child { border-bottom: none; }
    .nav-preventivo { display: list-item; }
}

@media (max-width: 980px) {
    .chi-siamo-inner,
    .servizi-inner,
    .contatti-inner { grid-template-columns: 1fr; }

    .cs-sidebar,
    .sv-sidebar,
    .ct-sidebar { position: static; }

    .chi-siamo-content,
    .servizi-content,
    .contatti-content { padding: 60px 30px 70px; }

    .footer-grid { grid-template-columns: 1fr 1fr; }

    .section-title { font-size: 34px; }
    .cs-title, .sv-title, .ct-title { font-size: 28px; }
    .page-banner-title { font-size: 38px; }
}

@media (max-width: 900px) {
    .hero-section { min-height: 680px; }
    .hero-box { margin-top: 2cm; max-width: 90%; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    .hero-section { min-height: 560px; }
    .hero-box { padding: 35px 28px; margin-top: 1.5cm; }
    .hero-box h1 { font-size: 25px; }
    .hero-box p { font-size: 18px; max-width: 100%; }

    .page-banner-photo { height: 260px; }
    .page-banner-privacy { height: 240px; }
    .page-banner-photo .page-banner-content { padding: 0 20px; }
    .page-banner-title { font-size: 32px; }

    .form-row { grid-template-columns: 1fr; }
    .sv-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .chi-siamo-content,
    .servizi-content,
    .contatti-content { padding: 50px 20px 60px; }
    .privacy-content { padding: 50px 20px 70px; }

    .section-title { font-size: 28px; }
    .cs-title, .sv-title, .ct-title { font-size: 26px; }
    .sedi-title { font-size: 28px; }

    .services-grid { padding: 70px 0; }
    .section-header { margin-bottom: 50px; }
    .intro-title { font-size: 26px; }
    .perche-text { font-size: 15px; }
}

@media (max-width: 600px) {
    .grid-layout { grid-template-columns: 1fr; }

    .hero-section { min-height: 480px; background-size: cover; }
    .hero-box { padding: 28px 22px; max-width: 95%; margin-top: 1cm; }
    .hero-box h1 { font-size: 23px; }
    .hero-box p { font-size: 16px; }

    .page-banner-photo { height: 220px; }
    .page-banner-privacy { height: 210px; }
    .page-banner-title { font-size: 26px; }

    .scopri-servizi-section { min-height: 360px; }
    .scopri-content h2 { font-size: 22px; }
    .scopri-content { gap: 20px; padding: 60px 20px; }

    .footer-grid { gap: 30px; }
    .main-footer { padding: 50px 0 0; }

    .logo img { max-height: 48px; width: auto; transform: none; }
    .footer-logo { height: 48px; }
}

@media (max-width: 480px) {
    .hero-section { min-height: 420px; }
    .hero-box h1 { font-size: 21px; }

    .page-banner-photo { height: 200px; }
    .page-banner-privacy { height: 190px; }
    .page-banner-title { font-size: 24px; }

    .section-title { font-size: 24px; }
    .section-title::after { width: 100px; }
    .cs-title, .sv-title, .ct-title { font-size: 22px; }
    .sedi-title { font-size: 24px; }

    .perche-section { padding: 50px 20px 60px; }
    .services-grid { padding: 55px 0; }
    .sedi-section { padding: 60px 15px; }
}

@media (max-width: 425px) {
    .hero-section { min-height: 380px; }
    .hero-box { padding: 24px 18px; }
    .hero-box h1 { font-size: 19px; }
    .hero-box p { font-size: 15px; }
    .valorizzazione { font-size: 13px !important; margin: 20px 0 18px 0 !important; }

    .logo img { max-height: 42px; }
    .footer-logo { height: 42px; }

    .page-banner-photo { height: 180px; padding-bottom: 30px; }
    .page-banner-privacy { height: 175px; padding-bottom: 30px; }
    .page-banner-title { font-size: 22px; }

    .chi-siamo-content,
    .servizi-content,
    .contatti-content { padding: 40px 15px 50px; }
    .privacy-content { padding: 40px 15px 60px; }

    .cs-title, .sv-title, .ct-title { font-size: 20px; }
    .btn-invia { align-self: stretch; text-align: center; }
    .search-box select { font-size: 16px; }
    .service-card img { height: 140px; }
}

@media (max-width: 375px) {
    .hero-section { min-height: 360px; }
    .hero-box { padding: 20px 15px; }

    .page-banner-photo { height: 165px; }
    .page-banner-privacy { height: 160px; }
    .page-banner-title { font-size: 20px; }

    .section-title { font-size: 22px; }
    .cs-title, .sv-title, .ct-title { font-size: 18px; }

    .logo img { max-height: 38px; }
    .footer-logo { height: 38px; }
}

@media (max-width: 320px) {
    .hero-box { padding: 18px 14px; }
    .hero-box h1 { font-size: 17px; }
    .page-banner-photo { height: 150px; }
    .page-banner-privacy { height: 145px; }
    .page-banner-title { font-size: 18px; }
    .section-title { font-size: 20px; }
    .cs-title, .sv-title, .ct-title { font-size: 18px; }
    .chi-siamo-content,
    .servizi-content,
    .contatti-content { padding: 35px 12px 40px; }
    .privacy-content { padding: 35px 12px 50px; }

    .logo img { max-height: 34px; }
    .footer-logo { height: 34px; }
}