/* ========================================
   Campos Dental Website - Estilos Personalizados con Bootstrap 5
   ======================================== */

/* ========================================
   Variables CSS Personalizadas
   ======================================== */
:root {
    --primary-color: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #06b6d4;
    --secondary-color: #7dd3fc;
    --orange-color: #e7810c;
    --orange-hover: #d6760a;
    --text-dark: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
}

/* ========================================
   Configuración General
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Aumentar tamaños para desktop */
@media (min-width: 992px) {
    body {
        font-size: 1.125rem;
    }
    
    .container {
        max-width: 1400px;
    }
    
    .hero-title-main {
        font-size: 4rem;
    }
    
    .hero-content-wrapper {
        gap: 2rem;
    }
    
    h1, .h1 {
        font-size: 2.75rem;
    }
    
    h2, .h2 {
        font-size: 2.25rem;
    }
    
    h3, .h3 {
        font-size: 1.875rem;
    }
    
    h4, .h4 {
        font-size: 1.5rem;
    }
    
    h5, .h5 {
        font-size: 1.25rem;
    }
    
    h6, .h6 {
        font-size: 1.125rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .card-body {
        padding: 1.75rem !important;
    }
    
    .btn {
        font-size: 1.125rem;
        padding: 0.75rem 1.5rem;
    }
    
    .btn-lg {
        font-size: 1.25rem;
        padding: 1rem 2rem;
    }
    
    .display-5 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.375rem;
    }
    
    p {
        font-size: 1.125rem;
    }
    
    .feature-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .service-icon {
        width: 90px;
        height: 90px;
        font-size: 2.75rem;
    }
    
    .card-body {
        font-size: 1.125rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .py-5 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

/* ========================================
   Colores de Bootstrap Personalizados
   ======================================== */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-orange {
    background-color: var(--orange-color);
    border-color: var(--orange-color);
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-orange:hover,
.btn-orange:focus,
.btn-orange:active {
    background-color: var(--orange-hover);
    border-color: var(--orange-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(231, 129, 12, 0.3);
}

/* ========================================
   Header/Navbar
   ======================================== */
header.navbar {
    padding: 0.75rem 0;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background-color: transparent !important; /* Navbar completamente transparente */
    z-index: 1030;
    transform: translateY(-100%); /* Oculto por defecto */
}

/* Clase para mostrar el navbar */
header.navbar.navbar-visible {
    transform: translateY(0); /* Visible cuando tiene la clase */
}
/* mover el logo hacia la izquierda -3rem*/
.navbar-brand {
    margin-right: 0;
    padding-left: 0;
    margin-left: -3rem;
}

.header-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 12px; /* Bordes redondeados */
    overflow: hidden; /* Asegurar que el contenido respete el border-radius */
}

.navbar-nav {
    margin-left: auto;
    margin-right: -5rem;
}

.navbar-nav .nav-link {
    color: #ffffff; /* Color blanco como el hero */
    font-weight: 600;
    font-size: 1.125rem;
    padding: 0.75rem 1.25rem;
    margin: 0 0.25rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: var(--orange-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff; /* Mantener blanco en hover y active */
    opacity: 0.9; /* Ligeramente más transparente en hover */
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

/* Estilos para el dropdown de Servicios */
.navbar-nav .dropdown-toggle {
    cursor: pointer;
}

.navbar-nav .dropdown-toggle i {
    transition: transform 0.3s ease;
    display: inline-block;
}

.navbar-nav .dropdown-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.navbar-nav .dropdown-toggle::after {
    display: none; /* Ocultar la flecha por defecto de Bootstrap */
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    min-width: 250px;
    background-color: rgba(0, 0, 0, 0.3) !important; /* Fondo transparente oscuro */
    backdrop-filter: blur(10px); /* Efecto blur para legibilidad */
    -webkit-backdrop-filter: blur(10px); /* Soporte para Safari */
}

.navbar-nav .dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: #ffffff !important; /* Letras blancas */
    transition: var(--transition);
    font-size: 1rem;
}

.navbar-nav .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.15); /* Fondo blanco semi-transparente en hover */
    color: #ffffff !important; /* Mantener letras blancas */
    padding-left: 2rem;
}

.navbar-nav .dropdown-item:active {
    background-color: rgba(255, 255, 255, 0.2); /* Fondo más opaco al hacer clic */
    color: #ffffff !important; /* Mantener letras blancas */
}

.navbar-nav .dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.3;
    background-color: rgba(255, 255, 255, 0.3); /* Divisor blanco semi-transparente */
}

/* Ajustar el efecto hover para dropdown */
.navbar-nav .dropdown-toggle:hover::after {
    width: 0; /* No mostrar la línea inferior en hover para dropdown */
}

.navbar-nav .dropdown-toggle[aria-expanded="true"] {
    color: #ffffff; /* Mantener blanco cuando está expandido */
    opacity: 0.9;
}

/* Scroll offset para secciones cuando se navega desde el dropdown */
html {
    scroll-padding-top: 100px; /* Altura del navbar + espacio extra */
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Icono del toggler en blanco */
.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(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 767px) {
    .navbar-toggler {
        padding: 0.625rem;
    }
}

/* ========================================
   WhatsApp Button
   ======================================== */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite, whatsappFloat 3s ease-in-out infinite;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    overflow: visible;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    transform: translate(-50%, -50%) scale(1);
    animation: whatsappRipple 2s infinite;
    z-index: -1;
}

.whatsapp-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.2);
    transform: translate(-50%, -50%) scale(1);
    animation: whatsappRipple 2s infinite 0.5s;
    z-index: -1;
}

