/* ============================================================
   LANDING LOCAL SEO — ADRIAJET
   Caricato SOLO sulle pagine in /zone/ (dopo style.css).
   Usa le stesse variabili del sito: --navy, --azzurro, --radius...
   Ricorda: a ogni modifica aggiorna ?w= in includes/landing-template.php
   ============================================================ */

/* ============ HERO: TITOLONE ============ */
.landing-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 64px 0 72px;
    text-align: center;
}
.landing-hero-inner { max-width: 960px; }
.landing-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 20px;
}
.landing-breadcrumb a { color: rgba(255, 255, 255, .85); }
.landing-breadcrumb a:hover { color: var(--white); text-decoration: underline; }

.landing-hero .eyebrow { color: var(--azzurro); }
.landing-hero h1 {
    color: var(--white);
    font-size: 64px;
    line-height: 1.05;
    letter-spacing: -.5px;
    margin: 0 0 20px;
}
.landing-hero-lead {
    color: rgba(255, 255, 255, .85);
    font-size: 19px;
    max-width: 760px;
    margin: 0 auto;
}
.landing-hero-lead strong { color: var(--white); }
.landing-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

/* ============ LAYOUT A DUE COLONNE (testo + foto) ============ */
.landing-due-colonne {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}
.landing-vantaggi h2,
.landing-locale h2,
.landing-richiesta h2 { font-size: 32px; }

/* Grassetto keyword nei testi */
.landing-vantaggi p strong,
.landing-locale p strong,
.landing-passo p strong,
.landing-faq-item p strong,
.landing-richiesta p strong,
.landing-paesi p strong { color: var(--navy); }

.landing-check {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 10px;
}
.landing-check li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: 16px;
}
.landing-check .material-symbols-rounded {
    color: var(--azzurro-dark);
    font-size: 22px;
    flex-shrink: 0;
}

/* ============ COME FUNZIONA ============ */
.landing-passi-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    }
.landing-passo {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 28px 24px 24px;
}
.landing-passo-num {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--azzurro);
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}
.landing-passo > .material-symbols-rounded {
    font-size: 32px;
    color: var(--azzurro-dark);
    margin-bottom: 10px;
}
.landing-passo h3 { font-size: 18px; color: var(--navy); margin: 0 0 6px; }
.landing-passo p { font-size: 15px; margin: 0; }

/* ============ FORM RICHIESTA (in fondo) ============ */
.landing-richiesta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    scroll-margin-top: calc(var(--header-height) + 16px);
}
.landing-richiesta-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: center;
}
.landing-richiesta .eyebrow { color: var(--azzurro); }
.landing-richiesta h2 { color: var(--white); }
.landing-richiesta-testo p { color: rgba(255, 255, 255, .85); }
.landing-richiesta-testo p strong { color: var(--white); }
.landing-richiesta-contatti {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 16px;
}
.landing-richiesta-contatti li { display: flex; align-items: center; gap: 14px; }
.landing-richiesta-contatti .material-symbols-rounded {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: var(--azzurro);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.landing-richiesta-contatti strong { display: block; color: var(--white); font-size: 15px; }
.landing-richiesta-contatti a { color: rgba(255, 255, 255, .85); font-size: 18px; }
.landing-richiesta-contatti a:hover { color: var(--white); text-decoration: underline; }

.landing-form { padding: 30px; }
.landing-form .form-submit {
    justify-self: stretch;
    justify-content: center;
}

/* ============ FOTO DINAMICHE + SEGNAPOSTO ============ */
.landing-foto {
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--navy-light);
}
.landing-foto > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}
.landing-foto-segnaposto {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--azzurro-dark) 100%);
    color: rgba(255, 255, 255, .85);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.landing-foto-segnaposto img {
    width: 84px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    opacity: .9;
}

/* ============ TESTO LOCALE + SCHEDA ============ */

.landing-scheda {
    margin: 24px 0 0;
    display: grid;
}
.landing-scheda div {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--gray-300);
}
.landing-scheda dt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--navy);
}
.landing-scheda dt .material-symbols-rounded {
    font-size: 20px;
    color: var(--azzurro-dark);
}
.landing-scheda dd { margin: 0; color: var(--text-light); }

