@font-face {
    font-family: 'Myriad Pro';
    src: url('MyriadPro.woff2') format('woff2'),
        url('MyriadPro.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

:root {
    --red: #E12422;
    --green: #41C516;
    --white: #fff;
    --muted: rgba(255, 255, 255, .78);
}

* {
    box-sizing: border-box;
}

html,
body {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 20px;
    margin: 0 auto;
    padding: 0;
    scroll-behavior: smooth;
    background-color: white;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('MyriadPro.woff2') format('woff2'),
        url('MyriadPro.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}


a {
    scroll-behavior: smooth;
    text-decoration: none;
}

input[type=number] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.header {}

.desk {
    display: block;
}

.logodx {
    font-style: italic;
    /* position: absolute; */
    /* float: right; */
    margin-right: 0;
    margin-top: -4%;
    margin-left: 84%;
    font-size: 15px;
    margin-bottom: 1%;
    min-width: 200px;
}

.logodx img {
    width: 80%;
}

.fascia-nera {
    background-color: #1A1A1A;
    color: white;
    width: 100%;
    text-align: center;
    padding: 0.5%;
    box-sizing: border-box;
}

.pagina {
    background: url(sfondo-apertura.jpg) no-repeat;
    display: grid;
    place-items: center;
    /*url() no-repeat;*/
    background-position: center 100%;
}

.centrale {
    font-weight: 900;
    text-align: center;
    font-size: 50px;
    width: 30%;
    margin: 0 auto;
}

.logo {
    display: block;
    width: 6%;
    margin: 0.5% auto;
    min-width: 100px;
}

/*COLORI
Nero: #1A1A1A
Rosso: #E12422
Verde: #41C516 (pulsante)
verde scuro selezionato > #20A653  verde chiaro da selezionare: #26EE77
grigio sfondo: #47494A
*/
/* Contenitore PIXEL PERFETTO (598x749 come immagine) */
.frame {
    /* background: #111; */
    width: 598px;
    height: auto;
    position: relative;
    overflow: hidden;
    /* background: #000; */
    min-width: 600px;
}


.content {

    inset: 0;
    padding: 26px 26px 20px 26px;
    text-align: center;
    color: var(--white);
}

/* Titoli */
.h1 {
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.02;
    font-size: 50px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
    /* margin-bottom: 50px; */
}

.h1 .red {
    color: var(--red);
    display: block;
}

.h1 .white {
    color: var(--white);
    display: block;
    WIDTH: 100%;
}

/* Copy centrale */
.copy {
    margin-top: 26px;
    line-height: 1.25;
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}

.copy .muted {
    display: block;
    font-weight: 500;
    color: var(--muted);
}

/* Banner rosso */
.badge {
    display: inline-block;
    margin-top: 18px;
    background: var(--red);
    color: var(--white);
    font-weight: 900;
    font-size: 34px;
    padding: 12px 22px;
    border-radius: 0px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .18);
}

/* Bottone verde pill */
.cta {
    width: 470px;
    height: 92px;
    margin: 20px auto 0;
    background: var(--green);
    border-radius: 999px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    color: var(--white);
}

.cta .main {
    font-weight: 900;
    font-size: 34px;
    letter-spacing: .5px;
    line-height: 1;
    margin-top: -20px;
}

.cta .sub {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    top: 60px;
    font-style: italic;
    font-weight: 500;
    font-size: 13px;
    color: rgba(255, 255, 255, .9);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .15);
}

/* Cerchio freccia a destra */
.cta .arrowWrap {
    position: absolute;
    right: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .95);
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, .08);
}

.cta svg {
    display: block;
}

/* Lista check */
.checks {
    /* left: 88px; */
    /* allineamento come screenshot */
    /* right: 40px; */
    /* bottom: 22px; */
    text-align: left;
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
    display: block;
    margin: 1% auto;
    width: 14%;
    position: relative;
    left: -2vw;
}

.cta2 {
    font-weight: 900;
    font-size: 26px;
    /* letter-spacing: .5px; */
    line-height: 1;
    MIN-WIDTH: 0;
}

/* Lista check */
.checks2 {

    /* allineamento come screenshot */


    text-align: left;
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
    display: block;

    width: 66%;
}

