/*
Theme Name: Astra Child
Theme URI: https://argytec.com/
Template: astra
Author: Argytec
Author URI: https://argytec.com/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.0.1746990909
Updated: 2025-05-11 16:15:09

*/

/* SCROLL SUAVE GLOBAL */
html {
  scroll-behavior: smooth;
}

#content {
  display: flex;
  justify-content: center;
}

.ast-container,
.pagina-principal {
  overflow: visible !important;
}
.ast-container,
.pagina-principal,
.hero {
  overflow: visible !important;
}
.ast-scroll-top{
  display: none !important;
}
#ast-scroll-top{
  display: none !important;
}
.ast-scroll-top-icon ast-scroll-to-top-right{
  display: none !important;
}

.ast-container, .ast-container-fluid {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: unset !important;
}
@media (min-width: 922px) {
  .site-content .ast-container {
    display: flex;
    width: 100%;
    flex-direction: column !important;
  }
}
/* GENERAL */
.pagina-principal {
  font-family: 'Segoe UI', 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #f9f7f6;
  
  display: flex;
  justify-content: center;
}

/* HERO */
.hero {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: url('data:image/svg+xml;utf8,<svg width="1920" height="940" viewBox="0 0 1920 940" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0H1920V940H0V0Z" fill="url(%23paint0_linear_316_381)"/><defs><linearGradient id="paint0_linear_316_381" x1="506.319" y1="306.374" x2="-19.8973" y2="-145.204" gradientUnits="userSpaceOnUse"><stop stop-color="%234F709C"/><stop offset="1" stop-color="%231B2736"/></linearGradient></defs></svg>') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 60px 5vw 40px 5vw;
  gap: 40px;
  height: 100vh;
  padding-top: 0;
}
.hero h1{
  color:white !important;
  font-size: 5.9rem !important;
}


.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  flex: 1;
}
.hero-svg {
  position: absolute;
  right: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  width:  470px;
  height: auto;
  max-width: none;
  display: block;
  margin-right: 1rem;
}

.hero-svg svg {
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
}

