/*

TemplateMo 591 villa agency

https://templatemo.com/tm-591-villa-agency

*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900");
/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

:root {
  --base-duration: 500ms;

  --color-1: #2c3e50;
  --color-2: #1abc9c;
  --color-3: #2ecc71;
}

*,
*:before,
*:after {
	box-sizing: border-box;
	outline: none;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #1e1e1e;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 700;
}

ul {
  margin-bottom: 0px;
}

p {
  /*
  font-size: 16px;
  line-height: 24px;*/
  color: #4a4a4a;
}

img {
  width: 100%;
  overflow: hidden;
}

/* 
---------------------------------------------
Global Styles
--------------------------------------------- 
*/
html,
body {
  font-family: 'Poppins', sans-serif;
}

::selection {
  background: #0071f8;
  color: #fff;
}

::-moz-selection {
  background: #0071f8;
  color: #fff;
}

.section {
  margin-top: 60px;
}

.section-heading {
  margin-bottom: 70px;
}

.section-heading h2 {
  font-size: 40px;
  font-weight: 700;
  text-transform: capitalize;
  /* margin-top: 20px; */
  margin-top: 0px;
  line-height: 56px;
}

.section-heading h2 em {
  font-style: normal;
  color: #00008B;
}

.section-heading h6,.section-heading h5, .section-heading h4, .section-title {
  color: #00008B;
  /*font-size: 15px;*/
  text-transform: uppercase;
  font-weight: 700;
}

.icon-button a {
  display: inline-block;
  background-color: #1e1e1e;

  color: #fff;
  font-size: 14px;
  font-weight: 400;
  height: 50px;
  line-height: 50px;
  padding: 0px 30px 0px 0px;
  border-radius: 25px;
  transition: all .3s;
}

.icon-button a i {
  background-color: #f35525;
  height: 50px;
  width: 50px;
  text-align: center;
  border-radius: 50%;
  line-height: 50px;
  display: inline-block;
  margin-right: 15px;
  margin-left: -1px;
}

.icon-button a:hover {
  color: #f35525;
}

.icon-button a:hover i {
  color: #fff;
}

.main-button a {
  display: inline-block;
  background-color: #1e1e1e;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 40px;
  padding: 0px 30px;
  border-radius: 25px;
  transition: all .3s;
}

.main-button a:hover {
  background-color: #f35525;
  color: #fff;
}

/* 
---------------------------------------------
Pre-loader Style
--------------------------------------------- 
*/

.js-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.99);
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  z-index: 9999;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.js-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@-webkit-keyframes dot {
  50% {
      -webkit-transform: translateX(96px);
      transform: translateX(96px);
  }
}

@keyframes dot {
  50% {
      -webkit-transform: translateX(96px);
      transform: translateX(96px);
  }
}

@-webkit-keyframes dots {
  50% {
      -webkit-transform: translateX(-31px);
      transform: translateX(-31px);
  }
}

@keyframes dots {
  50% {
      -webkit-transform: translateX(-31px);
      transform: translateX(-31px);
  }
}

.preloader-inner {
  position: relative;
  width: 142px;
  height: 40px;
  background: transparent;
}

.preloader-inner .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 12px;
  left: 15px;
  background: #00008B;
  border-radius: 50%;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  -webkit-animation: dot 2.8s infinite;
  animation: dot 2.8s infinite;
}

.preloader-inner .dots {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  margin-top: 12px;
  margin-left: 31px;
  -webkit-animation: dots 2.8s infinite;
  animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
  display: block;
  float: left;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  /* background: #f35525; */
  background: #00008B;
  border-radius: 50%;
}



/* 
---------------------------------------------
Header Style
--------------------------------------------- 
*/

.sub-header {
  background-color: #fff;
  padding: 10px 0px;
  border-bottom: 1px solid #eee;
}

.sub-header ul li {
  display: inline-block;
}

.sub-header ul.social-links {
  text-align: right;
}

.sub-header ul.social-links li {
  margin-left: 12px;
}

.sub-header ul.social-links li a {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  transition: all .3s;
}

.social-links li a i {
  font-size: 28px; 
  text-decoration: none;
}

.social-links a i.fa-whatsapp {
  color: green;
}

.sub-header ul.info li {
  font-size: 14px;
  color: #7a7a7a;
  vertical-align: middle;
  border-right: 1px solid #eee;
  margin-right: 25px;
  padding-right: 25px;
}

.sub-header ul.info li:last-child {
  margin-right: 0px;
  padding-right: 0px;
  border-right: none;
}

.sub-header ul.info li i {
  font-size: 20px;
  /* color: #f35525; */
  color: #1965ae;
  margin-right: 8px;
}

.background-header {
  background-color: #fff;
  height: 80px!important;
  position: fixed!important;
  top: 0!important;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.15)!important;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area {
  position: relative;
  background-color: #fff;
  height: 100px;
  z-index: 100;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area .main-nav {
  background: transparent;
  display: flex;
}

.header-area .main-nav .logo {
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  display: inline-block;
}

.header-area .main-nav .logo h1 {
  line-height: 100px;
  font-size: 28px;
  text-transform: uppercase;
  color: #1e1e1e;
  font-weight: 700;
  letter-spacing: 2px;
}

.background-header .main-nav .logo h1 {
  line-height: 80px;
}

.header-area .main-nav ul.nav {
  flex-basis: 100%;
  margin-top: 30px;
  justify-content: right;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
}

.header-area .main-nav .nav li {
  padding-left: 10px;
  padding-right: 10px;
  height: 100px;
  line-height: 100px;
}

.header-area .main-nav .nav li a {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 500;
  font-size: 15px;
  height: 40px;
  line-height: 40px;
  text-transform: capitalize;
  color: #1e1e1e;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  border: transparent;
  letter-spacing: .25px;
}

.header-area .main-nav .nav li:last-child a {
  background-color: #1e1e1e;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  border-radius: 20px;
  padding-left: 0px;
}

.header-area .main-nav .nav li:last-child a i {
  /* background-color: #f35525; */
  background-color: #1965ae;
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  border-radius: 50%;
  margin-left: -1px;
}

.header-area .main-nav .nav li:last-child:hover a {
  background-color: #1e1e1e;
}

.header-area .main-nav .nav li:last-child:hover a i {
  color: #fff;
}

.header-area .main-nav .nav li:hover a {
  color: #f35525;
}

.header-area .main-nav .nav li a.active {
  color: #f35525;
}


.background-header .main-nav .nav li a.active {
  color: #f35525;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  position: absolute;
  top: 23px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 20px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 22px;
}

.background-header .main-nav ul.nav {
  margin-top: 20px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #1e1e1e;
}

.visible{
  display:inline !important;
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 5px;
    padding-right: 5px;
  }

}

