/* IPYAHU Website - High Impact Stylesheet */

:root {
    /* Coolors Palette - https://coolors.co/palette/0a1128-001f54-034078-1282a2-fefcfb */
    --color-dark: #0A1128;
    --color-navy: #001F54;
    --color-blue: #034078;
    --color-cyan: #1282A2;
    --color-light: #FEFCFB;

    /* UX/UI Optimized Colors */
    --bg-primary: #FEFCFB;
    --text-primary: #0A1128;
    --text-secondary: #034078;
    --cta-color: #1282A2;
    --cta-hover: #034078;
    --card-bg: #E8F4F8;
    --white: #FEFCFB;

    /* Legacy support */
    --primary-color: #1282A2;
    --primary-dark: #0A1128;
    --primary-light: #034078;
    --secondary-color: #034078;
    --accent-color: #1282A2;
    --accent-gradient: linear-gradient(135deg, #1282A2 0%, #034078 100%);
    --main-gradient: linear-gradient(135deg, #1282A2 0%, #034078 100%);

    /* Neutral Colors */
    --dark-color: #0A1128;
    --dark-800: #001F54;
    --dark-700: #034078;
    --light-color: #FEFCFB;
    --text-color: #0A1128;
    --text-light: #034078;
    --border-color: #1282A2;

    /* Product Colors */
    --bc-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    --fc-gradient: linear-gradient(135deg, #0c4a6e 0%, #0284c7 50%, #0ea5e9 100%);
    --tc-gradient: linear-gradient(135deg, #ea580c 0%, #f59e0b 50%, #fbbf24 100%);
    --zynex-gradient: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #22d3ee 100%);
    --resolve-gradient: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #7dd3fc 100%);
    --exacto-gradient: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Typography */
    --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Manrope', system-ui, sans-serif;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --glow: 0 0 20px rgba(37, 99, 235, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.7;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(2rem, 5vw, 4rem);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Navbar - Maximum Visual Impact & Symmetry */
.navbar {
    background: linear-gradient(
        90deg,
        #001F54 0%,
        #034078 25%,
        #1282A2 50%,
        #034078 75%,
        #001F54 100%
    );
    background-size: 200% 100%;
    animation: navbarGradient 8s ease infinite;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 31, 84, 0.3);
    border-bottom: 1px solid rgba(18, 130, 162, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(168, 230, 240, 0.1) 0%,
        transparent 50%,
        rgba(0, 31, 84, 0.2) 100%
    );
    pointer-events: none;
}

@keyframes navbarGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navbar shimmer effect */
.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    animation: navbarShimmer 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes navbarShimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.navbar-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 2rem;
}

@media (max-width: 768px) {
    .navbar-container {
        grid-template-columns: 1fr auto;
    }
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo img {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    justify-content: center;
}

.navbar-menu > li {
    position: relative;
}

.navbar-menu > li.mobile-only {
    display: none;
}

.navbar-menu a,
.navbar-menu a:visited,
.navbar-menu a:link,
.navbar-menu a:active,
.navbar-menu li a,
.navbar-menu li a:visited,
.navbar-menu li a:link {
    color: white !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 8px;
}

.navbar-menu a:hover,
.navbar-menu a:visited:hover,
.navbar-menu li a:hover {
    color: #A8E6F0 !important;
    background: rgba(255, 255, 255, 0.1);
}

/* Removed btn-primary from navbar */

/* WhatsApp Button in Navbar - Minimal Style */
.btn-whatsapp {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: 8px;
    font-weight: 600;
    border: 1.5px solid rgba(168, 230, 240, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-whatsapp:hover {
    background: rgba(168, 230, 240, 0.2) !important;
    color: #A8E6F0 !important;
    border-color: #A8E6F0;
}

.btn-whatsapp svg {
    flex-shrink: 0;
}

.btn-whatsapp span {
    font-size: 0.9rem;
}

/* Navbar Actions Container for Symmetry */
.navbar-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.navbar-toggle span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Hero Section - Dark Blue Maximum Impact */
.hero {
    position: relative;
    background: var(--color-navy);
    color: var(--color-light);
    padding: clamp(3rem, 6vw, 5rem) 0;
    text-align: center;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 100, 255, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 48%,
        rgba(0, 212, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.15) 52%,
        transparent 70%);
    animation: electricShimmer 4s linear infinite;
}

@keyframes electricShimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: white !important;
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease both;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    background-clip: unset !important;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow:
            0 0 40px rgba(0, 212, 255, 0.8),
            0 0 80px rgba(0, 100, 255, 0.6),
            0 4px 30px rgba(0, 0, 0, 0.5),
            0 2px 10px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow:
            0 0 60px rgba(0, 255, 255, 1),
            0 0 120px rgba(0, 150, 255, 0.8),
            0 4px 30px rgba(0, 0, 0, 0.5),
            0 2px 10px rgba(0, 0, 0, 0.3);
    }
}

.hero p {
    font-size: clamp(1.05rem, 1.8vw, 1.15rem);
    margin-bottom: 2rem;
    color: rgba(254, 252, 251, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--color-blue);
    color: var(--color-light);
    box-shadow: 0 4px 12px rgba(3, 64, 120, 0.3);
}

.btn-primary:hover {
    background: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 17, 40, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-light);
    color: var(--color-light);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--color-light);
    color: var(--color-navy);
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    padding: clamp(4rem, 8vw, 8rem) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    animation: fadeIn 1s ease;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section-gray {
    background: var(--white);
}

/* Premium Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(174, 195, 176, 0.3);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: left 0.6s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.2));
}

.card h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-color);
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Solutions Grid - Ultra Premium */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.solution-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    background-clip: padding-box;
}

.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(45deg,
        #034078 0%,
        #1282A2 25%,
        #034078 50%,
        #1282A2 75%,
        #034078 100%
    );
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: borderRotate 4s linear infinite;
    animation-play-state: paused;
}

