/* ============================================================
   SPURGHI POZZI NERI CESENA — STYLE.CSS
   Palette: Azzurro / Bianco / Blu Navy (da direttiva cliente)
   ============================================================ */

:root {
    --navy: #0A2540;
    --navy-light: #123A5E;
    --azzurro: #1C8FDC;
    --azzurro-dark: #0E6FB0;
    --azzurro-light: #EAF6FD;
    --white: #FFFFFF;
    --gray-100: #F4F7F9;
    --gray-300: #D7E1E8;
    --text: #233240;
    --text-light: #5B6B79;
    --danger: #D62839;
    --success: #1E8E3E;

    --radius: 14px;
    --radius-pill: 50px;
    --shadow: 0 10px 30px rgba(10, 37, 64, .08);
    --shadow-lg: 0 20px 50px rgba(10, 37, 64, .15);
    --transition: .25s ease;
    --header-height: 96px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: var(--text);
    background: var(--white);
    line-height: 1.5;
    overflow-x: clip;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
}
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 .5em;
    line-height: 1.15;
}

p { margin: 0 0 1em; color: var(--text-light); }

a { color: var(--azzurro-dark); text-decoration: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    vertical-align: middle;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 14px;
    color: var(--azzurro-dark);
    margin-bottom: 10px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading h2 { font-size: 34px; }

/* ============ BOTTONI ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 16px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-lg { padding: 17px 34px; font-size: 18px; }

.btn-primary {
    background: var(--azzurro);
    border-color: var(--azzurro);
    color: var(--white);
}
.btn-primary:hover { background: var(--azzurro-dark); border-color: var(--azzurro-dark); }

.btn-secondary {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}
.btn-secondary:hover { background: var(--navy-light); border-color: var(--navy-light); }

.btn-outline {
    background: transparent;
    border-color: var(--azzurro);
    color: var(--azzurro-dark);
}
.btn-outline:hover { background: var(--azzurro); color: var(--white); }
.btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: var(--white);
}
.btn-whatsapp:hover {
    background: #1DA851;
    border-color: #1DA851;
    color: var(--white);
}
/* ============ FLASH MESSAGE ============ */
.flash-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 90%;
    background: var(--white);
    animation: slideDown .3s ease;
}
.flash-success { border-left: 5px solid var(--success); }
.flash-error { border-left: 5px solid var(--danger); }
.flash-success .material-symbols-rounded { color: var(--success); }
.flash-error .material-symbols-rounded { color: var(--danger); }
.flash-message p { margin: 0; color: var(--text); font-size: 15px; }
.flash-close {
    background: none; border: none; font-size: 20px; cursor: pointer;
    color: var(--text-light); line-height: 1; margin-left: 8px;
}
@keyframes slideDown {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ============ HEADER / NAVBAR ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 150;
    border-bottom: 1px solid rgba(215, 225, 232, .6);
    transition: box-shadow var(--transition);
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.site-header.is-scrolled {
    box-shadow: 0 2px 8px rgba(10, 37, 64, .06);
}

.topbar {
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    flex-wrap: wrap;
    gap: 6px;
}
.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
}
.topbar-item .material-symbols-rounded { font-size: 18px; }
.topbar-orari { opacity: .85; }

.navbar {
    width: 100%;
    background: transparent;
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.navbar-brand img { height: 56px; width: auto; }

/* ============ NAV MENU: comportamento DESKTOP (riga normale nella navbar) ============ */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 26px;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 700;
    color: var(--navy);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--azzurro-dark); border-bottom-color: var(--azzurro); }

.nav-cta { padding: 12px 22px; font-size: 15px; }

.navbar-toggler {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.navbar-toggler span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--navy);
    border-radius: 3px;
    transition: var(--transition);
}
.navbar-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

