/**
 * Sito Pulizie - Main CSS
 * Mobile-first, no framework, variabili CSS
 *
 * INDICE
 * 1. Variabili & Root
 * 2. Reset & Base
 * 3. Utility
 * 4. Container
 * 5. Top Header
 * 6. Bottone Telefono
 * 7. Menu Bar
 * 8. Hero Section
 * 9. (riservato)
 * 10. Servizi
 * 11. Card Servizi
 * 12. CTA Section
 * 13. Form Section
 * 14. City Content
 * 15. Breadcrumb
 * 16. Footer
 * 17. Responsive
 */

/* ═══════════════════════════════════════════════
   1. VARIABILI & ROOT
   ═══════════════════════════════════════════════ */
:root {
    /* Colori */
    --color-top-bg: #d2e3f3;
    --color-menu-bg: #30426a;
    --color-menu-text: #f4f8ff;
    --color-primary-blue: #2f5f98;
    --color-primary-blue-dark: #254c7d;
    --color-primary-blue-light: #7fb6e3;
    --color-surface: #ffffff;
    --color-surface-soft: #f4f8fc;
    --color-text-main: #18233d;
    --color-text-dark: #111111;
    --color-text-muted: #33425c;
    --color-accent-orange: #de7a22;
    --color-accent-orange-dark: #c96412;
    --color-cta-blue: #2f68a6;
    --color-cta-blue-dark: #254f80;
    --color-success-green: #5b8d2d;
    --color-border-soft: #d6e2ee;
    --color-shadow-soft: rgba(34, 66, 114, 0.16);

    /* Tipografia */
    --font-body: "Segoe UI", Tahoma, Arial, sans-serif;
    --font-heading: "Segoe UI", Tahoma, Arial, sans-serif;

    /* Spaziature */
    --container-max: 1180px;
    --pad-mobile: 16px;
    --pad-tablet: 24px;
    --pad-desktop: 32px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 50px;
}

/* ═══════════════════════════════════════════════
   2. RESET & BASE
   ═══════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Blocco scroll quando menu mobile è aperto */
body.no-scroll,
body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button,
input {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════
   3. UTILITY
   ═══════════════════════════════════════════════ */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-menu-bg);
    color: #fff;
    padding: 8px 20px;
    z-index: 9999;
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 6px;
}

/* ═══════════════════════════════════════════════
   4. CONTAINER
   ═══════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--pad-mobile);
    padding-right: var(--pad-mobile);
}

/* ═══════════════════════════════════════════════
   5. TOP HEADER
   Il logo attraversa visivamente top-header, menu-bar
   e inizio hero, come nel design di riferimento.
   z-index: 110 > menu-bar (100) permette l'overlap.
   ═══════════════════════════════════════════════ */
.top-header {
    background-color: var(--color-top-bg);
    padding: 10px 0 0;
    position: relative;
    z-index: 110;
    overflow: visible;
}

.top-header__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* Logo — overlap across header/menu/hero */
.top-header__logo {
    display: inline-flex;
    align-items: flex-start;
    flex-shrink: 0;
    position: relative;
    z-index: 5;
}

.top-header__logo img {
    height: 130px;
    width: auto;
    max-width: 100%;
    margin-bottom: -47px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

/* ═══════════════════════════════════════════════
   6. BOTTONE TELEFONO HEADER
   ═══════════════════════════════════════════════ */
.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border-radius: var(--radius-pill);
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 3px 12px var(--color-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    margin-top: 4px;
}

.btn-phone:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px var(--color-shadow-soft);
}

.btn-phone__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-primary-blue);
    color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: -6px;
    position: relative;
    z-index: 1;
}

.btn-phone__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 6px 18px 6px 16px;
    background: linear-gradient(135deg, var(--color-accent-orange), var(--color-accent-orange-dark));
    color: #fff;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    line-height: 1.15;
}

.btn-phone__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.95;
}

