/*commons*/
a {
    transition: transform .5s !important;
}

a:hover {
    transform: translate(0, -2px);
}

:root {
    --cream: #FDFAF5;
    --sand: #F7F3ED;
    --teal: #28AEA4;
    --yellow: #FFD91F;
    --black: #1A1A1A;
    --gray: #555555;
    --light-gray: #F7F3ED;
    --teal-light: #e8f5f4;
    --bg-cream: #FDFAF5;
    --bg-sand: #F7F3ED;
    --border-warm: #f7f7f7;
}

.linkurl {
    color: var(--teal);
    font-weight: bold;
}

.sauton-newhome-page .row {
    max-width: 1400px !important;
}

.section-title {
    font-size: 32px;
    color: var(--black);
    margin-bottom: 10px;
    text-align: center;
}

span.badge {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 16px;
    margin-bottom: 20px;
    font-size: 16px;
    border-radius: 900px;
}

/* HERO */
section.nuovahero {
    background-image: url('https://www.sauton.it/wp-content/themes/sauton2024/images/herosauton_newhome.jpg');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 3em 0;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

span.teal {
    display: block;
    color: var(--teal);
}

.nuovahero h1 {
    font-size: 45px;
    line-height: 1.2;
    font-weight: bold !important;
}

section.nuovahero a.button.secondarybutton {
    color: #000;
    background: #fff !important;
}

section.nuovahero a.button {
    font-size: 20px !important;
}

section.nuovahero a.button.secondarybutton:hover {
    background: var(--teal) !important;
    color: #fff;
}

/** SOCIAL PROOF */
section.social-proof {
    background: var(--bg-sand);
    padding: 3em 0;
}

section.social-proof .row .columns {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.proof-item {
    text-align: center;
}

.proof-item h4,
.proof-item p {
    margin: 0;
}

.proof-number h4 {
    font-size: 32px;
    font-weight: 600;
    color: var(--teal);
}

.proof-label p {
    font-size: 15px;
    margin-top: 4px;
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: #000;
    opacity: .1;
}

/* ==================== */
/* IL PROBLEMA       */
/* ==================== */
.problem {
    padding: 3em 0;
    background: var(--white);
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 48px;
    color: var(--black);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.problem-card {
    background: var(--bg-sand);
    border: 1px solid #f7f7f7;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.2s;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.problem-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card p {
    font-size: 16px;
    color: #000;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.problem-conclusion {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--teal);
    font-weight: 600;
    margin-top: 24px;
}

.problem-icon img {
    max-width: 70%;
}

/* ==================== */
/* 4. LA SOLUZIONE      */
/* ==================== */
.solution {
    padding: 3em 0;
    background: linear-gradient(180deg, var(--teal-light) 0%, var(--teal-light) 100%);
}

.solution-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 700px;
    margin: 0 auto;
}

.solution-header h2 {
    margin: 10px;
}

.solution-header p {
    margin: 0 0 20px;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 36px;
}

.pillar {
    background: #fff;
    border: 1px solid var(--border-warm);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.2s;
}

.pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.pillar-icon {
    width: 72px;
    height: 72px;
    background: var(--teal);
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.pillar h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.pillar p {
    font-size: 15px;
    line-height: 1.6;
}

.solution-link {
    text-align: center;
}

.solution-link a {
    color: var(--teal);
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
}

.solution-link a:hover {
    text-decoration: underline;
}

/** SEZIONE CON I PRODOTTI */


section.loop-prodhome {
    padding: 3em 0;
}


/** prodotti **/

.product-grid.home-product {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1%;
}

.product-grid.home-product .img-container {
    border-radius: 10px;
}

.riquadroprod_new {
    position: relative;
    width: 19%;
}

.home-product a {
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.1;
}

.home-product h4 {
    margin-bottom: 0px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    line-height: 1.1;
}

.home-product .prodotto-home {
    margin: 0;
}

.home-product .star_prod_home {
    float: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.home-product .star-rating {
    padding-left: 0;
}

.home-product .star_prod_home {
    float: none;
    display: flex;
    justify-content: flex-start;
    max-width: 100%;
    margin: 0;
}

.home-product .star_prod_home span.txtrev {
    margin-top: 4px;
    margin-left: 5px;
}

.prodotto-home.prodotto p {
    text-align: left;
    font-size: 14px;
    margin-bottom: 0;
    font-weight: normal !important;
}

.home-product .prodotto-home-prezzo span.price {
    font-weight: 600;
    font-size: 16px;
}

.home-product .tinv-wraper.tinv-wishlist {
    display: none;
}

/** Prodotti end **/

.tab-content {
    display: none;
    margin-bottom: 30px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.tabs-header button.tab-btn.active,
.tabs-header button.tab-btn:hover {
    background: var(--teal) !important;
    color: #fff;
}

.tabs-header button.tab-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--cream) !important;
    color: #000;
    border-radius: 900px !important;
    font-size: 16px !important;
    border: 1px solid #27aea4 !important;
}

.tabs-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

section.loop-prodhome .section-title {
    margin-bottom: 20px;
}

/** Quiz section **/
section.quiz-cta {
    background: var(--teal);
    padding: 5em 0;
    text-align: center;
}

section.quiz-cta h2 {
    color: #fff;
    font-size: 55px;
    margin: 0;
}

section.quiz-cta p {
    font-size: 22px;
    color: #fff;
}

.quiz-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.quiz-features span.check {
    background: #fff;
    height: 25px;
    display: inline-block;
    width: 25px;
    text-align: center;
    line-height: 25px;
    border-radius: 100%;
    color: var(--teal);
    font-size: 15px;
}

.quiz-features span {
    color: #fff;
    font-size: 18px;
}

.quiz-cta-box a.button {
    font-size: 20px !important;
    margin-top: 10px;
}

/* ==================== */
/* 6. TRE PORTE         */
/* ==================== */
.three-doors {
    padding: 80px 60px;
    background: var(--white);
    text-align: center;
}

.doors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.door-card {
    background: var(--bg-sand);
    border: 2px solid var(--border-warm);
    border-radius: 20px;
    padding: 44px 32px;
    transition: all 0.2s;
}

.door-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.door-icon {
    width: 64px;
    height: 64px;
    background: var(--teal);
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.door-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--black);
}

.door-card p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-door {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 16px;
    background: var(--teal);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-door:hover {
    background: #1f8a82;
    color: #fff;
}

.door-icon img {
    max-width: 50px;
}

/* ==================== */
/* 7. CHI È DEVI        */
/* ==================== */
.devi-section {
    padding: 80px 60px;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-sand) 100%);
}

.contentdevi {
    display: flex;
    align-items: center;
    gap: 60px;
}

.devi-image {
    width: 320px;
    height: 420px;
    border-radius: 20px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.devi-content {
    flex: 1;
}

.devi-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--black);
}

