/* =========================================================
   CASAS.CO.CR 2026
   PROPIEDADES DESTACADAS

   IMPORTANTE:
   No utiliza ninguna clase histórica de Casas.co.cr.
========================================================= */
 .texto-vertical {
writing-mode:  vertical-lr;
/*transform: rotate(180deg);*/
background-color: #B40003;
padding-top: 20px;
top:50px;
color: rgba(255,255,255,0.6);
font-size: 20px;
letter-spacing: 5px;
font-weight: 300;
width: 100%;
    display: grid;
    align-items:center;
    border-radius:0px 0px 0px 20px;
}
@media only screen and (max-width: 618px) {
.texto-vertical {
padding: 30px 10px 0px 5px ;
font-size: 14px;
width: 100%;
}
}




.tpesd{background-color: #122145; width: 100%; display: grid; padding-top: 20px; }
.tabla_main_2019a {
    display: grid;
grid-template-columns: 40px 1fr;
justify-items:center;
align-items:bottom;
grid-column-gap:0px;
width: var(--anchoP);
margin: 0px auto 60px auto;
background-color: #f2f2f2;
border-radius:  20px;}
@media only screen and (max-width: 618px) {
.tabla_main_2019a {
    display: grid;
grid-template-columns:30px 1fr;
justify-items:center;
align-items:bottom;
grid-column-gap:0px;
width: 100%;
margin: auto;
background-color: #f2f2f2;}
}



/* =========================================================
   BLOQUE PRINCIPAL
========================================================= */

.c26-dest {
    --c26-dest-azul: #06366b;
    --c26-dest-azul-oscuro: #031f45;
    --c26-dest-rojo: #ed1724;
    --c26-dest-amarillo: #ffbd00;

    width: 100%;
    margin: 0;
    padding: 30px 0 36px;

    background: #f7f9fb;

    
}


/* AISLAMIENTO BÁSICO */

.c26-dest *,
.c26-dest *::before,
.c26-dest *::after {
    box-sizing: border-box;
}


.c26-dest a {
    text-decoration: none;
}


.c26-dest img {
    display: block;
}


/* =========================================================
   CONTENEDOR
========================================================= */

.c26-dest-contenedor {
    width: min(94%, 1500px);
    margin: 0 auto;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.c26-dest-header {
    margin: 0 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.c26-dest-heading {
    position: relative;

    margin: 0;
    padding: 0 0 0 16px;

    color: var(--c26-dest-azul);

    
    font-size: clamp(24px, 1.8vw, 30px);
    line-height: 1.15;
    font-weight: 700;

    letter-spacing: -.7px;
}


.c26-dest-heading::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 6px;
    height: 100%;

    border-radius: 3px;

    background: var(--c26-dest-rojo);
}


.c26-dest-ver-todas {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--c26-dest-azul);

    
    font-size: 12px;
    line-height: 1;
    font-weight: 600;

    transition: color .2s ease;
}


.c26-dest-ver-todas:hover {
    color: var(--c26-dest-rojo);
}


/* =========================================================
   GRID
   4 POR LÍNEA
========================================================= */

.c26-dest-grid {
    display: grid;

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

    gap: 26px;
}


/* =========================================================
   TARJETA
========================================================= */

.c26-dest-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    background: #fff;

    border: 1px solid #d9dee3;
    border-radius: 9px;

    box-shadow:
        0 3px 10px rgba(0, 31, 67, .12);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.c26-dest-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0, 31, 67, .17);
}


/* =========================================================
   IMAGEN
========================================================= */

.c26-dest-imagen {
    position: relative;

    display: block;

    width: 100%;
    height: 230px;

    overflow: hidden;

    background: #e8ebee;
}


.c26-dest-imagen > img {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: cover;

    border: 0;

    transition: transform .35s ease;
}


.c26-dest-card:hover
.c26-dest-imagen > img {
    transform: scale(1.025);
}


/* =========================================================
   GLOBO
========================================================= */

.c26-dest-globo {
    position: absolute;

    z-index: 5;

    top: 12px;
    left: 12px;

    min-height: 50px;
    max-width: calc(100% - 75px);

    padding: 8px 20px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    border: 0;
    border-radius: 12px;

    background: #00717c;

    color: #fff;

    box-shadow:
        0 3px 9px rgba(0,0,0,.20);
}


/* TIPO */

.c26-dest-globo-tipo {
    display: block;

    margin: 0;
    padding: 0;

    color: #fff;

    
    font-size: 16px;
    line-height: 1.1;
    font-weight: 700;
text-shadow: 2px 2px 4px #000;
    white-space: nowrap;
}


/* MARCA */

.c26-dest-globo-marca {
    display: block;

    margin: 3px 0 0;
    padding: 0;

    color: #fff;

    
    font-size: 14px;
    line-height: 1.1;
    font-weight: 500;
    text-shadow: 2px 2px 4px #000;

    text-transform: uppercase;

    white-space: nowrap;
}


