@import url('https://fonts.googleapis.com/css2?family=Lora&family=Playfair+Display:wght@600&display=swap');

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lora', serif;
  background-color: #f4f0f8;
  color: #4a3d4f;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #4a3d4f;
}

.section h2 {
  margin-bottom: 1rem;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #e4bbea;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #b88ccf;
  z-index: 9999;
}

.banner-lau {
  width: 80%;
  top: 2;
}

.nav, .nav a,
.nav a:visited,
.nav a:hover,
.nav a:active {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #3f2e2b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav a:hover {
  color: #8f6ca4;
}

.banner-icon {
  height: 50px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}

.foto-banner {
  margin-top: 80px;
  width: 100%;
  overflow: hidden;
}

.foto-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.sobre-mi-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.texto-sobre-mi {
  flex: 1 1 55%;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: #4a3d4f;
  line-height: 1.6;
}

.foto-sobre-mi {
  flex: 1 1 40%;
  display: flex;
  justify-content: flex-start;  /* La empuja un poco a la derecha */
  align-items: flex-start;
  margin-top: 85px;            /* Sube la imagen */
  margin-left: 10px;            /* Desplaza a la derecha */

}

.foto-sobre-mi img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: relative;

}


.foto-sobre-mi img {
  width: 110%;
  max-width: 450px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.bloque-destacado {
  background-color: #ecdff4;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.texto-sobre-mi ul {
  padding-left: 20px;
  margin-bottom: 1em;
  list-style-type: disc;
}

#enfoque {
  margin-top: 1rem;
  margin-bottom: 4rem;
}

#enfoque .enfoque-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

#enfoque .bloque-destacado {
  background-color: #ecdff4;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}
#enfoque .bloque-destacado.certificaciones {
  margin-top: 1.5rem; /* Espacio pequeño entre enfoque y certificaciones */
}

@media (max-width: 768px) {
  #enfoque .bloque-destacado {
    padding: 1rem;
    max-width: 100%;
  }
}

#enfoque .bloque-destacado h3,
#sobre-mi .bloque-destacado h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #4a3d4f;
}

#enfoque .bloque-destacado p,
#enfoque .bloque-destacado ul {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4a3d4f;
}

.servicios-doble {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.servicio-polaroid {
  background: white;
  border: 2px solid #dccfe1;
  border-radius: 12px;
  width: 300px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-polaroid:hover {
  background-color: #f5f5f5;
  border-radius: 12px;
}

.servicio-polaroid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.explicacion {
  text-align: center;
  max-width: 600px;
  margin: 2rem auto 0;
}

.btn {
  display: inline-block;
  background-color: #a07cb8;
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #8f6ca4;
}

#servicios, #contacto {
  font-size: 1.1rem;
  flex: 1 1 60%;
  font-family: 'Lora', serif;
  color: #4a3d4f;
  line-height: 1.6;
}

.contacto-flex {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 2rem;
}

.contacto-iconos {
  flex: 1 1 250px;
}

.dato {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #4a3d4f;
}

.icono-contacto {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}

.contact-form {
  flex: 1 1 600px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #4a3d4f;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1.8px solid #c8b8d4;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fbfaff;
}

.btn-submit {
  background-color: #a07cb8;
  color: white;
  font-weight: 700;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn-submit:hover {
  background-color: #8f6ca4;
}

.footer-privacidad a {
  all: unset;
  color: #fff8f2;
  cursor: pointer;
}

.footer-privacidad {
  background-color: #775a8d;
  padding: 15px 0;
  text-align: center;
  font-size: 1rem;
  margin-top: 40px;
  text-decoration: underline;
  color: #fff8f2;
  font-family: 'Lora', serif;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-privacidad a:hover {
  color: #f1e5db;
}




  /* MOVILES @RESPONSIVE*/

@media (max-width: 768px) {
  /* Banner */
  .banner {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 0.8rem;
    text-align: center;
  }

.banner-lau {
  height: 60px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin-left: 55px; /* ⇠ Ajusta esto como prefieras */
  margin-bottom: 0.5rem;
}


  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.4rem;
    font-size: 0.9rem;
  }

  .banner-icon {
    display: none;
  }

  .foto-banner img {
    width: 120%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    object-position: center;
  }

  body,
  .bloque-destacado p,
  .texto-sobre-mi,
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  #enfoque .bloque-destacado h3,
  #sobre-mi .bloque-destacado h3 {
    font-size: 1.1rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .sobre-mi-container,
  .servicios-doble,
  .contacto-flex {
    flex-direction: column;
    align-items: center;

  }

#enfoque .enfoque-container {
  margin-bottom: 1.5rem;
}

  .foto-sobre-mi {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 0 0.5rem 0; /* Añade solo margen inferior */
  }

  .foto-sobre-mi img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0;
    top: 0 !important;
    position: static !important;
    padding: 0;
  }

  .texto-sobre-mi .bloque-destacado {
    margin-top: 0; /* Elimina margen innecesario encima del texto */
  }



  .servicio-polaroid {
    width: 100%;
    max-width: 340px;
  }

  .contact-form,
  .contacto-iconos {
    width: 100%;
    max-width: 380px;
  }
  .datos-contacto {
    padding-left: 0;
    margin-left: 0;
    text-align: left;
  }

  .contacto-iconos small {
    display: block;
    text-align: left;
    margin-left: 0;
    font-size: 0.6rem; /* Letra más pequeña */
    white-space: normal;  /* Permite que salte de línea */
    word-break: break-word; /* Por si acaso hay una palabra larga */
  }
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 1rem;
  }

  .btn-submit {
    width: 100%;
  }

  .bloque-destacado ul {
    list-style-position: inside;
    padding-left: 1rem;
  }

  .bloque-destacado li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }
}
