/**
* Template Name: Groovin
* Template URL: https://bootstrapmade.com/groovin-free-bootstrap-theme/
* Updated: Mar 17 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

/* Bootstrap fija scroll-behavior:smooth en :root, lo que anima incluso el
   salto inicial al #hash al cargar la página. Se desactiva acá para que la
   carga sea instantánea; el scroll suave de los links del menú lo controla
   JS explícitamente (main.js) y no depende de esta propiedad. */
:root {
  scroll-behavior: auto;

  /* Colores institucionales -- pisar estas variables alcanza para
     personalizar la marca de un cliente sin tocar el resto del CSS.
     Valores por defecto: includes/header.php los reemplaza por los de
     Configuración (y calcula ahí -secundario-oscuro y las -rgb).
     Primario: botones y acentos. Secundario: elementos con degradé.
     Botones: tipo P = fondo primario y hover secundario; tipo S = fondo
     secundario y hover primario (cada botón elige uno en su regla).
     Las -rgb son para sombras con transparencia: rgba(var(--x-rgb), 0.3). */
  --color-primario: #D20505;
  --color-primario-rgb: 210, 5, 5;
  --color-secundario: #A80404;
  --color-secundario-oscuro: #860303;
  --color-secundario-rgb: 168, 4, 4;
}

/* Compensar el header fijo (80px) al saltar a cualquier sección con id
   (navegación por anclas al cargar la página, ver main.js) */
section[id] {
  scroll-margin-top: 90px;
}

.whatsapp {
  position:fixed;
  width:60px;
  height:60px;
 
  background-color:red;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  z-index:100;
}


.wa_nuevo svg{
  width: 60px;
  position: fixed;
  bottom:10px;
  right:10px;
  filter: drop-shadow(.8rem .8rem .8rem #0008);
  transition: all .3s ease;
}


  


.wa_nuevo svg:hover{
  width: 65px;
}


.whatsapp-icon {
  margin-top:13px;
}
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: var(--color-primario);
  text-decoration: none;
}

a:hover {
  color: var(--color-primario);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 80px;
  z-index: 996;
  background: var(--color-primario);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--color-secundario);
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}



.back-to-top1 {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 100px;
  bottom: 15px;
  z-index: 5;
  background: var(--color-primario);
  width: 100px;
  height: 100px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top1 i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top1:hover {
  background: var(--color-primario);
  color: #fff;
}

.back-to-top1.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background:var(--color-primario);
  transition: all 0.5s;
  z-index: 997;
  height: 95px;
}

#header .logo {
  font-size: 25px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight:900;

  margin: 0;
  padding: 0;
  line-height: 1;

  letter-spacing: 1px;

  /* Sin esto, en anchos ~992-1199px (donde el menú completo en una sola
     línea no entra cómodo) el logo -que sí puede achicarse, a diferencia
     del texto del menú, que no hace salto de línea- absorbe todo el
     déficit de espacio y se aplasta a un tamaño casi ilegible. */
  flex-shrink: 0;
}

#header .logo a {
  color: #000000;
}

#header .logo img {
  max-height: 70px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin:0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items:end;
}

.navbar li {
  margin-left: 2px;
  position: relative;
}

.navbar>ul>li {
  white-space: nowrap;
  padding: 10px 0 10px 22px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgb(0, 0, 0);
  white-space: nowrap;
  transition: 0.3s;
  text-transform: uppercase;
  position: relative;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -6px;
  left: 0;
  background-color: #ffffff;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #ffffff;
}

.navbar .getstarted,
.navbar .getstarted:focus {
  padding: 10px 15px;
  margin-left: 30px;
  border-radius: 4px;
  color: var(--color-primario);
  background-color: #ffffff;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  border: 3px solid #000000;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  color: #000000;
  background: var(--color-primario);
}

.navbar .getstarted:hover:before,
.navbar li:hover>.getstarted:before {
  visibility: hidden;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 22px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #2a2a2a;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: var(--color-primario);
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/* Notebooks/tablets grandes (992-1199px): ahí el menú de texto completo ya
   no entra cómodo en una sola línea dentro del contenedor de Bootstrap
   (960px). Se lo hace más compacto para que quepa sin aplastar el logo. */
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar>ul>li {
    padding-left: 12px;
  }

  .navbar a,
  .navbar a:focus {
    font-size: 13px;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: var(--color-primario);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(17, 17, 17, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #2a2a2a;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: var(--color-primario);
}

.navbar-mobile>ul>li {
  white-space: nowrap;
  padding: 0;
}

.navbar-mobile a:hover:before,
.navbar-mobile li:hover>a:before,
.navbar-mobile .active:before {
  visibility: hidden;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
  color: var(--color-primario);
  padding-left: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: var(--color-primario);
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  min-height: 100vh;
  background-color: rgba(17, 17, 17, 0.8);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

#hero .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#hero .hero-video.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Alternativa al video: slider de 3 imágenes (mismo encuadre que .hero-video) */
#hero .hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#hero .hero-slider.is-visible {
  opacity: 1;
  visibility: visible;
}

#hero .hero-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#hero .hero-overlay {
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  min-height: 100vh;
  padding: 120px 20px 80px;
  z-index: 2;
}

#hero .carousel-content {
  text-align: center;
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

#hero .carousel-content > div {
  margin-top: 12px;
}

#hero .modern-search-filters {
  margin-top: 22px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

#hero h2 {
  color: #fefefe;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 600;
}

