*{

margin:0;
padding:0;
box-sizing:border-box;

}

body{

font-family:Arial,Helvetica,sans-serif;
background:#111;
overflow-x:hidden;

}

.hero{

height:100vh;

background:url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=2200") center;

background-size:cover;

position:relative;

display:flex;

align-items:center;

}

.hero-overlay{

position:absolute;

inset:0;

background:linear-gradient(
90deg,
rgba(0,0,0,.80),
rgba(0,0,0,.45));

}

.hero-content{

position:relative;

z-index:10;

color:white;

max-width:700px;

}

.hero-label{

display:inline-block;

background:#d4af37;

color:#111;

padding:12px 25px;

border-radius:50px;

font-weight:bold;

letter-spacing:2px;

margin-bottom:30px;

}

.hero h1{

font-size:80px;

line-height:1;

font-weight:900;

margin-bottom:30px;

}

.hero p{

font-size:22px;

opacity:.9;

margin-bottom:45px;

}

.hero-search{

background:rgba(255,255,255,.12);

backdrop-filter:blur(18px);

padding:30px;

border-radius:30px;

}

.search-grid{

display:grid;

grid-template-columns:2fr 1fr 1fr 180px;

gap:15px;

}

.search-grid input,
.search-grid select{

height:60px;

border:none;

border-radius:15px;

padding:0 20px;

font-size:18px;

}

.search-grid button{

background:#d4af37;

border:none;

border-radius:15px;

font-size:18px;

font-weight:bold;

cursor:pointer;

transition:.3s;

}

.search-grid button:hover{

transform:scale(1.05);

}

.featured-home{

position:relative;

padding:140px 0;

background:url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=2400") center;

background-size:cover;

margin-top:120px;

}

.featured-overlay{

position:absolute;

inset:0;

background:linear-gradient(
90deg,
rgba(0,0,0,.82),
rgba(0,0,0,.20));

}

.featured-home .container{

position:relative;
z-index:5;

}

.featured-home h2{

font-size:64px;

color:white;

font-weight:900;

margin:30px 0;

}

.featured-home p{

color:white;

font-size:20px;

max-width:650px;

opacity:.9;

margin-bottom:40px;

}

.featured-tag{

background:#d4af37;

padding:12px 25px;

border-radius:40px;

font-weight:bold;

}

.featured-info{

display:flex;

gap:60px;

color:white;

margin-bottom:50px;

}

.price{

font-size:48px;

font-weight:900;

color:#d4af37;

}

.featured-bottom{

display:flex;

align-items:center;

justify-content:space-between;

max-width:700px;

}

.btn-featured{

background:white;

padding:18px 40px;

border-radius:50px;

text-decoration:none;

font-weight:bold;

color:#111;

transition:.35s;

}

.btn-featured:hover{

background:#d4af37;

color:black;

}

.about-merino{

padding:150px 0;

background:#f8f8f8;

}

.about-photo{

position:relative;

overflow:hidden;

border-radius:28px;

box-shadow:0 30px 80px rgba(0,0,0,.15);

}

.about-photo img{

width:100%;

display:block;

transition:.5s;

}

.about-photo:hover img{

transform:scale(1.03);

}

.experience-box{

position:absolute;

left:30px;

bottom:30px;

background:#d4af37;

padding:20px 30px;

border-radius:20px;

color:white;

}

.experience-box span{

display:block;

font-size:48px;

font-weight:900;

line-height:1;

}

.section-badge{

display:inline-block;

padding:10px 22px;

background:#d4af37;

border-radius:40px;

font-weight:bold;

margin-bottom:25px;

}

.about-merino h2{

font-size:56px;

font-weight:900;

line-height:1.15;

margin-bottom:30px;

color:#111;

}

.lead-text{

font-size:22px;

font-weight:500;

color:#555;

margin-bottom:30px;

}

.about-merino p{

font-size:18px;

line-height:1.9;

color:#666;

}

