/* ==========================================
   CONFIGURACIÓN GENERAL
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {

    --azul: #102c4a;

    --azul-claro: #1d4770;

    --dorado: #c99a3b;

    --verde: #5c8c45;

    --blanco: #ffffff;

    --gris: #f5f6f7;

    --texto: #263442;

}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--texto);

    background-color: var(--blanco);

}


a {
    text-decoration: none;
}


.contenedor {

    width: 90%;

    max-width: 1250px;

    margin: 0 auto;

}



/* ==========================================
   ENCABEZADO
========================================== */

.encabezado {

    width: 100%;

    height: 82px;

    background-color: var(--blanco);

    border-bottom: 1px solid #e8e8e8;

    position: relative;

    z-index: 10;

}


.barra-navegacion {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}



/* LOGO */

.logo {

    display: flex;

    align-items: center;

}


.logo img {

    width: 125px;

    height: auto;

    display: block;

}



/* MENÚ */

.menu {

    display: flex;

    align-items: center;

    gap: 28px;

}


.menu a {

    color: var(--azul);

    font-size: 15px;

    font-weight: 600;

    transition: 0.3s;

}


.menu a:hover {

    color: var(--dorado);

}



/* BOTÓN PUBLICAR */

.boton-publicar {

    background-color: var(--azul);

    color: var(--blanco);

    padding: 13px 20px;

    border-radius: 6px;

    font-size: 14px;

    font-weight: bold;

    transition: 0.3s;

}


.boton-publicar:hover {

    background-color: var(--dorado);

}



/* ==========================================
   PORTADA
========================================== */

.hero {

    min-height: 570px;

    background:

        linear-gradient(
            rgba(10, 31, 53, 0.50),
            rgba(10, 31, 53, 0.50)
        ),

        url("../img/portada.jpg");

    background-size: cover;

    background-position: center;

    display: flex;

    align-items: center;

}



.hero-contenido {

    padding: 70px 0;

}


.hero-texto {

    max-width: 850px;

}


.etiqueta-hero {

    color: #e3c36c;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;

}


.hero h1 {

    margin-top: 20px;

    color: var(--blanco);

    font-size: clamp(40px, 5vw, 68px);

    line-height: 1.08;

    font-weight: 700;

}


.hero h1 strong {

    color: #e0b95b;

}


.hero p {

    max-width: 700px;

    margin-top: 25px;

    color: #e4e9ee;

    font-size: 18px;

    line-height: 1.7;

}



/* ==========================================
   BUSCADOR
========================================== */

.buscador {

    margin-top: 45px;

    width: 100%;

    background-color: #ffffff;

    padding: 8px;

    border-radius: 10px;

    display: flex;

    align-items: stretch;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.22);

    border: 1px solid rgba(255, 255, 255, 0.8);

}


.campo-buscador {

    min-width: 190px;

    padding: 10px 20px;

    border-right: 1px solid #e5e5e5;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.campo-buscador label {

    font-size: 10px;

    color: #8a8a8a;

    margin-bottom: 7px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.5px;

}


.campo-buscador select,
.campo-buscador input {

    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: var(--azul);

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

}


.campo-ubicacion {

    flex: 1;

}


.boton-buscar {

    min-width: 145px;

    padding: 0 22px;

    border: none;

    border-radius: 7px;

    background-color: var(--dorado);

    color: var(--blanco);

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

}


.boton-buscar:hover {

    background-color: #b68729;

}



/* ==========================================
   PROPIEDADES
========================================== */

.seccion-propiedades {

    padding: 90px 0;

    background-color: var(--blanco);

}


.encabezado-seccion {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 40px;

}


.encabezado-seccion span {

    color: var(--dorado);

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;

}


.encabezado-seccion h2 {

    margin-top: 10px;

    color: var(--azul);

    font-size: 36px;

}


.encabezado-seccion > a {

    color: var(--azul);

    font-weight: bold;

}


.propiedades-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;

}


.tarjeta-propiedad {

    background-color: var(--blanco);

    border: 1px solid #e5e7e9;

    border-radius: 10px;

    overflow: hidden;

    transition: 0.3s;

}


.tarjeta-propiedad:hover {

    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.10);

}


.imagen-propiedad {

    height: 245px;

    background:
        linear-gradient(
            135deg,
            #dce5ec,
            #aebfcd
        );

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

}


.imagen-placeholder {

    color: #637585;

    font-size: 15px;

}


.etiqueta-venta,
.etiqueta-arriendo {

    position: absolute;

    top: 15px;

    left: 15px;

    padding: 7px 11px;

    border-radius: 4px;

    color: var(--blanco);

    font-size: 11px;

    font-weight: bold;

}


.etiqueta-venta {

    background-color: var(--azul);

}


.etiqueta-arriendo {

    background-color: var(--verde);

}


.favorito {

    position: absolute;

    right: 15px;

    top: 15px;

    width: 38px;

    height: 38px;

    border: none;

    border-radius: 50%;

    background-color: var(--blanco);

    color: var(--azul);

    font-size: 22px;

    cursor: pointer;

}


.informacion-propiedad {

    padding: 23px;

}


.ubicacion {

    color: #777;

    font-size: 13px;

}


.informacion-propiedad h3 {

    margin-top: 8px;

    color: var(--azul);

    font-size: 21px;

}


.precio {

    margin-top: 15px;

    color: var(--dorado);

    font-weight: bold;

}


.caracteristicas {

    margin-top: 18px;

    padding-top: 15px;

    border-top: 1px solid #eeeeee;

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

}


.caracteristicas span {

    color: #68747d;

    font-size: 13px;

}

/* ==========================================
   SECCIÓN NOSOTROS
========================================== */

.seccion-nosotros {

    padding: 100px 0;

    background-color: #f6f7f8;

}


.nosotros-contenido {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;

}


/* BLOQUE VISUAL */

.nosotros-imagen {

    min-height: 500px;

    border-radius: 12px;

    overflow: hidden;

    background:

        linear-gradient(
            rgba(16, 44, 74, 0.58),
            rgba(16, 44, 74, 0.58)
        ),

        url("../img/portada.jpg");

    background-size: cover;

    background-position: center;

    display: flex;

    align-items: center;

    justify-content: center;

}


.nosotros-imagen-contenido {

    text-align: center;

    color: white;

    padding: 40px;

}


.nosotros-imagen-contenido span {

    display: block;

    color: #e0b95b;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 20px;

}


.nosotros-imagen-contenido strong {

    font-size: 38px;

    line-height: 1.2;

}


/* TEXTO */

.titulo-pequeno {

    color: var(--dorado);

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;

}


.nosotros-texto h2 {

    margin-top: 15px;

    color: var(--azul);

    font-size: 42px;

    line-height: 1.15;

}


.nosotros-texto h2 strong {

    color: var(--dorado);

}


.nosotros-texto p {

    margin-top: 22px;

    color: #59656f;

    font-size: 16px;

    line-height: 1.8;

}


.nosotros-datos {

    margin-top: 35px;

    display: flex;

    gap: 50px;

}


.nosotros-datos div {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.nosotros-datos strong {

    color: var(--azul);

    font-size: 20px;

}


.nosotros-datos span {

    color: #78828a;

    font-size: 13px;

}

/* ==========================================
   SERVICIOS
========================================== */

.seccion-servicios {

    padding: 100px 0;

    background-color: #ffffff;

}


.encabezado-servicios {

    text-align: center;

    max-width: 700px;

    margin: 0 auto 55px;

}


.encabezado-servicios > span {

    color: var(--dorado);

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;

}


.encabezado-servicios h2 {

    margin-top: 12px;

    color: var(--azul);

    font-size: 40px;

}


.encabezado-servicios p {

    margin-top: 18px;

    color: #6d777e;

    line-height: 1.7;

}


.servicios-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

}


.tarjeta-servicio {

    padding: 35px 30px;

    border: 1px solid #e7e9eb;

    border-radius: 10px;

    background-color: #ffffff;

    transition: 0.3s;

}


.tarjeta-servicio:hover {

    transform: translateY(-6px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);

    border-color: #d6bd7a;

}


.icono-servicio {

    width: 55px;

    height: 55px;

    border-radius: 8px;

    background-color: #f1ead9;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;

}


.tarjeta-servicio h3 {

    margin-top: 22px;

    color: var(--azul);

    font-size: 20px;

}


.tarjeta-servicio p {

    margin-top: 12px;

    color: #68747c;

    line-height: 1.7;

    font-size: 14px;

}

/* ==========================================
   POR QUÉ OCHOA 8A
========================================== */

.seccion-ventajas {

    padding: 100px 0;

    background-color: #f6f7f8;

}


.encabezado-ventajas {

    text-align: center;

    max-width: 720px;

    margin: 0 auto 60px;

}


.encabezado-ventajas > span {

    color: var(--dorado);

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;

}


.encabezado-ventajas h2 {

    margin-top: 12px;

    color: var(--azul);

    font-size: 40px;

}


.encabezado-ventajas p {

    margin-top: 18px;

    color: #68747c;

    line-height: 1.7;

}


.ventajas-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

}


.ventaja {

    display: flex;

    align-items: flex-start;

    gap: 20px;

    padding: 30px;

    background-color: #ffffff;

    border-radius: 10px;

    border: 1px solid #e5e8ea;

    transition: 0.3s;

}


.ventaja:hover {

    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.07);

}


.ventaja-icono {

    flex-shrink: 0;

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background-color: var(--dorado);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    font-weight: bold;

}


.ventaja h3 {

    color: var(--azul);

    font-size: 18px;

}


.ventaja p {

    margin-top: 8px;

    color: #68747c;

    line-height: 1.6;

    font-size: 14px;

}

/* ==========================================
   CONTACTO
========================================== */

.seccion-contacto {

    padding: 100px 0;

    background-color: var(--azul);

}


.contacto-contenido {

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 70px;

    align-items: center;

}


.contacto-info .titulo-pequeno {

    color: var(--dorado);

}


.contacto-info h2 {

    margin-top: 15px;

    color: white;

    font-size: 42px;

    line-height: 1.15;

}


.contacto-info h2 strong {

    color: var(--dorado);

}


.contacto-info > p {

    margin-top: 20px;

    color: #d8e0e6;

    line-height: 1.8;

    max-width: 500px;

}


.datos-contacto {

    margin-top: 35px;

    display: flex;

    flex-direction: column;

    gap: 22px;

}


.dato-contacto {

    display: flex;

    align-items: center;

    gap: 15px;

}

.dato-contacto a {

    display: block;

    margin-top: 4px;

    color: var(--azul);

    font-size: 14px;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;

}


.dato-contacto a:hover {

    color: var(--verde);

    text-decoration: underline;

}


.dato-icono {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background-color: var(--dorado);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 19px;

}


.dato-contacto div:last-child {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.dato-contacto strong {

    color: white;

    font-size: 15px;

}


.dato-contacto span {

    color: #c0ccd4;

    font-size: 13px;

}


/* FORMULARIO */

.contacto-formulario {

    background-color: white;

    padding: 35px;

    border-radius: 12px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.18);

}


.grupo-formulario {

    margin-bottom: 20px;

}


.grupo-formulario label {

    display: block;

    margin-bottom: 8px;

    color: var(--azul);

    font-size: 13px;

    font-weight: 700;

}


.grupo-formulario input,
.grupo-formulario textarea {

    width: 100%;

    padding: 14px 15px;

    border: 1px solid #dfe3e6;

    border-radius: 6px;

    outline: none;

    font-family: inherit;

    font-size: 14px;

    transition: 0.3s;

}


.grupo-formulario textarea {

    resize: vertical;

}


.grupo-formulario input:focus,
.grupo-formulario textarea:focus {

    border-color: var(--dorado);

    box-shadow:
        0 0 0 3px rgba(224, 185, 91, 0.12);

}


.boton-contacto {

    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 6px;

    background-color: var(--dorado);

    color: white;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;

}


.boton-contacto:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);

}

/* ==========================================
   BOTÓN WHATSAPP
========================================== */

.whatsapp-flotante {

    position: fixed !important;

    right: 25px !important;

    bottom: 25px !important;

    width: 60px !important;

    height: 60px !important;

    border-radius: 50% !important;

    background-color: #25D366 !important;

    color: white !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    text-decoration: none !important;

    font-size: 28px !important;

    z-index: 99999 !important;

    box-shadow: 0 5px 20px rgba(0,0,0,0.30);

    transition: all 0.3s ease;

}


.whatsapp-flotante:hover {

    transform: scale(1.10);

}


.whatsapp-flotante span {

    display: block;

    color: white;

}

/* ==========================================
   MENÚ MÓVIL
========================================== */

.menu-movil {

    display: none;

    background: none;

    border: none;

    color: var(--azul);

    font-size: 28px;

    cursor: pointer;

    padding: 5px;

}

/* ==========================================
   CONFIGURACIÓN PARA CELULARES
========================================== */

@media (max-width: 600px) {

    /* BOTÓN DEL MENÚ */

    .menu-movil {

        display: block;

    }


    /* CONTENEDOR */

    .contenedor {

        width: 90%;

    }


    /* MENÚ DE NAVEGACIÓN */

    .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 25px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 1000;
}

