p{
  width: min(100%, 720px);
}

.flex{
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  align-items: start;

  & > *{
    flex: 1 0 520px;
  }
}

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  background: var(--principal);
  width: 44px;
  height: 44px;
  border-radius: 0;
  font-size: 16px;
  color: #fff;
  display: grid;
  place-items: center;
}

.boton-whatsapp {
  position: fixed;
  bottom: 8rem;
  right: 12px;
  z-index: 100;
  text-decoration: none;
  -webkit-animation: scale-up-center 0.4s cubic-bezier(0.39, 0.575, 0.565, 1)
    0.5s 6 alternate-reverse both;
  animation: scale-up-center 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) 0.5s 6
    alternate-reverse both;
  transition: all 0.2s ease-in-out;
}

.boton-whatsapp:hover {
  -webkit-filter: drop-shadow(5px 5px 5px rgba(190, 190, 190, 0.7));
  filter: drop-shadow(5px 5px 5px rgba(190, 190, 190, 0.7));
}

@media screen and (width >=800px) {
  .boton-whatsapp::before {
    content: "Escríbenos";
    font-size: 14px;
    color: white;
    background-color: #2eda2e70;
    border: 3px solid white;
    padding: 8px;
    text-decoration: none;
    border-radius: 8px;
  }
}

@keyframes scale-up-center {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1);
  }
}
@-webkit-keyframes scale-up-center {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1);
  }
}

nav {
  position: fixed;
  width: 100%;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background-color: var(--blanco);
  box-shadow: var(--shadow);
  z-index: 100;
}

.logo_nav{
  display: flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}

.navegacion > a,
.navegacion > div,
.dropdown-content a{
  text-decoration: none;
  height: min-content;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 16px;
  color: var(--accion);
}

.navegacion > a:hover,
.dropdown-content a:hover{
  transform: scale(1.05);
  color: var(--accion);
}

.navegacion span,
.logo_nav span{
  display: none;
}

@media screen and (min-width: 1024px) {
  .navegacion span,
  .logo_nav span{
    display: inline-block;
    font-size: 16px;
    font-weight: 900;
  }

}

.buscador:target{
  display: grid;
}

.cerrar:target .buscador{
  display: none;
}

.navegacion{
  margin-left: auto;
  display: flex;
  gap: 1em;
  align-items: center;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 32px;
  left: 0;
  background-color: #f9f9f9;
  width: max-content;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 20px;
  z-index: 10;
  border-radius: var(--radius);
}

.dropdown:hover .dropdown-content{
  display: grid;
  gap: 8px;
}
/****** boton arriba ******/
.scroll-top {
  transition: all 0.4s;
}

.scroll-top:hover {
  background: var(--accion);
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 60px;
}

/******** botones principal y secundario ********/
.boton{
  padding: 16px 24px;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: min(100%, 320px);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 1em;
}

.boton1 {
  color: #ffffff;
  background: var(--accion);
}

.boton1:hover {
  color: #ffffff;
  box-shadow: var(--shadow);
  transform: scale(1.015);
}