@media (max-width: 767px) {
  .background-header .main-nav {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
    border-radius: 0px 0px 25px 25px;
    width: 100%;
  }
  .background-header .main-nav .nav,
  .header-area .main-nav .nav {
    background-color: #fff;
  }
  .background-header .main-nav .nav li a,
  .header-area .main-nav .nav li a {
    line-height: 50px;
    height: 50px;
    font-weight: 400;
    color: #1e1e1e;
    background-color: #fff;
     border-radius: 0px 0px 25px 25px;
  }
  .background-header .main-nav .nav li,
  .header-area .main-nav .nav li {
    border-top: 1px solid #ddd;
    background-color: #f1f0fe;
    height: 50px;
    border-radius: 0px 0px 25px 25px;
  }
  .header-area .main-nav .nav {
    height: auto;
    flex-basis: 100%;
  }
  .header-area .main-nav .logo {
    position: absolute;
    left: 30px;
    top: 0px;
  }
  .background-header .main-nav .logo {
    top: 0px;
  }
  .background-header .main-nav .border-button {
    top: 0px !important;
  }
  .header-area .main-nav .border-button {
    position: absolute;
    top: 15px;
    right: 70px;
  }
  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active {
    color: #ee626b!important;
    opacity: 1;
  }
  .header-area.header-sticky .nav li.search-icon a {
    width: 100%;
  }
  .header-area .nav li:last-child a {
    background-color: transparent !important;
    font-weight: 300 !important;
    text-transform: capitalize !important;
  }
  .header-area {
    padding: 0px 15px;
    height: 80px;
    box-shadow: none;
    text-align: center;
  }
  .header-area .container {
    padding: 0px;
  }
  .header-area .logo {
    margin-left: 0px;
  }
  .header-area .menu-trigger {
    display: block !important;
  }
  .header-area .main-nav {
    overflow: hidden;
  }
  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    display: none;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
    margin-left: 0px;
  }
  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }
  .header-area.header-sticky .nav {
    margin-top: 80px !important;
  }
  .background-header.header-sticky .nav {
    margin-top: 80px !important;
  }
  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  
}

/* 
---------------------------------------------
Banner Style
--------------------------------------------- 
*/

.main-banner {
  /*display: flex;*/
  align-items: center;
  vertical-align: middle;
  /*height: auto;*/
  overflow: hidden;
  min-height: 360px !important;
}

.main-banner .item {
  width: 100%;
  height: 100%;
  padding-top: 2rem;
  padding-bottom: 10rem;
  padding-left: 8%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.main-banner .banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -1;
}

.main-banner .item-1 {
  position: relative;
  z-index: 1;
}

.item.item-1 .header-text {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center start;
  height: 100%; /* Ajusta la altura según sea necesario */
}


.main-banner .item span.category {
  background-color: #fff;
  color: #1e1e1e;
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  padding: 6px 15px;
  display: inline-block;
  margin-bottom: 30px;
}

.main-banner .item span.category em {
  font-style: normal;
  /*color: #f35525;*/
  color: #00008B;
}

.main-banner .item h2 {
  font-size: 4rem;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0px;
}

.text-stroke {
  -webkit-text-stroke: 1px #00008B;
  font-size: 2rem;
}

.main-banner .owl-dots {
  position: absolute;
  bottom: 60px;
  left: 20%;
}

.main-banner .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  transition: all .5s;
}

.main-banner .owl-dots .active {
  background-color: #f35525;
}

.main-banner .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50px);
}

.main-banner .owl-nav .owl-prev i,
.main-banner .owl-nav .owl-next i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 24px;
  display: inline-block;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 1;
  transition: all .3s;
}

.main-banner .owl-nav .owl-prev i {
  position: absolute;
  left: 45px;
}

.main-banner .owl-nav .owl-next i {
  position: absolute;
  right: 45px;
}

.main-banner .owl-nav .owl-prev i:hover,
.main-banner .owl-nav .owl-next i:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.5);
}



/* 
---------------------------------------------
Featured Style
--------------------------------------------- 
*/

.featured .left-image {
  position: relative;
}

.featured .left-image img {
  padding-left: 55px;
}

.featured .left-image a {
  display: inline-block;
  width: 110px;
  height: 110px;
  line-height: 110px;
  background-color: #f35525;
  border-radius: 50%;
  text-align: center;
  position: absolute;
  left: 0;
  bottom: -55px;
}

.featured .section-heading {
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 60px;
}

.featured .section-heading h2 {
  width: 70%;
}

.featured {
  margin-left: 10px;
  margin-right: 10px;
  --bs-accordion-border-radius: 10px;
  --bs-accordion-inner-border-radius: 10px;
  --bs-accordion-bg: #fafafa;
  --bs-accordion-border-color: none;
  border: none !important;
}

