/* =========================================================
   CASAS.CO.CR 2026
   FOOTER
========================================================= */

.c26-footer {
    --c26-footer-blue: #082b50;
    --c26-footer-blue-dark: #031c35;
    --c26-footer-red: #d5000b;
    --c26-footer-red-light: #f10b18;

    width: 100%;

    margin: 0;
    padding: 0;

    
}


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


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


/* =========================================================
   CTA SUPERIOR
========================================================= */

.c26-footer-cta {
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,.97) 55%,
            rgba(255,255,255,.70) 100%
        ),
        url("../imagen_web/c26-footer-cta.webp")
        center right / cover no-repeat;
}


.c26-footer-cta-inner {
    width: var(--anchoP);
    min-height: 145px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        330px minmax(0, 1fr) auto;

    align-items: center;

    gap: 55px;
}


/* =========================================================
   LOGO
========================================================= */

.c26-footer-logo img {
    display: block;

    width: min(100%, 245px);
    height: auto;
}


/* =========================================================
   CTA TEXTO
========================================================= */

.c26-footer-cta-texto {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 7px;
}


.c26-footer-cta-texto strong {
    color: #071e4d;

    font-size: clamp(18px, 1.5vw, 25px);
    line-height: 1.25;
    font-weight: 700;
}


.c26-footer-cta-texto span {
    color: #3d4653;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   REGISTRO
========================================================= */

.c26-footer-registro {
    min-width: 350px;
    min-height: 65px;

    padding: 0 24px;

    display: flex;

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

    gap: 16px;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #df000c,
            #bd0009
        );

    color: #fff;

    font-size: 18px;
    font-weight: 600;

    box-shadow:
        0 8px 22px rgba(190,0,10,.20);

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


.c26-footer-registro:hover {
    transform: translateY(-2px);

    box-shadow:
        0 11px 28px rgba(190,0,10,.30);
}


.c26-footer-registro-icono {
    width: 34px;
    height: 34px;

    display: inline-flex;

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

    border-radius: 50%;

    background: #fff;

    color: var(--c26-footer-red);

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


.c26-footer-registro-flecha {
    margin-left: auto;

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


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

.c26-footer-main {
    position: relative;

    width: 100%;

    overflow: hidden;

    background:
        var(--c26-footer-blue)
        url("../imagen_web/c26-footer-fondo.webp")
        center right / cover no-repeat;

    color: #fff;
}


/* CAPA AZUL */

.c26-footer-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2,25,49,.98) 0%,
            rgba(3,35,67,.96) 30%,
            rgba(4,44,81,.87) 65%,
            rgba(4,37,67,.67) 100%
        );
}


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

.c26-footer-main-inner {
    position: relative;
    z-index: 2;

    width: var(--anchoP);
    min-height: 400px;

    margin: 0 auto;

    padding: 45px 0 38px;

    display: grid;

    grid-template-columns:
        330px minmax(500px, 1fr) 300px;

    gap: 55px;
}


/* =========================================================
   COLUMNAS
========================================================= */

.c26-footer-col {
    min-width: 0;
}


.c26-footer-centro,
.c26-footer-whatsapp {
    border-left:
        1px solid rgba(255,255,255,.22);

    padding-left: 55px;
}


/* =========================================================
   TÍTULOS
========================================================= */

.c26-footer-col h2 {
    margin: 0;

    color: #fff;

    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}


.c26-footer-titulo-linea {
    display: block;

    width: 50px;
    height: 5px;

    margin: 12px 0 23px;

    background: var(--c26-footer-red-light);
}


/* =========================================================
   CONTACTOS
========================================================= */

.c26-footer-contacto-lista {
    display: flex;

    flex-direction: column;

    gap: 14px;
}


.c26-footer-contacto-item {
    display: flex;

    align-items: center;

    gap: 14px;

    color: #fff;

    font-size: 15px;
    font-weight: 400;

    transition: opacity .2s ease;
}


.c26-footer-contacto-item:hover {
    opacity: .78;
}


.c26-footer-contacto-icono {
    width: 39px;
    height: 39px;

    flex: 0 0 39px;

    display: flex;

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

    border-radius: 50%;

    background: var(--c26-footer-red);

    color: #fff;

    font-size: 18px;
}


/* =========================================================
   DESARROLLADO POR
========================================================= */

.c26-footer-desarrollado {
    margin-top: 27px;
    padding-top: 20px;

    border-top:
        1px solid rgba(255,255,255,.48);
}


.c26-footer-desarrollado > span {
    display: block;

    margin-bottom: 8px;

    color: #fff;

    font-size: 13px;
}


.c26-footer-desarrollado img {
    display: block;

    max-width: 205px;
    height: auto;
}


/* =========================================================
   SOMOS
========================================================= */

