/*
Theme Name: Inmobiliaria Clásico
Author: Claudia
Version: 1.0
*/

body {
      font-family: 'Questrial', sans-serif;
      margin: 0;
      padding: 0;
}

/* =========================
    PAGINA PRINCIPAL 
========================= */
p.titulo-recuadro, p.titulo-recuadro a {
  font-family: 'Questrial', sans-serif;
  font-size: 18px;
  text-decoration: none;
  margin:0;
  padding:0;
  color:#f5f5f5;
  text-align: center;
}

.texto-inst {
  font-family: 'Questrial', sans-serif;
  font-size: 16px;
  text-decoration: none;
  margin:0;
  padding:0;
  color:#222222;
  text-align: left;
}

ul.texto-inst { 
  margin-top:0px;margin-bottom:0px;padding-top:0px;padding-bottom:0px;line-height:0.9
}  

.uagb-block-9288a816, .uagb-block-92c9229e, .uagb-block-d64202c8, .uagb-block-96b515b0, .uagb-block-2345a574 {
  background-color: #023354 !important;
}
/* =========================
   HEADER GENERAL
========================= */

.site-header {
  width: 100%;
    font-family: 'Questrial', sans-serif;
}

/* =========================
   BANDA SUPERIOR
========================= */

.top-bar {
  background: #4a4a4a;
  color: #ffffff;
  font-size: 14px;
}

.top-bar .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 20px;
  text-align: right;
}

/* =========================
   HEADER PRINCIPAL
========================= */

.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
}

.header-flex {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   MARCA
========================= */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 63px;
  width: auto;
}

.site-title {
  font-size: 38px;
  font-weight: 400;
  color: #000;
  white-space: nowrap;
    font-family: 'Questrial', sans-serif;
}

/* =========================
   NAVEGACIÓN
========================= */

.main-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}

.main-nav .menu li {
  margin: 0;
}

.main-nav .menu a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
    font-family: 'Questrial', sans-serif;
  color: #003366;
}

.main-nav .menu a:hover {
  text-decoration: underline;
}

/* =========================
   LISTADO
========================= */

.archivo-categoria {
  max-width: 1280px;
  margin: 20px auto;
  padding: 0 20px;
  text-align: center;
}

.archivo-categoria h1 {
  display: inline-block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  border-top: 2px solid #444;
  border-bottom: 2px solid #444;
  font-family: 'Questrial', sans-serif;
}

.listado-propiedades {
  max-width: 1280px;
  margin: 0 auto 40px;
  padding: 0 20px;
  
}

.grid-propiedades {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 24px;
}

/* Card */
.propiedad-card {
  border: 1px solid #222;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 0 10px;
  height: 100%;
  margin: 0;
}

.propiedad-imagen {
  width: 100%;
  overflow: hidden;
  background: #f2f2f2;
}

.propiedad-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.propiedad-info {
  padding: 12px 14px;
}

.propiedad-card-titulo {
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  line-height: 1.3;
  color: #111;
  font-family: Arial, sans-serif;
  text-decoration: none;
}