#hero .hero-title {
  font-size: 53px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Responsive font sizes for hero title */
@media (max-width: 768px) {
  #hero .hero-title {
    font-size: 36px;
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  #hero .hero-title {
    font-size: 28px;
    padding: 0 10px;
  }
}

@media (max-width: 400px) {
  #hero .hero-title {
    font-size: 24px;
    padding: 0 5px;
  }
}

#hero h2 span {
  color: var(--color-primario);
}

#hero p {
  width: 80%;
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  color: #fff;
}

#hero .btn-get-started {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  border-radius: 6px;
  transition: 0.5s;
  line-height: 1;
  margin: 8px 6px;
  color: #fff;
  animation-delay: 0.8s;
  text-transform: uppercase;
  border: 2px solid var(--color-primario);
  background: var(--color-primario);
  margin-top: 25px;
}

#hero .btn-get-started:hover {
  background: var(--color-secundario);
  border-color: var(--color-secundario);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--color-secundario-rgb), 0.3);
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }
  
  #hero .btn-get-started {
    font-size: 14px;
    padding: 6px 16px 8px 16px;
    margin: 6px 4px;
    margin-top: 20px;
  }
}

@media (min-width: 1024px) {
  #hero p {
    width: 60%;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

.section-bg {
  background-color: #f1f1f1;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: var(--color-primario);
}

/* Título específico para sección de filtros */
#temporarios .section-title h2 {
  position: relative;
  display: inline-block;
}

#temporarios .section-title h2:before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--color-secundario) 0%, var(--color-secundario-oscuro) 100%);
  border-radius: 2px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content {
  padding: 30px 0;
}

.about .content h3 {
  font-weight: 700;
  font-size: 34px;
}

.about .content p {
  margin-bottom: 0;
}

.about .content .icon-box {
  margin-top: 25px;
}

.about .content .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.about .content .icon-box i {
  font-size: 48px;
  float: left;
  color: var(--color-primario);
}

.about .content .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

.about .image {
  background: url("../../img/about/about.webp") center center no-repeat;
  background-size: cover;
  min-height: 400px;
}

@media (max-width: 991px) {
  .about .image {
    text-align: center;
  }

  .about .image img {
    max-width: 80%;
  }
}

@media (max-width: 667px) {
  .about .image img {
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding: 0 0 30px 0;
}

.counts .count-box {
  padding: 30px;
  width: 100%;
}

.counts .count-box i {
  display: block;
  font-size: 44px;
  color: var(--color-primario);
  float: left;
  line-height: 0;
}

.counts .count-box span {
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  color: #2a2a2a;
  margin-left: 60px;
}

.counts .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #505050;
}

.counts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #505050;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.counts .count-box a:hover {
  color: #777777;
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  padding: 15px 0;
  text-align: center;
}

.clients img {
  max-width: 45%;
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 15px 0;
  filter: grayscale(100);
}

.clients img:hover {
  filter: none;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .clients img {
    max-width: 40%;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 20px;
  text-align: center;
}

.services .icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 50%;
  transition: 0.5s;
  color: var(--color-primario);
  overflow: hidden;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.15);
}

.services .icon i {
  font-size: 36px;
  line-height: 0;
}

.services:hover .icon {
  box-shadow: 0px 0 25px rgba(92, 159, 36, 0.3);
}

.services .title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  padding-bottom: 15px;
}

.services .title a {
  color: #444444;
  transition: 0.3s;
}

.services .title a:hover {
  color: var(--color-primario);
}

.services .title::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: var(--color-primario);
  bottom: 0;
  left: calc(50% - 25px);
}

.services .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us .box {
  padding: 50px 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: all ease-in-out 0.3s;
}

.why-us .box span {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primario);
}

.why-us .box h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
  color: #000000;
}

.why-us .box p {
  color: #aaaaaa;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

.why-us .box:hover {
  background: var(--color-primario);
  padding: 30px 30px 70px 30px;
  box-shadow: 10px 15px 30px rgba(0, 0, 0, 0.18);
}

.why-us .box:hover span,
.why-us .box:hover h4,
.why-us .box:hover p {
  color: #fff;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/

.portfolio{
  padding: 15px;
}


.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background: var(--color-primario);
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(42, 42, 42, 0.7);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(42, 42, 42, 0.7);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap img {
  transition: all ease-in-out 0.3s;
  width: 100%;
  height: 16rem;
  object-fit: cover;
  object-position: center;
}

/* Ajustes responsivos para altura de imágenes de tarjetas */
@media (max-width: 768px) {
  .portfolio .portfolio-wrap img {
    height: 14rem;
  }
}

@media (max-width: 576px) {
  .portfolio .portfolio-wrap img {
    height: 12rem;
  }
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;

}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-style: italic;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 5px 0 0;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: var(--color-primario);
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.2);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 5;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mantener altura uniforme del slider aun con fotos verticales/horizontales */
.portfolio-details .portfolio-details-slider .swiper-slide {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 360px; /* fallback razonable */
  overflow: hidden;
}

.portfolio-details .portfolio-details-slider .swiper-slide > a {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 992px) {
  .portfolio-details .portfolio-details-slider .swiper-slide {
    aspect-ratio: 16 / 10;
    min-height: 320px;
  }
}

@media (max-width: 576px) {
  .portfolio-details .portfolio-details-slider .swiper-slide {
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--color-primario);
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primario);
}

