/* ==========================================================================
   Belix — Landing "Prova gratuita 30 giorni" + Thank You Page
   Design system allineato a www.belix.it: stessi colori, font, raggi e ombre.
   Pagine autonome rispetto al sito istituzionale (nessuna dipendenza da
   assets/css/style.css del sito): i token sono replicati qui sotto.
   ========================================================================== */

:root {
    /* Colori — da :root di www.belix.it/assets/css/style.css */
    --blue: #1073C4;
    --blue-hover: #0D5FA3;
    --orange: #FBB009;
    --orange-soft: #FB9F33;
    --orange-bg-light: #FFFAE9;
    --gold: #F5A623;
    /* Ambra scura, gia' presente nella palette del sito (--card-yellow-text).
       Serve dove l'arancio di brand su fondo chiaro non avrebbe contrasto
       sufficiente: testi piccoli ed etichette. */
    --amber-text: #AB7600;
    --text-black: #1D1D1D;
    --text-body: #3C3C3C;
    --text-muted: #5F6B7A;
    --white: #FFFFFF;
    --bg: #FAFAFA;
    --divider: #DFE4EB;
    --green-text: #2F7D4F;
    --green-bg: #D4EDDA;
    --red-text: #B42318;
    --red-bg: #F8D7DA;

    /* Tipografia */
    --font-primary: 'DM Sans', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-script: 'Segoe Script', 'Brush Script MT', cursive;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* Forme */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-soft: 0 18px 45px rgb(20 30 50 / .12);
    --shadow-card: 0 18px 40px rgba(15, 23, 42, .16);
    --transition-fast: .2s ease;

    /* Griglia */
    --content-width: 1120px;
    --narrow-width: 760px;
    --gutter: 48px;
    --section-spacing: 96px;
}

/* ========================= Reset essenziale ============================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    display: block;
}

img {
    height: auto;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-primary);
    color: var(--text-black);
    margin: 0 0 20px;
    line-height: 1.15;
    font-weight: var(--fw-regular);
}

p {
    margin: 0 0 20px;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}

.lp-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Salto diretto al form per chi naviga da tastiera o con screen reader */
.lp-skip {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 1200;
    background: var(--blue);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    transition: top var(--transition-fast);
}

.lp-skip:focus {
    top: 16px;
    color: var(--white);
}

/* ========================= Layout ======================================== */

.lp-container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.lp-narrow {
    max-width: var(--narrow-width);
    margin-left: auto;
    margin-right: auto;
}

.lp-section {
    padding: var(--section-spacing) 0;
}

.lp-section--alt {
    background-color: var(--bg);
}

.lp-section--tint {
    background-color: var(--orange-bg-light);
}

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

/* ========================= Tipografia di sezione ========================= */

.lp-eyebrow {
    display: block;
    font-family: var(--font-secondary);
    font-weight: var(--fw-medium);
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--amber-text);
    margin-bottom: 16px;
}

.lp-title {
    font-size: clamp(30px, 3.6vw, 48px);
    font-weight: var(--fw-regular);
    line-height: 1.15;
    margin-bottom: 24px;
}

.lp-title strong {
    font-weight: var(--fw-bold);
    color: var(--blue);
}

.lp-title em {
    font-style: normal;
    color: var(--orange);
}

.lp-title--sm {
    font-size: clamp(24px, 2.4vw, 32px);
    margin-bottom: 16px;
}

.lp-lead {
    font-size: clamp(19px, 1.5vw, 22px);
    font-weight: var(--fw-medium);
    color: var(--text-black);
    line-height: 1.5;
}

.lp-text {
    font-size: 18px;
    color: var(--text-body);
}

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

.lp-kicker {
    font-size: clamp(21px, 2vw, 26px);
    font-weight: var(--fw-medium);
    color: var(--text-black);
    line-height: 1.4;
}

.lp-rule {
    width: 72px;
    height: 4px;
    border: 0;
    border-radius: 2px;
    background: var(--orange);
    margin: 0 0 28px;
}

.lp-center .lp-rule {
    margin-left: auto;
    margin-right: auto;
}

/* ========================= Bottoni ======================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: var(--fw-medium);
    font-size: 17px;
    line-height: 1.25;
    text-align: center;
    padding: 18px 32px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

/* Primario = blu Belix (.btn-belix-primary del sito) */
.btn--primary {
    background-color: var(--blue);
    color: var(--white);
}

.btn--primary:hover {
    background-color: var(--blue-hover);
    color: var(--white);
}