.propiedad-card a,
.propiedad-card a:hover,
.propiedad-card a:visited {
  text-decoration: none;
  color: inherit;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-propiedades {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-propiedades {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FICHA
========================= */

.propiedad-ficha {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 16px;
}

.propiedad-header {
  margin-bottom: 24px;
}

.propiedad-categoria h3 {
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  border-top: 2px solid #444;
  border-bottom: 2px solid #444;
  font-family: 'Questrial', sans-serif;
  text-align: left;
}

.propiedad-titulo {
  font-size: 1.8rem;
  line-height: 1.25;
  margin: 0 0 6px 0;
  font-family: 'Questrial', sans-serif;
}

.propiedad-codigo {
  font-size: 0.95rem;
  color: #666;
}

.propiedad-main {
  display: flex;
  gap: 32px;
  align-items: flex-start;
    font-family: 'Questrial', sans-serif;
}

.col-izq {
  flex: 0 0 65%;
  min-width: 0;   /* ← MUY IMPORTANTE en flex */
  margin-bottom: 24px;
}

.col-der {
  flex: 0 0 35%;
  position: sticky;
  top: 120px;
}

.propiedad-galeria {
    margin-bottom: 24px;
}

.propiedad-descripcion {
  margin-bottom: 24px;  
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
}

.propiedad-descripcion p {
  margin: 0 0 1em 0;
}

.propiedad-ubicacion {
  margin-bottom: 24px;  
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
}


.propiedad-galeria .swiper-thumbs img {
/*  width: 120px;
  height: auto;
  border-radius: 3px;
  */
  width: auto;
}

.propiedad-galeria-swiper {
  margin-top: 16px;
  padding: 16px;
  background: #f7f7f7;
  border: 1px solid black;
  border-radius: 6px;
}

.swiper-main {
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.swiper-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-main img {
  width: 100%;
  height: 100%;  
  /*max-width: 100%;*/
  /*max-height: 100%;*/
  object-fit: contain;
  background: #f7f7f7;
}

.swiper-thumbs {
  margin-top: 10px;
  overflow-x: auto;
  overflow-y: hidden;
}

.swiper-thumbs .swiper-wrapper {
  flex-wrap: nowrap;
}

.swiper-thumbs .swiper-slide {
  flex: 0 0 auto; 
  width: 100px;       /* elegí el tamaño que te guste */
  height: 100px;
}

.swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-thumbs img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #333;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #000;
}

@media (max-width: 768px) {
  .propiedad-main {
    flex-direction: column;
  }

  .propiedad-imagen-principal {
    flex: none;
  }

    .col-izq,
  .col-der {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

    .swiper-main {
    height: 260px;
    width: 300px;
    aspect-ratio: 4 / 3;
  }

  .swiper-main img {
        width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* =========================
   RESPONSIVE HEADER
========================= */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #003366;
}

/* Mobile */
@media (max-width: 768px) {

  .header-flex {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    width: 100%;
    text-align: right;
  }

  .main-nav .menu {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
  }

  .main-nav.open .menu {
    display: flex;
  }

  .site-title {
    font-size: 24px;
  }

  .logo {
    height: 40px;
  }
}

/* =========================
   FORMULARIO
========================= */
.consulta-propiedad {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid #ddd;
  background: #fafafa;
}

.consulta-propiedad h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.consulta-propiedad input,
.consulta-propiedad textarea {
  width: 95%;
  padding: 0.6rem;
  margin-bottom: 0.8rem;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.consulta-propiedad textarea {
  min-height: 120px;
}

.consulta-propiedad input[type="submit"] {
  background: #2c3e50;
  color: #fff;
  border: none;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  font-size: 1rem;
}

.consulta-propiedad input[type="submit"]:hover {
  background: #1f2d3a;
}

.admin-acciones {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.admin-acciones-texto h2 {
  margin: 0;
  font-size: 20px;
}

.admin-acciones-boton {
  flex-shrink: 0;
}


.btn-agregar-propiedad {
  display: inline-block;
  padding: 14px 22px;
  background: #0073aa; /* azul WP */
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
}

.btn-agregar-propiedad:hover {
  background: #005f8d;
  color: #fff;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  padding: 18px 0;
  border-top: 1px solid rgba(0,0,0,.08);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-left p {
  margin: 0;
  font-size: 24px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none;
  background: rgba(0,0,0,.05);
}

.footer-icon svg {
  display: block;
  fill: #023354;
    width: 44px;   /* antes 22 */
  height: 44px;  /* antes 22 */
}

.footer-icon:hover {
  background: rgba(0,0,0,.1);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   VENDIDA O ALQUILADA
========================= */
.propiedad-imagen {
  position: relative;
  overflow: hidden;
}

.propiedad-vendida img {
  filter: grayscale(100%) brightness(0.8);
}

.propiedad-letrero {
  position: absolute;
  top: 30px;
  left: -40px;
  transform: rotate(-45deg);
  background: rgba(180, 0, 0, 0.9);
  color: #fff;
  padding: 8px 48px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  pointer-events: none;
}

.whatsapp-propiedad {
  margin-top: 20px;
  text-align: center;
}

.whatsapp-propiedad a {
  display: inline-block;
  background: #25D366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.whatsapp-propiedad a:hover {
  background: #1ebe5d;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
}

.wa-icon {
  width: 22px;
  height: 22px;
}