.portfolio-details .portfolio-info {
  padding: 10px;
  box-shadow: 0px 0 30px rgba(204, 30, 30, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
  background: #fff;
  padding: 60px 0;
}

.team .member {
  text-align: center;
  margin-bottom: 20px;
  background: #343a40;
  position: relative;
}

.team .member .member-info {
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  transition: 0.2s;
}

.team .member .member-info-content {
  margin-top: -50px;
  transition: margin 0.2s;
}

.team .member:hover .member-info {
  background: rgba(0, 0, 0, 0.7);
  opacity: 1;
  transition: 0.4s;
}

.team .member:hover .member-info-content {
  margin-top: 0;
  transition: margin 0.4s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
  color: #fff;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: #fff;
}

.team .member .social {
  margin-top: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: #fff;
}

.team .member .social a:hover {
  color: var(--color-primario);
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
  padding: 20px;
  background: #f7f7f7;
  text-align: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.pricing .box h3 {
  font-weight: 400;
  padding: 15px;
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #2a2a2a;
}

.pricing .box h4 {
  font-size: 42px;
  color: var(--color-primario);
  font-weight: 500;
  font-family: "Open Sans", sans-serif;
  margin-bottom: 20px;
}

.pricing .box h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .box h4 span {
  color: #bababa;
  font-size: 16px;
  font-weight: 300;
}

.pricing .box ul {
  padding: 0;
  list-style: none;
  color: #2a2a2a;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .box ul li {
  padding-bottom: 16px;
}

.pricing .box ul i {
  color: var(--color-primario);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .box ul .na {
  color: #ccc;
  text-decoration: line-through;
}

.pricing .box .btn-wrap {
  padding: 15px;
  text-align: center;
}

.pricing .box .btn-buy {
  display: inline-block;
  padding: 10px 40px 12px 40px;
  border-radius: 4px;
  border: 2px solid var(--color-primario);
  color: var(--color-primario);
  font-size: 14px;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  transition: 0.3s;
}

.pricing .box .btn-buy:hover {
  background: var(--color-primario);
  color: #fff;
}

.pricing .recommended {
  background: var(--color-primario);
}

.pricing .recommended h3,
.pricing .recommended h4,
.pricing .recommended h4 span,
.pricing .recommended ul,
.pricing .recommended ul .na {
  color: #fff;
}

.pricing .recommended .btn-buy {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.pricing .recommended .btn-buy:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-primario);
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq .faq-list {
  padding: 0 100px;
}

.faq .faq-list ul {
  padding: 0;
  list-style: none;
}

.faq .faq-list li+li {
  margin-top: 15px;
}

.faq .faq-list li {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
  position: relative;
}

.faq .faq-list a {
  display: block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding: 0 30px;
  outline: none;
  cursor: pointer;
}

.faq .faq-list .icon-help {
  font-size: 24px;
  position: absolute;
  right: 0;
  left: 20px;
  color: var(--color-primario);
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list a.collapsed {
  color: #343a40;
}

.faq .faq-list a.collapsed:hover {
  color: var(--color-primario);
}

.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
  display: none;
}

@media (max-width: 1200px) {
  .faq .faq-list {
    padding: 0;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
#contacto-form {
  scroll-margin-top: 100px;
}

.contact .contact-info {
  margin-bottom: 20px;
  text-align: center;
}

.contact .contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 10px;
  color: var(--color-primario);
}

.contact .contact-info address,
.contact .contact-info p {
  margin-bottom: 0;
  color: #000;
}

.contact .contact-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #999;
}

.contact .contact-info a {
  color: #000;
}

.contact .contact-info a:hover {
  color: var(--color-primario);
}

.contact .contact-address,
.contact .contact-phone,
.contact .contact-email {
  margin-bottom: 20px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #B30505;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: var(--color-primario);
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--color-primario);
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  height: auto;
  padding: 10px 15px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--color-primario);
}

.contact .php-email-form button[type=submit] {
  background: var(--color-secundario);
  border: 0;
  padding: 10px 30px 12px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--color-primario);
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  .contact .contact-phone {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }

  .contact .contact-address,
  .contact .contact-phone,
  .contact .contact-email {
    padding: 20px 0;
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #f6f6f6;
  min-height: 40px;
  margin-top: 80px;
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 400;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #444444;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #111111;
  padding: 0 0 10px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #1d1d1d;
  border-bottom: 1px solid #2f2f2f;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size:30px;
  display: inline-block;
  background: #2a2a2a;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 45px;
  height: 45px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: var(--color-primario);
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: var(--color-primario);
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: var(--color-primario);
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: var(--color-primario);
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: var(--color-primario);
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
  padding-top: 10px;
  text-align: center;
  font-size: 12px;
  color: #fff;
}

#footer .credits p {
  margin: 0;
}

#footer .credits .credits-copy {
  text-align: center;
}

#footer .credits .credits-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.2;
  white-space: nowrap;
  margin-left: 4px;
}

#footer .credits .credits-brand-label {
  opacity: 0.95;
}

#footer .credits .credits-brand-mark {
  display: block;
  width: 12px;
  height: 12px;
  min-width: 12px;
  object-fit: contain;
  border-radius: 2px;
}

#footer .credits .credits-brand a {
  color: #fff;
  text-decoration: none;
}

#footer .credits .credits-brand a:hover {
  color: #fff;
  text-decoration: none;
}


.text1 {
  font-size:25px;
  font-family:helvetica;
  font-weight:bold;
  color:red;
  text-transform:uppercase;
  text-align: center;
}

