:root {
    --primary-color: #FF6A00;    /* Naranja para CTAs */
    --secondary-color: #00787A;  /* Teal oscuro */
    --text-color: #333333;      /* Gris oscuro para texto */
    --bg-primary: #FFFFFF;      /* Blanco para fondo principal */
    --bg-secondary: #FDF6E3;    /* Beige claro para fondos alternativos */
    --accent-color: #FFD580;    /* Amarillo claro para decoración */
    --border-radius: 12px;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-color);
}

.main-header {
    transition: box-shadow 0.3s ease-in-out;
    position: fixed;
    top: 0; 
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #fff;
}

.main-header.scrolled {
    box-shadow: 0 4px 15px color-mix(in srgb, var(--primary-color) 10%, transparent) !important;
}

#main-content {
    /* Se ajustará con JS */
}

.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    padding-right: 1rem;
    padding-left: 1rem;
    transition: color 0.2s ease-in-out;
    font-weight: 600;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
}

.navbar-toggler {
    border-color: color-mix(in srgb, var(--primary-color) 30%, transparent);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(70, 97, 26, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Header Styles */
.navbar {
    padding: 0.5rem 0;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 2px 12px color-mix(in srgb, var(--primary-color) 7%, transparent);
    background: var(--bg-primary);
}

.navbar-brand img {
    height: 40px;
    width: auto;
    transition: height 0.3s ease-in-out;
}

.main-header.scrolled .navbar-brand img {
    height: 45px; /* Opcional: reducir un poco el logo al hacer scroll */
}

/* Hero Section */
#hero-section {
    background: linear-gradient(135deg, var(--bg-primary) 60%, var(--bg-secondary) 100%);
    padding: 1rem 0 4rem;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(107,142,35,0.15));
    position: relative;
    z-index: 2;
    transition: transform var(--transition-speed) ease;
}

.hero-logo:hover {
    transform: translateY(-3px) scale(1.04);
}

/* Fondo decorativo para el hero section */
#hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--secondary-color) 8%, transparent) 0%, transparent 70%);
    z-index: 1;
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}

.benefit-item i,
.feature-icon,
.text-primary {
    color: var(--primary-color) !important;
}

.benefit-item span {
    color: var(--secondary-color);
}

/* Services Section */
#services-section {
    position: relative;
    transition: opacity var(--transition-speed) ease-in-out, visibility var(--transition-speed) ease-in-out;
    visibility: visible;
    opacity: 1;
    z-index: 1;
    background: color-mix(in srgb, var(--bg-primary) 98%, var(--text-color));
}

#services-section.fade-out {
    opacity: 0;
    visibility: hidden;
}

.service-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 1.2rem;
    text-align: center;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--secondary-color) 10%, transparent);
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    height: 100%;
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card::after {
    content: 'Solicitar →';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: color-mix(in srgb, var(--primary-color) 75%, white);
    color: white;
    padding: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    transform: translateY(0); /* Siempre visible en móvil */
}

.service-card:active {
    transform: scale(0.98);
    background-color: var(--bg-secondary);
}

.service-icon-wrapper {
    background-color: var(--bg-secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    transition: all var(--transition-speed) ease;
}

.service-icon {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0 0.2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    line-height: 1.3;
}

.service-features {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* Chatbot Container Styles */
#chatbot-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1000;
    transition: transform var(--transition-speed) ease-in-out, visibility var(--transition-speed) ease-in-out;
    display: flex;
    flex-direction: column;
    visibility: visible;
    transform: translateX(0);
    padding-top: 76px; /* Altura del header */
}

.chatbot-header {
    background: color-mix(in srgb, var(--primary-color) 75%, white);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: color-mix(in srgb, var(--bg-primary) 98%, var(--text-color));
}

/* Ajuste responsivo para diferentes tamaños de pantalla */
@media (max-width: 768px) {
    #chatbot-container {
        padding-top: 60px; /* Header más pequeño en móviles */
    }
}

/* Asegurar que el chat esté oculto correctamente */
#chatbot-container.chat-hidden {
    transform: translateX(100%);
    visibility: hidden;
}

/* Footer Styles */
.footer {
    background-color: var(--secondary-color);
    color: white;
}

