html {
    scroll-behavior: smooth;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
}


header {
    background-color: #0b1f3d;
    position: sticky;
    top: 0;
    z-index: 50;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
}

.navlinks {
    display: flex;
    gap: 34px;
    list-style: none;
}
.navlinks a {
    color: #c7d3e8;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 4px;
}
.navlinks a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #5089ff;
    transition: width 0.25s ease;
}
.navlinks a.active {
    color: #ffffff;
}
.navlinks a.active::after {
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 900;
    font-size: 22px;
    text-decoration: none;
}
.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.nav-cta {
    background-color: #2e6ff2;
    color: #ffffff;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: 999px;
    text-decoration: none;
}

.hero {
    background: 
    radial-gradient(1100px 500px at 85% -10%, rgba(46, 111, 242, 0.25), transparent 60%),
    linear-gradient(180deg, #0b1f3d, #10294a);
    color: #ffffff;
    padding: 96px 32px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
    overflow-x: hidden;
}
.hero-content {
    max-width: 600px;
    margin: 0 auto;
}
.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}
.hero-figure {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    max-width: 380px;
    margin: 0 auto;
}
.hero-figure .ring {
    position: absolute;
    inset: 6%;
    border: 1px dashed rgba(80, 137, 255, 0.4);
    border-radius: 32px;
    animation: girar 40s linear infinite;
}
@keyframes girar {
    to {
        transform: rotate(360deg);
    }
}
.hero-figure img {
    width: 55%;
    position: relative;
    z-index: 1;
}
.hero-tag {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #dbe4f6;
}
.tag-1 {
    top: 6%;
    left: -4%;
}
.tag-2 {
    bottom: 10%;
    right: -6%;
}

.eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5089ff;
}
h1 {
    font-size: 42px;
    line-height: 1.1;
    margin: 18px 0 22px;
}
h1 span {
    color: #5089ff;
}

.hero-text {
    font-size: 17px;
    line-height: 1.65;
    color: #aebbd4;
    margin-bottom: 34px;
}

.btn-row {
    display: flex;
    gap: 14px;
}
.btn {
    font-weight: 700;
    font-size: 15px;
    padding: 15px 26px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
    background-color: #2e6ff2;
    color: #ffffff;
}
.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
.btn-primary:hover {
    background-color: #5089ff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(46, 111, 242, 0.35);
}
.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
.btn-ghost:hover {
    border-color: #5089ff;
    transform: translateY(-2px);
}

.section-head {
    max-width: 500px;
    margin: 0 auto 52px;
    text-align: center;
}
.services {
    padding: 110px 32px;
}
.services h2 {
    font-size: 34px;
    margin-top: 10px;
    color: #0f1b2e;
}
.section-text {
    color: #5b6b85;
    margin-top: 12px;
    line-height: 1.6;
}

body {
    background-color: #f4f7fb;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.svc-card {
    background-color: #ffffff;
    border: 1px solid #e6ecf5;
    border-radius: 14px;
    padding: 30px 26px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 27, 46, 0.1);
}
.svc-card h3 {
    font-size: 17px;
    color: #0f1b2e;
    margin-top: 8px;
}
.svc-card p {
    font-size: 14px;
    color: #5b6b85;
    line-height: 1.55;
}

.why {
    background-color: #10294a;
    color: #ffffff;
    padding: 100px 32px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}
.why h2 {
    font-size: 32px;
    margin: 16px 0 18px;
}
.why-intro .section-text {
    color: #aebbd4;
}
.why-points {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.why-point {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.03);
}
.why-point h3 {
    font-size: 15.5px;
    margin-top: 4px;
}
.why-point p {
    font-size: 13.5px;
    color: #9fb0cc;
}

.projects {
    padding: 110px 32px;
}
.proj-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.proj-card {
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    background-color: #1b3a63;
    display: flex;
    align-items: flex-end;
    padding: 18px;
}
.proj-card span {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}
.proj-note {
    text-align: center;
    margin-top: 26px;
    font-size: 13.5px;
    color: #5b6b85;
}

.bottom-bar {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 13px;
    color: #7488ab;
    max-width: 1100px;
    margin: 0 auto;
}
.bottom-bar a {
    font-size: 13px;
    text-decoration: none;
    color: #2e6ff2;
    margin-left: 4px;
    font-weight: 700;
    
}

.carrusel {
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}
.carrusel-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: deslizar 40s linear infinite;
}
.carrusel-track img {
    width: 260px;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
    flex-shrink: 0;
}
@keyframes deslizar {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.credit {
    color: #7488ab;
}

.wa-fab {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
}
@keyframes pulso {
    0%, 100% {
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.5);
        }
        50% {
            box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3), 0 0 0 12px rgba(37, 211, 102, 0);
        }
}
.wa-fab {
    animation: pulso 2.5s ease-in-out infinite;
}

footer {
    background-color: #0b1f3d;
    color: #c7d3e8;
    padding: 80px 32px 0;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px;
}
.foot-contact li {
    font-size: 14px;
    color: #a9b8d4;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
}
.foot-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #8ea0c2;
    margin-top: 16px;
    max-width: 280px;
}
.foot-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 18px;
}
.foot-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.foot-col ul li,
.foot-col ul a {
    font-size: 14px;
    color: #aebbd4;
    text-decoration: none;
}
.foot-brand {
    text-align: center;
}
.socials {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.socials a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
}

.socials a:hover {
    background-color: #2e6ff2;
    border-color: #2e6ff2;
}

