/*
Theme Name: Simas Elevator
Theme URI: https://simaselevator.it/
Description: Tema child di Divi per Simas Elevator.
Author: Digital Vibes
Template: Divi
Version: 1.0.3
Text Domain: simas-elevator
*/

:root {
    --simas-blue: #0e3a5a;
    --simas-pink: #c0046b;
    --simas-ink: #152733;
    --simas-mist: #f3f4f2;
}

body,
button,
input,
textarea,
select,
#top-menu a {
    font-family: "Prompt", Arial, sans-serif;
}

#main-header {
    box-shadow: 0 1px 0 rgba(14, 58, 90, 0.12);
}

#logo {
    max-height: 58%;
}

#top-menu li.current-menu-item > a,
#top-menu li.current_page_item > a,
#top-menu a:hover {
    color: var(--simas-pink) !important;
}

.page-id-7 #main-content .container {
    width: 100%;
    max-width: none;
    padding-top: 0;
}

.page-id-7 #left-area {
    width: 100%;
    padding: 0;
}

.page-id-7 #sidebar,
.page-id-7 #main-content .container:before,
.page-id-7 .entry-title {
    display: none;
}

.page-id-7 .et_pb_post {
    margin-bottom: 0;
}

.page-id-7 .entry-content {
    padding-top: 0;
}

#simas-hero .et_pb_slide {
    min-height: calc(100vh - 80px);
}

#simas-hero .et_pb_container,
#simas-hero .et_pb_slider_container_inner {
    min-height: calc(100vh - 80px);
}

#simas-hero .et_pb_slide_description {
    padding: 21vh 0 15vh;
}

#simas-hero .et_pb_slide_title {
    max-width: 780px;
    text-shadow: none;
}

#simas-hero .et_pb_slide_content {
    max-width: 660px;
    text-shadow: none;
}

#simas-hero .et_pb_button,
.simas-product-card .et_pb_button,
#simas-partner .et_pb_button,
#simas-visual-story .et_pb_button,
#simas-final-cta .et_pb_button {
    min-height: 50px;
    padding: 14px 26px !important;
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

#simas-hero .et_pb_button:hover,
.simas-product-card .et_pb_button:hover,
#simas-partner .et_pb_button:hover,
#simas-visual-story .et_pb_button:hover,
#simas-final-cta .et_pb_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(14, 58, 90, .18);
}

#simas-hero .et-pb-arrow-prev,
#simas-hero .et-pb-arrow-next {
    color: #fff;
}

#simas-hero .et-pb-controllers a {
    width: 22px;
    height: 3px;
    border-radius: 0;
}

#simas-products-intro {
    position: relative;
    z-index: 4;
}

.simas-product-card {
    min-height: 330px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(14, 58, 90, .16);
    transition: transform .3s ease, box-shadow .3s ease;
}

.simas-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 36px 76px rgba(14, 58, 90, .24);
}

.simas-product-card .et_pb_promo_description {
    max-width: 58%;
}

.simas-editorial-image {
    height: 620px;
    overflow: hidden;
}

.simas-editorial-image img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    transition: transform .8s ease;
}

.simas-editorial-image:hover img {
    transform: scale(1.035);
}

.simas-editorial-image-tall,
.simas-editorial-image-tall img {
    height: 720px;
}

#simas-partner .et_pb_column:last-child,
#simas-visual-story .et_pb_column:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
}

.simas-step {
    min-height: 260px;
    padding: 34px 28px;
    border-top: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .035);
    transition: background-color .25s ease, transform .25s ease;
}

.simas-step:hover {
    background: rgba(255, 255, 255, .075);
    transform: translateY(-6px);
}

.simas-step-number {
    display: block;
    margin-bottom: 52px;
    color: #f36aaa;
    font-family: "Prompt", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

#simas-final-cta.et_pb_section {
    background-size: 420px auto !important;
    background-position: calc(100% - 7vw) center !important;
    background-repeat: no-repeat !important;
}