/* Accento = arancio Belix (.btn-belix-outline del sito) */
.btn--accent {
    background-color: var(--orange);
    color: var(--white);
}

.btn--accent:hover {
    background-color: var(--orange-soft);
    color: var(--white);
}

.btn--ghost {
    background-color: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
    padding: 16px 30px;
}

.btn--ghost:hover {
    background-color: var(--blue);
    color: var(--white);
}

.btn--lg {
    font-size: clamp(17px, 1.4vw, 20px);
    padding: 20px 40px;
}

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

.btn-note {
    font-family: var(--font-secondary);
    font-size: 15px;
    color: var(--text-muted);
    margin: 16px 0 0;
}

.lp-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.lp-center .lp-cta-row {
    justify-content: center;
}

/* ========================= Header ======================================== */

.lp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    border-bottom: 1px solid var(--divider);
}

.lp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.lp-logo img {
    height: 48px;
    width: auto;
}

.lp-header__cta {
    font-size: 16px;
    padding: 13px 24px;
}

@media (max-width: 640px) {
    .lp-header__inner {
        min-height: 68px;
    }

    .lp-logo img {
        height: 38px;
    }

    .lp-header__cta {
        font-size: 15px;
        padding: 11px 16px;
    }
}

/* ========================= Hero ========================================== */

.lp-hero {
    position: relative;
    background-image: url('../assets/img/spiaggia/spiaggia.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
    color: var(--white);
    text-align: center;
}

@media (max-width: 768px) {
    .lp-hero {
        background-image: url('../assets/img/spiaggia/spiaggia-960.jpg');
    }
}

/* Velo scuro: il testo bianco deve restare leggibile su qualunque ritaglio */
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 30, 50, .58) 0%, rgba(10, 30, 50, .70) 100%);
}

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

.lp-hero__eyebrow {
    color: var(--orange);
}

.lp-hero__title {
    max-width: 900px;
    margin: 0 auto 24px;
    font-size: clamp(32px, 4.6vw, 58px);
    line-height: 1.12;
    color: var(--white);
}

.lp-hero__title .lp-hero__line2 {
    display: block;
    font-family: var(--font-script);
    color: var(--orange);
}

.lp-hero__desc {
    max-width: 720px;
    margin: 0 auto 8px;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: var(--fw-medium);
    line-height: 1.55;
    color: rgba(255, 255, 255, .94);
}

.lp-hero .btn-note {
    color: rgba(255, 255, 255, .88);
}

.lp-hero__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 36px 0 0;
}

.lp-hero__badges li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: var(--fw-medium);
    color: var(--white);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    padding: 9px 18px;
}

/* ========================= Tour schermate ================================ */

.lp-video {
    max-width: 980px;
    margin: 0 auto;
}

.lp-tour {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #071A2D;
    box-shadow: var(--shadow-card);
}

.lp-tour__stage {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 75% 20%, rgba(16, 115, 196, .34), transparent 42%),
        #071A2D;
}

.lp-tour__scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .7s ease, visibility 0s linear .7s;
}

.lp-tour__scene.is-active,
.lp-tour:not(.is-ready) .lp-tour__scene:first-child {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .7s ease;
}

.lp-tour__scene[data-fondo]::before {
    content: '';
    position: absolute;
    inset: -32px;
    z-index: -1;
    background-position: center;
    background-size: cover;
    filter: blur(20px) brightness(.45) saturate(.9);
    transform: scale(1.08);
}

.lp-tour__scene[data-fondo="gestione_2"]::before {
    background-image: url('/assets/img/screenshot/gestione_2.png');
}

.lp-tour__scene[data-fondo="lista_bar"]::before {
    background-image: url('/assets/img/screenshot/lista_bar.png');
}

.lp-tour__scene[data-fondo]::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(4, 18, 32, .28);
}

.lp-tour__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: var(--da, scale(1));
    will-change: transform;
}

.lp-tour__scene.is-active .lp-tour__img,
.lp-tour:not(.is-ready) .lp-tour__scene:first-child .lp-tour__img {
    transform: var(--a, scale(1));
    transition: transform var(--tour-motion-duration, 7.5s) cubic-bezier(.18, .62, .24, 1);
}

.lp-tour__img--contain {
    inset: 5% 7%;
    width: 86%;
    height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 18px 38px rgba(0, 0, 0, .38));
}

