/* ===== Tokens ===== */
:root {
    --purple: #5b4fe0;
    --purple-dark: #4739c9;
    --purple-soft: #eeecfc;
    --green: #2f7d4f;
    --green-soft: #eaf5ee;
    --ink: #1a1a2e;
    --muted: #4f5155;
    --muted-light: #9aa1ae;
    --bg: #f5f6fb;
    --card: #ffffff;
    --card-dark: #1c1c24;
    --border: #e7e8f2;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow: 0 10px 30px -12px rgba(30,30,60,0.12);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /**/
    --color-yellow: #ffcc02;
    --background-color1: #8934ef;
    --color-sconto: #ffae00;
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    background-image: url(../images/background-mountain-low-opacity.svg);
}



.svg_inline {
    display: inline-block;
    width: 48px;
}

.img_inline {
    display: inline-block;
    width: 100px;
}
.logo_noleggio {
    display: inline-block;
    width: 150px;
}


.piano_risparmio {
    font-weight: bold;
    background-color: var(--color-sconto);
    color: rgb(0, 0, 0);
    font-size: 14px;
    display: inline-block;
    text-shadow: none;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5px;
}


.piano_insurance {
    background-color: #333;
    color: #fafafa;
}


/*


*/


.social-links {
    display: flex;
    flex-direction: column;
    position: absolute !important;
    right: 0px;
    top: 20%;
    row-gap: 1em;
    align-items: center;
    color: var(--text-color);
    font-weight: bold;
}
    .social-links a {
        max-width: 30px;
    }


/*
    .

*/


/*img, .placeholder-bg {
    display: block;
}
*/
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-flush {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== Header ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* height: 72px; */
    /* flex-direction: column; */
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width:200px;
}

.logo-text {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.3px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

    .logo-text small {
        font-weight: 500;
        font-size: 11px;
        color: var(--muted);
        letter-spacing: 0.2px;
    }

.main-nav {
    display: flex;
    gap: 32px;
}

    .main-nav a {
        font-size: 14.5px;
        font-weight: 500;
        color: var(--ink);
        
        border-bottom: 2px solid transparent;
    }

        .main-nav a.active {
            color: var(--purple);
            border-bottom-color: var(--purple);
        }

.header-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--ink);
}

.flag {
    font-size: 18px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    background: linear-gradient(180deg, #f3f2fc 0%, #eef1fb 60%, #eaf1f8 100%);
    overflow: hidden;
    min-height: 460px;
    
    align-items: center;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 56px;
    padding-bottom: 56px;
}

.hero-text {
    max-width: 520px;
}

.eyebrow {
    
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 18px;
    color: var(--purple-dark);
}

.hero-sub {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 28px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    align-items: center;
}

    .hero-features li {
/*        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
*/        font-size: 12.5px;
        font-weight: 600;
        color: var(--ink);
        text-align: center;
        max-width: 100px;
    }



    .hero-features li img {
        width:100%;

    }

        .feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 4px 12px -4px rgba(30,30,60,0.1);
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    background-image: linear-gradient(120deg, rgba(238,240,251,0.15), rgba(255,255,255,0)), url(../images/marzo_4.jpg);
    background-size: cover;
    background-position: bottom;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}


.hero-image-mansarda {
    background-image: linear-gradient(120deg, rgba(238,240,251,0.15), rgba(255,255,255,0)), url(../images/Apartment/101.jpg);
    background-size: cover;
    background-position: bottom;
}


    @media (max-width: 900px) {
        .hero-image {
            /* display: none; */
            opacity: 0.4;
            width: 100%;
            clip-path: none;
        }
    }
    /* ===== Generic card grid ===== */
    .two-col {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    margin: 28px auto;
}

#noleggio.two-col {
    grid-template-columns: 1fr 1fr;
}

.card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}


.card-where {
    background: #4f92ff;
    color: #fff;
    position: relative;
    min-height: 300px;
}

.card-dark {
    background: var(--card-dark);
    color: #fff;
    /*display: flex;
    flex-direction: column;*/
    position:relative;
    min-height: 300px;
}