.whatsapp-button:hover,
.whatsapp-button:active {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.2);
    background: linear-gradient(135deg, #128c7e, #25d366) !important;
}

.whatsapp-button:active {
    transform: scale(1.05) translateY(-2px);
    animation: whatsappBounce 0.3s ease;
}

.whatsapp-button i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: whatsappIconShake 2s ease-in-out infinite, whatsappGlow 3s ease-in-out infinite;
}

/* Efecto de brillo periódico */
@keyframes whatsappGlow {
    0%, 100% {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 0px rgba(255, 255, 255, 0));
    }
    50% {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
    }
}

/* Animación de pulso mejorada */
@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

/* Animación de flotación */
@keyframes whatsappFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animación de ondas/ripple */
@keyframes whatsappRipple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Animación de rebote al hacer clic */
@keyframes whatsappBounce {
    0%, 100% {
        transform: scale(1.15) translateY(-5px);
    }
    50% {
        transform: scale(1.05) translateY(-2px);
    }
}

/* Animación sutil del icono */
@keyframes whatsappIconShake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 30%; /* Mover imagen a la derecha y bajar 2cm (30% desde arriba) */
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay oscuro con degradado que oscurece más el lado izquierdo donde está el texto */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(8, 145, 178, 0.15), transparent);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding-left: 0%;
    padding-right: 2rem;
}