.text_venta h2  {
  font-size: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color:var(--color-primario);
}

.parpadea {
  
  animation-name: parpadeo;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;

  -webkit-animation-name:parpadeo;
  -webkit-animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
}

@-moz-keyframes parpadeo{  
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}

@-webkit-keyframes parpadeo {  
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
   100% { opacity: 1.0; }
}

@keyframes parpadeo {  
  0% { opacity: 1.0; }
   50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}


.galeria_vertical{
  width: 350px;
  height: 250px;
  object-fit:cover;
  margin:auto;
}

.galeria_horizontal{
  width: 600px;
  height: 400px;
  object-fit:cover;
  margin:auto;
}

.redes{
  display: flex;
}


.property-wrap .img .rent-sale {
  position: absolute;
  top: 10px;
  left: 25px; }
  .property-wrap .img .rent-sale .sale {
    background: #e16262;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    padding: 4px 10px; }
  .property-wrap .img .rent-sale .rent {
    background: #24A148;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    padding: 4px 10px; }






    /* * {
    
  } */
  
 /* cuerpo {
      box-sizing: border-box;
      font-family: Arial, sans-serif;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      margin: 0;
      background-color: #f5f5f5;
  } */
  
  
  /* ===== FILTROS MODERNOS ===== */
  .modern-search-filters {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(var(--color-primario-rgb), 0.1);
    margin: 20px 0;
  }

  .filter-form {
    width: 100%;
  }

  .filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
    align-items: end;
  }

  .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .filter-group label i {
    color: var(--color-primario);
    font-size: 16px;
  }

  .filter-group select,
  .filter-group input {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    transition: all 0.3s ease;
    outline: none;
  }

  .filter-group select:focus,
  .filter-group input:focus {
    border-color: var(--color-primario);
    box-shadow: 0 0 0 3px rgba(var(--color-primario-rgb), 0.1);
    transform: translateY(-1px);
  }

  .filter-group select:hover,
  .filter-group input:hover {
    border-color: var(--color-primario);
  }

  .filter-actions {
    display: flex;
    gap: 12px;
    align-items: end;
  }

  .btn-search {
    background: linear-gradient(135deg, var(--color-secundario) 0%, var(--color-secundario-oscuro) 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--color-secundario-rgb), 0.3);
    position: relative;
    isolation: isolate;
  }

  /* El hover no cambia el fondo directamente: un degradé no se puede
     animar y el botón "destellaba" (quedaba transparente un instante).
     Se funde una capa del color primario por encima del degradé. */
  .btn-search::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--color-primario);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .btn-search:hover::before {
    opacity: 1;
  }

  .btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--color-primario-rgb), 0.4);
  }

  .btn-search:active {
    transform: translateY(0);
  }

  .btn-clear {
    background: var(--color-primario);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .btn-clear:hover {
    background: var(--color-secundario);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    border-color: var(--color-secundario);
  }

  /* Responsive Design */
  @media (max-width: 992px) {
    .filter-row {
      grid-template-columns: 1fr 1fr;
      gap: 15px;
    }
    
    .filter-actions {
      grid-column: 1 / -1;
      justify-content: center;
      margin-top: 10px;
    }
  }

  @media (max-width: 576px) {
    .filter-row {
      grid-template-columns: 1fr;
    }
    
    .modern-search-filters {
      padding: 20px 15px;
      margin: 15px 0;
    }
    
    .filter-actions {
      flex-direction: column;
      width: 100%;
    }
    
    .btn-search,
    .btn-clear {
      justify-content: center;
      width: 100%;
    }
  }

  /* Mantener estilos antiguos ocultos */
  .search-filters {
      display: none;
  }

  /* ===== SECCION ESTADISTICAS ===== */
  .stats-section {
    background: linear-gradient(135deg, var(--color-secundario) 0%, var(--color-secundario-oscuro) 100%);
    padding: 30px 0;
    color: white;
  }

  .stats-category {
    margin-bottom: 20px;
  }

  .stats-category:last-child {
    margin-bottom: 0;
  }

  .stats-category h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
    text-transform: capitalize;
    letter-spacing: 0.5px;
  }

  .stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 6px 12px;
    text-decoration: none;
    color: white;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

  .stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: white;
    text-decoration: none;
  }

  .stat-name {
    font-weight: 500;
  }

  .stat-count {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
  }

  /* Estilos específicos para operaciones */
  .stat-item.venta .stat-count {
    background: rgba(76, 175, 80, 0.7);
  }

  .stat-item.temporal .stat-count {
    background: rgba(33, 150, 243, 0.7);
  }

  /* Responsive */
  @media (max-width: 768px) {
    .stats-section {
      padding: 25px 0;
    }
    
    .stats-category {
      margin-bottom: 15px;
    }
    
    .stats-category h4 {
      font-size: 14px;
      margin-bottom: 10px;
    }
    
    .stats-grid {
      gap: 6px;
    }
    
    .stat-item {
      font-size: 11px;
      padding: 5px 10px;
      gap: 4px;
    }
    
    .stat-count {
      font-size: 10px;
      padding: 1px 5px;
    }
  }




  /* Nuevo BOTON WHATSAPP */


  .whatsapp-button {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    z-index: 1000;
}

.whatsapp-button a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.whatsapp-button img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-button img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

  /* Badge en la esquina superior izquierda */
  .badge-overlay-top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
}
/* Badge en la esquina superior derecha */
.badge-overlay-top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    background-color: #ff0000;
    border: 1px solid #ff0000;
    border-radius: 5px;
}
/* Badge en la esquina inferior izquierda */
.badge-overlay-bottom-left {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #f78f1e; /* Naranja */
    border-radius: 5px;
}