.accordion {
  margin-left: 10px;
  margin-right: 10px;
  /*--bs-accordion-border-radius: 10px;
  --bs-accordion-inner-border-radius: 10px; */
  --bs-accordion-bg: #fff;
  --bs-accordion-border-color: none;
  border: none !important;
}

.featured {
  border-bottom: 1px solid #eaeaea;
}

.featured {
  box-shadow: none;
  font-size: 17px;
  font-weight: bold;
  font-weight: 500;
  color: #00008B;
}

.accordion-button {
  color: #00008B;
  background-color: #fff !important;
  outline: none;
}

.featured .accordion-button::after {
  display: none;
}

.featured #headingThree {
  border-bottom: none;
}

.featured .accordion-item:last-of-type .accordion-collapse {
  border-top: 1px solid #eaeaea;
}

.featured .info-table {
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
}

.featured .info-table ul li {
  display: block;
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid #eee;
}

.featured .info-table ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.featured .info-table ul li img {
  float: left;
  margin-right: 25px;
}

.featured .info-table ul li h4 {
  font-size: 22px;
  font-weight: 600;
}

.featured .info-table ul li h4 span {
  font-size: 15px;
  color: #aaa;
  font-weight: 400;
}

.justify {
  text-align: justify;
  /*font-size: 16px;*/
}

.nosotros-desripcion {
  font-size: 16px;
}

.sub-title-nosotros {
  font-size: 22px;
}

.nosotros-lema {
  font-family: "Brush Script MT", cursive !important;  
  font-size: 64px;
  color: #00008B;
}

.nosotros-lema1 {
  text-align-last: left;
}

.nosotros-lema2 {
  text-align-last: right;
}

.container-nosotros p {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* 
---------------------------------------------
Video Style
--------------------------------------------- 
*/

.video {
  background-image: url(../img/images/empresas-clientes.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 80px 0px 80px 0px;
  position: relative;
}

.video-content {
  margin-top: -240px;
}

.video .section-heading h2 {
  color: #fff;
}

.video-content .video-frame {
  position: relative;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.video-content .video-frame img {
  border-radius: 10px;
}

.video-content .video-frame a {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-26px, -26px);
  width: 52px;
  height: 52px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  line-height: 52px;
  color: #f35525;
  outline: 15px solid rgba(254, 85, 37, 0.5);
  font-size: 18px;
}

/* 
---------------------------------------------
Fun Facts Style
--------------------------------------------- 
*/

.fun-facts {
  text-align: center;
  margin-top: 125px;
}

.fun-facts .counter {
  background-color: #ffeee9;
  position: relative;
  border-radius: 10px;
  width: 270px;
  padding: 20px 0px;
  display: inline-block;
}

.fun-facts .counter h2,
.fun-facts .counter p {
  display: inline-flex;
  vertical-align: middle;
}

.fun-facts .counter p {
  text-align: left;
  font-size: 16px;
  color: #1e1e1e;
  font-weight: 600;
  line-height: 28px;
}

.fun-facts .counter h2 {
  margin-right: 25px;
  font-size: 40px;
  color: #f35525;
}

.fun-facts .counter:after {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: #f35525;
  border-radius: 50%;
  content: '';
  right: -25px;
  top: -25px;
}


/* 
---------------------------------------------
Best Deal Style
--------------------------------------------- 
*/

.best-deal {
  /*background-color: #fafafa;*/
  background-color: #f4f0f0;
  padding: 60px 0px;
}

.best-deal .tab-content img {
  padding: 0px 45px;
}

.best-deal .tabs-content .nav-link {
  font-size: 16px;
  font-weight: 500;
  background-color: #1e1e1e !important;
  border-radius: 5px;
  height: 50px;
  line-height: 50px;
  display: inline-block;
  padding: 0px 25px;
  color: #fff;
}

.best-deal .tabs-content .nav-tabs .nav-link.active {
  background-color: #f35525 !important;
  color: #fff;
}

.best-deal .tabs-content ul.nav-tabs {
  border-bottom: none !important;
  margin-bottom: 80px;
  align-items: end;
  justify-content: end;
  margin-top: -130px;
}

.best-deal .tabs-content ul.nav-tabs li {
  padding-right: 0px;
  border-right: none;
  margin-left: 20px;
}

.best-deal .info-table {
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 24px 24px;
}

.best-deal .info-table ul li {
  display: block;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 15px;
  color: #aaa;
  font-weight: 400;
}

.best-deal .info-table ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.best-deal .info-table ul li span {
  font-size: 16px;
  color: #1e1e1e;
  font-weight: 700;
  float: right;
  display: inline-block;
}

.best-deal .tabs-content {
  padding: 0px;
  background-color: transparent;
}

.best-deal .tabs-content h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 30px;
}

.best-deal .icon-button {
  margin-top: 30px;
}


/* 
---------------------------------------------
Properties Style
--------------------------------------------- 
*/

.title {
  padding-bottom: 60px;
}

.title-top {
  padding-top: 60px;
}

.title-30 {
  padding-top: 60px;
  padding-bottom: 30px;
}



.properties .item {
  background-color: #fafafa;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
}

.properties .item img {
  border-radius: 10px;
}

.properties .item span.category {
  background-color: #fbd9cf;
  font-weight: 500;
  border-radius: 5px;
  font-size: 14px;
  color: #1e1e1e;
  padding: 5px 12px;
  display: inline-block;
  margin-top: 25px;
}

.properties .item h4 {
  font-size: 19px;
  margin: 25px 0px;
}

.properties .item h4 a {
  color: #1e1e1e;
}

.properties .item ul li {
  display: inline-block;
  font-size: 15px;
  color: #4a4a4a;
  margin-right: 20px;
}

.properties .item ul li span {
  font-weight: 600;
  color: #1e1e1e;
}

.properties .item ul {
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 30px;
  padding-bottom: 30px;
}

.properties .item h6 {
  font-size: 20px;
  color: #f35525;
  margin-top: 6px;
  display: inline-block;
  float: right;
  margin-top: 30px;
}

.properties .item .main-button {
  text-align: center;
}


/* 
---------------------------------------------
Contact Style
--------------------------------------------- 
*/

.contact {
  background-image: url(../img/images/contactos_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 100px 0px 250px 0px;
  position: relative;
}

.contact .section-heading h2 {
  color: #fff;
}

.contact-content {
  margin-top: -240px;
  position: relative;
  z-index: 1;
}

#map {
  height: 100%;
}

.contact-content #map {
  border-radius: 10px;
}