.menu a {
    display: block;
    color: #062d52;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}


    /* MENÚ CUANDO SE ABRE */

    .menu.menu-abierto {

    display: flex !important;

    flex-direction: column !important;

    background: white !important;

}


    /* ENLACES DEL MENÚ */

    .menu a {

        font-size: 16px;

        color: var(--azul);

    }

}

/* MENÚ MÓVIL */

@media (max-width: 600px) {

    .menu.menu-abierto {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: white !important;
        z-index: 9999 !important;
        padding: 25px 0 !important;
        gap: 20px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

}

/* MENÚ MÓVIL ABIERTO */

@media (max-width: 600px) {

    .menu.menu-abierto {

        display: flex !important;

        flex-direction: column;

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        background: white;

        z-index: 9999;

        padding: 25px 0;

        gap: 20px;

        align-items: center;

    }

}

#menu-toggle {
    display: none;
}

@media (max-width: 600px) {

    .menu-movil {
        display: block;
        cursor: pointer;
        font-size: 28px;
        color: #062d52;
        padding: 5px;
    }

    #menu-toggle:checked ~ .menu {
        display: flex !important;
    }

}

/* =========================================
   ADAPTACIÓN PARA CELULARES
   ========================================= */

@media (max-width: 600px) {

    /* Evita desplazamiento horizontal */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Contenedores */
    .contenedor {
        width: 90%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* PORTADA */
    .hero {
        width: 100%;
        min-height: 560px;
        background-position: center center;
        background-size: cover;
    }

    /* Contenido de la portada */
    .hero-contenido {
        width: 90%;
        margin: 0 auto;
        padding-top: 60px;
    }

    /* Título principal */
    .hero h1 {
        font-size: 38px;
        line-height: 1.05;
        max-width: 100%;
    }

    /* Texto de la portada */
    .hero p {
        font-size: 15px;
        line-height: 1.6;
        max-width: 100%;
    }

    /* BUSCADOR */
    .buscador {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

}

    /* =========================================
       SECCIONES Y CONTENIDO EN CELULAR
       ========================================= */

    section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Títulos de las secciones */
    section h2 {
        font-size: 30px;
        line-height: 1.15;
        max-width: 100%;
    }

    /* Propiedades destacadas */
    .propiedades-grid {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Tarjetas */
    .propiedad-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Imágenes de las propiedades */
    .propiedad-card img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    /* Cualquier imagen dentro de las secciones */
    section img {
        max-width: 100%;
        height: auto;
    }

        /* PROPIEDADES EN CELULAR */

    .seccion-propiedades {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .seccion-propiedades .contenedor {
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .seccion-propiedades .encabezado-seccion {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 15px;
    }

    .seccion-propiedades h2 {
        font-size: 30px;
        line-height: 1.15;
        margin: 0;
    }

    .propiedades-grid {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        box-sizing: border-box;
    }

    /* =========================
   AJUSTE MÓVIL - NOSOTROS
========================= */

@media (max-width: 600px) {

    .nosotros-contenido {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .nosotros-imagen {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .nosotros-imagen img {
        width: 100%;
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }

    .nosotros-texto {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .nosotros-texto h2,
    .nosotros-texto p {
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }

}

/* =========================
   POR QUÉ ELEGIR OCHOA 8A - MÓVIL
========================= */

@media (max-width: 600px) {

    .porque-grid,
    .beneficios-grid,
    .razones-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        gap: 20px;
    }

    .tarjeta-beneficio,
    .tarjeta-razon,
    .beneficio {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

}

/* ================================
   CORRECCIÓN MÓVIL - POR QUÉ ELEGIR
================================ */

@media (max-width: 768px) {

    /* Evita que la página se salga horizontalmente */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Sección completa */
    .seccion-diferencia,
    .seccion-porque,
    .seccion-eleccion {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Contenedor */
    .seccion-diferencia .contenedor,
    .seccion-porque .contenedor,
    .seccion-eleccion .contenedor {
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
        box-sizing: border-box;
    }

    /* Título */
    .seccion-diferencia h2,
    .seccion-porque h2,
    .seccion-eleccion h2 {
        font-size: 32px;
        line-height: 1.15;
        text-align: center;
        max-width: 100%;
        word-wrap: break-word;
    }

    /* Texto debajo del título */
    .seccion-diferencia > .contenedor > p,
    .seccion-porque > .contenedor > p,
    .seccion-eleccion > .contenedor > p {
        max-width: 100%;
        text-align: center;
    }

    /* LAS TARJETAS: una sola columna en teléfono */
    .diferencias-grid,
    .porque-grid,
    .eleccion-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
        gap: 20px;
        box-sizing: border-box;
    }

    /* Cada tarjeta */
    .tarjeta-diferencia,
    .tarjeta-porque,
    .tarjeta-eleccion {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {

    .seccion-ventajas {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .seccion-ventajas .contenedor {
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
        box-sizing: border-box;
    }

    .seccion-ventajas .encabezado-ventajas {
        width: 100%;
        max-width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .seccion-ventajas .encabezado-ventajas h2 {
        font-size: 32px;
        line-height: 1.15;
        width: 100%;
        max-width: 100%;
    }

    .seccion-ventajas .encabezado-ventajas p {
        width: 100%;
        max-width: 100%;
    }

    /* TARJETAS EN UNA SOLA COLUMNA */
    .seccion-ventajas .ventajas-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
        gap: 20px;
        box-sizing: border-box;
    }

    .seccion-ventajas .ventaja {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }
}

/* =================================
   NOSOTROS - VERSIÓN MÓVIL
================================= */

@media (max-width: 768px) {

    .seccion-nosotros {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .nosotros-contenido {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 24px;
    }

    .nosotros-imagen,
    .nosotros-texto {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* TEXTO PRINCIPAL */
    .nosotros-texto {
        padding: 35px 0 20px 0;
    }

    .nosotros-texto .titulo-pequeno {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 15px;
        display: block;
    }

    .nosotros-texto h2 {
        font-size: 30px;
        line-height: 1.18;
        font-weight: 700;
        margin: 0 0 22px 0;
        width: 100%;
        max-width: 100%;
    }

    .nosotros-texto p {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 22px;
        width: 100%;
        max-width: 100%;
    }

    /* DATOS DEBAJO */
    .nosotros-datos {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        margin-top: 25px;
        box-sizing: border-box;
    }

    .nosotros-datos > div {
        min-width: 0;
    }

}

/* =================================
   CONTACTO - VERSIÓN MÓVIL
================================= */

@media (max-width: 768px) {

    .seccion-contacto {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .contacto-contenido {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
        box-sizing: border-box;
    }

    .contacto-info,
    .contacto-formulario {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .contacto-info {
        padding-left: 0;
        padding-right: 0;
    }

    .contacto-info h2 {
        font-size: 36px;
        line-height: 1.15;
        max-width: 100%;
    }

    .contacto-info p {
        max-width: 100%;
        line-height: 1.8;
    }

    .contacto-formulario {
        margin-top: 30px;
    }

    .contacto-formulario form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .grupo-formulario {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .grupo-formulario input,
    .grupo-formulario textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

}

/* =========================================================
   FOOTER - DISEÑO GENERAL
========================================================= */

.footer {
    background: #0d2f52;
    color: white;
    width: 100%;
    margin-top: 0;
}

.footer-contenido {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 60px 0 45px;
    align-items: start;
}

/* LOGO */

.footer-marca {
    min-width: 0;
}

.footer-marca img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-marca p {
    max-width: 320px;
    margin: 0;
    color: #dbe5ef;
    font-size: 15px;
    line-height: 1.7;
}

/* COLUMNAS */

.footer-columna {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-columna h3 {
    margin: 0 0 18px;
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.footer-columna a {
    color: #dbe5ef;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.footer-columna a:hover {
    color: #d19b32;
}

.footer-columna p {
    margin: 0 0 12px;
    color: #dbe5ef;
    font-size: 15px;
    line-height: 1.5;
}

/* PARTE INFERIOR */

.footer-inferior {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px;
    text-align: center;
}

.footer-inferior p {
    margin: 0;
    color: #dbe5ef;
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   FOOTER - TABLET
========================================================= */

@media (max-width: 900px) {

    .footer-contenido {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
        padding: 50px 30px 40px;
    }

    .footer-marca {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   FOOTER - TELÉFONO
========================================================= */

@media (max-width: 600px) {

    .footer {
    position: relative;

    background-image:
        linear-gradient(
            rgba(13, 47, 82, 0.65),
            rgba(13, 47, 82, 0.65)
        ),
        url("../img/portada..jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    width: 100%;
    margin-top: 0;
}

    .footer-contenido {
        display: flex;
        flex-direction: column;
        gap: 35px;

        width: 100%;
        box-sizing: border-box;

        padding: 40px 24px 35px;
    }

    /* LOGO */

    .footer-marca {
        width: 100%;
        box-sizing: border-box;
    }

    .footer-marca img {
        width: 170px;
        max-width: 100%;
        height: auto;
        margin: 0 auto 20px;
        object-fit: contain;
    }

    .footer-marca p {
        width: 100%;
        max-width: 100%;
        text-align: center;
        font-size: 14px;
        line-height: 1.6;
        margin: 0 auto;
    }

    /* COLUMNAS */

    .footer-columna {
        width: 100%;
        box-sizing: border-box;
        align-items: center;
        text-align: center;
    }

    .footer-columna h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer-columna a {
        font-size: 15px;
        margin-bottom: 9px;
    }

    .footer-columna p {
        font-size: 15px;
        margin-bottom: 10px;
    }

    /* COPYRIGHT */

    .footer-inferior {
        width: 100%;
        box-sizing: border-box;
        padding: 18px 20px;
    }

    .footer-inferior p {
        font-size: 13px;
        line-height: 1.5;
        text-align: center;
    }

}

/* =================================
   BOTONES DE PROPIEDADES
================================= */

.boton-propiedad {
    display: inline-block;
    margin-top: 20px;
    padding: 11px 18px;

    background: #0d2f52;
    color: white;

    text-decoration: none;
    border-radius: 6px;

    font-size: 14px;
    font-weight: 600;

    transition: all 0.2s ease;
}

.boton-propiedad:hover {
    background: #d19b32;
    color: white;
}

@media (max-width: 600px) {

    .boton-propiedad {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 12px 16px;
    }

}

/* =========================================
   BUSCADOR DE PROPIEDADES
========================================= */

.buscador-propiedades {
    background: #ffffff;
    border: 1px solid #e4e8ed;
    border-radius: 14px;

    padding: 25px 28px;
    margin: 30px 0 40px;

    box-shadow: 0 8px 25px rgba(13, 47, 82, 0.08);
}

.buscador-titulo {
    margin-bottom: 22px;
}

.buscador-titulo span {
    color: #d19b32;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.buscador-titulo h3 {
    margin: 6px 0 0;

    color: #0d2f52;
    font-size: 24px;
}


/* CAMPOS */

.buscador-campos {
    display: grid;

    grid-template-columns:
        1fr
        1fr
        1.3fr
        auto;

    gap: 15px;

    align-items: end;
}

.campo-busqueda {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.campo-busqueda label {
    margin-bottom: 7px;

    color: #334155;

    font-size: 13px;
    font-weight: 600;
}

.campo-busqueda select,
.campo-busqueda input {
    width: 100%;
    height: 46px;

    padding: 0 13px;

    border: 1px solid #d8dee6;
    border-radius: 7px;

    background: #ffffff;

    color: #334155;

    font-size: 14px;

    outline: none;

    box-sizing: border-box;
}

.campo-busqueda select:focus,
.campo-busqueda input:focus {
    border-color: #d19b32;
}


/* BOTÓN */

.boton-buscar {
    height: 46px;

    padding: 0 24px;

    border: none;
    border-radius: 7px;

    background: #0d2f52;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;
}

.boton-buscar:hover {
    background: #d19b32;
}


/* =========================================
   BUSCADOR - TABLET
========================================= */

@media (max-width: 900px) {

    .buscador-campos {
        grid-template-columns: 1fr 1fr;
    }

    .boton-buscar {
        width: 100%;
    }

}


/* =========================================
   BUSCADOR - TELÉFONO
========================================= */

@media (max-width: 600px) {

    .buscador-propiedades {
        padding: 22px 18px;
        margin: 25px 0 30px;

        border-radius: 12px;
    }

    .buscador-titulo {
        text-align: center;
    }

    .buscador-titulo h3 {
        font-size: 22px;
    }

    .buscador-campos {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .campo-busqueda {
        width: 100%;
    }

    .campo-busqueda select,
    .campo-busqueda input {
        height: 48px;
    }

    .boton-buscar {
        width: 100%;
        height: 48px;
    }

}

/* OCULTAR PROPIEDADES FILTRADAS */
.tarjeta-propiedad.oculta {
    display: none !important;
}

/* ==========================================
   DETALLE DE PROPIEDAD
========================================== */

.detalle-propiedad {

    position: fixed;

    inset: 0;

    background-color: rgba(10, 25, 40, 0.72);

    display: none;

    align-items: center;

    justify-content: center;

    padding: 30px;

    z-index: 9999;

}


.detalle-propiedad.activo {

    display: flex;

}


.detalle-contenido {

    width: 100%;

    max-width: 850px;

    max-height: 90vh;

    overflow-y: auto;

    overflow-x: hidden;

    background-color: var(--blanco);

    border-radius: 12px;

    position: relative;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25);

}


.cerrar-detalle {

    position: absolute;

    top: 15px;

    right: 15px;

    z-index: 10;

    width: 40px;

    height: 40px;

    border: none;

    border-radius: 50%;

    background-color: var(--blanco);

    color: var(--azul);

    font-size: 28px;

    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.15);

}


.cerrar-detalle:hover {

    transform: scale(1.05);

}


.detalle-imagen {

    height: 330px;

    background:
        linear-gradient(
            135deg,
            #dce5ec,
            #aebfcd
        );

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

}


.detalle-imagen-placeholder {

    color: #637585;

    font-size: 16px;

}


.detalle-informacion {

    padding: 35px;

}


.detalle-informacion h2 {

    margin-top: 10px;

    color: var(--azul);

    font-size: 30px;

}


.detalle-caracteristicas {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 25px;

    padding: 20px 0;

    border-top: 1px solid #eeeeee;

    border-bottom: 1px solid #eeeeee;

}


.detalle-caracteristicas span {

    color: #68747d;

    font-size: 14px;

}


.detalle-descripcion {

    margin-top: 25px;

}


.detalle-descripcion h3 {

    color: var(--azul);

    margin-bottom: 10px;

}


.detalle-descripcion p {

    color: #68747d;

    line-height: 1.7;

    font-size: 15px;

}


.detalle-informacion .boton-propiedad {

    display: inline-block;

    margin-top: 25px;

    text-decoration: none;

}

/* ==========================================
   AJUSTES PARA CELULARES
========================================== */

@media (max-width: 768px) {

    /* BUSCADOR PRINCIPAL */

    .hero .buscador {

        width: 100%;

        display: grid;

        grid-template-columns: 1fr;

        gap: 12px;

        padding: 18px;

        box-sizing: border-box;

    }


    .hero .campo-buscador {

        width: 100%;

        min-width: 0;

    }


    .hero .campo-buscador select,
    .hero .campo-buscador input {

        width: 100%;

        box-sizing: border-box;

    }


    .hero .boton-buscar {

        width: 100%;

        min-height: 48px;

    }

}

/* ==========================================
   BOTÓN VER PROPIEDAD
========================================== */

.boton-ver-propiedad {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: 12px;

    padding: 11px 18px;

    border: 1px solid var(--azul);

    border-radius: 6px;

    background-color: transparent;

    color: var(--azul);

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    transition: 0.3s;

    cursor: pointer;

}


.boton-ver-propiedad:hover {

    background-color: var(--azul);

    color: var(--blanco);

    transform: translateY(-2px);

}

@media (max-width: 768px) {

    .boton-ver-propiedad {

        width: 100%;

        box-sizing: border-box;

        margin-top: 10px;

        padding: 12px 16px;

    }

}

/* ==========================================
   DATOS DESTACADOS - NOSOTROS
========================================== */

.nosotros-datos {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-top: 35px;

}


.nosotros-datos > div {

    padding: 18px;

    background-color: var(--blanco);

    border: 1px solid #e5e7e9;

    border-radius: 8px;

    transition: 0.3s;

}


.nosotros-datos > div:hover {

    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.08);

}


.nosotros-datos strong {

    display: block;

    color: var(--azul);

    font-size: 17px;

    margin-bottom: 6px;

}


.nosotros-datos span {

    display: block;

    color: #68747d;

    font-size: 12px;

    line-height: 1.4;

}


/* ==========================================
   NOSOTROS - CELULAR
========================================== */

@media (max-width: 768px) {

    .nosotros-datos {

        grid-template-columns: 1fr;

        gap: 12px;

        margin-top: 25px;

    }


    .nosotros-datos > div {

        padding: 16px;

    }

}

/* ==========================================
   SECCIÓN SERVICIOS
========================================== */

.seccion-servicios {

    padding: 100px 0;

    background-color: var(--blanco);

}


/* ENCABEZADO */

.servicios-encabezado {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 50px;

}


.servicios-encabezado > p {

    max-width: 420px;

    margin: 0;

    color: #68747d;

    line-height: 1.7;

    font-size: 15px;

}


/* GRID */

.servicios-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


/* TARJETAS */

.tarjeta-servicio {

    position: relative;

    padding: 32px;

    min-height: 270px;

    background-color: var(--blanco);

    border: 1px solid #e5e7e9;

    border-radius: 10px;

    overflow: hidden;

    transition: 0.3s;

}


.tarjeta-servicio:hover {

    transform: translateY(-6px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.10);

}


/* ICONO */

.servicio-icono {

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 25px;

    border-radius: 10px;

    background-color: #eef4f8;

    font-size: 25px;

}


/* TÍTULO */

.tarjeta-servicio h3 {

    margin: 0 0 12px;

    color: var(--azul);

    font-size: 20px;

}


/* DESCRIPCIÓN */

.tarjeta-servicio p {

    margin: 0;

    color: #68747d;

    font-size: 14px;

    line-height: 1.7;

    max-width: 330px;

}


/* NÚMERO */

.servicio-numero {

    position: absolute;

    right: 25px;

    bottom: 20px;

    color: #e5e7e9;

    font-size: 42px;

    font-weight: bold;

    line-height: 1;

}


/* ==========================================
   SERVICIOS - TABLET
========================================== */

@media (max-width: 1000px) {

    .servicios-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* ==========================================
   SERVICIOS - CELULAR
========================================== */

@media (max-width: 768px) {

    .seccion-servicios {

        padding: 70px 0;

    }


    .servicios-encabezado {

        display: block;

        margin-bottom: 35px;

    }


    .servicios-encabezado > p {

        margin-top: 20px;

    }


    .servicios-grid {

        grid-template-columns: 1fr;

        gap: 16px;

    }


    .tarjeta-servicio {

        min-height: auto;

        padding: 25px;

    }


    .servicio-icono {

        margin-bottom: 20px;

    }

}

/* ==========================================
   BOTÓN LIMPIAR FILTROS
========================================== */

.boton-limpiar {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    border: 1px solid #d7dde2;

    border-radius: 6px;

    background-color: var(--blanco);

    color: #68747d;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;

}


.boton-limpiar:hover {

    border-color: var(--azul);

    color: var(--azul);

    transform: translateY(-2px);

}

.dato-contacto a {

    display: block;

    margin-top: 4px;

    color: var(--blanco);

    font-size: 14px;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;

}


.dato-contacto a:hover {

    color: var(--dorado);

    text-decoration: underline;

}

/* ==========================================
   WHATSAPP EN PROPIEDADES
========================================== */

.boton-whatsapp-propiedad {

    display: inline-block;

    margin-top: 12px;

    padding: 11px 18px;

    border-radius: 6px;

    background-color: #25D366;

    color: white;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    transition: 0.3s;

}


.boton-whatsapp-propiedad:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.12);

}

/* ==========================================
   MODAL PUBLICAR INMUEBLE - OCHOA 8A
========================================== */

.modal-publicar {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(7, 25, 43, 0.82);

    backdrop-filter: blur(6px);

    overflow-y: auto;
}


/* ==========================================
   MODAL ACTIVO
========================================== */

.modal-publicar.activo {
    display: flex;

    animation: aparecerModal 0.25s ease;
}


/* ANIMACIÓN */

@keyframes aparecerModal {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


/* ==========================================
   CONTENIDO
========================================== */

.contenido-modal-publicar {

    position: relative;

    width: 100%;
    max-width: 760px;

    max-height: 92vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 22px;

    padding: 42px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);

    border-top: 5px solid #d6a52f;

    animation: subirModal 0.3s ease;
}


/* ANIMACIÓN DEL CONTENIDO */

@keyframes subirModal {

    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }

}


/* ==========================================
   BARRA DE SCROLL
========================================== */

.contenido-modal-publicar::-webkit-scrollbar {
    width: 7px;
}

.contenido-modal-publicar::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 10px;
}

.contenido-modal-publicar::-webkit-scrollbar-thumb {
    background: #123b63;
    border-radius: 10px;
}


/* ==========================================
   BOTÓN CERRAR
========================================== */

.cerrar-modal-publicar {

    position: absolute;

    top: 20px;
    right: 22px;

    width: 44px;
    height: 44px;

    border: none;

    border-radius: 50%;

    background: #f3f5f7;

    color: #102f4f;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;

    transition: all 0.2s ease;
}


.cerrar-modal-publicar:hover {

    background: #102f4f;

    color: white;

    transform: rotate(90deg);

}


/* ==========================================
   ENCABEZADO
========================================== */

.encabezado-publicar {

    margin-bottom: 30px;

    padding-right: 50px;

    border-bottom: 1px solid #e5e9ed;

    padding-bottom: 22px;
}


.encabezado-publicar span {

    display: inline-block;

    margin-bottom: 8px;

    color: #d6a52f;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.encabezado-publicar h2 {

    margin: 0 0 8px;

    color: #102f4f;

    font-size: 32px;

    font-weight: 800;

    line-height: 1.2;
}


.encabezado-publicar p {

    margin: 0;

    color: #6b7280;

    font-size: 15px;
}


/* ==========================================
   FORMULARIO
========================================== */

#formPublicar {

    display: block;
}


/* ==========================================
   CAMPOS
========================================== */

.campo-publicar {

    margin-bottom: 20px;
}


.campo-publicar label {

    display: block;

    margin-bottom: 8px;

    color: #102f4f;

    font-size: 14px;

    font-weight: 700;
}


/* ==========================================
   INPUTS
========================================== */

.campo-publicar input,
.campo-publicar select,
.campo-publicar textarea {

    width: 100%;

    box-sizing: border-box;

    padding: 14px 16px;

    border: 1px solid #d5dce3;

    border-radius: 10px;

    background: #fbfcfd;

    color: #172b3a;

    font-family: inherit;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


/* PLACEHOLDER */

.campo-publicar input::placeholder,
.campo-publicar textarea::placeholder {

    color: #9aa4ad;
}


/* FOCUS */

.campo-publicar input:focus,
.campo-publicar select:focus,
.campo-publicar textarea:focus {

    border-color: #123b63;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(18, 59, 99, 0.10);
}


/* ==========================================
   SELECT
========================================== */

.campo-publicar select {

    cursor: pointer;

    appearance: auto;
}


/* ==========================================
   TEXTAREA
========================================== */

.campo-publicar textarea {

    min-height: 120px;

    resize: vertical;

    line-height: 1.5;
}


/* ==========================================
   FILAS
========================================== */

.fila-publicar {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}


/* ==========================================
   TEXTO DE AYUDA
========================================== */

.campo-publicar small {

    display: block;

    margin-top: 7px;

    color: #7b8792;

    font-size: 12px;

    line-height: 1.4;
}


/* ==========================================
   BOTÓN PUBLICAR
========================================== */

.boton-enviar-publicacion {

    width: 100%;

    margin-top: 8px;

    padding: 15px 20px;

    border: none;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        #102f4f,
        #17466f
    );

    color: #ffffff;

    font-size: 16px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(16, 47, 79, 0.20);

    transition: all 0.25s ease;
}


.boton-enviar-publicacion:hover {

    transform: translateY(-2px);

    background: linear-gradient(
        135deg,
        #17466f,
        #205b8d
    );

    box-shadow:
        0 12px 25px rgba(16, 47, 79, 0.28);
}


.boton-enviar-publicacion:active {

    transform: translateY(0);

}


/* ==========================================
   MENSAJE
========================================== */

.mensaje-publicacion {

    min-height: 20px;

    margin-top: 15px;

    text-align: center;

    color: #102f4f;

    font-size: 14px;

    font-weight: 700;
}


/* ==========================================
   ESTADOS DE ERROR / ÉXITO
========================================== */

.mensaje-publicacion {

    display: block;

    width: 100%;

    margin-top: 18px;

    padding: 12px 15px;

    box-sizing: border-box;

    text-align: center;

    font-size: 15px;

    font-weight: 600;

    border-radius: 8px;

}

.mensaje-publicacion.exito {

    color: #16834b;
}


.mensaje-publicacion.error {

    color: #c0392b;
}


/* ==========================================
   CAMPOS OBLIGATORIOS
========================================== */

.campo-publicar input:required:invalid:not(:placeholder-shown),
.campo-publicar select:required:invalid {

    border-color: #d5dce3;
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 700px) {

    .modal-publicar {

        padding: 12px;

        align-items: flex-start;
    }


    .contenido-modal-publicar {

        margin-top: 10px;

        max-height: 95vh;

        padding: 30px 22px;

        border-radius: 18px;
    }


    .encabezado-publicar {

        padding-right: 40px;
    }


    .encabezado-publicar h2 {

        font-size: 27px;
    }


    .fila-publicar {

        grid-template-columns: 1fr;

        gap: 0;
    }


    .cerrar-modal-publicar {

        top: 15px;
        right: 15px;
    }

}


/* ==========================================
   MÓVIL PEQUEÑO
========================================== */

@media (max-width: 420px) {

    .contenido-modal-publicar {

        padding: 25px 18px;
    }


    .encabezado-publicar h2 {

        font-size: 24px;
    }


    .campo-publicar input,
    .campo-publicar select,
    .campo-publicar textarea {

        padding: 13px;
    }

}

/* ==========================================
   IMAGEN REAL DE LAS PROPIEDADES
========================================== */

.imagen-real-propiedad {

    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

/* ==========================================
   MODAL DETALLE DE PROPIEDAD
========================================== */

.modal-detalle-propiedad {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.65);

    z-index: 9999;

    overflow-y: auto;
    overflow-x: hidden;
}


/* MODAL ABIERTO */

.modal-detalle-propiedad.activo {

    display: flex;
}


/* ==========================================
   CONTENIDO DEL MODAL
========================================== */

.contenido-detalle-propiedad {

    position: relative;

    width: 90%;

    max-width: 950px;

    max-height: 90vh;

    background: #ffffff;

    border-radius: 20px;

    overflow-y: auto;
    overflow-x: hidden;

    box-sizing: border-box;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);
}


/* ==========================================
   BOTÓN CERRAR
========================================== */

.cerrar-detalle-propiedad {

    position: absolute;

    top: 15px;
    right: 15px;

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 50%;

    background: #ffffff;

    color: #0d3557;

    font-size: 28px;

    line-height: 42px;

    text-align: center;

    cursor: pointer;

    z-index: 50;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.25);
}


.cerrar-detalle-propiedad:hover {

    background: #0d3557;

    color: #ffffff;
}


/* ==========================================
   CONTENEDOR DE IMAGEN
========================================== */

.imagen-detalle-propiedad {

    position: relative;

    width: 100%;

    height: 400px;

    overflow: hidden;

    box-sizing: border-box;
}


/* ==========================================
   IMAGEN
========================================== */

#detalleImagen {

    display: block;

    width: 100% !important;

    max-width: 100% !important;

    height: 400px !important;

    max-height: 400px !important;

    object-fit: cover;

    object-position: center;

    margin: 0;

    padding: 0;

    box-sizing: border-box;
}


/* ==========================================
   ETIQUETA VENTA / ARRIENDO
========================================== */

.imagen-detalle-propiedad #detalleEtiqueta {

    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 10;
}


/* ==========================================
   INFORMACIÓN
========================================== */

.informacion-detalle-propiedad {

    padding: 30px;

    box-sizing: border-box;

    width: 100%;

    max-width: 100%;
}


/* ==========================================
   TÍTULO
========================================== */

#detalleTitulo {

    margin: 10px 0;

    color: #0d3557;

    font-size: 32px;

    line-height: 1.2;

    word-break: break-word;
}


/* ==========================================
   UBICACIÓN
========================================== */

#detalleUbicacion {

    display: block;

    margin-bottom: 10px;

    color: #666;

    font-size: 16px;
}


/* ==========================================
   PRECIO
========================================== */

#detallePrecio {

    margin: 15px 0;

    color: #c99627;

    font-size: 25px;

    font-weight: 700;
}


/* ==========================================
   CARACTERÍSTICAS
========================================== */

.caracteristicas-detalle {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    margin: 25px 0;

    padding: 20px 0;

    border-top: 1px solid #e5e5e5;

    border-bottom: 1px solid #e5e5e5;
}


.caracteristicas-detalle > div {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 5px;
}


.caracteristicas-detalle strong {

    font-size: 24px;
}


.caracteristicas-detalle span {

    color: #0d3557;

    font-size: 18px;

    font-weight: 700;
}


.caracteristicas-detalle small {

    color: #777;

    font-size: 13px;
}


/* ==========================================
   DESCRIPCIÓN
========================================== */

.detalle-descripcion h3 {

    margin-bottom: 10px;

    color: #0d3557;

    font-size: 21px;
}


.detalle-descripcion p {

    color: #555;

    font-size: 16px;

    line-height: 1.7;

    word-break: break-word;
}


/* ==========================================
   BOTONES
========================================== */

.acciones-detalle {

    margin-top: 25px;

    display: flex;

    gap: 12px;
}


.acciones-detalle .boton-whatsapp-propiedad {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 22px;

    border-radius: 8px;

    text-decoration: none;

    box-sizing: border-box;
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 700px) {

    .modal-detalle-propiedad {

        padding: 10px;

        align-items: center;
    }


    .contenido-detalle-propiedad {

        width: 100%;

        max-height: 95vh;

        border-radius: 15px;
    }


    .imagen-detalle-propiedad {

        height: 280px;
    }


    #detalleImagen {

        height: 280px !important;

        max-height: 280px !important;
    }


    .informacion-detalle-propiedad {

        padding: 22px;
    }


    #detalleTitulo {

        font-size: 26px;
    }


    #detallePrecio {

        font-size: 22px;
    }


    .caracteristicas-detalle {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 20px;
    }


    .acciones-detalle {

        flex-direction: column;
    }


    .acciones-detalle a {

        width: 100%;
    }

}

/* ==========================================
   MODAL ADMINISTRAR PROPIEDADES
========================================== */

.modal-administrar-propiedades {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99990;

    padding: 30px;

    background: rgba(0, 0, 0, 0.55);

    align-items: center;
    justify-content: center;
}


/* CUANDO ESTÁ ACTIVO */

.modal-administrar-propiedades.activo {
    display: flex;
}


/* CONTENIDO */

.contenido-modal-administrar {
    position: relative;

    width: 100%;
    max-width: 1000px;

    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 20px;

    padding: 35px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}


/* BOTÓN CERRAR */

.cerrar-administrar-propiedades {
    position: absolute;

    top: 15px;
    right: 18px;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: #f1f3f5;

    color: #333;

    font-size: 28px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* ENCABEZADO */

.encabezado-administrar {
    margin-bottom: 25px;

    padding-right: 50px;
}


.encabezado-administrar h2 {
    margin: 0 0 8px;

    font-size: 28px;

    color: #123b70;
}


.encabezado-administrar p {
    margin: 0;

    color: #666;
}


/* LISTA */

.lista-administrar-propiedades {
    display: flex;

    flex-direction: column;

    gap: 15px;
}


/* CARGANDO */

.cargando-administrar {
    text-align: center;

    padding: 30px;

    color: #666;
}


/* MÓVIL */

@media (max-width: 700px) {

    .modal-administrar-propiedades {
        padding: 15px;
    }


    .contenido-modal-administrar {
        max-height: 95vh;

        padding: 25px 20px;

        border-radius: 18px;
    }


    .encabezado-administrar h2 {
        font-size: 24px;
    }

}

/* ==========================================
   LOGIN ADMINISTRADOR
========================================== */

.modal-login-admin {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    z-index: 999999;

    width: 90vw;
    max-width: 500px;
    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;

    padding: 30px;

    box-sizing: border-box;

    border-radius: 20px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.30);
}


/* Cuando está abierto */

.modal-login-admin.activo {
    display: block;
}


/* Contenido */

.contenido-login-admin {
    width: 100%;
}


/* Botón cerrar */

.cerrar-login-admin {
    position: absolute;

    top: 12px;
    right: 15px;

    width: 32px;
    height: 32px;

    border: none;

    background: transparent;

    font-size: 28px;

    cursor: pointer;

    color: #333;
}


/* Título */

.contenido-login-admin h2 {
    margin-top: 0;
    margin-bottom: 10px;

    color: #12395b;

    font-size: 28px;
}


/* Texto */

.contenido-login-admin p {
    color: #555;

    margin-bottom: 20px;
}


/* Formulario */

#formLoginAdmin {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


/* Etiquetas */

#formLoginAdmin label {
    font-weight: 600;

    color: #12395b;

    margin-top: 5px;
}


/* Campos */

#formLoginAdmin input {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid #cccccc;

    border-radius: 8px;

    font-size: 16px;

    outline: none;
}


#formLoginAdmin input:focus {
    border-color: #12395b;

    box-shadow:
        0 0 0 2px rgba(18, 57, 91, 0.12);
}


/* Botón iniciar sesión */

.boton-login-admin {
    width: 100%;

    margin-top: 10px;

    padding: 14px;

    border: none;

    border-radius: 8px;

    background: #12395b;

    color: white;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;
}


.boton-login-admin:hover {
    opacity: 0.9;
}


/* Mensaje */

.mensaje-login-admin {
    min-height: 20px;

    text-align: center;

    margin-top: 10px;
}

/* ==========================================
   BOTÓN ADMINISTRADOR - ENCABEZADO
========================================== */

.boton-login-admin-acceso {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    min-height: 48px;
    padding: 0 18px;

    box-sizing: border-box;

    border: 1px solid #d4a62a;
    border-radius: 6px;

    background: #ffffff;
    color: #12395b;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.boton-login-admin-acceso:hover {
    background: #12395b;
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}


/* ==========================================
   ADMINISTRADOR - CELULAR
========================================== */

@media (max-width: 768px) {

    .boton-login-admin-acceso {
        min-height: 42px;
        width: 100px;
        padding: 5px 8px;

        font-size: 13px;
        line-height: 1.1;

        white-space: normal;
        text-align: center;

        border-radius: 5px;
    }

}

/* ==========================================
   TARJETAS DE SERVICIOS CLICKEABLES
========================================== */

.tarjeta-servicio {
    display: block;

    text-decoration: none;
    color: inherit;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.tarjeta-servicio:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(18, 57, 91, 0.12);
}


.tarjeta-servicio h3,
.tarjeta-servicio p {
    text-decoration: none;
}

/* ==========================================
   CORRECCIÓN TARJETAS DE SERVICIOS
========================================== */

.tarjeta-servicio {
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 28px;
    text-decoration: none;
    color: inherit;
}

.tarjeta-servicio .servicio-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    margin-bottom: 22px;
}

.tarjeta-servicio h3 {
    display: block;
    width: 100%;
    margin: 0 0 12px 0;
    color: #12395b;
    font-size: 20px;
    line-height: 1.3;
}

.tarjeta-servicio p {
    display: block;
    width: 100%;
    margin: 0;
    color: #52677a;
    font-size: 15px;
    line-height: 1.6;
}

.tarjeta-servicio .servicio-numero {
    position: absolute;
    right: 24px;
    bottom: 18px;
}

/* Evita que el enlace cambie el aspecto del texto */
a.tarjeta-servicio,
a.tarjeta-servicio:visited,
a.tarjeta-servicio:hover,
a.tarjeta-servicio:active {
    color: inherit;
    text-decoration: none;
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 768px) {

    .tarjeta-servicio {
        padding: 24px 20px;
        min-height: 0;
    }

    .tarjeta-servicio .servicio-icono {
        width: 58px;
        height: 58px;
        margin-bottom: 18px;
    }

    .tarjeta-servicio h3 {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .tarjeta-servicio p {
        font-size: 14px;
        line-height: 1.55;
    }

    .tarjeta-servicio .servicio-numero {
        right: 20px;
        bottom: 15px;
    }
}

/* ==========================================
   BOTÓN ADMINISTRADOR - MÓVIL
========================================== */

@media (max-width: 768px) {

    .boton-login-admin-acceso {
        display: flex !important;
        align-items: center;
        justify-content: center;

        width: auto !important;
        min-width: 0 !important;

        height: 48px;

        padding: 0 10px !important;

        margin: 0 !important;

        box-sizing: border-box;

        font-size: 13px !important;
        line-height: 1.1;

        white-space: nowrap;

        border-radius: 6px;

        flex-shrink: 0;
    }

}

/* ==========================================
   AJUSTE DEL MENÚ EN TELÉFONOS
   ========================================== */

@media (max-width: 768px) {

    .barra-navegacion {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 8px;

        overflow: visible;
    }


    /* LOGO */

    .barra-navegacion .logo,
    .barra-navegacion img {
        max-width: 90px;
        width: 90px;
        height: auto;

        flex-shrink: 1;
    }


    /* BOTÓN HAMBURGUESA */

    .menu-toggle {
        flex-shrink: 0;
    }


    /* PUBLICAR INMUEBLE */

    .boton-publicar,
    .barra-navegacion .boton-publicar {
        width: 82px;
        min-width: 82px;

        padding: 8px 5px;

        font-size: 12px;
        line-height: 1.1;

        flex-shrink: 1;
    }


    /* ADMINISTRADOR */

    #btnLoginAdmin {
        width: 92px;
        min-width: 92px;

        padding: 8px 5px;

        font-size: 12px;
        line-height: 1.1;

        white-space: normal;

        flex-shrink: 1;

        box-sizing: border-box;

        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

}

@media (max-width: 768px) {

    .encabezado,
    .encabezado .contenedor,
    .barra-navegacion {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .encabezado {
        overflow: visible;
    }

    body {
        overflow-x: hidden;
    }

}

/* ==========================================
   AJUSTE MENÚ MÓVIL
   ========================================== */

@media (max-width: 600px) {

    .barra-navegacion {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;

        display: flex;
        align-items: center;

        gap: 8px;

        padding-left: 10px;
        padding-right: 10px;

        overflow: hidden;
    }

    /* LOGO */
    .barra-navegacion .logo {
        flex: 0 0 auto;
        width: 75px;
        max-width: 75px;
    }

    .barra-navegacion .logo img {
        max-width: 75px;
        height: auto;
    }

    /* BOTÓN HAMBURGUESA */
    .barra-navegacion .menu-toggle {
        flex: 0 0 35px;
        width: 35px;
        padding: 0;
    }

    /* PUBLICAR INMUEBLE */
    .barra-navegacion .boton-publicar {
        flex: 0 1 82px;
        width: 82px;
        min-width: 0;

        padding: 8px 5px;

        font-size: 12px;
        line-height: 1.1;

        white-space: normal;
    }

    /* ADMINISTRADOR */
    .barra-navegacion .boton-login-admin-acceso {
        flex: 0 1 90px;
        width: 90px;
        min-width: 0;

        padding: 8px 5px;

        font-size: 12px;
        line-height: 1.1;

        white-space: normal;

        overflow: hidden;
        text-overflow: ellipsis;
    }

}

/* ==========================================
   AJUSTE DEFINITIVO HEADER EN MÓVIL
========================================== */

@media (max-width: 600px) {

    .barra-navegacion {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;

        padding-left: 8px;
        padding-right: 8px;

        gap: 6px;

        overflow: hidden;
    }

    /* LOGO */
    .barra-navegacion .logo {
        flex: 0 1 72px;
        width: 72px;
        min-width: 0;
    }

    .barra-navegacion .logo img {
        width: 100%;
        max-width: 72px;
        height: auto;
    }

    /* PUBLICAR INMUEBLE */
    .barra-navegacion .boton-publicar {
        flex: 0 1 72px;
        width: 72px;
        min-width: 0;

        padding: 7px 4px;

        font-size: 11px;
        line-height: 1.1;

        white-space: normal;
    }

    /* ADMINISTRADOR */
    .barra-navegacion .boton-login-admin-acceso {
        flex: 0 1 82px;
        width: 82px;
        min-width: 0;

        padding: 7px 4px;

        font-size: 11px;
        line-height: 1.1;

        white-space: normal;

        overflow: hidden;
    }

}

/* ==========================================
   HEADER MÓVIL - AJUSTE DEFINITIVO
========================================== */

@media (max-width: 600px) {

    .barra-navegacion {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;

        padding: 0 4px !important;
        gap: 4px !important;

        display: flex !important;
        align-items: center !important;

        overflow: hidden !important;
    }

    /* LOGO */

    .barra-navegacion .logo {
        flex: 0 0 58px !important;
        width: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
    }

    .barra-navegacion .logo img {
        width: 58px !important;
        max-width: 58px !important;
        height: auto;
    }


    /* MENÚ ☰ */

    .barra-navegacion .menu-movil {
        flex: 0 0 28px !important;
        width: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center;
        justify-content: center;
    }


    /* PUBLICAR */

    .barra-navegacion .boton-publicar {
        flex: 0 0 72px !important;
        width: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;

        padding: 6px 3px !important;

        font-size: 10px !important;
        line-height: 1.1 !important;

        white-space: normal !important;
        box-sizing: border-box !important;
    }


    /* ADMINISTRADOR */

    .barra-navegacion .boton-login-admin-acceso {
        flex: 0 0 82px !important;
        width: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;

        padding: 6px 3px !important;

        font-size: 10px !important;
        line-height: 1.1 !important;

        white-space: normal !important;
        box-sizing: border-box !important;

        overflow: hidden !important;
    }

}

/* ==========================================
   CORRECCIÓN DEFINITIVA DEL HEADER MÓVIL
========================================== */

@media (max-width: 600px) {

    /* El menú de navegación no debe ocupar espacio
       cuando está cerrado */
    .barra-navegacion .menu {
        display: none !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .barra-navegacion {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;

        gap: 5px !important;
        padding: 0 6px !important;

        overflow: hidden !important;
    }

    .barra-navegacion .logo {
        flex: 0 0 58px !important;
        width: 58px !important;
        min-width: 58px !important;
    }

    .barra-navegacion .menu-movil {
        flex: 0 0 28px !important;
        width: 28px !important;
        min-width: 28px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .barra-navegacion .boton-publicar {
        flex: 0 0 72px !important;
        width: 72px !important;
        min-width: 72px !important;

        margin: 0 !important;

        padding: 6px 3px !important;

        font-size: 10px !important;
        line-height: 1.1 !important;

        box-sizing: border-box !important;
    }

    .barra-navegacion .boton-login-admin-acceso {
        flex: 0 0 82px !important;
        width: 82px !important;
        min-width: 82px !important;

        margin: 0 !important;

        padding: 6px 3px !important;

        font-size: 10px !important;
        line-height: 1.1 !important;

        box-sizing: border-box !important;
    }

}

/* ==========================================
   HEADER MÓVIL - POSICIÓN CORRECTA
========================================== */

@media (max-width: 600px) {

    .barra-navegacion {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        gap: 8px !important;

        padding: 0 6px !important;

        overflow: hidden !important;
    }

    /* LOGO */
    .barra-navegacion .logo {
        flex: 0 0 55px !important;
        width: 55px !important;
        min-width: 55px !important;
        max-width: 55px !important;

        margin: 0 !important;
    }

    .barra-navegacion .logo img {
        width: 55px !important;
        max-width: 55px !important;
    }

    /* MENÚ HAMBURGUESA */
    .barra-navegacion .menu-movil {
        flex: 0 0 28px !important;
        width: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    
    /* PUBLICAR */
    .barra-navegacion .boton-publicar {
        flex: 0 0 72px !important;

        width: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;

        margin: 0 !important;

        padding: 6px 3px !important;

        font-size: 10px !important;
        line-height: 1.1 !important;

        box-sizing: border-box !important;
    }

    /* ADMINISTRADOR */
    .barra-navegacion .boton-login-admin-acceso {
        flex: 0 0 78px !important;

        width: 78px !important;
        min-width: 78px !important;
        max-width: 78px !important;

        margin: 0 !important;

        padding: 6px 3px !important;

        font-size: 10px !important;
        line-height: 1.1 !important;

        box-sizing: border-box !important;

        white-space: normal !important;
    }

}

@media (max-width: 600px) {

    .barra-navegacion {
        justify-content: center !important;
    }

}

@media (max-width: 600px) {

    .barra-navegacion .logo {
        flex: 0 0 65px !important;
        width: 65px !important;
        min-width: 65px !important;
        max-width: 65px !important;
    }

    .barra-navegacion .logo img {
        width: 65px !important;
        max-width: 65px !important;
    }

}

/* ==========================================
   MENÚ HAMBURGUESA MÓVIL
========================================== */

@media (max-width: 600px) {

    .barra-navegacion {
        position: relative;
    }

    /* Ocultar checkbox */
    .barra-navegacion #menu-toggle {
        display: none;
    }

    /* Botón hamburguesa */
    .barra-navegacion .menu-movil {
        display: flex;
        align-items: center;
        justify-content: center;

        flex: 0 0 28px;
        width: 28px;

        cursor: pointer;
        z-index: 1001;
    }

    /* Menú cerrado */
    .barra-navegacion .menu {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        background: #ffffff;

        padding: 15px 0;

        box-shadow: 0 8px 20px rgba(0,0,0,0.15);

        z-index: 1000;

        flex-direction: column;
        align-items: center;

        gap: 15px;
    }

    /* Menú abierto */
    .barra-navegacion #menu-toggle:checked ~ .menu {
        display: flex;
    }

    /* Enlaces */
    .barra-navegacion .menu a {
        display: block;

        width: 100%;

        text-align: center;

        padding: 8px 0;

        color: #12395b;

        text-decoration: none;

        font-weight: 600;
    }

    .barra-navegacion .menu a:hover {
        color: #c99a2e;
    }

}

/* ==========================================
   MENÚ MÓVIL - CORRECCIÓN FINAL
========================================== */

@media (max-width: 768px) {

    .encabezado {
        position: relative;
        z-index: 9999;
    }

    .barra-navegacion {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Ocultar checkbox */
    #menu-toggle {
        display: none;
    }

    /* Botón hamburguesa */
    .menu-movil {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10001;
    }

    /* Menú cerrado */
    .barra-navegacion .menu {
        display: none;
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        background: #ffffff;

        padding: 20px;

        box-sizing: border-box;

        flex-direction: column;
        align-items: center;

        gap: 15px;

        z-index: 10000;

        box-shadow:
            0 10px 25px rgba(0,0,0,0.15);
    }

    /* MENÚ ABIERTO */
    #menu-toggle:checked ~ .menu {
        display: flex;
    }

    /* Enlaces */
    .barra-navegacion .menu a {
        display: block;

        width: 100%;

        text-align: center;

        padding: 12px;

        color: #12395b;

        text-decoration: none;

        font-weight: 600;

        box-sizing: border-box;
    }

    .barra-navegacion .menu a:hover {
        background: #f1f5f8;
    }

}

/* ==========================================
   CORRECCIÓN MENÚ MÓVIL
========================================== */

@media (max-width: 768px) {

    .barra-navegacion .menu {
        width: 100vw !important;
        min-width: 100vw !important;

        left: 0 !important;
        right: auto !important;

        box-sizing: border-box !important;

        display: flex !important;

        flex-direction: column !important;
        align-items: center !important;

        padding: 20px !important;

        background: #ffffff !important;

        z-index: 99999 !important;
    }

    .barra-navegacion .menu a {
        width: 100% !important;
        display: block !important;

        text-align: center !important;

        padding: 12px !important;

        box-sizing: border-box !important;

        color: #12395b !important;

        text-decoration: none !important;
    }

}

/* ==========================================
   MENÚ PRINCIPAL - PC
========================================== */

.barra-navegacion {
    position: relative;
}

.barra-navegacion .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;

    position: static;

    width: auto;
    height: auto;

    background: transparent;

    padding: 0;
    margin: 0;

    z-index: 1000;
}

.barra-navegacion .menu a {
    color: #12395b;
    text-decoration: none;

    font-size: 17px;
    font-weight: 700;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.barra-navegacion .menu a:hover {
    color: #d9a928;
}


/* ==========================================
   BOTÓN HAMBURGUESA
========================================== */

.menu-movil {
    display: none;
}

#menu-toggle {
    display: none;
}


/* ==========================================
   TELÉFONOS
========================================== */

@media (max-width: 768px) {

    .barra-navegacion {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        box-sizing: border-box;

        padding: 8px 14px;

        gap: 8px;
    }


    /* Logo */

    .barra-navegacion .logo {
        flex-shrink: 0;
    }


    /* Hamburguesa */

    .menu-movil {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        flex-shrink: 0;

        cursor: pointer;

        color: #12395b;

        font-size: 0;
    }

    .menu-movil::before {
        content: "☰";

        font-size: 27px;
        line-height: 1;
    }


    /* Ocultar menú */

    .barra-navegacion .menu {
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        box-sizing: border-box;

        display: flex;
        flex-direction: column;

        align-items: center;

        gap: 0;

        padding: 18px 20px;

        margin: 0;

        background: #ffffff;

        box-shadow: 0 10px 25px rgba(0,0,0,0.15);

        z-index: 99999;

        visibility: hidden;
        opacity: 0;

        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }


    /* Menú abierto */

    #menu-toggle:checked ~ .menu {
        visibility: visible;
        opacity: 1;

        transform: translateY(0);
    }


    /* Enlaces */

    .barra-navegacion .menu a {
        display: block;

        width: 100%;

        box-sizing: border-box;

        padding: 16px 10px;

        text-align: center;

        color: #12395b;

        font-size: 16px;
        font-weight: 700;

        text-decoration: none;
    }


    .barra-navegacion .menu a:hover {
        background: #f4f7fa;
        color: #d9a928;
    }


    /* ==========================================
       BOTONES SUPERIORES
    ========================================== */

    .boton-publicar {
        flex-shrink: 0;

        min-width: 70px;

        padding: 8px 10px;

        font-size: 11px;

        line-height: 1.1;
    }


    .boton-login-admin-acceso {
        flex-shrink: 0;

        min-width: 78px;

        padding: 9px 8px;

        font-size: 11px;

        line-height: 1.1;

        white-space: nowrap;
    }
}


/* ==========================================
   TELÉFONOS PEQUEÑOS
========================================== */

@media (max-width: 380px) {

    .barra-navegacion {
        padding-left: 8px;
        padding-right: 8px;

        gap: 5px;
    }

    .menu-movil {
        width: 38px;
    }

    .boton-publicar {
        min-width: 65px;
        font-size: 10px;
    }

    .boton-login-admin-acceso {
        min-width: 72px;
        font-size: 10px;
    }
}

/* ==========================================
   MENÚ PRINCIPAL
========================================== */

/* Checkbox que controla el menú */
#menu-toggle {
    display: none;
}


/* Botón hamburguesa */
.menu-movil {
    display: none;

    cursor: pointer;

    font-size: 28px;

    color: #12395b;

    user-select: none;

    line-height: 1;
}


/* Menú en PC */
.barra-navegacion .menu {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 38px;

    position: static;

    width: auto;

    height: auto;

    padding: 0;

    margin: 0;

    background: transparent;

    z-index: 1000;
}


/* Enlaces del menú */
.barra-navegacion .menu a {
    color: #12395b;

    text-decoration: none;

    font-weight: 700;

    font-size: 17px;

    white-space: nowrap;
}


.barra-navegacion .menu a:hover {
    color: #dcae38;
}


/* ==========================================
   TELÉFONOS
========================================== */

@media (max-width: 768px) {

    /* Barra superior */
    .barra-navegacion {
        position: relative;

        display: flex;

        align-items: center;

        justify-content: space-between;

        width: 100%;

        min-height: 60px;

        box-sizing: border-box;

        padding: 6px 12px;

        gap: 8px;
    }


    /* Logo */
    .barra-navegacion .logo {
        flex-shrink: 1;

        display: flex;

        align-items: center;

        justify-content: center;
    }


    .barra-navegacion .logo img {
        width: 68px;

        max-width: 100%;

        height: auto;

        display: block;
    }


    /* Botón hamburguesa */
    .menu-movil {
        display: flex;

        align-items: center;

        justify-content: center;

        flex-shrink: 0;

        width: 40px;

        height: 40px;

        font-size: 26px;
    }


    /* Ocultar el menú normal */
    .barra-navegacion .menu {
        display: none;

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        height: auto;

        box-sizing: border-box;

        margin: 0;

        padding: 18px 20px 22px;

        background: #ffffff;

        flex-direction: column;

        align-items: center;

        justify-content: flex-start;

        gap: 0;

        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

        z-index: 99999;
    }


    /* Menú cuando está abierto */
    #menu-toggle:checked ~ .menu {
        display: flex;
    }


    /* Enlaces */
    .barra-navegacion .menu a {
        display: flex;

        align-items: center;

        justify-content: center;

        width: 100%;

        padding: 14px 10px;

        box-sizing: border-box;

        font-size: 16px;

        color: #12395b;

        text-align: center;
    }


    .barra-navegacion .menu a:hover {
        background: #f4f7fa;

        color: #dcae38;
    }


    /* Botón publicar */
    .barra-navegacion .boton-publicar {
        flex-shrink: 0;

        width: auto;

        min-width: 78px;

        max-width: 95px;

        padding: 9px 8px;

        font-size: 11px;

        line-height: 1.1;
    }


    /* Botón administrador */
    .barra-navegacion .boton-login-admin-acceso {
        flex-shrink: 0;

        width: auto;

        min-width: 88px;

        max-width: 105px;

        padding: 10px 8px;

        font-size: 11px;

        line-height: 1.1;

        white-space: nowrap;
    }

}

/* ==========================================
   AJUSTE FINAL DE LA BARRA DE NAVEGACIÓN
========================================== */

/* ---------- PC ---------- */

@media (min-width: 769px) {

    .barra-navegacion {
        width: 100%;
        box-sizing: border-box;

        display: flex;
        align-items: center;

        gap: 20px;

        padding: 8px 24px;
    }

    /* Logo */
    .barra-navegacion .logo {
        flex: 0 0 auto;
    }

    .barra-navegacion .logo img {
        width: 125px;
        height: auto;
        display: block;
    }

    /* Menú */
    .barra-navegacion .menu {
        position: static;

        display: flex;

        flex: 1 1 auto;

        align-items: center;
        justify-content: center;

        gap: 24px;

        width: auto;
        height: auto;

        padding: 0;
        margin: 0;

        background: transparent;

        box-shadow: none;
    }

    /* Enlaces */
    .barra-navegacion .menu a {
        font-size: 16px;

        white-space: nowrap;

        color: #12395b;

        text-decoration: none;

        font-weight: 700;
    }

    /* Publicar */
    .barra-navegacion .boton-publicar {
        flex: 0 0 auto;

        width: 130px;

        padding: 12px 10px;

        font-size: 14px;

        box-sizing: border-box;
    }

    /* Administrador */
    .barra-navegacion .boton-login-admin-acceso {
        display: flex !important;

        flex: 0 0 auto;

        width: 150px;

        min-width: 150px;

        max-width: 150px;

        padding: 12px 10px;

        box-sizing: border-box;

        font-size: 14px;

        white-space: nowrap;

        align-items: center;
        justify-content: center;
    }

    /* Ocultar hamburguesa en PC */
    .barra-navegacion .menu-movil {
        display: none;
    }
}


/* ==========================================
   TELÉFONO
========================================== */

@media (max-width: 768px) {

    .barra-navegacion {
        width: 100%;

        box-sizing: border-box;

        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 7px;

        padding: 7px 10px;
    }


    /* Logo */

    .barra-navegacion .logo {
        flex: 0 1 auto;

        display: flex;

        align-items: center;

        justify-content: center;
    }

    .barra-navegacion .logo img {
        width: 72px;

        height: auto;

        display: block;
    }


    /* Hamburguesa */

    .barra-navegacion .menu-movil {
        display: flex;

        flex: 0 0 38px;

        width: 38px;

        height: 38px;

        align-items: center;

        justify-content: center;

        color: #12395b;

        font-size: 27px;

        cursor: pointer;
    }


    /* Publicar */

    .barra-navegacion .boton-publicar {
        flex: 0 0 auto;

        width: 78px;

        min-width: 78px;

        max-width: 78px;

        padding: 8px 5px;

        font-size: 10px;

        line-height: 1.05;

        box-sizing: border-box;
    }


    /* Administrador */

    .barra-navegacion .boton-login-admin-acceso {
        display: flex !important;

        flex: 0 0 auto;

        width: 90px;

        min-width: 90px;

        max-width: 90px;

        padding: 9px 5px;

        font-size: 10px;

        line-height: 1.05;

        box-sizing: border-box;

        align-items: center;

        justify-content: center;

        white-space: nowrap;
    }


    /* Menú desplegable */

    .barra-navegacion .menu {
        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        box-sizing: border-box;

        display: none;

        flex-direction: column;

        align-items: center;

        justify-content: flex-start;

        gap: 0;

        padding: 18px 20px 22px;

        margin: 0;

        background: #ffffff;

        box-shadow: 0 8px 20px rgba(0,0,0,.12);

        z-index: 99999;
    }


    /* Menú abierto */

    #menu-toggle:checked ~ .menu {
        display: flex;
    }


    .barra-navegacion .menu a {
        width: 100%;

        padding: 14px 10px;

        text-align: center;

        font-size: 16px;

        color: #12395b;

        text-decoration: none;

        font-weight: 700;
    }
}

