/* =========================================================
   CASAS.CO.CR 2026
   BLOQUE 4 - FRANJA DE REGISTRO
========================================================= */

.registro26 {
    --rojo: #ed1724;
    --rojo-hover: #d90d19;
    --azul: #06366b;
    --amarillo: #ffd238;

    width: 100%;

    margin: 0;
    padding: 0;

    
}


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

.registro26__contenedor {
    width: var(--anchoP);

    margin: 0 auto;
}


/* =========================================================
   FRANJA ROJA SUPERIOR
========================================================= */

.registro26__superior {
    position: relative;

    height: 29px;

    background: #000;
}


.registro26__nuevas {
    width:  100% ;
    height: 29px;

    padding: 0 14px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background:
        linear-gradient(
            90deg,
            #ed1724 0%,
            #f20d20 80%,
            #ed1724 100%
        );

    border-radius: 0 0 6px 6px;

    color: #fff;

    text-decoration: none;

    font-size: 12px;
    font-weight: 500;

    transition:
        background .2s ease;
}


.registro26__nuevas:hover {
    background: #d90d19;
}


.registro26__nuevasIcono {
    width: 17px;
    height: 17px;

    display: inline-flex;

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

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

    border-radius: 50%;

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


.registro26__nuevasFlecha {
    margin-left: auto;

    font-size: 15px;

    transition:
        transform .2s ease;
}


.registro26__nuevas:hover .registro26__nuevasFlecha {
    transform: translateX(3px);
}


/* =========================================================
   FRANJA NEGRA
========================================================= */

.registro26__principal {
    width: 100%;

    min-height: 100px;

    background: #050505;

    border-bottom: 1px solid #171717;
}


/* =========================================================
   GRID PRINCIPAL
========================================================= */

.registro26__grid {
    min-height: 100px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(390px, .85fr);

    gap: 35px;

    align-items: center;
}


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

.registro26__registro {
    min-width: 0;

    display: flex;

    align-items: center;

    gap: 15px;
}


/* =========================================================
   ICONO USUARIO
========================================================= */

.registro26__iconoUsuario {
    position: relative;

    flex: 0 0 45px;

    width: 45px;
    height: 45px;

    display: flex;

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

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

    border-radius: 50%;

    background: #111;

    color: #fff;
}


.registro26__iconoUsuario::before {
    content: "";

    width: 14px;
    height: 14px;

    position: absolute;

    top: 8px;
    left: 15px;

    border-radius: 50%;

    background: #fff;
}


.registro26__iconoUsuario::after {
    content: "";

    width: 24px;
    height: 12px;

    position: absolute;

    left: 10px;
    bottom: 7px;

    border-radius: 14px 14px 5px 5px;

    background: #fff;
}


.registro26__iconoUsuario span {
    position: absolute;

    z-index: 2;

    right: -4px;
    bottom: -2px;

    width: 19px;
    height: 19px;

    display: flex;

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

    border-radius: 50%;

    background: var(--rojo);

    color: #fff;

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


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

.registro26__registroTexto {
    min-width: 0;

    display: flex;

    flex-direction: column;
}


.registro26__miniTitulo {
    margin-bottom: 1px;

    color: #aeb3b8;

    font-size: 10px;
    line-height: 1.2;
}


.registro26__registroTexto strong {
    color: #fff;

    font-size: clamp(20px, 1.65vw, 27px);
    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -.6px;
}


.registro26__beneficio {
    margin-top: 3px;

    color: #bfc2c5;

    font-size: 10px;
    line-height: 1.3;
}


/* =========================================================
   BOTÓN REGISTRARSE
========================================================= */

.registro26__boton {
    flex: 0 0 auto;

    min-height: 42px;

    margin-left: 10px;

    padding: 0 18px;

    display: inline-flex;

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

    gap: 10px;

    border-radius: 6px;

    background:
        linear-gradient(
            135deg,
            #f31b29,
            #d90d19
        );

    color: #fff;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    box-shadow:
        0 4px 14px rgba(237,23,36,.25);

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


.registro26__boton:hover {
    transform: translateY(-1px);

    background: #f31b29;

    box-shadow:
        0 6px 18px rgba(237,23,36,.35);
}


.registro26__boton span {
    font-size: 17px;

    transition:
        transform .2s ease;
}


.registro26__boton:hover span {
    transform: translateX(3px);
}


/* =========================================================
   VENDA O ALQUILE
========================================================= */

.registro26__publicar {
    display: flex;

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

    gap: 17px;
}


.registro26__publicarTexto {
    display: flex;

    flex-direction: column;

    text-align: right;
}


.registro26__publicarTexto strong {
    color: var(--amarillo);

    font-size: 17px;
    line-height: 1.1;

    font-weight: 700;
}


.registro26__publicarTexto span {
    margin-top: 2px;

    color: #fff;

    font-size: 10px;
    line-height: 1.2;
}


/* =========================================================
   DIVISOR
========================================================= */

.registro26__divisor {
    width: 1px;
    height: 48px;

    flex: 0 0 1px;

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


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

.registro26__logo {
    flex: 0 0 auto;

    display: block;
}


.registro26__logo img {
    display: block;

    width: 145px;
    max-height: 58px;

    object-fit: contain;
}


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

@media (max-width: 1100px) {

    .registro26__grid {
        grid-template-columns:
            minmax(0, 1fr)
            auto;

        gap: 20px;
    }


    .registro26__beneficio {
        display: none;
    }


    .registro26__iconoUsuario {
        display: none;
    }


    .registro26__registroTexto strong {
        font-size: 20px;
    }


    .registro26__boton {
        margin-left: 0;

        padding: 0 13px;

        font-size: 11px;
    }


    .registro26__publicarTexto strong {
        font-size: 14px;
    }


    .registro26__logo img {
        width: 120px;
    }

}


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

@media (max-width: 760px) {

    .registro26__superior {
        height: 31px;
    }


    .registro26__nuevas {
        width: 100%;
        height: 31px;

        border-radius: 0;

        font-size: 11px;
    }


    .registro26__principal {
        padding: 18px 0;
    }


    .registro26__grid {
        min-height: 0;

        grid-template-columns: 1fr;

        gap: 17px;
    }


    /* REGISTRO */

    .registro26__registro {
        display: grid;

        grid-template-columns:
            1fr
            auto;

        gap: 12px;
    }


    .registro26__registroTexto strong {
        font-size: 20px;
    }


    .registro26__miniTitulo {
        font-size: 9px;
    }


    .registro26__boton {
        min-height: 40px;

        padding: 0 13px;
    }


    /* VENDER */

    .registro26__publicar {
        padding-top: 14px;

        justify-content: space-between;

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


    .registro26__publicarTexto {
        text-align: left;
    }


    .registro26__publicarTexto strong {
        font-size: 14px;
    }


    .registro26__divisor {
        display: none;
    }


    .registro26__logo img {
        width: 110px;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 480px) {

    .registro26__registro {
        grid-template-columns: 1fr;
    }


    .registro26__boton {
        width: 100%;

        margin-top: 3px;
    }


    .registro26__publicar {
        gap: 10px;
    }


    .registro26__publicarTexto strong {
        font-size: 12px;
    }


    .registro26__publicarTexto span {
        font-size: 9px;
    }


    .registro26__logo img {
        width: 92px;
    }

}