.btn-phone__number {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Nasconde bottone telefono su mobile/tablet piccolo — logo deve respirare */
@media (max-width: 679px) {
    .btn-phone {
        display: none;
    }
}

/* ═══════════════════════════════════════════════
   7. MENU BAR
   z-index: 100 < top-header (110) così il logo
   lo "cavalca" dall'alto come nella reference
   ═══════════════════════════════════════════════ */
.menu-bar {
    background-color: var(--color-menu-bg);
    position: relative;
    z-index: 100;
}

.menu-bar.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

/* Menu nascosto durante scroll-down */
.menu-bar.is-hidden {
    transform: translateY(-100%);
}

/* Spazio compensativo quando sticky */
body.menu-sticky-active {
    padding-top: 52px;
}

.menu-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    position: relative;
}

/* Hamburger */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    cursor: pointer;
    position: absolute;
    right: var(--pad-mobile);
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
}

.menu-toggle__bar {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--color-menu-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Nav menu */
.main-navigation {
    width: 100%;
}

.nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 18px;
    gap: 0;
}

.main-navigation.is-open .nav-menu {
    display: flex;
}

.nav-menu .menu-item {
    width: 100%;
    text-align: center;
}

.nav-menu .menu-item a {
    display: block;
    padding: 12px 20px;
    color: var(--color-menu-text);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-menu .menu-item:last-child a {
    border-bottom: none;
}

.nav-menu .menu-item a:hover,
.nav-menu .menu-item a:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
}

.nav-menu .menu-item.current-menu-item a,
.nav-menu .menu-item.current_page_item a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════
   8. HERO SECTION
   ═══════════════════════════════════════════════ */
.hero {
    position: relative;
    background-color: #daeaf6;
    background-image: url('../img/backgrounds/img-bolle.webp');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    padding-top: 32px;
    padding-bottom: 40px;
    overflow: hidden;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* Colonna Testo */
.hero__content {
    order: 1;
    max-width: 600px;
}

.hero__title {
    margin-bottom: 16px;
}

.hero__title-line1 {
    display: block;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 900;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__title-line2 {
    display: block;
    font-size: clamp(24px, 4.5vw, 40px);
    font-weight: 600;
    color: var(--color-primary-blue-dark);
    font-style: italic;
}

/* Badge */
.hero__badge {
    display: inline-block;
    margin-bottom: 18px;
}

.hero__badge span {
    display: inline-block;
    background: var(--color-primary-blue);
    color: #fff;
    padding: 7px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px var(--color-shadow-soft);
}

/* Intro */
.hero__intro {
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text-main);
    margin-bottom: 28px;
    max-width: 520px;
}

.hero__intro strong {
    font-weight: 700;
    color: var(--color-text-dark);
}

/* Colonna Immagine */
.hero__image {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-width: 380px;
    width: 100%;
}

.hero__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.08));
}

/* ═══════════════════════════════════════════════
   9. (riservato)
   ═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   10. SERVIZI
   ═══════════════════════════════════════════════ */
.hero__services {
    margin-top: 8px;
}

.hero__services-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero__services-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero__services-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--color-text-main);
    line-height: 1.4;
}

.check-icon {
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   11. CARD SERVIZI
   ═══════════════════════════════════════════════ */
.cards-section {
    position: relative;
    padding: 40px 0 40px;
    background-color: var(--color-surface);
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-soft);
    box-shadow: 0 4px 16px var(--color-shadow-soft);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px var(--color-shadow-soft);
}

/* Area Titolo Card */
.card__title {
    padding: 22px 20px 14px;
    text-align: center;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card__title h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Area Immagine Card */
.card__media {
    padding: 0 14px 14px;
}

.card__image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
}

/* ═══════════════════════════════════════════════
   12. CTA SECTION
   ═══════════════════════════════════════════════ */
.cta-section {
    padding: 40px 0 32px;
    background-color: var(--color-surface);
    text-align: center;
}

.cta-section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-section__text {
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 800;
    color: var(--color-primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Bottone CTA */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--color-cta-blue), var(--color-cta-blue-dark));
    color: #fff;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 800;
    border-radius: var(--radius-pill);
    box-shadow: 0 5px 20px var(--color-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.btn-cta:hover,
.btn-cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--color-shadow-soft);
    background: linear-gradient(135deg, var(--color-cta-blue-dark), var(--color-primary-blue-dark));
}

