﻿/* ===========================================
   NAVBAR COMPONENT - STANDALONE CSS
   Extracted from styles.css exactly as is
   =========================================== */

/* ===========================================
   CSS RESET & GLOBAL STYLES
   =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
    --primary-color: #6a0dad; /* Purple - main SINSAJO color */
    --secondary-color: #9370DB; /* Medium Purple - secondary color */
    --text-color: #1f2937;
    --light-text: #6b7280;
    --dark-bg: #111827;
    --light-bg: #f8fafc;
    --radius: 8px;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

/* ===========================================
   DESKTOP/MOBILE VISIBILITY HELPERS
   =========================================== */
.desktop-only { display: block; }
.phone-only { display: none; }

:not(.is-phone) .phone-only { display: none !important; }
.is-phone .phone-only { display: block !important; }
.is-phone .desktop-only { display: none !important; }

/* Global: in phones hide any default header unless explicitly marked phone-only */
.is-phone header:not(.phone-only):not(.mobile-navbar) { display: none !important; }
.is-phone header.phone-only { display: block !important; }

/* ===========================================
   CONTAINER
   =========================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar container override - matches original */
.navbar .container {
    padding: 0 2rem !important;
}

/* ===========================================
   NAVBAR BASE STYLES
   =========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 83.68px !important;
    min-height: 83.68px !important;
    padding: 0 !important;
    background-color: #111827;
    overflow-wrap: normal;
    word-wrap: normal;
}

/* Navbar container with flex layout */
.navbar .container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 1008px !important;
    max-width: 1008px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    height: 83.68px !important;
    gap: 2rem !important;
    overflow-wrap: normal;
    word-wrap: normal;
}

/* ===========================================
   LOGO SECTION
   =========================================== */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 42px;
    filter: none;
    transform-origin: center center;
}

/* ===========================================
   NAVIGATION LINKS
   =========================================== */
.nav-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.nav-links ul,
.navbar .nav-links ul {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-wrap: normal;
    word-wrap: normal;
}

.nav-links a,
.navbar .nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.7rem 1.2rem;
    position: relative;
    transition: all 0.2s ease;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    letter-spacing: -0.01em;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    white-space: nowrap;
    word-break: keep-all;
}

.nav-links a:hover,
.navbar .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.nav-links a.active,
.navbar .nav-links a.active {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.3);
    color: white;
}

/* ===========================================
   HEADER RIGHT SECTION - CONTROLS
   =========================================== */
.header-right {
    display: flex !important;
    align-items: center !important;
    gap: 1.25rem !important;
    flex-shrink: 0 !important;
    justify-content: center !important;
    min-width: auto !important;
}

/* ===========================================
   HAMBURGER MENU - MOBILE NAVIGATION
   =========================================== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 101;
    width: 30px;
    height: 25px;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ===========================================
   COMPANY DROPDOWN
   =========================================== */
.company-dropdown {
    position: relative;
}

.company-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.7rem 1.2rem;
    position: relative;
    transition: all 0.2s ease;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    letter-spacing: -0.01em;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
}

.company-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    color: #FFFFFF;
}

.dropdown-arrow::after {
    content: "▼";
    font-size: 0.6rem;
}

.company-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.company-dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: -120px;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    width: 420px;
    min-height: 200px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
}

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

.company-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.company-dropdown-menu a {
    display: flex;
    align-items: flex-start;
    padding: 1.25rem 0;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    gap: 0.5rem;
}

.company-dropdown-menu a:last-child {
    border-bottom: none;
}

.company-dropdown-menu a .menu-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.company-dropdown-menu a .menu-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.4;
    max-width: 320px;
}

.company-dropdown-menu a:hover {
    color: white;
    padding-left: 1rem;
    background: rgba(74, 222, 128, 0.05);
    border-radius: 12px;
    margin: 0 -1rem;
    padding-right: 1rem;
}

.company-dropdown-menu a:hover .menu-title {
    color: var(--secondary-color);
}

.company-dropdown-menu a:hover .menu-subtitle {
    color: #FFFFFF;
}

