/* Grupo LETS - Estilos Personalizados */

/* Variables CSS */
:root {
    /* Colores oficiales del Brand Book - PRIMARIOS */
    --primary-blue: #0a7fbf;
    --primary-green: #7ac206;
    --primary-dark: #333333;
    --primary-light: #bfbfbf;
    
    /* Colores oficiales del Brand Book - SECUNDARIOS */
    --secondary-yellow-green: #b9ff34;
    --secondary-olive: #468208;
    --secondary-dark-green: #132c00;
    --secondary-sky-blue: #2ac3ff;
    --secondary-navy: #004478;
    --secondary-dark-blue: #0e1e2b;
    
                    /* Colores de cada vertical (basados en la paleta oficial) */
                --letslaw-green: #7ac206;
                --letsfinance-blue: #0a7fbf;
                --letsinnovate-orange: #ff6b35;
                --letsadvisory-gold: #bf9b02;
    
    /* Gradiente oficial */
    --accent-gradient: linear-gradient(135deg, #7ac206 0%, #0a7fbf 100%);
    
    /* Grises actualizados */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #bfbfbf;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #333333;
    --gray-900: #132c00;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transiciones */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: #fff;
    overflow-x: hidden;
}

/* Tipografía */
.text-hero {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
}

.text-h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.text-h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.3;
}

.text-h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
    font-weight: 600;
    line-height: 1.4;
}

.text-body-lg {
    font-size: 1.125rem;
    line-height: 1.7;
}

.text-body {
    font-size: 1rem;
    line-height: 1.6;
}

/* Utilidades */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--accent-gradient);
}

.section-padding {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 6rem 0;
    }
}

/* Header y Navegación */
.navbar {
    transition: all var(--transition-normal);
    z-index: 1050; /* Asegurar que esté por encima de todo */
    position: fixed !important; /* Mantener el navbar fijo */
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9); /* Fondo semi-transparente para el blur */
}

/* Efecto de backdrop-filter solo en el fondo, no en el contenido */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px);
    z-index: -1;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.1); /* Fondo muy sutil para el blur */
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
    z-index: 10; /* Por encima del backdrop-filter */
}

.navbar-brand img {
    position: relative;
    z-index: 11; /* Asegurar que la imagen del logo esté por encima */
    filter: none !important; /* Eliminar cualquier filtro que pueda afectar al logo */
}

/* Ajuste del hero en móvil para evitar solapamiento con navbar */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 140px; /* Más espacio para el navbar en móvil */
    }
    
    /* Ocultar flechita del dropdown en móvil */
    .dropdown-toggle::after {
        display: none !important;
    }
}

/* Estilo para el idioma activo */
.dropdown-item.active {
    background-color: var(--primary-blue);
    color: white;
}

.dropdown-item.active:hover {
    background-color: var(--secondary-navy);
    color: white;
}

/* Botón Scroll to Top */
.btn.position-fixed[style*="border-radius: 50%"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.btn.position-fixed[style*="border-radius: 50%"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Ajuste específico para móvil */
@media (max-width: 768px) {
    .btn.position-fixed[style*="border-radius: 50%"] {
        width: 50px !important;
        height: 50px !important;
        right: 15px !important;
        bottom: 15px !important;
    }
}

.navbar-brand .tagline {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 400;
}

.nav-link {
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Dropdown de verticales */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: 1rem;
    padding: 1rem;
    min-width: 320px;
}

/* Asegurar que los dropdowns se muestren */
.dropdown-menu.show {
    display: block !important;
}

/* Estilo específico para el dropdown de idioma */
.dropdown-menu .dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--gray-100);
}

.vertical-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
    text-decoration: none;
    color: var(--gray-700);
}

.vertical-item:hover {
    background-color: var(--gray-50);
    color: var(--gray-900);
    transform: translateY(-2px);
}

.vertical-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: white;
    margin-right: 0.75rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px; /* Espacio adicional para separar del navbar */
}

.hero-logo {
    animation: fadeInDown 1s ease-out;
}