@media (max-width: 900px) {
  .hero, .nosotros, .equipo, .servicios {
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
    gap: 20px;
  }
  
  /* Hero específico */
  .hero {
    padding: 40px 20px;
    text-align: center;
    height: auto;
    min-height: 90vh;
  }
  
  .hero-content {
    order: 2;
    text-align: center;
    width: 100%;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
  
  .hero-svg {
    order: 1;
    position: static;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
  }
  
  .hero-svg svg {
    width: 75vw;
    max-width: 300px;
    min-width: 250px;
  }
  
  .img-container img {
    width: 90vw;
    max-width: 320px;
  }
  .profesionales {
    gap: 20px;
  }
  .servicios-lista {
    flex-direction: column;
    align-items: center;
  }
  .servicio-card {
    width: 90vw;
    max-width: 320px;
    min-height: 400px;
  }
  
  .servicio-card img {
    height: 160px;
  }
  
  .servicio-card h4 {
    font-size: 1.6rem;
    margin: 16px 20px 10px 20px;
  }
  
  .servicio-card p {
    font-size: 0.95rem;
    margin: 0 20px 16px 20px;
  }
  
  .servicio-card .leer-mas {
    font-size: 1rem;
    padding: 10px 32px;
    margin: 0 20px 0 20px;
  }
  
  /* Contacto responsive */
  .contacto-mapa {
    padding: 40px 20px;
  }
  .contacto-contenido {
    flex-direction: column;
    gap: 30px;
  }
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
  .contacto-header h2 {
    font-size: 1.1rem;
    padding: 10px 20px;
  }
  
  /* Botones flotantes en móviles */
  .botones-flotantes {
    bottom: 15px;
    left: 15px;
    gap: 10px;
  }
  .btn-whatsapp,
  .btn-scroll-top {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 1100px) {
  .servicios-lista {
    max-width: 100vw;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .servicio-card {
    flex: 0 0 80vw;
    max-width: 90vw;
  }
}

/* PÁGINA DE SERVICIOS ESPECÍFICA */
.pagina-servicios {
  font-family: 'Segoe UI', 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f7f6;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* HERO SERVICIOS */
.hero-servicios {
  position: relative;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: white;
  padding: 80px 0;
  text-align: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}



.hero-servicios-content {
  position: relative;
  z-index: 2;
}

.hero-servicios-content h1 {
  font-family: 'M PLUS 1p', 'Segoe UI', Arial, sans-serif;
  font-size: 5.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -1px;
  line-height: 1.1;
  color: white;
}

.hero-servicios-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.consulta-btn {
  background: none;
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}

.consulta-btn:hover {
  background: #fff;
  color: #385A91;
}

.hero-svg img {
  max-width: 350px;
  opacity: 0.7;
}

/* NOSOTROS */
.nosotros {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 5rem 5vw;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  gap: 40px;
  justify-content: space-around;
  scroll-margin-top: 100px; /* Offset para el header fijo */
}
.img-container img {
  border-radius: 20px;
  width: 320px;
  height: auto;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.texto {
  max-width: 500px;
}
.badge {
  background: #223a5e;
  color: #fff;
  border-radius: 20px;
  padding: 4px 18px;
  font-size: 1rem;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 10px;
}
.texto h2 {
  color: #223a5e;
  margin-bottom: 10px;
}

/* EQUIPO */
.equipo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: auto;
  min-height: 50vh;
  background: transparent;
  padding: 40px 0 60px 0;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.equipo-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

/* Forzar que las burbujas estén inicialmente ocultas */
.burbuja-info:not(.show) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.img-equipo {
  display: block;
  max-width: 85%;
  height: auto;
  margin: 0 auto 0 auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.img-equipo.clickeable:hover {
  transform: scale(1.02);
}

.equipo-container:hover .punto-click::after {
  opacity: 0.6;
}

/* Puntos de click invisibles sobre las personas */
.punto-click {
  position: absolute;
  width: 150px;
  height: 200px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: all 0.3s ease;
  /* Para debugging: border: 2px solid red; opacity: 0.5; */
}

.punto-click:hover {
  background: rgba(25, 209, 234, 0.1);
  transform: scale(1.05);
}

.punto-click::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: #19d1ea;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 0 8px rgba(25, 209, 234, 0.3);
  animation: pulseIndicator 2s infinite;
}

.punto-click:hover::after {
  opacity: 1;
}

@keyframes pulseIndicator {
  0% {
    box-shadow: 0 0 0 0 rgba(25, 209, 234, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(25, 209, 234, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(25, 209, 234, 0);
  }
}

.punto-gabriela {
  left: 30%;
  top: 25%;
}

.punto-adriel {
  right: 30%;
  top: 25%;
}

/* Burbujas informativas */
.burbuja-info {
  position: absolute !important;
  background: #223a5e !important;
  color: white !important;
  border-radius: 15px !important;
  padding: 0 !important;
  max-width: 350px !important;
  width: 350px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  z-index: 1000 !important;
  opacity: 0 !important;
  transform: translateY(-20px) !important;
  transition: all 0.3s ease !important;
  display: none !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

.burbuja-info.show {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}

.burbuja-gabriela {
  top: 20px !important;
  left: calc(10% - 0px) !important;
}

.burbuja-adriel {
  top: 20px !important;
  right: calc(10% - 0px) !important;
}

.cerrar-burbuja {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
  z-index: 1001;
}

.cerrar-burbuja:hover {
  background: rgba(255, 255, 255, 0.3);
}

.burbuja-content {
  padding: 20px 45px 20px 20px !important;
  position: relative !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

.burbuja-content h4 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: #19d1ea;
}

.burbuja-content .subtitulo {
  margin: 0 0 15px 0;
  font-size: 14px;
  color: #a0b3cc;
  font-weight: 500;
}

.burbuja-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .punto-click {
    width: 120px;
    height: 160px;
  }
  
  .punto-gabriela {
    left: 22%;
    top: 20%;
  }
  
  .punto-adriel {
    right: 22%;
    top: 20%;
  }
  
  .burbuja-info {
    max-width: 280px;
    font-size: 12px;
  }
  
  .burbuja-gabriela {
    left: 2% !important;
    top: 10px !important;
    width: 280px !important;
    max-width: 280px !important;
  }
  
  .burbuja-adriel {
    right: 2% !important;
    top: 10px !important;
    width: 280px !important;
    max-width: 280px !important;
  }
  
  .burbuja-content {
    padding: 15px 40px 15px 15px;
  }
  
  .burbuja-content h4 {
    font-size: 16px;
  }
  
  .burbuja-content .subtitulo {
    font-size: 13px;
  }
  
  .burbuja-content p {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* SERVICIOS */
.servicios {
  color: #fff;
  border-radius: 0;
  padding: 60px 0 80px 0;
  margin: 0;
  text-align: center;
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: url('data:image/svg+xml;utf8,<svg width="1920" height="940" viewBox="0 0 1920 940" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0H1920V940H0V0Z" fill="url(%23paint0_linear_316_381)"/><defs><linearGradient id="paint0_linear_316_381" x1="506.319" y1="306.374" x2="-19.8973" y2="-145.204" gradientUnits="userSpaceOnUse"><stop stop-color="%234F709C"/><stop offset="1" stop-color="%231B2736"/></linearGradient></defs></svg>') no-repeat center center;
  background-size: cover;
}

.badge-blue {
  background: #19d1ea;
  color: #fff;
  border-radius: 20px;
  padding: 12px 38px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.servicios-lista {
  display: flex;
  flex-direction: row;
  gap: 32px;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 24px;
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 0 auto;
  width: 100%;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  max-width: unset !important;
  justify-content: flex-start;
  align-items: flex-start;
}

.servicio-card {
  flex: 0 0 350px;
  min-width: 280px;
  max-width: 350px;
  min-height: 480px;
  background: #fff;
  color: #223a5e;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(44, 62, 80, 0.12);
  padding: 0 0 32px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
  scroll-snap-align: center;
  overflow: hidden;
}

/* Asegurar que todas las tarjetas tengan el mismo espaciado */
.servicio-card {
  margin: 0;
}

.servicio-card:first-child {
  margin-left: 0;
}

.servicio-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 40px rgba(44, 62, 80, 0.18);
}

.servicio-card img {
  border-radius: 24px 24px 0 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  margin: 0;
  padding: 0;
  display: block;
  vertical-align: top;
  position: relative;
}

/* Asegurar alineación consistente de todas las imágenes de servicios */
.servicio-card img[src*="sexologia"],
.servicio-card img[src*="psicologia"],
.servicio-card img[src*="pareja"],
.servicio-card img[src*="evaluacionMedica"],
.servicio-card img[src*="talleres"] {
  object-fit: cover !important;
  object-position: center top !important;
}

.servicio-card h4 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 20px 24px 12px 24px;
  color: #223a5e;
  line-height: 1.2;
}

.servicio-card p {
  font-size: 1rem;
  color: #223a5e;
  margin: 0 24px 20px 24px;
  line-height: 1.5;
  flex-grow: 1;
}

.servicio-card .leer-mas {
  background: #223a5e;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 40px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  margin: 0 24px 0 24px;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
  align-self: center;
}

.servicio-card .leer-mas:hover {
  background: #19d1ea;
  color: #223a5e;
}

/* Opcional: personaliza la barra de scroll */
.servicios-lista {
  scrollbar-width: thin;
  scrollbar-color: #19d1ea #e0e0e0;
}
.servicios-lista::-webkit-scrollbar {
  height: 8px;
}
.servicios-lista::-webkit-scrollbar-thumb {
  background: #19d1ea;
  border-radius: 4px;
}
.servicios-lista::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 4px;
}

/* CONTACTO Y MAPA MEJORADO */
.contacto-mapa {
  padding: 60px 5vw;
  margin: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contacto-mapa::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.5;
  z-index: 0;
}

.contacto-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.contacto-header h2 {
  background: #223a5e;
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 25px;
  display: inline-block;
  margin: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.contacto-contenido {
  display: flex;
  gap: 60px;
  flex-direction: row;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
}

.form-consulta input,
.form-consulta textarea {
  border: none;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 1rem;
  background: rgba(255,255,255,0.95);
  color: #333;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-consulta input:focus,
.form-consulta textarea:focus {
  outline: none;
  background: white;
  box-shadow: 0 4px 20px rgba(25,209,234,0.3);
  transform: translateY(-2px);
}

.form-consulta input::placeholder,
.form-consulta textarea::placeholder {
  color: #666;
  font-weight: 500;
}

.btn-enviar {
  background: linear-gradient(135deg, #385A91 0%, #19d1ea 100%);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  align-self: flex-start;
}

.btn-enviar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(25,209,234,0.4);
}

.btn-enviar i {
  transition: transform 0.3s ease;
}

.btn-enviar:hover i {
  transform: translateX(5px);
}

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

.mapa {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
}

.mapa iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}



.direccion p {
  margin: 5px 0;
  color: #223a5e;
  font-size: 1.1rem;
}

/* BOTONES FLOTANTES */
.botones-flotantes {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.btn-whatsapp,
.btn-scroll-top {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-whatsapp {
  background: #25D366;
}

.btn-whatsapp:hover {
  background: #20b954;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.btn-scroll-top {
  background: linear-gradient(135deg, #19d1ea 0%, #0ea5e0 100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.btn-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.btn-scroll-top:hover {
  background: linear-gradient(135deg, #0ea5e0 0%, #19d1ea 100%);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(25,209,234,0.4);
}

/* FOOTER (ajusta según tu plantilla) */
footer {
  background: #223a5e;
  color: #fff;
  padding: 40px 5vw;
  border-radius: 30px 30px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
footer .logo-footer {
  font-size: 2rem;
  font-weight: bold;
}
footer .info-footer {
  margin-top: 10px;
}
footer .redes-footer a {
  color: #fff;
  margin-right: 10px;
  font-size: 1.5rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero, .nosotros, .equipo, .servicios {
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
    gap: 20px;
  }
  .hero-svg img {
    max-width: 220px;
  }
  .img-container img {
    width: 90vw;
    max-width: 320px;
  }
  .profesionales {
    gap: 20px;
  }
  .servicios-lista {
    flex-direction: column;
    align-items: center;
  }
  .servicio-card {
    width: 90vw;
    max-width: 320px;
    min-height: 400px;
  }
  
  .servicio-card img {
    height: 160px;
  }
  
  .servicio-card h4 {
    font-size: 1.6rem;
    margin: 16px 20px 10px 20px;
  }
  
  .servicio-card p {
    font-size: 0.95rem;
    margin: 0 20px 16px 20px;
  }
  
  .servicio-card .leer-mas {
    font-size: 1rem;
    padding: 10px 32px;
    margin: 0 20px 0 20px;
  }
  
  /* Contacto responsive */
  .contacto-mapa {
    padding: 40px 20px;
  }
  .contacto-contenido {
    flex-direction: column;
    gap: 30px;
  }
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
  .contacto-header h2 {
    font-size: 1.1rem;
    padding: 10px 20px;
  }
  
  /* Botones flotantes en móviles */
  .botones-flotantes {
    bottom: 15px;
    left: 15px;
    gap: 10px;
  }
  .btn-whatsapp,
  .btn-scroll-top {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 1100px) {
  .servicios-lista {
    max-width: 100vw;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .servicio-card {
    flex: 0 0 80vw;
    max-width: 90vw;
  }
}

/* PÁGINA DE SERVICIOS ESPECÍFICA */
.pagina-servicios {
  font-family: 'Segoe UI', 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f7f6;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* HERO SERVICIOS */
.hero-servicios {
  position: relative;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: white;
  padding: 80px 0;
  text-align: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}



.hero-servicios-content {
  position: relative;
  z-index: 2;
}

.hero-servicios-content h1 {
  font-family: 'M PLUS 1p', 'Segoe UI', Arial, sans-serif;
  font-size: 4rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 2px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* CONTENIDO SERVICIOS */
.contenido-servicios {
  padding: 60px 0;
  background: #f9f7f6;
}

.contenedor-servicios {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  padding: 0 20px;
}

/* SIDEBAR SERVICIOS */
.sidebar-servicios {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  height: fit-content;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.sidebar-servicios h3 {
  color: #223a5e;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lista-servicios {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-servicios li {
  margin-bottom: 15px;
}

.lista-servicios a {
  color: #666;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4;
  display: block;
  padding: 8px 0;
  transition: color 0.2s;
}

.lista-servicios a:hover,
.lista-servicios a.activo {
  color: #223a5e;
  font-weight: 600;
}

/* CONTENIDO PRINCIPAL DEL SERVICIO */
@media (min-width: 922px) {
  .site-content .ast-container {
    display: flex;
    width: 100%;
    flex-direction: column !important;
  }
}
.contenido-servicio {
  flex: 1;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.imagen-servicio {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.imagen-servicio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-servicio {
  padding: 40px;
}

.badge-servicio {
  background: #19d1ea;
  color: #fff;
  border-radius: 20px;
  padding: 8px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.info-servicio h2 {
  color: #223a5e;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.2;
}

.descripcion-servicio p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* FOOTER BIOPSIQUE */
/* ===== HEADER PERSONALIZADO BIOPSIQUE ===== */

/* Header principal */
.header-biopsique {
    background: rgba(34, 58, 94, 0.1);
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

.contenedor-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo-biopsique {
    flex-shrink: 0;
}

.logo-biopsique img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-biopsique:hover img {
    transform: scale(1.05);
}

/* Navegación principal */
.navegacion-principal {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 40px;
}

.menu-principal {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.menu-principal li {
    margin: 0;
}

.menu-principal a {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: white;
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
}

.menu-principal a:hover,
.menu-principal a.activo {
    color: #19d1ea;
}

.menu-principal a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #19d1ea;
    transition: width 0.3s ease;
}

.menu-principal a:hover::after,
.menu-principal a.activo::after {
    width: 100%;
}

/* Botón contacto */
.boton-contacto {
    flex-shrink: 0;
}

.btn-contactanos {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: white;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    letter-spacing: -0.02em;
}

.btn-contactanos:hover {
    background: rgba(25,209,234,0.2);
    border-color: #19d1ea;
    color: #19d1ea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25,209,234,0.3);
}

.icono-flecha {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-contactanos:hover .icono-flecha {
    transform: translateX(3px);
}

/* Menú móvil */
.menu-movil {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.btn-menu-movil {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-menu-movil span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-menu-movil:hover span {
    background: #19d1ea;
}

/* Menú móvil desplegable */
.menu-movil-lista a.activo {
    color: #19d1ea !important;
    font-weight: 600;
}
.menu-movil-contenido {
    display: none;
    background: #223a5e;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.menu-movil-lista {
    list-style: none;
    margin: 0;
    padding: 20px;
}

.menu-movil-lista li {
    margin-bottom: 15px;
}

.menu-movil-lista a {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: white;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color 0.3s ease;
    letter-spacing: -0.02em;
}

.menu-movil-lista a:hover,
.menu-movil-lista a.contacto-movil {
    color: #19d1ea;
}

/* Responsive */
@media (max-width: 768px) {
    .contenedor-header {
        padding: 10px 20px;
    }
    
    .logo-biopsique img {
        height: 35px;
    }
    
    .navegacion-principal,
    .boton-contacto {
        display: none;
    }
    
    .menu-movil {
        display: flex;
    }
    
    .menu-movil-contenido.activo {
        display: block;
    }
}

@media (max-width: 1024px) {
    .menu-principal {
        gap: 25px;
    }
    
    .contenedor-header {
        margin: 0 20px;
    }
}

/* ===== PÁGINA TALLERES Y CHARLAS ===== */

/* Hero Talleres */
.hero-talleres {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0;
    padding-top: 90px;
}

.hero-talleres::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 58, 94, 0.7);
    z-index: 1;
}

.hero-talleres-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-talleres h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 48px;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Breadcrumb Talleres */
.breadcrumb-talleres {
    background: #f9f7f6;
    padding: 20px 0;
}

.contenedor-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.badge-servicios, .badge-talleres {
    background: #19d1ea;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-talleres {
    background: #223a5e;
}

/* Contenido Talleres */
.contenido-talleres {
    background: #f9f7f6;
    padding: 40px 0 80px 0;
}

.contenedor-talleres {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid de Talleres */
.grid-talleres {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Tarjetas de Taller */
.tarjeta-taller {
    background: white;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tarjeta-taller:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Tarjeta destacada */
.tarjeta-taller.destacada {
    background: linear-gradient(135deg, #19d1ea 0%, #16b8d1 100%);
    color: white;
}

.tarjeta-taller.destacada .ubicacion {
    color: rgba(255,255,255,0.9);
}

.tarjeta-taller.destacada .descripcion {
    color: rgba(255,255,255,0.8);
}

.tarjeta-taller.destacada .btn-saber-mas {
    color: white;
    border-color: white;
}

.tarjeta-taller.destacada .btn-saber-mas:hover {
    background: white;
    color: #19d1ea;
}

/* Info del Taller */
.info-taller {
    flex: 1;
    padding-right: 20px;
}

.info-taller h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #223a5e;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.tarjeta-taller.destacada .info-taller h3 {
    color: white;
}

.ubicacion {
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.descripcion {
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.btn-saber-mas {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #19d1ea;
    text-decoration: none;
    border: 2px solid #19d1ea;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-saber-mas:hover {
    background: #19d1ea;
    color: white;
    transform: translateX(5px);
}

/* Fecha del Taller */
.fecha-taller {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #223a5e;
    color: white;
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 80px;
    text-align: center;
}

.tarjeta-taller.destacada .fecha-taller {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.fecha-taller .dia {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 32px;
    line-height: 1;
    margin-bottom: 5px;
}

.fecha-taller .mes {
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-talleres h1 {
        font-size: 32px;
    }
    
    .grid-talleres {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tarjeta-taller {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .info-taller {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .fecha-taller {
        align-self: center;
    }
}

.footer-biopsique {
  background: #223a5e;
  color: #fff;
  padding: 40px 0 20px 0;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
}

.footer-contenido {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  flex: 1;
}

.logo-biopsique {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-b {
  background: #fff;
  color: #223a5e;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
}

.logo-texto .biopsique {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.logo-texto .subtitulo {
  display: block;
  font-size: 1rem;
  color: #ccc;
}

.footer-info {
  display: flex;
  gap: 60px;
  flex: 1;
  justify-content: center;
}

.footer-seccion h4 {
  color: #19d1ea;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-seccion p {
  color: #fff;
  font-size: 1rem;
  margin: 5px 0;
}

.footer-redes {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-top: 2rem;
}

.red-social {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  position: relative;
}

.red-social img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.2s, opacity 0.2s;
}

/* Fallback para iconos de Font Awesome */
.red-social i {
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #19d1ea;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}

.red-social.instagram i {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.red-social.email i {
  background: #19d1ea;
}

.red-social:hover {
  transform: scale(1.1);
}

.red-social:hover img {
  opacity: 0.8;
}

.red-social:hover i {
  background: #0ea5e0;
  transform: scale(1.1);
}

.red-social.instagram:hover i {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  filter: brightness(1.2);
}

.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #334a6b;
  margin-top: 30px;
  color: #ccc;
  font-size: 0.9rem;
}

/* RESPONSIVE PARA PÁGINA DE SERVICIOS */
@media (max-width: 900px) {
  .hero-servicios-content h1 {
    font-size: 2.5rem;
  }
  
  .contenedor-servicios {
    flex-direction: column;
    gap: 20px;
  }
  
  .sidebar-servicios {
    flex: none;
    order: 2;
  }
  
  .contenido-servicio {
    order: 1;
  }
  
  .info-servicio {
    padding: 30px 20px;
  }
  
  .info-servicio h2 {
    font-size: 2rem;
  }
  
  .footer-contenido {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .footer-info {
    flex-direction: column;
    gap: 30px;
  }
}

/* ===== ESTILOS DEL BLOG ===== */

/* Header del Blog */
.blog-header-container {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    /* Fallback si no se carga la imagen desde PHP */
    background: linear-gradient(135deg, #223a5e 0%, #19d1ea 100%);
}

.blog-header-hero {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-header-content {
    text-align: center;
}

.blog-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 64px;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 4px;
}

/* Contenedor principal del blog */
.blog-container {
    background: #f9f7f6;
    min-height: 100vh;
    padding: 60px 0 80px 0;
}

.blog-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Posts del blog - Diseño de página única */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Post principal (contenido completo) */
.blog-main-post {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 5px solid #19d1ea;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.blog-main-post::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #19d1ea, #16b8d1);
    z-index: -1;
    border-radius: 15px;
}

/* Título principal del post */
.main-post-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.3;
    color: #223a5e;
    margin: 20px 0 30px 0;
}

/* Imagen destacada del post principal */
.main-post-featured-image {
    margin: 30px 0 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.main-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

/* Contenido del post principal */
.main-post-content {
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.main-post-content h2,
.main-post-content h3,
.main-post-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #223a5e;
    margin: 30px 0 20px 0;
}

.main-post-content h2 {
    font-size: 28px;
}

.main-post-content h3 {
    font-size: 24px;
}

.main-post-content h4 {
    font-size: 20px;
}

.main-post-content p {
    margin-bottom: 20px;
}

.main-post-content ul,
.main-post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.main-post-content li {
    margin-bottom: 10px;
}

.main-post-content blockquote {
    background: #f8fbff;
    border-left: 4px solid #19d1ea;
    margin: 30px 0;
    padding: 20px 30px;
    font-style: italic;
    font-size: 20px;
    color: #223a5e;
}

/* Estilos antiguos para compatibilidad */
.blog-post {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Post destacado (primer post) */
.featured-post {
    border-left: 5px solid #19d1ea;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.featured-post::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #19d1ea, #16b8d1);
    z-index: -1;
    border-radius: 15px;
}

/* Tags/Categorías */
.post-meta-tags {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.post-tag {
    background: #19d1ea;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-post .post-tag {
    background: #223a5e;
}

/* Segunda categoría en azul */
.post-tag:nth-child(2) {
    background: #223a5e;
}

.featured-post .post-tag:nth-child(2) {
    background: #19d1ea;
}

/* Títulos de los posts */
.post-title {
    margin: 0 0 20px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.3;
    color: #223a5e;
}

.featured-post .post-title {
    font-size: 34px;
    color: #223a5e;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #19d1ea;
}

/* Excerpt del post */
.post-excerpt {
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.featured-post .post-excerpt {
    font-size: 18px;
    color: #555;
}

/* Meta información del post */
.post-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
}

.post-date,
.post-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-date::before {
    content: '📅';
    font-size: 16px;
}

.post-author::before {
    content: '👤';
    font-size: 16px;
}

/* Sidebar del blog */
.blog-sidebar {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.widget-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #223a5e;
    margin: 0 0 25px 0;
    border-bottom: 2px solid #19d1ea;
    padding-bottom: 10px;
}

.sidebar-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-post-item {
    margin-bottom: 18px;
    padding-left: 15px;
    position: relative;
}

.sidebar-post-item::before {
    content: '•';
    color: #19d1ea;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.sidebar-post-item a {
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: block;
}

.sidebar-post-item a:hover {
    color: #19d1ea;
}

/* Post actual destacado en el sidebar - SOLO texto azul */
.sidebar-post-item.current-post {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

.sidebar-post-item.current-post a {
    color: #19d1ea !important;
    font-weight: 600 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.sidebar-post-item.current-post::before {
    color: #19d1ea !important;
    content: '•' !important;
    background: none !important;
}

.sidebar-post-item.current-post::after {
    display: none !important;
}

/* Paginación del blog */
.blog-pagination {
    margin-top: 60px;
    text-align: center;
}

.page-numbers {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.page-numbers a,
.page-numbers span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 18px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers a {
    background: white;
    color: #223a5e;
    border: 2px solid #e0e0e0;
}

.page-numbers a:hover,
.page-numbers .current {
    background: #19d1ea;
    color: white;
    border-color: #19d1ea;
    transform: translateY(-2px);
}

.page-numbers .dots {
    background: none;
    border: none;
    color: #999;
}

/* Mensaje cuando no hay posts */
.no-posts-message {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    margin: 40px 0;
}

.no-posts-message h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #223a5e;
    margin: 0 0 20px 0;
}

.no-posts-message p {
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.no-posts-message ol {
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #666;
    text-align: left;
    max-width: 400px;
    margin: 20px auto;
    line-height: 1.8;
}

.no-posts-message li {
    margin-bottom: 10px;
}

.no-posts-message em {
    color: #19d1ea;
    font-style: normal;
    font-weight: 500;
}

/* Responsive del Blog */
@media (max-width: 768px) {
    .blog-title {
        font-size: 40px;
        letter-spacing: 2px;
    }
    
    .blog-header-container {
        height: 300px;
    }
    
    .blog-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
    }
    
    /* Responsive para el post principal */
    .blog-main-post {
        padding: 30px 25px;
    }
    
    .main-post-title {
        font-size: 28px;
    }
    
    .main-post-content {
        font-size: 16px;
    }
    
    .main-post-featured-image {
        margin: 20px 0 30px 0;
    }
    
    .main-post-featured-image img {
        max-height: 250px;
    }
    
    /* Responsive para posts antiguos */
    .blog-post {
        padding: 25px;
    }
    
    .post-title {
        font-size: 22px;
    }
    
    .featured-post .post-title {
        font-size: 26px;
    }
    
    .blog-sidebar {
        position: static;
        padding: 25px;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .blog-container {
        padding: 40px 0 60px 0;
    }
    
    .blog-title {
        font-size: 32px;
    }
    
    /* Responsive móvil para post principal */
    .blog-main-post {
        padding: 25px 20px;
    }
    
    .main-post-title {
        font-size: 24px;
    }
    
    .main-post-content {
        font-size: 15px;
    }
    
    .main-post-featured-image {
        margin: 15px 0 25px 0;
    }
    
    .main-post-featured-image img {
        max-height: 200px;
    }
    
    /* Responsive móvil para posts antiguos */
    .blog-post {
        padding: 20px;
    }
    
    .post-title {
        font-size: 20px;
    }
    
    .featured-post .post-title {
        font-size: 24px;
    }
}

/* ===== ESTILOS PARA ENTRADAS INDIVIDUALES (SINGLE.PHP) ===== */

.single-post-container {
    background: #f9f7f6;
    min-height: 100vh;
    padding: 120px 0 80px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.single-post-content {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.single-post-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.single-post-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    color: #223a5e;
    margin: 20px 0;
}

.single-post-meta {
    display: flex;
    gap: 30px;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #888;
    flex-wrap: wrap;
}

.single-post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-post-meta i {
    color: #19d1ea;
}

.single-post-featured-image {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-content-body {
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.single-post-content-body h2,
.single-post-content-body h3,
.single-post-content-body h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #223a5e;
    margin: 30px 0 20px 0;
}

.single-post-content-body h2 {
    font-size: 28px;
}

.single-post-content-body h3 {
    font-size: 24px;
}

.single-post-content-body h4 {
    font-size: 20px;
}

.single-post-content-body p {
    margin-bottom: 20px;
}

.single-post-content-body ul,
.single-post-content-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.single-post-content-body li {
    margin-bottom: 10px;
}

.single-post-content-body blockquote {
    background: #f8fbff;
    border-left: 4px solid #19d1ea;
    margin: 30px 0;
    padding: 20px 30px;
    font-style: italic;
    font-size: 20px;
    color: #223a5e;
}

.single-post-tags {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.single-post-tags h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #223a5e;
    margin: 0 0 15px 0;
}

.tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-link {
    background: #f0f0f0;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #19d1ea;
    color: white;
    transform: translateY(-2px);
}

.single-post-navigation {
    margin-top: 40px;
}

.post-nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 20px;
    background: #f8fbff;
    border-radius: 10px;
    text-decoration: none;
    color: #223a5e;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-link:hover {
    background: #19d1ea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(25, 209, 234, 0.3);
}

.nav-direction {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
    opacity: 0.8;
}

.nav-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    display: block;
    line-height: 1.3;
}

/* Sidebar del post individual */
.single-post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: fit-content;
    position: sticky;
    top: 140px;
}

.single-post-sidebar .sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-post-item {
    padding: 20px;
    background: #f8fbff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.related-post-item:hover {
    background: #f0f8ff;
    transform: translateY(-2px);
}

.related-post-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #223a5e;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.related-post-item p {
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.read-more {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #19d1ea;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 15px 25px;
    background: #223a5e;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.back-to-blog-btn:hover {
    background: #19d1ea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 209, 234, 0.3);
}

/* Comentarios */
.single-post-comments {
    background: #f9f7f6;
    padding: 60px 0;
}

.comments-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive para posts individuales */
@media (max-width: 768px) {
    .single-post-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 100px 15px 60px 15px;
    }
    
    .single-post-content {
        padding: 30px 25px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-meta {
        gap: 15px;
    }
    
    .post-nav-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .single-post-sidebar {
        position: static;
    }
    
    .single-post-sidebar .sidebar-widget {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .single-post-content {
        padding: 25px 20px;
    }
    
    .single-post-title {
        font-size: 24px;
    }
    
    .single-post-content-body {
        font-size: 16px;
    }
    
    .nav-link {
        padding: 15px;
    }
}

/* RESPONSIVE MEJORADO */
@media (max-width: 768px) {
  /* Hero móvil optimizado */
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 20px 20px 40px 20px;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
    text-align: center;
    width: 100%;
    max-width: none;
  }
  
  .hero-content h1 {
    font-size: 2.8rem !important;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
  
  .consulta-btn {
    font-size: 1rem;
    padding: 12px 28px;
  }
  
  /* SVG optimizado para móviles */
  .hero-svg {
    order: 1;
    position: relative !important;
    width: 100%;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
  }
  
  .hero-svg svg {
    width: 80vw !important;
    max-width: 280px !important;
    min-width: 200px !important;
    height: auto;
  }
  
  /* Nosotros móvil */
  .nosotros {
    padding: 40px 20px;
    text-align: center;
  }
  
  .img-container img {
    width: 90vw;
    max-width: 300px;
  }
  
  .texto {
    max-width: 100%;
  }
  
  .texto h2 {
    font-size: 1.5rem;
  }
  
  .texto p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Equipo móvil */
  .equipo {
    min-height: 30vh;
    padding: 20px 20px 30px 20px;
  }
  
  .img-equipo {
    max-width: 90%;
  }
  
  /* Header móvil */
  .contenedor-header {
    padding: 10px 20px;
  }
  
  .logo-biopsique img {
    height: 35px;
  }
}

@media (max-width: 480px) {
  /* Extra pequeño - ajustes adicionales */
  .hero {
    padding: 15px 15px 30px 15px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem !important;
    margin-bottom: 12px;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-svg svg {
    width: 85vw !important;
    max-width: 250px !important;
  }
  
  /* Equipo extra pequeño */
  .equipo {
    min-height: 25vh;
    padding: 15px 15px 20px 15px;
  }
  
  .img-equipo {
    max-width: 95%;
  }
  
  /* Botones flotantes más pequeños */
  .btn-whatsapp,
  .btn-scroll-top {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  
  .botones-flotantes {
    bottom: 15px;
    left: 15px;
  }
}
  