:root{
    --fondo_index: #ffffff;
    --color_texto_index:#ffff;
    --color_texto_slider: #ffffff;
    --hover_texto: rgb(199, 148, 21);
    --hover_claro: #f0c14b;
    --header-text-color: #fff;
    --color_texto: #333;
  }
  /* Reset */
    @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

  * {
    margin: 0; padding: 0; box-sizing: border-box;
  }
  body {
    font-family: 'Montserrat', sans-serif;
    background: var(--fondo_index);
    color:var(--color_texto);
    width: 100%;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  section{
    padding: 0 ;
  }

  main {
    margin-top: 90px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  /* SLIDER PRINCIPAL */
 .slider {
  width: 100%;
  height: 45rem;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}
.slides {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
}
.slide {
  position:relative;
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}
  .slide-content {
    position: absolute;
    top: 20%;
    left: 7%;
    color: var(--header-text-color);
    text-shadow: 0 0 8px rgba(0,0,0,0.6);
    max-width: 350px;
  }
.slide img {
  width: 100%;
  height: 100%;
}
  .slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.3rem;
  }
  .slide-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  .slide-content .btn-group a {
    display: inline-block;
    padding: 0.5rem 1.3rem;
    border-radius: 25px;
    border: 2px solid var(--header-text-color);
    margin-right: 1rem;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    color: var(--color_texto_slider);
    cursor: pointer;
  }
  .slide-content .btn-group a:hover {
    background-color: var(--fondo_index);
    color: var(--hover_texto);
  }

@media (max-width: 600px) {
  .slider {
    width: 100%;
    height: 10rem;
    overflow: hidden;
    position: relative;
  }
  .slide-content {
    position: absolute;
    max-width: 100%;;
    color: var(--header-text-color);
    text-shadow: 0 0 8px rgba(0,0,0,0.6);

  }
  .slide-content h2 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

    .slide-content .btn-group a {
      font-size: 0.8rem;
  }
}
  
  /* Flechas */
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #333;
    font-weight: bold;
    font-size: 1.8rem;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
  }
  .arrow:hover {
    background-color: var(--hover_texto);
    color: var(--fondo_index);
  }
  .arrow-left {
    left: 15px;
  }
  .arrow-right {
    right: 15px;
  }

@media (max-width: 600px) {
  .arrow {
    width: 20px;
    height: 20px;
    font-size: 1.2rem;
  }
  .arrow-left {
    left: 7px;
    text-align: center;
  }
  .arrow-right {
    right: 10px;
    text-align: center;
  }
}    

/*PRESENTACION*/
.presentacion_section{
  background-color: black;
}
.presentacion_container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-bottom:2rem ;
}
.presentacion_titulo{
  color: var(--color_texto_index);
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  padding: 3rem;
  text-align: center;
}

.presentacion_titulo::after{
      content: "";
    display: block;
    margin: 0.5rem auto 0 auto;
    height: 3px;
    width: 90%;
    background: linear-gradient(90deg, var(--hover_texto), var(--hover_claro));
    border-radius: 4px;
}
.presentacion_cont-video{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4rem; /* Espacio entre videos */
  padding-bottom: 1rem;
}
.presentacion_video{
  width: 520px;
  height: 440px;
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(199, 148, 21, 0.8);
  object-fit: cover;
  background: #000;
  transition: opacity 0.7s;
}

#video2{
  opacity:0.4;
}

@media (max-width: 600px) {
  .presentacion_titulo {
    font-size: 1.2rem;
    padding: 1rem;
    margin-top: 1rem;
  }
  .presentacion_video {
    width: 100%;
    height: 20rem;
    margin-bottom:1rem ;
  }
  .presentacion_cont-video {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 400px) {
  .presentacion_titulo {
    font-size: 1rem;
    padding: 0.5rem;
    text-align: center;
  }

}
/*SERVICIOS*/
/* Servicios - Fondo y estilos generales */
.services-section {
  position: relative;
  background: url('../img/servicios.jpeg') no-repeat center center/cover;
  color: var(--color_texto_index);
  text-align: center;
  font-family: 'Arial', sans-serif;
  overflow: hidden;
  min-height: 10rem;
  color: #fff;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.services-section h2 {
  position: relative;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 4rem;
  z-index: 1;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
}

.services-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  width: 100%;
  padding-bottom: 6rem;
}

