* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: #f5f7fa;
    color: #20252b;
    line-height: 1.6;
}

/* =====================================================
    HEADER
===================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e7e9ec;
}

.header-container {
    width: min(1180px, 92%);
    margin: auto;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #111;
}

.logo {
    width: 112px;
    height: auto;
    max-width: 100%;
    max-height: 42px;
    object-fit: contain;
    display: block;
}

.brand-divider {
    width: 1px;
    height: 28px;
    background: #d9dce0;
}

.brand-title {
    font-size: 14px;
    font-weight: 600;
    color: #656b72;
    letter-spacing: .4px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: #555c63;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: .2s;
}

.nav a:hover {
    color: #000144;
}

.nav-button {
    padding: 10px 18px;
    border-radius: 8px;
    background: #000144;
    color: white !important;
    box-shadow: 0 5px 15px rgba(33, 149, 243, 0.2);
}

/* ==========================================================
   MENÚ HAMBURGUESA
   ========================================================== */
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 1px solid #e1e4e7;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

}

/* Líneas del botón */
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #252a30;
    border-radius: 5px;
    transition: all .3s ease;

}

/* ==========================================================
   ANIMACIÓN DEL BOTÓN
   ========================================================== */

.menu-toggle.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}

/* ==========================================================
   ANIMACIÓN HAMBURGUESA
   ========================================================== */

.menu-toggle.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}

/* ==========================================================
CREDENCIALES DE AMBIENTE
/* ==========================================================*/
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.credential-card {
    background: #ffffff;
    border: 1px solid #e4e9ef;
    border-radius: 16px;
    padding: 30px;
    min-height: 230px;

    box-shadow: 0 8px 25px rgba(15, 35, 55, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.credential-card:hover {
    transform: translateY(-8px);
    border-color: #0783ca;

    box-shadow:
        0 18px 40px rgba(7, 131, 202, 0.16);
}

.credential-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #edf0f4;
}

.credential-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    background: #eef8fd;

    font-size: 21px;
}

.credential-card-header h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    color: #152536;
}

.credential-data {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.credential-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.credential-item span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #7b8794;
}

.credential-item strong {
    display: block;
    padding: 11px 13px;

    background: #f7f9fb;
    border: 1px solid #e8edf2;
    border-radius: 8px;

    color: #263746;
    font-size: 14px;
    font-weight: 500;

    word-break: break-word;
    font-family: monospace;
}


/*
   RESPONSIVE DESIGN
   ========================================================== */
/* ----------------------------------------------------------
   CELULARES
   Pantallas menores a 700px
   ---------------------------------------------------------- */