.contact-content .item {
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
  background-color: #fff;
  height: 100%;
}

.contact-content .phone {
  margin-right: 2px;
}

.contact-content .item.whatsapp {
  vertical-align: middle;
}

.contact-content .email {
  margin-left: 2px;
}

.contact-content .item img {
  float: left;
  margin-right: 14px;
  vertical-align: middle;
}

.contact-content .item h6 {
  font-size: 14px;
  font-weight: 600;
  vertical-align: middle;
}

.contact-content .item h6 span {
  font-size: 14px;
  color: #aaaaaa;
  font-weight: 400;
}

.contact-content #contact-form {
  /*margin-left: 24px;*/
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 28px 30px;
  background-color: #fff;
}

.contact-content #contact-form label {
  font-size: 15px;
  color: #3a3a3a;
  margin-bottom: 15px;
}

.contact-content #contact-form input {
  width: 100%;
  height: 38px;
  border-radius: 22px;
  background-color: #f6f6f6;
  border: none;
  margin-bottom: 28px;
  font-size: 14px;
  padding: 0px 15px;
}

.contact-content #contact-form textarea {
  width: 100%;
  height: 150px;
  max-height: 180px;
  border-radius: 22px;
  background-color: #f6f6f6;
  border: none;
  margin-bottom: 40px;
  font-size: 14px;
  padding: 15px 15px;
}

.contact-content #contact-form button {
  background-color: #00008B;
  height: 44px;
  border-radius: 22px;
  padding: 0px 20px;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 500;
  transition: all .5s;
}

.contact-content #contact-form button:hover {
  background-color: #f35525;
}

/* 
---------------------------------------------
Footer Style
--------------------------------------------- 
*/

footer.footer-no-gap {
  margin-top: 0px;
}

footer {
  margin-top: 150px;
  background-color: #1e1e1e;
  min-height: 100px;
}

footer p {
  text-align: center;
  line-height: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

footer p a {
  color: #fff;
  transition: all .3s;
  position: relative;
  z-index: 3;
}

footer p a:hover {
  opacity: 0.75;
}


/* 
---------------------------------------------
Page Header Style
--------------------------------------------- 
*/

.page-heading {
  background-image: url(../img/images/page-heading-bg.jpg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 110px 0px;
  text-align: center;
}

.page-heading span {
  background-color: #fff;
  color: #1e1e1e;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px 25px;
  display: inline-block;
  margin-bottom: 30px;
}

.page-heading span a {
  color: #1e1e1e;
}

.page-heading h3 {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}


/* 
---------------------------------------------
Properties Style
--------------------------------------------- 
*/

.properties ul.properties-filter {
  list-style: none;
  text-align: center;
  margin-bottom: 70px;
}

.properties ul.properties-filter li {
  display: inline-block;
  margin: 5px 8px;
}

.properties ul.properties-filter li a {
  display: inline-block;
  text-align: center;
  font-size: 15px;
  text-transform: capitalize;
  font-weight: 500;
  color: #fff;
  background-color: #1e1e1e;
  padding: 12px 25px;
  border-radius: 5px;
  transition: all .3s;
}

.properties ul.properties-filter li a.is_active {
  background-color: #f35525;
  color: #fff;
}

.properties ul.properties-filter li a.is_active:hover {
  color: #fff;
}

.properties ul.properties-filter li a:hover {
  color: #f35525;
}

.properties ul.pagination {
  margin-top: 50px;
  text-align: center;
  width: 100%;
  display: inline-block;
}

.properties ul.pagination li {
  display: inline-block;
  margin: 0px 5px;
}

.properties ul.pagination li a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #1e1e1e;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  /*border-radius: 50%;*/
  transition: all .3s;
}

.properties ul.pagination li a:hover,
.properties ul.pagination li a.is_active {
  background-color: #f35525;
  color: #fff;
}


/* 
---------------------------------------------
Single Page Style
--------------------------------------------- 
*/

.single-property .main-image img {
  float: none;
}

.single-property .main-content h4 {
  font-size: 25px;
  margin-top: 25px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.single-property .main-content span.category {
  background-color: #fbd9cf;
  font-weight: 500;
  border-radius: 5px;
  font-size: 14px;
  color: #1e1e1e;
  padding: 5px 12px;
  display: inline-block;
  margin-top: 40px;
}

.single-property .accordion {
  margin-top: 60px;
  margin-left: 0px;
  margin-right: 0px;
  --bs-accordion-border-radius: 10px;
  --bs-accordion-inner-border-radius: 10px;
  --bs-accordion-bg: #fafafa;
  --bs-accordion-border-color: none;
  border: none !important;
}

.single-property {
  border-bottom: 1px solid #eaeaea;
}

.single-property .accordion-button {
  box-shadow: none;
  font-size: 17px;
  font-weight: bold;
  color: #00008B;;
}

.single-property .accordion-button:not(.collapsed) {
  color: #00008B;
  background-color: #fafafa;
  outline: none;
}

.single-property .accordion-button::after {
  display: none;
}

.single-property #headingThree {
  border-bottom: none;
}

.single-property .accordion-item:last-of-type .accordion-collapse {
  border-top: 1px solid #eaeaea;
}

.single-property .info-table {
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
  margin-left: 60px;
}

.single-property .info-table ul li {
  display: block;
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid #eee;
}

.single-property .info-table ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.single-property .info-table ul li img {
  float: left;
  margin-right: 25px;
}

.single-property .info-table ul li h4 {
  font-size: 22px;
  font-weight: 600;
}

.single-property .info-table ul li h4 span {
  font-size: 15px;
  color: #aaa;
  font-weight: 400;
}


/* 
---------------------------------------------
Contact Page Style
--------------------------------------------- 
*/

.contact-page #map {
  margin-top: 100px;
}

