:root {
    --primary-navy: #0B1628;
    --secondary-navy: #111D35;
    --deep-blue: #162544;
    --accent-blue: #2A6FDB;
    --accent-blue-hover: #3B82F6;
    --accent-cyan: #38BDF8;
    --accent-light: #7DD3FC;
    --text-light: #E8EFF8;
    --text-muted: #8DA0BC;
    --bg-light: #F0F4F8;
    --bg-dark: #070E1A;
    --glass-border: rgba(42, 111, 219, 0.15);
    --glass-bg: rgba(11, 22, 40, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--primary-navy);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Topbar --- */
.topbar {
    background-color: #042C53;
    padding: 10px 48px;
    display: flex;
    justify-content: flex-end;
    gap: 32px;
    /* Espacio entre los links y el idioma */
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: #7aafd4;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
}

.topbar-left {
    gap: 16px;
}

.topbar-link {
    color: #7aafd4;
    transition: color 0.2s ease;
}

.topbar-link:hover {
    color: #ffffff;
}

.topbar-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.topbar-lang:hover {
    color: #ffffff;
}

/* --- Nav Language Switcher --- */
.nav-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4B5E77;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.nav-lang:hover {
    color: #185FA5;
    background: rgba(24, 95, 165, 0.05);
    border-color: rgba(24, 95, 165, 0.1);
}

.nav-lang svg {
    stroke: currentColor;
    width: 14px;
    height: 14px;
}

/* --- Navbar Principal --- */
.header-navbar {
    background-color: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #E2E8F0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 0 40px 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.header-navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo .logo-img {
    height: 3.9rem;
    width: auto;
    object-fit: contain;
}

.nav-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo .logo-text-main {
    color: #002868;
    font-size: 1.1rem;
    font-weight: 800;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.nav-logo .logo-text-sub {
    color: #185FA5;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu-main {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-left: auto;
    margin-right: 24px;
}

.nav-item {
    color: #4B5E77;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #185FA5;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-item:hover,
.nav-item.active {
    color: #042C53;
}

/* --- Mega Menu (Apple Style) --- */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
    padding: 20px 0;
    /* Expanded hit area */
}

.nav-item-dropdown>.nav-item::after {
    display: none;
    /* remove default underline for dropdown parent */
}

/* The actual dropdown container */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: max-content;
    padding: 32px 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-menu-content {
    display: flex;
    gap: 48px;
}

.mega-menu-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-menu-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: #8da0bc;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 8px;
}

.mega-menu-col a {
    color: #042C53;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mega-menu-col a:hover {
    color: var(--accent-blue);
    transform: translateX(4px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-btn-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #5a6a7a;
    transition: color 0.2s ease;
}

.lang-btn-modern:hover {
    color: #042C53;
}

.btn-primary-nav {
    background: #185FA5;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 95, 165, 0.3);
}

.btn-primary-nav:hover {
    background: #042C53;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 44, 83, 0.4);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 110px 0 90px;
    background-color: var(--primary-navy);
    /* Fallback */
}

/* --- Hero Carousel --- */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s linear;
    transform: scale(1.05);
    /* Slight zoom for dramatic effect */
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(11, 22, 40, 0.85) 0%, rgba(17, 29, 53, 0.75) 40%, rgba(22, 37, 68, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(42, 111, 219, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.glow-orb {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, rgba(42, 111, 219, 0.03) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.hero-single-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(42, 111, 219, 0.12);
    border: 1px solid rgba(42, 111, 219, 0.25);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--accent-cyan);
    margin-bottom: 28px;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 5.8rem;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -2.5px;
}

.hero-title .title-light {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-divider {
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    margin-bottom: 32px;
    border-radius: 4px;
}

.hero-subtitle {
    color: #cbd5e1;
    font-size: 1.35rem;
    margin-bottom: 0;
    max-width: 80%;
    line-height: 1.75;
    font-weight: 300;
    letter-spacing: 0.1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    border-radius: 999px;
    /* Pill shape (Estilo Apple premium) */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    border: none;
    text-transform: none;
    /* Look más sobrio y elegante */
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.hero-buttons .btn-primary {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(42, 111, 219, 0.4);
}

.hero-buttons .btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(42, 111, 219, 0.6);
    background: var(--accent-blue-hover);
}

.hero-buttons .btn-secondary {
    background-color: #ffffff;
    color: #042C53;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #f8fafc;
    transform: scale(1.02);
    color: var(--accent-blue);
}

/* Hero Right Side - Lion Logo */
.hero-logo-side {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-logo-container {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: pulse-ring 4s ease-in-out infinite;
}

.hero-logo-ring:nth-child(1) {
    width: 420px;
    height: 420px;
    border-color: rgba(42, 111, 219, 0.08);
    animation-delay: 0s;
}

.hero-logo-ring:nth-child(2) {
    width: 350px;
    height: 350px;
    border-color: rgba(42, 111, 219, 0.12);
    animation-delay: 0.5s;
}

.hero-logo-ring:nth-child(3) {
    width: 280px;
    height: 280px;
    border-color: rgba(56, 189, 248, 0.15);
    border-style: dashed;
    animation-delay: 1s;
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.03);
        opacity: 0.6;
    }
}

.hero-logo-container img {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(42, 111, 219, 0.25));
    position: relative;
    z-index: 2;
    animation: float-logo 6s ease-in-out infinite;
}

/* Central tech icon */
.hero-central-icon {
    position: relative;
    z-index: 2;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float-logo 6s ease-in-out infinite;
    box-shadow: 0 10px 50px rgba(42, 111, 219, 0.4), 0 0 80px rgba(56, 189, 248, 0.15);
}

.hero-central-icon i {
    width: 56px;
    height: 56px;
    color: #fff;
}

/* Orbiting tech icons */
.hero-orbit-icon {
    position: absolute;
    z-index: 3;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-orbit-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(42, 111, 219, 0.4);
    border-color: var(--accent-blue);
}

.hero-orbit-icon i {
    width: 26px;
    height: 26px;
    color: var(--accent-blue);
}

.hero-orbit-icon:nth-child(5) {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit-float 5s ease-in-out infinite;
}

.hero-orbit-icon:nth-child(6) {
    top: 30%;
    right: 5%;
    animation: orbit-float 5s ease-in-out infinite 0.8s;
}

.hero-orbit-icon:nth-child(7) {
    bottom: 30%;
    right: 10%;
    animation: orbit-float 5s ease-in-out infinite 1.6s;
}

.hero-orbit-icon:nth-child(8) {
    bottom: 30%;
    left: 10%;
    animation: orbit-float 5s ease-in-out infinite 2.4s;
}

.hero-orbit-icon:nth-child(9) {
    top: 30%;
    left: 5%;
    animation: orbit-float 5s ease-in-out infinite 3.2s;
}

/* Connection lines */
.hero-connection {
    position: absolute;
    z-index: 1;
    border: 1px dashed rgba(42, 111, 219, 0.15);
    border-radius: 50%;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin-slow 30s linear infinite;
}

@keyframes orbit-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes spin-slow {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float-logo {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Floating dots around logo */
.hero-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    opacity: 0.5;
    animation: blink 3s ease-in-out infinite;
}

.hero-dot:nth-child(5) {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.hero-dot:nth-child(6) {
    top: 25%;
    right: 10%;
    animation-delay: 1s;
}

.hero-dot:nth-child(7) {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.hero-dot:nth-child(8) {
    bottom: 30%;
    right: 15%;
    animation-delay: 0.5s;
    background: var(--accent-blue);
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.5);
    }
}

/* =========================================
   SECTION WRAPPER
========================================= */
.section {
    padding: 80px 48px;
    background: #ffffff;
}

/* =========================================
   SECTION HEADER
========================================= */
.section-top {
    text-align: center;
    margin-bottom: 56px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #185FA5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.eyebrow-line {
    width: 28px;
    height: 1.5px;
    background: #185FA5;
    border-radius: 2px;
}

.section-title {
    font-size: 34px;
    font-weight: 700;
    color: #042C53;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-sub {
    font-size: 15px;
    color: #6b7e94;
    line-height: 1.65;
    max-width: 480px;
    margin: 0 auto;
}

/* =========================================
   CARDS GRID
========================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* =========================================
   CARD
========================================= */
.card {
    background: #ffffff;
    border: 1px solid #e2e9f0;
    border-radius: 16px;
    padding: 32px 24px 28px;
    display: flex;
    flex-direction: column;
    cursor: default;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    border-color: #185FA5;
    box-shadow: 0 0 0 4px #E6F1FB;
}

/* Card top row: icon + badge */
.card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
}

/* Icon box */
.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #EBF3FC;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Badges */
.badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
}

.badge-blue {
    color: #0C447C;
    background: #E6F1FB;
}

.badge-green {
    color: #27500A;
    background: #EAF3DE;
}

.badge-purple {
    color: #3C3489;
    background: #EEEDFE;
}

.badge-teal {
    color: #085041;
    background: #E1F5EE;
}

/* Card content */
.card-name {
    font-size: 18px;
    font-weight: 700;
    color: #042C53;
    letter-spacing: -0.02em;
    margin-bottom: 5px;
}

.card-cat {
    font-size: 11px;
    font-weight: 600;
    color: #185FA5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.divider {
    height: 1px;
    background: #f0f4f8;
    margin-bottom: 16px;
}

.card-desc {
    font-size: 13px;
    color: #6b7e94;
    line-height: 1.65;
    flex: 1;
}

/* Card footer */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #185FA5;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.card-link svg {
    transition: transform 0.15s ease;
}

