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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Tipografía global - Font weight ligero para todos los encabezados */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
}

/* Top Bar */
.top-bar {
    background: #1a1a1a;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

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

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links a {
    color: white;
    font-size: 16px;
    transition: color 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    color: #ff8c42;
}

.language-flags {
    display: flex;
    gap: 5px;
}

.flag {
    width: 24px;
    height: 16px;
    cursor: pointer;
    border-radius: 2px;
}

/* Header y Navigation */
header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    top: 0;
    background: rgba(26, 26, 26, 0.98);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff8c42, #b8966d);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.logo-icon-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    color: white;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
}

.logo-text span {
    color: #ff8c42;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    align-items: center;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 28px 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    height: 80px;
    box-sizing: border-box;
    white-space: nowrap;
}

.nav-link:hover,
.nav-item:hover .nav-link,
.nav-link.active {
    color: #ff8c42;
    border-bottom-color: #ff8c42;
}

/* Botón de Doctoralia - Destacado en naranja */
.nav-doctoralia {
    background: #ff8c42 !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    margin-left: 10px !important;
    border-bottom: none !important;
    height: auto !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}

.nav-doctoralia:hover {
    background: #ff9d5c !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
    border-bottom: none !important;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    min-width: 280px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 3px solid #ff8c42;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    color: white;
    padding: 15px 25px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    text-transform: none;
    cursor: pointer;
}

.dropdown-link:hover,
.dropdown-link.active {
    background: rgba(212, 184, 150, 0.1);
    color: #ff8c42;
    padding-left: 35px;
}

.dropdown-link:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

/* Botón CTA de WhatsApp en navbar */
.nav-cta {
    background: #25d366 !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 20px !important;
    margin-left: 10px !important;
    border-bottom: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: #20ba5a !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    border-bottom: none !important;
}

.cta-nav-button {
    background: linear-gradient(45deg, #ff8c42, #b8966d);
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 5px;
    font-weight: 300 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none !important;
}

.cta-nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
    color: white !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content Container */
.main-content {
    margin-top: 40px;
    min-height: calc(50vh - 80px);
}

/* Content Sections */
.content-section {
    display: none;
    padding: 10px 0;
    min-height: 20vh;
}

.content-section.active {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h1,
.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.section-header h1::after,
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #ff8c42, #b8966d);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section Styles */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: left;
}

.hero-text .highlight {
    color: #ff8c42;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text .subtitle {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 400;
    color: #ff8c42;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: #666;
    line-height: 1.8;
}

.hero-services {
    margin: 25px 0;
}

.hero-services p {
    font-weight: 300;
    margin-bottom: 10px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff8c42, #ff9d5c);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.5);
}

/* Botones específicos para la sección de "Llamada a la acción" */
.cta-button-action {
    background: #ff8c42 !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border: 2px solid #ff8c42 !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    cursor: pointer !important;
    min-width: 180px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-family: 'Roboto', sans-serif !important;
}

.cta-button-action:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.4) !important;
    background: #ff9d5c !important;
}

.whatsapp-button-action {
    background: #25d366 !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border: 2px solid #25d366 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    min-width: 180px !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-family: 'Roboto', sans-serif !important;
}

.whatsapp-button-action:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4) !important;
    background: #20c157 !important;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: -30px;
}

.hero-image-placeholder {
    width: 400px;
    height: 500px;
    background: #f8f9fa;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-align: center;
    font-size: 18px;
    padding: 20px;
    border: 2px solid #ff8c42;
}

