/* =====================================================
   CASA GREEN — REFERENCIA PREMIUM (CLARO)
===================================================== */

.referencia-section{
    position: relative;
    width: 100%;
    font-family: 'Segoe UI', sans-serif;
    overflow: hidden;
    background: #ffffff;
}

/* ===============================
   TOP SECTION
================================== */

.referencia-section .ref-top{
    text-align:center;
    padding:90px 20px 40px;
}

.referencia-section .ref-top h1{
    font-size:42px;
    font-weight:800;
    background: linear-gradient(90deg,#000,#333);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    margin:0;
}

.referencia-section .ref-top p{
    margin-top:15px;
    font-size:17px;
    color:#555;
}

/* ===============================
   HERO BACKGROUND (BLANCO)
================================== */

.referencia-section .ref-hero{
    position:relative;
    padding:130px 8%;
    background: #ffffff;
    color:#111;
}

/* luz suave elegante */
.referencia-section .ref-hero::after{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:#00000010;
    filter:blur(120px);
    top:-150px;
    right:-150px;
    z-index:0;
}

.referencia-section .ref-content{
    position:relative;
    z-index:2;
    max-width:1300px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
    flex-wrap:wrap;
}

/* ===============================
   LEFT SIDE
================================== */

.referencia-section .ref-left{
    flex:1 1 520px;
}

.referencia-section .ref-ubicacion{
    font-size:13px;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#198754; /* verde marca suave */
    margin-bottom:18px;
}

.referencia-section .ref-left h2{
    font-size:34px;
    font-weight:800;
    margin-bottom:20px;
    line-height:1.2;
    color:#111;
}

.referencia-section .ref-left p{
    font-size:18px;
    color:#444;
}

/* ===============================
   STATS CARDS (CLARO PRO)
================================== */

.referencia-section .ref-stats{
    display:flex;
    gap:40px;
    margin-top:45px;
    flex-wrap:wrap;
}

.referencia-section .ref-stat{
    background:#f8f9fa;
    padding:25px 30px;
    border-radius:18px;
    transition:.3s ease;
    min-width:170px;
    border:1px solid #eee;
}

.referencia-section .ref-stat:hover{
    transform:translateY(-6px);
    background:#ffffff;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.referencia-section .ref-stat strong{
    display:block;
    font-size:36px;
    font-weight:800;
    color:#198754;
}

.referencia-section .ref-stat span{
    font-size:14px;
    color:#666;
}

/* ===============================
   BADGE
================================== */

.ref-badge{
    background:#000;
    color:#fff;
    padding:10px 18px;
    border-radius:30px;
    font-size:14px;
    display:inline-block;
    margin-bottom:20px;
}

/* ===============================
   ABEJA
================================== */

.ref-abeja {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.ref-abeja img {
    width: 250px;
    height: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.ref-abeja img:hover {
    transform: scale(1.08);
}

/* ===============================
   RESPONSIVE
================================== */

@media(max-width:1024px){

    .referencia-section .ref-content{
        flex-direction:column;
        text-align:center;
        gap:70px;
    }

    .referencia-section .ref-stats{
        justify-content:center;
    }

}

@media(max-width:768px){

    .referencia-section .ref-top{
        padding:50px 20px 20px;
    }

    .referencia-section .ref-top h1{
        font-size:28px;
    }

    .referencia-section .ref-hero{
        padding:70px 20px;
    }

    .referencia-section .ref-left h2{
        font-size:22px;
    }

    .referencia-section .ref-left p{
        font-size:15px;
    }

    .referencia-section .ref-stats{
        flex-direction:column;
        gap:20px;
    }

    .referencia-section .ref-stat{
        width:100%;
        text-align:center;
    }

}