.footer-logo {
    /* filter: brightness(0) invert(1) opacity(0.8); */ /* Eliminado para mostrar colores originales */
    transition: opacity 0.3s;
    max-height: 60px; /* Aumentado de 50px a 60px */
}

.footer-logo:hover {
    opacity: 0.9;
}

.footer h5 {
    color: #fff; /* Blanco para los títulos de sección del footer */
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons a {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: white;
    transform: scale(1.1);
}

.footer .text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important; /* Ajuste para mayor contraste que el default .text-white-50 */
}

.footer hr {
    border-color: rgba(255,255,255,0.15) !important;
}

/* Estilos para el Modal de Contacto */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body strong {
    color: var(--secondary-color);
}

/* Utility Classes */
.d-none {
    display: none !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .service-icon {
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-card::after {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
}

/* Ajustes generales para el scroll suave */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Para compensar el header fijo */
}

/* Botón de consulta general */
.general-consultation {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-width: 2px;
    transition: all var(--transition-speed) ease;
}

.general-consultation:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(107,142,35, 0.2);
}

@media (min-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card::after {
        transform: translateY(100%); /* Oculto por defecto en desktop */
    }
    
    .service-card:hover::after {
        transform: translateY(0); /* Se muestra al hacer hover en desktop */
    }
    
    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px color-mix(in srgb, var(--secondary-color) 20%, transparent);
        border-color: var(--primary-color);
    }
    
    .service-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-icon {
        font-size: 1.6rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
        margin: 0.8rem 0 0.4rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .service-card:hover .service-icon-wrapper {
        background-color: var(--accent-color);
        transform: scale(1.1) rotate(5deg);
    }

    #hero-section {
        padding: 2rem 0 4rem;
    }
}

#verServiciosBtn {
    background-color: var(--primary-color);
    color: var(--bg-primary);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.2);
}

#verServiciosBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 106, 0, 0.3);
    background-color: color-mix(in srgb, var(--primary-color) 90%, white);
}

#verServiciosBtn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--bg-primary) !important;
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
    background-color: color-mix(in srgb, var(--primary-color) 90%, black) !important;
    border-color: color-mix(in srgb, var(--primary-color) 90%, black) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color) 20%, transparent);
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: var(--bg-primary) !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px color-mix(in srgb, var(--primary-color) 20%, transparent);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.link-primary {
    color: var(--primary-color) !important;
    text-decoration: none;
}

.link-primary:hover {
    color: color-mix(in srgb, var(--primary-color) 90%, black) !important;
    text-decoration: underline;
}

/* Enlaces generales */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Badges y etiquetas */
.badge {
    background-color: var(--bg-secondary) !important;
    color: var(--secondary-color) !important;
    border: 1px solid color-mix(in srgb, var(--secondary-color) 10%, transparent) !important;
}

.badge-primary {
    background-color: var(--primary-color) !important;
    color: var(--bg-primary) !important;
}

/* Form controls */
.form-control:focus {
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--secondary-color) 25%, transparent) !important;
}

/* Botones del chatbot */
.option-button {
    background-color: color-mix(in srgb, var(--primary-color) 75%, white);
    color: var(--bg-primary);
    border: 2px solid color-mix(in srgb, var(--primary-color) 75%, white);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    white-space: nowrap;
    text-align: center;
    margin: 0.25rem;
    flex: 0 1 auto;
}

.option-button:hover:not(.option-disabled):not(.option-selected) {
    background-color: var(--bg-primary);
    color: color-mix(in srgb, var(--primary-color) 85%, black);
    border-color: color-mix(in srgb, var(--primary-color) 85%, black);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px color-mix(in srgb, var(--primary-color) 15%, transparent);
}

/* Estilos para opciones deshabilitadas */
.option-button.option-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    border-color: #dee2e6 !important;
}

/* Estilos para la opción seleccionada */
.option-button.option-selected {
    background-color: #ff6a00 !important;
    color: white !important;
    border-color: #ff6a00 !important;
    opacity: 1 !important;
    cursor: default !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: 0 2px 4px rgba(255, 106, 0, 0.3) !important;
}

/* Navbar links */
.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    transition: color var(--transition-speed) ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
}

/* Dropdown menus */
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item.active {
    background-color: var(--secondary-color) !important;
    color: var(--bg-primary) !important;
}