.lp-tour__cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: clamp(58px, 8vw, 92px) clamp(24px, 5vw, 54px) clamp(24px, 4vw, 42px);
    color: var(--white);
    background: linear-gradient(to top, rgba(3, 14, 25, .95) 0%, rgba(3, 14, 25, .72) 42%, rgba(3, 14, 25, 0) 100%);
}

.lp-tour__cap > * {
    max-width: 760px;
}

.lp-tour__eyebrow {
    display: block;
    font-family: var(--font-secondary);
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: var(--fw-semibold);
    line-height: 1.2;
    letter-spacing: .055em;
    text-transform: uppercase;
    color: var(--orange);
}

.lp-tour__line {
    display: block;
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: var(--fw-medium);
    line-height: 1.38;
    text-wrap: balance;
}

.lp-tour__line--prima,
.lp-tour__line--dopo {
    position: relative;
    padding-left: 86px;
}

.lp-tour__line--prima::before,
.lp-tour__line--dopo::before {
    position: absolute;
    left: 0;
    top: .18em;
    width: 70px;
    padding: 3px 8px;
    border-radius: 999px;
    font-family: var(--font-secondary);
    font-size: 11px;
    font-weight: var(--fw-semibold);
    line-height: 1.4;
    text-align: center;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lp-tour__line--prima::before {
    content: 'Prima';
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.24);
}

.lp-tour__line--dopo::before {
    content: 'Con Belix';
    color: #2A1D00;
    background: var(--orange);
}

.lp-tour__line--dopo {
    color: #FFF6DC;
}

.lp-tour__scene.is-active .lp-tour__cap > *,
.lp-tour:not(.is-ready) .lp-tour__scene:first-child .lp-tour__cap > * {
    animation: lp-tour-caption .65s both cubic-bezier(.2, .65, .2, 1);
}

.lp-tour__scene.is-active .lp-tour__cap > *:nth-child(2) {
    animation-delay: .11s;
}

.lp-tour__scene.is-active .lp-tour__cap > *:nth-child(3) {
    animation-delay: .20s;
}

@keyframes lp-tour-caption {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.lp-tour__scene--finale {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 22% 18%, rgba(251, 176, 9, .20), transparent 34%),
        radial-gradient(circle at 82% 74%, rgba(16, 115, 196, .52), transparent 40%),
        linear-gradient(135deg, #071A2D 0%, #0B3E68 100%);
}

.lp-tour__cap--finale {
    position: relative;
    inset: auto;
    align-items: center;
    width: min(850px, 92%);
    padding: clamp(32px, 6vw, 72px);
    text-align: center;
    background: none;
}

.lp-tour__payoff {
    display: block;
    max-width: 820px;
    font-size: clamp(27px, 4vw, 48px);
    font-weight: var(--fw-semibold);
    line-height: 1.1;
    text-wrap: balance;
}

.lp-tour__pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.lp-tour__pills li {
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: var(--fw-medium);
    color: var(--white);
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(8px);
}

.lp-tour__controls {
    display: grid;
    grid-template-columns: 42px 1fr 58px;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 10px 18px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    background: #071A2D;
}

.lp-tour__toggle {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.lp-tour__toggle:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .36);
    transform: translateY(-1px);
}

.lp-tour__icona {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.lp-tour__icona--play {
    display: none;
    margin-left: 2px;
}

.lp-tour.is-paused .lp-tour__icona--pausa {
    display: none;
}

.lp-tour.is-paused .lp-tour__icona--play {
    display: block;
}

.lp-tour__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lp-tour__dots li {
    display: flex;
}

.lp-tour__dot {
    position: relative;
    width: 32px;
    height: 8px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    cursor: pointer;
}

.lp-tour__dot::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: scaleX(0);
    transform-origin: left center;
    border-radius: inherit;
    background: var(--orange);
}

.lp-tour__dot.is-active::after {
    transform: scaleX(1);
}

.lp-tour__dot:focus-visible {
    outline-color: var(--orange);
}

.lp-tour__count {
    justify-self: end;
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: var(--fw-medium);
    color: rgba(255,255,255,.72);
    font-variant-numeric: tabular-nums;
}

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