.contact-page .section-heading {
  margin-bottom: 40px;
  margin-right: 280px;
}

.contact-page p {
  margin-bottom: 50px;
}

.contact-page .item {
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
  background-color: #fff;
  display: inline-block;
  min-width: 360px;
}

.contact-page .phone {
  margin-bottom: 30px;
}

.contact-page .item img {
  float: left;
  margin-right: 25px;
  vertical-align: middle;
}

.contact-page .item h6 {
  font-size: 20px;
  font-weight: 600;
  vertical-align: middle;
}

.contact-page .item h6 span {
  font-size: 15px;
  color: #aaaaaa;
  font-weight: 400;
}

.contact-page #contact-form {
  margin-left: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
  background-color: #fff;
}

.contact-page #contact-form label {
  font-size: 15px;
  color: #3a3a3a;
  margin-bottom: 15px;
}

.contact-page #contact-form input {
  width: 100%;
  height: 44px;
  border-radius: 22px;
  background-color: #f6f6f6;
  border: none;
  margin-bottom: 30px;
  font-size: 14px;
  padding: 0px 15px;
}

.contact-page #contact-form textarea {
  width: 100%;
  height: 150px;
  max-height: 180px;
  border-radius: 22px;
  background-color: #f6f6f6;
  border: none;
  margin-bottom: 40px;
  font-size: 14px;
  padding: 15px 15px;
}

.contact-page #contact-form button {
  background-color: #1e1e1e;
  height: 44px;
  border-radius: 22px;
  padding: 0px 20px;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 500;
  transition: all .5s;
}

.contact-page #contact-form button:hover {
  background-color: #f35525;
}

.contact-item .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 1000;
  width: 50px; /* Ajusta el tamaño */
  height: 50px; /* Ajusta el tamaño */
  border-radius: 50%; /* Hace el botón circular */
  background-color: #007bff; /* Cambia el color de fondo */
  color: #fff; /* Color del ícono */
  opacity: 0.8;
  transition: opacity 0.3s;
  font-size: 20px; /* Tamaño del ícono */
  display: flex;
  align-items: center;
  justify-content: center;
}

#scrollToTopBtn:hover {
  opacity: 1;
}



/* 
---------------------------------------------
Responsive Style
--------------------------------------------- 
*/

body {
  overflow-x: hidden;
}

.fixed-size { 
  width: auto; 
  height: 150px; /* Ajusta la altura según necesites */ 
  object-fit: contain; /* Mantiene la proporción de la imagen */
}

.card-title, .card-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  
  line-height: 1.2em; /* Ajusta la altura de línea según necesites */
  height: 2.4em; /* Multiplica la altura de línea por el número de líneas */
  position: relative;
}

.card-title::after, .card-text::after {
  content: ''; /* Contenido vacío para generar el efecto */
  display: inline-block;
  width: 100%;
  height: 1.2em; /* Altura de una línea */
}

/* noticias banner */
.news-banner {
  display: grid;
  gap: 10px;
  padding: 10px;
  grid-template-columns: repeat(4, 1fr);
  width: 74%;
  margin: 0 auto;
}

.news { 
  /*background-color: #f2f2f2;*/
  border-radius: 5px; 
  text-align: start; 
} 

.news-title {
  margin-top: 10px;
}
  
.news img { 
  width: 100%; 
  height: 240px;  
  object-fit: cover; 
  border-radius: 4px;
} 
  
.news h4 { 
  font-size: 0.9em; 
  margin: 10px 0 0 0; 
}

.news a { 
  text-decoration: none; 
  color: inherit; 
  display: block; 
}

.img-default {
  height: 100%;
  width: 100%;
  
}

.modal-body-custom img { 
  max-width: 40%; /* Ajusta este valor según sea necesario */ 
  height: auto; 
  display: block; 
  margin-left: auto; 
  margin-right: auto; /* Centra la imagen horizontalmente */ 
}

.left-side, #imagen-noticia { 
  max-width: 100%; 
  height: auto;
  display: block; 
} 

.left-side { 
  flex: 0 0 40%; /* Ajusta el ancho de la columna izquierda */
}

.right-side { 
  flex: 1;
  margin-left: 15px;
  margin-right: 15px;
}

#noticias-grid .news-item { 
  cursor: pointer;
}

/* noticias section */
.news-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.secondary-news {
  grid-column: 2 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Distribuir en 2 columnas */ 
  grid-template-rows: 1fr 1fr; /* Distribuir en 2 filas */
  gap: 20px;
}

.news-item {
  background-color: #ffffff;
  /* padding: 15px; */
  /* border: 1px solid #dee2e6; */
  border-radius: 5px;
  flex-direction: column;
  justify-content: space-between;
}

.news-img {
  width: 100%;
  height: 250px; /* Ajusta la altura según necesites */
  object-fit: cover;
  border-radius: 5px;
}

.news-img-large { 
  max-width: 100% !important;
  width: 100% !important; 
  height: 500px !important; /* Ajusta la altura para el panel grande */ 
  object-fit: cover; 
  border-radius: 5px; 
}

.news-item h6 { 
  font-size: 1rem; 
  margin-top: 10px; 
  margin-bottom: 5px; 
} 