.about {
    padding: 110px 32px;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.about-card {
    background-color: #ffffff;
    border: 1px solid #e6ecf5;
    border-radius: 14px;
    padding: 30px 26px;
}
.about-card h3 {
    font-size: 19px;
    color: #0f1b2e;
    margin-bottom: 10px;
}
.about-card p {
    font-size: 14.5px;
    color: #5b6b85;
    line-height: 1.65;
}

.svc-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2e6ff2, #5089ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 16px;
}

.contact-form-wrap {
    max-width: 560px;
    margin-top: 0 auto 60px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-row label {
    font-size: 13.5px;
    font-weight: 600;
    color: #c7d3e8;
}
.form-row input,
.form-row select,
.form-row textarea {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 14px;
    font-family: sans-serif;
}
.form-row select option {
    color: #0f1b2e;
    background-color: #ffffff;
}
.form-row textarea {
    resize: vertical;
}
.contact-form .btn {
    align-self: flex-start;
}

.contact-form-wrap {
    max-width: 900px;
    margin: 0 auto 60px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding-top: 8px;
}
.info-item {
    border-left: 2px solid #2e6ff2;
    padding-left: 16px;
}
.info-item h4 {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5089ff;
    margin-top: 6px;
}
.info-item p {
    font-size: 15px;
    color: #ffffff;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.menu-toggle {
    position: relative;
    z-index: 101;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background-color: #10294a;
    clip-path: circle(0% at calc(100% - 45px) 40px);
    transition: clip-path 0.5s ease;
    z-index: 100;
    pointer-events: none;
}
.mobile-menu.open {
    clip-path: circle(150% at calc(100% - 45px) 40px);
    pointer-events: auto;
}
.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 26px;
}
.mobile-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}
.mobile-menu .mobile-cta {
    color: #5089ff;
}

.lineas-negocio {
    margin-top: 60px;
}
.lineas-title {
    font-size: 18px;
    color: #0f1b2e;
    text-align: center;
    margin-top: 24px;
}
.lineas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.linea-card {
    background-color: #eef2fa;
    border-radius: 12px;
    padding: 22px 20px;
}
.linea-card h4 {
    font-size: 14.5px;
    color: #1b3a63;
    margin-bottom: 8px;
}
.linea-card p {
    font-size: 13px;
    color: #5b6b85;
    line-height: 1.5;
}

.hilo {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    height: 60vh;
    width: 2px;
    z-index: 40;
}

.hilo-track {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom, rgba(80, 137, 255, 0.35) 0 6px, transparent 6px 14px);
}

.hilo-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: #5089ff;
    transition: height 0.1s linear;
}

.hilo-punto {
    position: absolute;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10294a;
    border: 2px solid rgba(80, 137, 255, 0.5);
    transform: translate(-50%, -50%);
}

.clientes {
    padding: 60px 32px;
    background-color: #f4f7fb;
    border-top: 1px solid #e6ecf5;
}
.clientes-label {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5b6b85;
    margin-bottom: 28px;
}
.clientes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.clientes-grid img {
    height: 44px;
    width: auto;
    object-fit: contain;
    
    
}


.empresas {
    background: linear-gradient(160deg, #0b1f3d, #1b3a63);
    color: #ffffff;
    padding: 100px 32px;
    text-align: center;
}
.empresas .eyebrow {
    color: #5089ff;
}
.empresas h2 {
    color: #ffffff;
    font-size: 32px;
    margin: 16px 0 18px;
}
.empresas .section-text {
    color: #aebbd4;
    margin-left: auto;
    margin-right: auto;
}
.empresas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 40px;
}
.empresa-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 26px 22px;
    text-align: left;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.empresa-card:hover {
    transform: translateY(-6px);
    border-color: #5089ff;
}
.empresa-card h3 {
    font-size: 15.5px;
    margin-bottom: 8px;
}
.empresa-card p {
    font-size: 13.5px;
    color: #9fb0cc;
    line-height: 1.55;
}
.empresas-cta {
    display: inline-block;
}

@media (max-width: 900px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .why {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
    .navlinks {
        gap: 18px;
    }
    .navlinks a {
        font-size: 13px;
    }
    .nav-cta {
        white-space: nowrap;
        font-size: 13px;
        padding: 10px 16px;
    }
    .navlinks {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .lineas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .empresas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 30px;
    }

    .hero,
    .services,
    .about,
    .why,
    .projects {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .svc-grid {
        grid-template-columns: 1fr;
    }

    .proj-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why h2,
    .services h2,
    .about h2 {
        font-size: 26px;
    }
    .brand {
        font-size: 16px;
        gap: 8px;
    }
    .brand img {
        width: 32px;
        height: 32px;
    }
    nav {
        padding: 12px 20px;
        gap: 10px;
    }
    .nav-cta {
        font-size: 12px;
        padding: 8px 12px;
    }
    .bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        text-align: left;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-figure {
        max-width: 220px;
        margin: 24px auto 0;
    }
    .hero-tag {
        font-size: 11px;
        padding: 6px 10px;
    }
    .lineas-grid {
        grid-template-columns: 1fr;
    }
    .foot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
}
.empresas-grid {
    grid-template-columns: 1fr;
}
.empresas {
    padding: 56px 24px;
}
.empresa-card {
    padding: 20px 18px;
}
.clientes {
    padding: 40px 24px;
}
.clientes-grid {
    gap: 20px;
}
.clientes-grid span {
    font-size: 13px;
}
.lineas-grid {
    gap: 14px;
}
.linea-card {
    padding: 18px 16px;
}
.contact-form,
.contact-info {
    min-width: 0;
}
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}