.hero-image-photo {
    width: 480px;
    height: 600px;
    border-radius: 15px;
    object-fit: cover;
    border: 2px solid #ff8c42;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.certification-badge {
    position: absolute;
    bottom: 100px;
    right: 60px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #333;
    font-weight: 300;
    font-size: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Perfil Médico */
.perfil-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

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

.doctor-placeholder {
    width: 100%;
    max-width: 350px;
    height: 400px;
    background: #f8f9fa;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #666;
    border: 2px solid #ff8c42;
}

.doctor-photo {
    width: 100%;
    max-width: 350px;
    height: 400px;
    border-radius: 15px;
    object-fit: cover;
    border: 2px solid #ff8c42;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.perfil-info h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
    text-align: left;
}

.perfil-info h3 {
    font-size: 1.3rem;
    color: #ff8c42;
    margin-bottom: 20px;
    font-weight: 400;
}

.perfil-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.credentials h4 {
    font-size: 1.2rem;
    color: #333;
    margin: 25px 0 15px 0;
}

.credentials ul {
    list-style: none;
    padding: 0;
}

.credentials li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.credentials li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff8c42;
    font-weight: 300;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white !important;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #ff8c42;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

/* Estilos específicos para sección de servicios en INICIO (con fondo de imagen) */
.services-hero-section .service-card {
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: white !important;
}

.services-hero-section .service-card h3 {
    color: white !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.services-hero-section .service-card p {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.services-hero-section .service-btn {
    background: white !important;
    color: #2c5aa0 !important;
    font-weight: 500 !important;
}

/* Estilos específicos para texto en tarjetas - Máxima prioridad */
.service-card h3,
.service-card .service-title {
    color: #333 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.service-card p,
.service-card .service-description {
    color: #666 !important;
    text-shadow: none !important;
}

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

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

.service-card h3 {
    font-size: 1.5rem;
    color: #333 !important;
    margin-bottom: 15px;
    font-weight: 600 !important;
}

.service-card p {
    color: #666 !important;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1rem !important;
}

.learn-more {
    color: #ff8c42 !important;
    text-decoration: none;
    font-weight: 600 !important;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
    font-size: 1rem !important;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 184, 150, 0.1);
    border-radius: 20px;
    margin-top: 10px;
}

.learn-more:hover {
    border-bottom-color: #ff8c42;
    background: rgba(212, 184, 150, 0.2);
}

/* Treatment Content */
.treatment-content {
    max-width: 900px;
    margin: 0 auto;
}

.treatment-description h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

.treatment-description h3 {
    font-size: 1.3rem;
    color: #ff8c42;
    margin: 25px 0 15px 0;
}

.treatment-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.treatment-description ul,
.treatment-description ol {
    margin: 20px 0;
    padding-left: 30px;
}

.treatment-description li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #666;
}

.cta-appointment {
    text-align: center;
    margin: 40px 0;
}

/* Benefits Section */
.benefits-section {
    margin-top: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.benefit-item {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
}

.benefit-item p {
    color: #666;
    line-height: 1.7;
}

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

.case-study {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.image-placeholder {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 300;
    border: 1px solid #e0e0e0;
}

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
}

.case-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.treatment-type {
    background: #ff8c42;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 300;
}

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

.blog-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.blog-image .image-placeholder {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    background: #ff8c42;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 300;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 15px 0 10px 0;
    line-height: 1.4;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-date {
    color: #999;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.social-media {
    margin-top: 30px;
}

.social-media h3 {
    color: #333;
    margin-bottom: 15px;
}

.social-links-contact {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #ff8c42;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #b8966d;
}

/* Contact Form */
.contact-form h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

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

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Container */
.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#map {
    width: 100%;
    height: 400px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px 0;
    margin-top: 0px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ff8c42;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff8c42;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

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

.footer-logo .logo-icon-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-logo .logo-text {
    color: white;
    font-size: 24px;
    font-weight: 300;
}

.footer-logo .logo-text span {
    display: block;
    font-size: 16px;
    color: #ff8c42;
    margin-top: 2px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social .social-link {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.footer-social .social-link:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* Utility Classes */
.bg-light {
    background: #f8f9fa;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    /* Prevenir overflow horizontal */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Ajustar contenedores */
    .container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0 auto;
    }
    
    .section-header {
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .top-bar {
        display: none;
    }

    header {
        top: 0;
    }

    .main-content {
        margin-top: 70px;
        width: 100%;
    }

    /* Navegación móvil mejorada */
    nav {
        padding: 0 15px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        border-left: none;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(212, 184, 150, 0.1);
        margin: 0;
        border: none;
    }

    .dropdown-link {
        padding-left: 40px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .hero-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 25px;
        padding: 30px 0;
        max-width: 550px !important;
        margin: 0 auto !important;
    }

    .hero-text {
        padding: 0 15px;
        grid-column: 1 / -1 !important;
        text-align: center !important;
        justify-self: center !important;
        margin: 0 5px !important;
    }

    .hero-image {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        justify-self: center !important;
        margin: 0 5px !important;
        max-width: 280px !important;
    }

    .hero-text h1 {
        font-size: 2rem;
        text-align: center;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-text .subtitle {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .hero-image-placeholder {
        width: 250px;
        height: 300px;
        margin: 0 auto;
    }

    .certification-badge {
        position: static;
        margin: 15px auto 0;
        max-width: 120px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 20px;
        padding: 0 15px;
        justify-content: center !important;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .section-header h1,
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .section-header p {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }

    .content-section {
        padding: 40px 0;
    }

    .perfil-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }
    
    .service-card {
        grid-column: 1 / -1 !important;
        max-width: 550px !important;
        justify-self: center !important;
        margin: 0 5px !important;
        background: white !important;
        color: #333 !important;
    }

    .service-card h3 {
        color: #333 !important;
        font-size: 1.3rem !important;
        font-weight: 600 !important;
    }

    .service-card p {
        color: #666 !important;
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .treatment-description h2 {
        font-size: 1.5rem;
    }

    .treatment-description h3 {
        font-size: 1.2rem;
    }
}

/* Estilos específicos para la nueva sección de contacto */

/* Efectos hover para los inputs del formulario */
#contacto input:focus,
#contacto select:focus,
#contacto textarea:focus {
    border-color: #ff8c42 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 184, 150, 0.1) !important;
}

/* Efectos hover para botón de envío */
#contacto button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(44, 90, 160, 0.4) !important;
}

/* Efectos hover para redes sociales */
#contacto .social-links-contact a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Efectos hover para botones de llamada urgente */
#contacto a[href^="tel:"]:hover,
#contacto a[href^="https://wa.me/"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
}

/* Media queries para responsividad del contacto */
@media (max-width: 768px) {
    /* Asegurar que el grid de contacto sea de una columna en tablet */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .contact-info-card,
    .contact-form-card {
        grid-column: 1 / -1 !important;
        margin: 0 5px !important;
        max-width: 100% !important;
        justify-self: center !important;
    }
    
    #contacto .container > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    #contacto .section-header h1 {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }
    
    #contacto .contact-info h2,
    #contacto .contact-form h2 {
        font-size: 1.4rem !important;
        margin-bottom: 15px !important;
    }
    
    #contacto .contact-item {
        padding: 12px !important;
        margin-bottom: 12px !important;
    }
    
    #contacto .contact-item div:first-child {
        font-size: 1.1rem !important;
    }
    
    #contacto .social-links-contact {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    #contacto .social-links-contact a {
        display: block !important;
        text-align: center !important;
        padding: 10px !important;
        font-size: 0.9rem !important;
    }
    
    #contacto .hero-cta {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    /* Formulario móvil */
    #contacto form {
        padding: 0 10px !important;
    }
    
    #contacto label {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    #contacto input,
    #contacto select,
    #contacto textarea {
        padding: 12px 15px !important;
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }
    
    #contacto button {
        padding: 12px 25px !important;
        font-size: 1rem !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    /* Estilos generales para móviles pequeños */
    body {
        font-size: 14px;
        overflow-x: hidden;
        width: 100vw;
    }
    
    * {
        max-width: 100%;
    }
    
    .container {
        max-width: 100%;
        padding: 0 10px;
        margin: 0 auto;
    }

    .main-content {
        margin-top: 60px;
        width: 100%;
    }
    
    /* Header compacto */
    nav {
        padding: 0 10px;
    }

    /* Sección de inicio mejorada */
    .hero-container {
        max-width: 100% !important;
        padding: 20px 10px !important;
    }
    
    .hero-content {
        padding: 20px 0;
        gap: 15px;
        grid-template-columns: 1fr !important;
        max-width: 550px !important;
        margin: 0 auto !important;
    }

    .hero-text {
        padding: 0 10px;
        grid-column: 1 / -1 !important;
        text-align: center !important;
        justify-self: center !important;
        margin: 0 5px !important;
    }
    
    .hero-image {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        justify-self: center !important;
        margin: 0 5px !important;
        max-width: 280px !important;
    }

    .hero-text h1 {
        font-size: 1.6rem;
        line-height: 1.1;
        margin-bottom: 8px;
    }

    .hero-text .subtitle {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .hero-text p {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .hero-image-placeholder {
        width: 200px;
        height: 240px;
    }

    .hero-cta {
        margin-top: 15px;
        gap: 10px;
        padding: 0 10px;
        justify-content: center !important;
    }

    .cta-button {
        padding: 10px 18px;
        font-size: 0.8rem;
        max-width: 240px;
    }

    /* Headers de sección */
    .section-header h1,
    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .section-header p {
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .container {
        padding: 0 10px;
    }

    .content-section {
        padding: 30px 0;
    }

    /* Contacto específico */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .contact-info-card,
    .contact-form-card {
        grid-column: 1 / -1 !important;
        margin: 0 2px !important;
        padding: 15px 10px !important;
    }
    
    #contacto .container > div:first-child > div {
        padding: 20px 15px !important;
    }
    
    #contacto .section-header h1 {
        font-size: 1.5rem !important;
    }
    
    #contacto .contact-item div:first-child {
        font-size: 1.2rem !important;
    }
    
    #contacto input,
    #contacto select,
    #contacto textarea {
        padding: 10px 12px !important;
        font-size: 14px !important;
    }
    
    #contacto button {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }

    /* Antes y después específico para móviles pequeños */
    #antes-despues .container {
        padding: 0 10px !important;
    }
    
    #antes-despues .section-header h1 {
        font-size: 1.4rem !important;
    }
    
    #antes-despues .container > div:last-child > div {
        padding: 15px !important;
        margin: 0 2px !important;
    }
    
    /* En móviles muy pequeños, mantener 2 columnas pero más compactas */
    #antes-despues .container > div:last-child > div > div:first-child {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    
    #antes-despues img {
        height: 120px !important;
    }
    
    #antes-despues .container > div:last-child > div h3 {
        font-size: 0.9rem !important;
    }
    
    #antes-despues .container > div:last-child > div p {
        font-size: 0.75rem !important;
    }
    
    /* Tags aún más pequeños */
    #antes-despues .container > div:last-child > div span {
        padding: 2px 4px !important;
        font-size: 0.6rem !important;
    }
    
    #antes-despues .container > div:last-child > div:last-child {
        padding: 15px 10px !important;
    }
    
    #antes-despues .container > div:last-child > div:last-child h3 {
        font-size: 1.1rem !important;
    }
    
    #antes-despues .container > div:last-child > div:last-child a {
        padding: 8px 15px !important;
        font-size: 0.75rem !important;
    }
    
    /* Servicios específico para móviles pequeños */
    .services-hero-section {
        padding: 40px 0 !important;
    }
    
    /* Servicios del INICIO - mantener texto blanco */
    .services-hero-section .service-card {
        background: rgba(255,255,255,0.1) !important;
        color: white !important;
        grid-column: 1 / -1 !important;
        max-width: 100% !important;
        margin: 0 2px !important;
        padding: 15px !important;
    }
    
    .services-hero-section .service-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
        color: white !important;
        font-weight: 600 !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }
    
    .services-hero-section .service-card p {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        line-height: 1.3 !important;
    }
    
    /* Otros servicios (rehabilitación) - mantener texto oscuro */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 5px !important;
    }
    
    .service-card:not(.services-hero-section .service-card) {
        grid-column: 1 / -1 !important;
        max-width: 100% !important;
        margin: 0 2px !important;
        padding: 15px !important;
        background: white !important;
    }
    
    .service-card:not(.services-hero-section .service-card) h3 {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
        color: #333 !important;
        font-weight: 600 !important;
    }
    
    .service-card:not(.services-hero-section .service-card) p {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
        color: #666 !important;
        line-height: 1.3 !important;
    }
    
    .service-btn {
        font-size: 0.8rem !important;
        padding: 7px 14px !important;
    }
    
    .services-hero-section h1 {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
    }
}