/* =========================================================
   BARRA DE NAVEGACIÓN - AJUSTE FINAL
========================================================= */

.barra-navegacion {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    align-items: center;

    padding: 0 24px;
    gap: 20px;

    overflow: visible;
}


/* LOGO */
.barra-navegacion .logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.barra-navegacion .logo img {
    display: block;
    width: 125px;
    height: auto;
}


/* MENÚ DE PC */
.barra-navegacion .menu {
    position: static;

    flex: 1 1 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;

    width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    background: transparent;

    overflow: visible;
}


/* ENLACES */
.barra-navegacion .menu a {
    white-space: nowrap;
}


/* BOTONES DE LA DERECHA */
.barra-navegacion .boton-publicar {
    flex: 0 0 auto;
    width: 165px;
    min-width: 165px;

    white-space: nowrap;
}

.barra-navegacion .boton-login-admin-acceso {
    flex: 0 0 auto;
    width: 145px;
    min-width: 145px;

    white-space: nowrap;
}


/* CHECKBOX */
#menu-toggle {
    display: none;
}


/* HAMBURGUESA */
.barra-navegacion .menu-movil {
    display: none;
}


/* =========================================================
   TABLET Y TELÉFONO
========================================================= */

@media (max-width: 900px) {

    .barra-navegacion {
        padding: 0 12px;
        gap: 10px;

        justify-content: space-between;
    }


    .barra-navegacion .logo {
        flex: 0 0 auto;
    }


    .barra-navegacion .logo img {
        width: 72px;
    }


    /* HAMBURGUESA */
    .barra-navegacion .menu-movil {
        display: flex;

        flex: 0 0 auto;

        width: 38px;
        height: 38px;

        align-items: center;
        justify-content: center;

        color: #0b3558;

        font-size: 26px;

        cursor: pointer;

        z-index: 10002;
    }


    /* OCULTAMOS EL MENÚ HORIZONTAL */
    .barra-navegacion .menu {
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        align-items: center;

        gap: 0;

        padding: 18px 0 20px;

        margin: 0;

        background: white;

        box-sizing: border-box;

        box-shadow: 0 8px 20px rgba(0,0,0,.15);

        z-index: 10000;
    }


    /* ABRIR */
    #menu-toggle:checked ~ .menu {
        display: flex;
    }


    .barra-navegacion .menu a {
        width: 100%;

        min-height: 52px;

        display: flex;

        align-items: center;
        justify-content: center;

        padding: 12px 20px;

        box-sizing: border-box;

        color: #0b3558;
    }


    /* PUBLICAR */
    .barra-navegacion .boton-publicar {
        width: 72px;
        min-width: 72px;

        min-height: 44px;

        padding: 4px 5px;

        font-size: 10px;
        line-height: 1.1;

        white-space: normal;
    }


    /* ADMINISTRADOR */
    .barra-navegacion .boton-login-admin-acceso {
        width: 78px;
        min-width: 78px;

        min-height: 44px;

        padding: 4px 5px;

        font-size: 10px;
        line-height: 1.1;

        white-space: normal;
    }
}


