* {
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Inria Serif", serif;
}


html{
    scroll-behavior: smooth;
}

/* HERO */

.hero{
      position: relative;
    min-height: 72vh;
    display: grid;
    place-items: center;
    color: #E7EDF4;
    background-image: linear-gradient(180deg, rgba(7, 17, 23, 0.65), rgba(7, 17, 23, 0.65)), url(../images/hero.webp);
    background-size: cover;
    background-position: center;
    border-radius: 0px 0px 190px 0px;
}


.hero__inner{
  width: 100%;
  max-width: 1400px;
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero__content{
  display: flex;
    flex-direction: column;
  padding: 172px 20px 10px 20px;
}


.hero__eyebrow{
  letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 16px;
    color: white;
    margin: 0 0 10px;
    font-weight: lighter;
}

.hero__title{
  margin: 0 0 22px;
    font-weight: 700;
    line-height: 1.2;
    font-size: 52px;
    color: white;
    position: relative;
    padding-bottom: 18px;
    margin-right: 10px;
}

.hero__title span{
  color: #FFEECE;
}

/* línea divisoria sutil bajo el título */
.hero__title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, rgba(231,237,244,.6), rgba(231,237,244,0));
}


.hero__media{ 
  display: grid; 
  place-items: center; 
  margin-top: 40px;
}

