/* SLIDER GENERAL WRAPPER  */
.ra-slider-wrapper {
    position: relative;
    width: 100%;
    padding: 20px 40px;
    box-sizing: border-box;
}

/* ================================
   TRACK DEL SLIDER
=================================== */
.ra-slider-track {
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem;
}

/* ================================
   TARJETAS INDIVIDUALES
=================================== */
.ra-render-box {
    flex: 0 0 calc(25% - 20px); /* 4 por fila */
    background: #ffffff;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: transform .3s ease;
    text-align: center;
}

.ra-render-box:hover {
    transform: translateY(-4px);
}

.ra-render-box .render-img {
    width: 100%;
    height: 220px;  
    border-radius: 10px;
}

/* ================================
   IMÁGENES UNIFORMES
=================================== */
.ra-render-box img {
    object-fit: cover;       
    width: 100%;
    height: 100%!important;
}

/* ================================
   TITULOS
=================================== */
.ra-render-box h3 {
    font-size: 2.2rem;
    margin-top: 2rem;
    color: #143C6A; /* azul profundo */
    font-weight: 700;
}

/* ================================
   TEXTO
=================================== */
.ra-render-box p {
    margin:0;
    font-size: 1.7rem;
    line-height: 1.5;
    color: var(--color-panteon-fondo);
    padding-right: 1rem;
}

.ra-render-box .text-descriptivo {
    text-align: right;
    border-right: 3px solid var(--color-panteon-fondo);
    padding: 0.8rem 0;
    margin-bottom: 1rem;
    font-family: var(--fuente-titulos);
    position: relative;
}

.ra-render-box .text-descriptivo {
    background-image: url(../img/area-construida.png);
    background-repeat: no-repeat;
    background-size: bottom left;
    background-position: 0% 70%;
}

.ra-render-box .text-descriptivo p:first-child {
    font-family: var(--fuente-titulos);
    font-size: 2rem;
    
    color: var(--color-panteon-fondo);

}

.ra-render-box .text-descriptivo p:nth-child(2) {
    background-color: var(--color-panteon-fondo);
    color: var(--color-blanco);
    padding: 1rem;
    border-radius: 2rem 0 0 0;
    margin-bottom: 1rem;
}

.ra-render-box .text-descriptivo p:nth-child(3),
.ra-render-box .text-descriptivo p:nth-child(4) {
    font-size: 1.5rem;
}

.ra-render-box .text-descriptivo .adicional {
    font-size: 1.2rem;
}





/* ================================
   BOTÓN VER APARTAMENTO (colores del logo)
=================================== */
.ra-btn {
    display: inline-block;
    padding: 10px 18px;
    background: rgb(0, 154, 150); /* Verde del logo */
    color: #ffffff;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    transition: all .3s ease;
    border: 2px solid transparent; 
}

.ra-btn:hover {
    background: #143C6A;      /* Azul profundo */
    border-color: #CC9F52;    /* Acento dorado */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.18);
}

.ra-btn.btn-plano-up {
    margin-top: 1.3rem;
    background-color: #fff;
    color: var(--color-panteon);
    border-bottom: 1px solid var(--color-panteon-yellow);
    border-radius: 0 0 5px 5px;
}

/* Efecto de movimiento 360 a icono del boton ver render */
.btn-360 i {
  display: inline-block;
  transform-origin: center center; 
  transition: transform 0.3s ease;
}

.btn-360:hover i {
  animation: wheel-spin 0.8s linear infinite;
}

@keyframes wheel-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* ================================
   FLECHAS DEL SLIDER
=================================== */
.ra-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    background: rgba(0,0,0,0.45);
    color: #ffffff;
    border: none;
    font-size: 34px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease;
}

.ra-slider-btn:hover {
    background: rgba(0,0,0,0.75);
}

.ra-slider-btn.left {
    left: 0;
}

.ra-slider-btn.right {
    right: 0;
}

/* ================================
   RESPONSIVE
=================================== */

/* Tablet (2 por fila) */
@media (max-width: 992px) {
    .ra-render-box {
        flex: 0 0 calc(50% - 20px);
    }
}

/* Móvil (1 por fila) */
@media (max-width: 600px) {
    .ra-render-box {
        flex: 0 0 calc(100% - 20px);
    }

    .ra-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
}