.boton2 {
  background-color: #fefefe;
  color: var(--accion);
  border: 2px solid var(--accion);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.boton2:hover {
  transform: scale(1.015);
  box-shadow: var(--shadow);
}
/****** HEADER LANDING ******/
.header_landing > div{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1em;
}

.header_landing .header_landing_texto{
  display: grid;
  align-content: center;
  gap: 1em;
  flex: 1 0 400px;
  max-width: 100%;
  padding: 2em 0;

  h1{
    text-align: left;
  }
}

.header_landing .header_landing_texto li{
  list-style: none;
}

.header_landing li span{
  color: var(--color-third);
  font-size: 1.3em;
  font-weight: 900;
}

.header_landing img{
  width: min(100%, 600px);
  filter: drop-shadow(-2px 2px 15px rgba(0, 0, 0, 0.7));
}

@media screen and (min-width: 1200px) {
  
  .header_landing img{
    width: min(100%, 720px);
  }
  
}

/****** HEADER HOME ******/
header{
  background: rgb(253,253,253);
  background: linear-gradient(8deg, rgba(253,253,253,1) 35%, rgba(221,221,221,1) 75%);
  overflow: hidden;
}

.header_home {
  padding-top: 120px;
  min-height: 70dvh;
}

.header_home > div{
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.header_home_texto{
  width: min(100%, 600px);

  h1{
    font-size: clamp(1rem, 0.942rem + 0.29vw, 1.16rem);
    font-weight: 400;
  }

  p{
    font-size: clamp(2.2rem, 1.982rem + 1.09vw, 2.8rem);
    font-weight: 700;
    letter-spacing: .4px;
    line-height: 1.12;
  }
}

@-webkit-keyframes zoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.header_informacional{
  position: relative;
  min-height: 50dvh;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 1em;

  img{
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: min(100%, 1280px);
  }
  
  & h1{
    color: var(--principal);
  }

  div{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    .boton{
      margin: 0;
    }
  }
}

.header_transaccional{
  background: rgb(253,253,253);
  background: linear-gradient(8deg, rgba(253,253,253,1) 41%, rgba(192,64,59,1) 75%, rgba(48,43,39,1) 98%);
  div h1{
        color: var(--principal);
        text-align: left;
    }
}
.datos{
  background-color: var(--gris);
  box-shadow: 0 0 0 100vmax var(--gris);
  clip-path: inset(0 -100vmax);
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;

  div span{
    font-size: 2.4em;
    font-weight: 900;
    font-family: var(--fuenteTitulos);
  }
}
/* Estilos para la sección del equipo */
.team {
  background: rgb(253,253,253);
  background: linear-gradient(8deg, rgba(253,253,253,1) 35%, rgba(221,221,221,1) 75%);
  position: relative;
}

.team h2 {
  color: var(--secundario);
}

.team p {
  max-width: 800px;
}

.member {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.member article {
  background-color: var(--blanco);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.member article:hover {
  transform: translateY(-5px);
}

.member img {
  width: 100%;
  height: 312px;
  object-fit: cover;
}

.member h3 {
  font-family: var(--fuenteTitulos);
  font-size: 1.5rem;
  color: var(--principal);
  padding: 12px 8px 0;
  text-align: center;
}

.member span {
  display: block;
  padding: 0 8px 12px;
  color: var(--complemento);
  font-size: 1rem;
  text-align: center;
}

@media (max-width: 768px) {
  .team h2 {
    font-size: 2rem;
  }

  .member {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .member img {
    height: 250px;
  }
}
/* Estilos para la sección de posts recientes */
.recent-posts {
  position: relative;
}

.recent-posts-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  position: relative;
  display: grid;
  place-items: center;
}

.posts-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-flow: dense;
  align-items: start;
  gap: 2rem;
}

.post-card {
  background-color: var(--blanco);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.post-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-img img {
  transform: scale(1.015);
}

.post-content {
  padding: 1.2rem;
}

.post-category {
  display: inline-block;
  background-color: var(--complemento);
  color: var(--blanco);
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  margin-bottom: 0.5rem;
}

.post-title {
  font-family: var(--fuenteTitulos);
  font-size: 1.15rem;
}

.post-title a {
  color: var(--principal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: var(--secundario);
}

.post-date {
  font-size: 0.9rem;
  color: var(--complemento);
}

@media (max-width: 768px) {
  .posts-container {
    grid-template-columns: 1fr;
  }
}
/* Estilos para el footer */
.footer-section {
  background-color: var(--principal);
  color: var(--blanco);
  padding: 4rem 0 0;
  font-family: var(--fuenteTexto);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;

}

.footer-section h3 {
  font-family: var(--fuenteTitulos);
  color: var(--secundario);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-section a {
  color: var(--blanco);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  transform: scale(1.015);
}

.btn-whatsapp {
  display: inline-block;
  background-color: #25D366;
  color: var(--blanco);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--complemento);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--secundario);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

.copyright-area {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  margin-top: 3rem;
}

.copyright-area .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.copyright-area p {
  margin: 0;
}

.copyright-area ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .copyright-area .wrapper {
    flex-direction: column;
    text-align: center;
  }

  .copyright-area ul {
    margin-top: 1rem;
    justify-content: center;
  }
}
/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--principal);
}

.hero-subtitle {
  max-width: 600px;
}

/* City Overview */
.city-overview,
.leben-advantages {
  padding: 4em 0;

  h2{
    text-align: left;
  }
}

.city-features {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.feature-card {
  flex: 1;
  background-color: var(--blanco);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 2rem;
  color: var(--secundario);
  margin-bottom: 1rem;
}

/* Advantages Section */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.advantage-item {
  text-align: center;
  padding: 1rem;
  background-color: var(--blanco);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Property Types */
.property-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.property-type-card {
  background-color: var(--blanco);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.property-type-card:hover {
  transform: translateY(-5px);
}

.property-img {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
  object-fit: cover;
}

.property-type-card h3,
.property-type-card p {
  padding: 0 1rem;
}

/* Leben Advantages */
.leben-advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.leben-advantage-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--blanco);
  box-shadow: var(--shadow);
}

/* Buying Tips */
.tips-carousel {
  display: flex;
  overflow-x: auto;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 1rem 0;
}

.tip-slide {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background-color: var(--blanco);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Market Perspective */
.market-info {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.market-graph,
.market-text {
  flex: 1;
}

.feature-card,
.advantage-item,
.property-type-card,
.leben-advantage-card,
.tip-slide {
  -webkit-animation: fadeIn 0.5s ease-out forwards;
  animation: fadeIn 0.5s ease-out forwards;
}

/* Accessibility and Responsiveness */
@media (max-width: 768px) {
  .city-features,
  .market-info {
    flex-direction: column;
  }

  .property-types-grid,
  .leben-advantages-grid {
    grid-template-columns: 1fr;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .content-wrapper {
    padding: 1rem;
  }
}

.buying-tips {
  padding: 4em 0;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .advantage-item,
  .property-type-card,
  .leben-advantage-card,
  .tip-slide {
    -webkit-animation: none;
    animation: none;
  }
}

/***** PAGINA DE PROPIEDAD *****/
.hero-venta {
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 496px), 1fr));
  place-items: center;
  overflow: hidden;

  & .venta_precio {
    position: relative;

    img {
      -o-object-fit: cover;
      object-fit: cover;
      max-width: 100%;
    }
    span {
      position: absolute;
      bottom: 10dvh;
      right: 0;
      z-index: 10;
      background: rgba(19, 4, 4, 0.4);
      padding: 12px;
      font-weight: 700;
      text-transform: capitalize;
      font-size: 2em;
      text-align: right;
      max-width: 240px;
      color: white;
    }
  }
}

.venta_caracteristicas {
  padding: 2em 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 1em;

  li {
    flex: 1 0 332px;
    max-width: 100%;
    padding: 16px 24px;
    display: grid;
    gap: 8px;
    border: 2px solid var(--gris);
    margin: 0;

    img {
      width: 32px;
    }
  }
}

.venta-body {
  display: grid;

  img{
    max-width: 100%;
  }
}

.gallery {
  padding: 2rem 0;
}

.gallery__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.gallery__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.gallery__item {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery__item:hover {
  transform: translateY(-5px);
}

.gallery__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.lightbox__image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .gallery__list {
    grid-template-columns: 1fr;
  }
}
.article-header {
  background-color: var(--principal);
  color: var(--blanco);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.article-header-content {
  position: relative;
  z-index: 2;
}
.article-title {
  text-align: left;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--principal);
}


#breadcrumbs {
  padding-top: 1em;
}

#breadcrumbs span {
  color: white;
}

.article-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.article-content {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  line-height: 1.8;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.sidebar {
  background-color: var(--gris);
  padding: 2rem;
  border-radius: var(--radius);
  div img{
    max-width: 296px;
  }
}
.sidebar h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.sidebar .btn-get-started {
  width: 100%;
  text-align: center;
}
.aside-recent-posts {
  margin-top: 2rem;
}
.aside-recent-posts .post-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.aside-recent-posts img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
}
.aside-recent-posts h4 {
  font-size: 1rem;
  margin: 0;
}

.share{
  padding: 1em;
  margin-bottom: 2em;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background-color: var(--gris);
}

#share-buttons {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}

#share-buttons:after {
  content: "";
  display: block;
  clear: both;
}

