/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter";
    background-color: #faf8f5;
    color: #333;
    line-height: 1.6;
}

/* Sección Presentación */
.presentacion {
    background-color: #EDE1DB; 
    padding: 40px 20px;
    margin: 70px;
    border-radius: 60px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contenido-presentacion {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

.foto-principal {
    width: 350px;
    border-radius: 20px;
    object-fit: cover;
    margin-left: 100px;
    margin-right: 150px;
}

.texto-principal {
    flex: 1;
    font-family: "Inter";
    max-width: 600px;
    text-align: center;
}

.texto-principal h1 {
    font-size: 36px;
    color: #909090;
    margin-bottom: 10px;
}

.texto-principal h2 {
    font-size: 26px;
    color: #9A91AC;
    margin-bottom: 20px;
}


.boton-turno {
    display: inline-block;
    font-size: 22px;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #9A91AC;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.boton-turno:hover {
    background-color: #814283;
}


/* Frase Impacto */
.frase-impacto {
    text-align: center;
    font-family: "inter";
    margin: 40px 20px;
    font-size: 26px; /* aumentamos el tamaño */
    color: #6b3d6f;   /* berenjena oscuro */
    font-weight: bold; /* para que resalte más */
    position: relative;
}


/* Sobre mí */
.sobre-mi {
    position: relative;
    background-color: #d8cfc4;
    padding: 30px 20px;
    margin: 70px;
    border-radius: 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;

}

/* Logo como marca de agua */
.sobre-mi::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('img/logo-marcaagua.png');
    background-repeat: no-repeat;
    background-size: 30%; /* Escalable y adaptable */
    background-position: center;
    opacity: 0.08;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Asegura que el contenido esté por encima */
.sobre-mi {
    position: relative;
    z-index: 1;

}

.contenido-sobre-mi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 200px; /* Aumenta el gap para dar mayor separación */
}

.texto-sobre-mi {
    max-width: 600px;
    text-align: center;
    font-family: "inter";
}

.texto-sobre-mi h2 {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ffffff;
    font-family: "inter";
}

.texto-sobre-mi p {
    font-size: 26px;
    color: #ffffff;
}

.foto-sobre-mi {
    width: 300px;
    margin-top: -20px;
    border-radius: 20px;
    object-fit: cover;
}

/* Estilos para la nueva sección */
.soy-barbara {
    background-color: #EDE1DB;
    padding: 40px 0;  /* Espaciado vertical */
}

.soy-barbara h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.soy-barbara p {
    font-size: 1.5rem;
    text-align: center;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Servicios */
.servicios {
    background-color: #f9f5f0;
    padding: 60px 20px;
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    font-family: "inter"; /* Fuente moderna */
}

.servicios h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #6b4f3b;
}

.swiper {
    width: 100%;
    max-width: 800px; /* Tamaño del carrusel ajustado */
    margin: auto;
}

.swiper-slide img {
    width: 100%;
    border-radius: 15px;
}

.descripcion-servicios {
    margin-top: 20px;
    font-size: 28px;
    color: #666;
}

/* Configuración del carrusel */
.swiper {
    --swiper-navigation-color: #fff;
    --swiper-pagination-color: #fff;
}

.swiper-slide {
    transition: transform 0.3s ease;
}

.swiper-wrapper {
    display: flex;
}

.swiper-pagination {
     bottom: 10px !important;
}

.swiper {
    transition: transform 2s ease; /* Cambiar a 2 segundos */
}


/* Ofrecemos y Tratamientos */
.ofrecemos, .tratamientos {
    background-color: #fff;
    padding: 60px 20px;
    margin: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ofrecemos h2, .tratamientos h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #666; /* color de letra */
}

.caja-con-sombra {
    background-color: #EDE1DB;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.caja-con-sombra ul {
    list-style: none;
    font-size: 22px;
    color: #555;
}

.caja-con-sombra ul li {
    margin-bottom: 10px;
}

.biodescodificacion {
  background-color: #fff;
  padding: 60px 20px;
  margin: 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.biodescodificacion h2 {
  font-size: 26px;
  margin-bottom: 30px;
  color: #6b4f3b;
}

.contenido-biodescodificacion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.imagen-biodescodificacion img {
  width: 300px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.texto-biodescodificacion {
  max-width: 600px;
  text-align: left;
  color: #555;
  font-size: 18px;
}



.consultorio-section {
  padding: 60px 20px;
  background-color: #d8cfc4;
  text-align: center;
}

.consultorio h2 {
  font-size: 35px;
  text-align: center;
  margin-bottom: 40px;
  color: #666;
}


.section-title {
  font-size: 35px;
  margin-bottom: 40px;
  color: #ffffff; /* violeta suave */
}

.consultorio-swiper {
    width: 90%; /* Aumentamos del 100% de 500px a un % adaptable */
    max-width: 1000px; /* Ahora más ancho */
    height: 450px; /* Fijamos la altura como las imágenes */
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.consultorio-swiper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.swiper-consultorio .swiper-slide {
    height: 100%; /* que el slide llene el alto del contenedor */
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-consultorio .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.ofrecemos {
    font-family: inter;
    text-align: center;
}

/* Contacto */
.contacto {
    background-color: #fff;
    padding: 60px 20px;
    margin: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contacto h2 {
    font-size: 32px; /* más grande */
    margin-bottom: 30px;
    text-align: center;
    color: #6b4f3b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.formulario-estilo {
    max-width: 500px;
    margin: auto;
}

.formulario-estilo input, 
.formulario-estilo textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.contenedor-boton {
    text-align: center;
}

.formulario-estilo button {
    padding: 10px 30px;
    background-color: #6b4f3b;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
}

.formulario-estilo button:hover {
    background-color: #8d715a;
}

/* Mapa e información */
.mapa-info {
    background-color: #f9f5f0;
    padding: 60px 20px;
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contenedor-mapa-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.mapa {
    flex: 1;
    min-width: 300px;
}

.info-consultorio {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.info-consultorio p {
    margin-bottom: 10px;
    color: #555;
}

.redes a img {
    width: 40px; /* era 30px, ahora más grande */
    margin: 0 15px;
    transition: 0.3s;
}

.redes a img:hover {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: #d8cfc4;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    font-size: 20px;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  /* PRESENTACIÓN: asegurar fondo visible */
  .presentacion {
    margin: 30px 10px;
    padding: 30px 20px;
    border-radius: 20px;
  }

  .contenido-presentacion {
  flex-direction: column;
  align-items: flex-start; /* Alinea imagen y texto al lado izquierdo */
  text-align: left;        /* Alinea el texto a la izquierda */
  gap: 20px;
  padding-left: 10px;      /* Opcional: un pequeño margen desde el borde */
}

  .foto-principal {
    width: 80%;
    margin: 0 auto; /* ✅ centra horizontalmente la imagen */
    display: block;
  }

  .texto-principal {
    width: 100%;
  }

  /* SOBRE MÍ: ampliar fondo y evitar cortes */
  .sobre-mi {
    margin: 30px 10px;
    padding: 40px 20px;
    border-radius: 20px;
  }

  .contenido-sobre-mi {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .foto-sobre-mi {
    width: 80%;
    max-width: 280px;
  }

  .sobre-mi::before {
    background-size: 90%;
    background-position: center center;
    transform: translate(-50%, -50%);
  }
 
.consultorio-swiper {
    width: 90%; /* Aumentamos del 100% de 500px a un % adaptable */
    max-width: 1000px; /* Ahora más ancho */
    height: 150px; /* Fijamos la altura como las imágenes */
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}