.card:hover .card-link svg {
    transform: translateX(3px);
}

.card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3acd8a;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .section {
        padding: 48px 20px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 26px;
    }
}

/* --- Partners Marquee --- */
.partners-section {
    padding: 50px 0;
    background: #fff;
    border-bottom: 1px solid #E2E8F0;
}

.partners-label {
    text-align: center;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 600;
}

.marquee-wrapper {
    overflow: hidden;
    position: relative;
    display: flex;
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: marqueeScroll 25s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #94A3B8;
    margin: 0 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.marquee-item.accent {
    color: var(--accent-blue);
}

.marquee-item.dark {
    color: var(--primary-navy);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- AI Platform Section (Redesigned) --- */
/* =========================================
   SERVICIOS PRINCIPALES SECTION
========================================= */
.svcs-section {
    padding: 100px 0;
    background: #F8FAFC;
    position: relative;
}
.svcs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2A6FDB, #38BDF8, #2A6FDB);
    background-size: 200% auto;
    animation: shine-border 4s linear infinite;
}
@keyframes shine-border {
    from { background-position: 0% center; }
    to { background-position: 200% center; }
}

/* Header */
.svcs-header {
    text-align: center;
    margin-bottom: 56px;
}
.svcs-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2A6FDB;
    background: rgba(42, 111, 219, 0.07);
    border: 1px solid rgba(42, 111, 219, 0.15);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
}
.svcs-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    color: #042C53;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
    line-height: 1.2;
}
.svcs-subtitle {
    font-size: 1.02rem;
    color: #5A7A9A;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grid */
.svcs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

/* Card */
.svcs-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #E8EEF5;
    border-radius: 16px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.svcs-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2A6FDB, #38BDF8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 0 0 2px 2px;
}
.svcs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(42, 111, 219, 0.1);
    border-color: rgba(42, 111, 219, 0.18);
}
.svcs-card:hover::after {
    transform: scaleX(1);
}

/* Icon */
.svcs-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(42, 111, 219, 0.07);
    border: 1px solid rgba(42, 111, 219, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}
.svcs-card-icon i {
    width: 22px;
    height: 22px;
    color: #2A6FDB;
    transition: color 0.3s ease;
}
.svcs-card:hover .svcs-card-icon {
    background: linear-gradient(135deg, #2A6FDB, #38BDF8);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(42, 111, 219, 0.3);
}
.svcs-card:hover .svcs-card-icon i {
    color: #ffffff;
}

/* Body */
.svcs-card-body {
    flex: 1;
    min-width: 0;
}
.svcs-card-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: #042C53;
    margin-bottom: 7px;
    letter-spacing: -0.2px;
    line-height: 1.3;
}
.svcs-card-body p {
    font-size: 0.83rem;
    color: #6B83A0;
    line-height: 1.6;
    margin-bottom: 12px;
}

.svcs-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2A6FDB;
    transition: gap 0.25s ease;
}
.svcs-card:hover .svcs-link {
    gap: 8px;
}

/* Footer CTA */
.svcs-footer {
    text-align: center;
}
.svcs-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: transparent;
    border: 1.5px solid rgba(42, 111, 219, 0.35);
    color: #2A6FDB;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.svcs-all-btn:hover {
    background: #2A6FDB;
    color: #fff;
    border-color: #2A6FDB;
    box-shadow: 0 6px 20px rgba(42, 111, 219, 0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 960px) {
    .svcs-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .svcs-grid {
        grid-template-columns: 1fr;
    }
    .svcs-title { font-size: 1.8rem; }
    .svcs-card { flex-direction: column; gap: 12px; }
}

/* =========================================
   PROCESS TIMELINE SECTION
========================================= */
.process-section {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(160deg, #07101f 0%, #0B1628 50%, #0d1a30 100%);
    overflow: hidden;
}

/* Decorative glowing orbs */
.process-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}
.process-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 111, 219, 0.12) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}
.process-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
    bottom: -80px;
    right: -80px;
}

/* Header */
.process-header {
    text-align: center;
    margin-bottom: 72px;
}
.process-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.18);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.process-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.15;
}
.process-subtitle {
    font-size: 1.05rem;
    color: #7A93B4;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Track wrapper */
.process-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 64px;
}

/* Connecting line behind all steps */
.process-line {
    position: absolute;
    top: 36px; /* align with node center */
    left: calc(12.5%);
    right: calc(12.5%);
    height: 2px;
    background: rgba(42, 111, 219, 0.15);
    z-index: 0;
    border-radius: 2px;
    overflow: hidden;
}
.process-line-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2A6FDB, #38BDF8);
    border-radius: 2px;
    transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}
.process-section.line-animated .process-line-fill {
    width: 100%;
}

/* Individual step */
.process-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
}

/* Node circle */
.process-step-node {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}
.process-node-ring {
    position: absolute;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 1px solid rgba(42, 111, 219, 0.3);
    animation: node-pulse 3s ease-in-out infinite;
}
.process-step:nth-child(2) .process-node-ring { animation-delay: 0.4s; }
.process-step:nth-child(3) .process-node-ring { animation-delay: 0.8s; }
.process-step:nth-child(4) .process-node-ring { animation-delay: 1.2s; }

@keyframes node-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.12); opacity: 1; }
}

.process-node-inner {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a3a6e, #1e4d8c);
    border: 1.5px solid rgba(42, 111, 219, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(42, 111, 219, 0.25), 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.35s ease;
    backdrop-filter: blur(10px);
}
.process-node-inner i {
    color: #7EC8F5;
    transition: color 0.3s ease;
}
.process-step:hover .process-node-inner {
    background: linear-gradient(135deg, #2A6FDB, #38BDF8);
    border-color: transparent;
    box-shadow: 0 0 30px rgba(42, 111, 219, 0.5), 0 8px 20px rgba(0,0,0,0.3);
}
.process-step:hover .process-node-inner i {
    color: #ffffff;
}

.process-node-num {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2A6FDB;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
    border: 2px solid #0B1628;
    z-index: 3;
}

/* Step card */
.process-step-card {
    text-align: center;
    padding: 28px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(42, 111, 219, 0.1);
    backdrop-filter: blur(12px);
    transition: all 0.35s ease;
    width: 100%;
}
.process-step-card:hover,
.process-step:hover .process-step-card {
    background: rgba(42, 111, 219, 0.07);
    border-color: rgba(42, 111, 219, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.process-step-card-last {
    border-color: rgba(56, 189, 248, 0.15);
}
.process-step-card-last:hover,
.process-step:hover .process-step-card-last {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.05);
}

/* Phase tag */
.process-step-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2A6FDB;
    background: rgba(42, 111, 219, 0.1);
    border: 1px solid rgba(42, 111, 219, 0.2);
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.process-step-tag-cyan {
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.2);
}

.process-step-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #E8EFF8;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
    line-height: 1.3;
}
.process-step-card p {
    font-size: 0.845rem;
    color: #5A7A9A;
    line-height: 1.65;
    margin-bottom: 16px;
}

/* Checklist */
.process-step-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    text-align: left;
}
.process-step-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #4A6A8A;
    font-weight: 500;
}
.process-step-list li i {
    color: #38BDF8;
    flex-shrink: 0;
}

