:root {
    --bg: #0b1220;
    --card: rgba(255,255,255,.06);
    --card2: rgba(255,255,255,.10);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.70);
    --brand: #60c06c;
    --brand2: #2f7dd1;
    --line: rgba(255,255,255,.10);
    --shadow: 0 10px 30px rgba(0,0,0,.35);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Arial,sans-serif;
    background: radial-gradient(800px 600px at 10% 10%, rgba(47,125,209,.20), transparent 60%), radial-gradient(900px 700px at 90% 20%, rgba(96,192,108,.16), transparent 60%), var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 12px;
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11,18,32,.70);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.topbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand__logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    object-fit: cover;
    background: #fff;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand__title {
    font-weight: 800;
    letter-spacing: .2px;
}

.brand__subtitle {
    font-size: 12px;
    color: var(--muted);
}

.nav {
    display: flex;
    gap: 14px;
    align-items: center;
}

    .nav a {
        color: var(--muted);
        font-size: 14px;
    }

        .nav a:hover {
            color: var(--text);
        }

        .nav a.active {
            color: var(--text);
            font-weight: 800;
        }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand2), var(--brand));
    color: #06101e;
    font-weight: 800;
    border: 0;
    box-shadow: var(--shadow);
    cursor: pointer;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.btn--ghost {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
    box-shadow: none;
}

    .btn--ghost:hover {
        background: rgba(255,255,255,.06);
    }

.btn--sm {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
}

.btn--soft {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: var(--text);
    box-shadow: none;
}

    .btn--soft:hover {
        background: rgba(255,255,255,.10);
    }

/* Hero */
.hero {
    padding: 34px 0 10px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 26px;
    align-items: center;
}

.hero__content h1 {
    margin: 0 0 10px;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.1;
}

.lead {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: clamp(14px, 1.15vw, 18px);
}

.hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0 8px;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    color: var(--text);
    font-size: 13px;
}

/* Media */
.mediaCard {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    box-shadow: var(--shadow);
}

    .mediaCard img {
        width: 100%;
        height: 320px;
        object-fit: cover;
    }

.mediaMiniGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.mediaMini {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
}

    .mediaMini img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

/* Sections */
.section {
    padding: 34px 0;
}

.section--soft {
    background: rgba(255,255,255,.03);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section__head {
    margin-bottom: 18px;
}

    .section__head h2 {
        margin: 0 0 6px;
        font-size: clamp(22px, 2.2vw, 30px);
    }

    .section__head p {
        margin: 0;
    }

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.card {
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    box-shadow: 0 6px 18px rgba(0,0,0,.22);
}

    .card h3 {
        margin: 0 0 8px;
    }

    .card p {
        margin: 0;
        color: var(--muted);
    }

/* Portafolio grids */
.cards--2 {
    grid-template-columns: repeat(2, 1fr);
}

.cards--3 {
    grid-template-columns: repeat(3, 1fr);
}

.promoCard {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promoImg {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--line);
}

/* Steps */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.step {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
}

.step__num {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(96,192,108,.18);
    border: 1px solid rgba(96,192,108,.25);
    font-weight: 900;
}

.step__body h3 {
    margin: 0 0 6px;
}

.step__body p {
    margin: 0;
    color: var(--muted);
}

/* CTA */
.ctaCard {
    margin-top: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(47,125,209,.18), rgba(96,192,108,.14));
}

    .ctaCard h3 {
        margin: 0 0 6px;
    }

    .ctaCard p {
        margin: 0;
    }

/* Footer */
.footer {
    padding: 18px 0;
    border-top: 1px solid var(--line);
    background: rgba(11,18,32,.55);
}

.footer__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

/* Responsive */
@media (max-width: 980px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .cards--2 {
        grid-template-columns: 1fr;
    }

    .cards--3 {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .mediaCard img {
        height: 260px;
    }

    .promoImg {
        height: 240px;
    }
}

@media (max-width: 560px) {
    .mediaMiniGrid {
        grid-template-columns: 1fr;
    }

    .mediaMini img {
        height: 170px;
    }
}