/* Badge video */
.badge-overlay-bottom1 {

  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  background-color: #ff0000;
  border: 1px solid #ff0000;
  border-radius: 5px;
}





/* Badge en la esquina inferior derecha */
.badge-overlay-bottom-right {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #28a745; /* Verde */
    border-radius: 5px;
}

/* Cintillo diagonal (tag cruzado) sobre la esquina superior izquierda */
.badge-ribbon-cruzado {
    position: absolute;
    top: 18px;
    left: -38px;
    width: 160px;
    padding: 6px 0;
    background-color: #dc3545;
    color: #ffffff;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(-45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 5;
}


/* Contenedor de botones de acción (Chatea / Video / Compartir) */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.buttons .boton-whatsapp {
  flex: 1 1 100%;
}

.buttons .boton-video,
.buttons .boton-compartir {
  flex: 1 1 calc(50% - 5px);
}

/* BOTON WHASTAPP RECTANGULAR */
.boton-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25D366; /* Verde WhatsApp */
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.boton-whatsapp:hover {
  background-color: #1DA1F2; /* Azul WhatsApp */
}

/* CARACTERISTICAS */

.body-cara {
  font-family: Arial, sans-serif;
  color: #2F4F4F;
}
.container-cara {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
.item_cara {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.item-cara i {
  margin-right: 10px;
}
.column_cara {
  font-family: Arial, Helvetica, sans-serif;
  
  display: flex;
  flex-direction: column;
}


/* comodidades */

.body-comodidades {
  font-family: Arial, sans-serif;
  color: #2d4b46;
  display: flex;
  justify-content: center;
  align-items: center;

  margin: 0;
  background-color: #fff;
}
.icon-grid-comodidades {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  text-align: center;
}
.icon-item-comodidades {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icon-item-comodidades i {
  font-size: 24px;
  margin-bottom: 8px;
}





.features{
  list-style: none;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
}


/* chatbot */

  /* Contenedor flotante del chat */
  .chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 9999;
    display: none; /* Oculto inicialmente */
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.chat-header {
    background: var(--color-primario);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
}
.chat-body {
    padding: 15px;
    height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat-message {
    display: flex;
    align-items: center;
}
.chat-message.user {
    justify-content: flex-end;
}
.chat-message.bot {
    justify-content: flex-start;
}
.chat-message span {
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 14px;
    max-width: 70%;
}
.chat-message.user span {
    background: var(--color-primario);
    color: #fff;
}
.chat-message.bot span {
    background: #ddd;
    color: #000;
}
.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background: #f1f1f1;
}
.chat-footer input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}
.chat-footer button {
    padding: 10px;
    margin-left: 10px;
    background: var(--color-primario);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.chat-footer button:hover {
    background: var(--color-primario);
}
/* Botón para abrir el chat */
.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--color-primario);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10000;
    display: none; /* Oculto porque el chat se activa automáticamente */
}
 


.boton-video {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-primario);
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}


.boton-video:hover {
  background-color: var(--color-secundario);
}

.boton-compartir {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-secundario);
  color: #fff;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  font-family: inherit;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.boton-compartir:hover {
  background-color: var(--color-primario);
}

.boton-compartir.copiado {
  background-color: #28a745;
}

/* ========================================
   CLASES PARA DETALLE.PHP - Estados y elementos específicos
   ======================================== */

/* Estados de disponibilidad */
.estado-libre {
  color: #28a745;
  font-weight: bold;
}

.estado-alquilado {
  color: #dc3545;
  font-weight: bold;
}

/* Títulos y descripciones */
.descripcion-titulo {
  text-align: left;
  margin-bottom: 20px;
}

.descripcion-texto {
  text-align: justify;
  line-height: 1.6;
}

.interes-titulo {
  text-align: center;
}