.hero-tagline {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-tagline h2 {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0.05;
    z-index: -3;
}

/* Ondas de Luz - Efecto elegante */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(10, 127, 191, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse at 70% 30%, rgba(122, 194, 6, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse at 50% 80%, rgba(10, 127, 191, 0.06) 0%, transparent 70%);
    animation: lightWave 20s ease-in-out infinite;
}

.particle {
    display: none; /* Ocultamos las partículas */
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 25%;
    top: 60%;
    animation-delay: -1s;
}

.particle:nth-child(3) {
    left: 40%;
    top: 30%;
    animation-delay: -2s;
}

.particle:nth-child(4) {
    left: 55%;
    top: 70%;
    animation-delay: -3s;
}

.particle:nth-child(5) {
    left: 70%;
    top: 15%;
    animation-delay: -4s;
}

.particle:nth-child(6) {
    left: 85%;
    top: 50%;
    animation-delay: -5s;
}

.particle:nth-child(7) {
    left: 15%;
    top: 80%;
    animation-delay: -0.5s;
}

.particle:nth-child(8) {
    left: 45%;
    top: 10%;
    animation-delay: -1.5s;
}

.particle:nth-child(9) {
    left: 80%;
    top: 85%;
    animation-delay: -2.5s;
}

.particle:nth-child(10) {
    left: 5%;
    top: 40%;
    animation-delay: -3.5s;
}

.particle:nth-child(11) {
    left: 35%;
    top: 75%;
    animation-delay: -4.5s;
}

.particle:nth-child(12) {
    left: 65%;
    top: 25%;
    animation-delay: -5.5s;
}

.particle:nth-child(13) {
    left: 90%;
    top: 65%;
    animation-delay: -0.8s;
}

.particle:nth-child(14) {
    left: 20%;
    top: 15%;
    animation-delay: -1.8s;
}

.particle:nth-child(15) {
    left: 75%;
    top: 90%;
    animation-delay: -2.8s;
}

@keyframes lightWave {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    25% { 
        transform: scale(1.2) rotate(1deg);
        opacity: 0.8;
    }
    50% { 
        transform: scale(0.8) rotate(-1deg);
        opacity: 0.3;
    }
    75% { 
        transform: scale(1.1) rotate(0.5deg);
        opacity: 0.6;
    }
}

@keyframes waveMove {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateX(-1%) translateY(-0.5%) scale(1.01);
        opacity: 0.6;
    }
    50% {
        transform: translateX(0.5%) translateY(-1%) scale(0.99);
        opacity: 0.3;
    }
    75% {
        transform: translateX(-0.5%) translateY(0.5%) scale(1.005);
        opacity: 0.5;
    }
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Botones */
.btn-primary {
    background: var(--primary-blue);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--secondary-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: white;
    border: 2px solid var(--gray-200);
    color: var(--gray-900);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--gray-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--gray-900);
}

/* Sección de beneficios */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    background: var(--accent-gradient);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform var(--transition-normal);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

/* Sección de verticales */
.verticals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Ajuste específico para 4 columnas en pantallas grandes */
@media (min-width: 1200px) {
    .verticals-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 3rem auto 0;
    }
}

.vertical-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.vertical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all var(--transition-normal);
}

.vertical-card.letslaw::before {
    background: var(--primary-green);
}

.vertical-card.letsfinance::before {
    background: var(--primary-blue);
}

.vertical-card.letsinnovate::before {
    background: var(--letsinnovate-orange) !important; /* Naranja para Letsinnovate */
}

.vertical-card.letsadvisory::before {
    background: var(--letsadvisory-gold) !important; /* Dorado para Letsadvisory */
}

/* Estilos específicos para Letsadvisory */
.vertical-card.letsadvisory {
    /* Sin estilos especiales - se ve igual que las otras verticales */
}

.vertical-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.vertical-card:hover::before {
    height: 8px;
}

.vertical-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vertical-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 80px;
}

.vertical-logo-img {
    max-height: 80px;
    max-width: 120px;
    object-fit: contain;
}

.vertical-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.vertical-tagline {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
}

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

.vertical-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.vertical-stats {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-style: italic;
}



/* Sección de proceso */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 3rem;
    height: 3rem;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--gray-200);
    z-index: 1;
}

.process-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-description {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Formulario de contacto */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 127, 191, 0.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Footer */
.footer {
    background: var(--secondary-dark-blue);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-link {
    color: var(--gray-300);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-400);
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .verticals-grid {
        grid-template-columns: 1fr;
    }
    

    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }
}

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Estilos para la sección de equipo */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    min-height: 300px;
    justify-content: space-between;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.team-photo {
    position: relative;
    overflow: hidden;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 3px solid var(--gray-100);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.3s ease;
    border-radius: 50%;
}

/* Responsive team grid */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
    /* Force mobile layout */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .row {
        margin-left: -15px !important;
        margin-right: -15px !important;
    }
    
    .col-12 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Ensure text readability */
    body {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
    
    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
    }
    
    /* Touch-friendly buttons */
    .btn {
        min-height: 44px !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
    }
    
    /* Ensure proper spacing */
    .hero-section {
        padding-top: 140px !important;
        min-height: 100vh !important;
    }
    
    /* Fix navigation */
    .navbar-nav {
        text-align: center !important;
    }
    
    .navbar-nav .nav-link {
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    /* Fix dropdown arrows */
    .dropdown-toggle::after {
        display: none !important;
    }
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.team-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-social {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: 1rem;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-card .btn-outline-primary {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.team-card .btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.team-card .btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    transition: all 0.3s ease;
}

.team-card .btn-primary:hover {
    background-color: var(--secondary-navy);
    border-color: var(--secondary-navy);
    color: white;
    transform: translateY(-2px);
}

/* Alineación específica para cada foto del equipo */
.team-card:nth-child(1) .team-photo img {
    object-position: center 20% !important;
}

.team-card:nth-child(2) .team-photo img {
    object-position: center 15% !important;
}

.team-card:nth-child(3) .team-photo img {
    object-position: center 25% !important;
}

.team-card:nth-child(4) .team-photo img {
    object-position: center 20% !important;
}

.team-card:nth-child(5) .team-photo img {
    object-position: center 15% !important;
}

/* Privacy Information Icons and Table */
.privacy-info-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 5px;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.privacy-info-icon:hover {
    background-color: var(--secondary-navy);
    transform: scale(1.1);
}

.privacy-info-table {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-top: 1rem;
}

.privacy-info-table table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.privacy-info-table th {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.privacy-info-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
    line-height: 1.5;
}

.privacy-info-table tr:last-child td {
    border-bottom: none;
}

.privacy-info-table .question {
    font-weight: 600;
    color: var(--primary-dark);
    width: 40%;
}

.privacy-info-table .answer {
    color: var(--gray-600);
}

.privacy-info-table .answer .privacy-info-icon {
    margin-left: 8px;
}

/* Privacy Modal */
.privacy-modal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-xl);
}

