.hero-bg {
    background: var(--brand-blue);
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    background: 
        radial-gradient(circle at 50% 50%, rgba(230, 179, 37, 0.15) 0%, rgba(230, 179, 37, 0.08) 40%, transparent 70%),
        radial-gradient(circle at 50% 50%, transparent 35%, rgba(255, 255, 255, 0.03) 36%, transparent 37%),
        radial-gradient(circle at 50% 50%, transparent 50%, rgba(255, 255, 255, 0.02) 51%, transparent 52%);
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cdefs%3E%3Cpattern id='grid' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='rgba(230,179,37,0.1)' stroke-width='0.5'/%3E%3C/pattern%3E%3C/defs%3E%3Ccircle cx='200' cy='200' r='180' fill='none' stroke='rgba(230,179,37,0.15)' stroke-width='1'/%3E%3Ccircle cx='200' cy='200' r='140' fill='none' stroke='rgba(230,179,37,0.1)' stroke-width='0.5'/%3E%3Ccircle cx='200' cy='200' r='100' fill='none' stroke='rgba(230,179,37,0.08)' stroke-width='0.5'/%3E%3Cellipse cx='200' cy='200' rx='180' ry='60' fill='none' stroke='rgba(230,179,37,0.12)' stroke-width='1' transform='rotate(-20 200 200)'/%3E%3Cellipse cx='200' cy='200' rx='180' ry='60' fill='none' stroke='rgba(230,179,37,0.1)' stroke-width='1' transform='rotate(40 200 200)'/%3E%3Cellipse cx='200' cy='200' rx='180' ry='60' fill='none' stroke='rgba(230,179,37,0.08)' stroke-width='1' transform='rotate(-80 200 200)'/%3E%3Ccircle cx='200' cy='200' r='180' fill='url(%23grid)' opacity='0.5'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0.9;
}

.solution-bg {
    background: 
        linear-gradient(rgba(15, 52, 96, 0.92), rgba(10, 37, 64, 0.95)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600'%3E%3Cdefs%3E%3ClinearGradient id='sky' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%230F3460'/%3E%3Cstop offset='100%25' stop-color='%230A2540'/%3E%3C/linearGradient%3E%3ClinearGradient id='water' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%231A4A7A'/%3E%3Cstop offset='100%25' stop-color='%230F3460'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23sky)' width='1200' height='350'/%3E%3Crect y='350' fill='url(%23water)' width='1200' height='250'/%3E%3Cpath d='M0 380 Q150 360 300 375 Q450 390 600 370 Q750 350 900 380 Q1050 410 1200 365 L1200 600 L0 600 Z' fill='%231A4A7A'/%3E%3Cpath d='M0 420 Q200 400 400 430 Q600 460 800 420 Q1000 380 1200 410 L1200 600 L0 600 Z' fill='%23255a8a' opacity='0.5'/%3E%3Crect x='80' y='280' width='60' height='120' fill='%231A4A7A' rx='2'/%3E%3Crect x='90' y='260' width='40' height='20' fill='%23255a8a' rx='1'/%3E%3Crect x='160' y='250' width='50' height='150' fill='%231A4A7A' rx='2'/%3E%3Crect x='170' y='230' width='30' height='20' fill='%23255a8a' rx='1'/%3E%3Crect x='230' y='270' width='70' height='130' fill='%231A4A7A' rx='2'/%3E%3Crect x='850' y='260' width='80' height='140' fill='%231A4A7A' rx='2'/%3E%3Crect x='860' y='240' width='60' height='20' fill='%23255a8a' rx='1'/%3E%3Crect x='950' y='230' width='60' height='170' fill='%231A4A7A' rx='2'/%3E%3Crect x='1020' y='250' width='50' height='150' fill='%231A4A7A' rx='2'/%3E%3Crect x='1090' y='280' width='40' height='120' fill='%231A4A7A' rx='2'/%3E%3Ccircle cx='150' cy='100' r='40' fill='%23E6B325' opacity='0.2'/%3E%3Ccircle cx='150' cy='100' r='30' fill='%23E6B325' opacity='0.15'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.cta-bg {
    background: var(--brand-blue);
}

.tab-btn {
    transition: var(--transition-base);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-base);
    font-weight: 500;
}

.tab-btn.active {
    background: var(--brand-blue);
    color: white;
}

.tab-btn.active .tab-icon {
    background: var(--brand-amber);
}

.tab-btn.active .tab-icon svg {
    stroke: var(--brand-blue);
}

.tab-btn:not(.active) {
    color: var(--brand-charcoal);
    background: transparent;
}

.tab-btn:not(.active):hover {
    background: var(--brand-gray-blue);
}

.tab-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.tab-btn:not(.active) .tab-icon {
    background: var(--brand-gray-blue);
}

.tab-btn:not(.active) .tab-icon svg {
    stroke: var(--brand-charcoal-muted);
}

.partner-section {
    background: linear-gradient(135deg, var(--brand-gray-blue) 0%, #FDF5E6 50%, #FFF8F0 100%);
    position: relative;
    overflow: hidden;
}

.partner-track {
    display: flex;
    gap: 24px;
}

.partner-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px 28px;
    min-width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-logo {
    max-width: 168px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-row {
    overflow: hidden;
    margin-bottom: 20px;
}

.partner-row:last-child {
    margin-bottom: 0;
}

.hero-banner {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 60px);
    height: auto;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: calc(100vh - 60px);
    }
}

.hero-banner-slide {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 60px);
    padding-top: 60px;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.35) 0%, rgba(10, 37, 64, 0.4) 50%, rgba(26, 74, 122, 0.35) 100%),
                url('/ruida/img/home-ban.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-content {
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.3);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.carousel-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .carousel-title {
        font-size: 28px;
    }
}

.carousel-subtitle {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .carousel-subtitle {
        font-size: 18px;
    }
}

.carousel-desc {
    font-size: var(--font-size-lg);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .carousel-desc {
        font-size: var(--font-size-sm);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partner-track {
        animation: none;
    }
    .carousel-content {
        text-shadow: none;
    }
    .carousel-slides {
        transition: none;
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: calc(100vh - 60px);
    padding-top: 60px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.35) 0%, rgba(10, 37, 64, 0.4) 50%, rgba(26, 74, 122, 0.35) 100%);
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.carousel-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.carousel-slide > div {
    position: relative;
    z-index: 10;
}

.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background: var(--brand-amber);
    width: 36px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .carousel-dots {
        bottom: 30px;
        gap: 8px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    .carousel-dot.active {
        width: 28px;
    }
}