.btn-cta__icon {
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   13. FORM SECTION
   ═══════════════════════════════════════════════ */
.form-section {
    padding: 24px 0 48px;
    background-color: var(--color-surface);
    text-align: center;
}

.quick-form {
    max-width: 800px;
    margin: 0 auto 16px;
}

.quick-form__fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-form__input {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-surface);
    border: 2px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--color-text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-form__input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

.quick-form__input:focus {
    border-color: var(--color-primary-blue);
    box-shadow: 0 0 0 3px rgba(47, 95, 152, 0.15);
}

.quick-form__submit {
    width: 100%;
    padding: 14px 28px;
    background: var(--color-text-dark);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.quick-form__submit:hover,
.quick-form__submit:focus {
    background: var(--color-menu-bg);
    transform: translateY(-1px);
}

.form-section__text {
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 800;
    color: var(--color-primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 12px;
}

/* ═══════════════════════════════════════════════
   14. CITY CONTENT (single-citta)
   ═══════════════════════════════════════════════ */
.city-content {
    padding: 40px 0;
    background-color: var(--color-surface);
}

.city-content__body {
    max-width: 780px;
    margin: 0 auto;
}

.city-content__body h2 {
    font-size: 24px;
    color: var(--color-primary-blue-dark);
    margin: 28px 0 12px;
}

.city-content__body h3 {
    font-size: 20px;
    color: var(--color-text-dark);
    margin: 24px 0 10px;
}

.city-content__body p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.city-content__body ul,
.city-content__body ol {
    margin: 12px 0 20px 24px;
    list-style: disc;
}

.city-content__body ol {
    list-style: decimal;
}

.city-content__body li {
    margin-bottom: 6px;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   15. BREADCRUMB
   ═══════════════════════════════════════════════ */
.breadcrumb {
    margin-bottom: 18px;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.breadcrumb__list li:not(:last-child)::after {
    content: "›";
    margin-left: 6px;
    opacity: 0.5;
}

.breadcrumb__list a {
    color: var(--color-primary-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb__list a:hover {
    color: var(--color-primary-blue-dark);
    text-decoration: underline;
}

.breadcrumb__list [aria-current="page"] {
    font-weight: 600;
    color: var(--color-text-dark);
}

/* ═══════════════════════════════════════════════
   16. PAGE DEFAULT (index.php fallback)
   ═══════════════════════════════════════════════ */
.page-default {
    padding: 48px 0;
}

.page-default__title {
    font-size: clamp(24px, 4vw, 36px);
    color: var(--color-text-dark);
    margin-bottom: 24px;
}

.page-default__content {
    max-width: 780px;
    line-height: 1.7;
}

.page-default__content p {
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════
   17. FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
    background-color: var(--color-menu-bg);
    color: var(--color-menu-text);
    padding: 32px 0 24px;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.site-footer__brand {
    font-size: 18px;
    font-weight: 700;
}

.site-footer__contact a {
    color: var(--color-primary-blue-light);
    transition: color 0.2s;
}

.site-footer__contact a:hover {
    color: #fff;
}

.site-footer__nav .footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.site-footer__nav .footer-menu a {
    color: var(--color-menu-text);
    font-size: 14px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.site-footer__nav .footer-menu a:hover {
    opacity: 1;
}

.site-footer__copy {
    font-size: 13px;
    opacity: 0.65;
}

/* ═══════════════════════════════════════════════
   17. RESPONSIVE
   ═══════════════════════════════════════════════ */

/* ── Tablet (min 600px) ── */
@media (min-width: 600px) {
    .container {
        padding-left: var(--pad-tablet);
        padding-right: var(--pad-tablet);
    }

    /* Logo 3 zone su tablet — attraversa top-header + menu-bar + 25px hero */
    .top-header__logo img {
        height: 220px;
        max-width: 100%; /* Ripristina il limite — su tablet il logo entra nel container */
        margin-bottom: -80px;
    }

    .btn-phone__number {
        font-size: 18px;
    }

    /* Hero tablet - background + layout */
    .hero {
        background-size: 140% auto;
        background-position: center top;
        padding-top: 28px;
        padding-bottom: 32px;
        min-height: 480px;
    }

    .hero__inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }

    .hero__content {
        order: 1;
        flex: 1 1 58%;
        padding-top: 10px;
        padding-bottom: 24px;
    }

    .hero__image {
        order: 2;
        flex: 0 0 36%;
        max-width: 280px;
        align-self: flex-end;
    }

    /* Card - 2 colonne tablet */
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid .card:last-child {
        grid-column: 1 / -1;
        max-width: 380px;
        justify-self: center;
    }

    /* Form - riga */
    .quick-form__fields {
        flex-direction: row;
        align-items: stretch;
    }

    .quick-form__group {
        flex: 1;
    }

    .quick-form__group--submit {
        flex: 0 0 auto;
    }

    .quick-form__submit {
        width: auto;
        white-space: nowrap;
    }
}

/* ── Desktop (min 900px) ── */
@media (min-width: 900px) {
    .container {
        padding-left: var(--pad-desktop);
        padding-right: var(--pad-desktop);
    }

    /* Top header — logo grande, overlap su menu + hero */
    .top-header {
        padding: 12px 0 0;
    }

    .top-header__logo img {
        height: 245px;
        margin-bottom: -85px;
    }

    .btn-phone__icon {
        width: 48px;
        height: 48px;
    }

    .btn-phone__label {
        font-size: 11px;
    }

    .btn-phone__number {
        font-size: 20px;
    }

    /* Menu - desktop: padding-left compensa logo più grande */
    .menu-bar:not(.is-sticky) .menu-bar__inner {
        padding-left: 170px;
    }

    .menu-toggle {
        display: none;
    }

    .main-navigation {
        width: auto;
    }

    .nav-menu {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        padding: 0;
        gap: 0;
    }

    .nav-menu .menu-item {
        width: auto;
    }

    .nav-menu .menu-item a {
        padding: 14px 22px;
        font-size: 15px;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
    }

    .nav-menu .menu-item:first-child a {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu .menu-item a:hover,
    .nav-menu .menu-item a:focus {
        background-color: rgba(255, 255, 255, 0.08);
    }

    /* Hero desktop */
    .hero {
        background-size: 100% auto;
        background-position: center top;
        padding-top: 48px;
        padding-bottom: 0;
        min-height: 580px;
    }

    .hero__inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
    }

    .hero__content {
        order: 1;
        flex: 1 1 55%;
        padding-top: 16px;
        padding-bottom: 48px;
    }

    .hero__image {
        order: 2;
        flex: 0 0 38%;
        max-width: 420px;
        align-self: flex-end;
    }

    /* Card - 3 colonne */
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cards-grid .card:last-child {
        grid-column: auto;
        max-width: none;
        justify-self: auto;
    }

    .card__title {
        padding: 26px 22px 16px;
        min-height: 72px;
    }

    .card__title h3 {
        font-size: 22px;
    }

    /* CTA */
    .btn-cta {
        padding: 18px 52px;
    }

    /* Footer */
    .site-footer__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ── Desktop Large (min 1100px) ── */
@media (min-width: 1100px) {
    /* Logo massimo — 3 zone: top-header + menu-bar + 35px nell'hero */
    .top-header__logo img {
        height: 240px;
        margin-bottom: -85px;
    }

    /* Padding-left maggiore per logo 240px */
    .menu-bar:not(.is-sticky) .menu-bar__inner {
        padding-left: 210px;
    }

    /* Hero desktop large - layout fedele a design-sito.png */
    .hero {
        padding-top: 56px;
        padding-bottom: 0;
        min-height: 660px;
        background-size: 100% auto;
        background-position: center top;
    }

    .hero__title-line1 {
        font-size: 46px;
    }

    .hero__title-line2 {
        font-size: 42px;
    }

    .hero__inner {
        gap: 48px;
    }

    .hero__content {
        padding-top: 24px;
        padding-bottom: 56px;
    }

    .hero__image {
        flex: 0 0 40%;
        max-width: 460px;
    }

    .nav-menu .menu-item a {
        padding: 14px 28px;
        font-size: 15.5px;
    }

    .card__media {
        padding: 0 16px 16px;
    }
}

/* ── Mobile piccoli ── */
@media (max-width: 399px) {
    .top-header__logo {
        margin-left: 0; /* Logo responsive, non esce a sinistra */
    }

    .top-header__logo img {
        height: 100px;
        max-width: 100%;
        margin-bottom: -35px;
    }

    .hero__title-line1 {
        font-size: 24px;
    }

    .hero__title-line2 {
        font-size: 22px;
    }
}