@media screen and (max-width: 991px) {
    .navbar-toggler { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85%);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 30px 30px;
        gap: 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,.15);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 140;
    }
    .nav-menu.is-open {
        transform: translateX(0);
    }

    .nav-menu-close {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        padding: 0;
        align-items: center;
        justify-content: center;
        color: var(--navy);
        cursor: pointer;
    }
    .nav-menu-close .material-symbols-rounded {
        font-size: 26px;
        pointer-events: none;
    }

    .nav-list { flex-direction: column; gap: 22px; }
    .nav-cta { width: 100%; justify-content: center; }
}

/* ============================================================
   MOBILE FAB — Telefono (sx) e WhatsApp (dx), SOLO sotto i 768px
   ============================================================ */
.mobile-fab {
    display: none;
    position: fixed;
    bottom: 16px;
    z-index: 950;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}
.mobile-fab-call { left: 16px; background: var(--azzurro); }
.mobile-fab-whatsapp { right: 16px; background: #25D366; }

@media screen and (max-width: 767px) {
    .mobile-fab { display: flex; }
}

/* ============ BACK TO TOP — SOLO DESKTOP/TABLET (min-width 768px) ============ */
.back-to-top {
    display: none;
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 90;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}
.back-to-top:hover { background: var(--navy-light); }

@media screen and (min-width: 768px) {
    .back-to-top.is-visible {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ LIGHTBOX ============ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10, 37, 64, .92);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox-img {
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,37,64,.55) 0%, rgba(28,143,220,.75) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    max-width: 800px;
}
.hero-content h1 {
    color: var(--white);
    font-size: 62px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-content h2 {
    color: var(--white);
    font-weight: 300;
    font-size: 24px;
    margin-bottom: 34px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-actions .btn-outline { border-color: var(--white); color: var(--white); }
.hero-actions .btn-outline:hover { background: var(--white); color: var(--navy); }

/* ============ URGENZE ============ */
.urgenze { background: var(--azzurro-light); padding: 50px 0; }
.urgenze-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.badge-urgenza {
    display: inline-block;
    background: var(--danger);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}
.urgenze-testo h2 { font-size: 26px; margin-bottom: 6px; }
.urgenze-testo p { margin: 0; }

/* ============ SEZIONI GENERICHE ============ */
section { padding: 90px 0; }

/* ============ SERVIZI: TEASER HOME ============ */
.servizi-teaser { background: var(--white); }
.service-teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-teaser-card {
    position: relative;
    display: flex;
    min-height: 380px;
    border-radius: var(--radius);
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
}
.service-teaser-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,37,64,.15) 0%, rgba(10,37,64,.9) 100%);
}
.service-teaser-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-teaser-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 18px;
}
.service-teaser-content h3 { color: var(--white); margin-bottom: 8px; }
.service-teaser-content p { color: rgba(255,255,255,.85); font-size: 14px; margin: 0; }
.service-teaser-content .btn { align-self: flex-start; font-size: 14px; padding: 10px 18px; }

.servizi-teaser-cta { text-align: center; margin-top: 40px; }

/* ============ SERVIZI: GRID DETTAGLIATA ============ */
.servizi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.servizio-card {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}
.servizio-card:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    border-color: var(--gray-300);
    transform: translateY(-4px);
}
.servizio-icon {
    font-size: 40px;
    color: var(--azzurro);
    background: var(--azzurro-light);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.servizio-card h3 { font-size: 18px; margin-bottom: 8px; }
.servizio-card p { font-size: 15px; margin: 0; }

/* ============ SETTORI: HOTEL, RISTORANTI, BAR ============ */
.settori { background: var(--gray-100); }

.settore-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.settore-row + .settore-row { margin-top: 70px; }

.settore-row-reverse .settore-media { order: 2; }
.settore-row-reverse .settore-content { order: 1; }

.settore-media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.settore-icon {
    font-size: 34px;
    color: var(--azzurro);
    background: var(--azzurro-light);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.settore-content h3 { font-size: 24px; margin-bottom: 12px; }
.settore-content p { margin: 0; }

@media screen and (min-width: 768px) {
    .settore-content h3 { font-size: 26px; }
}

@media screen and (max-width: 767px) {
    .settore-row { grid-template-columns: 1fr; gap: 24px; }
    .settore-row-reverse .settore-media { order: 1; }
    .settore-row-reverse .settore-content { order: 2; }
    .settore-row + .settore-row { margin-top: 40px; }
}

/* ============ CHI SIAMO: TEASER HOME ============ */
.chi-siamo-teaser {
    position: relative;
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
    color: var(--white);
}
.chi-siamo-teaser::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,37,64,.95) 0%, rgba(10,37,64,.55) 100%);
}
.chi-siamo-teaser-box {
    position: relative;
    z-index: 1;
    max-width: 560px;
    padding: 60px 0;
}
.chi-siamo-teaser-box h2,
.chi-siamo-teaser-box p { color: var(--white); }
.chi-siamo-teaser-box p { color: rgba(255,255,255,.8); }