.company-dropdown-menu a::before {
    display: none;
}

.company-toggle::after {
    display: none;
}

.company-dropdown.hover .company-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

.company-dropdown.hover .dropdown-arrow {
    transform: rotate(180deg) !important;
}

/* ===========================================
   PLATFORM DROPDOWN
   =========================================== */
.platform-dropdown {
    position: relative;
}

.platform-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.7rem 1.2rem !important;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: transparent;
    font-weight: 500 !important;
    font-size: 1.05rem !important;
    letter-spacing: -0.01em;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
}

.platform-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.platform-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.platform-dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: -300px;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1.5rem;
    width: 600px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 1rem;
}

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

.platform-dropdown-menu .menu-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.platform-dropdown-menu .menu-item:hover {
    color: white;
    background: rgba(74, 222, 128, 0.05);
    border-color: rgba(74, 222, 128, 0.2);
    transform: translateY(-2px);
}

.menu-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.platform-dropdown-menu .menu-item .menu-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    letter-spacing: -0.01em;
}

.platform-dropdown-menu .menu-item .menu-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.4;
}

.platform-dropdown-menu .menu-item:hover .menu-title {
    color: var(--secondary-color);
}

.platform-dropdown-menu .menu-item:hover .menu-subtitle {
    color: #FFFFFF;
}

.platform-dropdown-menu .menu-item:hover .menu-icon {
    transform: scale(1.1);
}

.platform-dropdown.hover .platform-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

/* Menu Icon Styles */
.ai-agent-icon::before,
.ai-voice-icon::before,
.ai-analytics-icon::before,
.ai-guru-icon::before,
.ai-quality-icon::before,
.ai-knowledge-icon::before,
.ai-asr-icon::before,
.omni-icon::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(19%) sepia(51%) saturate(4532%) hue-rotate(266deg) brightness(84%) contrast(118%);
}

.ai-agent-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E"); }
.ai-voice-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z'/%3E%3C/svg%3E"); }
.ai-analytics-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z'/%3E%3C/svg%3E"); }
.ai-guru-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E"); }
.ai-quality-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E"); }
.ai-knowledge-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E"); }
.ai-asr-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15c1.66 0 3-1.34 3-3V6c0-1.66-1.34-3-3-3S9 4.34 9 6v6c0 1.66 1.34 3 3 3zm-1-9c0-.55.45-1 1-1s1 .45 1 1v6c0 .55-.45 1-1 1s-1-.45-1-1V6zm6 6c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-2.08c3.39-.49 6-3.39 6-6.92h-2z'/%3E%3C/svg%3E"); }
.omni-icon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E"); }

/* ===========================================
   LANGUAGE TOGGLE SWITCH
   =========================================== */
.language-selector {
    position: relative;
}

.language-toggle-switch {
    position: relative;
    cursor: pointer;
}

.toggle-track {
    position: relative;
    width: 120px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.toggle-slider {
    position: absolute;
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border-radius: 50%;
    left: 4px;
    top: 4px;
    transition: all 0.3s ease;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.2),
        -2px -2px 4px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-sizing: border-box;
}