.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.solution-card:hover::before {
    opacity: 1;
    animation-play-state: running;
}

.solution-card:hover::after {
    opacity: 1;
}

.solution-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.solution-card-header {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #001F54 0%, #034078 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.solution-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.solution-card-logo {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

.solution-card-body {
    padding: var(--spacing-lg);
}

.solution-card h3 {
    font-size: 1.85rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, #034078 0%, #1282A2 50%, #034078 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    animation: gradientShift 4s ease infinite;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.solution-card h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #1282A2, #034078);
    transition: width 0.4s ease;
}

.solution-card:hover h3 {
    transform: translateY(-2px);
    animation: gradientShift 2s ease infinite, pulseGlow 2s ease infinite;
}

.solution-card:hover h3::after {
    width: 100%;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(18, 130, 162, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(18, 130, 162, 0.6));
    }
}

.solution-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
    line-height: 1.7;
}

.solution-features {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.solution-features li {
    padding: 0.75rem 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

.solution-features li:hover {
    padding-left: 36px;
    color: var(--primary-color);
}

/* Testimonials - Premium */
.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 40px;
    font-size: 200px;
    color: rgba(37, 99, 235, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    line-height: 2;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.testimonial-info h4 {
    margin-bottom: 4px;
    color: var(--dark-color);
    font-size: 1.15rem;
}

.testimonial-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* CTA Section - Maximum Impact */
.cta-section {
    background: var(--cta-color);
    color: var(--bg-primary);
    padding: clamp(4rem, 8vw, 6rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-section h2 {
    color: var(--bg-primary);
    margin-bottom: var(--spacing-sm);
    -webkit-text-fill-color: var(--bg-primary);
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: var(--bg-primary);
    opacity: 0.95;
}

/* Footer - Modern */
.footer {
    background: linear-gradient(180deg, var(--dark-color) 0%, var(--dark-800) 100%);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    max-width: 220px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.65rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-contact-list li {
    margin-bottom: 0.65rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact-list li.social-links-item {
    align-items: center;
}

.footer-contact-list li strong {
    color: white;
    font-size: 0.85rem;
    white-space: nowrap;
}

.footer-section a:hover {
    color: white;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: #94a3b8;
}

/* WhatsApp Button - Premium with Eye-Catching Animation */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, #25d366 0%, #20bd5a 100%);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    animation: whatsappPulse 2s ease-in-out infinite;
}

/* Multi-layer pulse animation for WhatsApp float button */
.whatsapp-float::before,
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.whatsapp-float::before {
    width: 100%;
    height: 100%;
    background: rgba(37, 211, 102, 0.4);
    animation: whatsappRipple 2s ease-out infinite;
}

.whatsapp-float::after {
    width: 100%;
    height: 100%;
    background: rgba(37, 211, 102, 0.3);
    animation: whatsappRipple 2s ease-out 1s infinite;
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7);
    }
}

@keyframes whatsappRipple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.8);
    animation: whatsappShake 0.5s ease-in-out;
}

@keyframes whatsappShake {
    0%, 100% { transform: scale(1.15) rotate(0deg); }
    25% { transform: scale(1.15) rotate(-10deg); }
    75% { transform: scale(1.15) rotate(10deg); }
}

/* Contact Form - Compact */
.contact-form {
    max-width: 550px;
    margin: 0 auto;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 0.875rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.875rem;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Contact Page Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Messages/Alerts */
.messages-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 9999;
    max-width: 400px;
}

.alert {
    padding: 1.25rem 1.75rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    animation: slideInRight 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.alert-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-left: 4px solid #047857;
}

.alert-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-left: 4px solid #b91c1c;
}

.alert-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-left: 4px solid #b45309;
}