/* TELÉFONOS PEQUEÑOS */
@media (max-width: 380px) {

    .barra-navegacion {
        padding: 0 7px;
        gap: 6px;
    }

    .barra-navegacion .logo img {
        width: 65px;
    }

    .barra-navegacion .menu-movil {
        width: 34px;
        font-size: 24px;
    }

    .barra-navegacion .boton-publicar {
        width: 65px;
        min-width: 65px;
        font-size: 9px;
    }

    .barra-navegacion .boton-login-admin-acceso {
        width: 70px;
        min-width: 70px;
        font-size: 9px;
    }
}




/* =========================================================
   HEADER FINAL - CONSTRUCTORA OCHOA 8A
   CORRECCIÓN DEFINITIVA MENÚ RESPONSIVE
   ========================================================= */

/* ---------- BASE ---------- */

.barra-navegacion {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    align-items: center;

    padding: 0 20px;
    gap: 18px;

    position: relative;
}

/* LOGO */

.barra-navegacion .logo {
    flex: 0 0 125px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
}

.barra-navegacion .logo img {
    display: block;

    width: 125px;
    height: auto;
}

/* CHECKBOX */

#menu-toggle {
    display: none;
}

/* HAMBURGUESA */

.barra-navegacion .menu-movil {
    display: none;
}