@media screen and (max-width: 700px) {
    /* ==========================================
       HEADER
       ========================================== */
    .header-container {
        height: 65px;
        width: 92%;
    }

    .brand-divider,
    .brand-title {
        display: none;
    }

    .logo {
        width: 85px;
        max-height: 32px;
    }

    .nav {
        /*display: none;*/
         top: 65px;
    }

    @media screen and (max-width: 700px) {

    .header-container {
        height: 65px;
    }

    @media screen and (max-width: 700px) {

    .header-container {

        height: 65px;

    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }
}

}

    /* ==========================================
       HERO
       ========================================== */
    .hero {
        padding: 65px 0 55px;
    }

    .hero-container {
        width: 92%;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.05;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* ==========================================
       HERO CARD
       ========================================== */
    .hero-card {
        padding: 20px;
    }

    .architecture {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ==========================================
       SECCIONES
       ========================================== */
    .section {
        width: 92%;
        padding: 55px 0;
    }

    .section-header {
        display: block;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 30px;
    }

    .section-description {
        margin-top: 12px;
        font-size: 13px;
    }

    /* ==========================================
       SLIDER
       ========================================== */
    .slider {
        gap: 15px;
    }

    .slider-card {
        flex: 0 0 85%;
        min-height: 220px;
    }

    .slider-arrow {
        display: none;
    }

    /* ==========================================
       GALERÍA
       ========================================== */
    .gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .demo-card {
        min-height: 210px;
    }

    /* ==========================================
       INFORMACIÓN
       ========================================== */
    .info-container {
        width: 92%;
        padding: 55px 0;
    }

    .info-container h2 {
        font-size: 28px;
    }

    .info-items {
        grid-template-columns: 1fr;
    }

	.info-item {
        display: flex;
        flex-direction: column;
        gap: 6px;

        padding: 18px 20px;

        color: inherit;
        text-decoration: none;

        background: #fff;
        border: 1px solid #e3edf5;
        border-radius: 14px;

        transition:
            transform 0.25s ease,
            box-shadow 0.25s ease,
            border-color 0.25s ease,
            background 0.25s ease;

        cursor: pointer;
    }

    .info-item strong {
        color: #102a43;
        font-size: 16px;
    }

    .info-item span {
        color: #607d94;
        font-size: 13px;
    }

    /* Hover */
    .info-item:hover {
        transform: translateY(-4px);
        border-color: #048fec;
        box-shadow: 0 10px 25px rgba(16, 42, 67, 0.12);
        background: #f8fcff;
    }
    /* ==========================================
       FOOTER
       ========================================== */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-container {
        width: 92%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ----------------------------------------------------------
   CELULARES PEQUEÑOS - Pantallas menores a 400px
   ---------------------------------------------------------- */
@media screen and (max-width: 400px) {

    .hero h1 {
        font-size: 34px;
    }

    .section-title {
        font-size: 26px;
    }

    .architecture {
        grid-template-columns: 1fr;
    }

    .hero-card {
        padding: 16px;
    }

    .slider-card {
        flex-basis: 90%;
    }

    .demo-card {
        padding: 20px;
    }

    @media screen and (max-width: 400px) {

    .logo {
        width: 75px;
        max-height: 28px;
    }

}
}

/* ----------------------------------------------------------
   TABLETS
   Pantallas menores a 1000px
   --------------------------------------------------------- */
@media screen and (max-width: 1000px) {
    /* Contenedor general */
    .header-container,
    .section,
    .hero-container,
    .info-container,
    .footer-container {
    width: 90%;
    }


    .header-container {
        position: relative;
    }

    /* HERO */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* GALERÍA */
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    /* INFORMACIÓN */
    .info-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* FOOTER */
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    @media screen and (max-width: 1000px) {

    .logo {
        width: 100px;
        max-height: 38px;
    }

    @media screen and (max-width: 1000px) {

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .nav {
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #e7e9ec;
        border-bottom: 1px solid #e7e9ec;
        padding: 15px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        box-shadow: 0 12px 25px rgba(0,0,0,.08);
        z-index: 999;
    }

    /* Cuando JavaScript agrega .active */
    .nav.active {
        display: flex;
    }

    .nav a {
        /*display: block;*/
        width: 100%;
        padding: 13px 15px;
        border-radius: 7px;
        text-align: left;
    }

    .nav a:hover {
        background: #f7f7f7;
    }

    .nav-button {
        text-align: center !important;
        margin-top: 5px;
    }

}

}
}
/* =====================================================
    HERO
===================================================== */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(243,108,33,.18),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            #15191d,
            #252a30
        );

    color: white;
    padding: 100px 0 90px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    right: -150px;
    bottom: -250px;
}

.hero-container {
    width: min(1180px, 92%);
    margin: auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 70px;
    align-items: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.05);
    border-radius: 30px;
    font-size: 12px;
    color: #d9dde1;
    margin-bottom: 22px;
}

.hero-label span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #36d37c;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero h1 strong {
    color: #000144;
    font-weight: 700;
}

.hero-description {
    max-width: 680px;
    font-size: 18px;
    color: #c6cbd0;
    line-height: 1.7;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .25s;
}

.btn-primary {
    background: #000144;
    color: white;
    box-shadow: 0 5px 15px rgba(33, 149, 243, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #0783ca;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.2);
    color: white;
}


.btn-outline:hover {
    background: rgba(255,255,255,.08);
}

/* =====================================================
    HERO CARD
===================================================== */

.hero-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 70px rgba(0,0,0,.25);
}

.hero-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.hero-card-title {
    font-size: 14px;
    color: #cdd1d5;
}