.about-icons{

display:flex;

gap:45px;

margin-top:50px;

flex-wrap:wrap;

}

.about-icons div{

text-align:center;

}

.icon-circle{

width:70px;

height:70px;

border-radius:50%;

background:white;

display:flex;

align-items:center;

justify-content:center;

font-size:30px;

margin:auto auto 15px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.about-image{

overflow:hidden;

border-radius:30px;

box-shadow:0 25px 60px rgba(0,0,0,.12);

}

.about-image img{

width:100%;

display:block;

transition:.6s;

}

.about-image:hover img{

transform:scale(1.05);

}

.section-badge{

display:inline-block;

padding:10px 22px;

background:#d4af37;

border-radius:40px;

font-weight:bold;

margin-bottom:25px;

}

.about-merino h2{

font-size:54px;

font-weight:900;

line-height:1.1;

margin-bottom:30px;

color:#111;

}

.lead-text{

font-size:22px;

font-weight:500;

color:#555;

margin-bottom:30px;

}

.about-merino p{

font-size:18px;

line-height:1.9;

color:#666;

margin-bottom:20px;

}

.about-numbers{

display:flex;

gap:40px;

margin-top:50px;

flex-wrap:wrap;

}

.about-numbers h3{

font-size:34px;

font-weight:900;

color:#d4af37;

margin-bottom:5px;

}

.about-numbers span{

color:#666;

font-size:15px;

}

/* ===========================
   NAVBAR MERINO
=========================== */

.merino-navbar{

padding:18px 0;

transition:.35s;

background:rgba(0,0,0,.15);

backdrop-filter:blur(18px);

}

.merino-navbar .navbar-brand img{

height:72px;

transition:.3s;

}

.merino-navbar .nav-link{

color:#fff;

font-size:17px;

font-weight:600;

margin:0 15px;

transition:.3s;

position:relative;

}

.merino-navbar .nav-link:hover{

color:#d4af37;

}

.merino-navbar .nav-link::after{

content:"";

position:absolute;

left:0;

bottom:-6px;

width:0;

height:2px;

background:#d4af37;

transition:.3s;

}

.merino-navbar .nav-link:hover::after{

width:100%;

}

.btn-consulenza{

padding:14px 28px;

background:#d4af37;

color:#111;

font-weight:700;

text-decoration:none;

border-radius:40px;

transition:.3s;

}

.btn-consulenza:hover{

background:#fff;

color:#111;

transform:translateY(-2px);

box-shadow:0 10px 25px rgba(0,0,0,.2);

}

.properties-section{

padding:120px 0;

background:#fff;

}

.properties-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

margin-top:60px;

}

.property-box{

background:white;

border-radius:25px;

overflow:hidden;

box-shadow:0 15px 40px rgba(0,0,0,.08);

transition:.35s;

}

.property-box:hover{

transform:translateY(-8px);

box-shadow:0 25px 60px rgba(0,0,0,.18);

}

.property-image{

position:relative;

height:260px;

overflow:hidden;

}

.property-image img{

width:100%;

height:100%;

object-fit:cover;

transition:.5s;

}

.property-box:hover img{

transform:scale(1.08);

}

.property-badge{

position:absolute;

top:20px;

left:20px;

background:#d4af37;

padding:8px 18px;

border-radius:30px;

font-size:14px;

font-weight:bold;

}

.property-body{

padding:30px;

}

.property-body h3{

font-size:28px;

font-weight:800;

margin-bottom:10px;

}

.location{

color:#777;

margin-bottom:20px;

}

.property-icons{

display:flex;

justify-content:space-between;

font-size:15px;

margin-bottom:25px;

color:#555;

}

.property-footer{

display:flex;

justify-content:space-between;

align-items:center;

}

.property-footer strong{

font-size:28px;

color:#d4af37;

}

.property-footer a{

text-decoration:none;

font-weight:700;

color:#111;

}