.dropdown-item:hover {
    background-color: var(--bg-secondary) !important;
    color: var(--secondary-color) !important;
}

/* List groups */
.list-group-item.active {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--bg-primary) !important;
}

.list-group-item-action:hover {
    background-color: var(--bg-secondary) !important;
    color: var(--secondary-color) !important;
}

/* Pagination */
.page-link {
    color: var(--secondary-color) !important;
}

.page-item.active .page-link {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--bg-primary) !important;
}

.page-link:hover {
    color: var(--primary-color) !important;
    background-color: var(--bg-secondary) !important;
}

/* Progress bars */
.progress-bar {
    background-color: var(--primary-color) !important;
}

/* Spinners */
.spinner-border.text-primary,
.spinner-grow.text-primary {
    color: var(--primary-color) !important;
}

/* Splash Loader Styles */
#splash-loader {
    position: fixed;
    z-index: 2000;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--bg-primary) 60%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}
.splash-content {
    text-align: center;
}
.splash-logo {
    width: 150px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 8px 20px rgba(107,142,35,0.15));
    animation: splashLogoPop 0.8s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes splashLogoPop {
    0% { transform: scale(0.7); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}
.splash-spinner {
    width: 38px;
    height: 38px;
    border: 4px solid var(--accent-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    margin: 0 auto;
    animation: splashSpin 1s linear infinite;
}
@keyframes splashSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade-in animation for main content */
#main-content.fade-in {
    animation: fadeInMain 0.7s cubic-bezier(.4,0,.2,1);
    opacity: 1 !important;
}
@keyframes fadeInMain {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Removed fab-ver-servicios styles - floating button no longer needed */

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 8px;
}
::-webkit-scrollbar-track {
    background: color-mix(in srgb, var(--bg-primary) 98%, var(--text-color));
}

/* AOS custom tweaks */
[data-aos][data-aos][data-aos-delay="100"] {
    transition-delay: .1s;
}
[data-aos][data-aos][data-aos-delay="200"] {
    transition-delay: .2s;
}

.whyus-gradient-bg {
    background: linear-gradient(120deg, var(--bg-primary) 60%, var(--bg-secondary) 100%);
}
.whyus-feature-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--secondary-color) 10%, transparent);
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--accent-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.whyus-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--secondary-color) 20%, transparent);
    border-color: var(--primary-color);
}
.whyus-icon {
    background-color: var(--bg-secondary);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
}
.whyus-feature-card:hover .whyus-icon {
    background-color: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
}
.whyus-feature-card h3 {
    color: var(--text-color) !important;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.whyus-feature-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .whyus-feature-card {
        min-height: 220px;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    .whyus-icon {
        font-size: 2rem;
        width: 48px;
        height: 48px;
    }
}

/* Sección Cómo Funciona */
#como-funciona {
    background-color: color-mix(in srgb, var(--bg-primary) 98%, var(--accent-color));
}
.step-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--secondary-color) 10%, transparent);
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--accent-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.step-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 24px rgba(107,142,35,0.1);
}
.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background-color: var(--bg-secondary);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-speed) ease;
}
.step-card:hover .step-icon {
    background-color: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
}
.step-card h3 {
    color: var(--text-color) !important;
    font-size: 1.5rem;
    margin: 1rem 0;
    font-weight: 600;
}
.step-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Sección Testimonios */
#testimonios {
    background: var(--background-color);
}
.testimonial-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(107,142,35,0.08);
    text-align: center;
    border: 1px solid rgba(0, 120, 122, 0.1);
    height: auto; /* Ajustado para el carrusel */
    min-height: 330px; /* Para mantener una altura mínima consistente */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar contenido verticalmente */
    align-items: center; /* Centrar contenido horizontalmente */
}
.testimonial-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 24px rgba(107,142,35,0.1);
}
.testimonial-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}
.testimonial-text {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.testimonial-rating {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.testimonial-name {
    color: var(--primary-color);
    font-weight: 600;
}

/* Estilos para los controles del carrusel de testimonios */
#carouselTestimonios .carousel-control-prev-icon,
#carouselTestimonios .carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 1.2rem;
    background-size: 50% 50%;
}

#carouselTestimonios .carousel-control-prev,
#carouselTestimonios .carousel-control-next {
    width: 5%;
    opacity: 0.7;
}