/* Ajustar posición del bloque de texto del hero */
.hero-section .col-lg-7 {
    padding-left: 0;
    margin-left: 0;
    max-width: 580px;
    padding-right: 2rem;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Jerarquía visual mejorada - Título principal (Cirujana Dentista) */
.hero-title-main {
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Subtítulo (Dra. Mariana Campos) */
.hero-title-sub {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.95;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Descripción mejorada */
.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    font-weight: 400;
    opacity: 0.95;
    max-width: 550px;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Efecto glow arcoíris para "Queremos verte sonreír" */
.glow-text {
    display: inline-block;
    font-weight: 600;
    animation: rainbowGlow 6s ease-in-out infinite; /* tiempo de animación para "Queremos verte sonreír" */
    padding: 0 2px;
    position: relative;
}

@keyframes rainbowGlow {
    0% {
        color: #e7810c; /* Naranja del botón */
        text-shadow: 
            0 0 8px rgba(231, 129, 12, 0.9),
            0 0 16px rgba(231, 129, 12, 0.7),
            0 0 24px rgba(231, 129, 12, 0.5),
            0 0 32px rgba(231, 129, 12, 0.3);
    }
    33.33% {
        color: #ffffff; /* Blanco */
        text-shadow: 
            0 0 8px rgba(255, 255, 255, 0.9),
            0 0 16px rgba(255, 255, 255, 0.7),
            0 0 24px rgba(255, 255, 255, 0.5),
            0 0 32px rgba(255, 255, 255, 0.3);
    }
    66.66% {
        color: #0891b2; /* Turquesa del footer */
        text-shadow: 
            0 0 8px rgba(8, 145, 178, 0.9),
            0 0 16px rgba(8, 145, 178, 0.7),
            0 0 24px rgba(8, 145, 178, 0.5),
            0 0 32px rgba(8, 145, 178, 0.3);
    }
    100% {
        color: #e7810c; /* Volver a naranja */
        text-shadow: 
            0 0 8px rgba(231, 129, 12, 0.9),
            0 0 16px rgba(231, 129, 12, 0.7),
            0 0 24px rgba(231, 129, 12, 0.5),
            0 0 32px rgba(231, 129, 12, 0.3);
    }
}

/* Botones CTA mejorados */
.hero-cta-buttons {
    margin-top: 0;
}

.hero-cta-buttons .btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.hero-cta-buttons .btn-orange {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 8px 20px rgba(231, 129, 12, 0.4);
}

.hero-cta-buttons .btn-orange:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(231, 129, 12, 0.6);
}

.hero-cta-buttons .btn-outline-light {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.hero-cta-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

/* Animaciones fade-in + slide-up para el hero */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-fade-in-up {
    animation: heroFadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-delay-1 {
    animation-delay: 0.2s;
}

.hero-delay-2 {
    animation-delay: 0.4s;
}

.hero-delay-3 {
    animation-delay: 0.6s;
}

/* ========================================
   Feature Cards
   ======================================== */
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    color: white;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.2);
}

.hover-card {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hover-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(8, 145, 178, 0.1), transparent);
    transition: var(--transition);
}

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

.hover-card:hover::before {
    left: 100%;
}

.hover-card:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(125, 211, 252, 0.1));
    border-radius: 0 0 0 100%;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover::before {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.15), rgba(125, 211, 252, 0.15));
}

.service-card .card-body {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.25);
}

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

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(8, 145, 178, 0.4);
}

/* ========================================
   Testimonial Cards
   ======================================== */