.section-title{

max-width:700px;

margin:0 auto 70px;

}

.section-title span{

display:inline-block;

padding:8px 20px;

background:#d4af37;

border-radius:30px;

font-weight:700;

margin-bottom:20px;

}

.section-title h2{

font-size:52px;

font-weight:900;

margin-bottom:20px;

color:#111;

}

.section-title p{

font-size:20px;

color:#666;

}

.property-grid{

display:grid;

grid-template-columns:2fr 1fr;

grid-auto-rows:320px;

gap:25px;

}

.property-large{

grid-row:span 2;

}

.property-wide{

grid-column:span 2;

}

.property-card{

position:relative;

overflow:hidden;

border-radius:28px;

display:block;

}

.property-card img{

width:100%;

height:100%;

object-fit:cover;

transition:.6s;

}

.property-card:hover img{

transform:scale(1.08);

}

.property-overlay{

position:absolute;

left:0;

right:0;

bottom:0;

padding:35px;

background:linear-gradient(to top, rgba(0,0,0,.9), transparent);

color:white;

}

.property-overlay h3{

font-size:30px;

font-weight:800;

margin-bottom:8px;

}

.property-overlay strong{

font-size:26px;

color:#d4af37;

}

.badge-property{

display:inline-block;

padding:8px 18px;

background:#d4af37;

color:#111;

font-weight:bold;

border-radius:30px;

margin-bottom:18px;

}
.services-section{

padding:130px 0;

background:#111;

}

.services-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

margin-top:70px;

}

.service-card{

background:#1d1d1d;

padding:45px 35px;

border-radius:24px;

transition:.35s;

border:1px solid rgba(255,255,255,.08);

}

.service-card:hover{

transform:translateY(-10px);

background:#242424;

border-color:#d4af37;

}

.service-icon{

font-size:42px;

margin-bottom:25px;

}

.service-card h3{

color:#fff;

margin-bottom:20px;

font-size:28px;

font-weight:800;

}

.service-card p{

color:#cfcfcf;

line-height:1.8;

font-size:17px;

}


/* ===== Titolo sezione Servizi ===== */

.services-section .section-title span{

    color:#111;
    background:#d4af37;

}

.services-section .section-title h2{

    color:#ffffff;

}

.services-section .section-title p{

    color:#d5d5d5;

}

/*=========================
  CTA PREMIUM
=========================*/

.premium-cta{

position:relative;

padding:180px 0;

background:url("https://images.unsplash.com/photo-1600607687644-c7171b42498f?w=2200") center;

background-size:cover;

background-attachment:fixed;

}

.cta-overlay{

position:absolute;

inset:0;

background:rgba(0,0,0,.65);

}

.cta-content{

position:relative;

z-index:2;

max-width:900px;

margin:auto;

text-align:center;

color:white;

}

.cta-badge{

display:inline-block;

padding:10px 25px;

background:#d4af37;

color:#111;

font-weight:700;

border-radius:40px;

margin-bottom:30px;

}

.cta-content h2{

font-size:64px;

font-weight:900;

margin-bottom:30px;

line-height:1.15;

}

.cta-content p{

font-size:22px;

color:#ddd;

max-width:700px;

margin:auto;

margin-bottom:50px;

line-height:1.8;

}

.cta-buttons{

display:flex;

justify-content:center;

gap:25px;

flex-wrap:wrap;

}

.btn-gold{

background:#d4af37;

padding:18px 38px;

border-radius:50px;

text-decoration:none;

font-weight:700;

color:#111;

transition:.35s;

}

.btn-white{

background:white;

padding:18px 38px;

border-radius:50px;

text-decoration:none;

font-weight:700;

color:#111;

transition:.35s;

}

.btn-gold:hover,
.btn-white:hover{

transform:translateY(-4px);

box-shadow:0 20px 40px rgba(0,0,0,.25);

}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: stretch;
}