/* ---------- MENÚ PC ---------- */

.barra-navegacion .menu {
    flex: 1 1 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;

    position: static;

    width: auto;
    min-width: 0;
    height: auto;

    margin: 0;
    padding: 0;

    background: transparent;

    box-shadow: none;

    visibility: visible;
    opacity: 1;
    transform: none;
}

.barra-navegacion .menu a {
    color: #12395b;

    text-decoration: none;

    font-size: 17px;
    font-weight: 700;

    white-space: nowrap;
}

.barra-navegacion .menu a:hover {
    color: #d9a928;
}

/* ---------- BOTÓN PUBLICAR PC ---------- */

.barra-navegacion .boton-publicar {
    flex: 0 0 145px;

    width: 145px;
    min-width: 145px;

    box-sizing: border-box;

    white-space: nowrap;
}

/* ---------- BOTÓN ADMINISTRADOR PC ---------- */

.barra-navegacion .boton-login-admin-acceso {
    flex: 0 0 125px;

    width: 125px;
    min-width: 125px;

    box-sizing: border-box;

    white-space: nowrap;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .encabezado {
        position: relative;
        z-index: 9999;

        width: 100%;
        max-width: 100%;

        overflow: visible;
    }

    .barra-navegacion {
        width: 100%;
        max-width: 100%;

        box-sizing: border-box;

        display: flex;
        align-items: center;

        justify-content: center;

        gap: 8px;

        padding: 0 8px;

        position: relative;

        overflow: visible;
    }


    /* LOGO */

    .barra-navegacion .logo {
        flex: 0 0 65px;

        width: 65px;
        min-width: 65px;
        max-width: 65px;

        margin: 0;
    }

    .barra-navegacion .logo img {
        width: 65px;
        max-width: 65px;

        height: auto;
    }


    /* HAMBURGUESA */

    .barra-navegacion .menu-movil {
        display: flex;

        flex: 0 0 36px;

        width: 36px;
        height: 42px;

        align-items: center;
        justify-content: center;

        cursor: pointer;

        color: #12395b;

        font-size: 0;

        z-index: 10002;
    }

    .barra-navegacion .menu-movil::before {
        content: "☰";

        font-size: 28px;

        line-height: 1;
    }


    /* OCULTAR MENÚ */

    .barra-navegacion .menu {
        display: none !important;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        box-sizing: border-box;

        flex-direction: column;
        align-items: center;

        gap: 0;

        margin: 0;
        padding: 12px 15px 18px;

        background: #ffffff;

        box-shadow: 0 10px 25px rgba(0,0,0,0.18);

        z-index: 10001;

        visibility: visible;
        opacity: 1;
        transform: none;
    }


    /* ABRIR MENÚ */

    #menu-toggle:checked ~ .menu {
        display: flex !important;
    }


    /* ENLACES */

    .barra-navegacion .menu a {
        display: flex;

        width: 100%;

        min-height: 50px;

        align-items: center;
        justify-content: center;

        box-sizing: border-box;

        padding: 12px 10px;

        color: #12395b;

        font-size: 16px;
        font-weight: 700;

        text-decoration: none;

        white-space: nowrap;
    }

    .barra-navegacion .menu a:hover {
        background: #f4f7fa;

        color: #d9a928;
    }


    /* PUBLICAR */

    .barra-navegacion .boton-publicar {
        flex: 0 0 72px;

        width: 72px;
        min-width: 72px;
        max-width: 72px;

        min-height: 44px;

        padding: 5px 3px;

        font-size: 10px;

        line-height: 1.1;

        white-space: normal;

        box-sizing: border-box;
    }


    /* ADMINISTRADOR */

    .barra-navegacion .boton-login-admin-acceso {
        flex: 0 0 82px;

        width: 82px;
        min-width: 82px;
        max-width: 82px;

        min-height: 44px;

        padding: 5px 3px;

        font-size: 10px;

        line-height: 1.1;

        white-space: normal;

        box-sizing: border-box;

        display: flex;

        align-items: center;
        justify-content: center;

        text-align: center;
    }
}


