* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; }

.slider-container { position: relative; height: 520px; overflow: hidden; }
@media (max-width: 768px) { .slider-container { height: 600px; } }

.slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.slide.active {
    opacity: 1;
    pointer-events: auto;
}
.slide-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
}
.slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,71,134,0.55) 0%, rgba(0,51,96,0.45) 50%, rgba(0,0,0,0.25) 100%);
}
.slide-content {
    position: relative; z-index: 2;
    height: 100%;
    display: flex; align-items: center;
}
.slide-image {
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}
@media (max-width: 768px) {
    .slide-image { max-height: 200px; }
}

.slider-dots {
    position: absolute; bottom: 24px; left: 50%;
    transform: translateX(-50%); z-index: 10;
    display: flex; gap: 10px;
}
.slider-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.slider-dot.active {
    background: #fff;
    border-color: #CC0000;
    transform: scale(1.2);
}
.slider-dot:hover { background: rgba(255,255,255,0.8); }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #004786, #CC0000);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,71,134,0.15);
}
.service-card .icon-wrap {
    transition: all 0.4s ease;
}
.service-card:hover .icon-wrap {
    background: linear-gradient(135deg, #004786, #0066BD);
    color: white;
    transform: scale(1.1);
}

.feature-item {
    transition: all 0.3s ease;
}
.feature-item:hover {
    background: #F8FAFC;
    border-radius: 16px;
    padding-left: 24px !important;
}
.feature-item:hover .feature-icon {
    background: #004786;
    color: white;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: #CC0000;
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.article-divider {
    height: 1px;
    background: linear-gradient(90deg, #E2E8F0, #CBD5E1, #E2E8F0);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #94A3B8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #64748B; }

.info-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #004786;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.info-link::after {
    content: '→';
    transition: transform 0.2s ease;
}
.info-link:hover {
    color: #CC0000;
}
.info-link:hover::after {
    transform: translateX(4px);
}

.toast {
    position: fixed; bottom: 24px; right: 24px;
    background: #004786; color: white;
    padding: 16px 24px; border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateY(0); }

.social-btn { transition: all 0.25s ease; }
.social-btn:hover { transform: translateY(-2px); }

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 900;
    background: #25D366;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
    transition: all 0.25s ease;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(37,211,102,0.5);
}