@media (max-width: 980px) {
    #simas-hero .et_pb_slide,
    #simas-hero .et_pb_container,
    #simas-hero .et_pb_slider_container_inner {
        min-height: 760px;
    }

    #simas-hero .et_pb_slide_description {
        padding: 180px 0 130px;
    }

    #simas-hero .et_pb_slide_title {
        font-size: 52px !important;
    }

    #simas-products-intro .et_pb_row {
        margin-top: -56px !important;
    }

    .simas-product-card {
        min-height: 300px;
    }

    #simas-partner .et_pb_column:last-child,
    #simas-visual-story .et_pb_column:first-child {
        padding: 42px 0 0;
    }

    .simas-editorial-image,
    .simas-editorial-image img,
    .simas-editorial-image-tall,
    .simas-editorial-image-tall img {
        height: 560px;
    }

    #simas-final-cta.et_pb_section {
        background-size: 300px auto !important;
        background-position: calc(100% - 4vw) center !important;
    }
}

@media (max-width: 767px) {
    #simas-hero .et_pb_slide,
    #simas-hero .et_pb_container,
    #simas-hero .et_pb_slider_container_inner {
        min-height: 680px;
    }

    #simas-hero .et_pb_slide_description {
        padding: 145px 0 110px;
    }

    #simas-hero .et_pb_slide_title {
        font-size: 40px !important;
        line-height: 1.02em !important;
    }

    #simas-hero .et_pb_slide_content {
        font-size: 16px !important;
    }

    #simas-products-intro .et_pb_row {
        margin-top: -34px !important;
    }

    .simas-product-card {
        min-height: 390px;
    }

    .simas-product-card .et_pb_promo_description {
        max-width: 74%;
    }

    #simas-soluzioni,
    #simas-partner,
    #simas-process,
    #simas-visual-story,
    #simas-final-cta {
        padding-top: 82px !important;
        padding-bottom: 82px !important;
    }

    #simas-soluzioni h2,
    #simas-process h2,
    #simas-partner h2,
    #simas-visual-story h2,
    #simas-final-cta h2 {
        font-size: 38px !important;
    }

    .simas-editorial-image,
    .simas-editorial-image img,
    .simas-editorial-image-tall,
    .simas-editorial-image-tall img {
        height: 470px;
    }

    .simas-step {
        min-height: 230px;
        margin-bottom: 18px;
    }

    #simas-final-cta {
        background-image: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .simas-product-card,
    .simas-product-card .et_pb_button,
    .simas-editorial-image img,
    .simas-step,
    #simas-hero .et_pb_button,
    #simas-partner .et_pb_button,
    #simas-visual-story .et_pb_button,
    #simas-final-cta .et_pb_button {
        transition: none !important;
        transform: none !important;
    }
}

/* Privacy Policy: layout senza sidebar */
.page-id-73 #main-content .container {
    width: 90%;
    max-width: 1120px;
    padding-top: 72px;
}

.page-id-73 #left-area {
    width: 100%;
    padding-right: 0;
}

.page-id-73 #sidebar,
.page-id-73 #main-content .container:before,
.page-id-73 .entry-title {
    display: none;
}

.page-id-73 .et_pb_post {
    margin-bottom: 0;
}

.page-id-73 .simas-privacy-policy {
    padding-bottom: 72px;
}

.page-id-73 .simas-privacy-policy h1 {
    color: var(--simas-blue);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    margin-bottom: 24px;
}

.page-id-73 .simas-privacy-policy h2 {
    color: var(--simas-blue);
    margin-top: 42px;
    margin-bottom: 16px;
}

.page-id-73 .simas-privacy-policy h3 {
    color: var(--simas-pink);
    margin-top: 28px;
    margin-bottom: 12px;
}

.page-id-73 .simas-privacy-policy p {
    color: var(--simas-ink);
    line-height: 1.75;
    margin-bottom: 18px;
}

@media (max-width: 767px) {
    .page-id-73 #main-content .container {
        width: 88%;
        padding-top: 48px;
    }

    .page-id-73 .simas-privacy-policy {
        padding-bottom: 48px;
    }
}
