/** Documento 1 de la fusion **/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h2 {
  color: #8ba085;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  display: flex;
  min-height: 100vh;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

h3.experienciadentro {
  margin-top: 20px;
  margin-bottom: -10px;
}

h3.experienciadentro1{
  margin-top: 20px;
  margin-bottom: -10px;
}
.topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f4f4f4;
  color: #000;
  padding: 10px 20px;
  z-index: 999;

  justify-content: center;
  align-items: center;
  gap: 15px;
}

.toplogo a {
  text-decoration: none;
}
.topbar-title {
  font-size: 25px;
  text-align: center;
  margin-top: 5px;
    
font-family: "La Belle Aurore", cursive;
  font-weight: 400;
  font-style: normal;
  
}

#topbar-toggle {
  font-size: 22px;
  cursor: pointer;
  position: absolute;
  left: 20px;
}

.sidebar {
  width: 250px;
  background-color: #f4f4f4;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  transition: transform 0.3s ease-in-out;
  z-index: 100;
}

.toplogo {
  margin-top: 60px;
}

.logo img {
  width: 100px;
  margin-bottom: 10px;
}

.logo h1 {
  font-family: 'Cabin', sans-serif;
  font-size: 22px;
  color: #333;
}

.logo p {
  font-size: 14px;
  color: #777;
}

.menu ul {
  list-style: none;
}

.menu li {
  margin: 10px 0;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: normal;
}

.menu a.activo {
  font-weight: bold;
  color: #000000;
}

.sidebar-footer {
  margin-top: 30px;
  text-align: center;
}

.social a {
  margin: 0 5px;
  font-size: 18px;
  color: #555;
}

/*Contenidos paginas*/
.contenido {
  margin-left: 250px;
  width: calc(100% - 250px);
  padding: 30px;
  margin-top: 60px;
}


section {
  margin-bottom: 40px;
  animation: fadeIn 1s ease;
}


.toggle-btn {
  width: 50px;
  height: 50px;
  display: none;
  position: fixed;
  top: 0;
  left: 20px;
  background-color: rgba(244, 244, 244, 0);
  color: #000000;
  border: none;
  padding: 10px;
  font-size: 22px;
  z-index: 1000;
  border-radius: 100%;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* 🔹 Botón para cerrar menú lateral */
.cerrar-menu {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  z-index: 101;
}

.typed-text-output {
  font-size: 1.5rem;
  font-weight: 300;
  min-height: 2rem;
  margin-top: 0.5rem;
}

.botones-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
  flex-wrap: wrap;
}


.seccion-qualificacion {
  background-color: #fcfcfc;
  padding: 70px 40px;
  border-radius: 18px;
  margin: 0 auto 90px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.qualificacion-titulo {
  position: relative;
  margin-bottom: 40px;
  text-align: left;
}

.titulo-fondo {
  display: none;
}

.titulo-frontal {
  position: static;
  transform: none;
  font-family: "Fraunces", serif;
    font-size: 3rem;
  font-weight: 300;
  color: #222;
  text-align: left;
}

.trayectoria-contenedor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-left: 0;
}

.columna-qualificacion {
  max-width: 100%;
  min-width: 0;
}

.columna-qualificacion h2 {
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: #222;
  margin-bottom: 20px;
}

.bloque {
  border-top: 1px solid #ddd;
  padding: 18px 0;
}

.formacion-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.formacion-header h3 {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0;
  color: #222;
}

.formacion-btn {
  background: none;
  border: none;
  color: #8ba085;
  font-size: 18px;
  cursor: pointer;
  margin-bottom: 0;
}

.formacion-contenido {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0 0 0 30px;
  margin-top: 0;
}

.formacion-contenido.activa {
  padding: 14px 0 0 30px;
  max-height: 1200px;
}

.formacion-contenido ul {
  padding-left: 18px;
}

.formacion-contenido li,
.formacion-contenido p {
  color: #555;
  line-height: 1.8;
}