/* CTA area */
.process-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.process-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2A6FDB, #38BDF8);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 40px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 28px rgba(42, 111, 219, 0.4);
    letter-spacing: 0.2px;
}
.process-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 36px rgba(42, 111, 219, 0.55);
}
.process-cta-note {
    font-size: 0.82rem;
    color: #3A5A7A;
    letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 960px) {
    .process-track {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }
    .process-line { display: none; }
}
@media (max-width: 600px) {
    .process-track {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .process-title { font-size: 2rem; }
    .process-step { padding: 0; }
}

/* Responsive: AI Platform + Why Section */
@media (max-width: 1024px) {
    .ai-platform-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-platform-hero {
        padding-right: 0;
        text-align: center;
    }

    .ai-platform-desc {
        max-width: 100%;
    }

    .ai-platform-cta {
        margin: 0 auto;
    }

    .why-card-featured {
        grid-column: span 3;
    }
}

@media (max-width: 900px) {
    .ai-platform-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card-featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .why-card-icon-lg {
        grid-row: auto;
        grid-column: auto;
        margin-bottom: 18px;
    }

    .why-card-featured h3,
    .why-card-featured p,
    .why-card-featured .why-card-badges {
        grid-column: 1;
    }

    .ai-platform-title {
        font-size: 2rem;
    }

    .ai-platform-indicators {
        flex-direction: column;
        gap: 16px;
    }

    .ai-indicator-divider {
        width: 100%;
        height: 1px;
    }
}

/* --- Milestone Stats Section (ca-section) --- */
.ca-section {
    background-color: #dde6f5;
    padding: 60px 20px;
    font-family: Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

.ca-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.ca-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    position: relative;
}

.ca-stat svg.rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ring-outer {
    transform-origin: 80px 80px;
    animation: spin-cw 10s linear infinite;
}

.ring-inner {
    transform-origin: 80px 80px;
    animation: spin-ccw 7s linear infinite;
}

@keyframes spin-cw {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-ccw {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.ca-stat .inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ca-stat .num {
    font-size: 3rem;
    font-weight: 900;
    color: #1a4fad;
    line-height: 1;
    letter-spacing: -1px;
}

.ca-stat .num .plus {
    font-size: 1.4rem;
    vertical-align: top;
    margin-top: 4px;
    display: inline-block;
    font-weight: 900;
}

.ca-label {
    margin-top: 14px;
    text-align: center;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #1a4fad;
    text-transform: uppercase;
    line-height: 1.4;
}

.dot-abs {
    position: absolute;
    border-radius: 50%;
    background: #1a4fad;
    z-index: 3;
}

.dot-big {
    width: 10px;
    height: 10px;
}

.dot-med {
    width: 7px;
    height: 7px;
    background: #5a82cc;
}

.dot-sm {
    width: 5px;
    height: 5px;
    background: #8aaade;
}

.network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, #E8EFF8 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.15;
}

.section-subtitle {
    color: #5A6B82;
    font-size: 1.08rem;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(11, 22, 40, 0.04);
    transition: all 0.4s ease;
    border: 1px solid #E2E8F0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(42, 111, 219, 0.1);
    border-color: rgba(42, 111, 219, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(42, 111, 219, 0.08), rgba(56, 189, 248, 0.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #fff;
    transform: scale(1.05);
}

.feature-card h3 {
    color: var(--primary-navy);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-card p {
    color: #5A6B82;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Corporate Enterprise CTA Section --- */
.corporate-cta-section {
    padding: 100px 20px;
    background-color: #f8fafc;
    position: relative;
    z-index: 10;
}

.corporate-cta-inner {
    background: #0f172a;
    border-radius: 16px;
    padding: 70px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
}

/* Subtle tech grid over the dark card */
.corporate-cta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(circle at top right, rgba(37, 99, 235, 0.15), transparent 60%);
    pointer-events: none;
}

.cta-header {
    flex: 1;
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.cta-header h2 {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.cta-header p {
    color: #94a3b8;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0;
}

.cta-actions {
    position: relative;
    z-index: 2;
    margin-left: 40px;
}

.btn-corporate-primary {
    display: inline-flex;
    align-items: center;
    background-color: #2563eb;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-corporate-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

@media (max-width: 992px) {
    .corporate-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
    }

    .cta-actions {
        margin-left: 0;
        margin-top: 40px;
    }

    .cta-header h2 {
        font-size: 2.2rem;
    }
}

.mobile-break {
    display: none;
}

/* --- WhatsApp FAB --- */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    background: #128C7E;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 900px) {

    .hero-two-col,
    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .mobile-break {
        display: block;
    }

    .nav-menu-main {
        display: none;
    }

    .topbar {
        display: none;
    }

    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-divider {
        margin: 0 auto 22px;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-logo-container {
        width: 300px;
        height: 300px;
    }

    .hero-logo-container img {
        width: 160px;
    }

    .hero-logo-ring:nth-child(1) {
        width: 300px;
        height: 300px;
    }

    .hero-logo-ring:nth-child(2) {
        width: 250px;
        height: 250px;
    }

    .hero-logo-ring:nth-child(3) {
        width: 200px;
        height: 200px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item::after {
        display: none !important;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .ai-solutions-grid {
        grid-template-columns: 1fr;
    }

    .ai-solutions-header h2 {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}

/* --- Proceso Section --- */
.proceso {
    padding: 100px 20px;
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.proceso-header {
    text-align: center;
    margin-bottom: 60px;
}

.proceso-header .tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f0f4f8;
    color: #1a4fad;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    border: 1px solid #c9d8eb;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    position: relative;
}

/* Conecting line behind steps */
.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    /* aligns with center of icons */
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #e2e8f0;
    z-index: 0;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-num {
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.step-num svg {
    width: 32px;
    height: 32px;
    stroke: #4B5E77;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease;
}

.num-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background-color: #e2e8f0;
    color: #4B5E77;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #042C53;
    margin-bottom: 12px;
}

.step p {
    font-size: 0.9rem;
    color: #5A6B82;
    line-height: 1.5;
}

/* Active Step Styling */
.step.active .step-num {
    border-color: #1a4fad;
    background-color: #f8fafc;
    box-shadow: 0 10px 15px -3px rgba(26, 79, 173, 0.15);
}

.step.active .step-num svg {
    stroke: #1a4fad;
    stroke-width: 2;
}

.step.active .num-badge {
    background-color: #1a4fad;
    color: #ffffff;
}

.step.active h3 {
    color: #1a4fad;
}

@media (max-width: 900px) {
    .steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .steps::before {
        display: none;
    }

    .step {
        width: 100%;
        max-width: 400px;
    }
}

/* Mobile hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-navy);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 900px) {
    .mobile-toggle {
        display: flex;
    }
}

/* ================================================
   FOOTER ENTERPRISE — Premium Redesign
   Inspired by Apple · Cisco · IBM · Microsoft · Hikvision
   ================================================ */

/* --- Pre-Footer CTA Banner --- */
.prefooter-cta {
    position: relative;
    background: linear-gradient(135deg, #042C53 0%, #0a3d6e 50%, #185FA5 100%);
    overflow: hidden;
}

.prefooter-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.prefooter-cta::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(42, 111, 219, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.prefooter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 56px 0;
    position: relative;
    z-index: 1;
}

.prefooter-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    line-height: 1.25;
}

.prefooter-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 460px;
}

.prefooter-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.prefooter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    white-space: nowrap;
}

.prefooter-btn-primary {
    background: #ffffff;
    color: #042C53;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.prefooter-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    background: #f0f4f8;
}

.prefooter-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.prefooter-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* --- Footer Enterprise Base --- */
.footer-enterprise {
    background: #080f1e;
    color: #94a3b8;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* --- Footer Grid --- */
.fe-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
    gap: 48px;
    padding: 64px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Brand Column --- */
.fe-brand {
    padding-right: 24px;
}

.fe-logo-block {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.fe-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.fe-logo-text {
    display: flex;
    flex-direction: column;
}

.fe-logo-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.fe-logo-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fe-brand-desc {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 340px;
}

/* --- Social Icons --- */
.fe-social {
    display: flex;
    gap: 8px;
}

.fe-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    transition: all 0.3s ease;
    text-decoration: none;
}

.fe-social-btn:hover {
    background: rgba(24, 95, 165, 0.15);
    border-color: rgba(24, 95, 165, 0.4);
    color: #60a5fa;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(24, 95, 165, 0.2);
}

/* --- Link Columns --- */
.fe-col-title {
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.fe-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #185FA5, #38bdf8);
    border-radius: 2px;
}

.fe-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fe-links ul li a {
    color: #64748b;
    font-size: 0.84rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    position: relative;
}

.fe-links ul li a::before {
    content: '';
    position: absolute;
    left: -12px;
    width: 0;
    height: 1px;
    background: #60a5fa;
    transition: width 0.25s ease;
}

.fe-links ul li a:hover {
    color: #e2e8f0;
    transform: translateX(4px);
}

.fe-links ul li a:hover::before {
    width: 8px;
}

/* --- Contact Column --- */
.fe-contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fe-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.fe-contact-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(24, 95, 165, 0.1);
    border: 1px solid rgba(24, 95, 165, 0.2);
    color: #3b82f6;
    margin-top: 2px;
}

.fe-contact-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.5;
}

.fe-contact-text a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fe-contact-text a:hover {
    color: #60a5fa;
}

.fe-tag {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    padding: 1px 6px;
    border-radius: 4px;
}

/* --- Partners / Certification Bar --- */
.fe-partners-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fe-partners-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.fe-partners-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #475569;
    white-space: nowrap;
}

.fe-partners-logos {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.fe-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.fe-partner-badge:hover {
    color: #94a3b8;
}

.fe-partner-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.08);
}

/* --- Bottom Bar (Apple / Microsoft style) --- */
.fe-bottom {
    padding: 16px 0;
}

.fe-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.fe-bottom-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fe-copyright {
    font-size: 0.76rem;
    color: #475569;
}

.fe-rfc {
    font-size: 0.7rem;
    color: #334155;
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.fe-bottom-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.fe-bottom-links a {
    color: #475569;
    font-size: 0.76rem;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.fe-bottom-links a:hover {
    color: #94a3b8;
}

.fe-dot-sep {
    color: #334155;
    font-size: 0.7rem;
    user-select: none;
}

.fe-bottom-right {
    display: flex;
    align-items: center;
}

.fe-locale {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    color: #475569;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.fe-locale:hover {
    border-color: rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.03);
}

/* --- Footer Responsive --- */
@media (max-width: 1024px) {
    .prefooter-inner {
        flex-direction: column;
        text-align: center;
    }

    .prefooter-content p {
        max-width: 100%;
    }

    .prefooter-actions {
        justify-content: center;
    }

    .fe-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }

    .fe-brand {
        grid-column: span 2;
        padding-right: 0;
    }

    .fe-brand-desc {
        max-width: 100%;
    }

    .fe-partners-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .fe-partners-logos {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .prefooter-inner {
        padding: 40px 0;
    }

    .prefooter-content h2 {
        font-size: 1.4rem;
    }

    .prefooter-actions {
        flex-direction: column;
        width: 100%;
    }

    .prefooter-btn {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .fe-grid {
        grid-template-columns: 1fr;
        padding: 40px 0 30px;
        gap: 32px;
    }

    .fe-brand {
        grid-column: span 1;
    }

    .fe-partners-logos {
        flex-wrap: wrap;
        gap: 4px;
    }

    .fe-partner-sep {
        display: none;
    }

    .fe-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .fe-bottom-left {
        flex-direction: column;
        gap: 4px;
    }

    .fe-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .fe-bottom-right {
        justify-content: center;
    }
}

/* ── SERVICIOS PAGE SPECIFIC ──────────────── */
:root {
    --sv-bg: #050c18;
    --sv-bg2: #081120;
    --sv-bg3: #0a1628;
    --sv-surface: #0d1e36;
    --sv-surface2: #112240;
}

/* ══════════════════════════════════════════════
   CINEMATIC HERO — Servicios Page
   Full-screen carousel + glassmorphism stats
   ══════════════════════════════════════════════ */

.sv-cinematic-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #040a18;
}

/* ── Background carousel ── */
.sv-carousel-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sv-carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
    transform: scale(1.08);
    animation: sv-ken-burns 18s linear infinite alternate;
}

.sv-carousel-slide.sv-slide-active {
    opacity: 1;
}

@keyframes sv-ken-burns {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.12);
    }
}

/* ── Cinematic overlay ── */
.sv-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(4, 10, 24, 0.75) 0%,
            rgba(4, 10, 24, 0.55) 30%,
            rgba(4, 10, 24, 0.65) 70%,
            rgba(4, 10, 24, 0.92) 100%),
        linear-gradient(135deg,
            rgba(24, 95, 165, 0.15) 0%,
            transparent 50%);
    pointer-events: none;
}

/* ── Particles canvas ── */
.sv-particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* ── Content ── */
.sv-cin-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0 20px;
}