#carouselTestimonios .carousel-control-prev:hover,
#carouselTestimonios .carousel-control-next:hover {
    opacity: 1;
}

/* Estilos para la tarjeta del profesional seleccionado */
.selected-professional {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--secondary-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--secondary-color) 10%, transparent);
    transition: all 0.3s ease;
}

.selected-professional:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(107,142,35,0.18);
}

.match-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(107,142,35,0.1);
}

.match-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.match-header h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.match-header .subtitle {
    color: var(--text-color);
    font-size: 0.9rem;
}

.professional-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.professional-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    padding: 3px;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 12px rgba(107,142,35,0.15);
    transition: transform 0.3s ease;
}

.professional-photo:hover {
    transform: scale(1.05);
}

.professional-header h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 0.5rem 0;
    font-weight: 600;
    text-align: center;
}

.availability {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.5rem 0;
}

.availability.urgent {
    color: #d63384;
}

.availability.regular {
    color: #198754;
}

.specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.specialties .badge {
    background-color: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-more {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
}

.availability-info {
    background: var(--bg-primary);
    border-radius: 25px;
    padding: 0.35rem 0.8rem;
    margin: 0.8rem auto;
    width: 100%;
    max-width: 260px;
    border: 1px solid color-mix(in srgb, var(--secondary-color) 10%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
}

.availability {
    color: color-mix(in srgb, var(--primary-color) 90%, black) !important;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    line-height: 1;
}

.availability i {
    color: color-mix(in srgb, var(--primary-color) 90%, black);
    margin: 0;
    display: flex;
    align-items: center;
}

.availability.urgent {
    color: color-mix(in srgb, var(--primary-color) 90%, black);
    text-align: center;
}

.availability.urgent i {
    color: color-mix(in srgb, var(--primary-color) 90%, black);
    display: flex;
    align-items: center;
    margin: 0;
}

.specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.8rem;
    padding: 0.4rem;
}

.specialties i {
    color: color-mix(in srgb, var(--primary-color) 75%, white);
    margin-right: 0.4rem;
}

.specialties .badge {
    background-color: color-mix(in srgb, var(--primary-color) 75%, white) !important;
    color: var(--bg-primary) !important;
    border: 1px solid color-mix(in srgb, var(--primary-color) 75%, white) !important;
    transition: all var(--transition-speed) ease;
}

.specialties .badge:hover {
    transform: translateY(-1px);
    background-color: color-mix(in srgb, var(--primary-color) 85%, black) !important;
    border-color: color-mix(in srgb, var(--primary-color) 85%, black) !important;
}

/* Animación de entrada para la tarjeta */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.selected-professional {
    animation: slideInUp 0.6s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .selected-professional {
        padding: 1.5rem;
    }

    .professional-photo {
        width: 120px;
        height: 120px;
    }

    .match-header h4 {
        font-size: 1.2rem;
    }

    .professional-header h4 {
        font-size: 1.4rem;
    }

    .availability-info {
        padding: 0.6rem 1rem;
    }
}

/* Estilos para el botón de cierre */
.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-chat:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Estilos para el input y botón de enviar */
#user-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(107,142,35,0.2);
    border-radius: 20px;
    font-size: 0.95rem;
    transition: all var(--transition-speed) ease;
    background: white;
}

#user-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(107,142,35,0.1);
}

#send-message {
    background: color-mix(in srgb, var(--primary-color) 75%, white);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#send-message:hover {
    background-color: color-mix(in srgb, var(--primary-color) 85%, black);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px color-mix(in srgb, var(--primary-color) 15%, transparent);
}

/* Estilos para los mensajes */
.message {
    max-width: 85%;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 15px;
    line-height: 1.4;
    animation: slideIn 0.3s ease forwards;
}