/* ============ CHI SIAMO: DETTAGLIO ============ */
.chi-siamo { background: var(--gray-100); }
.chi-siamo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.chi-siamo-media {
    position: relative;
    display: flex;
    justify-content: center;
}
.foto-epoca {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: 360px;
    border-radius: var(--radius);
    box-shadow: 0 8px 20px rgba(10, 37, 64, .15);
}
.foto-oggi {
    position: absolute;
    bottom: -45px;
    right: -30px;
    width: 60%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    box-shadow: 0 8px 20px rgba(10, 37, 64, .15);
    border: 6px solid var(--white);
}
.counters {
    display: flex;
    gap: 36px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.counter-num {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: var(--azzurro-dark);
}
.counter-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
}

/* ============ AREE DI INTERVENTO ============ */
.zone-mappa-wrap {
    position: relative;
    max-width: 1280px;
    margin: 0 auto 36px;
    box-shadow:
        0 12px 30px rgba(10, 37, 64, .18),
        inset 0 -3px 10px rgba(10, 37, 64, .15),
        inset 0 3px 10px rgba(255, 255, 255, .25);
}
.zone-mappa-img {
    width: 100%;
    height: auto;
    display: block;
}
.zone-mappa-crop {
    position: relative;
    overflow: hidden;
    height: 520px;
    border-radius: var(--radius);
}

.zone-mappa-iframe {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: calc(520px + 60px);
    border: 0;
    display: block;
}
@media screen and (max-width: 767px) {
    .zone-mappa-crop { height: 380px; }
    .zone-mappa-iframe { height: calc(380px + 60px); }
}
.zoom-badge {
    display: none;
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(10, 37, 64, .75);
    color: var(--white);
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
@media screen and (max-width: 767px) {
    .zone-mappa-img { cursor: zoom-in; }
    .zoom-badge { display: flex; }
}

.zone-list-row {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.zone-list-row li { display: contents; }
.zone-list-row li a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--azzurro-light);
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    color: var(--navy);
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}
.zone-list-row li a:hover {
    background: var(--azzurro);
    color: var(--white);
    transform: translateY(-2px);
}
.zone-list-row li a .material-symbols-rounded {
    color: var(--azzurro-dark);
    font-size: 20px;
    transition: var(--transition);
}
.zone-list-row li a:hover .material-symbols-rounded {
    color: var(--white);
}

.zone-caption {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}
.zone-caption strong { color: var(--navy); font-weight: 700; }

/* ============ PUNTI DI FORZA ============ */
.punti-forza { background: var(--navy); padding: 70px 0; }
.punti-forza-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.punto-forza .material-symbols-rounded {
    font-size: 42px;
    color: var(--azzurro);
    margin-bottom: 14px;
}
.punto-forza h3 { color: var(--white); font-size: 17px; margin-bottom: 6px; }
.punto-forza p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; }

/* ============ CERTIFICAZIONI ============ */
.certificazioni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.certificazione-badge {
    background: var(--azzurro-light);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
}
.certificazione-badge .material-symbols-rounded {
    font-size: 38px;
    color: var(--azzurro-dark);
    margin-bottom: 12px;
}
.certificazione-badge p { margin: 0; font-weight: 700; color: var(--navy); }