.merino-property-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(24, 38, 58, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(19, 34, 54, 0.10);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.merino-property-card:hover {
    transform: translateY(-8px);
    border-color: rgba(198, 157, 41, 0.32);
    box-shadow: 0 28px 70px rgba(19, 34, 54, 0.16);
}

.merino-property-image {
    position: relative;
    width: 100%;
    height: 330px;
    display: block;
    overflow: hidden;
    background: #e9edf1;
    text-decoration: none;
}

.merino-property-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(.2, .8, .2, 1);
}

.merino-property-card:hover .merino-property-image img {
    transform: scale(1.06);
}

.merino-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(12, 25, 43, 0.66) 0%,
        rgba(12, 25, 43, 0.06) 50%,
        rgba(12, 25, 43, 0.02) 100%
    );
}

.merino-card-badges {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.merino-sale-badge,
.merino-exclusive-badge {
    min-height: 34px;
    padding: 8px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    backdrop-filter: blur(10px);
}

.merino-sale-badge {
    color: #ffffff;
    background: rgba(18, 37, 60, 0.9);
}

.merino-exclusive-badge {
    color: #17283f;
    background: rgba(228, 190, 72, 0.96);
}

.merino-view-label {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    padding: 10px 14px;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 700;
    transform: translateY(8px);
    opacity: 0;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.merino-property-card:hover .merino-view-label {
    transform: translateY(0);
    opacity: 1;
}

.merino-property-body {
    flex: 1;
    min-width: 0;
    padding: 27px 28px 28px;
    display: flex;
    flex-direction: column;
}

.merino-property-location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: #77808b;
    font-size: 14px;
    font-weight: 600;
}

.merino-location-icon {
    color: #c69b27;
    font-size: 20px;
    line-height: 1;
}

.merino-property-title {
    min-height: 62px;
    margin: 0;
    color: #17283f;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: -0.025em;
}

.merino-property-title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.merino-property-title a:hover {
    color: #b78a17;
}

.merino-property-features {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf0f3;
}

.merino-property-feature {
    min-height: 39px;
    padding: 8px 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #465265;
    background: #f4f6f8;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.merino-property-feature svg {
    width: 18px;
    height: 18px;
    fill: #c79c28;
}

.merino-property-footer {
    margin-top: auto;
    padding-top: 23px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.merino-property-price {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.merino-property-price small {
    color: #8b929d;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.merino-property-price strong {
    color: #c39824;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.merino-property-button {
    min-height: 49px;
    padding: 11px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    color: #ffffff;
    background: #17283f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.merino-property-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.merino-property-button:hover {
    color: #ffffff;
    background: #c39824;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(195, 152, 36, 0.28);
}

.merino-property-button:hover svg {
    transform: translateX(3px);
}

@media (max-width: 900px) {

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .merino-property-image {
        height: 360px;
    }

}

@media (max-width: 560px) {

    .merino-property-card {
        border-radius: 22px;
    }

    .merino-property-image {
        height: 255px;
    }

    .merino-property-body {
        padding: 22px 20px;
    }

    .merino-property-title {
        min-height: auto;
        font-size: 21px;
    }

    .merino-view-label {
        display: none;
    }

    .merino-property-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .merino-property-price strong {
        font-size: 25px;
    }

    .merino-property-button {
        width: 100%;
    }

}
/*=========================
PERCHÉ MERINO
=========================*/

.why-merino{

padding:140px 0;

background:#f7f7f7;

}

.why-merino h2{

font-size:54px;

font-weight:900;

line-height:1.2;

margin:25px 0;

color:#111;

}

.why-merino p{

font-size:19px;

line-height:1.9;

color:#666;

margin-bottom:40px;

}

.why-list{

display:flex;

flex-direction:column;

gap:22px;

}

.why-item{

display:flex;

align-items:center;

font-size:19px;

font-weight:600;

}

.why-item span{

width:38px;

height:38px;

background:#d4af37;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

margin-right:18px;

font-weight:900;

}

.why-image{

overflow:hidden;

border-radius:28px;

box-shadow:0 30px 80px rgba(0,0,0,.15);

}

.why-image img{

width:100%;

display:block;

transition:.6s;

}

.why-image:hover img{

transform:scale(1.05);

}


/*=========================
STATISTICHE
=========================*/

.stats-section{

padding:120px 0;

background:#111;

}

.stats-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

}

.stat-box{

background:rgba(255,255,255,.05);

border:1px solid rgba(255,255,255,.08);

border-radius:24px;

padding:50px 30px;

text-align:center;

transition:.35s;

backdrop-filter:blur(8px);

}

.stat-box:hover{

transform:translateY(-8px);

border-color:#d4af37;

box-shadow:0 20px 50px rgba(0,0,0,.35);

}

.stat-box h2{

font-size:68px;

font-weight:900;

color:#d4af37;

margin-bottom:15px;

}

.stat-box span{

display:block;

font-size:18px;

color:#fff;

letter-spacing:.5px;

}

/* =========================================================
   MERINO - NUOVE CARD IMMOBILI
   ========================================================= */

.properties-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 34px !important;
    margin-top: 60px !important;
    align-items: stretch !important;
}

.merino-property-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(20, 38, 60, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(20, 38, 60, 0.11);
    transition: transform .35s ease, box-shadow .35s ease;
}

.merino-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(20, 38, 60, 0.17);
}