.card-where .card-place {
    flex: 1;
    background-image: linear-gradient(0deg, rgb(0 0 0 / 15%), rgb(0 0 0 / 0%)), url(../images/main/map_distance.png);
    background-size: contain;
    min-height: 150px;
    position: absolute;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.card-dark .card-media {
        flex: 1;

        background-image: linear-gradient(0deg, rgb(0 0 0 / 15%), rgb(0 0 0 / 0%)), url(../images/1001.jpg);
        background-size: cover;
        background-position: bottom;
        min-height: 150px;
        position: absolute;
        height: 100%;
        width: 100%;
    }


.card-media.card-media-rent {
    background-image: url(../images/rent/image-12.jpg);
    background-size: cover;
    background-position: center;
}


.card-where .card-body,
.card-dark .card-body {
    padding: 26px 28px 30px;
    position: relative;
    height: 100%;
    background: linear-gradient(90deg, #000000d9, #0000004a, transparent);
}

.card-light {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
   
    margin-bottom: 14px;
    color: #222;
}

    .card-eyebrow.light {
        color: #fff;
    }

    .card-eyebrow.green {
        color: var(--green);
    }

.card h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.card-dark h2 {
    color: #fff;
}

.card-desc {

    font-size: 14.5px;
    margin-bottom: 20px;
}

.card-dark .card-desc {
    color: rgba(255,255,255,0.72);
}

.card-desc.small {
    margin-bottom: 18px;
}

.check-list {
    margin-bottom: 22px;
}

    .check-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14.5px;
        padding: 6px 0;
    }

        .check-list li::before {
            content: "✓";
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--purple-soft);
            color: var(--purple);
            font-size: 11px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    width: fit-content;
    transition: transform .15s ease, background .15s ease;
}

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

.btn-primary {
    background: var(--purple);
    color: #fff;
}

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

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

.btn-outline--light {
    background: transparent;
    color: #fff;
    border: 1.5px solid #fff;
}



    .btn-outline:hover {
        background: var(--purple-soft);
    }

.btn-green {
    background: var(--green);
    color: #fff;
}

    .btn-green:hover {
        background: #255f3d;
    }


.btn-outline--valdisole {
    background: transparent;
    color: #b61817;
    border: 1.5px solid #b61817;
}




/* 
    
        photo cards (noleggio / appartamenti) 


*/
.card-photo {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    color: #fff;
}

.card-photo::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(0,0,0,0.55) 10%, rgba(0,0,0,0.05) 60%);
        z-index: 1;
}

.card-photo--ski::before {
    background: linear-gradient(47deg, rgb(255 2 2), rgb(0 62 87 / 26%) 60%);
}


.card-photo--ski {
    background-image: url('../images/rent/image-12.jpg');
    background-size: cover;
    background-position: center;
}

.card-photo--bar {
    background-image: url('../images/1001.jpg');
    background-size: cover;
    background-position: center;
}

    .card-photo--ski .card-body {
        background: linear-gradient(90deg, #ffffff, transparent);
}

 .card-photo--ski h2 ,
        .card-photo--ski .card-desc {
    color: #292525;
}


.card-photo--apt {
    background-image: url('../images/Apartment/101.jpg');
    background-size: cover;
    background-position: center;
}


.card-photo--apt .card-body {
        background: linear-gradient(90deg, black, #0000004a, transparent);
}

.card-photo .card-body {
        position: relative;
        z-index: 2;
        padding: 28px 30px 30px;
        height: 100%;
 }

.card-photo .card-desc {
   
}

.card-photo--depot {
    background-image: url('../images/rent/a1.jpg');
    background-size: cover;
    background-position: center;
}

.card-photo--service {
    background-image: url('../images/rent/b1.jpg');
    background-size: cover;
    background-position: center;
}


.card-photo--depot .card-body,
.card-photo--service .card-body {
    position: absolute;
    bottom: 0;
    height: initial;
}






/* ===== Discount  section ===== */



.discount-section {
    margin: 40px auto;
}

.discount-grid {
    background: var(--purple);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 34px;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 34px;
    align-items: center;
}

.discount-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}


.discount-section .btn-outline {
    background: #fafafa;
    color: var(--purple);
    border: 1.5px solid var(--purple);
}

.discount-text h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    color:#ffffff;
    opacity:0.85;
}

.discount-text .card-desc {
    color: #ffffff;
    opacity: 0.85;
}




/* ===== Marilleva section ===== */
    .marilleva-section {
    margin: 40px auto;
}

.marilleva-grid {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 34px;
    align-items: center;
}

.marilleva-text h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.marilleva-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mphoto {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 180px;
    background-size: cover;
    background-position: center;
}

    .mphoto::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgb(37 37 37 / 95%), rgba(0, 0, 0, 0));
    }


.mphoto--risparmio:before {
    background:none;
}

.mphoto--risparmio {
    background-image: url(../images/svg/image_sconto.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: solid 3px #ffffff0f;
    border-radius: 20px;
    background-color: #ffffff3b;
}

.mphoto--piste {
    background-image: url('../images/gallery/woman-1.jpg');
}

.mphoto--ski {
    background-image: url('../images/gallery/1.jpg');
}



.mphoto--gruppi {
    background-image: url('../images/gallery/group-1.jpg');
}

.mphoto--famiglie {
    background-image: url('../images/maestro/image4293-8-5.jpg');
}

.mphoto--village {
    background-image: url(../images/valdisolecop.jpg);
    background-position: top;
}

.mphoto figcaption {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 100%;
    justify-content: flex-end;
}

    .mphoto figcaption strong {
        font-size: 13px;
    }

    .mphoto figcaption span {
        font-size: 11.5px;
        color: rgba(255,255,255,0.8);
    }

/* ===== Meteo ===== */
.meteo-section {
    margin: 40px auto 0;
}

.meteo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 0;
    min-height: 400px;
}

