/* Hybrid layout da /acquisto-stock/ — unico CSS.
   Font e token di colore: tokens.css (caricato prima di questo file). */

/* ==========================================================================
   HYBRID LAYOUT - CUSTOM STYLESHEET (Lightweight & Configurable)
   ========================================================================== */

/* I token di colore e tipografia stanno in tokens.css, caricato prima di questo file. */

/* --- Base & Reset (Sticky Footer: body flex + main cresce) --- */
*, *:before, *:after {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* --- Layout Grid (Flexbox Leggero) --- */
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-small {
    max-width: 800px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    box-sizing: border-box;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    box-sizing: border-box;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    color: var(--title-color);
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.3;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--link-hover);
}

.lead {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--text-color);
}

/* --- Fixed Navbar Header (come sito live) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background-color: var(--navbar-bg);
    border-bottom: none;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: var(--navbar-height);
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: calc(var(--navbar-height) - 12px);
    width: auto;
    max-height: calc(var(--navbar-height) - 12px);
    display: block;
}

/* --- Navigation Menu --- */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 0;
}

.nav-menu li a {
    font-family: var(--font-sans);
    color: var(--navbar-link-color);
    text-transform: none;
    font-size: var(--navbar-link-size);
    font-weight: var(--navbar-link-weight);
    letter-spacing: normal;
    text-decoration: none;
    display: block;
    line-height: var(--navbar-height);
    padding: 0 15px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
    color: var(--navbar-link-hover);
    background-color: var(--navbar-link-hover-bg);
}

.nav-menu li a.is-active,
.nav-menu li.is-active > a {
    color: #ffffff;
    background-color: var(--navbar-link-active-bg);
}

/* --- Hamburger Menu (Mobile Toggle Button) --- */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    margin-bottom: 4px;
    transition: all 0.25s;
}

.menu-toggle .icon-bar:last-child {
    margin-bottom: 0;
}

/* --- Accessibilità: skip link + focus visibile --- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    padding: 12px 18px;
    background: #ffffff;
    color: var(--title-color);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.skip-link:focus {
    left: 8px;
    top: 8px;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Page Title Section --- */
.page-title-section {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
    margin-top: var(--navbar-height); /* Spazio per la navbar fissa */
}

.page-title-section h1 {
    color: #ffffff;
    margin: 0;
    font-size: 36px;
}

/* --- Main Wrapper (Sticky Footer Core) --- */
.main-wrapper {
    flex: 1 0 auto; /* Occupare lo spazio rimanente → footer in fondo */
    width: 100%;
    padding: 60px 0;
}

/* --- Bootstrap style component helpers --- */
.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: var(--surface-muted);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    min-height: 40px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-warning,
.btn-primary,
.btn-orange {
    color: var(--accent-fill-text);
    background-color: var(--accent-fill);
    border-color: transparent;
}

.btn-warning:hover,
.btn-primary:hover,
.btn-orange:hover {
    color: var(--accent-fill-text);
    background-color: var(--accent-fill-hover);
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.btn-large {
    padding: 10px 20px;
    min-height: 44px;
    font-size: 14px;
    border-radius: 4px;
}

.btn-block {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

.btn-outline {
    background-color: transparent;
    color: var(--link-color);
    border: 1px solid var(--link-color);
}

.btn-outline:hover {
    background-color: rgba(0, 95, 132, 0.08);
    border-color: var(--link-hover);
    color: var(--link-hover);
    transform: none;
    box-shadow: none;
}

/* --- Footer Section --- */
#footer-section {
    flex-shrink: 0;
    margin-top: auto; /* Sempre in fondo se la pagina è corta */
    width: 100%;
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 30px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#footer-section hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

#footer-section a {
    color: var(--footer-link);
    text-decoration: none;
}

#footer-section a:hover {
    text-decoration: underline;
}

.copyright.left {
    text-align: left;
}

.copyright.center {
    text-align: center;
}