/* Mapa de Google */
.mapa-google {
  height: 300px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mapa-nota {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  text-align: center;
}

/* Logos del footer */
.footer-logo {
  max-height: 73px;
  margin-bottom: 10px;
}

.footer-logo-secondary {
  max-height: 80px;
  margin-bottom: 10px;
}

.social-text {
  padding-top: 10px;
  padding-left: 5px;
}

/* ========================================
   RESPONSIVE DESIGN - DETALLE.PHP
   ======================================== */

/* Tablets (768px y menos) */
@media (max-width: 768px) {
  /* Logo responsivo para tablets */
  #header .logo img {
    max-height: 60px;
  }

  /* Ajuste de altura del header en tablets */
  #header {
    height: 85px;
  }
  
  /* Galería responsiva */
  .galeria_horizontal {
    width: 100%;
    max-width: 500px;
    height: 300px;
  }
  
  /* Precios más pequeños en tablet */
  .text_venta h2 {
    font-size: 24px;
  }
  
  /* Mapa más pequeño */
  .mapa-google {
    height: 250px;
  }
  
  /* Descripción */
  .descripcion-texto {
    text-align: left;
    line-height: 1.5;
  }
  
  /* Logos más pequeños */
  .footer-logo {
    max-height: 90px;
  }
  
  .footer-logo-secondary {
    max-height: 70px;
  }
  
  /* Características mejor espaciadas en tablet */
  .features li {
    margin-bottom: 1rem;
    padding: 0.5rem;
  }
  
  /* Comodidades en tablet */
  .icon-grid-comodidades {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

/* Móviles (576px y menos) */
@media (max-width: 576px) {
  /* Logo optimizado para móviles */
  #header .logo img {
    max-height: 48px;
  }

  /* Header más compacto en móvil */
  #header {
    height: 72px;
  }
  
  /* Ajuste del contenedor del header para mejor alineación */
  #header .container {
    padding: 0 15px;
  }
  
  /* Galería adaptada a móvil */
  .galeria_horizontal {
    width: 100%;
    height: 250px;
    margin-bottom: 1rem;
  }
  
  /* Precios centrados y más pequeños */
  .text_venta h2 {
    font-size: 20px;
    text-align: center;
  }
  
  /* Títulos más pequeños */
  .descripcion-titulo {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 15px;
  }
  
  .interes-titulo {
    font-size: 1.1rem;
  }
  
  /* Texto más legible en móvil */
  .descripcion-texto {
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
  }
  
  /* Mapa más pequeño en móvil */
  .mapa-google {
    height: 200px;
    border-radius: 4px;
  }
  
  .mapa-nota {
    font-size: 11px;
  }
  
  /* Logos del footer más pequeños */
  .footer-logo {
    max-height: 70px;
  }
  
  .footer-logo-secondary {
    max-height: 60px;
  }
  
  /* Ajustes de padding y margen */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Mejor espaciado entre secciones */
  .row.gy-4 {
    margin-bottom: 2rem;
  }
  
  /* Estados de disponibilidad más pequeños */
  .estado-libre,
  .estado-alquilado {
    font-size: 14px;
  }
  
  /* Características en móvil */
  .features li {
    margin-bottom: 0.75rem;
    font-size: 14px;
  }
  
  .features i {
    margin-right: 8px;
  }
  
  /* Portfolio info más compacto */
  .portfolio-info {
    margin-bottom: 2rem;
  }
  
  /* Swiper en móvil */
  .swiper-slide {
    text-align: center;
  }
  
  /* Mejor espaciado en móvil */
  .tab-pane {
    padding: 1rem 0;
  }
  
  /* Section title responsivo */
  .section-title h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Items de características más legibles */
  .item-cara {
    padding: 0.5rem 0;
    font-size: 13px;
  }
  
  .item-cara i {
    min-width: 20px;
    font-size: 14px;
  }
  
  /* COMODIDADES RESPONSIVAS */
  .icon-grid-comodidades {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  .icon-item-comodidades {
    font-size: 12px;
  }
  
  .icon-item-comodidades i {
    font-size: 20px;
    margin-bottom: 5px;
  }
}

/* Móviles pequeños (375px y menos) */
@media (max-width: 375px) {
  /* Logo extra pequeño para dispositivos muy compactos */
  #header .logo img {
    max-height: 40px;
  }

  /* Header aún más compacto */
  #header {
    height: 66px;
  }
  
  .galeria_horizontal {
    height: 200px;
  }
  
  .text_venta h2 {
    font-size: 18px;
  }
  
  .mapa-google {
    height: 180px;
  }
  
  .descripcion-texto {
    font-size: 13px;
  }
  
  .descripcion-titulo {
    font-size: 1.1rem;
  }
  
  .footer-logo {
    max-height: 60px;
  }
  
  .footer-logo-secondary {
    max-height: 50px;
  }
  
  /* Comodidades en móviles muy pequeños */
  .icon-grid-comodidades {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .icon-item-comodidades {
    font-size: 11px;
  }
  
  .icon-item-comodidades i {
    font-size: 18px;
  }
}

/* Landscape móvil (orientación horizontal) */
@media (max-width: 768px) and (orientation: landscape) {
  .mapa-google {
    height: 200px;
  }
  
  .galeria_horizontal {
    height: 200px;
  }
}

/*--------------------------------------------------------------
# Clases para eliminar CSS inline de index.php
--------------------------------------------------------------*/

/* Card header con color naranja */
.card-header-orange {
  color: var(--color-primario) !important;
}

/* Iconos con colores específicos */
.icon-location {
  color: var(--color-primario);
}

.icon-cube {
  color: #4a90e2;
}

.icon-bed {
  color: #28a745;
}

.icon-shower {
  color: #17a2b8;
}

/* Separadores en card footer */
.card-separator {
  margin: 0 8px;
}

/* Estilos para la sección About */
.about-contact-info {
  padding-bottom: 5px;
}

/* Estilos para iframe de mapa */
.mapa-contacto {
  border: 0;
}

/*--------------------------------------------------------------
# Clases para eliminar CSS inline del hero
--------------------------------------------------------------*/

/* Texto blanco para títulos del hero */
.hero-white-text {
  color: white;
}

/* Iconos con margen derecho */
.btn-icon {
  margin-right: 8px;
}

/* === IMAGE ROTATION UTILITIES === */
/* Usamos una variable --rot para poder combinar con otros transforms (hover scale) */
.rotate-0 { 
  --rot: 0deg;
  transform: rotate(var(--rot)); 
}
.rotate-90 { 
  --rot: 90deg;
  transform: rotate(var(--rot)); 
}
.rotate-180 { 
  --rot: 180deg;
  transform: rotate(var(--rot)); 
}
.rotate-270 { 
  --rot: 270deg;
  transform: rotate(var(--rot)); 
}
.rotate--90 { 
  --rot: -90deg;
  transform: rotate(var(--rot)); 
}
.rotate--180 { 
  --rot: -180deg;
  transform: rotate(var(--rot)); 
}
.rotate--270 { 
  --rot: -270deg;
  transform: rotate(var(--rot)); 
}