#share-buttons>div {
  position: relative;
  text-align: left;
  height: 40px;
  width: 40px;
  float: left;
  text-align: center;
  margin-right: 1em;
}

#share-buttons>div>svg {
  height: 40px;
  width: 40px;
  fill: var(--principal);
  margin-top: 10px;
  transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

#share-buttons>div>svg:hover {
  fill: var(--accion);
  transform: scale(1.5);
}

#share-buttons>div:hover {
  cursor: pointer;
}

.faq-section {
  max-width: 1024px;
  margin: 0 auto;
  padding: 6em 1em 4em;
}
.faq-intro {
  display: grid;
  place-items: center;
  margin-bottom: 2rem;

  h3{
    text-align: center;
  }
}
.faq-list {
  list-style-type: none;
  padding: 0;
}
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--gris);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  font-weight: bold;
  padding: 1rem;
  background-color: var(--gris);
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.faq-question:hover {
  background-color: var(--complemento);
  color: var(--blanco);
}
.faq-question::before {
  content: '+';
  margin-right: 0.5rem;
  font-weight: bold;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}
.faq-item:focus-within .faq-answer {
  max-height: 500px;
  padding: 1rem;
}
.faq-item:focus-within .faq-question::before {
  content: '-';
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background-color: var(--blanco);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}
.service-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accion);
  margin-bottom: 0.5rem;
}
.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.intro-text {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.service-card.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}
.contact-info {
  background-color: var(--gris);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.contact-info ul {
  list-style-type: none;
  padding: 0;
}
.contact-info li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.contact-info li::before {
  content: '👉';
  margin-right: 0.5rem;
}
.map-container {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.cta-section {
  background-color: var(--principal);
  color: var(--blanco);
  padding: 2rem;
  border-radius: var(--radius);
  margin-top: 2rem;
}
.cta-section h2 {
  color: var(--blanco);
}
.cta-list {
  list-style-type: none;
  padding: 0;
}
.cta-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}
.cta-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accion);
}
@media screen and (width <= 991px){
  .dropdown-content {
    top: 40px;
    left: -80px;
  }
  
}
@media (min-width: 768px) {
  .article-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.header {
  z-index: 997;
  position: absolute;
  height: 79px;
  background: transparent;
  width: 100%;
}
.header .logo img {
  max-height: 44px;
  min-height: 44px;
  margin-right: 4px;
  padding: 8px;
}
.header .logo span {
  font-size: clamp(1.25rem, 1.107rem + 0.71vw, 1.75rem);
  margin: 0;
  display: flex;
  align-items: center;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
}

.hero {
  width: 100%;
  position: relative;
  background-size: 128%;
  min-height: 60dvh;
  background: #fff;
  z-index: 0;
  padding: 200px 0 100px;
  height: auto;
}
.hero .title {
  color: #ffffff;
  font-weight: 900;
  font-size: clamp(2.2rem, 1.982rem + 1.09vw, 2.8rem);
  margin: 0 0 1em 0;
  line-height: 1;
}
.hero-main-image {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  height: 100%;
  -webkit-animation: crescendo 7.5s alternate infinite ease-in;
  animation: crescendo 7.5s alternate infinite ease-in;
}
@-webkit-keyframes crescendo {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.5);
  }
}
@keyframes crescendo {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.5);
  }
}
.image-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  display: block;
  background: linear-gradient(0deg, #000000, #000000 786px);
  opacity: 0.6;
}
.hero p {
  line-height: 1.14;
  font-size: 3rem;
  color: #ffffff;
  font-family: var(--font-default);
}
.hero h1 {
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 30px;
  font-size: clamp(1.125rem, 0.5vw + 1rem, 1.25rem);
}