/* Breadcrumb */
.sv-cin-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.sv-cin-breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sv-cin-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.sv-cin-sep {
    color: rgba(255, 255, 255, 0.2);
}

.sv-cin-current {
    color: rgba(255, 255, 255, 0.7);
}

/* Eyebrow */
.sv-cin-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.sv-cin-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
    animation: sv-pulse-dot 2s ease-in-out infinite;
}

@keyframes sv-pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 16px rgba(59, 130, 246, 0.8);
    }
}

/* Title */
.sv-cin-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    color: #ffffff;
    margin-bottom: 28px;
}

.sv-cin-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 40%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.sv-cin-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

/* CTA Row */
.sv-cin-cta-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.sv-cin-btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    background: #185FA5;
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(24, 95, 165, 0.4);
    border: none;
    cursor: pointer;
}

.sv-cin-btn-solid:hover {
    background: #1a6fc2;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(24, 95, 165, 0.5);
}

.sv-cin-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.35s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
}

.sv-cin-btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
}

/* ── Floating Glass Stats Bar ── */
.sv-cin-stats-bar {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 16px;
    margin-top: 48px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.sv-cin-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 32px;
    text-align: center;
}

.sv-cin-stat-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1;
}

.sv-cin-stat-label {
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.sv-cin-stat-sep {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* ── Carousel Indicators ── */
.sv-cin-indicators {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    padding-bottom: 20px;
}

.sv-cin-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.sv-cin-dot.sv-dot-active {
    background: #3b82f6;
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.sv-cin-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .sv-cinematic-hero {
        min-height: 85vh;
    }

    .sv-cin-content {
        padding: 40px 0 10px;
    }

    .sv-cin-title {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .sv-cin-subtitle {
        font-size: 0.95rem;
    }

    .sv-cin-stat {
        padding: 0 20px;
    }
}

@media (max-width: 640px) {
    .sv-cinematic-hero {
        min-height: 100vh;
    }

    .sv-cin-title {
        font-size: 2rem;
    }

    .sv-cin-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .sv-cin-btn-solid,
    .sv-cin-btn-glass {
        width: 100%;
        justify-content: center;
    }

    .sv-cin-stats-bar {
        flex-wrap: wrap;
        gap: 16px;
        padding: 20px;
    }

    .sv-cin-stat-sep {
        display: none;
    }

    .sv-cin-stat {
        width: 40%;
        padding: 8px 0;
    }
}

/* ── SECTION LAYOUT ─────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 96px 0;
}

.section-alt {
    background: var(--bg2);
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 14px;
}

.section-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--cyan);
    border-radius: 2px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    letter-spacing: -.02em;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 15px;
    color: var(--text2);
    line-height: 1.65;
    max-width: 560px;
}

/* ── SERVICE BLOCKS ─────────────────────── */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.service-block:first-child {
    border-top: none;
}

.service-block.reverse {
    direction: rtl;
}

.service-block.reverse>* {
    direction: ltr;
}


.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.service-badge svg {
    width: 18px;
    height: 18px;
}

.badge-blue {
    background: rgba(24, 95, 165, 0.20);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.badge-cyan {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #032b50 100%);
    color: #ffffff;
    border: none;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 25px rgba(42, 111, 219, 0.3);
    padding: 10px 22px;
}

.badge-green {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.25);
}

.badge-orange {
    background: rgba(249, 115, 22, 0.12);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.25);
}

.badge-purple {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.25);
}

.badge-red {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.25);
}

.service-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #1d1d1f;
}