/* Galería horizontal con rotación */
.galeria_horizontal {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  transform-origin: center center;
}

/* Importante: preservar la rotación en hover y sólo aplicar zoom */
/* Esta regla sobreescribe la del tema que hacía transform: scale(1.2) */
.portfolio .portfolio-wrap:hover img.galeria_horizontal {
  transform: rotate(var(--rot)) scale(1.2);
}

/* Evitar que lightbox/fancybox vuelva a aplicar escalados que rompan la rotación física ya normalizada */
/* Aplicar rotación en lightboxes solo si la imagen tiene clase rotate- */
.fancybox-content img.galeria_horizontal[class*="rotate-"],
.lb-image.galeria_horizontal[class*="rotate-"], /* Lightbox2 */
.glightbox-container img.galeria_horizontal[class*="rotate-"] { /* GLightbox */
  transform: rotate(var(--rot)) !important;
}

/* Forzar no rotación para propiedad 65 (imagenes ya correctas físicamente) */
img.galeria_horizontal[data-prop-id="65"],
.fancybox-content img.galeria_horizontal[data-prop-id="65"],
.glightbox-container img.galeria_horizontal[data-prop-id="65"],
.lb-image.galeria_horizontal[data-prop-id="65"] {
  transform: none !important;
}

/* Si las imágenes ya están normalizadas (rotación física), permitir que rotacion=0 no añada transform redundante */
.rotate-0 { transform: none; }

/* Corrección específica: propiedad 65, imagen ID 896 aún invertida físicamente en detalle/lightbox */
img.force-rotate-180,
#portfolio-details img[data-img-id="896"],
.fancybox-content img[data-img-id="896"],
.glightbox-container img[data-img-id="896"],
.lb-image[data-img-id="896"] {
  transform: rotate(180deg) !important;
}

/*--------------------------------------------------------------
# Tasaciones
--------------------------------------------------------------*/
#tasaciones-form {
  scroll-margin-top: 100px;
}

.tasaciones-col {
  margin-bottom: 30px;
}

.tasaciones-col h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primario);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tasaciones .form-group {
  margin-bottom: 18px;
}

.tasaciones .form-group > label {
  display: block;
  font-size: 14px;
  color: #444;
  margin-bottom: 6px;
}

.tasaciones .form-control {
  border-radius: 4px;
  border: 1px solid #ddd;
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
}

.tasaciones .form-control:focus {
  border-color: var(--color-primario);
}

.tasaciones textarea.form-control {
  resize: vertical;
}

/* Input con icono a la derecha */
.tasaciones .input-icon {
  position: relative;
}

.tasaciones .input-icon input {
  padding-right: 40px;
}

.tasaciones .input-icon i {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}

/* Input con sufijo (m2) */
.tasaciones .input-suffix {
  position: relative;
}

.tasaciones .input-suffix input {
  padding-right: 40px;
}

.tasaciones .input-suffix span {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #eee;
  color: #666;
  font-size: 13px;
  border-radius: 0 4px 4px 0;
}