@media (max-width: 768px) {
    .lp-tour__stage {
        aspect-ratio: 4 / 3;
    }

    .lp-tour__img--contain {
        inset: 4% 3%;
        width: 94%;
        height: 88%;
    }

    .lp-tour__cap {
        gap: 7px;
        padding: 72px 20px 22px;
    }

    .lp-tour__line {
        font-size: 15px;
        line-height: 1.35;
    }

    .lp-tour__line--prima,
    .lp-tour__line--dopo {
        padding-left: 0;
        padding-top: 25px;
    }

    .lp-tour__line--prima::before,
    .lp-tour__line--dopo::before {
        top: 0;
        width: auto;
        min-width: 58px;
    }

    .lp-tour__payoff {
        font-size: clamp(25px, 8vw, 38px);
    }

    .lp-tour__pills {
        gap: 7px;
        margin-top: 18px;
    }

    .lp-tour__pills li {
        padding: 6px 10px;
        font-size: 11px;
    }

    .lp-tour__controls {
        grid-template-columns: 38px 1fr 42px;
        gap: 10px;
        min-height: 58px;
        padding: 9px 12px;
    }

    .lp-tour__dot {
        width: 18px;
        height: 7px;
    }

    .lp-tour__count {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-tour__scene,
    .lp-tour__img,
    .lp-tour__cap > * {
        transition: none !important;
        animation: none !important;
    }
}

/* ========================= Attriti / problema ============================ */

.lp-friction {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 40px 0 0;
}

.lp-friction li {
    background: var(--white);
    border: 1px solid var(--divider);
    border-left: 4px solid var(--orange);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    font-size: 17px;
    font-weight: var(--fw-medium);
    color: var(--text-black);
}

.lp-callout {
    background: var(--white);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    box-shadow: var(--shadow-soft);
    margin-top: 40px;
}

/* ========================= Un unico ambiente ============================= */

.lp-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.lp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
}

.lp-pills li {
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: var(--fw-medium);
    color: var(--blue);
    background: rgba(16, 115, 196, .08);
    border: 1px solid rgba(16, 115, 196, .20);
    border-radius: 999px;
    padding: 9px 18px;
}

.lp-shots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.lp-shot {
    margin: 0;
    background: var(--white);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.lp-shot img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    /* Le schermate sono alte e dense: inquadriamo la parte alta, dove sta
       il contenuto che si riconosce a colpo d'occhio. */
    object-position: top center;
    background: var(--bg);
}

.lp-shot figcaption {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: var(--fw-medium);
    color: var(--text-muted);
    padding: 12px 16px;
    border-top: 1px solid var(--divider);
}

.lp-shot--wide {
    grid-column: span 2;
}

.lp-shot--wide img {
    aspect-ratio: 21 / 9;
    /* Sulla mappa della spiaggia il soggetto e' la griglia, non le
       impostazioni in cima: inquadriamo piu' in basso. */
    object-position: center 72%;
}

/* ========================= Card generiche ================================ */

.lp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.lp-card {
    background: var(--white);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.lp-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--orange-bg-light);
    color: var(--orange);
    margin-bottom: 20px;
}

.lp-card__icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lp-card h3 {
    font-size: 21px;
    font-weight: var(--fw-semibold);
    margin-bottom: 12px;
}

.lp-card p {
    font-size: 16px;
    margin-bottom: 0;
}

/* ========================= Prima / con Belix ============================== */

.lp-ba {
    margin: 0;
}