.c26-footer-somos p {
    max-width: 740px;

    margin: 0 0 30px;

    color: rgba(255,255,255,.93);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   PROPIEDADES
========================================================= */

.c26-footer-propiedades h2 {
    font-size: 25px;
}


.c26-footer-links {
    display: grid;

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

    column-gap: 45px;
    row-gap: 8px;
}


.c26-footer-links a {
    display: flex;

    align-items: center;

    gap: 10px;

    color: rgba(255,255,255,.94);

    font-size: 13px;
    line-height: 1.4;

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


.c26-footer-links a span {
    color: #ff1020;

    font-size: 27px;
    line-height: 15px;
    font-weight: 700;
}


.c26-footer-links a:hover {
    color: #fff;

    transform: translateX(3px);
}


/* =========================================================
   WHATSAPP
========================================================= */

.c26-footer-whatsapp-boton {
    width: 100%;
    max-width: 285px;

    min-height: 94px;

    padding: 10px 20px;

    display: flex;

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

    gap: 15px;

    border: 3px solid #fff;
    border-radius: 50px;

    background: #079541;

    color: #fff;

    box-shadow:
        0 8px 22px rgba(0,0,0,.20);

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


.c26-footer-whatsapp-boton:hover {
    transform: translateY(-3px);

    background: #08a548;
}


.c26-footer-whatsapp-icono {
    width: 57px;
    height: 57px;

    flex: 0 0 57px;

    display: flex;

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

    border: 3px solid #fff;
    border-radius: 50%;

    font-size: 28px;
}


.c26-footer-whatsapp-texto {
    display: flex;

    flex-direction: column;

    line-height: 1.1;
}


.c26-footer-whatsapp-texto small {
    font-size: 11px;
}


.c26-footer-whatsapp-texto strong {
    margin: 2px 0 5px;

    font-size: 17px;
}


.c26-footer-whatsapp-texto b {
    font-size: 18px;
}


/* =========================================================
   BARRA INFERIOR
========================================================= */

.c26-footer-bottom {
    width: 100%;

    background:
        linear-gradient(
            90deg,
            #cf0008,
            #e0000a,
            #c60008
        );

    color: #fff;
}


.c26-footer-bottom-inner {
    width: var(--anchoP);
    min-height: 75px;

    margin: 0 auto;

    display: flex;

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

    gap: 40px;
}


/* MARCA */

.c26-footer-bottom-marca {
    display: flex;

    align-items: center;

    gap: 17px;

    font-size: 15px;
}


.c26-footer-bottom-marca i {
    width: 1px;
    height: 26px;

    display: block;

    background: rgba(255,255,255,.65);
}


.c26-footer-pin {
    font-size: 20px;
}


/* =========================================================
   REDES SOCIALES
========================================================= */

.c26-footer-social {
    display: flex;

    align-items: center;

    gap: 13px;
}


.c26-footer-social a {
    width: 42px;
    height: 42px;

    display: flex;

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

    border-radius: 50%;

    background: #fff;

    color: #ce0009;

    font-size: 17px;
    line-height: 1;
    font-weight: 700;

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


.c26-footer-social a:hover {
    transform: translateY(-3px);

    background: #f4f4f4;
}


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

@media (max-width: 1150px) {

    .c26-footer-cta-inner {
        grid-template-columns:
            230px minmax(0, 1fr);

        gap: 30px;
    }


    .c26-footer-cta-accion {
        grid-column: 1 / -1;

        padding-bottom: 25px;
    }


    .c26-footer-registro {
        width: 100%;
        min-width: 0;
    }


    .c26-footer-main-inner {
        grid-template-columns:
            280px minmax(0, 1fr);

        gap: 40px;
    }


    .c26-footer-whatsapp {
        grid-column: 1 / -1;

        padding: 25px 0 0;

        border-left: 0;
        border-top:
            1px solid rgba(255,255,255,.22);
    }

}


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

@media (max-width: 720px) {

    .c26-footer-cta-inner {
        width: 90%;

        padding: 28px 0;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }


    .c26-footer-logo img {
        width: 190px;
    }


    .c26-footer-cta-texto strong {
        font-size: 18px;
    }


    .c26-footer-cta-texto span {
        font-size: 12px;
    }


    .c26-footer-cta-accion {
        width: 100%;

        padding: 0;
    }


    .c26-footer-registro {
        min-height: 56px;

        font-size: 14px;
    }


    /* MAIN */

    .c26-footer-main-inner {
        width: 90%;

        padding: 35px 0;

        display: block;
    }


    .c26-footer-col {
        padding: 0 0 30px;

        margin-bottom: 30px;

        border-left: 0;
        border-bottom:
            1px solid rgba(255,255,255,.22);
    }


    .c26-footer-whatsapp {
        margin-bottom: 0;
        padding-bottom: 0;

        border: 0;
    }


    .c26-footer-col h2 {
        font-size: 21px;
    }


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


    .c26-footer-whatsapp-boton {
        max-width: 270px;
    }


    /* BOTTOM */

    .c26-footer-bottom-inner {
        width: 90%;

        padding: 20px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }


    .c26-footer-bottom-marca {
        flex-wrap: wrap;

        gap: 9px;

        font-size: 12px;
    }


    .c26-footer-bottom-marca i {
        height: 17px;
    }


    .c26-footer-social a {
        width: 36px;
        height: 36px;

        font-size: 14px;
    }

}