/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
}

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

/* Header */
.header {
    background-color: #f8f9fa;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 1rem;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.1rem;
}

.logo-text p {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 400;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo a:hover {
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Mobile menu button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease, transform 0.15s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #e91e63;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: #6c757d;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #e91e63;
}

.btn-contacto {
    background-color: #2c3e50;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-contacto:hover {
    background-color: #e91e63;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

 .hero-background {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('media/fondo.png') center/cover no-repeat;
     transform: none !important; /* ensure no JS transform moves it */
 }

 .hero-content {
     position: relative;
     z-index: 2;
     max-width: 600px;
     padding-left: 2rem;
     text-align: left;
 }

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.btn-primary {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Info Bar */
.info-bar {
    background-color: #f8f9fa;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
}

.info-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 500;
    color: #2c3e50;
}

.info-item i {
    font-size: 1.5rem;
    color: #e91e63;
}

 /* Terapia Breve Section */
 .terapia-breve {
     padding: 8rem 0 3rem 0;
     background-color: white;
 }

 .terapia-title {
     text-align: center;
     margin-bottom: 3rem;
     position: relative;
 }

 .terapia-title::before {
     content: '';
     position: absolute;
     top: -20px;
     left: 50%;
     transform: translateX(-50%);
     width: 100px;
     height: 3px;
     background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
     border-radius: 2px;
 }

 .terapia-title h2 {
     font-size: 3.5rem;
     font-weight: 700;
     color: #2c3e50;
     line-height: 1.1;
     margin: 0;
 }

 .terapia-content {
     max-width: 1200px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 4rem;
     align-items: stretch;
 }

 .terapia-image {
     display: flex;
     justify-content: center;
     align-items: stretch;
     height: 100%;
 }

 .terapia-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     border-radius: 12px;
 }

 .terapia-text {
     text-align: justify;
 }

.terapia-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2rem;
}

/* Situaciones Comunes Section */
.situaciones-comunes {
    padding: 6rem 0 5rem 0;
    background-color: #f8f9fa;
}

.situaciones-comunes h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.card p {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Sobre Mí Section */
.sobre-mi {
    padding: 6rem 0 5rem 0;
    background-color: white;
}

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

.sobre-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.sobre-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2rem;
}

.sobre-image {
    text-align: center;
}