.mob {
    display: none;
}

.checkRow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px auto;
    white-space: nowrap;
}

.checkIcon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.checks b {
    color: rgba(255, 255, 255, .95);
    font-weight: 800;
}

/* (opzionale) per rendere identico anche su schermi con scaling */
.frame {
    image-rendering: auto;
}

.check {
    width: 30px;
}

.interno {
    display: flex;
    WIDTH: 60%;
    MARGIN: 0 AUTO;
}

.sx .cta {
    margin: 0;
    margin-top: 5%;
}

h2 {
    font-size: 40px;
    width: 90%;
}

:root {
    --green-dark: #1EA552;
    /* simile al bottone sinistro nello screen */
    --green-l: #24EC76;
    --red: #E12422;
    --green: #41C516;
    /* simile ai bottoni 2/3 */
    --radius: 14px;
    --gap: 18px;
}


.dx {
    margin: 0;
    display: flex;
    justify-content: center;
    padding: 20px 12px;
    width: 70%;
}

.card {
    width: 90%;
    /* come lo screen */
    max-width: 100%;
    background: #fff;
    margin-left: 10%;
}

/* THUMB VIDEO */
.media {
    position: relative;
    width: 70%;
    border-radius: 2px;
    overflow: hidden;
    user-select: none;
    margin: 0 auto;
}

.media img {
    width: 100%;
    height: auto;
    display: block;
}

/* Play overlay (triangolo bianco con contorno) */
.play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.play::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 70px solid #fff;
    border-top: 45px solid transparent;
    border-bottom: 45px solid transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35));
    transform: translateX(6px);
    opacity: .95;
}

/* BOTTONI */
.actions {
    margin-top: 16px;
    display: flex;
    gap: var(--gap);
    padding: 0 18px;
}

.btn {
    flex: 1;
    height: 64px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-size: 20px;
    cursor: pointer;
}

.btn.primary {
    background: var(--green-dark);
}

.btn.secondary {
    background: var(--green-l);
}

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

/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 9999;
}

.modal.open {
    display: flex;
}

.modal__box {
    width: min(980px, 100%);
    background: #0f0f0f;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
    position: relative;
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 2;
}

.modal__content {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

/* VIDEO */
video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
    background: #000;
}

/* GALLERY */
.gallery {
    width: 100%;
    position: relative;
}

.gallery img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    background: #000;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    display: grid;
    place-items: center;
    user-select: none;
}

.nav.prev {
    left: 12px;
}

.nav.next {
    right: 12px;
}

.counter {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
}

.video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-wrap video {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-height: 20vw;
}

/* overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 422px;
    cursor: pointer;
    transition: opacity .25s ease;
}

.video-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

/* icona play */
.play-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    position: relative;
}

.play-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 22px solid #000;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
}

/* MOBILE */
.fascia-grigia {
    background: #464748;
    padding: 60px 20px 50px;
}

/* CONTENITORE */
.fascia-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    /* align-items: flex-start; */
}

/* OMAGGIO */
.omaggio {
    flex: 0 0 480px;
}

.omaggio img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* RECENSIONI */
.recensioni {
    flex: 1;
    color: #fff;
    width: 30%;
    margin-top: -5%;
}

.recensioni h2 {
    font-size: 38px;
    font-weight: 800;
    margin: 2% auto;
}

/* CARD */
.rec-card {
    background: #fff;
    color: #111;
    border-radius: 12px;
    height: 270px;
    padding: 24px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, .35);
}

.rec-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stars {
    color: #f4b400;
    font-size: 28px;
    letter-spacing: 2px;
}

.google {
    width: 26px;
}

.rec-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 14px 0 10px;
}

.rec-name strong {
    font-size: 22px;
}

.verified {
    color: #888;
    font-size: 14px;
}

.rec-card p {
    font-size: 17px;
    line-height: 1.4;
    margin: 0;
}