/* Media query para dispositivos muy pequeños */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    .hero-text h1 {
        font-size: 1.4rem !important;
    }
    
    .section-header h1,
    .section-header h2 {
        font-size: 1.3rem !important;
    }
    
    #antes-despues img {
        height: 100px !important;
    }
    
    #contacto input,
    #contacto select,
    #contacto textarea {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }
    
    .cta-button {
        padding: 8px 15px !important;
        font-size: 0.7rem !important;
    }
}

/* Estilos específicos para la nueva sección de perfil médico */
#perfil .container > div:last-child {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

#perfil button:hover {
    background: #ff8c42 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 184, 150, 0.3);
}


/* Media queries para responsividad del perfil médico */
@media (max-width: 768px) {
    #perfil .container > div:last-child {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center !important;
    }
    
    #perfil h1 {
        font-size: 2.5rem !important;
    }
    
    #perfil h2 {
        font-size: 1.5rem !important;
    }
    
    #perfil .container > div:last-child > div:first-child {
        order: 2 !important;
    }
    
    #perfil .container > div:last-child > div:last-child {
        order: 1 !important;
    }
    
    #perfil img {
        max-width: 300px !important;
    }
}

@media (max-width: 480px) {
    #perfil {
        padding: 60px 0 !important;
    }
    
    #perfil .container {
        padding: 0 15px !important;
    }
    
    #perfil h1 {
        font-size: 2rem !important;
    }
    
    #perfil h2 {
        font-size: 1.3rem !important;
    }
    
    #perfil p {
        font-size: 1rem !important;
    }
    
    #perfil .container > div:last-child > div:first-child > div {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    #perfil img {
        max-width: 250px !important;
    }
    
    #perfil .container > div:first-child {
        text-align: center !important;
    }
}

