/* ==========================================
   FIN PERSONALIZACIONES ORIGINALES

   A PARTIR DE AQUI:
   CODIGO NUEVO HEADER PRAEDIA
   ========================================== */


/* ==========================================
   PRAEDIA BROKERS - HEADER INSTITUCIONAL
   Version 3 - CSS consolidado
   Joomla 6 / Cassiopeia
   ========================================== */


/* 1. CONTENEDOR GENERAL */

.container-header {
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: none;
  border-bottom: 4px solid #c8df00;
}


/* 2. BARRA SUPERIOR AZUL */
/* El fondo ocupa todo el ancho de pantalla */

.container-header .container-below-top {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #003b60;
  color: #ffffff;
}


/* 3. CONTENEDOR INTERIOR DE CONTACTO */
/* Misma anchura que logo y menu principal */

.container-header #mod-custom123 {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 9px 28px;
  box-sizing: border-box;
}


/* 4. DISTRIBUCION CONTACTO Y REDES */

.container-header .praedia-contacto-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  width: 100%;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
}

.praedia-contacto-datos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.container-header .praedia-contacto-header a {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.container-header .praedia-contacto-header a:hover,
.container-header .praedia-contacto-header a:focus-visible {
  color: #d5e600 !important;
}

.praedia-contacto-datos i {
  margin-right: 6px;
}

.praedia-telefonos {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}


/* 5. ICONOS DE REDES SOCIALES */

.container-header .praedia-redes {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 21px;
  margin-left: auto;
}

.container-header .praedia-redes a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 28px;
  font-size: 19px;
  color: #ffffff !important;
}

.container-header .praedia-redes a:hover,
.container-header .praedia-redes a:focus-visible {
  color: #d5e600 !important;
}


/* 6. FRANJA PRINCIPAL BLANCA */

.container-header .container-nav {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
  background: #ffffff !important;
}


/* 7. LOGO PRAEDIA */

.container-header #mod-custom125 {
  flex: 0 0 auto;
}

.container-header #mod-custom125 p {
  margin: 0;
}

.container-header #mod-custom125 img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}


/* 8. NAVEGACION PRINCIPAL */

.container-header .container-nav nav {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  justify-content: flex-end;
}

.container-header .mod-menu {
  align-items: center;
  justify-content: flex-end;
}

.container-header .mod-menu > li > a {
  color: #183a50 !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus-visible {
  color: #007ca4 !important;
}


/* 9. SUBMENUS DE VENTAS */

.container-header .mod-menu .mm-collapse {
  background: #ffffff;
}

.container-header .mod-menu .mm-collapse a {
  color: #183a50 !important;
}

.container-header .mod-menu .mm-collapse a:hover,
.container-header .mod-menu .mm-collapse a:focus-visible {
  color: #007ca4 !important;
}


/* 10. BOTON VENDER O TASAR */

@media (min-width: 992px) {

  .container-header .mod-menu > li.item-129 {
    margin-left: 8px;
  }

  .container-header .mod-menu > li.item-129 > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 9px;
    background: #df7000;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    transition: background 0.2s ease;
  }

  .container-header .mod-menu > li.item-129 > a:hover,
  .container-header .mod-menu > li.item-129 > a:focus-visible {
    background: #bb5c00;
    color: #ffffff !important;
  }

}


/* 11. PANTALLAS INTERMEDIAS */
/* Entre 992 y 1399 px */

@media (min-width: 992px) and (max-width: 1399px) {

  .container-header #mod-custom123 {
    padding-left: 18px;
    padding-right: 18px;
  }

  .container-header .container-nav {
    gap: 12px;
    padding: 12px 18px;
  }

  .container-header #mod-custom125 img {
    width: 185px;
  }

  .container-header .mod-menu > li > a {
    font-size: 13px;
  }

  .container-header .mod-menu > li.item-129 > a {
    padding: 11px 12px;
    font-size: 12px;
    white-space: normal;
  }

}


/* 12. TABLETS Y CELULARES */
/* Hasta 991 px */