/* --- Responsive Media Queries --- */
@media (max-width: 979px) {
    .navbar .container {
        position: relative;
    }

    .navbar nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1001;
    }

    .menu-toggle,
    button.menu-toggle {
        display: block;
        width: auto;
        margin-left: auto;
        flex: 0 0 auto;
        line-height: normal;
        padding: 10px;
        text-align: center;
    }
    
    /* Il menu su mobile diventa una tendina a scomparsa */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: static;
        width: 100%;
        background-color: rgba(27, 27, 27, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px 0;
    }
    
    .nav-menu.active {
        display: flex; /* Si apre tramite Javascript */
    }
    
    .nav-menu li {
        margin: 0;
        text-align: left;
    }
    
    .nav-menu li a {
        line-height: 48px;
        font-size: 16px;
        padding-left: 20px;
    }
}

@media (max-width: 767px) {
    .row {
        flex-direction: column;
    }
    
    .col, .col-8, .col-4, .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .col-4:last-child {
        margin-bottom: 0;
    }
    
    .copyright.left, .copyright.center {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .copyright.center {
        margin-bottom: 0;
    }
}

/* --- Content list helpers (pagina1.html) --- */
.stock-list {
    list-style-type: square;
    padding-left: 20px;
    margin-bottom: 25px;
}

.stock-list li {
    margin-bottom: 8px;
}

.steps-list {
    padding-left: 20px;
    margin-bottom: 30px;
}

.steps-list li {
    margin-bottom: 15px;
}

.note {
    font-style: italic;
    color: var(--text-muted);
}

/* ==========================================================================
   LANDING PAGE SPECIFIC STYLES
   ========================================================================== */

/* Typography Overrides */
.landing-page h1, .landing-page h2, .landing-page h3, .landing-page h4 {
    font-family: var(--font-sans);
    color: var(--title-color);
}

.landing-page p {
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.5;
}

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

.lp-section-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--title-color);
}

.lp-section-header p {
    font-size: 16px;
    color: var(--text-color);
}

.home-trust-signal {
    margin: 18px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--title-color);
    letter-spacing: 0.02em;
}

/* Griglia categorie — icone SVG sistema */
.home-categorie {
    padding: 72px 0 64px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
}

.home-categorie .lp-section-header {
    max-width: 100%;
    margin-bottom: 40px;
    text-align: center;
}

.home-categorie .lp-section-header h2 {
    font-size: clamp(24px, 3vw, 28px);
    margin-bottom: 16px;
    text-align: center;
}

.home-categorie .lp-section-header p {
    max-width: none;
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 14px;
    text-align: left;
}

.home-categorie .lp-section-header p:last-child {
    margin-bottom: 0;
}

.cat-grid {
    list-style: none;
    margin: 48px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
}

.cat-grid__item {
    text-align: center;
    padding: 12px 16px;
}

.cat-grid__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
    color: var(--title-color);
    background: rgba(0, 39, 112, 0.06);
    border-radius: 50%;
}

.cat-grid__icon .icon {
    display: block;
}

.cat-grid__title {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color);
    line-height: 1.3;
}

.cat-grid__desc {
    display: block;
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.4;
}

.home-categorie__cta {
    text-align: right;
    margin: 48px 0 0;
    font-size: 14px;
}

.home-categorie__cta a {
    color: var(--link-color);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-bottom: none;
    padding-bottom: 0;
}

.home-categorie__cta a:hover {
    color: var(--link-hover);
    text-decoration: none;
}

@media (max-width: 979px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 20px;
    }
}

@media (max-width: 575px) {
    .cat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 12px;
    }

    .cat-grid__icon {
        width: 72px;
        height: 72px;
    }

    .cat-grid__icon .icon {
        width: 44px;
        height: 44px;
    }

    .cat-grid__title {
        font-size: 15px;
    }
}