/* Estilos específicos para la sección Antes y Después */

/* Efectos hover para las tarjetas de casos */
#antes-despues .container > div:last-child > div:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
}

/* Efectos hover para botones de llamada a la acción */
#antes-despues a[data-section="contacto"]:hover,
#antes-despues a[href^="https://wa.me/"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
}

#antes-despues a[data-section="contacto"]:hover {
    background: rgba(255,255,255,0.3) !important;
}

#antes-despues a[href^="https://wa.me/"]:hover {
    background: #1fb855 !important;
}

/* Media queries para responsividad de Antes y Después */
@media (max-width: 1200px) {
    #antes-despues .container > div:last-child {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
        gap: 35px !important;
    }
}

@media (max-width: 768px) {
    #antes-despues {
        padding: 40px 0 !important;
    }
    
    #antes-despues .container > div:last-child {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    #antes-despues .section-header h1 {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }
    
    #antes-despues .section-header p {
        font-size: 0.95rem !important;
        padding: 0 15px !important;
    }
    
    /* Tarjetas de casos en móvil - mantener grid de 2 columnas para imágenes */
    #antes-despues .container > div:last-child > div {
        padding: 20px !important;
        margin: 0 5px !important;
    }
    
    /* Grid de imágenes - mantener 2 columnas en móvil */
    #antes-despues .container > div:last-child > div > div:first-child {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
    
    #antes-despues img {
        height: 150px !important;
    }
    
    /* Información del caso */
    #antes-despues .container > div:last-child > div h3 {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }
    
    #antes-despues .container > div:last-child > div p {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
    }
    
    /* Tags más pequeños */
    #antes-despues .container > div:last-child > div span {
        padding: 3px 6px !important;
        font-size: 0.65rem !important;
    }
    
    /* Llamada a la acción en móvil */
    #antes-despues .container > div:last-child > div:last-child {
        padding: 20px 15px !important;
        margin: 0 5px !important;
    }
    
    #antes-despues .container > div:last-child > div:last-child h3 {
        font-size: 1.3rem !important;
    }
    
    #antes-despues .container > div:last-child > div:last-child p {
        font-size: 0.9rem !important;
    }
    
    #antes-despues .container > div:last-child > div:last-child > div:last-child {
        flex-direction: column !important;
        gap: 10px !important;
    }
}