.service-desc {
    font-size: 1.15rem;
    color: #424245;
    line-height: 1.7;
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-bottom: 48px;
    border-top: 1px solid #d2d2d7;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1d1d1f;
    padding: 18px 0;
    border-bottom: 1px solid #d2d2d7;
    background: transparent;
    transition: color 0.2s ease;
}

.feature-item:hover {
    color: var(--accent-blue);
}

.feature-item::before {
    content: '';
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230066cc' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffffff;
    background: #0066cc;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 980px;
    transition: background 0.2s ease;
}

.service-cta:hover {
    background: #0055b3;
}

.service-cta svg {
    width: 18px;
    transition: transform 0.3s ease;
}

.service-cta:hover svg {
    transform: translateX(4px);
}

/* ── CAROUSEL ───────────────────────────── */
.carousel-wrapper {
    position: sticky;
    top: 140px;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1/1;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 0 1px var(--border2);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.carousel-slide-item {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 32px 24px;
    background-size: cover;
    background-position: center;
}

.carousel-slide-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 70%);
    z-index: 1;
}

.slide-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    opacity: .9;
}

.slide-title {
    position: relative;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -.01em;
    color: #ffffff;
}

@media (max-width: 991px) {
    .proj-featured {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .proj-hero-title {
        font-size: 2.5rem;
    }

    .proj-featured-content h2 {
        font-size: 1.8rem;
    }
}

/* Partners Marquee Images */
.marquee-item-img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    margin: 0 30px;
    transition: transform 0.3s ease;
}

.marquee-item-img:hover {
    transform: scale(1.05);
}

/* --- PROJ CAROUSEL --- */
.proj-carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.proj-carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.proj-carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.proj-carousel-img.active {
    opacity: 1;
    z-index: 1;
}

.proj-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 22, 40, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.slide-detail {
    position: relative;
    z-index: 2;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.6;
    max-width: 320px;
}

/* Carousel nav */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(5, 12, 24, 0.75);
    border: 1px solid var(--border2);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all .2s;
    backdrop-filter: blur(6px);
}

.carousel-btn:hover {
    background: var(--blue2);
    border-color: var(--cyan);
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}

.carousel-btn svg {
    width: 16px;
    height: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    transition: all .25s;
    cursor: pointer;
}

.dot.active {
    background: var(--cyan);
    width: 18px;
    border-radius: 3px;
}

/* ── SERVICES GRID (overview) ───────────── */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 56px;
}

.ov-item {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.ov-item:hover {
    background: #ffffff;
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    box-shadow: 0 12px 30px rgba(42, 111, 219, 0.1);
}

.ov-icon {
    width: 52px;
    height: 52px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.ov-item:hover .ov-icon {
    background: var(--accent-blue);
    color: #ffffff;
    transform: scale(1.05);
}

.ov-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2px;
}

.ov-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #042C53;
    line-height: 1.4;
    margin-top: 8px;
}

.ov-arrow {
    margin-top: auto;
    color: #8da0bc;
    transition: all 0.3s ease;
}

.ov-item:hover .ov-arrow {
    color: var(--accent-blue);
    transform: translateX(4px);
}

.ov-arrow svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5px;
}

/* ── CTA BANNER ─────────────────────────── */
.cta-banner {
    margin: 80px 0;
    background: linear-gradient(135deg, #0d2248 0%, #0a1a38 40%, #071427 100%);
    border: 1px solid var(--border2);
    border-radius: 24px;
    padding: 64px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(42, 111, 219, 0.20) 0%, transparent 70%);
}

.cta-text {
    max-width: 520px;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}

.cta-sub {
    font-size: 15px;
    color: var(--text2);
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--blue2);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .03em;
    font-family: 'Inter', sans-serif;
    transition: background .2s, transform .15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--cyan);
    color: var(--bg);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--border2);
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .03em;
    font-family: 'Inter', sans-serif;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}


/* ── SCROLL REVEAL ──────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .service-block {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .service-block.reverse {
        direction: ltr;
    }

    .page-hero {
        padding: 60px 24px 56px;
    }

    .container {
        padding: 0 24px;
    }

    .topbar {
        display: none;
    }

    .navbar {
        padding: 0 24px;
    }

    .cta-banner {
        flex-direction: column;
        padding: 40px 28px;
    }
}

/* --- TECH GRID COMPONENT --- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.tech-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 24px 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-card:hover {
    border-color: #cbe0f5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.tech-icon-box {
    width: 44px;
    height: 44px;
    background: #f0f7ff;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 4px;
}

.tech-icon-box svg {
    width: 22px;
    height: 22px;
    stroke-width: 2px;
}

.tech-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
}

.tech-card p {
    font-size: 0.9rem;
    color: #556981;
    line-height: 1.6;
    margin: 0;
}

.tech-specs-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 40px;
}

.tech-spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d1d1f;
}

.tech-spec-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent-blue);
}


/* --- WIDE TECH CARD (Alternative to Grid) --- */
.tech-grid-wide {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.tech-card-wide {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 16px 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-left: 5px solid var(--accent-blue);
}

.tech-card-wide:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(42, 111, 219, 0.12);
    border-color: #cbe0f5;
}

.tech-icon-box-side {
    width: 48px;
    height: 48px;
    background: #f0f7ff;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-right: 20px;
    flex-shrink: 0;
}

.tech-icon-box-side svg {
    width: 24px;
    height: 24px;
    stroke-width: 2px;
}

.tech-card-wide p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
}

/* --- MINIMAL TECH LIST (Apple Style) --- */
.tech-list-minimal {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 32px;
    margin-bottom: 40px;
}

.tech-item-minimal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.tech-icon-minimal {
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.tech-icon-minimal svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.4px;
}

.tech-item-minimal p {
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    margin: 0;
    line-height: 1.4;
}

/* --- PATROL TECH PANELS --- */
.tech-grid-patrol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.tech-card-patrol {
    background: #fff;
    border: 1px solid #fcefe6;
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s ease;
}

.tech-card-patrol:hover {
    border-color: #f97316;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.1);
    transform: translateY(-4px);
}

.tech-icon-patrol {
    color: #ea580c;
    margin-bottom: 12px;
    display: flex;
}

.tech-icon-patrol svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5px;
}

.tech-card-patrol p {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.5;
}

/* --- PREMIUM BADGE OVERRIDES --- */
.badge-green {
    background: linear-gradient(135deg, #16a34a 0%, #064e3b 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.3) !important;
    padding: 10px 22px !important;
}

.badge-orange {
    background: linear-gradient(135deg, #f97316 0%, #9a3412 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3) !important;
    padding: 10px 22px !important;
}

/* --- PREMIUM RADIO GRID --- */
.tech-grid-radio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.tech-card-radio {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.tech-card-radio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #16a34a, #22c55e);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-card-radio:hover {
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.12);
    border-color: #bbf7d0;
    transform: translateY(-4px);
}

.tech-card-radio:hover::before {
    opacity: 1;
}

.tech-icon-radio {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.tech-icon-radio svg {
    width: 22px;
    height: 22px;
    stroke-width: 2px;
}

.tech-card-radio p {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.5;
}

/* --- TELECOM TECH PANELS --- */
.tech-grid-telecom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .tech-grid-telecom {
        grid-template-columns: 1fr;
    }
}

.tech-card-telecom {
    background: #ffffff;
    border: 1px solid #e0f2fe;
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.03);
}

.tech-card-telecom:hover {
    border-color: #38bdf8;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.12);
    transform: translateY(-4px);
}

.tech-icon-telecom {
    color: #0ea5e9;
    margin-bottom: 14px;
    display: flex;
}

.tech-icon-telecom svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.5px;
}

.tech-card-telecom p {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.5;
}

/* --- OBRA CIVIL TECH PANELS --- */
.tech-grid-obra {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .tech-grid-obra {
        grid-template-columns: 1fr;
    }
}

.tech-card-obra {
    background: #ffffff;
    border: 1px solid #fff7ed;
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(251, 146, 60, 0.03);
}

.tech-card-obra:hover {
    border-color: #fb923c;
    box-shadow: 0 10px 30px rgba(251, 146, 60, 0.12);
    transform: translateY(-4px);
}

.tech-icon-obra {
    color: #f97316;
    margin-bottom: 14px;
    display: flex;
}

.tech-icon-obra svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.5px;
}

.tech-card-obra p {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.5;
}