/* ============ SFONDI ALTERNATI ============ */
.landing-locale,
.landing-servizi { background: var(--gray-100); }

/* ============ SERVIZI CORRELATI ============ */
.landing-servizi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.landing-servizio-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--white);
    border-radius: var(--radius);
    border-top: 4px solid var(--azzurro);
    padding: 26px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.landing-servizio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.landing-servizio-card > .material-symbols-rounded {
    font-size: 34px;
    color: var(--azzurro-dark);
}
.landing-servizio-card h3 { font-size: 18px; color: var(--navy); margin: 0; }
.landing-servizio-card p { font-size: 14px; margin: 0; flex: 1; }
.landing-servizio-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--azzurro-dark);
}
.landing-servizio-link .material-symbols-rounded { font-size: 18px; }

/* ============ FAQ ============ */
.landing-faq-lista { max-width: 820px; margin: 0 auto; }
.landing-faq-item {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.landing-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    font-weight: 700;
    font-size: 17px;
    color: var(--navy);
}
.landing-faq-item summary::-webkit-details-marker { display: none; }
.landing-faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 26px;
    line-height: 1;
    color: var(--azzurro-dark);
}
.landing-faq-item[open] summary::after { content: "\2212"; }
.landing-faq-item p { padding: 0 22px 20px; margin: 0; }
.landing-aggiornamento {
    text-align: center;
    font-size: 13px;
    margin: 24px 0 0;
}

/* ============ OPERIAMO ANCHE IN (pillole) ============ */
.landing-paesi .zone-list-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.landing-paesi .zone-list-row li { display: contents; }
.landing-paesi .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;
    font-size: 15px;
    color: var(--navy);
    transition: var(--transition);
}
.landing-paesi .zone-list-row li a .material-symbols-rounded {
    font-size: 20px;
    color: var(--azzurro-dark);
    transition: var(--transition);
}
.landing-paesi .zone-list-row li a:hover {
    background: var(--azzurro);
    color: var(--white);
    transform: translateY(-2px);
}
.landing-paesi .zone-list-row li a:hover .material-symbols-rounded { color: var(--white); }

/* ============ CTA STICKY (solo mobile) ============ */
.landing-sticky-cta { display: none; }

/* ============ RESPONSIVE ============ */
@media screen and (max-width: 991px) {
    .landing-hero h1 { font-size: 48px; }
    .landing-due-colonne,
    .landing-richiesta-grid { grid-template-columns: 1fr; }
    .landing-passi-grid,
    .landing-servizi-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
}

@media screen and (max-width: 767px) {
    .landing-hero { padding: 40px 0 48px; }
    .landing-hero h1 { font-size: 38px; letter-spacing: 0; }
    .landing-hero-lead { font-size: 16px; }
    .landing-vantaggi h2,
    .landing-locale h2,
    .landing-richiesta h2 { font-size: 26px; }
    .landing-form { padding: 22px; }
    .landing-scheda div { grid-template-columns: 1fr; gap: 4px; }

    /* Pillola centrata tra i due pulsanti flottanti (56px + 16px per lato) */
    .landing-sticky-cta {
        display: flex;
        position: fixed;
        left: 50%;
        bottom: 16px;
        z-index: 940;
        height: 56px;
        max-width: calc(100% - 168px);
        padding: 0 20px;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: var(--radius-pill);
        background: var(--navy);
        color: var(--white);
        font-weight: 700;
        font-size: 15px;
        white-space: nowrap;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, 20px);
        transition: opacity .25s ease, transform .25s ease;
    }
    .landing-sticky-cta.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }
    .landing-sticky-cta .material-symbols-rounded { font-size: 20px; }

    /* Spazio in fondo, così pulsanti e pillola non coprono il footer */
    .footer-bottom { padding-bottom: 84px; }
}

@media screen and (max-width: 576px) {
    .landing-hero h1 { font-size: 32px; }
    .landing-passi-grid,
    .landing-servizi-grid { grid-template-columns: 1fr; }
    .landing-hero .hero-actions .btn { width: 100%; justify-content: center; }
}

@media screen and (max-width: 360px) {
    .landing-sticky-cta { padding: 0 14px; font-size: 14px; }
    .landing-sticky-cta .material-symbols-rounded { display: none; }
}