.devi-quote {
    background: var(--white);
    border-left: 4px solid var(--teal);
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

.devi-quote p {
    font-style: italic;
    margin-bottom: 0;
}

.devi-content a {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
}

.devi-content a:hover {
    text-decoration: underline;
}

/** Coach **/
section.coach-map {
    background: var(--yellow);
    padding: 3em 0;
}

section.coach-map h2 {
    text-align: left;
    margin: 0 0 10px 0;
}

section.coach-map .rowflex {
    display: flex;
    align-items: center;
}

.coach-map .map-visual {
    padding: 60px;
    background: #fff;
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
}

a.button.btn-coach {
    background: #000 !important;
    font-size: 20px !important;
    color: #fff;
}

/** impara gratis **/
.impara-gratis {
    padding: 3em 0;
    background: #fff;
}

.post-grid {
    margin-top: 40px;
}

.post-card {
    background: var(--bg-sand);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

a.post-thumb {
    position: relative;
}

.post-thumb img.videoanteprima_play_img {
    height: auto;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
}

.post-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.post-content {
    padding: 25px;
}

/* L'etichetta Blog/Ricetta */
.post-label {
    display: block;
    color: var(--teal);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.post-content h3 {
    font-size: 20px;
    line-height: 1.3;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.post-content a {
    text-decoration: none;
}

.cta-container {
    margin-top: 40px;
    gap: 15px;
    display: flex;
    justify-content: center;
}

/* Bottoni */
.btn-teal {
    background: var(--teal) !important;
    color: #fff;
    font-size: 20px !important;
}

.btn-outline-teal {
    border: 2px solid var(--teal);
    color: #008C97;
    background: transparent !important;
    font-size: 20px !important;
}

@media only screen and (max-width: 1024px) {
    section.nuovahero .columns.medium-8 {
        max-width: 80%;
        width: 80%;
    }

    section.nuovahero {
        background-position: center right;
        position: relative;
    }

    section.nuovahero:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: #fff;
        opacity: 0.6;
    }

    section.three-doors {
        padding: 3em 0;
    }
}

@media only screen and (max-width: 768px) {
    section.nuovahero .columns.medium-8 {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    section.nuovahero br {
        display: none;
    }

    section.nuovahero .button {
        width: 100%;
        text-align: center;
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .riquadroprod_new {
        width: 49%;
    }

    section.quiz-cta .columns {
        width: 100%;
    }

    .doors-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .contentdevi {
        flex-flow: wrap;
    }

    .devi-image {
        width: 100%;
        height: auto;
    }

    section.devi-section {
        padding: 3em 0;
    }

    .row.post-grid .columns {
        padding: 0 5px;
    }
}

@media only screen and (max-width: 639px) {
    section.nuovahero {
        background: url('https://www.sauton.it/wp-content/themes/sauton2024/images/responsivehero.jpg');
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .nuovahero h1 {
        font-size: 27px;
    }

    section.nuovahero:before {
        opacity: 0.7;
    }

    section.nuovahero a.button {
        font-size: 18px !important;
        padding: 0.75em 0px !important;
    }

    .sauton-newhome-page .row .columns {
        padding: 0 20px;
    }

    section.social-proof .row .columns {
        flex-flow: wrap;
    }

    .proof-item {
        width: 48%;
        padding: 10px;
    }

    .proof-item:last-child {
        width: 100%;
    }

    .problem-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .pillars {
        grid-template-columns: repeat(1, 1fr);
    }

    .tabs-header {
        flex-flow: wrap;
    }

    h2.section-title {
        font-size: 28px;
        margin-bottom: 20px !important;
    }

    .riquadroprod_new {
        width: 100%;
    }

    section.quiz-cta h2 {
        font-size: 35px;
        margin: 0 0 10px;
        line-height: 1.1;
    }

    section.quiz-cta p {
        font-size: 22px;
    }

    .quiz-features {
        flex-flow: wrap;
    }

    .contentdevi {
        gap: 20px;
    }

    section.coach-map .rowflex {
        flex-flow: wrap;
    }

    a.button.btn-coach {
        font-size: 16px !important;
        text-align: center;
    }

    article.post-card {
        margin: 0 0 20px;
    }

    .cta-container {
        display: block;
    }

    .cta-container .button {
        width: 85%;
        text-align: center;
    }

    .prodotto-home.prodotto a.button {
        padding: 0.75em 1.25em !important;
        font-size: 18px !important;
    }
}