/* =========================================================
   TELÉFONOS PEQUEÑOS
   ========================================================= */

@media (max-width: 380px) {

    .barra-navegacion {
        gap: 6px;
        padding: 0 6px;
    }

    .barra-navegacion .logo,
    .barra-navegacion .logo img {
        width: 60px;
        max-width: 60px;
        min-width: 60px;
    }

    .barra-navegacion .menu-movil {
        flex-basis: 34px;
        width: 34px;
    }

    .barra-navegacion .boton-publicar {
        width: 68px;
        min-width: 68px;
        max-width: 68px;
    }

    .barra-navegacion .boton-login-admin-acceso {
        width: 76px;
        min-width: 76px;
        max-width: 76px;
    }
}


/* =========================================================
   HEADER PC - DISTRIBUCIÓN CORREGIDA
   ========================================================= */

@media (min-width: 769px) {

    .barra-navegacion {
        width: 100%;
        max-width: 100%;

        box-sizing: border-box;

        display: grid;

        grid-template-columns:
            125px
            minmax(0, 1fr)
            145px
            125px;

        align-items: center;

        column-gap: 16px;

        padding: 0 18px;

        overflow: hidden;
    }


    /* LOGO */

    .barra-navegacion .logo {
        width: 125px;
        max-width: 125px;

        display: flex;
        align-items: center;
        justify-content: center;

        margin: 0;
    }

    .barra-navegacion .logo img {
        width: 125px;
        max-width: 125px;

        height: auto;

        display: block;
    }


    /* MENÚ */

    .barra-navegacion .menu {
        width: 100%;
        min-width: 0;

        display: flex;

        align-items: center;
        justify-content: space-between;

        gap: 15px;

        position: static;

        margin: 0;
        padding: 0;

        background: transparent;

        box-shadow: none;

        visibility: visible;
        opacity: 1;
        transform: none;

        overflow: hidden;
    }


    /* ENLACES */

    .barra-navegacion .menu a {
        flex: 1 1 auto;

        min-width: 0;

        color: #12395b;

        font-size: 16px;
        font-weight: 700;

        text-align: center;

        text-decoration: none;

        white-space: nowrap;

        overflow: hidden;
        text-overflow: ellipsis;
    }


    /* PUBLICAR */

    .barra-navegacion .boton-publicar {
        width: 145px;
        min-width: 145px;
        max-width: 145px;

        box-sizing: border-box;

        white-space: nowrap;
    }


    /* ADMINISTRADOR */

    .barra-navegacion .boton-login-admin-acceso {
        width: 125px;
        min-width: 125px;
        max-width: 125px;

        box-sizing: border-box;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    /* OCULTAR HAMBURGUESA EN PC */

    .barra-navegacion .menu-movil {
        display: none;
    }
}

/* =========================================================
   MENÚ MÓVIL - CORRECCIÓN DEFINITIVA
   ========================================================= */

@media (max-width: 768px) {

    .barra-navegacion {
        position: relative !important;
        z-index: 99999 !important;
        overflow: visible !important;
    }

    .barra-navegacion .menu {
        display: none !important;

        position: fixed !important;

        top: 80px !important;
        left: 0 !important;

        width: 100vw !important;

        height: auto !important;
        max-height: calc(100vh - 80px) !important;

        background: #ffffff !important;

        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;

        padding: 20px 0 !important;
        margin: 0 !important;

        z-index: 999999 !important;

        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20) !important;

        overflow-y: auto !important;
    }

    .barra-navegacion .menu.menu-abierto {
        display: flex !important;
    }

    .barra-navegacion .menu a {
        display: block !important;

        width: 100% !important;

        padding: 18px 20px !important;

        text-align: center !important;

        color: #00345f !important;

        text-decoration: none !important;

        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .barra-navegacion .menu a:hover {
        background: #f2f5f8 !important;
    }

    .menu-movil {
        display: flex !important;

        position: relative !important;

        z-index: 1000000 !important;

        cursor: pointer !important;
    }
}

/* ==========================================
   GESTIÓN DE INMUEBLES
========================================== */

.gestion-inmuebles {
    margin-top: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}


.cabecera-gestion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}