/* Hero Section */
.lp-hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(247,249,252,0.92) 0%, rgba(238,242,245,0.92) 100%), url('../img/hero-sfondo-magazzino.webp') center/cover no-repeat;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(40,159,207,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Hero homepage — sfondo showroom live + overlay scuro + testo chiaro */
.lp-hero--home {
    min-height: 65vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background-color: #000;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%),
        image-set(
            url('../img/hero-home-showroom-abbigliamento-480.webp') type('image/webp') 1x,
            url('../img/hero-home-showroom-abbigliamento-768.webp') type('image/webp') 1.5x,
            url('../img/hero-home-showroom-abbigliamento.webp') type('image/webp') 2x
        );
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.lp-hero--home::before {
    display: none;
}

@media (min-width: 769px) {
    .lp-hero--home {
        background-image:
            linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%),
            url('../img/hero-home-showroom-abbigliamento.webp');
        background-size: cover;
        background-position: center center;
    }
}

@media (max-width: 768px) {
    .lp-hero--home {
        background-image:
            linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 100%),
            url('../img/hero-home-showroom-abbigliamento-480.webp');
        min-height: 56vh;
        padding: 100px 0 60px;
    }
}

.lp-hero--home .lp-badge {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.lp-hero--home .lp-hero-content {
    max-width: 920px;
}

.lp-hero--home .lp-hero-content h1 {
    color: #ffffff;
    font-size: clamp(36px, 6.5vw, 58px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.lp-hero--home .lp-hero-content p,
.lp-hero--home .lp-hero-content p strong {
    color: #ffffff;
    font-size: clamp(17px, 2.2vw, 22px);
    font-weight: 600;
    line-height: 1.45;
    max-width: 820px;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.lp-hero--home .lp-hero-actions {
    margin-top: 8px;
    gap: 16px;
}

.lp-hero--home .btn-large {
    min-height: 48px;
    padding: 12px 24px;
    font-size: 15px;
}

.lp-hero--home .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.85);
    background: transparent;
}

.lp-hero--home .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
}

.lp-hero-container {
    position: relative;
    z-index: 1;
}

.lp-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lp-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(40,159,207,0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.lp-hero-content h1 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--title-color);
}

.lp-hero-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.lp-hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Features Grid */
.lp-features {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.lp-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.lp-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background-color: rgba(40,159,207,0.1);
    border-radius: 50%;
}

.lp-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Process Section */
.lp-process {
    padding: 80px 0;
    background-color: var(--surface-alt);
    border-top: 1px solid var(--border-subtle);
}

.lp-steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
}

.lp-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.lp-step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    font-family: var(--font-sans);
}

.lp-step h3,
.lp-step h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--title-color);
}

.lp-step p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color);
}

.lp-step__more {
    margin-top: 12px !important;
    font-size: 14px !important;
    font-weight: 700;
}

.lp-step__more a {
    color: var(--link-color);
    text-decoration: none;
}

.lp-step__more a:hover {
    color: var(--link-hover);
    text-decoration: none;
}

.home-come-funziona {
    border-bottom: 1px solid var(--border-subtle);
}

.home-come-funziona .home-categorie__cta {
    margin-top: 40px;
}

.home-steps .lp-step-number {
    background-color: var(--title-color);
}

#contatti {
    scroll-margin-top: var(--navbar-height);
}

/* CTA centrale homepage → form #contatti (stesso invito di /come-funziona/) */
.home-mid-cta.cc-cta {
    margin-top: 0;
}

@media (max-width: 767px) {
    .home-mid-cta.cc-cta {
        margin-left: 0;
        margin-right: 0;
    }
}

.home-chi-siamo {
    padding: 56px 0 64px;
    background-color: #ffffff;
    border-top: 1px solid var(--border-subtle);
}

.home-verticalita {
    background-color: var(--surface-alt);
    border-bottom: 1px solid var(--border-subtle);
}

.home-faq .cf-faq {
    margin-top: 0;
}

#home-faq-title {
    scroll-margin-top: calc(var(--navbar-height) + 16px);
}

#home-verticalita-title {
    scroll-margin-top: calc(var(--navbar-height) + 16px);
}

.home-chi-siamo__content {
    max-width: 800px;
    margin: 0 auto;
}

