﻿body {
}

:root {
    --bg: #0b1b2e;
    --txt: #e9eef5;
    --muted: #b8c2cf;
    --brand: #91D42C; /* verde botón */
    --brand-d: #63a70f;
    --nav-bg: #ffffff;
    --nav-txt: #23272f;
    --container: 1200px;
    --logo-gap: 26px;
    --radius: 16px;
    --gap: 26px;
    --loop: 0px;
    --dur: 22s;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--txt);
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Arial,sans-serif;
    background: white;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--nav-bg);
    border-bottom: 1px solid #e5e9f0
}

.header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none
}

.brand__logo {
    height: 44px;
    width: auto
}

.main-nav {
    position: relative
}

.main-nav__list {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0
}

.main-nav__link {
    text-decoration: none;
    color: var(--nav-txt);
    font-weight: 600;
    padding: 10px 0
}

    .main-nav__link.is-active {
        color: #111
    }

    .main-nav__link:hover {
        color: #000
    }

.main-nav__toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px
}

    .main-nav__toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: #333;
        margin: 5px 0
    }

/* Hero */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: center/cover no-repeat url("../img/banner-home.png");
    background-color: #0d1220;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 1000px
}

.hero__title {
    margin: 0 0 14px;
    line-height: 1.1;
    font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem);
    letter-spacing: .2px;
}

.hero__highlight {
    color: var(--brand)
}
/*
.hero__subtitle {
    font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.55rem);
    line-height: 1.45;
    margin: 30px 0 28px;
    color: var(--muted);
    max-width: 820px;
    padding: 12px 16px;
}*/
.hero__subtitle {
    font-size: clamp(1rem, 0.8rem + 0.7vw, 1.2rem);
    text-align: center;
}

/* ABOUT */
.about {
    background: #f2f3f4;
    padding: 72px 0 96px;
    position: relative;
}

.about__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about__media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.about__kicker {
    margin: 0 0 8px;
    font-size: 28px;
    color: #555;
    font-weight: 600;
}

.about__title {
    margin: 0;
    font-size: clamp(2rem,1.2rem + 2.5vw,3rem);
    font-weight: 400;
    color: #333;
}

.about__rule {
    display: block;
    width: 180px;
    height: 8px;
    border-radius: 999px;
    margin: 14px 0 18px;
    background: linear-gradient(90deg,#8BE019 0%, #2b6bdc 100%);
}

.about__text {
    color: #4a4f57;
    font-size: 1.125rem;
    line-height: 1.55;
    margin: 0 0 28px;
}

.about__content {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.about__cta {
    border-radius: 16px;
    padding: 16px 28px;
}

.about__scroll {
    position: absolute;
    left: 50%;
    bottom: -22px; /* sobresale hacia la siguiente sección */
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: #3a3d41;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    z-index: 10;
}

    .about__scroll:hover {
        background: #2b2e32;
    }


@media (min-width: 992px) {
}

@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
    }

    .solutions__grid--reverse {
        grid-template-columns: 1fr;
    }

    .clients__grid {
        grid-template-columns: 1fr
    }

    .clients__copy {
        text-align: center
    }

    .about__media {
        order: -1;
        min-height: 300px;
    }
}

/* Efficiency */
.efficiency {
    padding: 80px 0;
    background: #fff
}

.eff__title {
    margin: 0 0 6px;
    font-weight: 400;
    color: #3b3f45;
    font-size: clamp(1.8rem,1.1rem + 2.6vw,3rem)
}

.eff__highlight {
    display: block;
    font-weight: 800;
}

.eff__rule {
    display: block;
    width: 170px;
    height: 8px;
    border-radius: 999px;
    margin: 14px 0 42px;
    background: linear-gradient(90deg,#8BE019 0%,#2b6bdc 100%)
}

.eff__grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* dos columnas como en el diseño */
    gap: 46px 60px;
}

.eff__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: flex-start
}

.eff__item > img {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    object-fit: contain;
}

.eff__icon {
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: #0a63a8;
    display: grid;
    place-items: center;
    flex: none;
}

    .eff__icon img {
        width: 44px;
        height: 44px;
        object-fit: contain;
        filter: invert(1) brightness(3)
    }

.eff__content p {
    margin: .35rem 0 0;
    color: #5a6472;
    font-size: 0.96rem;
    line-height: 1.5;
    max-width: 60ch
}

.eff__item-title {
    margin: 0;
    color: #4a4f57;
    font-weight: 800;
    font-size: 1.12rem;
    line-height: 1.3
}

/* FORM */
.cta {
    background: radial-gradient(circle at 30% 90%,#3ec6c9 0%,transparent 35%), linear-gradient(180deg,#0c1f4f 0%,#0a2d66 40%,#138a96 100%);
    color: #fff;
    padding: clamp(2rem,6vw,6rem) 0;
}

.cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    align-items: start;
}

.cta__title {
    margin: 0 0 12px;
    font-weight: 400;
    line-height: 1.2;
    font-size: clamp(1.6rem, 0.9rem + 2vw, 2.6rem);
}

.cta__rule {
    display: block;
    width: 180px;
    height: 8px;
    border-radius: 999px;
    margin: 14px 0 18px;
    background: linear-gradient(90deg,#8BE019 0%, #2b6bdc 100%);
}

.cta__text {
    color: #d7e6f2;
    max-width: 48ch;
    margin: 0;
    font-size: clamp(1rem, 0.8rem + 0.7vw, 1.5rem);
}

.cta__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .cta__form input, .cta__form textarea {
        width: 100%;
        border: none;
        border-radius: 16px;
        padding: 16px 20px;
        font-size: 1rem;
    }

    .cta__form textarea {
        min-height: 110px;
        resize: vertical;
    }

    .cta__form .button {
        align-self: self-end;
        min-width: min(100%,320px);
    }

/* Responsive */

@media (min-width:1200px) {
    .cta__form input, .cta__form textarea {
        font-size: 1.05rem;
        padding: 18px 22px;
    }

    .cta .container {
        max-width: 1600px !important;
    }
}

@media (max-width:1024px) {
    .eff__grid {
        grid-template-columns: 1fr;
        gap: 36px
    }
}

@media (max-width: 992px) {
    .main-nav__toggle {
        display: block
    }

    .main-nav__list {
        position: absolute;
        right: 0;
        top: 56px;
        display: none;
        flex-direction: column;
        background: #fff;
        border: 1px solid #e5e9f0;
        border-radius: 12px;
        padding: 12px;
        min-width: 220px;
    }

        .main-nav__list.is-open {
            display: flex
        }

    /*FORM*/
    .cta__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta__form {
        width: 90%;
    }

    .cta__content {
        text-align: center
    }

    .cta__text {
        margin: 0 auto
    }

    .cta__rule {
        margin-inline: auto
    }

    .cta__form {
        max-width: 640px;
        margin: 0 auto
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: 68vh
    }

    .hero__subtitle {
        margin-bottom: 22px;
        font-size: clamp(1rem, 0.8rem + 0.7vw, 1.5rem);
    }
}

@media (max-width: 600px) {
    .cta {
        padding: 32px 16px;
    }

    .cta__form {
        gap: 12px
    }

        .cta__form .button {
            min-width: 100%
        }
}

@media (max-width:760px) {
    .hero {
        min-height: 60svh;
    }
}
/* Solo afecta al hero de About */
.hero .hero__subtitle {
    margin-top: 40px;
}