.cabecera-gestion h2 {
    margin: 0;
    font-size: 28px;
    color: #12395b;
}


.cabecera-gestion p {
    margin: 6px 0 0;
    color: #777;
}


.contador-inmuebles {
    padding: 10px 18px;
    background: #12395b;
    color: white;
    border-radius: 30px;
    font-weight: 600;
}


.lista-inmuebles-admin {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(300px, 1fr)
        );
    gap: 25px;
}


.tarjeta-inmueble-admin {
    overflow: hidden;
    background: white;
    border: 1px solid #e2e7ec;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    transition: transform .2s ease,
                box-shadow .2s ease;
}


.tarjeta-inmueble-admin:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.13);
}


.imagen-inmueble-admin {
    width: 100%;
    height: 210px;
    overflow: hidden;
}


.imagen-inmueble-admin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.contenido-inmueble-admin {
    padding: 20px;
}


.contenido-inmueble-admin h3 {
    margin: 0 0 10px;
    color: #12395b;
}


.ubicacion-admin {
    color: #555;
}


.tipo-admin {
    color: #777;
    text-transform: capitalize;
}


.precio-admin {
    font-size: 22px;
    font-weight: 700;
    color: #12395b;
}


.datos-admin {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
    color: #555;
}


.acciones-inmueble-admin {
    display: flex;
    gap: 10px;
}


.acciones-inmueble-admin button {
    flex: 1;
    padding: 11px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}


.btn-editar-inmueble {
    background: #e8f1f8;
    color: #12395b;
}


.btn-eliminar-inmueble {
    background: #fde8e8;
    color: #dc3545;
}


.sin-inmuebles,
.error-inmuebles {
    padding: 40px;
    text-align: center;
}


.cargando-inmuebles {
    text-align: center;
    color: #777;
}


/* ==========================================
   BOTÓN MIS PROPIEDADES - PC
========================================== */

.boton-mis-propiedades {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;

    min-height: 48px;
    padding: 0 18px;

    box-sizing: border-box;

    border: 1px solid #d4a62a;
    border-radius: 6px;

    background: #ffffff;
    color: #12395b;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.boton-mis-propiedades:hover {
    background: #12395b;
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}


/* ==========================================
   MIS PROPIEDADES - PC CUANDO ESTÁ VISIBLE
========================================== */

.boton-mis-propiedades[style*="inline-flex"] {
    display: inline-flex !important;
}


/* ==========================================
   MIS PROPIEDADES - MÓVIL
========================================== */

@media (max-width: 768px) {

    .boton-mis-propiedades {
        min-height: 42px;
        width: auto;
        min-width: 90px;

        padding: 6px 8px;

        font-size: 12px;
        line-height: 1.1;

        white-space: nowrap;

        flex-shrink: 0;
    }

}

/* =====================================================
   AJUSTE DEL ENCABEZADO - PC
   ===================================================== */

@media (min-width: 769px) {

    .contenedor.barra-navegacion {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        height: 82px !important;
        overflow: visible !important;
        position: relative !important;
    }

    /* LOGO */
    .contenedor.barra-navegacion .logo {
        flex: 0 0 auto;
    }

    /* MENÚ */
    .contenedor.barra-navegacion .menu {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
}

.contenedor.barra-navegacion .menu a {
    white-space: nowrap;
    flex-shrink: 0;
}

    /* BOTONES */
    .contenedor.barra-navegacion .boton-publicar,
    .contenedor.barra-navegacion .boton-login-admin-acceso,
    .contenedor.barra-navegacion .boton-mis-propiedades {
        flex: 0 0 auto;
        white-space: nowrap;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        z-index: 10 !important;
    }

    /* MIS PROPIEDADES */
    .contenedor.barra-navegacion .boton-mis-propiedades {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

}

/* =====================================================
   MIS PROPIEDADES
   ===================================================== */

.seccion-mis-propiedades {
    display: none;
    padding: 80px 20px;
    background: #f5f7fa;
}

.seccion-mis-propiedades.activa {
    display: block;
}

.encabezado-mis-propiedades {
    margin-bottom: 40px;
}

.encabezado-mis-propiedades .etiqueta-seccion {
    color: #d9a528;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.encabezado-mis-propiedades h2 {
    margin: 8px 0;
    color: #0d3557;
    font-size: 36px;
}

.encabezado-mis-propiedades p {
    color: #666;
    font-size: 17px;
}

#listaMisPropiedades {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(300px, 1fr)
    );
    gap: 25px;
}

.cargando-propiedades {
    color: #666;
}

/* ==========================================
   MIS PROPIEDADES
========================================== */

.seccion-mis-propiedades {
    display: none;
    padding: 70px 5%;
    background: #f5f7fa;
}

.contenedor-mis-propiedades {
    max-width: 1400px;
    margin: 0 auto;
}

.encabezado-mis-propiedades {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.etiqueta-seccion {
    display: block;
    color: #dca52c;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.encabezado-mis-propiedades h2 {
    margin: 0;
    color: #0d355b;
    font-size: 38px;
}

.encabezado-mis-propiedades p {
    margin-top: 10px;
    color: #666;
    font-size: 17px;
}

.lista-mis-propiedades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* ==========================================
   MIS PROPIEDADES - ADMINISTRADOR
========================================== */

.lista-mis-propiedades {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(320px, 1fr)
    );
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto 0;
}


/* TARJETA */

.tarjeta-mis-propiedades {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e1e5ea;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.tarjeta-mis-propiedades:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}


/* IMAGEN */

.imagen-mis-propiedades {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #e9eef4;
}

.imagen-mis-propiedades img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.imagen-admin-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #0d355b;
}


/* ETIQUETA */

.etiqueta-admin-propiedad {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0d355b;
    color: white;
    padding: 8px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}


/* CONTENIDO */

.contenido-mis-propiedad {
    padding: 22px;
}

.ubicacion-admin {
    display: block;
    color: #687789;
    font-size: 15px;
    margin-bottom: 8px;
}

.contenido-mis-propiedad h3 {
    margin: 0 0 12px;
    color: #0d355b;
    font-size: 23px;
}

.precio-admin {
    margin: 0 0 18px;
    color: #d49d24;
    font-size: 22px;
    font-weight: 700;
}


/* DATOS */

.datos-admin-propiedad {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #e5e8ec;
    border-bottom: 1px solid #e5e8ec;
    color: #64748b;
    font-size: 14px;
}


/* BOTONES */