.testimonial-card {
    transition: var(--transition);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 120px;
    color: rgba(8, 145, 178, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* ========================================
   Case Cards
   ======================================== */
.case-card {
    transition: var(--transition);
    border-radius: 15px;
    overflow: hidden;
}

.case-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.case-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.case-card:hover .case-image-wrapper img {
    transform: scale(1.1);
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-filter {
    transition: var(--transition);
    font-weight: 600;
}

.case-filter.active {
    transform: scale(1.05);
}

/* ========================================
   Success Cases Carousel
   ======================================== */
.success-cases-carousel-wrapper {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.success-cases-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 1rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    padding: 0 1rem;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 1;
}

.carousel-slide .case-card {
    max-width: 500px;
    margin: 0 auto;
}

/* Botones de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.success-cases-carousel:hover .carousel-btn {
    opacity: 1;
    visibility: visible;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 1rem;
}

.carousel-btn-next {
    right: 1rem;
}

.carousel-btn i {
    font-size: 1.8rem;
}

/* Indicadores */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 0;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(8, 145, 178, 0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
}

.carousel-indicators button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.2;
    transition: transform 0.3s ease;
}

.carousel-indicators button.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-indicators button.active::before {
    transform: translate(-50%, -50%) scale(1);
}

.carousel-indicators button:hover {
    transform: scale(1.3);
    background: var(--primary-dark);
}

.carousel-indicators button:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Animación de entrada para slides */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.carousel-slide.active .case-card {
    animation: slideIn 0.6s ease-out;
}

/* Efectos mejorados para las cards en el carrusel */
.success-cases-carousel .case-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.success-cases-carousel .case-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

/* Responsive design para el carrusel */
@media (max-width: 991px) {
    .carousel-btn {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        min-width: 44px;
        min-height: 44px;
    }
    
    .carousel-btn-prev {
        left: 0.5rem;
    }
    
    .carousel-btn-next {
        right: 0.5rem;
    }
    
    .carousel-slide {
        padding: 0 0.5rem;
    }
}

@media (max-width: 767px) {
    .success-cases-carousel-wrapper {
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.95);
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .carousel-btn-prev {
        left: 0.25rem;
    }
    
    .carousel-btn-next {
        right: 0.25rem;
    }
    
    .carousel-indicators {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .carousel-indicators button {
        width: 10px;
        height: 10px;
        min-width: 32px;
        min-height: 32px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .carousel-container {
        padding: 0.5rem;
    }
    
    .carousel-slide {
        padding: 0 0.25rem;
    }
    
    .carousel-slide .case-card {
        max-width: 100%;
    }
    
    .success-cases-carousel .case-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    /* Mejorar rendimiento en móviles */
    .carousel-slide {
        transform: scale(0.98);
    }
    
    .carousel-slide.active {
        transform: scale(1);
    }
}

@media (max-width: 575px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
    }
}

/* ========================================
   Reservation Section
   ======================================== */
.contact-info {
    font-size: 1rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(8, 145, 178, 0.15);
}

.form-control-lg,
.form-select-lg {
    padding: 0.75rem 1rem;
    border-radius: 10px;
}

/* ========================================
   Map Section
   ======================================== */
.map-wrapper {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    border-radius: 15px;
}

.location-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.location-icon .waze-icon {
    width: 34px;
    height: 34px;
}

.waze-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.card:hover .location-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ========================================
   Footer
   ======================================== */
.footer-logo {
    height: 110px; /* Aumentar o disminuir el tamaño del logo del footer */
    width: auto;
    object-fit: contain;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

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

/* Estilos para enlaces de teléfono y email */
footer a[href^="tel:"],
footer a[href^="mailto:"],
.contact-info a[href^="tel:"],
.contact-info a[href^="mailto:"],
.card-body a[href^="tel:"],
.card-body a[href^="mailto:"] {
    transition: var(--transition);
}

footer a[href^="tel:"]:hover,
footer a[href^="mailto:"]:hover,
.contact-info a[href^="tel:"]:hover,
.contact-info a[href^="mailto:"]:hover,
.card-body a[href^="tel:"]:hover,
.card-body a[href^="mailto:"]:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Estilo para el enlace de Manakin Labs */
footer a.text-orange-link {
    color: var(--orange-color) !important;
    text-decoration: underline;
    font-weight: bold;
    transition: var(--transition);
}

footer a.text-orange-link:hover {
    color: var(--orange-hover) !important;
    text-decoration: underline;
    font-weight: bold;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.25rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    color: white;
}

/* ========================================
   Badges Personalizados
   ======================================== */
.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.bg-primary-subtle {
    background-color: rgba(8, 145, 178, 0.1) !important;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ========================================
   Scroll Behavior
   ======================================== */
html {
    scroll-behavior: smooth;
}

/* ========================================
   Loading State
   ======================================== */
.btn.loading {
    position: relative;
    pointer-events: none;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-section .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .hero-background-image {
        object-fit: cover;
        object-position: center right 30%;
    }
    
    .navbar-brand {
        margin-left: 0;
    }
    
    .header-logo {
        height: 60px;
    }
    
    /* Fondo con blur para el menú hamburguesa en móviles */
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.4) !important; /* Fondo oscuro semi-transparente */
        backdrop-filter: blur(15px); /* Efecto blur para legibilidad */
        -webkit-backdrop-filter: blur(15px); /* Soporte para Safari */
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-nav {
        padding: 1rem 0;
        margin-right: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        color: #ffffff !important; /* Letras blancas para mejor visibilidad */
        border-radius: 5px;
        margin-bottom: 0.25rem;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.15); /* Fondo blanco semi-transparente en hover */
        color: #ffffff !important;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    /* Estilos del dropdown en móviles */
    .navbar-nav .dropdown-menu {
        border-radius: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border: none;
        background-color: rgba(0, 0, 0, 0.3) !important; /* Fondo transparente oscuro */
        backdrop-filter: blur(10px); /* Efecto blur para legibilidad */
        -webkit-backdrop-filter: blur(10px); /* Soporte para Safari */
        margin-top: 0;
        padding: 0.25rem 0;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        color: #ffffff !important; /* Letras blancas en móviles */
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.15); /* Fondo blanco semi-transparente en hover */
        color: #ffffff !important; /* Mantener letras blancas */
        padding-left: 1.75rem;
    }
}

@media (max-width: 767px) {
    /* Optimizaciones generales para móviles */
    body {
        font-size: 15px;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Hero Section móvil */
    .hero-section {
        min-height: 100vh; /* Cubrir toda la pantalla en móviles */
        min-height: 100dvh; /* Dynamic viewport height para mejor soporte en móviles */
        padding-top: 120px !important;
        padding-bottom: 80px; /* Aumentado para mejor espaciado */
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-background-image {
        object-fit: cover;
        object-position: center 30%; /* Bajar un poco la imagen en móvil */
    }
    
    /* Overlay más oscuro en móvil para mejor legibilidad */
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5));
    }
    
    .hero-section .container {
        padding-top: 1.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-section .row {
        justify-content: center;
        width: 100%;
    }
    
    .hero-section .col-lg-7 {
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: 100%;
    }
    
    /* Títulos hero móvil */
    .hero-title-main {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-title-sub {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        max-width: 100%;
        text-align: center;
        width: 100%;
    }
    
    /* Botones CTA móvil */
    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem !important;
        width: 100%;
        margin-top: 0;
    }
    
    .hero-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
        text-align: center;
    }
    
    /* Centrar todos los textos del hero en móviles */
    .hero-section .hero-title-main,
    .hero-section .hero-title-sub,
    .hero-section .hero-description {
        text-align: center !important;
    }
    
    /* Botón WhatsApp móvil */
    .whatsapp-button {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
        min-width: 44px;
        min-height: 44px;
        animation: whatsappPulse 2s infinite, whatsappFloat 3s ease-in-out infinite;
    }
    
    .whatsapp-button:hover {
        transform: scale(1.1) translateY(-3px);
    }
    
    .whatsapp-button i {
        font-size: 1.6rem;
    }
    
    /* Iconos */
    .feature-icon,
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    /* Cards en móvil */
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-body {
        padding: 1.25rem !important;
    }
    
    /* Botones en móvil - áreas táctiles más grandes */
    .btn {
        min-height: 44px;
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
        touch-action: manipulation;
    }
    
    .btn-lg {
        min-height: 48px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Formularios móvil */
    .form-control,
    .form-select {
        min-height: 48px;
        font-size: 16px; /* Previene zoom en iOS */
        padding: 0.75rem 1rem;
        touch-action: manipulation;
    }
    
    .form-control-lg,
    .form-select-lg {
        min-height: 52px;
        font-size: 17px;
        padding: 0.875rem 1.125rem;
    }
    
    /* Secciones con padding reducido */
    section {
        padding: 3rem 0 !important;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Container padding móvil */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Textos mejorados */
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    h3 {
        font-size: 1.35rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }
    
    h5 {
        font-size: 1.1rem;
    }
    
    /* Navbar móvil */
    .navbar-brand {
        margin-left: 0;
    }
    
    .navbar-nav {
        margin-right: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.875rem 0;
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Espaciado mejorado */
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Reducir espaciados en página de equipo para móviles */
    .hero-section .lead {
        margin-bottom: 1rem !important;
    }
    
    .hero-section[style*="min-height: 70vh"] {
        min-height: 50vh !important;
        padding-top: 120px !important;
        padding-bottom: 40px !important;
    }
    
    .team-card {
        margin-bottom: 1.5rem !important;
    }
    
    .team-card .card-body {
        padding: 1rem !important;
    }
    
    .team-card .mb-3 {
        margin-bottom: 0.75rem !important;
    }
    
    .team-card .row.g-0 {
        margin-bottom: 0 !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    /* Imágenes responsivas */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Testimonios móvil */
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    /* Casos de éxito móvil */
    .case-image-wrapper {
        height: 220px;
    }
}

@media (max-width: 575px) {
    /* Pantallas muy pequeñas */
    .hero-section {
        padding-top: 110px !important;
        padding-bottom: 70px; /* Aumentado para mejor espaciado */
        min-height: 100vh; /* Cubrir toda la pantalla */
        min-height: 100dvh; /* Dynamic viewport height para mejor soporte en móviles */
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-background-image {
        object-fit: cover;
        object-position: center 30%; /* Bajar un poco la imagen en móvil */
    }
    
    /* Overlay más oscuro en móvil pequeño para mejor legibilidad */
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.55));
    }
    
    .hero-section .container {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-section .row {
        justify-content: center;
        width: 100%;
    }
    
    .hero-section .col-lg-7 {
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: 100%;
    }
    
    /* Títulos hero móvil pequeño */
    .hero-title-main {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 0.875rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-title-sub {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
        text-align: center;
        width: 100%;
    }
    
    /* Botones CTA móvil pequeño */
    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .hero-cta-buttons .btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* Botones más compactos */
    .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-orange {
        padding: 0.625rem 1.5rem;
    }
    
    /* Container más compacto */
    .container {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }
    
    /* Secciones más compactas */
    section {
        padding: 2.5rem 0 !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Reducir espaciados en página de equipo para móviles pequeños */
    .hero-section .lead {
        margin-bottom: 0.75rem !important;
    }
    
    .hero-section[style*="min-height: 70vh"] {
        min-height: 45vh !important;
        padding-top: 110px !important;
        padding-bottom: 30px !important;
    }
    
    .team-card {
        margin-bottom: 1.25rem !important;
    }
    
    .team-card .card-body {
        padding: 0.875rem !important;
    }
    
    .team-card .mb-3 {
        margin-bottom: 0.5rem !important;
    }
    
    .mb-4 {
        margin-bottom: 0.75rem !important;
    }
    
    .mb-5 {
        margin-bottom: 1rem !important;
    }
    
    /* Cards más compactas */
    .card-body {
        padding: 1rem !important;
    }
    
    /* Textos más pequeños pero legibles */
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.15rem;
    }
    
    h5 {
        font-size: 1.05rem;
    }
    
    /* WhatsApp button más pequeño pero aún táctil */
    .whatsapp-button {
        width: 52px;
        height: 52px;
        bottom: 15px;
        right: 15px;
        animation: whatsappPulse 2s infinite, whatsappFloat 3s ease-in-out infinite;
    }
    
    .whatsapp-button:hover {
        transform: scale(1.08) translateY(-2px);
    }
    
    /* Iconos más pequeños */
    .feature-icon,
    .service-icon,
    .location-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    /* Case images más pequeñas */
    .case-image-wrapper {
        height: 200px;
    }
    
    /* Formulario más compacto */
    .form-control-lg,
    .form-select-lg {
        min-height: 48px;
        padding: 0.75rem 1rem;
    }
    
    /* Footer más compacto */
    footer {
        padding: 2.5rem 0 !important;
    }
}

/* ========================================
   Utilidades Personalizadas
   ======================================== */
.shadow-custom {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.rounded-custom {
    border-radius: 15px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Mejoras de Accesibilidad
   ======================================== */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reducir animaciones para usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   Optimizaciones Móviles Adicionales
   ======================================== */

/* Mejorar áreas táctiles en móviles */
a, button, input, select, textarea, [tabindex] {
    -webkit-tap-highlight-color: rgba(8, 145, 178, 0.2);
    touch-action: manipulation;
}

/* Prevenir zoom en inputs en iOS */
@media screen and (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    textarea,
    select {
        font-size: 16px !important;
    }
    
    input[type="date"]::-webkit-calendar-picker-indicator {
        width: 24px;
        height: 24px;
        padding: 4px;
        cursor: pointer;
    }
}

/* Optimizar scroll en móviles */
@media (max-width: 767px) {
    html {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* Mejorar visualización de mapas en móvil */
@media (max-width: 767px) {
    .map-wrapper iframe {
        height: 350px;
    }
}

/* Reservación section móvil */
@media (max-width: 991px) {
    #reservas .col-lg-5,
    #reservas .col-lg-7 {
        padding: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    #reservas .col-lg-5,
    #reservas .col-lg-7 {
        padding: 1.25rem !important;
    }
    
    #reservas .row.g-0 {
        margin: 0;
    }
}

/* Footer móvil */
@media (max-width: 767px) {
    footer .col-lg-3,
    footer .col-md-6 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    footer .col-lg-3:last-child,
    footer .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .footer-links {
        text-align: center;
    }
    
    /* Centrar elementos de contacto en móviles */
    footer .footer-links li {
        justify-content: center;
        text-align: center;
    }
    
    footer .footer-links li.d-flex {
        display: flex !important;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    
    footer .footer-links li.d-flex.align-items-start {
        align-items: center !important;
    }
    
    footer .footer-links li a,
    footer .footer-links li span {
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    footer .footer-links li a.d-flex {
        justify-content: center !important;
    }
    
    footer .footer-links li i {
        margin-right: 0.5rem;
        margin-left: 0;
        flex-shrink: 0;
    }
    
    /* Asegurar que el título Contacto esté centrado */
    footer h3.h5 {
        text-align: center !important;
    }
    
    .social-links {
        justify-content: center;
    }
}