.privacy-modal .modal-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-navy));
    color: white;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.privacy-modal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.privacy-modal .btn-close {
    filter: invert(1);
}

.privacy-modal .modal-body {
    padding: 2rem;
}

.privacy-detail-section {
    margin-bottom: 2rem;
}

.privacy-detail-section h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

.privacy-detail-section ul {
    margin-bottom: 0;
}

.privacy-detail-section li {
    margin-bottom: 0.5rem;
}

/* Form Privacy Notice */
.form-privacy-notice {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 14px;
    line-height: 1.5;
}

.form-privacy-notice .privacy-summary {
    margin-bottom: 0.5rem;
}

.form-privacy-notice .privacy-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.form-privacy-notice .privacy-link:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .privacy-info-table th,
    .privacy-info-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .privacy-info-table .question {
        width: 35%;
    }
    
    .privacy-modal .modal-body {
        padding: 1.5rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-navy));
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner .container {
    max-width: 1200px;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-text strong {
    font-weight: 600;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-banner .btn {
    padding: 0.5rem 1.5rem;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cookie-banner .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.cookie-banner .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.cookie-banner .btn-light {
    background-color: white;
    color: var(--primary-blue);
    border: none;
}

.cookie-banner .btn-light:hover {
    background-color: var(--gray-100);
    color: var(--primary-blue);
}

/* Cookie Settings Modal */
.cookie-settings-modal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-xl);
}

.cookie-settings-modal .modal-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-navy));
    color: white;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.cookie-settings-modal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.cookie-settings-modal .btn-close {
    filter: invert(1);
}

.cookie-settings-modal .modal-body {
    padding: 2rem;
}

.cookie-category {
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.cookie-category-header {
    background-color: var(--gray-50);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-category-title {
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
}

.cookie-category-description {
    padding: 1rem 1.5rem;
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--primary-blue);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(26px);
}

.cookie-toggle.disabled .cookie-toggle-slider {
    background-color: var(--primary-blue);
    cursor: not-allowed;
}

.cookie-toggle.disabled input {
    cursor: not-allowed;
}

/* Responsive cookie banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-banner .btn {
        flex: 1;
        max-width: 150px;
    }
    
    .cookie-settings-modal .modal-body {
        padding: 1.5rem;
    }
    
    .cookie-category-header {
        padding: 0.75rem 1rem;
    }
    
    .cookie-category-description {
        padding: 0.75rem 1rem;
    }
}

/* Alternativa: Líneas horizontales simples */
.hero-particles.alternative-1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(10, 127, 191, 0.1) 50%, transparent 100%) 0 20%,
        linear-gradient(90deg, transparent 0%, rgba(122, 194, 6, 0.1) 50%, transparent 100%) 0 40%,
        linear-gradient(90deg, transparent 0%, rgba(10, 127, 191, 0.1) 50%, transparent 100%) 0 60%,
        linear-gradient(90deg, transparent 0%, rgba(122, 194, 6, 0.1) 50%, transparent 100%) 0 80%;
    background-size: 200% 1px;
    background-repeat: repeat-y;
    animation: lineMove 10s linear infinite;
}

@keyframes lineMove {
    0% {
        background-position: 0% 20%, 0% 40%, 0% 60%, 0% 80%;
    }
    100% {
        background-position: 200% 20%, 200% 40%, 200% 60%, 200% 80%;
    }
}

/* Alternativa: Círculos pulsantes */
.hero-particles.alternative-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-particles.alternative-2 .particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(10, 127, 191, 0.2);
    border-radius: 50%;
    animation: pulse 4s infinite ease-in-out;
    display: block;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(0.5);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

/* Alternativa: Cuadrados rotando */
.hero-particles.alternative-3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-particles.alternative-3 .particle {
    position: absolute;
    width: 15px;
    height: 15px;
    background: rgba(10, 127, 191, 0.15);
    border-radius: 3px;
    animation: rotate 8s infinite linear;
    display: block;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 0.6;
    }
    100% {
        transform: rotate(360deg) scale(0.8);
        opacity: 0.3;
    }
}

/* Alternativa: Sin efecto (limpio) */
.hero-particles.alternative-4 {
    display: none;
}