/* Ajuste de ancho para mensajes en pantallas grandes (PC) */
@media (min-width: 768px) {
    /* Ajustar ancho de mensajes en PC */
    #chat-messages .message {
        max-width: 60% !important;
    }
    
    #chat-messages .message.bot {
        max-width: 65% !important;
    }
    
    #chat-messages .message.user {
        max-width: 60% !important;
    }
    
    #chatbot-container {
        max-width: 520px;
        right: 20px;
        left: auto;
        bottom: 20px;
        top: auto;
        transform: none;
        border-radius: 12px;
        box-shadow: 0 0 30px rgba(0,0,0,0.15);
        height: 650px;
        position: fixed;
        padding: 0 !important;
        margin: 0 !important;
        background: white !important;
        overflow: hidden;
    }
    
    #chatbot-container.chat-hidden {
        transform: translateX(100%);
    }
    
    .chatbot-header {
        border-radius: 12px 12px 0 0;
        margin: 0 !important;
        padding: 1rem !important;
        position: relative;
        top: 0;
    }
    
    /* Eliminar padding extra en PC */
    #chat-messages {
        background: color-mix(in srgb, var(--bg-primary) 98%, var(--text-color)) !important;
        margin: 0 !important;
        padding: 1rem !important;
        flex: 1;
        overflow-y: auto;
        border-radius: 0 0 12px 12px;
    }
    
    /* Asegurar que no haya espacios extras */
    #chatbot-container * {
        box-sizing: border-box;
    }
    
    /* Mejor distribución para la tarjeta del profesional en PC */
    .selected-professional {
        max-width: 400px;
        margin: 1rem auto;
    }
    
    /* Ajustar padding de los mensajes en PC */
    #chat-messages .message {
        padding: 0.8rem 1rem !important;
        font-size: 0.9rem;
    }
    
    /* Mejorar distribución de botones de opciones en PC */
    .option-button {
        margin: 0.2rem !important;
        padding: 0.5rem 0.9rem !important;
        font-size: 0.85rem !important;
    }
}

.message.bot {
    background-color: var(--bg-secondary);
    margin-right: auto;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 6px color-mix(in srgb, var(--secondary-color) 5%, transparent);
}

.message.user {
    background-color: color-mix(in srgb, var(--primary-color) 75%, white);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
    box-shadow: 0 2px 6px color-mix(in srgb, var(--primary-color) 15%, transparent);
}

/* Estilos para botones de opciones */
.option-button {
    background-color: var(--bg-secondary);
    color: var(--text-color);
    border: 1px solid rgba(107,142,35,0.2);
    padding: 0.6rem 1rem;
    margin: 0.3rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.option-button:hover, .option-button.selected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px color-mix(in srgb, var(--primary-color) 25%, transparent);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .option-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        margin: 0.2rem;
    }

    #send-message {
        padding: 0.75rem 1.2rem;
    }

    .close-chat {
        font-size: 20px;
        width: 36px;
        height: 36px;
    }
}

/* Estilos unificados para títulos de sección */
.section-title,
.whyus-feature-card h3,
.step-card h3,
h2, h3, h4 {
    color: var(--text-color) !important;
    font-weight: 600;
}

/* Tarjetas de Por qué ArregloFácil */
.whyus-feature-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--secondary-color) 10%, transparent);
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--accent-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whyus-feature-card h3 {
    color: var(--text-color) !important;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.whyus-feature-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Tarjetas de Proceso Simplificado */
.step-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--secondary-color) 10%, transparent);
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--accent-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card h3 {
    color: var(--text-color) !important;
    font-size: 1.5rem;
    margin: 1rem 0;
    font-weight: 600;
}

.step-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Asegurar que todos los títulos de sección usen el color correcto */
.section-header h2,
.section-header h3,
.section-title {
    color: var(--text-color) !important;
    font-weight: 600;
}

/* Asegurar que los enlaces en las tarjetas también sigan la paleta */
.whyus-feature-card a,
.step-card a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.whyus-feature-card a:hover,
.step-card a:hover {
    color: var(--primary-color);
}