.hero::after {
  display: none;
}
@media screen and (max-width: 1279px) {
  .hero {
    position: relative;
    background-size: cover;
    min-height: 501px;
    height: auto;
    background-repeat: no-repeat;
    background-color: #fff;
  }
}
@media (min-width: 768px) {
  .hero .btn-get-started {
    font-size: 14px;
  }
}
@media (max-width: 580px) {
  body {
    flex-direction: column;
  }
}

.overlay-left {
  position: absolute;
  left: -21%;
  width: 50%;
  top: -30%;
  bottom: 0;
  height: 2001px;
  z-index: -1;
  display: block;
  transition: all 0.5s ease-in-out 0s;
  background: linear-gradient(
    0deg,
    var(--accion),
    var(--accion) 786px
  );
  opacity: 9;
  transform: rotate(20deg);
}

@media screen and (max-width: 1279px) {
  .overlay-right,
  .overlay-left {
    display: none;
  }
}

.about{
  width: 100%;
  position: relative;
  overflow: hidden;
}

.about .overlay-right {
  position: absolute;
  right: -16%;
  width: 50%;
  top: -30%;
  bottom: 0;
  height: 2001px;
  z-index: -1;
  display: block;
  transition: all 0.5s ease-in-out 0s;
  background: rgb(254, 254, 254);
  background: linear-gradient(
    172deg,
    rgba(254, 254, 254, 1) 25%,
    rgba(182, 6, 0, 1) 68%
  );
  opacity: 9;
  transform: rotate(20deg);
  overflow: hidden;
}