.merino-property-image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 330px !important;
    min-height: 330px !important;
    overflow: hidden !important;
    background: #edf0f3;
    text-decoration: none !important;
}

.merino-property-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    transition: transform .65s ease;
}

.merino-property-card:hover .merino-property-image img {
    transform: scale(1.06);
}

.merino-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(11, 26, 45, .64) 0%,
        rgba(11, 26, 45, .08) 52%,
        transparent 100%
    );
}

.merino-card-badges {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.merino-sale-badge,
.merino-exclusive-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
}

.merino-sale-badge {
    color: #ffffff;
    background: rgba(18, 38, 62, .92);
}

.merino-exclusive-badge {
    color: #17283f;
    background: #d4af37;
}

.merino-view-label {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 18px;
    padding: 10px 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(8px);
    transition: .3s ease;
}

.merino-property-card:hover .merino-view-label {
    opacity: 1;
    transform: translateY(0);
}

.merino-property-body {
    flex: 1;
    min-width: 0;
    padding: 27px 28px 28px;
    display: flex;
    flex-direction: column;
}

.merino-property-location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
    color: #77808c;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}

.merino-location-icon {
    color: #c79c28;
    font-size: 20px;
    line-height: 1;
}

.merino-property-title {
    min-height: 62px;
    margin: 0;
    color: #17283f;
    font-size: 25px;
    line-height: 1.24;
    font-weight: 800;
    letter-spacing: -.025em;
}

.merino-property-title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.merino-property-title a:hover {
    color: #b88d1d;
}

.merino-property-features {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf0f3;
}

.merino-property-feature {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 39px;
    padding: 8px 11px;
    color: #465265;
    background: #f4f6f8;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.merino-property-feature svg {
    width: 18px;
    height: 18px;
    fill: #c79c28;
}

.merino-property-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 23px;
}

.merino-property-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.merino-property-price small {
    color: #8b929d;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.merino-property-price strong {
    color: #c39824;
    font-size: 27px;
    line-height: 1.1;
    font-weight: 800;
    white-space: nowrap;
}

.merino-property-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 49px;
    padding: 11px 18px;
    color: #ffffff !important;
    background: #17283f;
    border-radius: 14px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    transition: .25s ease;
}

.merino-property-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.merino-property-button:hover {
    color: #ffffff !important;
    background: #c39824;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(195, 152, 36, .28);
}