.acciones-admin-propiedad {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.boton-editar-propiedad,
.boton-eliminar-propiedad {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.boton-editar-propiedad {
    background: #0d355b;
    color: white;
}

.boton-editar-propiedad:hover {
    background: #174b7c;
}

.boton-eliminar-propiedad {
    background: #f4e5e5;
    color: #b42318;
}

.boton-eliminar-propiedad:hover {
    background: #f8d5d5;
}


/* SIN PROPIEDADES */

.sin-propiedades-admin {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 20px;
    background: white;
    border-radius: 18px;
}

.icono-sin-propiedades {
    font-size: 55px;
    margin-bottom: 15px;
}

.sin-propiedades-admin h3 {
    color: #0d355b;
    font-size: 24px;
}

.sin-propiedades-admin p {
    color: #687789;
}


/* ==========================================
   MODAL MIS PROPIEDADES
========================================== */

.modal-mis-propiedades {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;

    background: rgba(11, 53, 88, 0.78);

    padding: 20px;

    box-sizing: border-box;

    overflow-y: auto;
}


/* Cuando está abierto */

.modal-mis-propiedades.activa {
    display: flex;

    align-items: center;
    justify-content: center;
}


/* CONTENEDOR */

.contenedor-modal-mis-propiedades {

    position: relative;

    width: min(1100px, 100%);

    max-height: 92vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 22px;

    border-top: 5px solid #d49b27;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);

    padding: 45px;

    box-sizing: border-box;
}


/* BOTÓN CERRAR */

.cerrar-mis-propiedades {

    position: absolute;

    top: 18px;
    right: 20px;

    width: 48px;
    height: 48px;

    border: none;

    border-radius: 50%;

    background: #f4f6f8;

    color: #0b3558;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    transition: 0.2s ease;
}


.cerrar-mis-propiedades:hover {

    background: #d49b27;

    color: white;

    transform: rotate(90deg);
}


/* ENCABEZADO */

.encabezado-mis-propiedades {

    margin-bottom: 30px;

    padding-right: 60px;
}


.encabezado-mis-propiedades .etiqueta-seccion {

    display: block;

    margin-bottom: 8px;

    color: #d49b27;

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 3px;
}


.encabezado-mis-propiedades h2 {

    margin: 0;

    color: #0b3558;

    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.1;
}


.encabezado-mis-propiedades p {

    margin-top: 12px;

    color: #526579;

    font-size: 18px;

}


/* LISTA */

.lista-mis-propiedades {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 25px;

    width: 100%;
}


/* TARJETAS */

.lista-mis-propiedades .tarjeta-propiedad {

    width: 100%;

    box-sizing: border-box;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    .contenedor-modal-mis-propiedades {

        padding: 35px 25px;

    }

    .lista-mis-propiedades {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

}


/* ==========================================
   CELULAR
========================================== */

@media (max-width: 600px) {

    .modal-mis-propiedades {

        padding: 0;

    }

    .modal-mis-propiedades.activa {

        align-items: stretch;

    }

    .contenedor-modal-mis-propiedades {

        width: 100%;

        max-height: 100vh;

        min-height: 100vh;

        border-radius: 0;

        padding: 75px 18px 30px;

    }

    .lista-mis-propiedades {

        grid-template-columns: 1fr;

    }

    .encabezado-mis-propiedades h2 {

        font-size: 34px;

    }

    .encabezado-mis-propiedades p {

        font-size: 15px;

    }

}


/* ==========================================
   DISEÑO PROFESIONAL - MIS PROPIEDADES
========================================== */

.lista-mis-propiedades {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    align-items: start;
}

/* ==========================================
   CUADRÍCULA MIS PROPIEDADES
   ========================================== */

.lista-mis-propiedades {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    width: 100%;

    box-sizing: border-box;

    margin-top: 30px;
}

/* ==========================================
   TARJETA ADMINISTRADOR
   ========================================== */

.lista-mis-propiedades .tarjeta-admin-propiedad {

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border: 1px solid #e1e6eb;

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 5px 18px rgba(11, 53, 88, 0.10);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

    min-width: 0;
}


/* EFECTO AL PASAR EL MOUSE */

.lista-mis-propiedades
.tarjeta-admin-propiedad:hover {

    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(11, 53, 88, 0.16);
}

/* ==========================================
   IMAGEN DE LA PROPIEDAD
   ========================================== */

.imagen-admin-propiedad {

    position: relative;

    width: 100%;

    height: 220px;

    overflow: hidden;

    background: #eef2f5;
}


.imagen-admin-propiedad img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.3s ease;
}


.tarjeta-admin-propiedad:hover
.imagen-admin-propiedad img {

    transform: scale(1.04);
}


/* SIN IMAGEN */

.imagen-placeholder-admin {

    width: 100%;

    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background: #eef2f5;

    color: #0b3558;

    font-size: 18px;

    font-weight: 600;
}


.imagen-placeholder-admin span {

    font-size: 42px;

    margin-bottom: 8px;
}

/* ==========================================
   ESTADO
   ========================================== */

.estado-admin-propiedad {

    position: absolute;

    top: 14px;

    left: 14px;

    padding: 6px 11px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.5px;

    z-index: 2;
}


.estado-publicada {

    background: #ffffff;

    color: #16803c;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.12);
}


.estado-no-publicada {

    background: #ffffff;

    color: #a33a3a;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.12);
}


/* ==========================================
   INFORMACIÓN
   ========================================== */

.info-admin-propiedad {

    display: flex;

    flex-direction: column;

    padding: 20px;

    flex: 1;
}


.tipo-admin-propiedad {

    color: #d49b27;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 7px;
}


.info-admin-propiedad h3 {

    margin: 0 0 8px;

    color: #0b3558;

    font-size: 21px;

    line-height: 1.25;
}


.ubicacion-admin-propiedad {

    margin: 0 0 15px;

    color: #5f7180;

    font-size: 14px;
}

/* ==========================================
   DATOS DE LA PROPIEDAD
   ========================================== */

.datos-admin-propiedad {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 16px;
}


.datos-admin-propiedad span {

    padding: 6px 9px;

    background: #f4f7f9;

    border-radius: 7px;

    color: #405566;

    font-size: 12px;

    font-weight: 600;
}

/* ==========================================
   PRECIO
   ========================================== */

.precio-admin-propiedad {

    color: #0b3558;

    font-size: 22px;

    font-weight: 800;

    margin-top: auto;

    margin-bottom: 18px;
}

/* ==========================================
   BOTONES
   ========================================== */

.acciones-admin-propiedad {

    display: flex;

    gap: 10px;
}


.acciones-admin-propiedad button {

    flex: 1;

    min-height: 40px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.acciones-admin-propiedad button:hover {

    transform: translateY(-1px);
}


.boton-editar-propiedad {

    background: #0b3558;

    color: #ffffff;

    border: 1px solid #0b3558;
}


.boton-editar-propiedad:hover {

    background: #164d78;
}


.boton-eliminar-propiedad {

    background: #ffffff;

    color: #b23a3a;

    border: 1px solid #d9b0b0;
}


.boton-eliminar-propiedad:hover {

    background: #fff3f3;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1000px) {

    .lista-mis-propiedades {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

}


@media (max-width: 650px) {

    .lista-mis-propiedades {

        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 20px;
    }


    .imagen-admin-propiedad {

        height: 210px;
    }


    .info-admin-propiedad {

        padding: 17px;
    }


    .info-admin-propiedad h3 {

        font-size: 19px;
    }


    .precio-admin-propiedad {

        font-size: 20px;
    }

}


.lista-mis-propiedades .tarjeta-admin-propiedad:hover {

    transform: translateY(-4px);

    box-shadow: 0 12px 28px rgba(11, 53, 88, 0.16);
}


/* IMAGEN */

.lista-mis-propiedades
.tarjeta-admin-imagen {

    width: 100%;
    height: 210px;

    object-fit: cover;

    display: block;

    background: #eef2f5;
}


/* SIN IMAGEN */

.lista-mis-propiedades
.tarjeta-admin-sin-imagen {

    width: 100%;
    height: 210px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eef2f5;

    color: #657789;

    font-size: 16px;
}


/* INFORMACIÓN */

.lista-mis-propiedades
.tarjeta-admin-contenido {

    padding: 20px;
}


/* ESTADO */

.lista-mis-propiedades
.tarjeta-admin-estado {

    display: inline-block;

    margin-bottom: 8px;

    padding: 5px 10px;

    border-radius: 20px;

    background: #e7f8ed;

    color: #168542;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.5px;
}


/* TÍTULO */

.lista-mis-propiedades
.tarjeta-admin-titulo {

    margin: 0 0 8px;

    color: #0b3558;

    font-size: 21px;

    font-weight: 800;

    line-height: 1.2;
}


/* UBICACIÓN */

.lista-mis-propiedades
.tarjeta-admin-ubicacion {

    margin: 0 0 10px;

    color: #5f7080;

    font-size: 14px;
}


/* OPERACIÓN */

.lista-mis-propiedades
.tarjeta-admin-operacion {

    margin: 0 0 8px;

    color: #354b5f;

    font-size: 14px;

    text-transform: capitalize;
}


/* PRECIO */

.lista-mis-propiedades
.tarjeta-admin-precio {

    margin: 12px 0 18px;

    color: #0b3558;

    font-size: 22px;

    font-weight: 800;
}


/* BOTONES */

.lista-mis-propiedades
.tarjeta-admin-acciones {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
}


.lista-mis-propiedades
.tarjeta-admin-acciones button {

    min-height: 42px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;
}


/* EDITAR */

.lista-mis-propiedades
.boton-editar-propiedad {

    border: 1px solid #0b3558;

    background: #0b3558;

    color: white;
}


.lista-mis-propiedades
.boton-editar-propiedad:hover {

    background: #082943;
}


/* ELIMINAR */

.lista-mis-propiedades
.boton-eliminar-propiedad {

    border: 1px solid #d9534f;

    background: white;

    color: #d9534f;
}


.lista-mis-propiedades
.boton-eliminar-propiedad:hover {

    background: #d9534f;

    color: white;
}


/* ==========================================
   ENCABEZADO DEL MODAL
========================================== */

.contenedor-modal-mis-propiedades
.encabezado-mis-propiedades {

    display: block;

    margin-bottom: 30px;

    padding-right: 70px;
}


.contenedor-modal-mis-propiedades
.encabezado-mis-propiedades h2 {

    margin: 5px 0 10px;

    color: #0b3558;

    font-size: clamp(36px, 4vw, 52px);

    line-height: 1.05;
}


.contenedor-modal-mis-propiedades
.encabezado-mis-propiedades p {

    margin: 0;

    color: #526579;

    font-size: 17px;

    line-height: 1.5;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    .lista-mis-propiedades {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* ==========================================
   CELULAR
========================================== */

@media (max-width: 600px) {

    .lista-mis-propiedades {

        grid-template-columns: 1fr;

    }

    .lista-mis-propiedades
    .tarjeta-admin-imagen {

        height: 220px;

    }

}


/* Ocultar acceso de administrador por defecto */
#btnLoginAdmin {
    display: none;
}

#botonMisPropiedades {
    display: none;
}


/* =========================================================
   MODAL EDITAR PROPIEDAD - ADMINISTRADOR
   ========================================================= */

#modalEditarPropiedad {
    position: fixed !important;
    inset: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 20px !important;
    box-sizing: border-box !important;

    background: rgba(7, 30, 55, 0.75) !important;

    z-index: 999999 !important;
}


/* CONTENIDO DEL MODAL */

#modalEditarPropiedad > div {
    background: #ffffff !important;

    width: min(700px, 95vw) !important;
    max-width: 700px !important;

    max-height: 90vh !important;

    overflow-y: auto !important;

    padding: 30px !important;

    border-radius: 20px !important;

    box-sizing: border-box !important;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.35) !important;

    color: #12395b !important;
}


/* TITULO */

#modalEditarPropiedad h2,
#modalEditarPropiedad h3 {
    color: #12395b !important;
    margin-top: 0 !important;
}


/* ETIQUETAS */

#modalEditarPropiedad label {
    display: block !important;

    margin-top: 15px !important;
    margin-bottom: 6px !important;

    font-weight: 600 !important;

    color: #12395b !important;
}


/* CAMPOS */

#modalEditarPropiedad input,
#modalEditarPropiedad select,
#modalEditarPropiedad textarea {
    width: 100% !important;

    box-sizing: border-box !important;

    padding: 12px 14px !important;

    border: 1px solid #cbd5e1 !important;

    border-radius: 10px !important;

    background: #f8fafc !important;

    color: #1e293b !important;

    font-size: 15px !important;

    outline: none !important;
}


/* CUANDO SE SELECCIONA UN CAMPO */

#modalEditarPropiedad input:focus,
#modalEditarPropiedad select:focus,
#modalEditarPropiedad textarea:focus {
    border-color: #d49a1f !important;

    background: #ffffff !important;

    box-shadow: 0 0 0 3px rgba(212, 154, 31, 0.15) !important;
}


/* TEXTAREA */

#modalEditarPropiedad textarea {
    min-height: 120px !important;

    resize: vertical !important;
}


/* BOTONES DEL MODAL */

#modalEditarPropiedad button {
    padding: 12px 20px !important;

    border-radius: 10px !important;

    border: none !important;

    cursor: pointer !important;

    font-weight: 700 !important;

    font-size: 15px !important;
}


/* BOTON GUARDAR */

#modalEditarPropiedad button[type="submit"] {
    background: #d49a1f !important;

    color: white !important;
}


/* BOTON CANCELAR */

#modalEditarPropiedad button[type="button"] {
    background: #e2e8f0 !important;

    color: #12395b !important;
}


/* ESPACIADO DEL FORMULARIO */

#modalEditarPropiedad form {
    width: 100% !important;
}


/* EN PANTALLAS PEQUEÑAS */

@media (max-width: 600px) {

    #modalEditarPropiedad {
        padding: 10px !important;
    }

    #modalEditarPropiedad > div {
        width: 100% !important;

        max-height: 95vh !important;

        padding: 20px !important;

        border-radius: 15px !important;
    }

}