.about h3 {
  font-size: 1.17em;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.about h3 span {
  font-size: 68px;
  width: 100%;
  display: block;
}

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

.about .content ul li {
  position: relative;
  color: var(--accion);
  margin-bottom: 15px;
  border-radius: 0;
  transition: all 0.3s ease-in-out;
  border: 1px solid #363636;
  padding: 10px;
  font-size: clamp(1.125rem, 0.5vw + 1rem, 1.25rem);
}

.about .content ul li:hover {
  position: relative;
  color: #484b4a;
}

.about .content ul li:hover i {
  color: var(--accion);
}

.about .content ul i {
  color: var(--accion);
}

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

.about .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(
    var(--accion) 50%,
    rgba(0, 131, 116, 0.4) 52%
  );
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.about .play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(0, 131, 116, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.about .play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.about .play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

.about .play-btn:hover:after {
  border-left: 15px solid var(--accion);
  transform: scale(20);
}

.content p {
  color: var(--principal);
}

@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes load {
  from {
    width: 0%;
  }
}

@-webkit-keyframes load {
  from {
    width: 0%;
  }
}

.bar {
  padding: 1px;
  border-radius: 15px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #ffffff;
  background: #f1f1f1;
  transition: all 0.3s ease-in-out;
  box-shadow: var(--shadow);
}

.bar::before {
  content: attr(data-skill);
  background-color: var(--accion);
  display: inline-block;
  padding: 5px 0 5px 10px;
  border-radius: inherit;
  animation: load 2s 0s;
  -webkit-animation: load 2s 0s;
  -moz-animation: load 2s 0s;
  -o-animation: load 2s 0s;
}

.bar.front::before {
  background-color: var(--accion);
}

.bar.back::before {
  background-color: var(--accion);
}

.bar.learning::before {
  width: calc(20% - 10px);
}

.bar.basic::before {
  width: calc(40% - 10px);
}

.bar.intermediate::before {
  width: calc(60% - 10px);
}

.bar.advanced::before {
  width: calc(80% - 10px);
}

.bar.expert::before {
  width: calc(100% - 10px);
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/

.clients .swiper {
  overflow: hidden;
}

.clients .swiper-slide img {
  transition: 0.3s;
  border-radius: 2px;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  background-color: #ddd;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accion);
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.cta-landing {
  background-color: var(--principal);
  box-shadow: 0 0 0 100vmax var(--principal);
  -webkit-clip-path: inset(0 -100vmax);
          clip-path: inset(0 -100vmax);
          
  div{
    width: min(100%, 992px);
    margin-inline: auto;
    padding: 4em 16px;
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
  }
}

.cta-landing ol li {
  list-style: decimal;
}

.cta-landing ol li::marker {
  font-size: 1.5em;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/

.stars {
  display: flex;
  justify-content: space-around;
  color: var(--secundario);
}

.counter-area {
  background: url("../images/cta-bg.webp");
  background-size: cover;
  border-radius: 0px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  color: #fff;
  position: relative;
  padding: 6em 0;
}

.counter-area::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  z-index: -1;
  background: var(--accion);
}

.counter-area ul li {
  color: #ffffff !important;
  margin: 0;
}

.counter-container {
  display: flex;
  flex-direction: column;
}

.counter-container h3 {
  margin-top: 1em;
}

.counter-container i {
  margin-bottom: 0px;
}

.counter-container ul {
  text-align: left;
}

.counter-container ul li {
  list-style: none;
  line-height: 33px;
}

.counter-container ul li:last-child {
  margin: 0;
}

.counter-container ul li:has(a) {
  margin-top: 1em;
}

.counter-container .icon {
  width: 100%;
  overflow: hidden;
}

.counter-container .icon img {
  width: 100%;
  border-radius: 16px;
}

.datos-h2 {
  text-align: left;
}

.counter {
  font-size: 122px;
  line-height: 100px;
  margin-top: 10px;
  font-weight: 300;
}

.counter-area span {
  margin-top: 0px;
}

#counter .container .row {
  align-items: center;
}

/*--------------------------------------------------------------
# Banner de noticias
--------------------------------------------------------------*/

.carousel_container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: var(--principal);
}

.carousel {
  white-space: nowrap;
}

.carousel .carousel_texto {
  display: flex;
  gap: 2em;
  padding: 80px 0 40px;
}

.carousel .carousel_texto p {
  font-size: 1.4em;
  color: white;
  font-weight: bolder;
  margin: 0;
  -webkit-animation: banner 15s infinite linear;
          animation: banner 15s infinite linear;
}

@-webkit-keyframes banner {
  from {
    transform: translateX(30%);
  }
  to {
    transform: translateX(-98%);
  }
}

@keyframes banner {
  from {
    transform: translateX(30%);
  }
  to {
    transform: translateX(-98%);
  }
}

@media screen and (min-width: 992px) {
  @-webkit-keyframes banner {
    from {
      transform: translateX(95%);
    }
    to {
      transform: translateX(-95%);
    }
  }
  @keyframes banner {
    from {
      transform: translateX(95%);
    }
    to {
      transform: translateX(-95%);
    }
  }
}
/* -------------------------------------------------------------- **
  Contact
 -------------------------------------------------------------- **/
.contacto {
  padding: 4em clamp(16px, calc(100% - 90vw), 20vw);
  margin: 2em 0;
  display: grid;
  gap: 2em;
  place-items: center;
  box-shadow: 0 0 0 100vmax var(--blanco);
  -webkit-clip-path: inset(0 -100vmax);
  clip-path: inset(0 -100vmax);
  min-height: 70vh;
}

.contacto h2,
.contacto p,
.contacto h3 {
  width: min(100%, 992px);
  text-align: center;
}

.blog-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 4em auto 2em;
  justify-content: center;
  align-items: center;
}

.blog-tags button {
  padding: 8px 20px;
  border: none;
  border-radius: var(--radius);
  background-color: var(--accion);
  font-weight: bolder;
  font-family: var(--fuenteTexto);
  font-size: 1rem;
  transition: all 0.15s ease-out;
  color: white;
}

.blog-tags button.active {
  background-color: white;
  color: var(--color-secondary);
  box-shadow: var(--shadow);
  border: solid 2px var(--color-secondary);
}

.blog-tags button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}