/* Responsive Design para Sección de Contacto - Desktop */
@media (min-width: 992px) {
    /* Layout de 2 columnas en desktop */
    .contact-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
        max-width: 1200px !important;
        align-items: start !important;
    }
    
    /* Información de contacto a la izquierda */
    .contact-info-card {
        grid-column: 1 !important;
        margin: 0 !important;
        max-width: none !important;
        justify-self: stretch !important;
    }
    
    /* Formulario a la derecha */
    .contact-form-card {
        grid-column: 2 !important;
        margin: 0 !important;
        max-width: none !important;
        justify-self: stretch !important;
    }
    
    /* Ajustes de padding para mejor espaciado en desktop */
    .contact-info-card,
    .contact-form-card {
        padding: 30px !important;
    }
    
    /* Mejorar espaciado interno en desktop */
    #contacto .section-header {
        margin-bottom: 80px !important;
    }
}

/* Mantener diseño móvil para pantallas menores a 992px */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .contact-info-card,
    .contact-form-card {
        grid-column: 1 / -1 !important;
        margin: 0 5px !important;
    }
}

/* Responsive Design para Sección de Inicio/Hero - Desktop */
@media (min-width: 992px) {
    /* Container principal más ancho en desktop */
    .hero-container {
        max-width: 1200px !important;
        padding: 20px 20px !important;
    }
    
    /* Layout de 2 columnas en desktop */
    .hero-content {
        grid-template-columns: 1fr 400px !important;
        gap: 60px !important;
        max-width: 100% !important;
        align-items: center !important;
    }
    
    /* Texto a la izquierda */
    .hero-text {
        grid-column: 1 !important;
        text-align: left !important;
        margin: 0 !important;
        max-width: 100% !important;
        justify-self: stretch !important;
    }
    
    /* Imagen a la derecha */
    .hero-image {
        grid-column: 2 !important;
        margin: 0 !important;
        max-width: 400px !important;
        justify-self: center !important;
    }
    
    /* Ajustes de tipografía para desktop */
    .hero-text h1 {
        font-size: 3.5rem !important;
        margin-bottom: 25px !important;
        line-height: 1.1 !important;
    }
    
    .hero-text p:first-of-type {
        font-size: 1.3rem !important;
        margin-bottom: 20px !important;
    }
    
    .hero-text p:nth-of-type(2) {
        font-size: 1.1rem !important;
        margin-bottom: 20px !important;
    }
    
    .hero-text p:nth-of-type(3) {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
    }
    
    /* Botones alineados a la izquierda en desktop */
    .hero-cta {
        justify-content: flex-start !important;
        margin-bottom: 30px !important;
    }
    
    /* Imagen más grande en desktop */
    .hero-image img {
        max-width: 400px !important;
        width: 100% !important;
    }
}