/* --- MANTENIMIENTO TECH PANELS --- */
.tech-grid-mantenimiento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .tech-grid-mantenimiento {
        grid-template-columns: 1fr;
    }
}

.tech-card-mantenimiento {
    background: #ffffff;
    border: 1px solid #f0fdf4;
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.03);
}

.tech-card-mantenimiento:hover {
    border-color: #4ade80;
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.12);
    transform: translateY(-4px);
}

.tech-icon-mantenimiento {
    color: #16a34a;
    margin-bottom: 14px;
    display: flex;
}

.tech-icon-mantenimiento svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.5px;
}

.tech-card-mantenimiento p {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.5;
}

/* ── BENTO NEWS SECTION ── */
.bento-section {
    padding: 100px 0;
    background: #040914;
    /* Deep dark blue for contrast, enterprise feel */
    color: #fff;
    position: relative;
    overflow: hidden;
}

.bento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.bento-header .section-eyebrow {
    color: #38bdf8;
}

.bento-header .section-title {
    color: #fff;
    margin-bottom: 0;
}

.bento-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7dd3fc;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.bento-view-all:hover {
    color: #fff;
    transform: translateX(4px);
}

.bento-view-all svg {
    width: 18px;
    height: 18px;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    height: 500px;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.bento-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    height: 100%;
    transform: translateZ(0);
}

.bento-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bento-card:hover img {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 9, 20, 0.95) 0%, rgba(4, 9, 20, 0.4) 40%, transparent 100%);
    transition: opacity 0.3s ease;
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 12px;
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 6px;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.bento-tag.bg-blue {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    border-color: rgba(37, 99, 235, 0.3);
}

.bento-tag.bg-cyan {
    background: rgba(45, 212, 191, 0.2);
    color: #5eead4;
    border-color: rgba(45, 212, 191, 0.3);
}

.bento-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.bento-large .bento-title {
    font-size: 2.2rem;
}

.bento-desc {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 90%;
}

.bento-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.bento-card:hover .bento-action {
    opacity: 1;
    gap: 12px;
}

.bento-action svg {
    width: 18px;
    height: 18px;
}

.bento-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.bento-col .bento-card {
    height: calc(50% - 12px);
}

@media (max-width: 900px) {
    .bento-large {
        height: 400px;
    }

    .bento-col .bento-card {
        height: 300px;
    }

    .bento-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ── BENTO NEWS SECTION (ALTERNATIVE FOR SERVICIOS) ── */
.bento-section-alt {
    position: relative;
    background: url('../img/control_room_hero.png') center/cover no-repeat fixed;
}

.bento-section-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    display: block;
    background: rgba(255, 255, 255, 0.75);
    /* White frosted tint */
    backdrop-filter: blur(24px);
    /* Heavy frosted glass effect */
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 0;
}

.bento-section-alt>.container {
    position: relative;
    z-index: 1;
}

.bento-section-alt .bento-header .section-title {
    color: #0f172a;
    /* Dark text for light background */
}

.bento-section-alt .bento-header .section-eyebrow {
    color: #2563eb;
    /* Corporate blue */
}

.bento-section-alt .bento-view-all {
    color: #3b82f6;
}

.bento-section-alt .bento-view-all:hover {
    color: #1e3a8a;
}

/* ── ENTERPRISE PROCESS SECTION ── */
.process-enterprise {
    padding: 100px 0;
    background: #0B1120;
    position: relative;
    overflow: hidden;
}

.process-enterprise::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(42, 111, 219, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.pe-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.pe-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50px;
    color: #38bdf8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.pe-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.pe-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pe-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.pe-card {
    grid-column: span 2;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pe-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.pe-card:nth-child(5) {
    grid-column: 4 / span 2;
}

@media (max-width: 1024px) {
    .pe-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pe-card {
        grid-column: span 1;
    }

    .pe-card:nth-child(4),
    .pe-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .pe-grid {
        grid-template-columns: 1fr;
    }

    .pe-card {
        grid-column: span 1;
    }

    .pe-card:nth-child(4),
    .pe-card:nth-child(5) {
        grid-column: span 1;
    }
}

.pe-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(56, 189, 248, 0.1);
    background: rgba(30, 41, 59, 0.7);
}

.pe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pe-card:hover::before {
    opacity: 1;
}

.pe-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s ease;
    font-family: 'Oswald', sans-serif;
}

.pe-card:hover .pe-number {
    color: rgba(56, 189, 248, 0.08);
}

.pe-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(56, 189, 248, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    transition: all 0.4s ease;
}

.pe-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.pe-card:hover .pe-icon {
    background: #38bdf8;
    color: #0f172a;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3);
    transform: scale(1.05);
}

.pe-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.pe-card-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── PRODUCT CAROUSEL SECTION ── */
.prod-carousel-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: #0d2a4a;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.prod-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(20%) blur(3px) brightness(0.6);
    transform: scale(1.05);
    z-index: 0;
}

.prod-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 42, 74, 0.95) 0%, rgba(13, 42, 74, 0.85) 45%, rgba(13, 42, 74, 0.4) 100%);
    z-index: 1;
}

.prod-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.prod-content-left {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.prod-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.prod-nav-arrows {
    display: flex;
    gap: 16px;
    margin-bottom: auto;
}

.prod-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prod-arrow:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.prod-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-top: 60px;
}

.prod-carousel-wrapper {
    flex: 1;
    overflow: hidden;
    padding-bottom: 20px;
    padding-top: 20px;
    margin-right: -40px;
    padding-right: 40px;
}

.prod-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.prod-card {
    flex: 0 0 320px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 520px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.prod-card:hover {
    transform: translateY(-8px);
}

.prod-img-wrapper {
    flex: 1;
    margin-bottom: 24px;
    perspective: 1000px;
}

.prod-flipper {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.prod-card.flipped .prod-flipper {
    transform: rotateY(180deg);
}

.prod-front,
.prod-back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
}

.prod-front {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.prod-front img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.prod-card:hover:not(.flipped) .prod-front img {
    transform: scale(1.05);
}

.prod-back {
    transform: rotateY(180deg);
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #f8fafc;
    border-color: #e2e8f0;
    overflow-y: auto;
}

.prod-back h4 {
    font-size: 1.05rem;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 700;
}

.prod-back ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prod-back li {
    font-size: 0.8rem;
    color: #475569;
    margin-bottom: 6px;
    padding-left: 14px;
    position: relative;
    line-height: 1.35;
}

.prod-back li::before {
    content: '•';
    color: #1a4fad;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.prod-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prod-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.prod-card-cat {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    margin-bottom: 16px;
    font-weight: 500;
}

.prod-card-btn {
    background: #475569;
    color: #fff;
    border: none;
    padding: 12px 0;
    width: 100%;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: auto;
}

.prod-card-btn:hover {
    background: #334155;
}

@media (max-width: 1024px) {
    .prod-container {
        flex-direction: column;
    }

    .prod-content-left {
        flex: none;
        align-items: flex-start;
        padding-top: 0;
    }

    .prod-title {
        font-size: 2.8rem;
    }

    .prod-desc {
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .prod-carousel-wrapper {
        margin-right: -20px;
        padding-right: 20px;
    }
}

/* =========================================
   PROYECTOS PAGE STYLES (Enterprise Grade)
========================================= */

/* Hero Section */
.proj-hero {
    position: relative;
    padding: 100px 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

/* Manchas de color detrás del glass (lo que se difumina) */
.proj-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 55% 65% at 10% 40%, rgba(100, 130, 160, 0.55) 0%, transparent 65%),
        radial-gradient(ellipse 50% 55% at 80% 20%, rgba(140, 165, 190, 0.45) 0%, transparent 60%),
        radial-gradient(ellipse 45% 50% at 60% 80%, rgba(90, 120, 150, 0.40) 0%, transparent 55%),
        radial-gradient(ellipse 40% 45% at 30% 75%, rgba(180, 195, 210, 0.30) 0%, transparent 55%),
        linear-gradient(160deg, #dce6f0 0%, #eaf0f6 40%, #d8e4ef 100%);
}

/* Capa glass encima: blur fuerte + tinte blanco translúcido */
.proj-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(240, 245, 250, 0.52);
    backdrop-filter: blur(48px) saturate(160%) brightness(1.08);
    -webkit-backdrop-filter: blur(48px) saturate(160%) brightness(1.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.60);
    box-shadow: inset 0 -1px 0 rgba(42, 111, 219, 0.10);
}

/* canvas / overlays removidos */

/* ── CONTENIDO ──────────────────────────────────────── */
.proj-hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proj-hero-text {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.proj-hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 540px;
    width: 100%;
    min-width: 300px;
}

.proj-hero-right .right {
    width: 100%;
}

/* ── TÍTULO ──────────────────────────────────────── */
.proj-hero-title {
    font-size: 3.6rem;
    font-weight: 800;
    color: #2d5a8a;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

/* ── SUBTÍTULO ───────────────────────────────────── */
.proj-hero-subtitle {
    font-size: 1.15rem;
    color: #2d5a8a;
    line-height: 1.75;
    font-weight: 400;
    max-width: 700px;
    text-align: center;
}




/* ── ISO SCENE COMPONENT ──────────────────────────── */
.iso-scene {
    position: relative;
    width: 100%;
    min-height: 480px;
    aspect-ratio: 540 / 480;
    background: #030a12;
    /* Fondo súper oscuro como en la imagen */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.iso-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(0, 212, 255, 0.06) 0%, transparent 50%);
}

.iso-scene .scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.2) 2px, rgba(0, 0, 0, 0.2) 4px);
    pointer-events: none;
}

