/* ===== Global Nexus - Landing ===== */
:root {
    --navy: #0a2540;
    --navy-2: #103a64;
    --blue: #2c74b3;
    --blue-light: #4f9ad6;
    --gold: #f4a72b;
    --gold-dark: #e0921a;
    --text: #1f2d3d;
    --muted: #5b6b7d;
    --bg-soft: #f5f8fc;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(10, 37, 64, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== Botones ===== */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    cursor: pointer;
    border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px rgba(244, 167, 43, .35); }
.btn--primary:hover { background: var(--gold-dark); }
.btn--ghost { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: rgba(255, 255, 255, .15); }
.btn--light { background: var(--white); color: var(--navy); box-shadow: var(--shadow); }

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 37, 64, .55);
    backdrop-filter: blur(8px);
    transition: background .3s ease, box-shadow .3s ease;
}
.navbar.scrolled { background: var(--navy); box-shadow: 0 4px 20px rgba(0, 0, 0, .2); }
.navbar__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar__brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.navbar__brand-icon {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 10px;
    font-size: 1.2rem;
}
.navbar__brand-text { font-size: 1.25rem; font-weight: 600; letter-spacing: 1px; }
.navbar__brand-text strong { font-weight: 800; }
.navbar__menu { display: flex; align-items: center; gap: 26px; }
.navbar__link { color: rgba(255, 255, 255, .9); font-size: .92rem; font-weight: 500; transition: color .2s ease; }
.navbar__link:hover { color: var(--gold); }
.navbar__link--btn {
    background: var(--gold); color: var(--navy);
    padding: 9px 20px; border-radius: 50px; font-weight: 600;
}
.navbar__link--btn:hover { background: var(--gold-dark); color: var(--navy); }
.navbar__toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('/img/fondo.jpg') center/cover no-repeat fixed;
    color: var(--white);
}
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(10, 37, 64, .92) 0%, rgba(10, 37, 64, .65) 55%, rgba(10, 37, 64, .4) 100%);
}
.hero__content {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 24px 60px;
}
.hero__eyebrow {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.hero__title { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; line-height: 1.1; margin-bottom: 18px; }
.hero__title span { color: var(--gold); }
.hero__text { font-size: 1.2rem; max-width: 560px; color: rgba(255, 255, 255, .9); margin-bottom: 32px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 38px; }
.hero__social { display: flex; gap: 14px; }
.hero__social a {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    color: var(--white);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.hero__social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-3px); }

/* ===== Franja ===== */
.strip {
    background: var(--navy-2);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 50px;
    padding: 26px 24px;
}
.strip__item { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 500; }
.strip__item i { color: var(--gold); font-size: 1.4rem; }

/* ===== Secciones genéricas ===== */
.section__head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section__eyebrow { color: var(--blue); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; font-size: .85rem; margin-bottom: 10px; }
.section__title { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; color: var(--navy); }
.section__title--light { color: var(--white); }
.section__subtitle { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ===== Servicios ===== */
.services { padding: 100px 24px; background: var(--bg-soft); }
.services__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 38px 30px;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
    border-bottom: 3px solid transparent;
}
.service-card:hover { transform: translateY(-8px); border-bottom-color: var(--gold); }
.service-card__icon {
    width: 64px; height: 64px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: var(--white);
    border-radius: 14px;
    font-size: 1.6rem;
    margin-bottom: 22px;
}
.service-card h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: .96rem; }

/* ===== Misión ===== */
.mission { padding: 100px 24px; background: var(--navy); color: var(--white); }
.mission__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
    align-items: center;
}
.mission__text .section__eyebrow { color: var(--blue-light); }
.mission__text p { color: rgba(255, 255, 255, .85); margin: 18px 0; }
.mission__list { list-style: none; margin: 0 0 28px; }
.mission__list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: rgba(255, 255, 255, .9); }
.mission__list i { color: var(--gold); }
.mission__stats { display: grid; gap: 20px; }
.stat {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
}
.stat__num { font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat__label { color: rgba(255, 255, 255, .8); margin-top: 6px; font-size: .95rem; }

/* ===== CTA ===== */
.cta {
    text-align: center;
    padding: 90px 24px;
    background: linear-gradient(120deg, var(--blue), var(--navy));
    color: var(--white);
}
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, .9); margin-bottom: 30px; font-size: 1.1rem; }

/* ===== Footer ===== */
.footer { background: #07182b; color: rgba(255, 255, 255, .8); padding: 70px 24px 0; }
.footer__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}
.navbar__brand--footer { margin-bottom: 18px; }
.footer__about { font-size: .95rem; margin-bottom: 20px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
    color: var(--white);
    transition: background .2s ease, transform .2s ease;
}
.footer__social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer__col h4 { color: var(--white); margin-bottom: 18px; font-size: 1.05rem; }
.footer__col a { display: block; margin-bottom: 10px; color: rgba(255, 255, 255, .75); transition: color .2s ease; }
.footer__col a:hover { color: var(--gold); }
.footer__col p { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer__col p i { color: var(--gold); width: 18px; }
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 22px 0;
    text-align: center;
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .navbar__menu {
        position: fixed;
        top: 68px; right: 0;
        width: 260px;
        height: calc(100vh - 68px);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: var(--navy);
        padding: 24px;
        transform: translateX(110%);
        transition: transform .3s ease;
        box-shadow: -8px 0 30px rgba(0, 0, 0, .3);
    }
    .navbar__menu.open { transform: translateX(0); }
    .navbar__link { width: 100%; padding: 10px 0; }
    .navbar__link--btn { text-align: center; margin-top: 8px; }
    .navbar__toggle { display: block; }
    .navbar { background: var(--navy); }
    .hero { background-attachment: scroll; }
    .mission__inner { grid-template-columns: 1fr; gap: 40px; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; align-items: flex-start; }
    .btn { width: 100%; text-align: center; }
    .strip { gap: 14px 26px; }
}