.service-card {
  flex: 1 1 33%;
  max-width: 390px;
  min-width: 260px;
  box-sizing: border-box;
  text-align: center;
  border: solid 0.2rem rgba(255, 255, 255, 0.089);
  padding: 2rem;
  opacity: 1;
  transform: none;
  box-shadow: 0 8px 32px 0 rgba(242, 242, 242, 0.18);
  border-radius: 1.2rem;
  transition: transform 0.25s, box-shadow 0.25s;
  background: rgba(255, 255, 255, 0.062);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(10px) scale(1.03);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

.service-card-img-container {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 180px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}

.service-card_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.service-card p {
  font-weight: 400;
  text-align: justify;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 280px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 900px) {
  .services-container {
    gap: 2rem;
    padding-bottom: 4rem;
  }
  .service-card {
    max-width: 95vw;
    min-width: 200px;
    flex: 1 1 45%;
  }
}

@media (max-width: 700px) {
  .services-section {
    padding: 3rem 0.5rem;
    min-height: 0;
  }
  .services-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  .services-container {
    gap: 1.2rem;
    padding-bottom: 2rem;
  }
  .service-card {
    max-width: 100%;
    min-width: 160px;
    flex: 1 1 100%;
    padding: 1.2rem 0.5rem;
  }
  .service-card-img-container {
    max-width: 120px;
  }
}

/* Preguntas Frecuentes */
.preguntas-frecuentes {
    margin-top: 0rem;
    
    /*border-radius: 2rem;*/
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    width: 100%;
    background-image:url("../img/fondo preguntas.jpeg");
    /*filter: brightness(50%);*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}
.preguntas-frecuentes::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* negro con 40% opacidad */
  pointer-events: none;  /* no bloquea interacciones */
  z-index: 1;
}

.preguntas-frecuentes_titulo {
    position:relative;
    z-index: 2;
  font-size: 2rem;
  color: var(--color_texto_index);
  margin-bottom: 1.8rem;
  font-weight: 700;
}

.texto-oculto {
    position:relative;
    z-index: 2;
    color: var(--color_texto_index);
    font-size: 1.3rem;
    text-align: justify;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-height: none; /* quita max-height */
    overflow: visible;
    padding-bottom: 0.7rem;
    padding: 1rem;
}

.contenedor:hover .texto-oculto {
  transform: scaleY(1);
  opacity: 1;
}

.contenedor {
    background-color: rgba(78, 77, 77, 0.4);
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    border: solid 0.2rem;
    border-color: rgb(56, 56, 54);
    box-shadow: rgba(0, 0, 0, 0.8) 0px 4px 12px 0px;
    padding-bottom: 0.2rem;
}

.texto-visible{
    position:relative;
    z-index: 2;
    color: var(--color_texto_index);
    margin: auto;
    padding: 1rem;
    font-size: 1.5rem;
}

.disable{
  display: none !important;
}

/* Estilos adicionales para las preguntas frecuentes */
.texto-visible {
  cursor: pointer;
  transition: color 0.3s ease;
}

.texto-visible:hover {
  color: var(--hover_claro);
}

.contenedor.activo {
  background-color: rgba(199, 148, 21, 0.1);
}

.contenedor.activo .texto-visible {
  color: var(--hover_claro);
}

/* Ajustes responsivos para preguntas frecuentes */
@media (max-width: 900px) {
  .preguntas-frecuentes {
    padding: 8rem 1rem;
  }
  .preguntas-frecuentes_titulo {
    font-size: 1.5rem;
  }
  .contenedor {
    width: 100%;
    padding: 0.5rem 0.5rem;
  }
  .texto-visible {
    max-width: 90%;
    font-size: 1.1rem;
    padding: 0.7rem;
  }
  .texto-oculto {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .preguntas-frecuentes {
    padding: 2.5rem 0.3rem;
    gap: 0.7rem;
  }
  .preguntas-frecuentes_titulo {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  .contenedor {
    padding: 0.3rem 0.2rem;
    font-size: 0.95rem;
  }
  .texto-visible {
    max-width: 100%;
    font-size: 1rem;
    padding: 0.5rem;
  }
  .texto-oculto {
    font-size: 1rem;
    padding-bottom: 0.3rem;
  }
}

/* Botón flotante de WhatsApp */
/* Agrega esto en tu CSS global o header.css */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 2.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  background-color: #20ba5a;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 600px) {
  .whatsapp-float {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    bottom: 15px;
    right: 15px;
  }
}