.news-item p { 
  font-size: 0.9rem; 
  color: #6c757d; 
}

.news-item .timestamp { 
  bottom: 10px; 
  left: 15px; 
  display: flex; 
  align-items: center; 
  font-size: 0.85rem; 
  color: #6c757d; 
} 

.news-item .timestamp i { 
  margin-right: 5px; 
}

.placeholder { 
  background: #f0f0f0; 
  border-radius: 5px; 
  height: 100%; 
  animation: pulse 1.5s infinite; 
} 

@keyframes pulse { 
  0% { background-color: #f0f0f0; } 
  50% { background-color: #e0e0e0; } 
  100% { background-color: #f0f0f0; }
}

.news-thumbnails { 
  display: flex; 
  justify-content: space-between; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 25%; 
  background: rgba(255, 255, 255, 0.8); 
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); 
  border-radius: 10px;
  /*z-index: 10; /* Valor alto para asegurar que se muestre encima */
} 

.icon-overlay { 
  position: absolute; 
  top: 10%; 
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex; 
  flex-direction: row; 
  align-items: center;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s;
} 

.icon-overlay i { 
  background: rgba(0, 0, 0, 0.7);; 
  padding: 10px; 
  margin: 5px; 
  border-radius: 50%; 
  font-size: 16px; 
  color: #fff; 
  width: 32px; 
  height: 32px; 
  display: flex; 
  justify-content: center; 
  align-items: center;
}

.card:hover .icon-overlay { 
  opacity: 1; /* Mostrar al pasar el cursor */ 
}

.custom-modal {
  position: absolute; 
  top: 0; 
  left: 0; 
  margin: 0; 
  padding: 0; 
} 

.modal-dialog-custom { 
  max-width: none; 
  width: 100%;
  height: 100%;
} 
  
.modal-content-custom { 
  height: 100%;
}

/* productos section */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 10px;
}

.producto-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 350px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  padding: 10px;
}

.producto-item-text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.producto-item img {
  padding-bottom: 10px;
}

.producto-item p {  
  font-size: 0.9rem;
}

.producto-item:hover {
  cursor: pointer;
}

.producto-item h5, .producto-item h4 {
  text-align: start;
}

.producto-item h5 {
  padding-top: 10px;
  font-size: 1rem;
}

.producto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.producto-title h4 {
  font-size: 1.2rem;
  color: #00008B;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: start;
}



/* services section */

#servicios {
  margin-top: 60px;
}

.service-section { 
  /*padding: 60px 0; */
  background-color: #f8f9fa; 
} 

.service-item { 
  display: grid; 
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  overflow: hidden; 
  padding: 10px 10px;
} 

.service-details p::first-line { 
  text-indent: 0; 
}

.service-details p { 
  position: relative;
}

.service-details strong { 
  display: block; 
  text-align: left; 
}

.image-column { 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between; 
} 

.image-column img { 
  width: 100%; 
  height: 100%;
  max-height: 1000px;
  object-fit: cover;
  padding-bottom: 8px;
  object-position: center;
}

.service-details {
  display: grid; 
  grid-template-columns: 1fr 1fr; /* Dos columnas para los items */
  gap: 12px 8px;
}

.service-details h4 { 
  grid-column: span 2; /* El título ocupa ambas columnas */ 
  margin-bottom: 20px; 
  font-size: 1.75rem; 
  color: #343a40;
} 

.service-details p::first-line { 
  text-indent: 0; 
}

.service-box {
  margin: 10px 0px;
  position: relative;
  border: 4px solid #25508c;
  padding: 20px 10px 10px 10px;
  transition: border-color 0.3s ease;
}

.our-service-section {
  position: relative;
  background-color: #07254f;
  padding: 50px 0;
  overflow: hidden;
}

.service-box:hover {
  border-color: white;
}

.our-service-title {
  color: white;
  text-align: left;
  margin-bottom: 30px;
  font-size: 28px;
}

.service-box  p {
  font-size: 14px;
  color: white;
}

.service-box  h3, .service-box h4 {
  color: white;
}

.our-service-text {
  color: white;
}

.our-service-section::before {
  content: "\f57e";
  color: #0b2e5e;
}

.icon-box {
  position: absolute;
  top: -20px;
  left: 20%;
  transform: translateX(-50%);
  background-color: #07254f;
  padding: 0px 14px;
}

.icon-box i {
  color: white;
  font-size: 34px;
}

.service-details p {
  text-align: start;
} 

/* services section otros servicios */

.services-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  padding: 20px; 
} 

.services-item { 
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

.services-item i {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
}

.services-item strong {
  color: white;
  position: absolute;
  top: 10px;
  font-size: 18px;
  left: 3em; /* Ajusta este valor según el tamaño de tu icono */
}

.services-item p {
  flex: 1; /* Ocupa todo el espacio restante */
  margin-top: 3em; /* Agrega un margen superior para separar el texto del icono */
  padding: 10px;
  text-align: start;
}

/* services section grupo salazar */

.services-item-col p { 
  font-size: 18px;
  margin-left: 10px;
} 

.services-item-col i, .services-item-col p { 
  display: flex; 
  align-items: self-start; 
 } 
 
.services-item-col i { 
  padding-top: 5px;
  margin-right: 10px; 
} 

.services-item-col { 
  display: grid; 
  align-items: center; 
  font-size: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  grid-template-columns: repeat(1, 1fr); 
} 

.services-item-col p { 
  margin: 0; 
}

.service-container {
  display: flex; 
  flex-direction: column; 
  align-items: flex-end
}

.sub-title { 
  color: #00008B;
}

/* nosotros */
.grid-empresas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  justify-items: center;
  align-items: center;
}

