@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


body {
  padding-top: 40px;
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  background-repeat: no-repeat;
  background-size: cover;
}

#logo {
  background: url('../img/logo-inicio.png') no-repeat center center;
  background-size: contain;
  display: block;
  width: 100px;
  height: 40px;
  position: fixed;
  top: 8px; 
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050; 
  text-indent: -9999px;
}


@media screen and (min-width: 992px) {
  #logo {
    left: 10%; 
    top: 5px;
  }
}

html, body {
  overflow-x: hidden;

}

@media screen and (max-width: 992px) {
  nav ul li {
    
    margin: 0.35rem 0;
    border-radius: 10px;
    
  }

  .nav-link {
    padding: 0.5rem;
    color: #fbdfdf;
    border-radius: 10px;
    background-color: #8B5138;
    margin-top: 0.3rem;
    font-size: 1rem;
  }

}
@media screen and (min-width: 992px) {
  .nav-link {
    padding: 0.25rem 1rem; 
    margin-right: 1rem;  
    border-radius: 10px;
    color: #ffffff;
    transition: background-color 0.3s, color 0.3s;
  }

  .nav-link:hover,
  .nav-link:focus {
    background-color: #8B5138;
    color: #ffffff;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    margin-right: 0;
  }
}

.mi-navbar {
  background-color: #C07C63;
}

/* 🌿 Base (mobile) */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 70vh;
  padding: 1.5rem;
  color: #5b2e1f;
  text-align: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  border-radius: 16px;
  max-width: 90%;
}

.hero h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #a15c3e;
  font-weight: 550;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  line-height: 1.2rem;
  
 
}

.btn {
  background-color: #a15c3e;
  color: #fff;
  padding: 0.2rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 400;
  transition: 0.3s;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    justify-content: flex-end;
    text-align: left;
    padding-right: 8%;
     height: 90vh;
  }

  .hero-content {
    max-width: 540px;
    background: none;
  }

  .hero h2 {
    font-size: 2.5rem;
    font-weight: 600;
  }

  .hero p {
    font-size: 1.1rem;
    line-height: 1.5rem;
  
  }

.btn{
    padding: 0.3rem 3rem;
    font-size: 1rem;
}

  .btn:hover {
  background-color: #BF7B62;
  color: #ffffff;
}
}




.card-title{
 font-size: 1rem;
    color: #5b2e1f;

}
  
.card-text{
color: #5b2e1f;
font-size: 0.8rem;

}

#servicios h2{
color: #a15c3e;
}

.mb-5 {
    color: #5b2e1f;
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.btn-agendar{
    font-size: 0.8rem;
}

@media screen and (min-width: 992px){
    .card-title{
 font-size: 1rem; 

}
  
#servicios h3{
  font-size: 1rem;
}



.card-text{
color: #5b2e1f;
font-size: 0.5rem;

}


.mb-5 {
    color: #5b2e1f;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
}

.btn-agendar{
    font-size: 0.8 rem;
}
}




#consejos { 
    padding-bottom: 2rem;
 }

    #consejos h2 {
      color: #a15c3e;
      font-weight: 600;
      margin-bottom: 25px;
      font-size: 1.5rem;
    }

    #consejos p.lead {
      color: #8a5a47;
      margin-bottom: 1.5rem;
      font-size: 0.95rem;
    }

    /* Wrapper que hace de "carrusel" en mobile */
    .consejos-carrusel {
      display: flex;
      gap: 1rem;
      overflow-x: auto;
      padding-bottom: 0.75rem;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x mandatory;
    }

    /* Cada "slide" */
    .consejo-item {
      flex: 0 0 85%;
      scroll-snap-align: start;
      max-width: 520px;
    }

    .consejo-card {
      border: 0;
      border-radius: 12px;
      overflow: hidden;
      background: #ffffff;
      box-shadow: -8px 8px 20px rgba(36, 14, 11, 0.10);
    }

    .consejo-card img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 190px;
    }

    .consejo-card .card-body {
      padding: 18px;
    }

    .card-title {
      color: #5b2e1f;
      font-size: 1rem;
      margin-bottom: 1rem;
    }

    .card-text {
      color: #5b2e1f;
      font-size: 0.8rem;
      line-height: 1.4;
    }

    .consejos-carrusel::-webkit-scrollbar { display: none; } /* oculta scrollbar en webkit */

    /* --- Desktop: cambia a grilla de 3 columnas --- */
    @media (min-width: 992px) {
      .consejos-carrusel {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        overflow: visible;
        padding-bottom: 0;
      }

      .consejo-item {
        flex: none;
        max-width: none;
      }

      .consejo-card img {
        height: 200px;
      }

      .card-title { font-size: 1.2rem; }
      .card-text { font-size: 0.9rem; }

      #consejos{
        padding-bottom: 4rem;
        padding-top: 3rem;
      }

      #consejos h2{
        font-size: 2rem;
        padding-bottom: 2rem;
        font-weight: 500;
      }
     
    

    }


#contacto {
  background-color: #fffaf8;
  color: #5b2e1f;
}

#contacto h3 {
  color: #a15c3e;
  font-size: 1.4rem;
}

.form-agendar .form-control {
  border-radius: 8px;
  border: 1px solid #d8b8a6;
}

.btn-agendar {
  background-color: #a15c3e;
  color: white;
  border-radius: 8px;
  font-size: 0.9rem;
}

.btn-agendar:hover {
  background-color: #5b2e1f;
}

/* Íconos de redes */
.social a {
  color: #a15c3e;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social a:hover {
  color: #5b2e1f;
}

/* Desktop */
@media (min-width: 992px) {
  #contacto .row {
    align-items: start;
  }

  .mapa-container iframe {
    height: 350px;
  }
}


footer{
  background-color:#d4af7f ;
  text-align: center;
  line-height: 2.5rem;
  color: #592A1A;
  font-size: 0.8rem;
  padding-bottom: 0;
  margin-bottom: 0;
}


@media screen and (min-width: 992px) {
 footer{
    font-size: 1rem;
 }
}