/* ============ MOSAICO ============ */
.mosaico-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.mosaico-item-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
}
.mosaico-item-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media screen and (max-width: 768px) {
    .mosaico-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ============ RECENSIONI ============ */
.recensioni { text-align: center; }

/* ============ CTA FINALE ============ */
.cta-finale {
    background: var(--azzurro-light);
    text-align: center;
}
.cta-finale-inner { max-width: 700px; margin: 0 auto; }
.cta-finale-inner .hero-actions { justify-content: center; margin-top: 24px; }
.cta-finale-inner .btn-outline { border-color: var(--azzurro-dark); color: var(--azzurro-dark); }
.cta-finale-inner .btn-outline:hover { background: var(--azzurro-dark); color: var(--white); }

/* ============ PREVENTIVI: FORM + CONTATTI RAPIDI ============ */
.preventivi { background: var(--gray-100); }

.preventivi-inner {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
    align-items: start;
}
.preventivi-testo h2 { color: var(--navy); }
.preventivi-testo p { color: var(--text-light); }

.preventivi-contatti-rapidi {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.preventivi-contatti-rapidi li {
    display: flex;
    align-items: center;
    gap: 14px;
}
.preventivi-contatti-rapidi .material-symbols-rounded {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--azzurro-light);
    color: var(--azzurro-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.preventivi-contatti-rapidi strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
    margin-bottom: 2px;
}
.preventivi-contatti-rapidi a {
    color: var(--text-light);
    font-size: 16px;
}
.preventivi-contatti-rapidi a:hover { color: var(--azzurro-dark); }

.form-preventivo {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    box-shadow: var(--shadow-lg);
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group-full { grid-column: 1 / -1; }
.form-group label { font-weight: 700; font-size: 14px; color: var(--navy); }
.form-group input,
.form-group textarea {
    font-family: inherit;
    font-size: 16px;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-300);
    border-radius: 8px;
    background: var(--gray-100);
    transition: var(--transition);
    color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azzurro);
    background: var(--white);
}
.form-group input.is-invalid,
.form-group textarea.is-invalid { border-color: var(--danger); background: #FFF3F4; }
.form-error {
    font-size: 13px;
    color: var(--danger);
    min-height: 16px;
}
.form-privacy {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}
.form-privacy label { font-weight: 400; font-size: 14px; color: var(--text-light); }
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; }
.form-submit { grid-column: 1 / -1; justify-self: start; }

/* ============ PREVENTIVI: VANTAGGI ============ */
.preventivi-vantaggi { background: var(--white); }

.preventivi-vantaggi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.vantaggio-card {
    background: var(--azzurro-light);
    border-radius: var(--radius);
    padding: 30px 22px;
    text-align: center;
}
.vantaggio-card .material-symbols-rounded {
    font-size: 34px;
    color: var(--azzurro-dark);
    background: var(--white);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow);
}
.vantaggio-card h3 { font-size: 17px; margin-bottom: 8px; }
.vantaggio-card p { font-size: 14px; margin: 0; }

@media screen and (min-width: 768px) {
    .vantaggio-card h3 { font-size: 18px; }
    .vantaggio-card p { font-size: 15px; }
}

@media screen and (max-width: 991px) {
    .preventivi-vantaggi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 576px) {
    .preventivi-vantaggi-grid { grid-template-columns: 1fr; }
}

/* ============ CONTATTI: BLOCCHI GRANDI CLICCABILI ============ */
.contatti-grandi { background: var(--white); }

.contatti-grandi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 44px;
}