.alert-info {
    background: var(--main-gradient);
    color: white;
    border-left: 4px solid var(--primary-dark);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease both;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .navbar-menu {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0.5rem;
        left: auto;
        min-width: 220px;
        background: linear-gradient(135deg, rgba(0, 31, 84, 0.95) 0%, rgba(3, 64, 120, 0.95) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 0.75rem 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        border-radius: 16px;
        border: 1px solid rgba(168, 230, 240, 0.2);
        gap: 0;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu a,
    .navbar-menu a:visited,
    .navbar-menu a:link,
    .navbar-menu a:active,
    .navbar-menu li a,
    .navbar-menu li a:visited {
        padding: 0.875rem 1.25rem;
        text-align: right;
        width: 100%;
        color: white !important;
        display: block;
    }

    /* Show mobile-only items on mobile */
    .navbar-menu > li.mobile-only {
        display: block;
    }

    /* Hide WhatsApp button from navbar-actions on mobile */
    .navbar-actions {
        display: none !important;
    }

    /* Show WhatsApp button in hamburger menu on mobile */
    .navbar-menu .btn-whatsapp {
        display: inline-flex !important;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        margin-top: 0.25rem;
        padding: 0.875rem 1.25rem;
        color: white !important;
        border: none;
        gap: 0.5rem;
        text-align: right;
    }

    .navbar-menu .btn-whatsapp:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .navbar-toggle {
        display: flex;
    }

    .hero {
        padding: var(--spacing-xl) 0;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .cards-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .whatsapp-float {
        bottom: 25px;
        right: 25px;
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .solution-card-logo {
        width: 300px;
        height: auto;
        max-height: 120px;
    }

    .testimonial-text {
        font-size: 1.15rem;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

/* Testimonials Slider - Horizontal */
.testimonials-section {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.testimonials-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    gap: var(--spacing-lg);
}

.testimonial {
    min-width: 100%;
    flex-shrink: 0;
    background: white;
    padding: var(--spacing-xl);
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    text-align: center;
    position: relative;
}

@media (min-width: 768px) {
    .testimonial {
        min-width: calc(50% - var(--spacing-md));
    }
}

@media (min-width: 1024px) {
    .testimonial {
        min-width: calc(33.333% - var(--spacing-md));
    }
}

.slider-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;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 10px;
}

.slider-btn-next {
    right: 10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--spacing-lg);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Clients Gallery - Logo Grid */
.clients-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #f8fafc 0%, white 100%);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.client-logo-wrapper {
    background: white;
    padding: var(--spacing-md);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.client-logo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: left 0.6s;
}

.client-logo-wrapper:hover::before {
    left: 100%;
}

.client-logo-wrapper:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.client-logo {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
}

.client-logo-wrapper:hover .client-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Infinite Scroll Animation for Clients */
.clients-infinite-scroll {
    overflow: hidden;
    position: relative;
    padding: var(--spacing-lg) 0;
}

.clients-scroll-track {
    display: flex;
    gap: var(--spacing-lg);
    animation: infiniteScroll 30s linear infinite;
}

.clients-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-item {
    flex-shrink: 0;
    width: 200px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .testimonials-slider-container {
        padding: 0 40px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: var(--spacing-md);
    }

    .client-logo {
        max-height: 60px;
    }
}

/* ===================================
   SLIDER HORIZONTAL DE TESTIMONIOS - ALTO IMPACTO
   =================================== */

.testimonials-section-new {
    padding: clamp(5rem, 10vw, 10rem) 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-section-new .section-title h2 {
    color: var(--color-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.testimonials-section-new .section-title p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

.testimonials-horizontal-slider {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
    margin: 3rem 0 2rem;
}

.testimonials-scroll-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.testimonials-scroll-container::-webkit-scrollbar {
    display: none;
}

.testimonials-scroll-track {
    display: flex;
    gap: 2rem;
    width: 100%;
    align-items: stretch;
}

.testimonial-card-horizontal {
    flex: 0 0 calc(33.333% - 1.5rem);
    min-width: 320px;
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.testimonial-card-horizontal::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(
        transparent 0deg,
        transparent 270deg,
        #001F54 270deg,
        #034078 290deg,
        #1282A2 310deg,
        #5BB5CF 330deg,
        #A8E6F0 345deg,
        rgba(255, 255, 255, 0.9) 355deg,
        transparent 360deg
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: spinBorderTestimonial 1.5s linear infinite;
    animation-play-state: paused;
    filter: blur(0.5px);
}

.testimonial-card-horizontal::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: white;
    border-radius: 13px;
    z-index: 0;
}

.testimonial-card-horizontal > * {
    position: relative;
    z-index: 1;
}

@keyframes spinBorderTestimonial {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.testimonial-card-horizontal:hover::before {
    opacity: 1;
    animation-play-state: running;
}

.testimonial-quote-icon {
    color: rgba(3, 64, 120, 0.15);
    margin-bottom: 1rem;
    display: none;
}

.testimonial-text-horizontal {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-dark);
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-align: left;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author-horizontal {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-light);
    border-radius: 8px;
    margin-top: auto;
}

.testimonial-avatar-horizontal {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.testimonial-avatar-placeholder {
    background: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-position {
    font-size: 0.875rem;
    color: var(--color-blue);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.testimonial-company {
    font-size: 0.875rem;
    color: var(--color-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.testimonial-solutions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.testimonial-solution {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(3, 64, 120, 0.08) 0%, rgba(3, 64, 120, 0.12) 100%);
    border: 1.5px solid rgba(3, 64, 120, 0.25);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--color-blue);
    font-weight: 600;
    transition: all 0.3s ease;
}

.testimonial-solution:hover {
    background: linear-gradient(135deg, rgba(3, 64, 120, 0.12) 0%, rgba(3, 64, 120, 0.18) 100%);
    border-color: var(--color-blue);
    transform: translateY(-1px);
}

.testimonial-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--color-dark);
}

.testimonial-nav-btn:hover {
    background: var(--color-blue);
    color: white;
    border-color: var(--color-blue);
    box-shadow: 0 4px 12px rgba(18, 130, 162, 0.3);
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

.testimonial-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.testimonial-nav-btn:disabled:hover {
    background: white;
    color: var(--color-dark);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: none;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.testimonial-dot.active {
    background: var(--main-gradient);
    border-color: white;
    transform: scale(1.4);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
    border-color: white;
}

/* Responsive para testimonios horizontales */
@media (max-width: 1200px) {
    .testimonial-card-horizontal {
        flex: 0 0 calc(33.333% - 1.5rem);
    }
}

@media (max-width: 768px) {
    .testimonial-card-horizontal {
        flex: 0 0 calc(50% - 1rem);
        min-width: 280px;
    }

    .testimonials-horizontal-slider {
        padding: 0 40px;
    }
}

@media (max-width: 480px) {
    .testimonial-card-horizontal {
        flex: 0 0 calc(100% - 1rem);
        min-width: 260px;
        padding: 1.5rem 1rem;
    }

    .testimonial-nav-btn {
        width: 36px;
        height: 36px;
    }

    .testimonial-prev {
        left: 0.5rem;
    }

    .testimonial-next {
        right: 0.5rem;
    }

    .testimonials-scroll-container {
        padding: 0;
    }

    .testimonial-author-horizontal {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