/* Mantener diseño móvil para pantallas menores a 992px */
@media (max-width: 991px) {
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-width: 550px !important;
    }
    
    .hero-text,
    .hero-image {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        justify-self: center !important;
    }
    
    .hero-text {
        margin: 0 5px !important;
    }
    
    .hero-image {
        margin: 0 5px !important;
        max-width: 280px !important;
    }
    
    .hero-cta {
        justify-content: center !important;
    }
}

/* Responsive Design para Sección de Servicios */
@media (min-width: 992px) {
    /* Sección de servicios más grande en desktop */
    .services-hero-section {
        padding: 80px 0 !important;
    }
    
    /* Grid de servicios en 3 columnas para desktop */
    .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
        max-width: 1200px !important;
        padding: 0 20px !important;
    }
    
    /* Servicios del INICIO - mantener texto blanco en desktop */
    .services-hero-section .service-card {
        background: rgba(255,255,255,0.1) !important;
        color: white !important;
        grid-column: auto !important;
        max-width: none !important;
        margin: 0 !important;
        justify-self: stretch !important;
        padding: 25px !important;
    }
    
    .services-hero-section .service-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 18px !important;
        color: white !important;
        font-weight: 600 !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }
    
    .services-hero-section .service-card p {
        font-size: 0.95rem !important;
        margin-bottom: 18px !important;
        line-height: 1.5 !important;
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }
    
    /* Otros servicios (rehabilitación) - mantener texto oscuro en desktop */
    .service-card:not(.services-hero-section .service-card) {
        grid-column: auto !important;
        max-width: none !important;
        margin: 0 !important;
        justify-self: stretch !important;
        padding: 25px !important;
        background: white !important;
    }
    
    .service-card:not(.services-hero-section .service-card) h3 {
        font-size: 1.2rem !important;
        margin-bottom: 18px !important;
        color: #333 !important;
        font-weight: 600 !important;
    }
    
    .service-card:not(.services-hero-section .service-card) p {
        font-size: 0.95rem !important;
        margin-bottom: 18px !important;
        line-height: 1.5 !important;
        color: #666 !important;
    }
    }
    
    .service-btn {
        font-size: 0.9rem !important;
        padding: 10px 18px !important;
    }
    
    /* Título más grande en desktop */
    .services-hero-section h1 {
        font-size: 3rem !important;
        margin-bottom: 50px !important;
    }
}