/* =========================================================
   COLORES DE MARCAS
========================================================= */
.c26-dest-globo--financiamiento {
    background: linear-gradient(220deg, #DC0003 0%, #740001 100%);
}

.c26-dest-globo--oportunidad {
    background: linear-gradient(220deg, #03626E 0%, #00363E 100%);
}

.c26-dest-globo--urge {
    background: linear-gradient(220deg, #ff0000 0%, #6C0000 100%);
}

.c26-dest-globo--reducido {
    background: linear-gradient(220deg, #0025B5 0%, #001773 100%);
}

.c26-dest-globo--buena {
    background: linear-gradient(220deg, #cccccc 0%, #ABA9A9 100%);
    color: #000 !important;
}

.c26-dest-globo--aproveche {
    background: linear-gradient(220deg, #D89A00 0%, #906700 100%);
}

.c26-dest-globo--condominio {
    background: linear-gradient(220deg, #65803B 0%, #3D4E23 100%);
}

.c26-dest-globo--nueva {
    background: linear-gradient(220deg, #168321 0%, #0B4900 100%);
}

.c26-dest-globo--oferta {
    background: linear-gradient(220deg, #127200 0%, #0B4900 100%);
}

.c26-dest-globo--normal {
    background: linear-gradient(220deg, #00717c 0%, #00363E 100%);
}

.c26-dest-globo--cambio {
    background: linear-gradient(220deg, #7D00A6 0%, #53006E 100%);
}

.c26-dest-globo--credito {
    background: linear-gradient(220deg, #A65F8B 0%, #744361 100%);
}


/* =========================================================
   CONTADOR DE FOTOGRAFÍAS
========================================================= */

.c26-dest-fotos {
    position: absolute;

    z-index: 6;

    right: 11px;
    bottom: 11px;

    min-width: 50px;
    min-height: 31px;

    padding: 0 10px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    border-radius: 6px;

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

    color: #fff;

    
    font-size: 12px;
    line-height: 1;
}


.c26-dest-fotos svg {
    width: 17px;
    height: 17px;

    fill: #fff;
}


.c26-dest-fotos strong {
    color: #fff;

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   CUERPO
========================================================= */

.c26-dest-body {
    margin: 0;
    padding: 14px 16px 0;

    background: #fff;

    text-align: center;
}


/* =========================================================
   CÓDIGO WEB

   SE MANTIENE MUY IMPORTANTE
========================================================= */

.c26-dest-codigo {
    margin: 9px 0 9px;
    padding: 0;

    display: flex;

    align-items: baseline;
    justify-content: left;

    gap: 5px;

    
    line-height: 1.1;
}


.c26-dest-codigo span {
    color: #666;

    font-size: 11px;
    font-weight: 500;
}


.c26-dest-codigo strong {
    color: #666;

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   TIPO
========================================================= */

.c26-dest-titulo {
    display: block;
text-align: left;
    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    color: var(--c26-dest-azul-oscuro);

    
    font-size: 17px;
    letter-spacing: -0.5px;
    
    font-weight: 700;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.c26-dest-titulo:hover {
    color: var(--c26-dest-rojo);
}


/* =========================================================
   UBICACIÓN
========================================================= */

.c26-dest-ubicacion {
    margin: 0px 0 0;
    padding: 0;

    overflow: hidden;
text-align: left;
    color: var(--c26-dest-azul-oscuro);

    
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;

    white-space: nowrap;

    text-overflow: ellipsis;
}
.c26-dest-ubicacion {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap:0;
    text-align: left;
}

.c26-dest-ubicacion img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

/* =========================================================
   PRECIO
========================================================= */

.c26-dest-precio {
    margin: 12px 0 15px;
    padding: 0;
text-align: left;
    color: #0A266C;

    
    font-size: 21px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.c26-dest-precio-periodo {
    font-size: 0.7em;
    font-weight: 500;
    white-space: nowrap;
}
/* =========================================================
   PIE
========================================================= */

.c26-dest-footer {
    margin: 0 -16px;
    padding: 0;

    display: flex;

    align-items: center;
    justify-content: flex-start;

    border-top: 1px solid #d9dee3;
}


/* =========================================================
   VER PROPIEDAD
========================================================= */

.c26-dest-ver {
    width: 175px;
    height: 44px;

    margin: 0;
    padding: 0 16px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: 0;
    border-right: 1px solid #d9dee3;

    border-radius:
        0 23px 23px 0;

    background: #fff;

    color: var(--c26-dest-azul-oscuro);

    
    font-size: 13px;
    line-height: 1;
    font-weight: 500;

    transition:
        background .2s ease,
        color .2s ease;
}


.c26-dest-ver:hover {
-webkit-appearance: none;
width:100%;
color: #fff;
font-weight: normal;
background-color: #d92000;
text-decoration: none;
text-align: center;
transition: ease 0.3s;
padding:10px 0px;
border-radius: 0px 0px 3px 3px ;
    border: 0px solid #ccc;
    border-top: 1px solid #ccc;
} 

/* =========================================================
   EXCLUSIVA

   CREDITOEXCLUSIVAVENCE != vacío / fecha cero
========================================================= */

.c26-dest-card--exclusiva {
    background: var(--c26-dest-amarillo);

    border-color: #e0a700;
}


/* cuerpo amarillo */

.c26-dest-card--exclusiva
.c26-dest-body {
    background: var(--c26-dest-amarillo);
}


/* Código */

.c26-dest-card--exclusiva
.c26-dest-codigo span {
    color: #0A266C;
}


.c26-dest-card--exclusiva
.c26-dest-codigo strong {
    color: #ff0015;
}


/* textos */

.c26-dest-card--exclusiva
.c26-dest-titulo,

.c26-dest-card--exclusiva
.c26-dest-ubicacion {
    color: var(--c26-dest-azul-oscuro);
}


/* precio */

.c26-dest-card--exclusiva
.c26-dest-precio {
    color: #ff0015;
}


/* separador */

.c26-dest-card--exclusiva
.c26-dest-footer {
    border-top-color: rgba(0,0,0,.20);
}


/* botón */

.c26-dest-card--exclusiva
.c26-dest-ver {
    background: var(--c26-dest-amarillo);

    border-right-color: rgba(0,0,0,.20);
}


.c26-dest-card--exclusiva
.c26-dest-ver:hover {
    background: #efb200;

    color: var(--c26-dest-azul-oscuro);
}


/* =========================================================
   BOTÓN FINAL
========================================================= */

.c26-dest-final {
    margin-top: 28px;

    display: flex;

    justify-content: center;
}


.c26-dest-boton-final {
    width: 100%;
    min-height: 46px;

    padding: 0 24px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 12px;

    background: var(--c26-dest-rojo);

    color: #fff;

    
    font-size: 19px;
    line-height: 1;
    font-weight: 500;
text-shadow: 0 2px 3px rgba(0, 0, 0, 0.90);
    box-shadow:
        0 0px 23px rgba(207,0,11,.58);

    transition:
        transform .2s ease,
        background .2s ease;
}


.c26-dest-boton-final:hover {
    transform: translateY(-2px);

    background: #B2000B;
}


/* =========================================================
   RESPONSIVE
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .c26-dest-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 22px;
    }

}


/* =========================================================
   RESPONSIVE
   MÓVIL
========================================================= */

@media (max-width: 620px) {

    .c26-dest {
        padding: 24px 0 28px;
    }


    .c26-dest-contenedor {
        width: 92%;
    }


    /* HEADER */

    .c26-dest-header {
        margin-bottom: 16px;

        align-items: flex-end;
    }


    .c26-dest-heading {
        padding-left: 13px;

        font-size: 20px;
    }


    .c26-dest-heading::before {
        width: 5px;
    }


    .c26-dest-ver-todas {
        font-size: 9px;
    }


    /* GRID */

    .c26-dest-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    /* IMAGEN */

    .c26-dest-imagen {
        height: auto;

        aspect-ratio: 16 / 10;
    }


    /* GLOBO */

    .c26-dest-globo {
        top: 10px;
        left: 10px;

        min-height: 46px;

        padding: 7px 17px;
    }


    .c26-dest-globo-tipo {
        font-size: 13px;
    }


    .c26-dest-globo-marca {
        font-size: 10px;
    }


    /* CÓDIGO */

    .c26-dest-codigo {
        margin-bottom: 17px;
    }


    .c26-dest-codigo span,
    .c26-dest-codigo strong {
        font-size: 17px;
    }


    /* PROPIEDAD */

    .c26-dest-titulo {
        font-size: 15px;
    }


    .c26-dest-ubicacion {
        font-size: 14px;
    }


    .c26-dest-precio {
        font-size: 17px;
    }


    /* BOTÓN FINAL */

    .c26-dest-boton-final {
        width: 100%;

        min-width: 0;
    }

}
.c26-dest-caracteristicas {
    width: 100%;
    margin: 14px 0 12px;
    padding-top: 10px;

    display: flex;
    align-items: center;
    gap: 15px;

    border-top: 1px solid #e7eaee;
}

.c26-dest-caracteristica {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    color: #0A266C;

    font-size: 11px;
    line-height: 1;
    font-weight: 500;

    white-space: nowrap;
}

.c26-dest-caracteristica img {
    display: block;

    width: 17px;
    height: 17px;

    object-fit: contain;
}

.c26-dest-caracteristica--area {
    margin-left: auto;
}