/* Grupos de botones tipo toggle (radios ocultos + labels) */
.tasaciones .btn-toggle {
  display: grid;
  gap: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.tasaciones .btn-toggle input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.tasaciones .btn-toggle label {
  margin: 0;
  padding: 10px 6px;
  text-align: center;
  font-size: 14px;
  color: #333;
  background: #fff;
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid transparent;
}

.tasaciones .btn-toggle input[type="radio"]:checked + label {
  background: #6c6c6c;
  color: #fff;
  font-weight: 600;
}

.tasaciones .btn-toggle input[type="radio"]:focus-visible + label {
  outline: 2px solid var(--color-primario);
  outline-offset: -2px;
}

/* Operación / Garage: 2 columnas */
.tasaciones .btn-toggle-2 {
  grid-template-columns: repeat(2, 1fr);
}

.tasaciones .btn-toggle-2 label {
  border-right: 1px solid #ccc;
}

.tasaciones .btn-toggle-2 label:last-of-type {
  border-right: none;
}

/* Tipo de propiedad: grilla 2x2 */
.tasaciones .btn-toggle-grid {
  grid-template-columns: repeat(2, 1fr);
}

.tasaciones .btn-toggle-grid label {
  border: 1px solid #ccc;
  margin: -1px 0 0 -1px;
}

/* Ambientes: 5 columnas */
.tasaciones .btn-toggle-ambientes {
  grid-template-columns: repeat(5, 1fr);
}

.tasaciones .btn-toggle-ambientes label {
  border-right: 1px solid #ccc;
  padding: 10px 4px;
}

.tasaciones .btn-toggle-ambientes label:last-of-type {
  border-right: none;
}

.tasaciones .form-check {
  margin-bottom: 20px;
}

.tasaciones .form-check-label {
  font-size: 14px;
  color: #444;
}

.tasaciones .btn-enviar-consulta {
  display: block;
  width: 100%;
  background: var(--color-primario);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 14px 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: 0.3s;
}

.tasaciones .btn-enviar-consulta:hover {
  background: var(--color-secundario);
}

/* Página de detalle de propiedad (antes <style> inline en detalle.php) */
.lightbox .lb-close {
  display: block !important;
  z-index: 9999;
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.operacion-item {
  border-left: 4px solid var(--color-primario);
  padding-left: 15px;
  margin-bottom: 20px;
}

.operacion-item h6 {
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 1.1rem;
}

.operacion-item h2 {
  margin-bottom: 0;
  font-weight: 700;
}

.tasaciones-nota {
  margin-top: 30px;
  font-size: 13px;
  color: #888;
  text-align: center;
}

@media (max-width: 991px) {
  .tasaciones-col {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }
}

/*--------------------------------------------------------------
# Topbar
--------------------------------------------------------------*/
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  background: #2b2b2b;
  color: #ffffff;
  z-index: 998;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
}

.topbar .container {
  height: 100%;
  flex-wrap: nowrap;
}

.topbar-info {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 18px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-phone {
  transition: 0.3s;
}

.topbar-phone:hover {
  color: var(--color-primario);
}

.topbar-item i {
  color: var(--color-primario);
  font-size: 12px;
  line-height: 0;
  flex-shrink: 0;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.topbar-social a {
  color: #ffffff;
  font-size: 14px;
  line-height: 0;
  transition: 0.3s;
}

.topbar-social a:hover {
  color: var(--color-primario);
}

#header {
  top: 34px;
}

#hero .carousel-container {
  padding-top: 114px;
}

.breadcrumbs {
  margin-top: 114px;
}

/* CTA emergente para propiedades a la venta */
.sale-cta {
  position: fixed;
  z-index: 999;
  left: 24px;
  bottom: 82px;
  display: flex;
  width: min(520px, calc(100vw - 48px));
  height: 138px;
  overflow: hidden;
  color: #263238;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(24, 49, 67, .28);
  opacity: 0;
  transform: translateY(calc(100% + 32px));
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
  pointer-events: none;
}

.sale-cta.sale-cta-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sale-cta-image { width: 112px; flex: 0 0 112px; background: #e8ecee; }
.sale-cta-image img { width: 100%; height: 100%; object-fit: cover; }
.sale-cta-content { display: flex; flex-direction: column; padding: 14px 18px 13px 16px; flex: 1; min-width: 0; }
.sale-cta-label { display: block; margin-bottom: 4px; color: var(--color-primario); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sale-cta-question { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 0 0 3px; font-size: 13px; line-height: 1.25; color: #60717b; overflow: hidden; }
.sale-cta h2 { margin: 0; color: #17364a; font-size: 17px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sale-cta-location { margin: 5px 0 8px; color: #60717b; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sale-cta-location i { color: var(--color-primario); }
.sale-cta-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.sale-cta-price { color: #17364a; font-size: 20px; font-weight: 800; white-space: nowrap; }
.sale-cta-buttons { display: flex; align-items: center; gap: 8px; }
.sale-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: 0 0 auto; width: 106px; min-height: 30px; border: 0; padding: 7px 6px; color: #fff; background: var(--color-primario); border-radius: 5px; font-size: 12px; font-family: inherit; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .2s ease; }
.sale-cta-button:hover { color: #fff; background: var(--color-secundario); }
.sale-cta-button--whatsapp { background: #25d366; }
.sale-cta-button--whatsapp:hover { background: #1ebe57; }
.sale-cta-wa-text { display: inline; }
.sale-cta-btn-short { display: none; }
.sale-cta-close { position: absolute; z-index: 1; top: 9px; right: 10px; width: 26px; height: 26px; padding: 0; color: #52636c; background: rgba(255, 255, 255, .88); border: 0; border-radius: 50%; font-size: 23px; line-height: 22px; cursor: pointer; }
.sale-cta-close:hover { color: #17364a; background: #fff; }

@media (max-width: 767px) {
  .sale-cta { left: 12px; bottom: 82px; width: calc(100vw - 24px); height: 128px; }
  .sale-cta-image { width: 86px; flex-basis: 86px; }
  .sale-cta-content { padding: 11px 9px 10px 11px; }
  .sale-cta-label { margin-bottom: 2px; }
  .sale-cta-question { font-size: 12px; margin-bottom: 2px; }
  .sale-cta h2 { font-size: 15px; }
  .sale-cta-location { display: none; }
  .sale-cta-actions { gap: 5px; }
  .sale-cta-price { font-size: 16px; }
  .sale-cta-buttons { gap: 5px; }
  .sale-cta-button { width: 34px; min-height: 30px; padding: 6px 4px; font-size: 11px; }
  .sale-cta-button:not(.sale-cta-button--whatsapp) .fa-arrow-right { display: none; }
  .sale-cta-wa-text { display: none; }
  .sale-cta-btn-full { display: none; }
  .sale-cta-btn-short { display: inline; }
}

@media (max-width: 768px) {
  .topbar {
    height: 32px;
    font-size: 12px;
  }

  .topbar-info {
    gap: 12px;
  }

  #header {
    top: 32px;
  }
}

@media (max-width: 576px) {
  /* Topbar compacta en móvil: se oculta el teléfono para que entre todo en una línea */
  .topbar {
    height: 30px;
    font-size: 11px;
  }

  .topbar .container {
    padding: 0 15px;
  }

  .topbar-phone {
    display: none;
  }

  .topbar-info {
    gap: 8px;
  }

  .topbar-social {
    gap: 10px;
  }

  .topbar-social a {
    font-size: 13px;
  }

  #header {
    top: 30px;
  }
}

@media (max-width: 375px) {
  .topbar {
    height: 28px;
    font-size: 10px;
  }

  .topbar-address span {
    max-width: 150px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
  }

  #header {
    top: 28px;
  }
}