.lp-ba dt {
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: var(--fw-semibold);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.lp-ba dt.is-after {
    color: var(--blue);
}

.lp-ba dd {
    margin: 0 0 20px;
    font-size: 16px;
    color: var(--text-body);
}

.lp-ba dd:last-child {
    margin-bottom: 0;
    font-weight: var(--fw-medium);
    color: var(--text-black);
}

/* ========================= Testimonianze ================================= */

.lp-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.lp-quote {
    position: relative;
    margin: 0;
    background: var(--white);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 36px 32px 28px;
    box-shadow: var(--shadow-soft);
}

.lp-quote::before {
    content: '\201C';
    position: absolute;
    top: 6px;
    left: 24px;
    font-size: 72px;
    line-height: 1;
    color: var(--orange);
    opacity: .30;
}

.lp-quote p {
    position: relative;
    font-size: 18px;
    color: var(--text-black);
}

.lp-quote figcaption {
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: var(--fw-medium);
    color: var(--text-muted);
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid var(--divider);
}

/* ========================= Step attivazione ============================== */

.lp-steps {
    counter-reset: step;
    display: grid;
    /* 220px tiene i quattro passi su una sola riga alla larghezza del contenuto. */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.lp-step {
    position: relative;
    background: var(--white);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
}

.lp-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 19px;
    font-weight: var(--fw-semibold);
    margin-bottom: 20px;
}

.lp-step h3 {
    font-size: 19px;
    font-weight: var(--fw-semibold);
    margin-bottom: 10px;
}

.lp-step p {
    font-size: 16px;
    margin-bottom: 0;
}

/* ========================= Form ========================================== */

.lp-form-card {
    background: var(--white);
    border: 1px solid var(--divider);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: clamp(28px, 4vw, 52px);
    max-width: 620px;
    margin: 0 auto;
}

.lp-form-card__title {
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: var(--fw-semibold);
    margin-bottom: 8px;
}

.lp-form-card__sub {
    font-family: var(--font-secondary);
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

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

.lp-field > label {
    display: block;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: var(--fw-medium);
    color: var(--text-black);
    margin-bottom: 8px;
}

.lp-field .req {
    color: var(--orange);
}

.lp-field input[type="text"],
.lp-field input[type="email"],
.lp-field input[type="tel"],
.lp-field input[type="number"],
.lp-field textarea {
    width: 100%;
    font-family: var(--font-primary);
    font-size: 17px;
    color: var(--text-black);
    background: var(--white);
    border: 1.5px solid var(--divider);
    border-radius: var(--radius-md);
    padding: 15px 18px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.lp-field input::placeholder,
.lp-field textarea::placeholder {
    color: #9AA6B4;
}

.lp-field textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.5;
}

.lp-field input:focus,
.lp-field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(16, 115, 196, .14);
}

.lp-field input.input-validation-error,
.lp-field textarea.input-validation-error {
    border-color: var(--red-text);
}

.lp-field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0 20px;
}

.lp-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lp-radio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: var(--fw-medium);
    color: var(--text-black);
    border: 1.5px solid var(--divider);
    border-radius: var(--radius-md);
    padding: 13px 22px;
    cursor: pointer;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.lp-radio:hover {
    border-color: var(--blue);
}

.lp-radio input {
    accent-color: var(--blue);
    width: 18px;
    height: 18px;
    margin: 0;
}

.lp-radio:has(input:checked) {
    border-color: var(--blue);
    background: rgba(16, 115, 196, .06);
}

.lp-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 4px 0 8px;
}

.lp-consent input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 3px 0 0;
    accent-color: var(--blue);
    cursor: pointer;
}

.lp-consent label {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: var(--fw-regular);
    line-height: 1.5;
    color: var(--text-body);
}

.field-validation-error {
    display: block;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: var(--fw-medium);
    color: var(--red-text);
    margin-top: 7px;
}

.field-validation-valid {
    display: none;
}

.lp-alert {
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    font-family: var(--font-secondary);
    font-size: 15px;
}

.lp-alert--error {
    background: var(--red-bg);
    color: var(--red-text);
}

.lp-alert--error ul {
    margin: 8px 0 0;
    padding-left: 18px;
    list-style: disc;
}

.lp-alert--success {
    background: var(--green-bg);
    color: var(--green-text);
}

.lp-form-footnote {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin: 18px 0 0;
}

/* ========================= FAQ =========================================== */

.lp-faq {
    max-width: var(--narrow-width);
    margin: 48px auto 0;
}

.lp-faq details {
    background: var(--white);
    border: 1px solid var(--divider);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
}

.lp-faq details[open] {
    border-color: var(--blue);
}

.lp-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
    cursor: pointer;
    padding: 22px 26px;
    font-size: 18px;
    font-weight: var(--fw-medium);
    color: var(--text-black);
}

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

.lp-faq summary::after {
    content: '';
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    border-right: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    transform: rotate(45deg) translate(-3px, -3px);
    transition: transform var(--transition-fast);
}

.lp-faq details[open] summary::after {
    transform: rotate(-135deg) translate(-3px, -3px);
}

.lp-faq__body {
    padding: 0 26px 24px;
    font-size: 17px;
}

/* ========================= CTA finale ==================================== */

.lp-final {
    background: linear-gradient(135deg, var(--blue) 0%, #0A5A9E 100%);
    color: var(--white);
    text-align: center;
}

.lp-final .lp-title {
    color: var(--white);
}

.lp-final .lp-title em {
    color: var(--orange);
}

.lp-final .lp-text {
    color: rgba(255, 255, 255, .92);
}

.lp-final .btn-note {
    color: rgba(255, 255, 255, .85);
}

/* ========================= Footer ======================================== */

.lp-footer {
    background: var(--white);
    border-top: 1px solid var(--divider);
    padding: 56px 0 32px;
    font-family: var(--font-secondary);
    font-size: 15px;
    color: var(--text-black);
}

.lp-footer__top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.lp-footer__logo img {
    height: 46px;
    width: auto;
}

.lp-footer__payoff {
    font-size: 16px;
    color: var(--text-muted);
    margin-top: 16px;
}

.lp-footer h2 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: var(--fw-medium);
    margin-bottom: 16px;
}