@media (max-width: 768px) {
  
.topbar {
    display: flex;
  }

  .sidebar.visible ~ .topbar {
    display: none;
  }

  
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.visible {
    transform: translateX(0);
  }

  .toggle-btn {
    display: block;
  }

  .contenido {
    margin-left: 0;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

    .cerrar-menu {
    display: block;
  }
    .sidebar.visible .cerrar-menu {
    display: block;
  }
  
    .formacion {
    margin-bottom: 10px;
  }

  .formacion-contenido {
    padding: 10px;
    width: 70%;
  }
  
    .bloque {
    margin: 0 auto;
    width: 100%;
  }
  
    .hero-contenido h1 {
    font-size: 2rem;
  }
  
  .hero-contenido p {
    font-size: 1rem;
  }
  
    .header-contenedor {
    flex-direction: column;
    text-align: center;
  }

  .header-imagen img {
    width: 200px;
    height: 200px;
  }

  .header-texto h1.nombre {
    font-size: 2.5rem;
  }
  
  .titulo-fondo {
    font-size: 3rem;
    text-align: center;
  }


  
  .titulo-bloque {
    text-align: center;
    margin-left: 0;
    padding: 0 10px;
  }
  
  .qualificacion-contenedor {
    flex-direction: column;
    gap: 20px;
  }

  .bio-imagen {
    flex-direction: column;
    align-items: flex-start;
  }

  .foto-perfil {
    width: 250px;
    height: 250px;

  }

  .tarjeta {
    min-width: 200px;
  }
  
    .trayectoria-contenedor {
    flex-direction: column;
    gap: 20px;
  }

  .columna-qualificacion {
    max-width: 80%;
  }
    .formacion {
    margin-bottom: 10px;
  }

  .formacion-contenido {
    padding: 10px;
  }
  
  .contacto-titulo .titulo-frontal {
  font-size: 1.8rem;
  white-space: normal;
  width: 90%;
  text-align: center;
}
}
/* hasta aqui las querys*/

.seccion-servicios {
  padding: 80px 20px;
  background-color: #fff;
  text-align: center;
  position: relative;
}

.servicios-titulo {
  position: relative;
  margin-bottom: 60px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.servicio {
  background: #f9f9f9;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.servicio:hover {
  transform: translateY(-5px);
}

.servicio-cabecera {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.icono {
  background: #8ba085;
  color: white;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.servicios-titulo .titulo-frontal {
  width: 100%;
  font-size: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.servicio h4 {
  font-size: 1.2rem;
  margin: 0;
}

.servicio p {
  color: #555;
  margin: 10px 0 15px;
}

.enlace-servicio {
  text-decoration: none;
  border-bottom: 2px solid #8ba085;
  color: #8ba085;
  font-weight: bold;
  transition: color 0.3s;
}

.enlace-servicio:hover {
  color: #555;
}


.seccion-contacto {
  background-color: #f4f4f4;
  padding: 80px 20px;
  text-align: center;
  border-radius: 20px;
}

.contacto-titulo {
  position: relative;
  margin-bottom: 60px;
}

.contacto-titulo .titulo-fondo {
  position: relative;
  z-index: 1;
}

.contacto-titulo .titulo-frontal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}



.formulario-contacto {
  max-width: 800px;
  margin: 0 auto;
}

.formulario-contacto form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fila-formulario {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.fila-formulario input {
  flex: 1;
  min-width: 200px;
}

input,
textarea {
  padding: 14px 20px;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  width: 100%;
  resize: none;
  font-family: inherit;
  transition: border 0.3s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #8ba085;
}

.boton-enviar {
  background: transparent;
  border: 2px solid #8ba085;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 8px;
  color: #8ba085;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-start;
}

.boton-enviar:hover {
  background: #8ba085;
  color: white;
}


.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #8ba085;
  color: white;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 1.5rem;
  z-index: 999;
  cursor: pointer;
  display: none;
  transition: background 0.3s;

}
.back-to-top:hover {
  background: #6f8e6e;
}





.formacion-contenido {
  min-width: 250px;
  flex: 0 0 auto;
  padding: 30px;
  scroll-snap-align: start;
  text-align: left;
  margin-bottom: 10px;
  
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  
   background-color: #fafafa;
  box-shadow: none;
  border-radius: 12px;
}

.formacion-btn, .boton-enviar {
  transition: all 0.3s ease;
}
.formacion-btn:hover {
  color: #555;
}

.bio-imagen {
  align-items: center;
}


.formacion-contenido.activa {
  opacity: 1;
  pointer-events: auto;
  display: block;
  max-height: 1000px; /* o más si hay mucho contenido */
  padding-top: 10px;
  transition: all 0.5s ease;
}


.flecha.activa {
  transform: rotate(-90deg);
}



.flecha {
  display: inline-block;
  transform: rotate(0);
  transition: transform 0.3s ease;
 
}



hr {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 30px 0;
}

html, body {
  scroll-behavior: smooth;
}

.formacion-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 🔹 Presentación */

.presentacion {
  margin-left: 20px;
  margin-right: 20px;
}


.bio-imagen {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
  
 
}

.foto-perfil {
  width: 250px;
  height: 250px;
  border-radius: 100%;
  object-fit:cover;
  max-width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.bio-texto {
  flex: 1;
  padding: 30px;
 }

.bio-texto i {
  color: #818181;
}

.bio-texto p {
   text-align:justify
}

.redes a {
  color: #8ba085;
  padding: 10px;
  font-size: 25px;
  text-decoration: none;
  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
}

.redes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  
  
  gap: 10px;
  padding: 0;
}

.redes-titulo {
  margin-bottom: 20px;
  text-align: center;
}

.seccion-redes {
  width: 100%;
  height: 500px;
  justify-content: center;
  align-content: center;
}



.formacion-contenido a {
  text-decoration: none;
  color: black;
}

/*Estilo  bloques nuevos*/
/* ===== SOBRE MÍ V2 ===== */

.sobre-hero-v2 {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 90px;
}

.sobre-hero-v2-img img {
  width: 100%;
  height: 78vh;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.5s ease;
}

.sobre-hero-v2-img img:hover {
  transform: scale(1.02);
}

.sobre-hero-v2-texto {
  padding-bottom: 18px;
}

.sobre-etiqueta {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8ba085;
}

.sobre-hero-v2-texto h1,
.sobre-titulo-v2 h2,
.sobre-editorial-texto h2 {
  font-family: "Fraunces", serif;
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.02;
  color: #222;
  margin-bottom: 18px;
}

.sobre-hero-v2-texto p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
}

/* editorial bio */
.sobre-editorial {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 95px;
}

.sobre-editorial-texto p {
  font-size: 1.02rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 16px;
  text-align: justify;
}

.sobre-editorial-imagenes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.sobre-img-grande img,
.sobre-img-pequenas img,
.expo-dinamica-card img,
.proceso-editorial-img img {
  width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sobre-img-grande img:hover,
.sobre-img-pequenas img:hover,
.expo-dinamica-card img:hover,
.proceso-editorial-img img:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.sobre-img-grande img {
  height: 420px;
}

.sobre-img-pequenas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.sobre-img-pequenas img {
  height: 220px;
}

/* secciones */
.sobre-seccion-v2 {
  margin-bottom: 95px;
}

.sobre-titulo-v2 {
  margin-bottom: 30px;
}
/* CATEGORÍA */
.expo-categoria {
  margin-bottom: 50px;
}

.expo-categoria-titulo {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: #222;
}

/* ITEM */
.expo-item {
  border-top: 1px solid #ddd;
  padding: 16px 0;
}

.expo-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.expo-item-header p {
  margin: 0;
  font-size: 1.05rem;
  color: #333;
}

/* BOTÓN */
.expo-toggle {
  background: none;
  border: none;
  color: #8ba085;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.9rem;
}

/* CONTENIDO */
.expo-item-contenido {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}

.expo-item-contenido.activa {
  max-height: 1200px;
  opacity: 1;
  margin-top: 12px;
}

/* IMÁGENES */
.expo-item-contenido img {
    width: 100%;
  margin-top: 12px;
  border-radius: 10px;
  display: block;
  height: auto;
  
  max-width: 250px; /* ↓ más pequeño */

}

/* proceso */
.proceso-editorial {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  align-items: stretch;
}

.proceso-editorial-img img {
  height: 100%;
  min-height: 430px;
}

.proceso-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.proceso-item {
  background: #fff;
  border-left: 3px solid #8ba085;
  padding: 22px 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.proceso-item span {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  color: #8ba085;
}

.proceso-item h3 {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: #222;
}

.proceso-item p {
  color: #555;
  line-height: 1.8;
}

/* faq breve */
.faq-breve-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 22px;
}

.faq-breve-item {
  background: #fafafa;
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-breve-item:hover {
  transform: translateY(-4px);
  background: #f4f4f4;
}

.faq-breve-item h3 {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: #222;
}

.faq-breve-item p {
  color: #555;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .sobre-hero-v2,
  .sobre-editorial,
  .proceso-editorial,
  .expo-dinamica {
    grid-template-columns: 1fr;
  }

  .expo-dinamica-card.destacada img {
    min-height: 280px;
  }

  .sobre-hero-v2-img img {
    height: 55vh;
  }
    .sobre-editorial {
    display: flex;
    flex-direction: column;
  }

  /*
  .sobre-editorial-imagenes {
    order: -1;
    margin-bottom: 24px;
  }

  .sobre-editorial-texto {
    order: 1;
  }
  */

  .sobre-hero-v2 {
    display: flex;
    flex-direction: column;
  }

  .sobre-hero-v2-img {
    order: -1;
    margin-bottom: 22px;
  }

  .sobre-hero-v2-texto {
    order: 1;
  }
}

@media (max-width: 768px) {
  .sobre-hero-v2-texto h1,
  .sobre-titulo-v2 h2,
  .sobre-editorial-texto h2 {
    font-size: 2.4rem;
  }

  .sobre-img-pequenas,
  .faq-breve-grid {
    grid-template-columns: 1fr;
  }

  .sobre-img-grande img,
  .sobre-img-pequenas img,
  .expo-dinamica-card img,
  .proceso-editorial-img img {
    height: auto;
    min-height: unset;
  }
  
   .seccion-qualificacion {
    padding: 40px 22px;
  }

  .trayectoria-contenedor {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .titulo-frontal {
    font-size: 2rem;
  }
   .sobre-editorial {
    display: flex;
    flex-direction: column;
  }

  .sobre-editorial-imagenes {
    display: contents;
  }

  .sobre-img-grande {
    order: -1;
    margin-bottom: 24px;
  }

  .sobre-editorial-texto {
    order: 1;
  }

  .sobre-img-pequenas {
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .sobre-img-grande img,
  .sobre-img-pequenas img {
    width: 100%;
    height: auto;
    border-radius: 14px;
  }
  
}


/*LLamada a la acción */
.llamada {
  background-color: #f9f9f9;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
}

.boton-contacto {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #8ba085;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
/* linea bajo */
.sobre-titulo-v2 h2::after,
.sobre-editorial-texto h2::after,
.qualificacion-titulo .titulo-frontal::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
 background: #bfc5cb;
  margin-top: 10px;
}

.separador-visual {
  margin: 0 0 0;
}

.separador-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 18px;
}

@media (max-width: 768px) {
  .separador-visual {
    margin: 0 0 60px;
  }

  .separador-visual img {
    height: 230px;
    border-radius: 14px;
  }
}


.link-catalogo{
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: opacity .3s ease;
}

.link-catalogo:hover{
  opacity:.6;
}