:root {
    --blue1: #1f56f0;
    --blue2: #183db7;
    --dark: #0b1220;
}

/* BASE */
body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a {
    text-decoration: none;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
}

/* TITULOS */
.section-title {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-underline {
    width: 70px;
    height: 4px;
    margin: 14px auto 0;
    background: var(--blue1);
    border-radius: 99px;
}

/* HERO */
header.hero-section {
    position: relative;
    min-height: 520px;
    padding-top: 40px;
    padding-bottom: 40px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--blue1), var(--blue2));
}

header.hero-section .hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.22)),
        url("../img/hero-bg.jpg") center/cover no-repeat;
    opacity: .20;
}

header.hero-section .hero-content {
    position: relative;
    padding: 90px 0 40px;
}

.hero-title {
    color: #fff;
    font-weight: 900;
    font-size: clamp(2.2rem, 4.1vw, 4.1rem);
    line-height: 1.05;
    letter-spacing: -1px;
}

.hero-sub {
    color: rgba(173, 210, 255, .95);
    font-weight: 800;
}

.hero-strong {
    color: #fff;
    font-weight: 900;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
}

.btn-cta {
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 28px;
}

/* QUIENES SOMOS */
.card-soft {
    background: #f4f8ff;
    border: 1px solid #e5efff;
    border-radius: 18px;
}

.icon-badge {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--blue1);
    color: #fff;
    font-size: 20px;
}

.icon-badge-light {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.icon-badge-dark {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
}

.lead-sm {
    font-size: 1.02rem;
    line-height: 1.8;
}

/* VISION / MISION */
.card.card-vision {
    border-radius: 22px;
    background: linear-gradient(180deg, #1f56f0, #1439a3);
    border: 0;
}

.card.card-mision {
    border-radius: 22px;
    background: linear-gradient(180deg, #1b2636, #0b1220);
    border: 0;
}

.card.card-vision *,
.card.card-mision * {
    color: rgba(255, 255, 255, 0.90);
}

.card.card-vision p,
.card.card-mision p {
    color: rgba(255, 255, 255, 0.65);
}

/* SERVICIOS */
.service-card {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
}

.service-hw .card-body {
    background: linear-gradient(180deg, #1f56f0, #0f41c6);
}

.service-sw .card-body {
    background: linear-gradient(180deg, #8b34ff, #6f1bff);
}

.service-sec .card-body {
    background: linear-gradient(180deg, #00b14f, #00953f);
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: #1c2a3a;
}

.checklist li:before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--blue1);
}

/* CLIENTES - SLIDER */
.logo-slider {
    background: #fff;
    border-radius: 18px;
    padding: 18px 0;
    border: 1px solid #e9eef6;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.logo-track {
    display: flex;
    gap: 48px;
    align-items: center;
    width: max-content;
    animation: scrollLogos 20s linear infinite;
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

.logo-item {
    width: 180px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: .85;
    transition: .2s ease;
}

.logo-item img {
    max-width: 160px;
    max-height: 56px;
    object-fit: contain;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
}

@keyframes scrollLogos {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* CTA FINAL */
.cta-final {
    position: relative;
    background: linear-gradient(180deg, var(--blue1), var(--blue2));
}

.cta-overlay {
    position: absolute;
    inset: 0;
    opacity: .08;
    background: radial-gradient(700px 400px at 30% 30%, #fff, transparent 60%);
}

.mini-ico {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

/* FOOTER (oscuro y alineado) */
.footer-dark {
    background: var(--dark);
}

.footer-dark .brand-logo {
    width: 34px;
    height: 34px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-links li {
    padding: 6px 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
    color: #fff;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.footer-hr {
    border-color: rgba(255, 255, 255, 0.12);
}

/* WHATSAPP FLOAT */
.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    background: #25D366;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    font-weight: 800;
}

.wa-float i {
    font-size: 22px;
    line-height: 1;
}

.wa-float:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.wa-text {
    font-size: 14px;
}