@media (max-width: 991px) {

  .container-header #mod-custom123 {
    padding: 10px 18px;
  }

  .container-header .praedia-contacto-header {
    justify-content: center;
    font-size: 12px;
    gap: 10px 18px;
  }

  .praedia-contacto-datos {
    justify-content: center;
    gap: 9px 16px;
  }

  .container-header .praedia-redes {
    margin-left: 0;
    justify-content: center;
    gap: 22px;
  }

  .container-header .container-nav {
    padding: 12px 18px;
    gap: 16px;
  }

  .container-header #mod-custom125 img {
    width: 180px;
  }

  .container-header .mod-menu {
    align-items: stretch;
  }

  .container-header .mod-menu > li > a {
    font-size: 15px;
  }

  .container-header .mod-menu > li.item-129 > a {
    color: #183a50 !important;
  }

}


/* 13. CELULARES PEQUENOS */
/* Hasta 575 px */

@media (max-width: 575px) {

  .container-header #mod-custom123 {
    padding: 9px 12px;
  }

  .container-header .praedia-contacto-header {
    gap: 9px;
    font-size: 11px;
  }

  .praedia-contacto-datos {
    gap: 8px 12px;
  }

  .praedia-email {
    overflow-wrap: anywhere;
  }

  .container-header .container-nav {
    padding: 12px;
  }

  .container-header #mod-custom125 img {
    width: 165px;
  }

}

/* ==========================================
   PRAEDIA - OPTIMIZACION MENU MOVIL
   Joomla 6 / Cassiopeia / MetisMenu
   Solo pantallas hasta 991px
   ========================================== */

@media (max-width: 991px) {

  /* Logo y boton hamburguesa */

  .container-header .container-nav {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .container-header .container-nav nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
    min-width: 0;
  }

  .container-header .navbar-toggler {
    margin-left: auto;
  }

  /* Menu abierto debajo del logo */

  .container-header #navbar1 {
    flex: 0 0 100%;
    width: 100%;
  }

  .container-header #navbar1 > ul.mod-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    margin: 12px 0 0;
    padding: 0;
  }

  /* Opciones principales mas compactas */

  .container-header #navbar1
  > ul.mod-menu > li.metismenu-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
  }

  .container-header #navbar1
  > ul.mod-menu > li > a {
    display: block;
    flex: 0 1 auto;
    padding: 11px 12px;
    font-size: 15px;
    line-height: 1.4;
  }

  /* Flecha de Ventas */

  .container-header #navbar1
  .mm-toggler {
    margin-left: 0;
    padding: 8px 12px;
  }

  /* Submenu dentro del flujo normal */

  .container-header #navbar1
  .metismenu-item > .mm-collapse {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 0 8px;
    padding: 4px 0 4px 12px;
    border: 0;
    border-left: 2px solid #c8df00;
    border-radius: 0;
    box-shadow: none;
    background: #f6f8f9;
    box-sizing: border-box;
    z-index: auto;
  }

  /* Opciones del submenu */

  .container-header #navbar1
  .mm-collapse .metismenu-item {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .container-header #navbar1
  .mm-collapse .metismenu-item > a {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
  }

  /* Boton de captacion en movil */

  .container-header #navbar1
  .mod-menu > li.item-129 {
    margin-top: 12px;
  }

  .container-header #navbar1
  .mod-menu > li.item-129 > a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    background: #df7000;
    color: #ffffff !important;
    font-weight: 600;
    text-align: center;
  }

  .container-header #navbar1
  .mod-menu > li.item-129 > a:hover {
    background: #bb5c00;
    color: #ffffff !important;
  }

}

/* FIN OPTIMIZACION MENU MOVIL */

/* ==========================================
   PRAEDIA - BARRA DE CONTACTO MOVIL
   ========================================== */

@media (max-width: 575px) {

  .container-header #mod-custom123 {
    padding: 7px 10px;
  }

  .container-header .praedia-contacto-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    line-height: 1.4;
  }

  .container-header .praedia-contacto-datos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px 14px;
    width: 100%;
  }

  .container-header .praedia-contacto-datos i {
    margin-right: 3px;
  }

  .container-header .praedia-redes {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 0;
  }

  .container-header .praedia-redes a {
    min-height: 25px;
    font-size: 17px;
  }

}

/* ==========================================
   PRAEDIA - FLECHA DESPLEGABLE DE VENTAS
   ========================================== */

/* PRAEDIA - Restaurar flecha original de Cassiopeia */