.status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: #0783ca;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0783ca;
}

.architecture {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

.architecture-item {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(255,255,255,.06);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.07);
    font-size: 12px;
    color: #d8dce0;
}

.architecture-item strong {
    font-size: 25px;
    margin-bottom: 7px;
}

/* =====================================================
    SECTION
===================================================== */

.section {
    width: min(1180px, 92%);
    margin: auto;
    padding: 90px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 35px;
}

.section-label {
    color: #0783ca;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 36px;
    letter-spacing: -1px;
    color: #191d21;
}

.section-description {
    max-width: 520px;
    color: #727980;
    font-size: 14px;
}

/* =====================================================
    SLIDER
===================================================== */
.slider-wrapper {
    position: relative;
}

.slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 8px 4px 20px;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slider-card {
    flex: 0 0 360px;
    min-height: 240px;
    padding: 30px;
    background: white;
    border: 1px solid #e7e9ec;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    transition: .3s;
    text-decoration: none;
    color: inherit;
}

.slider-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(20,25,30,.10);
    border-color: #000144;
}

.slider-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1e8;
    border-radius: 13px;
    font-size: 25px;
    margin-bottom: 25px;
}

.slider-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.slider-card p {
    font-size: 13px;
    color: #737980;
    line-height: 1.7;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e2e5e8;
    background: white;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.slider-prev {
    left: -20px;
}

.slider-next {
    right: -20px;
}

/* =====================================================
    GALLERY
===================================================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.demo-card {
    background: white;
    border: 1px solid #e5e8eb;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    transition: .3s;
    position: relative;
    overflow: hidden;
}

.demo-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #000144;
    transform: scaleX(0);
    transform-origin: left;
    transition: .3s;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(20,25,30,.09);
}

.demo-card:hover::before {
    transform: scaleX(1);
}

.demo-card-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f6f7;
    border-radius: 12px;
    font-size: 21px;
    margin-bottom: 20px;
}

.demo-category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000144;
    margin-bottom: 5px;
}

.demo-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.demo-card p {
    font-size: 12px;
    color: #777e85;
    line-height: 1.6;
}

.demo-link {
    margin-top: auto;
    padding-top: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #252a30;
}

/* =====================================================
    INFO STRIP
===================================================== */
.info-section {
    background: #044099;
    color: white;
}

.info-container {
    width: min(1180px,92%);
    margin: auto;
    padding: 70px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-container h2 {
    font-size: 34px;
    margin-bottom: 15px;
}

.info-container p {
    color: #b9bec3;
    font-size: 14px;
    line-height: 1.8;
}

.info-items {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
}

.info-item {
    padding: 18px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    font-size: 13px;
}

.info-item strong {
    display: block;
    color: white;
    margin-bottom: 4px;
}

.info-item span {
    color: #92989e;
    font-size: 11px;
}

/* =====================================================
    FOOTER
===================================================== */

footer {
    background: #0F1B4C;
    color: white;
}


.footer-container {
    width: min(1180px,92%);
    margin: auto;
    padding: 55px 0 25px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand {
    max-width: 400px;
}

.footer-brand h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.footer-brand p {
    color: #858c92;
    font-size: 13px;
    line-height: 1.8;
}

.footer-column h4 {
    font-size: 13px;
    margin-bottom: 15px;
    color: white;
}

.footer-column a {
    display: block;
    color: #858c92;
    text-decoration: none;
    font-size: 12px;
    margin-bottom: 9px;
    transition: .2s;
}

.footer-column a:hover {
    color: #000144;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 22px;
    color: #646b71;
    font-size: 11px;
}

.developer {
    color: #858c92;
}


.developer strong {
    color: #000144;
}


/* =====================================================
    RESPONSIVE
===================================================== */
@media(max-width: 1000px) {
    .gallery {
        grid-template-columns: repeat(2,1fr);
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .info-container {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 700px) {
    .nav {
        display: none;
    }

    .hero {
        padding: 70px 0;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        display: block;
    }

    .section-description {
        margin-top: 15px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .slider-card {
        flex-basis: 290px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}