.contatto-grande {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 26px 24px;
    transition: var(--transition);
}
a.contatto-grande:hover {
    background: var(--azzurro-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.contatto-grande .material-symbols-rounded {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--azzurro);
    color: var(--white);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contatto-grande-urgenze .material-symbols-rounded { background: var(--danger); }
.contatto-grande-static .material-symbols-rounded { background: var(--navy); }

.contatto-grande strong {
    display: block;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-light);
    margin-bottom: 4px;
}
.contatto-grande span {
    display: block;
    font-size: 21px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
}

.contatti-cta-chiama { text-align: center; }
.contatti-cta-chiama .btn { width: 100%; max-width: 420px; justify-content: center; }

@media screen and (min-width: 768px) {
    .contatto-grande span { font-size: 23px; }
    .contatti-cta-chiama .btn { width: auto; }
}

@media screen and (max-width: 767px) {
    .contatti-grandi-grid { grid-template-columns: 1fr; }
    .contatto-grande { padding: 22px 20px; }
    .contatto-grande .material-symbols-rounded { width: 56px; height: 56px; font-size: 26px; }
    .contatto-grande span { font-size: 19px; }
}

/* ============ CONTATTI: MAPPA ============ */
.contatti-mappa { background: var(--gray-100); }

.contatti-mappa-wrap {
    max-width: 1600px;
}
.contatti-mappa-iframe {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
}

@media screen and (max-width: 767px) {
    .contatti-mappa-iframe { height: 340px; }
}

/* ============ CERTIFICAZIONI: TESTO INTRODUTTIVO ============ */
.certificazioni-intro { background: var(--white); padding: 50px 0 10px; }
.certificazioni-intro-text {
    max-width: 760px;
    margin: 0 auto;
}
.certificazioni-intro-text p {
    text-align: left;
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 18px;
}
.certificazioni-intro-text p:last-child { margin-bottom: 0; }
.certificazioni-intro-text strong { color: var(--navy); font-weight: 700; }

@media screen and (min-width: 768px) {
    .certificazioni-intro-text p { font-size: 17px; }
}

/* ============ CERTIFICAZIONI: CARD PRINCIPALI ============ */
.certificazioni-principali { background: var(--gray-100); }

.certificazioni-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.certificazione-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}
.certificazione-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.certificazione-card-icon {
    font-size: 40px;
    color: var(--azzurro);
    background: var(--azzurro-light);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.certificazione-card h3 { font-size: 19px; margin-bottom: 8px; }

.certificazione-card-numero {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--azzurro-dark);
    margin-bottom: 14px;
}

.certificazione-card p:not(.certificazione-card-numero) {
    font-size: 15px;
    flex: 1;
    margin-bottom: 24px;
}

.certificazione-card-btn { font-size: 14px; padding: 10px 22px; }

@media screen and (min-width: 768px) {
    .certificazione-card h3 { font-size: 21px; }
    .certificazione-card p:not(.certificazione-card-numero) { font-size: 16px; }
}