.home-chi-siamo__content h2 {
    margin: 0 0 20px;
    font-size: clamp(22px, 3vw, 26px);
    font-weight: 700;
    color: var(--title-color);
    line-height: 1.25;
}

.home-chi-siamo__content h2 a {
    color: inherit;
    text-decoration: none;
}

.home-chi-siamo__content h2 a:hover {
    color: var(--link-color);
}


.home-chi-siamo__content p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

.home-chi-siamo__content p:last-child {
    margin-bottom: 0;
}

/* CTA & Form Section */
.lp-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
    color: #ffffff;
}

.lp-cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lp-cta-info h2 {
    color: #ffffff;
    font-size: 42px;
    margin-bottom: 20px;
}

.lp-cta-info p {
    color: var(--text-on-dark);
    font-size: 18px;
    margin-bottom: 30px;
}

.lp-cta-checklist {
    color: #cbd5e1;
    margin: 0 0 20px;
    padding-left: 1.25em;
    line-height: 1.7;
    text-align: left;
}

.lp-cta-phone {
    font-weight: 600;
    color: #fff;
}

.lp-cta-phone a {
    color: #fff;
    text-decoration: underline;
    white-space: nowrap;
}

.lp-cta-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    min-width: 0;
    max-width: 100%;
}

.lp-form-field {
    margin-bottom: 20px;
}

.lp-form-field label {
    display: block;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.lp-form-field input[type="text"],
.lp-form-field input[type="email"],
.lp-form-field textarea,
.lp-form-field input[type="file"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--title-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.lp-form-field input:focus,
.lp-form-field textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40,159,207,0.2);
    outline: none;
}

.checkbox-field label {
    display: block;
    font-weight: 400;
    color: var(--text-color);
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-field input {
    margin: 0 8px 0 0;
    width: 18px;
    height: 18px;
    vertical-align: -3px;
}

.lp-submit-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    min-height: 44px;
    background-color: var(--accent-fill);
    color: var(--accent-fill-text);
    border: none;
    border-radius: 4px;
}

.lp-submit-btn:hover {
    background-color: var(--accent-fill-hover);
    color: var(--accent-fill-text);
}

.lp-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.lp-error-text {
    color: #e11d48;
    font-size: 13px;
    font-family: var(--font-sans);
    display: block;
    margin-top: 5px;
}

.lp-message-container {
    margin-top: 20px;
}

.lp-message {
    padding: 15px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    margin-bottom: 15px;
}

.lp-message.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.lp-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive adjustments */
@media (max-width: 979px) {
    .lp-hero--home .lp-hero-content h1 {
        font-size: clamp(32px, 7vw, 42px);
    }

    .lp-hero--home .lp-hero-content p,
    .lp-hero--home .lp-hero-content p strong {
        font-size: 17px;
    }

    .lp-hero-content h1 {
        font-size: 36px;
    }
    
    .lp-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lp-cta-wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .lp-cta-info,
    .lp-cta-form,
    .lp-cta-form form {
        min-width: 0;
        max-width: 100%;
    }
    
    .lp-cta-info {
        text-align: center;
    }

    .lp-cta-info h2 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .lp-cta-info p {
        font-size: 15px;
        line-height: 1.45;
        margin-bottom: 14px;
    }

    .lp-cta-info .lp-cta-checklist {
        text-align: left;
        display: inline-block;
        margin: 0 auto 14px;
        padding-left: 1.25em;
        list-style-position: outside;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 14px;
        line-height: 1.45;
    }

    .lp-cta-info .lp-cta-checklist li {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .lp-hero-actions {
        flex-direction: column;
    }
    
    .lp-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .lp-steps-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .lp-cta-section {
        padding: 40px 0;
        overflow-x: clip;
    }

    .lp-cta-form {
        padding: 18px 14px;
    }

    .lp-form-field {
        margin-bottom: 14px;
    }

    .lp-form-field label {
        font-size: 13px;
        margin-bottom: 6px;
    }
}

/* Graphic Rich Layout Enhancements */
.lp-split-section {
    display: flex;
    align-items: center;
    gap: 50px;
}

.lp-split-section.reverse {
    flex-direction: row-reverse;
}

.lp-split-content {
    flex: 1;
}

.lp-split-image {
    flex: 1;
    position: relative;
}

.lp-img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: block;
}

