/*
Theme Name: LactaOasis Terapias
Description: Tema personalizado para LactaOasis Terapias - Apoyo profesional para tu bienestar y el de tu familia
Version: 1.0
Author: Manus
*/

/* Reset y configuración base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap' );

/* Variables CSS */
:root {
  --primary-pink: #d946ef;
  --primary-purple: #a855f7;
  --primary-blue: #3b82f6;
  --secondary-cyan: #06b6d4;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --background-light: #f8fafc;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #d946ef 0%, #a855f7 50%, #3b82f6 100%);
  --gradient-secondary: linear-gradient(135deg, #fce7f3 0%, #e0e7ff 50%, #dbeafe 100%);
}

/* Tipografía base */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

/* Contenedor principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header y navegación */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.logo {
  height: 60px;
  border-radius: 15px;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.nav-button {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-dark);
}

.nav-button:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.cta-button {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(217, 70, 239, 0.3);
}

/* MENÚ HAMBURGUESA Y MÓVIL */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
  z-index: 1001;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav:not(.hidden) {
  max-height: 500px;
}

.mobile-nav-content {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-button {
  padding: 1rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-align: center;
}

.mobile-nav-button:hover {
  background: var(--gradient-secondary);
  color: var(--primary-purple);
}

.mobile-nav-button.cta-mobile {
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 600;
  margin-top: 1rem;
}

.mobile-nav-button.cta-mobile:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(217, 70, 239, 0.3);
}

.desktop-only {
  display: block;
}

/* Sección hero */
.hero-section {
  background: var(--gradient-secondary);
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
}

.hero-text .subtitle {
  font-size: 1.5rem;
  color: var(--primary-purple);
  margin-bottom: 2rem;
}

.highlight {
  color: var(--primary-pink);
  font-weight: 600;
}

.hero-logo {
  text-align: center;
}

.hero-logo img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Sección sobre mí */
.about-section {
  padding: 80px 0;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: center;
}

.profile-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  color: var(--primary-purple);
  text-align: center;
  margin-bottom: 1rem;
}