/* ============ PUBBLICA AMMINISTRAZIONE ============ */
.pa-section { background: var(--navy); padding: 70px 0; }
.pa-section-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.pa-section-icon {
    flex-shrink: 0;
    font-size: 44px;
    color: var(--white);
    background: rgba(255,255,255,.12);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pa-section-inner h2 { color: var(--white); font-size: 26px; margin-bottom: 10px; }
.pa-section-inner p { color: rgba(255,255,255,.8); margin: 0; }

@media screen and (max-width: 767px) {
    .pa-section-inner { flex-direction: column; text-align: center; gap: 20px; }
}

/* ============ PARTNER E AZIENDE SERVITE ============ */
.partner-loghi { background: var(--white); }
.partner-loghi-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.partner-logo-box {
    aspect-ratio: 1 / 1;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-logo-box .material-symbols-rounded {
    font-size: 34px;
    color: var(--text-light);
}

@media screen and (max-width: 991px) {
    .certificazioni-cards-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .partner-loghi-grid { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 576px) {
    .partner-loghi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ CHI SIAMO: CONTATORI ESTESI ============ */
.chi-siamo-contatori { background: var(--white); padding: 60px 0; }
.counters-full {
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin: 0;
}
.counters-full .counter { text-align: center; }

/* ============ LA NOSTRA SQUADRA ============ */
.squadra { background: var(--gray-100); }
.squadra-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.membro-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}
.membro-foto {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--azzurro-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.membro-foto .material-symbols-rounded {
    font-size: 44px;
    color: var(--azzurro-dark);
}
.membro-card h3 { font-size: 17px; margin-bottom: 4px; }
.membro-card p { font-size: 14px; margin: 0; }

.flotta { background: var(--white); }

.flotta-hero {
    margin-bottom: 20px;
}
.flotta-hero img,
.flotta-grid-liberi img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    cursor: pointer;
    transition: var(--transition);
}
.flotta-hero img:hover,
.flotta-grid-liberi img:hover {
    transform: translateY(-4px);
}

.flotta-grid-liberi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -30px;
}

@media screen and (max-width: 767px) {
    .flotta-hero img,
    .flotta-grid-liberi img { max-height: 260px; }
}

/* ============================================================
   GOOGLE REVIEWS WIDGET
   ============================================================ */
.gr-widget { max-width: 100%; }

.gr-header {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.gr-header-left { display: flex; flex-direction: column; gap: 6px; }
.gr-logo-line {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
}
.gr-logo-line strong { color: var(--navy); margin-left: 6px; }

.gr-rating-line { display: flex; align-items: center; gap: 8px; }
.gr-rating-num { font-size: 26px; font-weight: 700; color: var(--navy); }
.gr-stars { display: inline-flex; gap: 2px; }
.gr-star { font-size: 20px; color: var(--gray-300); }
.gr-star.is-filled {
    color: #F5B301;
    font-variation-settings: 'FILL' 1;
}
.gr-count { font-size: 14px; color: var(--text-light); }

.gr-cta { flex-shrink: 0; }

@media screen and (max-width: 767px) {
    .gr-header { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px; }
    .gr-cta { width: 100%; justify-content: center; }
}

/* ============ CAROSELLO ============ */
.gr-carousel { position: relative; }

.gr-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 4px 4px 8px;
    scrollbar-width: none;
}
.gr-track::-webkit-scrollbar { display: none; }

.gr-card {
    flex: 0 0 calc(100% - 8px);
    scroll-snap-align: start;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 768px) {
    .gr-card { flex-basis: calc(50% - 12px); }
}
@media screen and (min-width: 1100px) {
    .gr-card { flex-basis: calc(33.333% - 14px); }
}

.gr-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.gr-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--white);
    font-weight: 700;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gr-avatar-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px var(--white);
}
.gr-card-identity { display: flex; flex-direction: column; }
.gr-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.gr-verified { font-size: 15px; color: var(--azzurro); font-variation-settings: 'FILL' 1; }
.gr-date { font-size: 12px; color: var(--text-light); cursor: default; }

.gr-card .gr-stars { margin-bottom: 12px; }
.gr-card .gr-star { font-size: 17px; }

.gr-text-wrap { flex: 1; }
.gr-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gr-text.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
.gr-readmore {
    background: none;
    border: none;
    color: var(--azzurro-dark);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 0 0;
    cursor: pointer;
}

/* ============ FRECCE ============ */
.gr-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--navy);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 5;
    transition: var(--transition);
}
.gr-arrow:hover { background: var(--azzurro); color: var(--white); border-color: var(--azzurro); }
.gr-arrow-prev { left: -20px; }
.gr-arrow-next { right: -20px; }

@media screen and (min-width: 992px) {
    .gr-arrow { display: flex; }
}

/* ============ DOTS ============ */
.gr-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.gr-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}
.gr-dot.is-active {
    background: var(--azzurro);
    width: 22px;
    border-radius: var(--radius-pill);
}

/* ============================================================
   FONT +2px — SOLO DESKTOP/TABLET (min-width: 768px)
   ============================================================ */
@media screen and (min-width: 768px) {
    body { font-size: 19px; }

    .section-heading h2 { font-size: 36px; }
    .eyebrow { font-size: 16px; }

    .hero-content h1 { font-size: 64px; }
    .hero-content h2 { font-size: 26px; }

    .urgenze-testo h2 { font-size: 28px; }

    .btn { font-size: 18px; }
    .btn-lg { font-size: 20px; }

    .servizio-card h3 { font-size: 20px; }
    .servizio-card p { font-size: 17px; }

    .service-teaser-content h3 { font-size: 22px; }

    .counter-num { font-size: 42px; }
    .counter-label { font-size: 16px; }

    .zone-list-row li { font-size: 17px; }
    .zone-caption { font-size: 17px; }

    .punto-forza h3 { font-size: 19px; }
    .punto-forza p { font-size: 16px; }

    .contatto-card h3 { font-size: 18px; }
    .contatto-card p { font-size: 16px; }
}