/* Mantener diseño móvil para servicios */
@media (max-width: 991px) {
    .services-hero-section {
        padding: 50px 0 !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }
    
    .service-card {
        grid-column: 1 / -1 !important;
        max-width: 550px !important;
        justify-self: center !important;
        margin: 0 5px !important;
        padding: 20px !important;
        background: white !important;
    }
    
    /* Servicios del INICIO - mantener texto blanco */
    .services-hero-section .service-card {
        background: rgba(255,255,255,0.1) !important;
        color: white !important;
    }
    
    .services-hero-section .service-card h3 {
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }
    
    .services-hero-section .service-card p {
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }
    
    .service-card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 15px !important;
        color: #333 !important;
        font-weight: 600 !important;
    }
    
    .service-card p {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
        color: #666 !important;
        line-height: 1.4 !important;
    }
    
    .service-btn {
        font-size: 0.85rem !important;
        padding: 8px 16px !important;
    }
    
    .services-hero-section h1 {
        font-size: 2.5rem !important;
        margin-bottom: 40px !important;
    }
    
    /* Botones responsivos para móvil */
    .cta-button-action,
    .whatsapp-button-action {
        min-width: 150px !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
        margin: 5px !important;
    }
}

/* Estilos adicionales para botones en móviles muy pequeños */
@media (max-width: 480px) {
    .cta-button-action,
    .whatsapp-button-action {
        width: 100% !important;
        max-width: 280px !important;
        margin: 8px auto !important;
        display: block !important;
        text-align: center !important;
    }
    
    .whatsapp-button-action {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* ========================================
   FAQ MODERN SECTION - ANIMACIONES ÉPICAS
   ======================================== */

/* Sección principal */
.faq-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.03) 0%, transparent 70%);
    animation: rotateBackground 30s linear infinite;
}

@keyframes rotateBackground {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Icono animado del header */
.faq-icon-animated {
    animation: bounceIn 1s ease-out, float 3s ease-in-out infinite;
}

@keyframes bounceIn {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Título con efecto gradiente */
.faq-title {
    background: linear-gradient(135deg, #333 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.faq-subtitle {
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

/* Acordeón moderno */
.faq-accordion-modern {
    position: relative;
    z-index: 1;
}

.faq-item-modern {
    background: white;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInLeft 0.6s ease-out both;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
    border: 2px solid transparent;
}

.faq-item-modern:nth-child(1) { --item-index: 0; }
.faq-item-modern:nth-child(2) { --item-index: 1; }
.faq-item-modern:nth-child(3) { --item-index: 2; }
.faq-item-modern:nth-child(4) { --item-index: 3; }
.faq-item-modern:nth-child(5) { --item-index: 4; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.faq-item-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 140, 66, 0.2);
    border-color: rgba(255, 140, 66, 0.3);
}

.faq-item-modern.active {
    border-color: #ff8c42;
    box-shadow: 0 20px 50px rgba(255, 140, 66, 0.25);
}

/* Pregunta - Header del acordeón */
.faq-question-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    cursor: pointer;
    background: linear-gradient(135deg, white 0%, #fafafa 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-question-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.1) 0%, rgba(255, 140, 66, 0.05) 100%);
    transition: width 0.4s ease;
}

.faq-item-modern.active .faq-question-modern::before {
    width: 100%;
}

.faq-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ff8c42;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.1) 0%, rgba(255, 140, 66, 0.2) 100%);
    border-radius: 15px;
    transition: all 0.4s ease;
}