.lp-footer__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 1.5;
}

.lp-footer__list a {
    color: var(--text-black);
}

.lp-footer__list a:hover {
    color: var(--blue);
}

.lp-footer__divider {
    border: 0;
    border-top: 1px solid var(--divider);
    margin: 40px 0 24px;
}

.lp-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
}

.lp-footer__legal {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    max-width: 680px;
}

.lp-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.lp-footer__links a {
    font-size: 14px;
    color: var(--text-black);
}

/* ========================= Thank You Page ================================ */

.lp-ty {
    padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
    background: var(--orange-bg-light);
    text-align: center;
}

.lp-ty__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: var(--green-bg);
}

.lp-ty__check svg {
    width: 44px;
    height: 44px;
    stroke: var(--green-text);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.lp-ty__title {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 12px;
}

.lp-ty__title strong {
    color: var(--blue);
    font-weight: var(--fw-bold);
}

.lp-ty__sub {
    font-size: clamp(19px, 1.7vw, 24px);
    font-weight: var(--fw-medium);
    color: var(--amber-text);
    margin-bottom: 24px;
}

.lp-ty__next {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 48px auto 0;
    text-align: left;
}

.lp-ty__next li {
    background: var(--white);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    font-size: 16px;
    color: var(--text-body);
}

.lp-ty__next strong {
    display: block;
    font-family: var(--font-secondary);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
}

/* ========================= Marcatori editoriali ===========================
   .copy-draft = testo gia' scritto, in attesa del via libera di Belix.
   Con Landing:MostraSegnapostiCopy = false (valore di default in
   appsettings.json) il <body> prende la classe .copy-approved e i blocchi
   tornano testo normale, senza bordo ne' etichetta: e' lo stato in cui la
   pagina va mostrata al cliente. Rimettere true solo durante la revisione.
   ======================================================================== */

.copy-draft {
    position: relative;
    border-left: 3px solid var(--blue);
    background: rgba(16, 115, 196, .05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 14px 18px;
}

.copy-draft::before {
    content: 'BOZZA DA VALIDARE';
    display: block;
    font-family: var(--font-secondary);
    font-size: 11px;
    font-weight: var(--fw-semibold);
    letter-spacing: .10em;
    color: var(--blue);
    margin-bottom: 6px;
}

.copy-approved .copy-draft {
    border-left: 0;
    background: none;
    padding: 0;
}

.copy-approved .copy-draft::before {
    content: none;
}

/* ========================= Breakpoint ==================================== */

@media (max-width: 1024px) {
    :root {
        --gutter: 32px;
        --section-spacing: 76px;
    }
}

@media (max-width: 768px) {
    :root {
        --gutter: 20px;
        --section-spacing: 60px;
    }

    body {
        font-size: 17px;
    }

    .lp-shots {
        grid-template-columns: 1fr;
    }

    .lp-shot--wide {
        grid-column: span 1;
    }

    .lp-shot img,
    .lp-shot--wide img {
        aspect-ratio: 16 / 10;
    }

    /* Su schermo stretto la mappa intera diventa illeggibile: mostriamo un
       ritaglio a risoluzione nativa, dove gli ombrelloni si riconoscono. */
    .lp-shot--wide img {
        object-fit: none;
        object-position: 24% 64%;
    }

    .lp-callout {
        padding: 24px;
    }

    .lp-card,
    .lp-step,
    .lp-quote {
        padding: 26px 22px;
    }

    .lp-cta-row .btn {
        width: 100%;
    }

    .lp-faq summary {
        font-size: 17px;
        padding: 18px 20px;
    }

    .lp-faq__body {
        padding: 0 20px 20px;
        font-size: 16px;
    }

    .lp-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================= Ancore ======================================== */
/* L'header e' sticky: senza questo margine le sezioni raggiunte da un link
   interno finirebbero sotto la barra. */

section[id] {
    scroll-margin-top: 100px;
}

@media (max-width: 640px) {
    section[id] {
        scroll-margin-top: 80px;
    }
}
