﻿:root {
    --bg: #0b1b2e;
    --txt: #e9eef5;
    --muted: #b8c2cf;
    --brand: #91D42C;
    --brand-d: #63a70f;
    --nav-bg: #ffffff;
    --nav-txt: #23272f;
    --container: 1200px;
    --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
}


/* 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: 1100px
}

.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: 0 0 28px;
    color: var(--muted);
    max-width: 820px;
    padding: 12px 16px;
    text-align: center;
}*/
.hero__subtitle {
    font-size: clamp(1rem, 0.8rem + 0.7vw, 1.2rem);
    text-align: center;
}
/* TECH */
.tech {
    padding: 72px 0;
    background: #f2f3f4
}

.tech__title {
    text-align: center;
    margin: 0 0 6px;
    color: #3a3a3a;
    font-weight: 400;
    font-size: 48px;
}

.tech__title .tech__title-strong {
        font-weight: 800;
}
.tech__highlight {
    display: block
}

.tech__rule {
    display: block;
    width: 140px;
    height: 6px;
    border-radius: 999px;
    margin: 10px auto 34px;
    background: linear-gradient(90deg,#8BE019 0%,#2b6bdc 100%)
}

.tech__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.tech-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px 18px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    border: 1px solid #e9eef5
}

    .tech-card:hover {
        box-shadow: 0 12px 28px rgba(0,0,0,.08)
    }

.tech-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #eef2f6
}

.tech-card__brand {
    height: 46px;
    width: auto;
    object-fit: contain
}

.tech-card__title {
    margin: 0 0 6px;
    color: #666666;
    font-weight: 700;
    font-size: clamp(1.05rem,0.9rem + .6vw,1.25rem);
    line-height: 1.25
}

.tech-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-card__media img {
    width: clamp(170px, 14vw, 220px);
    height: auto;
    max-height: 120px;
    object-fit: contain;
}

.tech-card__kicker {
    margin: 0 0 6px;
    font-weight: 700;
    color: #666666;
    font-size: .9rem
}

.tech-card__text {
    margin: 0;
    color: #546273;
    line-height: 1.45;
    font-size: .95rem
}

/* 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__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;
    }

    /*TECH*/
    .tech__grid {
        gap: 22px
    }
}

@media (max-width:1024px) {
    .eff__grid {
        grid-template-columns: 1fr;
        gap: 36px
    }
}

@media (max-width: 992px) {

    /*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
    }

    /*TECH*/
    .tech__grid {
        grid-template-columns: 1fr
    }
}

@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;
    }
}
.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);
}
/* Solo afecta al hero de About */
.hero .hero__subtitle {
    margin-top: 40px;
}