/* CTA */
.cta-wrap {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.cta-attiva {
    width: 520px;
    height: 70px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

/* DOTS */
.swiper-pagination {
    margin-top: 16px;
}

.foo {
    background-color: white;
    padding: 1%;
    padding-inline: 0px;
    text-align: center;
    width: 100%;
    font-size: 12px;
}


/* ðŸ“± STACK VERTICALE */
@media (max-width:1300px) {
    .checks {

        left: -5vw;
    }

    .logodx {
        font-style: italic;
        /* position: absolute; */
        /* float: right; */
        margin-right: 0;
        margin-top: -7%;
        margin-left: 79%;
        font-size: 15px;
        margin-bottom: 1%;
        min-width: 200px;
    }

    .fascia-inner {
        max-width: 1000px;
    }

    .interno {
        display: flex;
        WIDTH: 1000px;
        MARGIN: 0 AUTO;
    }
}

/* ðŸ“± STACK VERTICALE */
@media (max-width:1200px) {
    .fascia-inner {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .omaggio {
        flex: none;
        max-width: 520px;
        width: 100%;
    }

    .recensioni {
        width: 100%;
        max-width: 640px;
        text-align: center;
    }

    .rec-card {
        text-align: left;
    }

    .cta-attiva {
        width: 100%;
        max-width: 520px;
    }
}

/* =========================
   MOBILE <= 1000px (come PDF)
   ========================= */
@media (max-width: 1000px) {

    /* base */
    html,
    body {
        font-size: 18px;
    }

    /* HEADER: logo a sinistra, stelline/testo a destra piÃ¹ compatto */
    .header {
        position: relative;
        padding: 10px 12px 6px;
    }

    .logo {
        width: 130px;
        min-width: 0;
        margin: 0;
    }

    .logodx {
        margin: 0;
        position: absolute;
        right: 12px;
        top: 10px;
        font-size: 12px;
        min-width: 0;
        text-align: right;
        line-height: 1.15;
    }

    .logodx img {
        width: 120px;
        max-width: 38vw;
    }

    /* HERO (sfondo + blocco testo) */
    .pagina {
        padding: 0;
        background-position: center bottom;
        background-size: cover;
        padding-bottom: 15px;
    }

    .frame {
        width: 100%;
        min-width: 0;
        height: auto;
    }

    .content {
        padding: 10px 0px 0px;
    }

    .h1 {
        font-size: 40px;
        line-height: 1.02;
    }

    .copy {
        font-size: 18px;
    }

    .badge {
        font-size: 28px;
        padding: 10px 16px;
    }

    .cta {
        width: 300px;
        max-width: 520px;
        height: 70px;
        font-size: 26px;
    }

    .cta .main {
        font-size: 26px;
    }

    /* check sotto CTA (nel PDF sono centrati, non stretti) */
    .checks {
        width: 100%;
        max-width: 520px;
        left: 0;
        margin: 16px auto 0;
        text-align: left;
    }

    .checkRow {
        white-space: normal;
        /* evita che vada fuori schermo */
        /* color: white; */
    }

    /* SEZIONE BIANCA: va in colonna (testo sopra, video sotto) */
    .interno {
        width: 100%;
        margin: 0 auto;
        padding: 20px 12px;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        background: #464748;
    }

    .sx,
    .dx {
        width: 100%;
    }

    h2 {
        font-size: 34px;
        width: 100%;
        text-align: center;
        color: white;
        margin: 0 0 10px;
    }

    .checks2 {
        width: 99%;
        max-width: 520px;
        margin: 0 auto 14px;
        font-size: 15px;
        margin: 0 auto;
        display: block;
    }

    .sx .cta {
        margin: 0 auto;
    }

    /* card video + bottoni: full width come PDF */
    .dx {
        padding: 0;
        justify-content: center;
    }

    .card {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        background: #464748;
    }

    .media {
        width: 100%;
    }

    .video-overlay {
        min-height: 260px;
        /* evita overlay enorme su mobile */
    }

    .actions {
        padding: 0 10px 14px;
        gap: 10px;
        background: #464748;
    }

    .btn {
        width: 30%;
        height: 56px;
        font-size: 14px;
        border-radius: 12px;
    }

    /* ====== FASCIA GRIGIA (ordine come PDF) ======
     Nel PDF: CTA grigia "ATTIVA ORA" sopra, poi Omaggio, poi Recensioni :contentReference[oaicite:1]{index=1}
  */
    .fascia-grigia {
        padding: 22px 12px 18px;
    }

    /* CTA GRIGIA sopra (come PDF) */
    .cta-wrap {
        order: 0;
        margin: 0 0 18px;
    }

    .cta-attiva {
        width: 100%;
        max-width: 520px;
        height: 66px;
        font-size: 22px;
    }

    /* layout colonna */
    .fascia-inner {
        max-width: 520px;
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    /* OMAGGIO full width */
    .omaggio {
        flex: none;
        width: 100%;
    }

    .omaggio img {
        width: 100%;
        border-radius: 14px;
    }

    /* RECENSIONI */
    .recensioni {
        width: 100%;
        margin-top: 0;
        text-align: center;
    }

    .recensioni h2 {
        font-size: 36px;
        /* nel PDF Ã¨ grande */
        margin: 10px 0 14px;
    }

    .rec-card {
        height: auto;
        /* non taglia testo */
        min-height: 220px;
        /* stabilizza lo slider */
        text-align: left;
    }

    .rec-name {
        gap: 10px;
    }

    .rec-name strong {
        font-size: 20px;
    }

    .verified {
        font-size: 13px;
    }
}

/* (facoltativo) sotto 420px: stringi un filo i titoli */
@media (max-width: 420px) {
    .h1 {
        font-size: 35px;
    }

    .recensioni h2 {
        font-size: 32px;
    }
}

@media (max-width: 1000px) {

    .mob b {
        color: #000;
        font-weight: 600;
        /* margin:  0 auto; */
    }


    .fascia-grigia {
        padding: 0;
        border: 0;
    }

    /* layout colonna */
    .fascia-inner {
        max-width: 520px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    /* OMAGGIO full width */
    .omaggio {
        flex: none;
        width: 100%;
        text-align: center;
        display: block;
        width: 100%;
        display: block;
    }

    .omaggio img {
        width: 95%;
        border-radius: 14px;
        margin: 0px auto;
        margin-left: 4%;
        display: block;
    }

    /* RECENSIONI */
    .recensioni {
        width: 100%;
        margin-top: 0;
        background: white;
        text-align: center;
        padding-bottom: 24%;
    }

    .recensioni h2 {
        font-size: 36px;
        margin: 10px 0 14px;
        color: black;
        background: white;
    }

    .rec-card {
        height: auto;
        /* non taglia testo */
        min-height: 220px;
        /* stabilizza lo slider */
        text-align: left;
        width: 84%;
        margin: 2% auto;
        /* border: 1px solid; */
        box-shadow: 6px 8px 18px rgb(0 0 0 / 40%);
    }

    /* CTA GRIGIA SOTTO (come nel tuo HTML e come PDF) */
    .cta-wrap {
        margin: 18px 0 0;
        display: flex;
        justify-content: center;
    }

    .cta-attiva {
        width: 340px;
        max-width: 520px;
        height: 86px;
        font-size: 26px;
        width: 300px;
        max-width: 520px;
        height: 70px;
        font-size: 26px;
    }

    .mob {
        display: block;
        color: #000;
        width: 80%;
    }

    .desk {
        display: none;
    }

    .logo {
        width: 80px;
    }

    .checks {
        font-size: 16px;
        margin: 2% auto;
    }

    .sx {
        width: 100%;
    }

    .sx .checkRow {
        width: 100%;
        color: white !important;
    }

    .fascia-grigia .cta-wrap {
        display: none;
    }

    .foo2 {
        background-color: black;
        padding: 1%;
        padding-inline: 0;
        width: 100%;
        position: fixed;
        bottom: 0;
        padding-top: 0px;
        margin: 0;
    }

    .swiper-horizontal>.swiper-pagination-bullets,
    .swiper-pagination-bullets.swiper-pagination-horizontal,
    .swiper-pagination-custom,
    .swiper-pagination-fraction {
        bottom: var(--swiper-pagination-bottom, 8px);
        top: 5%;
        left: 0;
        width: 100%;
        display: none;
    }

    .cta .arrowWrap {
        position: absolute;
        right: 14px;
        width: 40px;
        height: 40px
    }

    .foo2 .cta {
        margin: 5px auto;
    }

    .cta .sub {
        top: 45px;
    }
}