.iso-scene .corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid #00d4ff;
    opacity: 0.7;
}

.iso-scene .tl {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.iso-scene .tr {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.iso-scene .bl {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.iso-scene .br {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

.iso-scene .clock {
    position: absolute;
    top: 20px;
    right: 50px;
    color: #00d4ff;
    font-family: 'Orbitron', 'Rajdhani', monospace;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 4px;
    background: rgba(0, 212, 255, 0.02);
    letter-spacing: 1.5px;
    z-index: 10;
}

.iso-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.iso-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.iso-scene #particles,
.iso-scene .sweep {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.iso-glow {
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40%;
    background: radial-gradient(ellipse at bottom, rgba(0, 212, 255, 0.25) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* SVG ANIMATIONS */
.star {
    animation: star-twinkle var(--dur) ease-in-out infinite var(--del);
}

@keyframes star-twinkle {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: var(--op);
    }
}

.win-blink {
    animation: win-blink 3s infinite alternate;
}

.win-blink2 {
    animation: win-blink 4s infinite alternate-reverse;
}

.win-blink3 {
    animation: win-blink 2.5s infinite alternate;
}

@keyframes win-blink {

    0%,
    20% {
        opacity: 0.2;
    }

    80%,
    100% {
        opacity: 0.8;
    }
}

.pkt-1 {
    animation: pkt-move 2s linear infinite;
}

.pkt-2 {
    animation: pkt-move 2s linear infinite 1s;
}

.pkt-3 {
    animation: pkt-move 2.5s linear infinite;
}

@keyframes pkt-move {
    0% {
        offset-distance: 0%;
        opacity: 1;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

@media (max-width: 991px) {
    .proj-hero-container {
        flex-direction: column;
        text-align: center;
    }

    .proj-hero-title {
        font-size: 3rem;
    }

    .proj-hero-right {
        margin-top: 40px;
    }
}

/* Featured Project */
.proj-featured {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    margin-top: -60px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    border: 1px solid #e2e8f0;
}

.proj-featured-img {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.proj-featured-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.proj-featured-img:hover img {
    transform: scale(1.05);
}

.proj-featured-content {
    flex: 1;
}

.proj-badge {
    display: inline-block;
    background: rgba(42, 111, 219, 0.1);
    color: var(--accent-blue);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.proj-featured-content h2 {
    font-size: 2.2rem;
    color: var(--primary-navy);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.proj-featured-content p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.proj-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.proj-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--primary-navy);
    font-weight: 600;
}

.proj-features-list i {
    color: var(--accent-cyan);
    width: 20px;
    height: 20px;
}

/* Project Grid */
.proj-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.proj-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.proj-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.proj-card-img {
    aspect-ratio: 16/9;
    height: auto;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

.proj-img-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.proj-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.proj-card:hover .proj-card-img img {
    transform: scale(1.05);
}

.proj-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.proj-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.proj-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.proj-meta i {
    width: 16px;
    height: 16px;
}

.proj-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    margin-top: 24px;
    margin-bottom: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #334155;
    font-weight: 500;
}

.spec-item i {
    width: 16px;
    height: 16px;
    color: var(--accent-blue);
}

.proj-highlight {
    background: #ecfdf5;
    color: #059669;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
}

.proj-highlight i {
    width: 18px;
    height: 18px;
}

.proj-category {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.proj-card-content h3 {
    font-size: 1.4rem;
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.proj-card-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .proj-featured {
        flex-direction: column;
    }
}

/* --- PROJ CAROUSEL CONTROLS --- */
.proj-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 22, 40, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.proj-carousel-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-50%) scale(1.1);
}

.proj-carousel-btn.prev {
    left: 15px;
}

.proj-carousel-btn.next {
    right: 15px;
}

.proj-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px 0;
    background: white;
    border-bottom: 1px solid #f1f5f9;
}

.proj-carousel-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Área de clic expandida */
.proj-carousel-indicators .indicator::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}


.proj-carousel-indicators .indicator.active {
    background: var(--accent-blue);
    transform: scale(1.2);
    width: 20px;
    border-radius: 10px;
}

.about-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #050d1a 0%, #0a1628 50%, #0d1f3c 100%);
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background: url('img/hero-carousel/bg_noc.png') center/cover no-repeat;
    opacity: .18;
    filter: blur(2px);
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 13, 26, .92) 0%, rgba(10, 22, 40, .80) 100%);
}

canvas#about-net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px 60px;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(24, 95, 165, .18);
    border: 1px solid rgba(24, 95, 165, .4);
    color: #7aafd4;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.about-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -.02em;
}

.about-hero-title span {
    background: linear-gradient(90deg, #4a9edd, #1a6bc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-sub {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .65);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 400;
}

.about-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a6bc4, #4a9edd);
    border-radius: 2px;
    margin: 24px auto 0;
}

/* TIMELINE */
.timeline-section {
    background: #f7f9fc;
    padding: 90px 0;
}

.timeline-section .container {
    max-width: 900px;
}

.timeline-header {
    text-align: center;
    margin-bottom: 60px;
}

.tl-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #1a6bc4;
    margin-bottom: 12px;
}

.tl-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #0a1628;
    letter-spacing: -.02em;
}

.timeline {
    position: relative;
    padding: 0 0 0 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #1a6bc4, #4a9edd, transparent);
}

.tl-item {
    position: relative;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all .6s ease;
}

.tl-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.tl-dot {
    position: absolute;
    left: -32px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: #1a6bc4;
    border-radius: 50%;
    border: 3px solid #f7f9fc;
    box-shadow: 0 0 0 3px rgba(26, 107, 196, .3);
}

.tl-year {
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    font-weight: 800;
    color: #1a6bc4;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.tl-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 8px;
}

.tl-item p {
    color: #4a5568;
    line-height: 1.7;
    font-size: .95rem;
}

/* MVV */
.mvv-section {
    padding: 90px 0;
    background: #0a1628;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.mvv-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: all .4s ease;
}

.mvv-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 107, 196, .08) 0%, transparent 60%);
    pointer-events: none;
}

.mvv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 107, 196, .4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.mvv-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #1a4fad, #1a6bc4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
}

.mvv-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #4a9edd;
    margin-bottom: 10px;
}

.mvv-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.mvv-card p {
    color: rgba(255, 255, 255, .6);
    line-height: 1.75;
    font-size: .95rem;
}

/* VALUES */
.values-section {
    padding: 90px 0;
    background: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.val-card {
    background: #f7f9fc;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
}

.val-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a4fad, #4a9edd);
    transform: scaleX(0);
    transition: transform .4s ease;
}

.val-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(26, 107, 196, .12);
    border-color: #1a6bc4;
}

.val-card:hover::after {
    transform: scaleX(1);
}

.val-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1a4fad, #1a6bc4);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
}

.val-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #0a1628;
    margin-bottom: 10px;
}

.val-card p {
    color: #4a5568;
    font-size: .88rem;
    line-height: 1.65;
}

/* TEAM STATS */
.team-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #050d1a 0%, #0a1628 100%);
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2px;
    background: rgba(255, 255, 255, .05);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 50px;
}