.flag-icon {
    width: 28px;
    height: 28px;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.us-flag {
    background-image: url("../../Assets/Image/Flags/Bandera_de_Estados Unidos.png");
}

.es-flag {
    background-image: url("../../Assets/Image/Flags/Bandera_de_España.png");
}

.lang-text {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.en-text {
    color: #333;
}

.es-text {
    color: #999;
}

/* Active state - English selected */
.language-toggle-switch.active-en .toggle-slider {
    left: 4px;
}

.language-toggle-switch.active-en .en-text {
    color: #333;
}

.language-toggle-switch.active-en .es-text {
    color: #999;
}

.language-toggle-switch.active-en .flag-icon {
    background-image: url("../../Assets/Image/Flags/Bandera_de_Estados Unidos.png");
}

/* Active state - Spanish selected */
.language-toggle-switch.active-es .toggle-slider {
    left: 84px;
}

.language-toggle-switch.active-es .en-text {
    color: #999;
}

.language-toggle-switch.active-es .es-text {
    color: #333;
}

.language-toggle-switch.active-es .flag-icon {
    background-image: url("../../Assets/Image/Flags/Bandera_de_España.png");
}

.language-toggle-switch:hover .toggle-track {
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
}

.language-toggle-switch:hover .toggle-slider {
    box-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.2),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.language-selector.hover .language-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

.language-selector.hover .language-toggle {
    min-width: 140px !important;
    padding: 0.5rem 1rem !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.language-selector.hover .language-toggle .current-lang {
    opacity: 1 !important;
    width: auto !important;
}

/* ===========================================
   THEME TOGGLE SWITCH
   =========================================== */
.theme-selector {
    position: relative;
}

.theme-toggle-switch {
    position: relative;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
}

.theme-toggle-switch .toggle-track {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #f0f0f0;
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    overflow: hidden;
    pointer-events: auto;
    cursor: pointer;
}

.theme-toggle-switch.expanded .toggle-track {
    width: 120px;
    justify-content: space-between;
    padding: 0 8px;
}

.theme-toggle-switch .toggle-slider {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    left: 4px;
    top: 4px;
    background: #f0f0f0;
    transition: all 0.3s ease;
    box-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.2),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-sizing: border-box;
}

.theme-toggle-switch:not(.expanded) .toggle-slider {
    left: 4px;
    top: 4px;
    right: auto;
    margin: 0;
}

.theme-toggle-switch:not(.expanded).active-night .toggle-slider {
    left: 4px;
    top: 4px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 
        0 2px 8px rgba(30, 64, 175, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch:not(.expanded).active-day .toggle-slider {
    left: 4px;
    top: 4px;
    background: linear-gradient(135deg, #fde047, #facc15);
    box-shadow: 
        0 2px 8px rgba(251, 191, 36, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch:not(.expanded).active-day .toggle-track {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 
        0 4px 15px rgba(251, 191, 36, 0.3),
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.2);
}

.theme-toggle-switch:not(.expanded).active-night .toggle-track {
    background: #1e40af;
    box-shadow: 
        0 4px 15px rgba(30, 64, 175, 0.3),
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.1);
}

.theme-toggle-switch .theme-icon {
    font-size: 16px;
    line-height: 1;
}

/* Animation for rotating sun and moon icons */
@keyframes rotate-center {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.theme-toggle-switch .theme-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: filter 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.7));
    animation: rotate-center 3s linear infinite;
    transform-origin: center center;
}

.theme-toggle-switch:hover .theme-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.theme-toggle-switch:hover .theme-icon-img {
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.9));
    animation: rotate-center 2s linear infinite;
}

.theme-toggle-switch .theme-text {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.theme-toggle-switch.expanded .theme-text {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Active state - Day mode selected */
.theme-toggle-switch.active-day .toggle-track {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 
        0 4px 15px rgba(251, 191, 36, 0.3),
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.2);
}

/* Day mode slider always at left (4px) */
.theme-toggle-switch.active-day .toggle-slider {
    left: 4px;
    background: linear-gradient(135deg, #fde047, #facc15);
    box-shadow: 
        0 2px 8px rgba(251, 191, 36, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch.active-day .day-text {
    opacity: 0;
    visibility: hidden;
}

.theme-toggle-switch.active-day .night-text {
    color: #FFFFFF;
}

/* Active state - Night mode selected */
.theme-toggle-switch.active-night .toggle-track {
    background: #1e40af;
    box-shadow: 
        0 4px 15px rgba(30, 64, 175, 0.3),
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.1);
}

/* When expanded, slider moves to right for night mode */
.theme-toggle-switch.expanded.active-night .toggle-slider {
    left: 84px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 
        0 2px 8px rgba(30, 64, 175, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

/* When not expanded, slider stays at left but track shows night color */
.theme-toggle-switch:not(.expanded).active-night .toggle-slider {
    left: 4px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 
        0 2px 8px rgba(30, 64, 175, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch.active-night .day-text {
    color: #FFFFFF;
}

.theme-toggle-switch.active-night .night-text {
    opacity: 0;
    visibility: hidden;
}

.theme-toggle-switch:hover .toggle-track {
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch:hover .toggle-slider {
    box-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.2),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch.active-day:hover .toggle-track {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 
        0 6px 20px rgba(251, 191, 36, 0.5),
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.2);
}

.theme-toggle-switch.active-day:hover .toggle-slider {
    background: linear-gradient(135deg, #facc15, #eab308);
    box-shadow: 
        0 4px 12px rgba(251, 191, 36, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.theme-toggle-switch.active-night:hover .toggle-track {
    background: #1d4ed8;
    box-shadow: 
        0 6px 20px rgba(30, 64, 175, 0.5),
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.1);
}

.theme-toggle-switch.active-night:hover .toggle-slider {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 
        0 4px 12px rgba(30, 64, 175, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}

/* ===========================================
   SEARCH ICON LINK
   =========================================== */
.search-icon-link {
    color: #FFFFFF;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.search-icon-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--secondary-color);
}

/* ===========================================
   CTA BUTTON
   =========================================== */
.cta-button {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    width: 121.24px !important;
    height: 46.71px !important;
    padding: 0 !important;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    transition: all 0.2s ease;
    white-space: nowrap;
    word-break: keep-all;
    line-height: 1.5;
    box-sizing: border-box;
}

.cta-button:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    width: 121.24px !important;
    height: 46.71px !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* ===========================================
   MOBILE STYLES
   =========================================== */
.is-phone header.phone-only .nav-links {
    position: fixed;
    top: 0;
    left: -100% !important;
    right: auto !important;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
}

.is-phone header.phone-only .nav-links ul { 
    display: flex !important; 
    flex-direction: column; 
    gap: 4px; 
}

.is-phone header.phone-only .nav-links a { 
    color: #fff; 
    font-weight: 600; 
    font-size: 16px; 
}

.is-phone header.phone-only .nav-links.active { 
    left: 0 !important; 
    pointer-events: auto; 
}

.is-phone body.menu-open { 
    overflow: hidden !important; 
}

.is-phone header.phone-only .nav-links ul { 
    margin: 0 !important; 
    padding: 0 !important; 
    display: flex !important; 
    flex-direction: column; 
    align-items: stretch !important; 
    justify-content: flex-start !important; 
    gap: 4px !important; 
    width: 100% !important; 
}

.is-phone header.phone-only .nav-links ul li { 
    list-style: none; 
}

.is-phone header.phone-only .nav-links ul > li > a,
.is-phone header.phone-only .nav-links ul > li > .platform-toggle,
.is-phone header.phone-only .nav-links ul > li > .company-toggle {
    display: block;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.is-phone header.phone-only .platform-dropdown-menu,
.is-phone header.phone-only .company-dropdown-menu { 
    position: relative; 
    inset: 0; 
    transform: none; 
    opacity: 0; 
    visibility: hidden; 
}

.is-phone header.phone-only .platform-dropdown.hover .platform-dropdown-menu,
.is-phone header.phone-only .company-dropdown.hover .company-dropdown-menu { 
    display: flex !important; 
    opacity: 1 !important;
    visibility: visible !important;
}

.is-phone .hamburger { 
    display: flex !important; 
    cursor: pointer; 
    z-index: 1100; 
}

.is-phone .hamburger span { 
    display: block; 
    width: 24px; 
    height: 3px; 
    background: #fff; 
    margin: 5px 0; 
    transition: all .3s ease; 
}

.is-phone .hamburger.active span:nth-child(1) { 
    transform: translateY(7px) rotate(45deg); 
}

.is-phone .hamburger.active span:nth-child(2) { 
    opacity: 0; 
}

.is-phone .hamburger.active span:nth-child(3) { 
    transform: translateY(-7px) rotate(-45deg); 
}

.hamburger.active span:nth-child(1) { 
    transform: translateY(7px) rotate(45deg) !important; 
}

.hamburger.active span:nth-child(2) { 
    opacity: 0 !important; 
}

.hamburger.active span:nth-child(3) { 
    transform: translateY(-7px) rotate(-45deg) !important; 
}

.is-phone .language-toggle-switch .toggle-track {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    justify-content: center !important;
}

.is-phone .language-toggle-switch .lang-text {
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
}

.is-phone .language-toggle-switch .toggle-slider {
    left: 4px !important;
    top: 4px !important;
}

.is-phone .language-toggle-switch.active-en .toggle-slider,
.is-phone .language-toggle-switch.active-es .toggle-slider {
    left: 4px !important;
}

.is-phone .language-selector.hover .language-toggle-switch .toggle-track {
    width: 120px !important;
    padding: 0 8px !important;
    justify-content: space-between !important;
}

.is-phone .language-selector.hover .language-toggle-switch .lang-text {
    opacity: 1 !important;
    visibility: visible !important;
    width: auto !important;
}

.is-phone .theme-toggle-switch .toggle-track {
    width: 40px !important;
    padding: 0 !important;
    justify-content: center !important;
}

.is-phone .theme-toggle-switch.expanded .toggle-track {
    width: 40px !important;
    padding: 0 !important;
    justify-content: center !important;
}

.is-phone .theme-toggle-switch .theme-text,
.is-phone .theme-toggle-switch.expanded .theme-text {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(0.8) !important;
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .navbar .container {
        padding: 0 1rem !important;
    }
    
    .navbar {
        padding: 1.2rem 0;
        min-height: 75px;
    }
    
    .logo-img {
        height: 38px;
        flex-shrink: 0;
    }
    
    .header-right {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-shrink: 0;
    }
    
    .cta-button {
        padding: 0.7rem 1.1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

/* ===========================================
   SEARCH RESULTS SECTION STYLES
   =========================================== */

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #1a1a2e;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Dark theme background */
body.dark-theme {
    background: #0f0f23;
}

/* Light theme background */
body:not(.dark-theme) {
    background: #f8fafc;
    color: #1f2937;
}

/* ===========================================
   SEARCH SECTION - MAIN CONTAINER
   =========================================== */

.search-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem 2rem;
    background: #1a1a2e;
    position: relative;
}

/* Dark theme background */
body.dark-theme .search-section {
    background: #0f0f23;
}

/* Light theme background */
body:not(.dark-theme) .search-section {
    background: #f8fafc;
}

/* ===========================================
   SEARCH CONTAINER - CONTENT WRAPPER
   =========================================== */

.search-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* ===========================================
   SEARCH TITLE - PAGE HEADING
   =========================================== */

.search-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3rem;
    line-height: 1.2;
}

/* Light theme title */
body:not(.dark-theme) .search-title {
    color: #1f2937;
}

/* ===========================================
   SEARCH FORM - INPUT AND BUTTON
   =========================================== */

.search-form-wrapper {
    margin-bottom: 3rem;
}

.search-form {
    display: flex;
    align-items: stretch;
    max-width: 650px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===========================================
   SEARCH INPUT - TEXT FIELD
   =========================================== */

.search-input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-right: none;
    background: rgba(31, 41, 55, 0.8);
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
    border-radius: 12px 0 0 12px;
}

/* Light theme input */
body:not(.dark-theme) .search-input {
    background: #ffffff;
    color: #1f2937;
    border-color: rgba(139, 92, 246, 0.2);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

body:not(.dark-theme) .search-input::placeholder {
    color: rgba(31, 41, 55, 0.5);
}

.search-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* ===========================================
   SEARCH BUTTON - SUBMIT BUTTON
   =========================================== */

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 2rem;
    background: #8b5cf6;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 12px 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-button:hover {
    background: #7c3aed;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.search-button i {
    font-size: 1rem;
}

/* ===========================================
   SEARCH RESULTS - RESULTS CONTAINER
   =========================================== */

.search-results {
    margin-top: 0;
}

/* ===========================================
   NO RESULTS MESSAGE
   =========================================== */

.no-results {
    color: #a78bfa;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 2rem;
    text-align: center;
}

body:not(.dark-theme) .no-results {
    color: #8b5cf6;
}

/* ===========================================
   SEARCH RESULT ITEM - INDIVIDUAL RESULT
   =========================================== */

.search-result-item {
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
}

body:not(.dark-theme) .search-result-item {
    background: #ffffff;
    border-color: rgba(139, 92, 246, 0.2);
}

.search-result-item:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

/* ===========================================
   RESULT CONTENT - TITLE AND DESCRIPTION
   =========================================== */

.result-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body:not(.dark-theme) .result-title {
    color: #1f2937;
}

.result-title i {
    color: #8b5cf6;
    font-size: 1rem;
}

.result-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

body:not(.dark-theme) .result-description {
    color: #6b7280;
}

.result-url {
    font-size: 0.85rem;
    color: #a78bfa;
    font-weight: 500;
}

body:not(.dark-theme) .result-url {
    color: #8b5cf6;
}

/* ===========================================
   HIGHLIGHT - SEARCH TERM HIGHLIGHTING
   =========================================== */

.highlight {
    background: rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    padding: 0.125rem 0.25rem;
    border-radius: 3px;
    font-weight: 600;
}

body:not(.dark-theme) .highlight {
    background: rgba(139, 92, 246, 0.2);
    color: #7c3aed;
}

/* ===========================================
   RESPONSIVE DESIGN - MOBILE ADAPTATIONS
   =========================================== */

@media screen and (max-width: 768px) {
    .search-section {
        padding: 6rem 1rem 3rem 1rem;
    }
    
    .search-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .search-input {
        border-radius: 12px 12px 0 0;
        border-right: 2px solid rgba(139, 92, 246, 0.3);
        border-bottom: none;
    }
    
    body:not(.dark-theme) .search-input {
        border-right: 2px solid rgba(139, 92, 246, 0.2);
        border-bottom: none;
    }
    
    .search-button {
        border-radius: 0 0 12px 12px;
        padding: 1rem;
    }
    
    .search-result-item {
        padding: 1.25rem;
    }
    
    .result-title {
        font-size: 1.125rem;
    }
}

@media screen and (max-width: 576px) {
    .search-section {
        padding: 4rem 1rem 2rem 1rem;
    }
    
    .search-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .search-input {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .search-button {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .result-title {
        font-size: 1rem;
    }
    
    .result-description {
        font-size: 0.85rem;
    }
    
    .no-results {
        font-size: 1rem;
        padding: 1.5rem;
    }
}

/* ===========================================
   FOOTER COMPONENT - CSS STYLES
   =========================================== */

/* CSS Variables */
:root {
    --primary-color: #6a0dad;
    --secondary-color: #9370DB;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background-color: #ffffff;
    --light-bg: #f9fafb;
    --dark-bg: #111827;
    --accent-color: #8a2be2;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
    background-color: var(--background-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===========================================
   FOOTER STYLES
   =========================================== */

footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 3rem 0 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section {
    flex: 1;
}

/* Extra spacing between logo section and Services section */
.footer-section:nth-child(1) {
    margin-right: 2rem;
}

/* Extra spacing between Services and Platform sections */
.footer-section:nth-child(2) {
    margin-right: 1.5rem;
}

.footer-section:nth-child(3) {
    margin-left: 1.5rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF !important;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #FFFFFF !important;
}

.footer-section ul li a {
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFFFFF !important;
}

/* Force footer section titles to be white with higher specificity */
.footer-section:nth-child(1) h4,
.footer-section:nth-child(2) h4,
.footer-section:nth-child(3) h4,
.footer-section:nth-child(4) h4 {
    color: #FFFFFF !important;
}

/* Override any existing color rules for footer titles */
body.dark-theme .footer-section h4,
body.light-theme .footer-section h4,
body.dark-theme .footer-section:nth-child(1) h4,
body.light-theme .footer-section:nth-child(1) h4,
body.dark-theme .footer-section:nth-child(2) h4,
body.light-theme .footer-section:nth-child(2) h4,
body.dark-theme .footer-section:nth-child(3) h4,
body.light-theme .footer-section:nth-child(3) h4,
body.dark-theme .footer-section:nth-child(4) h4,
body.light-theme .footer-section:nth-child(4) h4 {
    color: #FFFFFF !important;
}

.footer-section p {
    color: #FFFFFF !important;
    font-size: 0.95rem;
    margin: 1rem 0;
    font-weight: 500;
}

/* Footer Logo Size */
.footer-logo {
    width: 108.69px !important;
    height: 50px !important;
    max-width: none !important;
    object-fit: contain !important;
    margin-bottom: 1rem;
}

/* Override logo-img rules for footer logo */
img.footer-logo,
.logo-img.footer-logo {
    width: 108.69px !important;
    height: 50px !important;
    max-width: none !important;
    object-fit: contain !important;
}

.logo {
    display: inline-block;
}

/* ===========================================
   SOCIAL MEDIA LINKS
   =========================================== */

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

.social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-link.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ===========================================
   FOOTER BOTTOM
   =========================================== */

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom p {
    color: #FFFFFF;
    font-size: 0.85rem;
    margin: 0;
}

.privacy-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--secondary-color);
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */

@media screen and (max-width: 768px) {
    footer {
        padding: 2.5rem 0 1rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    /* Primera secciÃ³n - Logo y redes sociales */
    .footer-section:first-child {
        order: 1;
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .footer-section:first-child p {
        font-size: 1.1rem;
        font-weight: 600;
        margin: 1.5rem 0;
        color: white;
    }
    
    /* Servicios */
    .footer-section:nth-child(2) {
        order: 2;
        margin-right: 0;
    }
    
    .footer-section:nth-child(2) h4 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section:nth-child(2) ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        max-width: 300px;
        margin: 0 auto;
        justify-items: center;
    }
    
    .footer-section:nth-child(2) ul li a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        display: block;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
        text-align: center;
        width: 100%;
        max-width: 140px;
    }
    
    .footer-section:nth-child(2) ul li a:hover {
        background: rgba(74, 222, 128, 0.1);
        color: var(--secondary-color);
    }
    
    /* CompaÃ±Ã­a */
    .footer-section:nth-child(3) {
        order: 3;
        margin-left: 0;
    }
    
    .footer-section:nth-child(3) h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section:nth-child(3) ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-section:nth-child(3) ul li a {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.08);
        transition: all 0.3s ease;
        text-align: center;
        min-width: 100px;
    }
    
    .footer-section:nth-child(3) ul li a:hover {
        background: var(--secondary-color);
        color: var(--dark-bg);
    }
    
    /* Contacto */
    .footer-section:nth-child(4) {
        order: 4;
        background: rgba(255, 255, 255, 0.05);
        padding: 1.5rem;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-section:nth-child(4) h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section:nth-child(4) ul li {
        margin-bottom: 1rem;
    }
    
    .footer-section:nth-child(4) ul li a {
        font-size: 1rem;
        font-weight: 500;
        padding: 0.75rem;
        display: block;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        text-align: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .footer-section:nth-child(4) ul li a:hover {
        background: var(--secondary-color);
        color: var(--dark-bg);
        transform: translateY(-2px);
    }
    
    /* Logo y redes sociales */
    .footer-logo {
        width: 108.69px !important;
        height: 50px !important;
        max-width: none !important;
        object-fit: contain !important;
        margin-bottom: 1rem;
    }
    
    /* Force footer logo dimensions - highest specificity */
    img.footer-logo,
    .logo-img.footer-logo,
    body:has(.hero) img.footer-logo,
    body:has(.hero) .logo-img.footer-logo,
    footer img.footer-logo,
    footer .logo-img.footer-logo,
    .footer img.footer-logo,
    .footer .logo-img.footer-logo {
        width: 108.69px !important;
        height: 50px !important;
        max-width: none !important;
        object-fit: contain !important;
    }
    
    .social-media {
        justify-content: center;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.15);
    }
    
    .social-link:hover {
        transform: translateY(-3px) scale(1.1);
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
    
    /* Footer bottom */
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
    }
}