/* ============ PAGE HERO ============ */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 0;
    text-align: center;
}
.page-hero .eyebrow { color: var(--azzurro); }
.page-hero h1 { color: var(--white); font-size: 42px; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto; }

@media screen and (min-width: 768px) {
    .page-hero h1 { font-size: 46px; }
}

/* ============ VETRINA SERVIZI ============ */
.servizi-vetrina { background: var(--white); }

.servizi-vetrina-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media screen and (max-width: 991px) {
    .servizi-vetrina-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 576px) {
    .servizi-vetrina-grid { grid-template-columns: 1fr; }
}

/* ============ TESTO INTRODUTTIVO SERVIZI ============ */
.servizi-intro {
    background: var(--white);
    padding: 50px 0 10px;
}
.servizi-intro-text {
    max-width: 760px;
    margin: 0 auto;
}
.servizi-intro-text p {
    text-align: left;
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 18px;
}
.servizi-intro-text p:last-child { margin-bottom: 0; }

@media screen and (min-width: 768px) {
    .servizi-intro-text p { font-size: 17px; }
}

.servizio-vetrina-card {
    display: flex;
    flex-direction: column;
    background: var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.servizio-vetrina-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.servizio-vetrina-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
}
.servizio-vetrina-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.servizio-vetrina-icon {
    position: absolute;
    bottom: -22px;
    left: 22px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--azzurro);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: var(--shadow);
    border: 4px solid var(--gray-100);
}

.servizio-vetrina-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 34px 24px 24px;
}
.servizio-vetrina-content h3 { font-size: 19px; margin-bottom: 10px; }
.servizio-vetrina-content p { font-size: 15px; flex: 1; margin-bottom: 20px; }

.servizio-vetrina-btn {
    align-self: flex-start;
    font-size: 14px;
    padding: 10px 20px;
}

@media screen and (min-width: 768px) {
    .servizio-vetrina-content h3 { font-size: 21px; }
    .servizio-vetrina-content p { font-size: 16px; }
}


/* ============ FOOTER ============ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 70px 0 30px; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-title { color: var(--white); font-size: 16px; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-address, .footer-col p {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,.75); font-size: 14px;
}
.footer-links a:hover { color: var(--azzurro); }
.footer-small { font-size: 12px; opacity: .6; color: rgba(255,255,255,.6); }
.footer-zone-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-zone-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.footer-col .material-symbols-rounded { font-size: 18px; color: var(--azzurro); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.footer-copy, .footer-credit { font-size: 13px; margin: 0; color: rgba(255,255,255,.5); }

/* ============================================================
   RESPONSIVE (layout)
   ============================================================ */
@media screen and (max-width: 1100px) {
    .servizi-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 991px) {
    .service-teaser-grid,
    .chi-siamo-grid,
    .preventivi-inner { grid-template-columns: 1fr; }

    .punti-forza-grid,
    .certificazioni-grid,
    .recensioni-grid,
    .contatti-cards { grid-template-columns: repeat(2, 1fr); }

    .form-preventivo { grid-template-columns: 1fr; }

    .chi-siamo-media { margin-bottom: 40px; }
}