.meteo-forecast {
    padding: 26px 28px;
}

.forecast-list {
    margin: 6px 0 16px;
}


    .forecast-list li:first-child {
        background-color: aliceblue;
        border-radius: 20px;
        border: 0;
        font-weight: bold;
    }


    .forecast-list li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 9px 0;
        border-bottom: 1px solid var(--border);
        
        padding-left: 20px;
        padding-right: 20px;
        min-height: 50px;
    }

        .forecast-list li:last-child {
            border-bottom: none;
        }

    .forecast-list .day {
        color: var(--muted);
        width: 90px;
    }

    .forecast-list .wicon {
        width:35px;

    }

    .forecast-list .temps  {
        color: red;
    }
    .forecast-list .temps b {
        color: var(--purple);
    }

.link-arrow {
    color: var(--purple);
    font-weight: 700;
    font-size: 13.5px;
}

.meteo-today {
    padding: 26px 28px;
}

.today-label {
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 18px;
}

    .today-label span {
        color: var(--muted);
        font-weight: 500;
        font-size: 13px;
    }

.today-main {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.today-icon {
    font-size: 40px;
}

.today-temp {
    font-size: 20px;
    font-weight: 700;
}

    .today-temp b {
        color: var(--purple);
    }

    .today-temp span {
        color: #d64545;
    }

.today-desc {
    color: var(--muted);
    font-size: 13.5px;
}

.today-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

    .today-stats div {
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: 13px;
    }

    .today-stats small {
        color: var(--muted-light);
        font-size: 11px;
    }

.webcam-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 230px;
    background: 
            url('https://panodata.panomax.com/cams/1654/43montevigo.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    box-shadow: var(--shadow);
}

.live-badge {
    background: #e0393e;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 9px;
    border-radius: 5px;
    width: fit-content;
}

.webcam-info p {
    font-size: 13px;
}

    .webcam-info p:first-child {
        font-weight: 700;
        margin-bottom: 2px;
    }

.meteo-footer-stats {
    margin-top: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 22px 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

    .meteo-footer-stats > div {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 0 20px;
        border-left: 1px solid var(--border);
    }

        .meteo-footer-stats > div:first-child {
            border-left: none;
            padding-left: 0;
        }

.stat-label {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 600;
}

.meteo-footer-stats strong {
    font-size: 17px;
}

.meteo-footer-stats small {
    color: var(--muted-light);
    font-size: 11.5px;
}

/* ===== Hashtag band ===== */
.hashtag-band {
    margin-top: 48px;
    background: var(--purple);
    color: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: center;
    gap: 36px;
    font-weight: 600;
    font-size: 13.5px;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
    background: #fff;
    padding-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    color: var(--muted);
    font-size: 13.5px;
    margin: 16px 0 18px;
    max-width: 260px;
}

.footer-social {
    display: flex;
    gap: 10px;
    font-size: 18px;
}

.footer-col h3 {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--muted);
    font-size: 13.5px;
    margin-bottom: 11px;
}

.footer-map p {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

    .footer-map p.small {
        font-weight: 500;
        color: var(--muted);
        margin-bottom: 14px;
    }

.qr-box {
    width: 76px;
    height: 76px;
    background: repeating-linear-gradient(90deg, #1a1a2e 0 6px, #fff 6px 12px), repeating-linear-gradient(0deg, #1a1a2e 0 6px, #fff 6px 12px);
    background-blend-mode: multiply;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.footer-bottom {
    text-align: center;
    color: var(--muted-light);
    font-size: 12.5px;
    padding: 20px 0;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {

    .logo {
        max-width: 150px;
    }

    .logo_noleggio {
        display: inline-block;
        width: 100px;
    }

    .main-nav {
        display: none;
    }

    .two-col, #noleggio.two-col {
        grid-template-columns: 1fr;
    }

    .discount-grid,
    .marilleva-grid {
        grid-template-columns: 1fr;
    }

    .discount-photos,
    .marilleva-photos {
        grid-template-columns: 1fr;
    }

    .meteo-grid {
        grid-template-columns: 1fr;
    }

    .meteo-footer-stats {
        grid-template-columns: 1fr;
    }

        .meteo-footer-stats > div {
            border-left: none;
            padding-left: 0;
            border-top: 1px solid var(--border);
            padding-top: 14px;
        }

            .meteo-footer-stats > div:first-child {
                border-top: none;
                padding-top: 0;
            }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .hero-features {
        gap: 16px;
    }

        .hero-features li {
            max-width: 70px;
        }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