/* Moviles */
@media (max-width: 767px) {

    figure {
      height: 180px !important; /* Ajusta la altura mínima para dispositivos móviles */
    }

  .main-banner { 
    height: calc(100vh - 100px);
  }

  .header-area .main-nav .logo h1 {
    line-height: 80px !important;
  }
  .best-deal .tabs-content .nav-link {
    font-size: 14px;
    padding: 0px 15px;
    height: 44px;
    line-height: 44px;
  }
  .best-deal .tabs-content ul.nav-tabs li {
    margin: 0px 5px;
  }
  .properties ul.properties-filter li a {
    font-size: 14px;
    padding: 10px 15px;
  }
  .properties ul.properties-filter li {
    margin: 5px;
  }
  .header-area .main-nav .nav li:last-child {
    display: none;
  }

  .news-banner {
    display: grid;
    padding: 4px;
    gap: 4px;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .news h6 { 
    font-size: 0.8rem;
    text-align: start;
  }

  .main-banner { 
    position: relative;
    padding: 0px;
    /* max-height: 475px; */
  }

  .nosotros-lema {
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 2.4rem;
  }

  .service-box { 
    margin: 0px;
  }
  .container .service-box h4 {
    font-size: 1rem;
    padding: 4px !important;
  }

  .container .service-box h3 {
    font-size: 1.5rem;
    padding: 4px !important;
  }

  .service-details {
    grid-template-columns: 1fr; 
    grid-template-rows: 1fr;
  }

  .service-item {
    grid-template-columns: 1fr; 
    grid-template-rows: 1fr;
  }

  .services-grid { 
    grid-template-columns: 1fr; 
    grid-template-rows: 1fr;
    gap: 10px; 
    padding: 10px; 
  }

  .main-banner .item {
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    margin: 0 auto;
  }
  
  .title {
    padding-right: 10px;
    padding-left: 10px;
  }

  .price-band h3, .price-band h4 { 
    font-size: 1rem; 
    color: #00008B; 
    margin: 4px;
    padding: 4px;
    text-align: justify;
  }

  .news-section { 
    display: grid;
    grid-template-columns: 1fr;
  } 
  
  .news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
  }

  .news-img-large {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 5px;
  }

  .productos-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .contact-item {
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .main-banner .item h2 {
    font-size: 2.4rem !important;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0px;
  }

  .grid-empresas {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  
  .producto-item-text {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    min-height: 80px;
  }
  
  .producto-item {
    height: 300px !important; 
  }

  .producto-item img {
    height: auto;
    width: 100%;
  }

  .producto-item p {
    font-size: 0.8rem;  
  }

  .productos-grid {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 4px;
  }

  #map {
    height: 400px;
    padding-bottom: 10px;
  }

  .contact {
    padding-top: 10px;
  }
  .section {
    margin-top: 30px;
  }
  
  .grid-details {
    grid-row-start: 2;
  }

  .grid-imagen {
    grid-row-start: 1;
  }

}

/* Tablets y otros dispositivos medianos*/

@media (max-width: 992px) {

    figure {
      height: 220px !important; /* Ajusta la altura mínima para tabletas */
    }

  .main-banner { 
    height: calc(100vh - 100px);
  }

  .main-banner .owl-carousel {
    height: 500px; /* Establece una altura máxima para el carrusel */
    overflow: hidden; /* Asegura que el contenido no se desborde */
  }

  .main-banner .item {
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 1rem;
    padding-bottom: 4rem ! important;
    margin: 0 auto;
  }

  .sub-header {
    display: none;
  }
  .header-area .main-nav .logo h1 {
    line-height: 100px;
  }
  .background-header .main-nav .logo h1 {
    line-height: 80px;
  }
  .header-area .main-nav .nav li a {
    padding-left: 3px;
    padding-right: 3px;
  }
  .header-area .main-nav .nav li:last-child a {
    padding-right: 15px;
  }
  .featured .section-heading {
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 10px;
  }
  .featured .accordion {
    margin-left: 0px;
    margin-right: 0px;
  }
  .featured .info-table {
    margin-top: 45px;
  }
  .fun-facts .counter {
    margin-bottom: 45px;
  }
  .best-deal .section-heading {
    text-align: center;
  }
  .best-deal .tabs-content ul.nav-tabs {
    margin-top: 0px;
    justify-content: center;
  }
  .best-deal .info-table {
    margin-bottom: 45px;
  }
  .best-deal .tab-content img {
    padding: 0px;
  }
  .best-deal .tabs-content h4 {
    margin-top: 45px;
  }
  .properties .item h6 {
    text-align: center;
    margin-bottom: 15px;
  }
  .properties .item .main-button {
    text-align: center;
  }
  .properties .item ul li {
    margin-right: 10px;
    font-size: 13px;
  }
    
  .single-property .info-table {
    margin-left: 0px;
    margin-top: 45px;
  }
  .contact-page .section-heading {
    margin-right: 0px !important;
  }
  .contact-page #contact-form {
    margin-left: 0px;
    margin-top: 60px;
  }
  .best-deal .info-table ul li span {
    float: right !important;
    width: auto !important;
  }
  
  .secondary-news { 
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
  }

  .main-banner .item h2 {
    font-size: 3.6rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0px;
  }
  
  .grid-empresas {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-banner {
    width: 100%;
    gap: 8px;
    padding: 8px;
  }

  .producto-item-text {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    min-height: 100px;
  }
  
  .producto-item {
    height: 250px;
  }

  .producto-item p {
    font-size: 0.8rem;  
  }

  .productos-grid {
    grid-template-columns: repeat(3, 1fr); 
    gap: 8px;
  }
  

}

@media (max-width: 1200px) {
  .best-deal .info-table ul li span {
    float: none;
    width: 100%;
  }
  .contact-page .section-heading {
    margin-right: 100px;
  }
  .main-banner .item {
    padding-left: 4%;
    padding-right: 4%;
    padding-top: 1.5rem; 
    padding-bottom: 1.5rem;
    margin: 0 auto;
  }
  .news img { 
    height: 200px;  
  }

  #contenido-noticia h4, #contenido-noticia h5 {
    font-size: 1.4rem;
  }

  #contenido-noticia h5 {
    font-size: 1.2rem;
  }

  #contenido-noticia p {
    font-size: 0.9rem;
  }

}