@media (max-width: 900px) {
    .properties-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .merino-property-image {
        height: 340px !important;
        min-height: 340px !important;
    }
}

@media (max-width: 560px) {
    .merino-property-card {
        border-radius: 22px;
    }

    .merino-property-image {
        height: 255px !important;
        min-height: 255px !important;
    }

    .merino-property-body {
        padding: 22px 20px;
    }

    .merino-property-title {
        min-height: auto;
        font-size: 21px;
    }

    .merino-view-label {
        display: none;
    }

    .merino-property-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .merino-property-button {
        width: 100%;
    }
}


/* =========================================================
   MERINO - NUOVE CARD IMMOBILI
   ========================================================= */

.properties-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 34px !important;
    margin-top: 60px !important;
    align-items: stretch !important;
}

.merino-property-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(20, 38, 60, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(20, 38, 60, 0.11);
    transition: transform .35s ease, box-shadow .35s ease;
}

.merino-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(20, 38, 60, 0.17);
}

.merino-property-image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 330px !important;
    min-height: 330px !important;
    overflow: hidden !important;
    background: #edf0f3;
    text-decoration: none !important;
}

.merino-property-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    transition: transform .65s ease;
}

.merino-property-card:hover .merino-property-image img {
    transform: scale(1.06);
}

.merino-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(11, 26, 45, .64) 0%,
        rgba(11, 26, 45, .08) 52%,
        transparent 100%
    );
}

.merino-card-badges {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.merino-sale-badge,
.merino-exclusive-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
}

.merino-sale-badge {
    color: #ffffff;
    background: rgba(18, 38, 62, .92);
}

.merino-exclusive-badge {
    color: #17283f;
    background: #d4af37;
}

.merino-view-label {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 18px;
    padding: 10px 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(8px);
    transition: .3s ease;
}

.merino-property-card:hover .merino-view-label {
    opacity: 1;
    transform: translateY(0);
}

.merino-property-body {
    flex: 1;
    min-width: 0;
    padding: 27px 28px 28px;
    display: flex;
    flex-direction: column;
}

.merino-property-location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
    color: #77808c;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}

.merino-location-icon {
    color: #c79c28;
    font-size: 20px;
    line-height: 1;
}

.merino-property-title {
    min-height: 62px;
    margin: 0;
    color: #17283f;
    font-size: 25px;
    line-height: 1.24;
    font-weight: 800;
    letter-spacing: -.025em;
}

.merino-property-title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.merino-property-title a:hover {
    color: #b88d1d;
}

.merino-property-features {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf0f3;
}

.merino-property-feature {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 39px;
    padding: 8px 11px;
    color: #465265;
    background: #f4f6f8;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.merino-property-feature svg {
    width: 18px;
    height: 18px;
    fill: #c79c28;
}

.merino-property-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 23px;
}

.merino-property-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.merino-property-price small {
    color: #8b929d;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.merino-property-price strong {
    color: #c39824;
    font-size: 27px;
    line-height: 1.1;
    font-weight: 800;
    white-space: nowrap;
}

.merino-property-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 49px;
    padding: 11px 18px;
    color: #ffffff !important;
    background: #17283f;
    border-radius: 14px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    transition: .25s ease;
}

.merino-property-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.merino-property-button:hover {
    color: #ffffff !important;
    background: #c39824;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(195, 152, 36, .28);
}

@media (max-width: 900px) {
    .properties-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .merino-property-image {
        height: 340px !important;
        min-height: 340px !important;
    }
}

@media (max-width: 560px) {
    .merino-property-card {
        border-radius: 22px;
    }

    .merino-property-image {
        height: 255px !important;
        min-height: 255px !important;
    }

    .merino-property-body {
        padding: 22px 20px;
    }

    .merino-property-title {
        min-height: auto;
        font-size: 21px;
    }

    .merino-view-label {
        display: none;
    }

    .merino-property-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .merino-property-button {
        width: 100%;
    }
}