@media (min-width: 992px) {

  .container-header .metismenu.mod-menu
  li.item-121 > button.mm-toggler {
    font-size: 20px !important;
    color: #495057 !important;
  }

  .container-header .metismenu.mod-menu
  li.item-121 > button.mm-toggler::after {
    content: "" !important;
    width: 0 !important;
    height: 0 !important;
    border-left: .5em solid transparent !important;
    border-right: .5em solid transparent !important;
    border-top: .5em solid currentColor !important;
    border-bottom: 0 !important;
    background: none !important;
    margin-inline-start: .5em;
    transform: none;
  }

  .container-header .metismenu.mod-menu
  li.item-121 > button.mm-toggler[aria-expanded="true"]::after {
    transform: rotateX(180deg);
  }

}

/* ==========================================
   PRAEDIA - AJUSTES FINALES MENU VENTAS
   Sin modificar la flecha original
   ========================================== */

/* Evitar subrayado del enlace Ventas */

.container-header .mod-menu > li.item-121 > a,
.container-header .mod-menu > li.item-121 > a:hover,
.container-header .mod-menu > li.item-121 > a:focus,
.container-header .mod-menu > li.item-121 > a:active {
    text-decoration: none !important;
}

/* Quitar el recuadro al usar el mouse */

.container-header .mod-menu
li.item-121 > button.mm-toggler:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Conservar indicador de foco para teclado */

.container-header .mod-menu
li.item-121 > button.mm-toggler:focus-visible {
    outline: 2px solid #007ca4;
    outline-offset: 2px;
}

/* PRAEDIA - Eliminar subrayado en el desplegable de Ventas */

.container-header .mod-menu .mm-collapse a,
.container-header .mod-menu .mm-collapse a:hover,
.container-header .mod-menu .mm-collapse a:focus,
.container-header .mod-menu .mm-collapse a:focus-visible,
.container-header .mod-menu .mm-collapse a:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

/* PRAEDIA - Recuperar grosor original del H1 */

#praedia-casas h1 {
    font-family: Roboto, Arial, sans-serif !important;
    font-weight: 300 !important;
}


/* ==========================================
   PRAEDIA -  FOOTER
   ========================================== */
 

.container-footer {
    background: #eeeeee !important;
    background-image: none !important;
}


/* ==========================================
   PRAEDIA - TITULOS H1 CATEGORIAS DE VENTAS
   Tipografia fina uniforme
   ========================================== */

/* Terrenos, Lotes y Hectareas */
/* Complejos e Inversiones */
/* Locales y Oficinas */

#praedia-terrenos h1,
#praedia-inversiones h1,
#praedia-locales h1 {
    font-family: Roboto, Arial, sans-serif !important;
    font-weight: 300 !important;
}

/* ==========================================
   PRAEDIA - ICONO HAMBURGUESA VISIBLE
   Joomla 6 / Cassiopeia
   ========================================== */

@media (max-width: 991px) {

    .container-header .navbar-toggler {
        color: #183a50 !important;
        border-color: #183a50 !important;
    }

    .container-header .navbar-toggler .icon-menu,
    .container-header .navbar-toggler .icon-menu::before {
        color: #183a50 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

}


/* ==========================================
   PRAEDIA - FLECHA VENTAS VISIBLE EN MOVIL
   Sin modificar el diseño de escritorio
   ========================================== */

@media (max-width: 991px) {

    .container-header #navbar1
    li.item-121 > button.mm-toggler {
        color: #183a50 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .container-header #navbar1
    li.item-121 > button.mm-toggler::after {
        border-top-color: #183a50 !important;
        border-bottom-color: #183a50 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

}
/* ==========================================
   PRAEDIA - OPTIMIZACION DE CARGA DE ROBOTO
   ========================================== */

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/media/vendor/roboto-fontface/fonts/roboto/Roboto-Regular.woff2?v=8dd7b1') format('woff2');
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/media/vendor/roboto-fontface/fonts/roboto/Roboto-Medium.woff2?v=8dd7b1') format('woff2');
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/media/vendor/roboto-fontface/fonts/roboto/Roboto-Bold.woff2?v=8dd7b1') format('woff2');
}

@font-face {
    font-family: Roboto;
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/media/vendor/roboto-fontface/fonts/roboto/Roboto-RegularItalic.woff2?v=8dd7b1') format('woff2');
}