@media (min-width: 2560px) {

  figure {
    height: 400px !important; /* Ajusta la altura mínima para pantallas grandes */
  }


  .main-banner .item h2 {
    font-size: 8rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0px;
  }

  .news img {
    height: 400px;
  }
}

@media (max-width: 480px) {

  .main-banner .item {
    padding-left: 4%; /* Espacio mínimo para pantallas muy pequeñas */
    padding-right: 1%;
    padding-top: 0.5rem;
    padding-bottom: 4rem;
    margin: 0 auto;
  }

  .swiper {
    height: auto !important;
  }

  .swiper-slide {
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .grid-item {
    margin-bottom: 4px;
  }

  figure {
    height: 150px !important; /* Ajusta la altura mínima para tabletas */
  }

  figcaption {
		/*bottom: -50% !important;*/
		padding: 8px !important;
		line-height: 1.5;
		transition: 0.25s;
		h3 {
			margin: 0 0 8px !important;
			padding: 0;
		}
		p {
      color: #eaeaea;
			font-size: 1.1 rem !important;
			line-height: 1.4 !important;
		}
		button {
			position: relative;
			display: flex;
			align-items: center;
			justify-content: center;
			margin: 10px 0 0;
			padding: 10px 30px;
			background-color: var(--color-2);
			border: none;
			border-radius: 5px;
			color: white;
			font-size: 14px;
			cursor: pointer;
		}
	}

  .title-top {
    padding-top: 24px;
  }

  .title {
    padding-bottom: 24px;
  }

  .card-body.card-clientes {
    padding: 6px;
  }

  .testimonial-slider {
    padding: 0.5em;
  }

}

@media (min-width: 1400px) {

  figure {
    height: 220px !important; /* Ajusta la altura mínima para pantallas grandes */
  }

  #clientesSwiper {
    padding-left: 80px !important;
    padding-right: 80px !important;
  }


}

/* Escritorio (1024px - 1399px) */
@media (min-width: 1024px) and (max-width: 1399px) {

  figure {
    height: 200px !important; /* Ajusta la altura mínima para pantallas medianas */
  }

  #clientesSwiper {
    padding-left: 60px !important;
    padding-right: 60px !important;
  }

}

.swiper {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {

  text-align: center;
  font-size: 18px;
  background: #fff;
  height: calc((100% - 30px) / 2);

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}


.asociaciones-descripcion {
  font-size: 0.8rem;
  /*line-height: 1.5em;         /* Altura de una línea */
  /*min-height: calc(1.5em * 3); /* Mínimo 3 líneas */
}

figure {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 300px;
	border-radius: 10px;
	box-shadow: 
		0 1px 3px rgba(0,0,0,0.12), 
		0 1px 2px rgba(0,0,0,0.24);
	transition: all 0.4s cubic-bezier(.25,.8,.25,1);
	overflow: hidden;
	&:hover {
    /*
		box-shadow: 
			0 14px 28px rgba(0,0,0,0.25), 
			0 10px 10px rgba(0,0,0,0.22);*/
		h1 {
			opacity: 0;
			transform: scale(0.8);
		}
		img {
			transform: scale(0.8);
		}
		figcaption {
			bottom: 0;
		}
	}
	h1 {
		position: absolute;
		top: 50px;
		left: 20px;
		margin: 0;
		padding: 0;
		color: white;
		font-size: 60px;
		font-weight: 100;
		line-height: 1;
		opacity: 1;
		transform: scale(1);
		transition: 0.25s ease;
		z-index: 999;
	}

	img {
		height: 100%;
		transition: 0.25s;
	}

	figcaption {
		position: absolute;
		bottom: -90%;
		left: 0;
		width: 100%;
		margin: 0;
		padding: 16px;
		background-color: rgba(black,0.85);
		box-shadow: 0 0 20px rgba(black,0.4);
		color: white;
		line-height: 1;
		transition: 0.25s;
		h3 {
			margin: 0 0 20px;
			padding: 0;
		}
		p {
      color: #eaeaea;
			font-size: 1.6 rem !important;
			line-height: 1.75;
		}
		button {
			position: relative;
			display: flex;
			align-items: center;
			justify-content: center;
			margin: 10px 0 0;
			padding: 10px 30px;
			background-color: var(--color-2);
			border: none;
			border-radius: 5px;
			color: white;
			font-size: 14px;
			cursor: pointer;
		}
	}
}


html figure {
	font-family: 'Roboto', sans-serif;
	font-smooth: auto;
	font-weight: 300;
	line-height: 1.5;
	color: #444;
}

body figure {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.box {
  background-color: var(--color-1);
  transition-duration: var(--base-duration);
}

.grid-item { 
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 10px; 
}

.grid-sizer,
.grid-item--width1 {
  width: 33.333%;
}

.grid-item--width2 {
  width: 66.666%;
}

.grid-item--width4 {
  width: 25%;
}

.grid-item--width5 {
  width: 20%;
}

.grid-item--width3 {
  width: 100%;
}

.grid-sizer,
.grid-item--width0 {
  width: 50%;
}

.grid-item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  height: auto;
}


.testimonial-slider {
  background-color: #5072a7;
  padding: 2em 2em 3em;
}

.testimonial-title {
  color: #fff;
}

.testimonial-title h2 {
  padding-left: 0.2em;
}

.testimonial.card {
  margin: 0 0.5em;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
  height: 100%;
}