@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: "Exo", sans-serif;
}

body {
    background-color: #ffffff;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: linear-gradient(rgba(9, 23, 46, 0.85), rgba(9, 23, 46, 0.95)),
        url(img/background.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    width: 100%;
    position: relative;
    z-index: 1000;
}

.logo img {
    width: 140px;
    display: block;
}

.navbar ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

.navbar ul>li>a {
    color: #b0b0b0;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s;
    position: relative;
    padding: 10px 0;
}

.navbar ul>li>a:hover {
    color: white;
}

.btn-header {
    background-color: #00ADEE;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-header:hover {
    background-color: #008cbf;
}

#menu {
    display: none;
}

.menu-icono {
    width: 30px;
    cursor: pointer;
    display: none;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.menu label {
    display: none;
}

.dropdown-item {
    position: relative;
}

.dropdown-trigger i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background-color: #1a1a1a; /* Fondo Oscuro */
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 3px solid #00ADEE;
}

.dropdown-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.menu-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #333; /* Borde oscuro */
    padding-bottom: 5px;
}

.tab-link {
    font-size: 14px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    text-transform: uppercase;
    padding-bottom: 5px;
    position: relative;
}

.tab-link:hover,
.tab-link.active {
    color: #fff;
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

.menu-content {
    display: none;
}

.menu-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

.menu-content ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

.menu-content li {
    width: 100%;
}

.menu-content li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cccccc; /* Texto claro */
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid #2a2a2a; /* Separador oscuro */
    transition: color 0.2s, padding-left 0.2s;
    width: 100%;
}

.menu-content li a i {
    font-size: 10px;
    color: #666;
}

.menu-content li a:hover {
    color: #fff;
    padding-left: 5px;
}

.header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 80px;
}

.social-proof {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 20px 5px 5px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.avatars {
    display: flex;
}

.avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #0b111e;
    margin-left: -10px;
}

.avatars img:first-child {
    margin-left: 0;
}

.social-proof span {
    color: #cccccc;
    font-size: 14px;
    font-weight: 300;
}

.header-txt {
    max-width: 900px;
    padding: 0 15px;
}

.header-txt h1 {
    font-size: 65px;
    line-height: 1.1;
    color: white;
    margin-bottom: 25px;
    font-weight: 600;
}

.header-txt h1 span {
    color: #00ADEE;
}

.header-txt p {
    font-size: 20px;
    color: #cccccc;
    margin-bottom: 40px;
    font-weight: 300;
}

.btn-main {
    display: inline-block;
    background-color: #00ADEE;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 173, 238, 0.3);
    transition: transform 0.3s, background 0.3s;
}

.btn-main:hover {
    background-color: #008cbf;
    transform: translateY(-3px);
}

.btn-cpe {
    display: inline-block;
    background-color: #00ADEE;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 173, 238, 0.3);
    transition: transform 0.3s, background 0.3s;
    margin-left: 10px;
}

.btn-cpe:hover {
    background-color: #008cbf;
    transform: translateY(-3px);
}

.productos-section {
    background-color: #ffffff;
    padding: 120px 20px 80px 20px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 40px;
    color: #333333;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: #666666;
    font-size: 16px;
    line-height: 1.5;
}

.product-card {
    display: flex;
    align-items: center;
    background-color: #F8F9FA;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product-card:nth-child(even) {
    flex-direction: row-reverse;
}

.product-info {
    flex: 1;
    padding: 50px;
}

.product-image {
    flex: 1;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 350px;
}

.product-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.product-info p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-product {
    display: inline-block;
    background-color: #2b4c9b;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-product:hover {
    background-color: #1a3675;
}

.sistema-conectado {
    background-color: #ffffff;
    overflow: hidden;
}

.sistema-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding-right: 40px;
    padding-left: 20px;
}

.info-left {
    flex: 1;
    max-width: 550px;
}

.info-left h2 {
    font-size: 42px;
    color: #0b111e;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
}

.info-left p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 35px;
}

.image-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-right img {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
    object-fit: contain;
}

.about-cta {
    background: linear-gradient(rgba(10, 31, 68, 0.9), rgba(10, 31, 68, 0.85)), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1600&q=80');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 20px;
    text-align: center;
    color: white;
    margin-top: 100px;
    margin-bottom: 80px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 35px;
    font-weight: 400;
}

.btn-cyan {
    display: inline-block;
    background-color: #00ADEE;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s, background-color 0.3s;
    box-shadow: 0 4px 15px rgba(0, 173, 238, 0.4);
}

.btn-cyan:hover {
    background-color: #008cbf;
    transform: translateY(-2px);
}

.clientes-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
    overflow: hidden;
}

.clientes-section h2 {
    font-size: 32px;
    color: #2a3b5c;
    margin-bottom: 50px;
    font-weight: 700;
}