/* Typing effect container */
.typing-container {
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
    padding-right: 5px;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Cities grid */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.city-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.city-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.city-card:hover::before {
    opacity: 0.1;
}

.city-card i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.city-card:hover i {
    transform: scale(1.1) translateY(-2px);
    color: var(--secondary-color);
}

.city-card span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.city-card:hover span {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .city-card {
        padding: 1.2rem 0.8rem;
    }
    
    .city-card i {
        font-size: 1.5rem;
    }
    
    .city-card span {
        font-size: 1rem;
    }
}

/* Estilos para inputs de verificación deshabilitados */
.verification-code-container.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.verification-code-container.disabled input,
.verification-code-container.disabled button {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.verification-code-container {
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.hero-section .col-12.text-center.mb-2 {
    margin-bottom: 0 !important;
}

/* Slider simple de ciudades - Mejorado para loop infinito */
.cities-slider-wrapper {
  width: 100%;
    overflow: hidden;
  margin: 0 auto 1.5rem auto;
  display: flex;
  justify-content: flex-start;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
  padding: 20px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  position: relative;
}

.cities-slider-track {
  display: flex;
    gap: 15px;
  animation: cities-slide 30s linear infinite;
  will-change: transform;
  width: max-content;
}

.city-badge {
    min-width: 120px;
  background: white;
  color: var(--text-color);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
    text-align: center;
  padding: 10px 18px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  text-transform: none;
    letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
    white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  flex-shrink: 0;
}

.city-badge i {
  color: var(--primary-color);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.city-badge:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  background: #f8f9fa;
}

.city-badge:hover i {
  color: #e55a00;
  transform: scale(1.1);
}

@keyframes cities-slide {
  0% { 
    transform: translateX(0); 
  }
  100% { 
    transform: translateX(-50%); 
  }
}

.cities-slider-track:hover {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .cities-slider-wrapper {
    padding: 15px 0;
    }
    
  .city-badge {
        min-width: 100px;
    font-size: 0.9rem;
    padding: 10px 16px;
    }
    
  .cities-slider-track {
    gap: 12px;
    }
}

@media (max-width: 480px) {
  .city-badge {
    min-width: 85px;
        font-size: 0.8rem;
    padding: 8px 12px;
  }
  
  .cities-slider-track {
    gap: 10px;
  }
  
  .cities-slider-wrapper {
    padding: 12px 0;
  }
}

/* ===== PREMIUM SERVICE CARDS STYLES ===== */
.services-modern-section {
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary-color) 5%, transparent) 0%,
        color-mix(in srgb, var(--accent-color) 3%, transparent) 100%);
    position: relative;
    overflow: hidden;
}

.services-modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(139, 69, 19, 0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    pointer-events: none;
}

.services-premium-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-premium-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.2rem 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.08),
        0 3px 12px rgba(139, 69, 19, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-premium-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary-color) 8%, transparent) 0%,
        color-mix(in srgb, var(--accent-color) 5%, transparent) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.service-premium-card:hover .service-premium-background {
    opacity: 1;
}

.service-premium-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.6rem;
    background: linear-gradient(135deg, var(--primary-color), color-mix(in srgb, var(--primary-color) 80%, var(--accent-color)));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 6px 20px rgba(139, 69, 19, 0.2),
        0 3px 8px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.service-premium-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-premium-card:hover .service-premium-icon::before {
    opacity: 1;
}

.service-premium-icon i {
    font-size: 1.6rem;
    color: white;
    transition: all 0.4s ease;
}

.service-premium-card:hover .service-premium-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(139, 69, 19, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-premium-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-premium-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.service-premium-content p {
    color: color-mix(in srgb, var(--text-color) 80%, transparent);
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.service-premium-features {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-badge {
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary-color) 15%, rgba(255,255,255,0.9)) 0%,
        color-mix(in srgb, var(--accent-color) 10%, rgba(255,255,255,0.8)) 100%);
    color: var(--secondary-color);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid color-mix(in srgb, var(--primary-color) 20%, transparent);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-premium-card:hover .feature-badge {
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary-color) 25%, rgba(255,255,255,0.95)) 0%,
        color-mix(in srgb, var(--accent-color) 20%, rgba(255,255,255,0.9)) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
}

.service-premium-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, color-mix(in srgb, var(--primary-color) 90%, var(--accent-color)) 100%);
    color: white;
    padding: 0.6rem;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
}

.service-premium-overlay i {
    transition: transform 0.3s ease;
}

.service-premium-card:hover .service-premium-overlay {
    transform: translateY(0);
}

.service-premium-card:hover .service-premium-overlay i {
    transform: translateX(5px);
}