.lp-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    padding: 0;
    list-style: none;
}

.lp-category-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 18px;
    color: var(--title-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.lp-category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.lp-category-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(40,159,207,0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

@media (max-width: 767px) {
    .lp-split-section, .lp-split-section.reverse {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 979px) {
    .lp-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .lp-category-grid {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp Floating Button — sempre visibile in basso a destra */
.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float__icon {
    display: block;
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    outline: none;
}

@media (max-width: 767px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 16px;
    }

    .whatsapp-float__icon {
        width: 28px;
        height: 28px;
    }
}

    
.lp-check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.lp-check-list li {
  position: relative;
  padding: 12px 12px 12px 44px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.lp-check-list li:before {
  content: "";
  position: absolute;
  left: 14px; top: 14px;
  width: 16px; height: 16px;
  background-color: var(--primary-color);
  -webkit-mask: var(--icon-check) center / contain no-repeat;
  mask: var(--icon-check) center / contain no-repeat;
}
.lp-prose p { margin-bottom: 16px; font-size: 17px; line-height: 1.7; }
.lp-prose ul { margin: 0 0 20px 20px; }
.lp-prose li { margin-bottom: 8px; }
.lp-step p { font-size: 15px; color: var(--text-muted); }
.lp-faq-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: stretch;
}
.lp-faq-item {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  padding: 28px 22px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.lp-faq-item h3 {
  font-size: 18px;
  color: var(--title-color);
  margin: 0 0 12px;
  font-family: var(--font-sans);
  line-height: 1.35;
}
.lp-faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-family: var(--font-sans);
}
.lp-file-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.lp-file-list[hidden] { display: none; }
.lp-file-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: var(--title-color);
}
.lp-file-list__meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-file-list__remove {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: var(--primary-color);
  font: inherit;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
@media (max-width: 991px) {
  .lp-faq-row { flex-wrap: wrap; }
  .lp-faq-item { flex: 1 1 calc(50% - 10px); }
}
@media (max-width: 767px) {
  .lp-steps-container { flex-direction: column; }
  .lp-faq-row { flex-direction: column; }
  .lp-faq-item { flex: 1 1 100%; }
}

/* Stub pages */
.stub-note{background:var(--surface-muted);border:1px solid var(--border-color);border-radius:12px;padding:20px 24px;margin:24px 0;}
.stub-note code{font-size:13px;}
.grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;list-style:none;padding:0;margin:24px 0;}
.grid-cards a{display:block;padding:20px;border:1px solid var(--border-color);border-radius:12px;color:inherit;text-decoration:none;background:#fff;box-shadow:0 4px 15px rgba(0,0,0,.03);}
.grid-cards a:hover{border-color:var(--primary-color);}
.grid-cards strong{display:block;color:var(--title-color);margin-bottom:6px;}
.main-wrapper.landing-page{padding:0;}
.main-wrapper--titled{padding-top:0;padding-bottom:0;}
.page-stub{padding:60px 0;}

/* Documenti legali (privacy, cookie, …) */
.legal-doc {
    padding: 40px 0 60px;
}
.legal-doc h2 {
    font-size: 22px;
    margin-top: 36px;
    margin-bottom: 14px;
}
.legal-doc h3 {
    font-size: 18px;
    margin-top: 28px;
    margin-bottom: 10px;
    color: var(--title-color);
}
.legal-doc__updated {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 15px;
}

/* --- Cosa compriamo (pillar) --- */
.container-reading {
    max-width: 820px;
}

.cc-hero {
    position: relative;
    margin-top: var(--navbar-height);
    /* Fascia fissa: si vede solo la parte centrale dell’immagine (cover + center) */
    height: clamp(220px, 36vw, 380px);
    display: flex;
    align-items: center;
    background: var(--hero-bg);
    overflow: hidden;
}

.cc-hero__media {
    position: absolute;
    inset: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    width: 100%;
    height: 100%;
}

/* Quando arriva l’<img>: crop sulla zona centrale */
.cc-hero__media img,
.cc-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.cc-hero__overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 24px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 100%);
    text-align: center;
}

.cc-hero__overlay h1 {
    margin: 0 auto;
    max-width: 920px;
    color: #ffffff;
    font-size: clamp(36px, 6.5vw, 58px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.page-media {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 36px 0;
    background: linear-gradient(135deg, var(--surface-muted) 0%, var(--border-subtle) 100%);
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
    text-align: center;
}

.page-media--hero {
    border: 0;
    border-radius: 0;
    background:
        var(--hero-scrim),
        linear-gradient(135deg, var(--ink-soft) 0%, var(--hero-bg) 100%);
    color: rgba(255, 255, 255, 0.7);
}

.page-media--inline {
    aspect-ratio: 16 / 9;
    width: 100%;
    min-height: 180px;
}

.page-media--filled {
    background: var(--surface-muted);
    border: 0;
    padding: 0;
    overflow: hidden;
}

.page-media--filled img,
.page-media__img {
    width: 100%;
    height: auto;
    display: block;
}

/* Figure in contenuto: immagine intera nella colonna */
.page-media--inline img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.contatti-map {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    margin: 28px 0 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--surface-muted);
}

.contatti-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    pointer-events: none;
}

.contatti-map__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
    color: transparent;
}

.contatti-map__link:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: -3px;
}