.slider {
    width: 100%;
    height: 100px;
    overflow: hidden;
    position: relative;
}

.slider::before,
.slider::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 100%;
    top: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}

.slider::before {
    left: 0;
}


.slider::after {
    right: 0;
    transform: rotate(180deg);
}

.slide-track {
    display: flex;
    width: calc(250px * 10);
    animation: scroll 30s linear infinite;
}

.slider:hover .slide-track {
    animation-play-state: paused;
}

.slide {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    position: relative;
}

.slide a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}


.slide img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s, transform 0.3s;
    cursor: pointer;
}

.slide img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5));
    }
}

.sectores-section {
    padding: 80px 0 100px 0;
    background-color: #ffffff;
}

.sectores-section .section-header {
    margin-bottom: 60px;
}

.sectores-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.sector-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 40px 25px;
    text-align: center;
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(34, 72, 157, 0.10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-circle img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    filter: invert(24%) sepia(64%) saturate(2059%) hue-rotate(211deg) brightness(91%) contrast(92%);
}

.sector-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.sector-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
    flex-grow: 1;
}

.btn-sector {
    width: 100%;
    background-color: #20448c;
    color: #ffffff;
    padding: 12px 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-sector:hover {
    background-color: #152e60;
}

.footer {
    background-color: #060b14;
    padding: 80px 0 30px 0;
    color: #ffffff;
    font-size: 14px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-left {
    flex: 1;
    max-width: 500px;
}

.footer-logo img {
    width: 140px;
    margin-bottom: 20px;
    display: block;
}

.footer-desc {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 15px;
}

.footer-nav {
    display: flex;
    gap: 30px;
    padding: 0;
}

.footer-nav li a {
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-nav li a:hover {
    color: #00ADEE;
}

.footer-right {
    flex: 1;
    max-width: 500px;
}

.footer-right h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-right p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    color: #cccccc;
    margin-bottom: 12px;
    font-size: 14px;
}

.contact-info-list li i {
    color: #00ADEE;
    font-size: 16px;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #1f2a40;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #7a8ba6;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #ffffff;
    font-size: 18px;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #00ADEE;
    transform: translateY(-2px);
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s;
    overflow-y: auto;
}

.modal-box {
    background-color: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s;
    margin: auto;
}

.wide-modal {
    max-width: 800px;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.modal-icon {
    min-width: 80px;
    margin-bottom: 0;
}

.header-text h2 {
    font-size: 24px;
    color: #2a3b5c;
    margin-bottom: 5px;
}

.header-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.modal-body h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-list {
    margin-bottom: 25px;
}

.modal-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
}

.modal-list li i {
    color: #22489D;
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-highlight {
    font-size: 14px;
    color: #444;
    margin-bottom: 30px;
}

.modal-highlight strong {
    color: #22489D;
}

.modal-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.btn-asesoria {
    background-color: #22489D;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    width: 200px;
    transition: background 0.3s;
}

.btn-cerrar {
    background-color: #d1d1d1;
    color: #333;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    width: 150px;
    transition: background 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hidden, .hidden-left, .hidden-right {
    opacity: 0;
    transition: all 1s ease-out;
}

.hidden { transform: translateY(30px); }
.hidden-left { transform: translateX(-30px); }
.hidden-right { transform: translateX(30px); }
.show { opacity: 1; transform: translate(0); }

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }


@media (max-width: 992px) {
    .menu {
        padding: 20px;
    }

    .menu-icono {
        display: block;
    }

    .menu label {
        display: block;
    }

    .btn-header {
        display: block;
        font-size: 12px;
        padding: 8px 15px;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0b111e;
        display: none;
        padding: 20px;
        text-align: center;
    }

    #menu:checked~.navbar {
        display: block;
    }

    .navbar ul {
        flex-direction: column;
        gap: 20px;
    }

    .mega-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        box-shadow: none;
        margin-top: 10px;
        background-color: #151f32;
    }

    .dropdown-item:hover .mega-menu {
        display: block;
    }

    .header-txt h1 {
        font-size: 40px;
    }

    .product-card {
        flex-direction: column-reverse !important;
        padding: 0;
    }

    .product-info {
        padding: 30px;
    }

    .product-image img {
        min-height: 250px;
    }

    .sistema-container {
        flex-direction: column;
        text-align: center;
        padding-right: 20px;
    }

    .image-right img {
        margin: 0 auto;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        max-width: 100%;
    }

    .footer-logo img {
        margin: 0 auto 20px auto;
    }

    .footer-nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .subscribe-form {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .subscribe-form input,
    .subscribe-form button {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
    }

    .modal-box {
        padding: 20px;
        margin: 10px;
    }

    .hidden-left,
    .hidden-right {
        transform: translateY(30px);
    }
}