.service-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(139, 69, 19, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-premium-card:active {
    transform: translateY(-5px) scale(0.98);
    transition: all 0.2s ease;
}

/* Responsive adjustments for premium cards - Desktop first for larger screens */
@media (min-width: 769px) {
    .services-premium-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 1200px;
    }
    
    .service-premium-card {
        padding: 1.8rem 1.2rem;
        height: 240px;
    }
    
    .service-premium-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 0.8rem;
    }
    
    .service-premium-icon i {
        font-size: 1.8rem;
    }
    
    .service-premium-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .service-premium-content p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .service-premium-overlay {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Extra large screens */
@media (min-width: 1200px) {
    .service-premium-card {
        height: 260px;
        padding: 2rem 1.5rem;
    }
    
    .service-premium-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-premium-icon i {
        font-size: 2rem;
    }
    
    .service-premium-content h3 {
        font-size: 1.4rem;
    }
    
    .service-premium-content p {
        font-size: 0.95rem;
    }
}

/* Mobile adjustments for service premium cards */
@media (max-width: 768px) {
    .service-premium-content h3 {
        font-size: 0.95rem;
        line-height: 1.1;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .service-premium-card {
        padding: 1rem 0.6rem;
        height: 180px;
    }
}

/* Animation keyframes */
@keyframes serviceCardPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.service-premium-card:hover .service-premium-icon {
    animation: serviceCardPulse 2s ease-in-out infinite;
}

/* Estilos específicos para el hero section actualizado */
.hero-headline {
    line-height: 1.2;
    color: var(--text-color);
}

.highlight-animated {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: highlightShine 2s ease-in-out infinite alternate;
}

@keyframes highlightShine {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

.benefits-simple {
    margin: 1.5rem 0;
}

.benefits-simple .lead {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
}

/* Removed old Benefits Professional Section - now using compact version */

/* Benefits Inline - Super compact */
.benefits-inline {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}

/* Modern Benefits Badges */
.modern-benefits {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin: 2rem auto;
    max-width: 700px;
}

.benefit-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 106, 0, 0.1);
    border-radius: 50px;
    padding: 12px 20px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

.benefit-badge i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.benefit-badge:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px rgba(255, 106, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 106, 0, 0.2);
}

.benefit-badge:hover i {
    transform: scale(1.1);
    color: #e55a00;
}

/* Benefits Compact Section */
.benefits-compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 600px;
}

.benefit-compact {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

/* Search Professional Button */
.btn-search-professional {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), #e55a00);
    border: none;
    border-radius: 50px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
    transform: translateY(0);
}

.btn-search-professional:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 106, 0, 0.4);
}

.btn-search-professional:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.35);
}

.btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.5rem;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
}

.btn-content i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-search-professional:hover .btn-content i {
    transform: scale(1.2) rotate(15deg);
}

.btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Cities Title */
.cities-title {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 1.8rem !important;
    }
    
    .hero-headline .highlight-animated {
        font-size: 1.7rem;
    }
    
    .modern-benefits {
        flex-wrap: nowrap;
        gap: 0.6rem;
        margin: 1.5rem auto;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .modern-benefits::-webkit-scrollbar {
        display: none;
    }
    
    .benefit-badge {
        padding: 8px 14px;
        font-size: 0.8rem;
        gap: 5px;
        flex-shrink: 0;
        min-width: auto;
    }
    
    .benefit-badge i {
        font-size: 0.9rem;
    }
    
    .benefits-compact {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .benefit-compact {
        font-size: 0.95rem;
    }
    
    .cities-title {
        font-size: 1rem;
    }
    
    .btn-search-professional {
        margin-top: 1rem;
    }
    
    .btn-content {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-headline {
        font-size: 1.6rem !important;
        line-height: 1.3;
    }
    
    .hero-headline .highlight-animated {
        font-size: 1.5rem;
    }
    
    .modern-benefits {
        gap: 0.5rem;
        margin: 1rem auto;
        padding: 0 10px;
    }
    
    .benefit-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
        gap: 4px;
        flex-shrink: 0;
        min-width: auto;
    }
    
    .benefit-badge i {
        font-size: 0.85rem;
    }
    
    .benefits-inline {
        font-size: 0.85rem;
    }
    
    .benefit-compact {
        font-size: 0.9rem;
    }
    
    .btn-content {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
        gap: 0.5rem;
    }
    
    .btn-content i {
        font-size: 1.1rem;
    }
}