.post a {
  position: relative;
}

.post img {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: min(100%, 400px);
  height: 240px;
  -o-object-fit: cover;
     object-fit: cover;
}

.post a:hover img,
.post a:hover h3 {
  transform: scale(1.025);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.post a h3 {
  width: min(100%, 400px);
  border: solid 2px #eee;
  position: relative;
  background-color: white;
  padding: 8px;
  font-size: 18px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.post.hide {
  display: none;
}

.posts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
}

.container-clima {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

  button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
  }

  button:hover {
    background-color: #0056b3;
  }
}

#weatherInfo {
  margin-top: 20px;
  font-size: 1.2em;
}

.portafolio_item {
  display: flex;
  gap: 12px;
  flex-direction: row;
  justify-content: center;
}

.portafolio_item img {
  width: min(100%, 200px);
}

.portafolio_item div {
  display: grid;
  place-content: center;
  box-shadow: var(--shadow);
  padding: 20px;
  align-content: flex-start;
}

.portafolio_item div h3 {
  font-size: clamp(1.16rem, 1.145rem + 0.07vw, 1.2rem);
  font-weight: 700;
}

/* FORMULARIO DE CONTACTO */
.seccion_formulario{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
}

.seccion_formulario ol{
  flex: 1 0 320px;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  width: 350px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.title {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

.form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.group {
  position: relative;
}

.form .group label {
  font-size: 14px;
  color: rgb(99, 102, 102);
  position: absolute;
  top: -10px;
  left: 10px;
  background-color: #fff;
  transition: all .3s ease;
}

.form .group input,
.form .group textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  outline: 0;
  width: 100%;
  background-color: transparent;
}

.form .group input:placeholder-shown+ label, .form .group textarea:placeholder-shown +label {
  top: 10px;
  background-color: transparent;
}

.form .group input:focus,
.form .group textarea:focus {
  border-color: var(--color-secondary);
}

.form .group input:focus+ label, .form .group textarea:focus +label {
  top: -10px;
  left: 10px;
  background-color: #fff;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 14px;
}

.form .group textarea {
  resize: none;
  height: 100px;
}



.form button:hover {
  background-color: #c9251f;
}
/* caculadora de comisiones*/
/* Estilos generales */
.calculator-section h2 {
  font-size: 1.5rem;
  color: #333;
  text-align: center;
  margin-bottom: 1rem;
}

/* Sección de la calculadora */
.calculator-section {
  max-width: 400px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calculator-form .form-group {
  display: flex;
  flex-direction: column;
}

.calculator-form .form-group label {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.calculator-form .form-group input {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.calculator-form .form-group input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.calculator-form .btn {
  padding: 0.75rem;
  font-size: 1rem;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.calculator-form .btn:hover {
  background-color: #0056b3;
}

/* Estilo del resultado */
.calculator-form .result {
  font-size: 1.2rem;
  color: #333;
  text-align: center;
  margin-top: 1rem;
}