.portrait{
    position: relative;
    width: 300px;
}
.portrait img{
  width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.btn-cta{
  margin-top: 40px;
}

.btn-hero{
  margin: auto;
}


/* INTRO */

.intro-secc {
    background-image: linear-gradient(#ffffff, #ffffff6e), url(../images/flor.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 100px 10px;
}

.intro-main{
  display: flex;
    flex-direction: column;
    gap: 65px;
    text-align: center;
}

.intro-h2{
  color: #364151;
    font-size: 18px;
    font-weight: lighter;
    text-transform: uppercase;
    letter-spacing: 8px;
}

.intro-h2 span{
  font-size: 52px;
    text-transform: none;
    font-weight: 500;
    letter-spacing: 2px;
}

.intro-txt{
  color: #364151;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 38px;
    font-weight: lighter;
}

.intro-btn-div{
  display: flex;
    flex-direction: column-reverse;
    gap: 28px;
}

.btn-sobre{
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #364151;
  padding: 12px 32px;
  border-radius: 4px;

  border: 1px solid transparent; 
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, #595190, #DCD2FC) border-box;

  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: box-shadow .3s ease, transform .2s ease;
  width: 200px;
}

.btn-sobre:hover {
  transform: translateY(-2px);
  box-shadow: 0px 6px 12px rgba(0,0,0,0.25);
}

/* SERVICIOS */

.serv-secc {
    overflow: hidden;
    padding: 60px 10px;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    margin: auto;
}

.box-div{
  display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.box{
  display: flex;
    align-items: end;
    padding: 40px 20px;
    cursor: pointer;
    height: 320px;
    width: 280px;
    transition: box-shadow .3s ease, transform .2s ease;
}

.box:hover {
  transform: translateX(2px);
  box-shadow: 0px 6px 12px rgba(0,0,0,0.25);
}

.prof{
  background-image: url(../images/cuadro-1.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;  
}

.per{
  background-image: url(../images/cuadro-2.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;  
}

.tdah{
  background-image: url(../images/cuadro-3.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;  
}

.serv-subtit{
  color: white;
  letter-spacing: 2px;
  font-size: 32px;
  line-height: 28px;
}

.serv-subtit span{
  font-size: 14px;
  font-weight: lighter;
  text-transform: uppercase;
  letter-spacing: 6px;
}

.serv-tit{
  margin-bottom: 48px !important;
  text-align: center;
}

/* SESIONES */

.sesiones-sec{
  padding: 60px 10px;
  overflow: hidden;
}

.sesiones-iz{
  display: flex;
  justify-content: center;
}

.sesiones-iz img{
  width: 240px;
  height: auto;
}

.ses-ul{
  width: 80%;
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin: 40px auto;
}

.ses-tit{
  margin-bottom: 48px;
  text-align: center;
}

.ses-li{
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.ses-img{
  width: 10%;
}

.sesList-dr{
  width: 90%;
  max-width: 720px;
  display: flex;
    flex-direction: column;
    gap: 20px;
}

.sesLis-tit{
  color: #364151;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sesLis-txt{
  color: #364151;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: lighter;
}

/* TESTIMONIOS */

.tes-sec{
  margin: 140px 0px;
  max-width: 1200px;
}

.tes-div-tit{
  display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 54px;
}

.tes-h2{
  text-align: center;
}


/* TESTIMONIOS CARRUSEL */

/* --- Layout base --- */
.testimonials { padding: 16px 0; }

.carousel { position: relative; max-width: 100%; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; gap: 16px; will-change: transform; transition: transform .4s ease; }

/* Slide (tu estilo original ajustado) */
.test-arr{
  flex: 0 0 88%; /* casi pantalla completa en mobile */
      max-width: 288px;
    height: 384px;
  margin-inline: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 24px;
  justify-content: center; align-items: center;
  padding: 32px 20px;
  background: #fff;
}

.tes-img{ display:flex; align-items:center; gap: 12px; }
.tes-img img{ width:40px; height:40px; object-fit:contain; }
.nom-tes{
  color:#364151; text-transform:uppercase; font-size:18px; letter-spacing:2px;
}
.txt-tes{
  color:#364151; font-size:14px; letter-spacing:1px; font-weight:300; line-height:1.8;
  text-wrap:pretty;
}

/* Puntos */
.carousel__dots{
  display:flex; justify-content:center; gap:16px; margin-top:18px;
}
.carousel__dots button{
  width:8px; height:8px; border-radius:50%;
  background:#d4d4d4; border:0; padding:0; cursor:pointer;
}
.carousel__dots button[aria-current="true"]{ background:#595190; }


/* FAQ */

/* Contenedor */
.faq {
  max-width: 900px;
  margin: 40px auto;
    padding: 180px 0px;
   background-image: linear-gradient(#ffffffc7, #ffffff38), url(../images/flor.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: max-content;
    overflow: hidden;
        display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-h2{
  text-align: center;
  margin-bottom: 68px;
}

.faqlista{
  list-style-type: disc;         /* el bullet */
  list-style-position: outside;  /* por defecto; prueba inside si hace falta */
  padding-left: 1.25rem;         /* espacio para el bullet */
  margin: 0 0 1rem;       
}

/* Tarjetas */
.faq__item {
  border: 1px solid #E5E7EB; /* gris claro */
  border-radius: 8px;
  background: #fff;
  margin-bottom: 28px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  max-width: 772px;
 }

/* Cabecera clickeable */
.faq__summary {
  list-style: none; /* quita el triángulo nativo */
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
}

.faq__summary::-webkit-details-marker { display: none; } /* Safari/Chrome marker */

.faq__question {
  font-size: 16px;
  color: #364151;
  letter-spacing: 2px;
  flex: 1;
}

/* Flecha */
.faq__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  stroke: #364151;
  stroke-width: 2;
  fill: none;
  transition: transform .25s ease;
}

/* Contenido con animación (max-height) */
.faq__content {
  padding: 0 18px 16px;
  color: #364151;
  line-height: 1.6;
  letter-spacing: .2px;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.22,.61,.36,1),
    opacity .35s ease;;
}
.faq__content > * {
  overflow: hidden;
  line-height: 45px;
  padding: 40px 10px;
}

/* Estados abiertos */
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__item[open] .faq__content { grid-template-rows: 1fr; }

/* Hover/focus */
.faq__summary:hover { background: #F8FAFC; }
.faq__summary:focus-visible {
  outline: 2px solid #595190;
  outline-offset: 2px;
}

/* WHATSAPP */
  
 #whatsapp-logo {
   position: fixed;
   bottom: 20px;
   right: 20px;
   z-index: 1000;
   cursor: pointer;
   transition: transform 0.3s ease-in-out;
   transform: translateX(200%); /* Start hidden off the screen */
   float: right;
 }
 
 .logo-whatsapp{
   color: #4FCE5D;
   font-size: 64px;
 }

 .logo-whatsapp:hover{
   box-shadow: 0px 4px 4px rgba(252, 251, 251, 0.25);
   transform: translateY(-2px) translateX(2px) scale(1);
   transition: transform 0.3s ease-in-out;
}



@media (min-width: 425px){

  /* HERO */

  .portrait{
    width: 380px;
  }

  /* INTRO */

  .intro-secc {
    padding: 100px 40px;
  }

  /* SESIONES */

  .sesiones-sec{
    padding: 40px 40px;
  }

  /* FAQ */

  .faq{
    padding: 180px 10px;
  }
}

@media (min-width: 600px){
  .test-arr{ flex-basis: 75%; }
}

@media (min-width: 700px){

  /* HERO */

  .hero__content {
    padding: 220px 80px 10px 80px;
}

  /*INTRO*/

  .intro-main{
    align-items: center;
}

  .intro-txt{
    width: 90%;
  }

  .intro-btn-div{
    flex-direction: row;
  }

 /* FAQ */

  .faq{
    padding: 180px 40px;
  }

}

@media (min-width: 768px) {
  .faq__summary { padding: 18px 20px; }

}

@media (min-width: 900px){

  /* HERO */


  .hero{
    min-height: 98vh;
    padding: 110px 0px 0px 24px;
    background-position: center 30%;
    border-radius: 0px 0px 200px 0px;
  }
  .hero__inner{
    display: flex;
    align-items: end;  
    gap: 40px;
    height: 100%;
  }


  .hero__media{
    display: flex;
    justify-content: flex-end; 
    align-items: flex-end;     
    width: 40%;
  }

  .portrait{
    width: 410px;
    margin: 0; 
  } 

  .hero__content{ 
    margin: auto 0px;
    width: 60%;
    padding: 0px 0px 0px 40px;
  }

  .hero__eyebrow{
    font-size: 22px;
    letter-spacing: 8px;
  }


  .hero__title{ font-size: clamp(44px, 5vw, 64px); }

  .btn-hero {
    margin: unset;
}

  /* INTRO */

  .intro-secc{
    background-image: linear-gradient(#ffffffd1, #ffffff6e), url(../images/flor.webp);
    background-size: contain;
    padding: 180px 80px;
  }

  .intro-txt{
    max-width: 870px;
  }

  .intro-main{
    gap: 45px;
  }

   /*SESIONES */

   .sesiones-sec{
    display: flex;
    flex-direction: row;
    padding: 120px 40px 80px 0px;
   }

   .sesiones-iz{
    width: 40%;
   }

   .sesiones-dr{
    width: 60%;
   }

   .sesiones-iz img{
    width: unset;
    height: 600px;
    position: relative;
    right: 240px;
    top: 180px;
   }

   .ses-tit{
  text-align: left;
  }


}

@media (min-width: 1000px){

  /* SERVICIOS */

  .serv-tit {
    text-align: left;
}

/* SESIONES */

  .sesiones-iz img{
    top: 0px;
  }


}

@media (min-width:1200px){
  .tes-sec {
    margin: 140px auto;
}
  .carousel__viewport{ overflow: visible; }
  .carousel__track{
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr)); /* ajusta cantidad */
    gap: 20px;
    transform: none !important; /* por si quedó algo inline */
  }
  .test-arr{ flex: initial; width: auto; margin: 0; }
  .carousel__dots{ display: none; } /* ocultar paginación */
}


@media (min-width: 1280px){
  .hero__title{ font-size: clamp(48px, 4.4vw, 72px); }
  .hero__title::after{ width: 280px; }
}



  