:root {
    --brand: #0040FF;
    --brand-dark: #0030CC;
    --brand-light: #E6EEFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #0f172a;
}

.brand-gradient {
    background: linear-gradient(135deg, #0040FF 0%, #0066FF 50%, #00A3FF 100%);
}

.btn-brand {
    background-color: var(--brand);
    color: #fff;
    transition: background-color .2s ease, transform .1s ease;
}

.btn-brand:hover {
    background-color: var(--brand-dark);
}

.btn-brand:active {
    transform: translateY(1px);
}

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 32, 128, .85) 0%, rgba(0, 64, 255, .65) 60%, rgba(0, 163, 255, .55) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.card-hover {
    transition: transform .25s ease, box-shadow .25s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 32, 128, .18);
}

.nav-link {
    color: #1e293b;
    position: relative;
    padding: .4rem 0;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--brand);
}

/* Mobile menu */
#mobile-menu {
    display: none;
}

#mobile-menu.open {
    display: block;
}

/* Clientes grayscale */
.cliente-logo {
    filter: grayscale(100%);
    opacity: .65;
    transition: filter .25s ease, opacity .25s ease;
}

.cliente-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Slider dots */
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Section anchor offset so links don't hide under sticky header */
.anchor {
    scroll-margin-top: 170px;
}

@media (max-width: 768px) {
    .hero {
        min-height: 420px;
    }
}