.about-text h3 {
  color: var(--primary-pink);
  text-align: center;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Sección servicios */
.services-section {
  padding: 80px 0;
  background: var(--gradient-secondary);
}

.services-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.services-section .subtitle {
  text-align: center;
  color: var(--primary-purple);
  font-size: 1.2rem;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.service-description {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-pricing {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.service-button {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.service-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(217, 70, 239, 0.3);
}

/* COLORES ESPECÍFICOS POR SERVICIO */

/* PSICOLOGÍA - Morado */
.service-card:nth-child(1) .service-icon {
  color: #a855f7 !important;
}
.service-card:nth-child(1) h3 {
  color: #a855f7 !important;
}
.service-card:nth-child(1) h4 {
  color: #8b5cf6 !important;
}
.service-card:nth-child(1) .highlight {
  color: #a855f7 !important;
  font-weight: 600;
}

/* TERAPIA OCUPACIONAL - Azul */
.service-card:nth-child(2) .service-icon {
  color: #3b82f6 !important;
}
.service-card:nth-child(2) h3 {
  color: #3b82f6 !important;
}
.service-card:nth-child(2) h4 {
  color: #2563eb !important;
}
.service-card:nth-child(2) .highlight {
  color: #3b82f6 !important;
  font-weight: 600;
}

/* ASESORÍA LACTANCIA - Turquesa */
.service-card:nth-child(3) .service-icon {
  color: #06b6d4 !important;
}
.service-card:nth-child(3) h3 {
  color: #06b6d4 !important;
}
.service-card:nth-child(3) h4 {
  color: #0891b2 !important;
}
.service-card:nth-child(3) .highlight {
  color: #06b6d4 !important;
  font-weight: 600;
}

/* WHATSAPP - Verde */
.service-card:nth-child(4) .service-icon {
  color: #10b981 !important;
}
.service-card:nth-child(4) h3 {
  color: #10b981 !important;
}
.service-card:nth-child(4) h4 {
  color: #059669 !important;
}
.service-card:nth-child(4) .highlight {
  color: #10b981 !important;
  font-weight: 600;
}

/* Sección cursos */
.courses-section {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
}

.courses-section h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.courses-section .subtitle {
  color: var(--text-gray);
  font-size: 1.2rem;
  margin-bottom: 4rem;
}

.course-icon {
  font-size: 4rem;
  color: var(--primary-purple);
  margin-bottom: 2rem;
}

.courses-section h3 {
  color: var(--text-dark);
  margin-bottom: 2rem;
}

/* Sección blog */
.blog-section {
  padding: 80px 0;
  background: var(--gradient-secondary);
}

.blog-section h2 {
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 4rem;
}

.blog-post {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.blog-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

.blog-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-title {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--primary-pink);
  text-decoration: none;
  font-weight: 600;
}

.read-more:hover {
  color: var(--primary-purple);
}

/* Footer */
.site-footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content,
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .desktop-only {
    display: none;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Animación hamburguesa */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Utilidades */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}

/* Estilos para WordPress */
.wp-block-group {
  margin-bottom: 2rem;
}

.wp-block-heading {
  margin-bottom: 1rem;
}

.wp-block-paragraph {
  margin-bottom: 1rem;
}

/* Estilos del editor de WordPress */
.block-editor-page {
  font-family: 'Inter', sans-serif;
}

.editor-styles-wrapper {
  font-family: 'Inter', sans-serif;
}




/*   AÑADO SABADO 21 */

/* BOTONES PERSONALIZADOS POR SERVICIO - LACTAOASIS TERAPIAS */
/* PSICOLOGÍA - Morado oscuro */
.service-card:nth-child(1) .service-button {
    background: linear-gradient(135deg, #b59bf2 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
.service-card:nth-child(1) .service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* TERAPIA OCUPACIONAL - Azul oscuro */
.service-card:nth-child(2) .service-button {
    background: linear-gradient(135deg, #739af0 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.service-card:nth-child(2) .service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* ASESORÍA LACTANCIA - Turquesa oscuro */
.service-card:nth-child(3) .service-button {
    background: linear-gradient(135deg, #3cb5d6 0%, #0891b2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}
.service-card:nth-child(3) .service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.4);
}

/* WHATSAPP - Verde oscuro */
.service-card:nth-child(4) .service-button {
    background: linear-gradient(135deg, #25d366 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}
.service-card:nth-child(4) .service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}
/* ESTILOS GENERALES PARA TODOS LOS BOTONES DE SERVICIO */
.service-card button,
.services-grid .service-card button {
    padding: 0.75rem 2rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    font-size: 1rem !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
}

/* ===== FORMULARIO DE CONTACTO ===== */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wpcf7-form .form-field {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--primary-purple);
  border-radius: 15px;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.wpcf7-form .form-field:focus {
  border-color: var(--primary-pink);
  outline: none;
}

/* Mensajes de validación */
.wpcf7-not-valid-tip {
  color: var(--primary-pink);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.wpcf7-response-output {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background-color: #fce7f3;
  border: 1px solid var(--primary-pink);
  color: var(--primary-pink);
}

.time-slot.blocked {
    background-color: #f5f5f5 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.time-slot.blocked:hover {
    background-color: #f5f5f5 !important;
    transform: none !important;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.tutor-course-content-more,
.tutor-course-content-toggle {
    display: none !important;
}

.tutor-course-content .tutor-course-content-wrap {
    max-height: none !important;
    overflow: visible !important;
}

/* Contenedor de botones en cada tarjeta de servicio */
.service-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}

/* Botón "Más información" */
.service-more-info {
    background: linear-gradient(to right, #d946ef, #3b82f6);
    color: #fff !important;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    max-width: 200px;
    box-shadow: 0 2px 8px rgba(217, 70, 239, 0.2);
}

.service-more-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 70, 239, 0.3);
    color: #fff !important;
    text-decoration: none !important;
}

.service-more-info:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.3);
}

.service-more-info i {
    font-size: 0.8rem;
}

/* Asegurar que el botón principal mantenga su estilo */
.service-button {
    margin-bottom: 5px;
}

/* Responsive para botones de servicios */
@media (max-width: 768px) {
    .service-buttons {
        gap: 8px;
    }
    
    .service-more-info {
        padding: 10px 20px;
        font-size: 0.85rem;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .service-more-info {
        padding: 8px 16px;
        font-size: 0.8rem;
        max-width: 160px;
    }
}

/* Si tu tema tiene estilos específicos para .service-card, 
   asegúrate de que no interfieran con estos botones */
.service-card .service-buttons {
    margin-top: 20px;
}

/* Estilo alternativo si el gradiente no se ve bien */
.service-more-info-alt {
    background-color: #d946ef;
    color: #fff !important;
    border: 2px solid #d946ef;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    max-width: 200px;
}

.service-more-info-alt:hover {
    background-color: #3b82f6;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: #fff !important;
    text-decoration: none !important;
}


/* BOTONES "Más información" personalizados por servicio */

/* PSICOLOGÍA - Morado */
.service-card:nth-child(1) .service-more-info {
    background: linear-gradient(135deg, #b59bf2 0%, #8b5cf6 100%);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}
.service-card:nth-child(1) .service-more-info:hover {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* TERAPIA OCUPACIONAL - Azul */
.service-card:nth-child(2) .service-more-info {
    background: linear-gradient(135deg, #739af0 0%, #2563eb 100%);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}
.service-card:nth-child(2) .service-more-info:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ASESORÍA LACTANCIA - Turquesa */
.service-card:nth-child(3) .service-more-info {
    background: linear-gradient(135deg, #3cb5d6 0%, #0891b2 100%);
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.2);
}
.service-card:nth-child(3) .service-more-info:hover {
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

/* WHATSAPP - Verde */
.service-card:nth-child(4) .service-more-info {
    background: linear-gradient(135deg, #25d366 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}
.service-card:nth-child(4) .service-more-info:hover {
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}