.profile-image {
    width: 350px;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

   .profile-name {
      font-size: 1.2rem;
      font-weight: 600;
      color: #2c3e50;
  }

  /* Cita Section */
  .cita-section {
      padding: 3rem 0;
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  }

  .cita-content {
      max-width: 700px;
      margin: 0 auto;
      text-align: center;
      position: relative;
  }

  .cita-icon {
      font-size: 2.5rem;
      color: #e91e63;
      margin-bottom: 1.5rem;
      opacity: 0.7;
  }

  .cita-text {
      font-size: 1.2rem;
      line-height: 1.7;
      color: #2c3e50;
      margin: 0;
      font-style: italic;
  }

.cita-text p {
    margin-bottom: 1.5rem;
}

  .cita-text p:last-child {
      margin-bottom: 0;
      font-weight: 600;
      color: #e91e63;
  }

  .cita-author {
      margin-top: 1.5rem;
      font-size: 1rem;
      color: #6c757d;
      font-weight: 500;
  }

  /* Formación Académica Section */
.formacion-academica {
    padding: 6rem 0 5rem 0;
    background-color: #f8f9fa;
}

 .formacion-academica h2 {
     text-align: center;
     font-size: 2.5rem;
     font-weight: 600;
     color: #2c3e50;
     margin-bottom: 3rem;
 }

 .formacion-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
     gap: 2rem;
     max-width: 1000px;
     margin: 0 auto;
 }

 .formacion-item {
     background-color: white;
     padding: 2rem;
     border-radius: 15px;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     display: flex;
     align-items: center;
     gap: 1.5rem;
 }

 .formacion-item:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
 }

 .formacion-icon {
     width: 60px;
     height: 60px;
     background: linear-gradient(135deg, #e91e63 0%, #f8bbd9 100%);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
 }

 .formacion-icon i {
     font-size: 1.5rem;
     color: white;
 }

.formacion-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

 .formacion-content .institucion {
     color: #6c757d;
     font-size: 0.95rem;
     font-weight: 500;
     margin: 0;
 }

 /* Consulta Photos Carousel Section */
.consulta-photos {
    background: #ffffff;
    padding: 4rem 0;
}

.consulta-photos h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.consulta-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-btn i {
    font-size: 1.2rem;
    color: #2c3e50;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #e91e63;
    transform: scale(1.2);
}

.dot:hover {
    background: #e91e63;
    opacity: 0.7;
}

/* Responsive Design for Carousel */
@media (max-width: 768px) {
    .consulta-photos h2 {
        font-size: 2rem;
    }
    
    .consulta-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .carousel-container {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .carousel-slide img {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .carousel-dots {
        margin-top: 1.5rem;
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Contact Section */
.contact {
    padding: 6rem 0 5rem 0;
    background-color: #f8f9fa;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    max-width: 1000px;
}

.contact-left,
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
    color: #2c3e50;
}

.contact-item i {
    font-size: 1.5rem;
    color: #e91e63;
    width: 30px;
    margin-top: 0.1rem;
}

.contact-item a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #e91e63;
    text-decoration: underline;
}

.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.schedule-details span {
    line-height: 1.4;
    padding: 0.1rem 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e91e63;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

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

.footer-logo-img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-logo p {
    color: #bdc3c7;
}

.designer-credit {
    font-size: 0.9rem;
    color: #95a5a6;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #34495e;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    width: 100%;
}

.designer-credit i {
    color: #3498db;
}

.designer-link {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.designer-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-icon {
    color: white;
    font-size: 1.8rem;
}

.footer-social .social-icon:hover {
    color: #e91e63;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #bdc3c7;
}

.footer-links {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.footer-link {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #3498db;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .nav {
        gap: 0.5rem;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #e9ecef;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 1rem 1rem;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu .nav-item { 
        padding: 0.5rem 0; 
    }
    .nav-menu .dropdown { width: 100%; }
    .nav-menu .dropdown > .nav-link { width: 100%; display: flex; justify-content: space-between; align-items: center; }
    .social-icons, .btn-contacto {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
         .hero-content {
         padding-left: 0;
         text-align: center;
     }
     
     .terapia-content {
         grid-template-columns: 1fr;
         gap: 2rem;
     }
     
     .terapia-title h2 {
         font-size: 2.5rem;
     }
     
     .terapia-text {
         text-align: left;
     }
     
     .terapia-text p {
         word-spacing: normal;
         letter-spacing: normal;
     }
     
     .sobre-text p {
         text-align: left;
         word-spacing: normal;
         letter-spacing: normal;
     }
     
           .terapia-image {
          order: 1;
      }
     
     .cita-text {
         font-size: 1.1rem;
     }
     
     .cita-icon {
         font-size: 2.5rem;
     }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .sobre-content .sobre-image {
        order: -1; /* Move image above text on mobile */
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .designer-credit {
        font-size: 0.85rem;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.75rem 1rem;
        line-height: 1.5;
        margin-top: 0.5rem;
    }
    
    .designer-credit i {
        display: none;
    }
    
    .footer-bottom {
        padding-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
         .cards-container {
         grid-template-columns: 1fr;
     }
     
     .info-items {
         grid-template-columns: 1fr;
     }
     
     .formacion-grid {
         grid-template-columns: 1fr;
         gap: 1.5rem;
     }
     
     .formacion-item {
         padding: 1.5rem;
         gap: 1rem;
     }
     
     .formacion-icon {
         width: 50px;
         height: 50px;
     }
     
     .formacion-icon i {
         font-size: 1.2rem;
     }
 }

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .terapia-text h2,
    .situaciones-comunes h2,
    .sobre-text h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
    }
     
    .formacion-academica h2 {
        font-size: 2rem;
    }
     
    .formacion-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
     
    .formacion-content h3 {
        font-size: 1.1rem;
    }
     
    .formacion-content .institucion {
        font-size: 0.9rem;
    }
     
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
     
    .whatsapp-link {
        width: 55px;
        height: 55px;
    }
     
    .whatsapp-link i {
        font-size: 1.8rem;
    }
     
    .cita-text {
        font-size: 1rem;
    }
     
    .cita-icon {
        font-size: 2rem;
    }
    
    .terapia-text p,
    .sobre-text p {
        text-align: left;
        word-spacing: normal;
        letter-spacing: normal;
        hyphens: none;
    }
    
    .designer-credit {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .footer-logo-img {
        width: 35px;
        height: 35px;
    }
    
    .footer-logo h3 {
        font-size: 1.3rem;
    }
    
    .footer-logo p {
        font-size: 0.85rem;
    }
    
    /* Section nav adjustments for very small screens */
    .section-nav {
        padding: 1rem 0 0.5rem 0;
    }
    
    .section-nav-container {
        gap: 0.4rem;
        padding: 0.25rem 0;
    }
    
    .section-nav-item {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .section-nav-item i {
        font-size: 0.8rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects for better UX */
.nav-link,
.social-icon,
.btn-primary,
.btn-contacto {
    transition: all 0.3s ease;
}

 /* Focus states: show only on keyboard focus, no stroke on mouse click */
 .btn-primary:focus-visible,
 .btn-contacto:focus-visible,
 .nav-link:focus-visible {
     outline: 2px solid #e91e63;
     outline-offset: 2px;
 }
 /* Ensure no outline when clicking 'Terapias' trigger */
 .dropdown > .nav-link:focus { outline: none; }
 .dropdown > .nav-link:active { outline: none; }

 /* WhatsApp Floating Button */
 .whatsapp-float {
     position: fixed;
     bottom: 30px;
     right: 30px;
     z-index: 1000;
 }

 .whatsapp-link {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 60px;
     height: 60px;
     background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
     border-radius: 50%;
     box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
     transition: all 0.3s ease;
     text-decoration: none;
     animation: whatsapp-pulse 2s infinite;
 }

 .whatsapp-link:hover {
     transform: scale(1.1);
     box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
 }

 .whatsapp-link i {
     font-size: 2rem;
     color: white;
 }

 @keyframes whatsapp-pulse {
     0% {
         box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
     }
     50% {
         box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
     }
     100% {
         box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
     }
 }

/* Estilos específicos para la página de depresión */
.depresion-hero .hero-title {
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.depresion-hero .hero-subtitle {
    color: #2c3e50;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.card ul li {
    padding: 0.5rem 0;
    color: #495057;
    position: relative;
    padding-left: 1.5rem;
}

.card ul li::before {
    content: '•';
    color: #FFD700;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.terapia-lista {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.terapia-lista li {
    padding: 1rem 0;
    color: #495057;
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

.terapia-lista li::before {
    content: '✓';
    color: #e91e63;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.profile-specialty {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Dropdown menu styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Abrir dropdown por hover solo en dispositivos con hover (escritorio) */
@media (hover: hover) and (pointer: fine) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #2c3e50;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #e91e63;
}

/* Responsive adjustments for depression page */
@media (max-width: 768px) {
    .section-nav {
        padding: 1.5rem 0 0.75rem 0;
    }
    
    .section-nav-container {
        gap: 0.5rem;
        padding: 0.25rem 0;
    }
    
    .section-nav-item {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .section-nav-item i {
        font-size: 0.9rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .card-icon i {
        font-size: 1.5rem;
    }
    
    .terapia-lista li {
        padding-left: 1.5rem;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin-top: 0.5rem;
        display: none;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
    .dropdown-menu a { padding: 0.5rem 0; display: block; padding-left: 1rem; }
    
    .dropdown-menu a {
        padding: 0.5rem 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    .dropdown-menu a:last-child {
        border-bottom: none;
    }
} 

/* Navegador de Secciones */
.section-nav {
    background-color: #f8f9fa;
    padding: 2rem 0 1rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-top: 40px;
    position: sticky;
    top: 80px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-nav-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.25rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #e91e63 #f8f9fa;
}

.section-nav-container::-webkit-scrollbar {
    height: 6px;
}

.section-nav-container::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 3px;
}

.section-nav-container::-webkit-scrollbar-thumb {
    background: #e91e63;
    border-radius: 3px;
}

.section-nav-container::-webkit-scrollbar-thumb:hover {
    background: #c2185b;
}

.section-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: white;
    border-radius: 6px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: fit-content;
}

.section-nav-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    color: #2196F3;
    border-color: #2196F3;
}

.section-nav-item i {
    font-size: 1rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

.section-nav-item:hover i {
    color: #2196F3;
}

.section-nav-item span {
    line-height: 1.2;
} 

/* Depression page specific styles */
.depresion-page .card-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.depresion-page .card ul li::before {
    color: #3498db;
}

.depresion-page .terapia-title::before {
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
}

/* Pareja page specific styles */
.pareja-page .btn-primary {
    background-color: #e91e63;
    color: white;
}

.pareja-page .btn-primary:hover {
    background-color: #c2185b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.2);
}

.pareja-page .btn-contacto {
    background-color: #e91e63;
    color: white;
}

.pareja-page .btn-contacto:hover {
    background-color: #c2185b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.2);
}

.pareja-page .card-icon {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.pareja-page .card ul li::before {
    color: #e91e63;
}

/* Opositores page specific styles */
.opositores-page .card-icon {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a1a 100%);
}

.opositores-page .card ul li::before {
    color: #2d5a27;
}

.opositores-page .formacion-icon {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a1a 100%);
}

.opositores-page .terapia-title::before {
    background: linear-gradient(90deg, #2d5a27 0%, #1e3a1a 100%);
}

.opositores-page .section-nav-container {
    justify-content: center !important;
}

.pareja-page .terapia-title::before {
    background: linear-gradient(90deg, #e91e63 0%, #c2185b 100%);
}

.pareja-page .section-nav-container {
    justify-content: center !important;
}

.ansiedad-page .section-nav-container {
    justify-content: center !important;
}

/* Adolescentes page specific styles */
.adolescentes-page .card-icon {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.adolescentes-page .card ul li::before {
    color: #f39c12;
}

.adolescentes-page .formacion-icon {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.adolescentes-page .terapia-title::before {
    background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
}

.adolescentes-page .section-nav-container {
    justify-content: center !important;
}

.pareja-page .section-nav-item:hover {
    color: #e91e63;
    border-color: #e91e63;
}

.pareja-page .section-nav-item:hover i {
    color: #e91e63;
}

.pareja-page .formacion-icon {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.pareja-page .info-item i {
    color: #e91e63;
}

.pareja-page .terapia-lista li::before {
    color: #e91e63;
}

/* Pareja page specific styles - targeting by section ID */
#situaciones .card-icon {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

#situaciones .card ul li::before {
    color: #e91e63;
}

/* Pareja page title decoration */
#que-es-pareja .terapia-title::before {
    background: linear-gradient(90deg, #e91e63 0%, #c2185b 100%);
}

/* Pareja page section navigation hover styles */
.section-nav-item:hover {
    color: #e91e63 !important;
    border-color: #e91e63 !important;
}

.section-nav-item:hover i {
    color: #e91e63 !important;
}

/* FAQ Page Styles */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem 2rem;
    background-color: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-question h3 i {
    color: #e91e63;
    font-size: 1.2rem;
}

.faq-toggle {
    color: #6c757d;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-toggle.fa-rotate-180 {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

.faq-answer.active {
    padding: 2rem;
    max-height: 1000px;
}

.faq-answer p {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer .terapia-lista {
    margin: 1rem 0;
}

/* FAQ Page Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer.active {
        padding: 1.5rem;
    }
    
    .faq-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 0.75rem 1rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
        gap: 0.5rem;
    }
    
    .faq-answer.active {
        padding: 1rem;
    }
}