.faq-item-modern:hover .faq-number {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #ff8c42 0%, #ff9d5c 100%);
    color: white;
}

.faq-item-modern.active .faq-number {
    background: linear-gradient(135deg, #ff8c42 0%, #ff9d5c 100%);
    color: white;
    transform: scale(1.1);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
}

.faq-title-text {
    flex: 1;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.faq-item-modern:hover .faq-title-text {
    color: #ff8c42;
}

.faq-toggle {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.faq-item-modern:hover .faq-toggle {
    background: #ff8c42;
    transform: rotate(90deg);
}

.faq-item-modern.active .faq-toggle {
    background: #ff8c42;
    transform: rotate(135deg);
}

.faq-icon-plus {
    font-size: 2rem;
    color: #333;
    font-weight: 300;
    transition: color 0.3s ease;
}

.faq-item-modern:hover .faq-icon-plus,
.faq-item-modern.active .faq-icon-plus {
    color: white;
}

/* Respuesta - Contenido colapsable */
.faq-answer-modern {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item-modern.active .faq-answer-modern {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 0 30px 30px 110px;
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    animation: fadeIn 0.6s ease-out;
}

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

.faq-answer-content p {
    margin-bottom: 15px;
}

/* Lista de items con efecto */
.faq-list-item {
    padding: 12px 15px;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.05) 0%, rgba(255, 140, 66, 0.1) 100%);
    border-radius: 10px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: slideInRight 0.4s ease-out both;
    animation-delay: calc(var(--list-index, 0) * 0.05s);
}

.faq-list-item:nth-child(1) { --list-index: 0; }
.faq-list-item:nth-child(2) { --list-index: 1; }
.faq-list-item:nth-child(3) { --list-index: 2; }
.faq-list-item:nth-child(4) { --list-index: 3; }
.faq-list-item:nth-child(5) { --list-index: 4; }
.faq-list-item:nth-child(6) { --list-index: 5; }
.faq-list-item:nth-child(7) { --list-index: 6; }
.faq-list-item:nth-child(8) { --list-index: 7; }
.faq-list-item:nth-child(9) { --list-index: 8; }
.faq-list-item:nth-child(10) { --list-index: 9; }

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

.faq-list-item:hover {
    background: linear-gradient(135deg, #ff8c42 0%, #ff9d5c 100%);
    color: white;
    transform: translateX(5px);
}

.faq-benefit {
    padding: 10px 15px;
    margin-bottom: 8px;
    background: rgba(255, 140, 66, 0.05);
    border-left: 3px solid #ff8c42;
    border-radius: 5px;
    color: #333;
    transition: all 0.3s ease;
}

.faq-benefit:hover {
    background: rgba(255, 140, 66, 0.1);
    transform: translateX(5px);
}

/* CTA Final con efectos */
.faq-cta-card {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.05) 0%, rgba(255, 140, 66, 0.1) 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

.faq-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.1) 0%, transparent 70%);
    animation: rotateBackground 20s linear infinite;
}

.faq-cta-card > * {
    position: relative;
    z-index: 1;
}

.faq-cta-icon {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.faq-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: all 0.4s ease;
    animation: pulse 2s ease-in-out infinite;
}

.faq-whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #20ba5a 0%, #1fa855 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-title {
        font-size: 2.5rem !important;
    }
    
    .faq-number {
        min-width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .faq-title-text {
        font-size: 1.1rem;
    }
    
    .faq-question-modern {
        padding: 20px;
        gap: 15px;
    }
    
    .faq-answer-content {
        padding: 0 20px 20px 20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr !important;
    }
    
    .faq-cta-card {
        padding: 40px 20px;
    }
}