.team-stat {
    background: rgba(10, 22, 40, .8);
    padding: 40px 24px;
    text-align: center;
    position: relative;
}

.team-stat::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, .08);
}

.team-stat:last-child::after {
    display: none;
}

.team-stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(90deg, #4a9edd, #1a6bc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.team-stat-label {
    color: rgba(255, 255, 255, .55);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 10px;
}

/* CTA */
.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a4fad, #1a6bc4);
    text-align: center;
}

.about-cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
}

.about-cta p {
    color: rgba(255, 255, 255, .8);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto 32px;
}

.about-cta .btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1a4fad;
    font-weight: 700;
    font-size: .95rem;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .3s ease;
}

.about-cta .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

@media(max-width:768px) {
    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 12px;
    }

    .tl-dot {
        left: -26px;
    }
}

/* --- Certificaciones Section --- */
.certs-section {
    padding: 90px 0;
    background: #ffffff;
    scroll-margin-top: 120px;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1100px;
    margin: 50px auto 0;
}

.cert-card {
    background: transparent;
    border: none;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-card:hover {
    transform: translateY(-10px);
}

.cert-img-container {
    width: 100%;
    height: 480px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    overflow: visible;
    position: relative;
}

.cert-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.12));
    transition: filter 0.3s ease;
}

.cert-card:hover img {
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.18));
}

.cert-placeholder-box {
    width: 64px;
    height: 64px;
    background: rgba(42, 111, 219, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.cert-caption {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.4;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Hamburger — hidden on desktop */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
    background: none;
    border: none;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1d1d1f;
    border-radius: 2px;
    transition: all 0.3s ease;
}
/* X animation */
body.nav-open .mobile-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .mobile-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .mobile-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 9998;
}
body.nav-open .nav-backdrop { display: block; }

/* Mobile-only contact button — hidden on desktop/tablet */
.mobile-contact-btn { display: none; }

/* ======================== TABLET 1024px ======================== */
@media (max-width: 1024px) {
    .header-navbar { padding: 0 24px; }
    .nav-menu-main { gap: 18px; }
    .fe-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 36px 40px !important; padding: 48px 0 36px !important; }
    .fe-brand { grid-column: 1 / -1 !important; padding-right: 0 !important; }
    .cert-img-container { height: 360px; }
    /* Tablet logo text — slightly smaller than desktop */
    .nav-logo .logo-text-main { font-size: 1.3rem !important; }
    .nav-logo .logo-text-sub { font-size: 0.95rem !important; }
}

/* ======================== MOBILE 768px ======================== */
@media (max-width: 768px) {

    /* --- NAVBAR --- */
    .header-navbar {
        height: 70px;
        padding: 0 16px;
        position: sticky;
        z-index: 9999;
    }
    .nav-logo .logo-text-main { font-size: 0.55rem !important; letter-spacing: 0 !important; line-height: 1.2 !important; max-width: 90px !important; }
    .nav-logo .logo-text-sub { display: none !important; }
    .nav-logo .logo-img { height: 2.4rem !important; }
    /* Hide Contáctanos button only — keep translate + hamburger */
    .nav-actions > a { display: none !important; }
    .btn-primary-nav { display: none !important; }

    /* Show hamburger */
    .mobile-toggle { display: flex; }

    /* --- FULL-SCREEN MOBILE MENU --- */
    .nav-menu-main {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100dvh !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 80px 0 40px !important;
        margin: 0 !important;
        gap: 0 !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        transform: translateX(100%) !important;
        transition: transform 0.4s cubic-bezier(0.4,0,0.2,1) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    body.nav-open .nav-menu-main {
        transform: translateX(0) !important;
    }

    /* Top-level items */
    .nav-menu-main > .nav-item {
        display: block !important;
        font-size: 1.35rem !important;
        font-weight: 600 !important;
        color: #1d1d1f !important;
        padding: 18px 28px !important;
        border-bottom: 1px solid #f0f0f0 !important;
        letter-spacing: -0.01em !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .nav-menu-main > .nav-item::after { display: none !important; }

    /* Dropdown wrapper */
    .nav-item-dropdown {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        position: static !important;
    }
    .nav-item-dropdown > .nav-item {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        font-size: 1.35rem !important;
        font-weight: 600 !important;
        color: #1d1d1f !important;
        padding: 18px 28px !important;
        border-bottom: 1px solid #f0f0f0 !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .nav-item-dropdown > .nav-item::after { display: none !important; }

    /* Chevron arrow */
    .nav-item-dropdown > .nav-item .nav-chevron {
        display: inline-block;
        width: 10px;
        height: 10px;
        border-right: 2px solid #86868b;
        border-bottom: 2px solid #86868b;
        transform: rotate(-45deg);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    .nav-item-dropdown.mobile-open > .nav-item .nav-chevron {
        transform: rotate(45deg);
    }

    /* Mega-menu HIDDEN by default on mobile */
    .mega-menu {
        display: none !important;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: #f7f8fa !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        backdrop-filter: none !important;
        pointer-events: auto !important;
    }
    .nav-item-dropdown.mobile-open > .mega-menu {
        display: block !important;
    }

    .mega-menu-content {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .mega-menu-col { gap: 0 !important; }
    .mega-menu-col h4 {
        font-size: 0.68rem !important;
        color: #aaa !important;
        padding: 12px 44px 4px !important;
        border: none !important;
        margin: 0 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
    }
    .mega-menu-col a {
        display: block !important;
        font-size: 0.98rem !important;
        font-weight: 500 !important;
        color: #185FA5 !important;
        padding: 13px 44px !important;
        border-bottom: 1px solid #ebebeb !important;
        transform: none !important;
    }
    .mega-menu-col a:hover { transform: none !important; color: #042C53 !important; }

    /* Contact button inside menu */
    .mobile-contact-btn {
        display: block !important;
        margin: 28px 24px 0;
        background: #185FA5;
        color: #fff !important;
        text-align: center;
        padding: 16px;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none !important;
    }
    .mobile-contact-btn:hover { background: #042C53; }

    /* Overflow fix for project cards on mobile */
    .proj-card {
        overflow: visible !important;
        border-radius: 12px !important;
    }

    /* Container padding on mobile */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* --- GENERAL SECTIONS --- */
    .section-title { font-size: 1.9rem; }
    .section-subtitle { font-size: 0.95rem; }
    .hero-title, h1 { font-size: 2rem !important; }

    /* Certs */
    .certs-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        padding: 0 16px !important;
    }
    .cert-img-container { height: 300px !important; }

    /* Footer */
    .fe-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 36px !important;
    }
    .fe-brand, .fe-links, .fe-contact { align-items: center !important; }
    .fe-social { justify-content: center !important; }
    .fe-contact-item { flex-direction: column !important; text-align: center !important; }
    .fe-bottom-inner { flex-direction: column !important; gap: 12px !important; text-align: center !important; }
    .fe-bottom-links { flex-wrap: wrap; justify-content: center; gap: 8px; }

    /* Stats */
    .team-stats { grid-template-columns: repeat(2,1fr) !important; gap: 20px !important; }

    /* MVV & Values */
    .mvv-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
    .values-grid { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }

    /* Partners bar */
    .fe-partners-inner { flex-direction: column; gap: 16px; text-align: center; }
    .fe-partners-logos { flex-wrap: wrap; justify-content: center; gap: 16px; }

    /* ── PROYECTOS PAGE ── */
    .proj-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .proj-card-content {
        padding: 20px !important;
    }
    .proj-card-content h3 {
        font-size: 1.15rem !important;
    }
    .proj-card-content p {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
    }
    .proj-specs {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .proj-hero-title {
        font-size: 1.8rem !important;
    }
    .proj-hero-subtitle {
        font-size: 0.95rem !important;
    }
    /* Big portfolio heading */
    .section h2[style] {
        font-size: 2rem !important;
    }

    /* ── SERVICIOS PAGE ── */
    .service-card-horizontal,
    .srv-card {
        flex-direction: column !important;
    }
    .srv-img, .service-card-img {
        width: 100% !important;
        height: 220px !important;
    }

    /* ── CONTACTO PAGE ── */
    .contact-grid,
    .contact-form-grid {
        grid-template-columns: 1fr !important;
    }

    /* General: hide hover-only transforms on mobile */
    .proj-card:hover {
        transform: none !important;
    }
}