@media screen and (max-width: 768px) {
    section { padding: 60px 0; }
    .servizi-grid { grid-template-columns: repeat(2, 1fr); }
    /* .mosaico-grid già definito sopra, nessun duplicato qui */
    .urgenze-inner { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media screen and (max-width: 576px) {
    .hero-content h1 { font-size: 34px; }
    .hero-content h2 { font-size: 18px; }
    .servizi-grid,
    .punti-forza-grid,
    .certificazioni-grid,
    .recensioni-grid,
    .contatti-cards { grid-template-columns: 1fr; }
    .topbar-inner { flex-direction: column; align-items: flex-start; }
}


/* ============ CONTATTI: card Orari (coerente con .contatto-grande) ============ */
.contatto-grande-orari {
    align-items: flex-start;
    cursor: default;
}
.contatto-grande-orari-body {
    flex: 1;
    min-width: 0;
}
.contatto-grande-orari .orari-lista {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}
.contatto-grande-orari .orari-lista li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    padding: 4px 0;
}
.contatto-grande-orari .orari-lista li strong {
    color: var(--navy);
    font-weight: 700;
}
.contatto-grande-orari .orari-lista li span {
    color: var(--text-light);
    text-align: right;
}

@media screen and (max-width: 767px) {
    .contatto-grande-orari .orari-lista li {
        flex-direction: column;
        gap: 2px;
    }
    .contatto-grande-orari .orari-lista li span {
        text-align: left;
    }
}

/* ============ PAGINE LEGALI (Privacy / Cookie Policy) ============ */
.legal-page { background: var(--white); }
.legal-page-text {
    max-width: 800px;
    margin: 0 auto;
}
.legal-updated {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 30px;
}
.legal-page-text h2 {
    font-size: 22px;
    margin-top: 36px;
    margin-bottom: 12px;
}
.legal-page-text h2:first-of-type { margin-top: 0; }
.legal-page-text h3 {
    font-size: 17px;
    margin-top: 20px;
    margin-bottom: 8px;
}
.legal-page-text p {
    font-size: 15px;
    line-height: 1.75;
}
.legal-page-text a { text-decoration: underline; }

/* ============ COOKIE BANNER (GDPR) ============ */
.cookie-banner {
    display: none;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2000;
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 24px;
}
.cookie-banner.is-visible { display: block; }

.cookie-banner-text h3 { font-size: 18px; margin-bottom: 8px; }
.cookie-banner-text p { font-size: 14px; margin: 0 0 16px; }
.cookie-banner-text a { text-decoration: underline; }

.cookie-banner-categories {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-300);
}
.cookie-category {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
.cookie-category input { margin-top: 4px; }
.cookie-category strong { display: block; font-size: 14px; color: var(--navy); }
.cookie-category small { display: block; font-size: 13px; color: var(--text-light); }

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cookie-banner-actions .btn { font-size: 14px; padding: 10px 18px; }

@media screen and (max-width: 576px) {
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
    .cookie-banner-actions { flex-direction: column; }
    .cookie-banner-actions .btn { width: 100%; justify-content: center; }
}

.nav-menu-close {
    display: none;
}

@media screen and (max-width: 991px) {
    .nav-menu-close {
        display: flex;
        position: absolute;
        top: 18px;
        right: 18px;
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        padding: 0;
        align-items: center;
        justify-content: center;
        color: var(--navy);
        cursor: pointer;
    }
    .nav-menu-close .material-symbols-rounded {
        font-size: 26px;
        pointer-events: none;
    }
}

/* ============ FOTO AGGIUNTIVA SERVIZIO (pagine servizi/*.php) ============ */
.servizio-foto-extra { background: var(--white); padding-top: 0; }
.servizio-foto-extra-box {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.servizio-foto-extra-box img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}
@media screen and (max-width: 767px) {
    .servizio-foto-extra-box img { height: 260px; }
}

/* ============ LIGHTBOX FLOTTA (slider dedicato, separato da quello della mappa) ============ */
.flotta-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 37, 64, .94);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.flotta-lightbox.is-open { display: flex; }
.flotta-lightbox-img {
    max-width: 85vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
}
.flotta-lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}
.flotta-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 5;
}
.flotta-lightbox-prev { left: 20px; }
.flotta-lightbox-next { right: 20px; }
.flotta-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 14px;
    background: rgba(0,0,0,.3);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
}

@media screen and (max-width: 576px) {
    .flotta-lightbox-arrow { width: 42px; height: 42px; }
    .flotta-lightbox-prev { left: 10px; }
    .flotta-lightbox-next { right: 10px; }
}