.page-media__label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 12px 20px;
    max-width: 28em;
    line-height: 1.4;
}

.cc-page {
    padding: 48px 0 72px;
    background: #ffffff;
}

.cc-intro {
    margin-bottom: 8px;
}

.cc-section {
    margin-top: 8px;
}

.cc-page h2 {
    margin: 40px 0 20px;
    font-size: clamp(22px, 3vw, 26px);
    font-weight: 700;
    color: var(--title-color);
    text-align: center;
}

.cc-cat {
    margin-bottom: 32px;
}

.cc-cat h3 {
    margin: 0 0 14px;
    font-size: clamp(18px, 2.4vw, 20px);
    font-weight: 700;
    color: var(--title-color);
}

.chi-role {
    margin: -8px 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.chi-person__photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 0 14px;
}

.cc-cat .lp-prose p:last-child {
    margin-bottom: 0;
}

.cc-cta {
    margin-top: 48px;
    padding: 40px 28px;
    text-align: center;
    background: var(--surface-muted);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cc-cta h2 {
    margin: 0 0 12px;
}

.cc-cta__lead {
    margin: 0 auto 24px;
    max-width: 36em;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-color);
}

.cc-cta__action {
    margin: 0;
}

@media (max-width: 767px) {
    .cc-hero {
        height: 200px;
    }

    .cc-hero__overlay h1 {
        font-size: clamp(32px, 7vw, 42px);
    }

    .cc-page {
        padding: 36px 0 56px;
    }

    .page-media--inline {
        aspect-ratio: 4 / 3;
        min-height: 140px;
        margin: 28px 0;
    }

    .cc-cta {
        padding: 32px 16px;
        margin-left: -15px;
        margin-right: -15px;
    }
}

/* Pillar /come-funziona/ */
.qv-bridge {
    margin-top: 48px;
}

.cf-step h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.cf-step__num {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--title-color);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 44px;
    text-align: center;
}

.cf-step h3 {
    margin: 28px 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color);
    text-align: left;
}

.cf-faq {
    margin-top: 8px;
}

.cf-faq details {
    border-bottom: 1px solid var(--border-color);
}

.cf-faq summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.4;
    color: var(--title-color);
    padding: 16px 28px 16px 0;
    list-style: none;
    position: relative;
}

.cf-faq summary::-webkit-details-marker {
    display: none;
}

.cf-faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 14px;
    font-size: 22px;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1;
}

.cf-faq details[open] summary::after {
    content: "–";
}

.cf-faq details p {
    margin: 0 0 16px;
}
