/* ============================================================
   FxCRECE
   HOME PUBLICO
   ============================================================ */

:root {
    --bg: #061113;
    --bg-soft: #0a191c;
    --panel: #102629;
    --panel-2: #142d30;

    --text: #f6f8f8;
    --muted: #80b3bd;
    --muted-light: #b6cdd1;

    --accent: #f4d524;
    --accent-dark: #c8ad00;

    --border: rgba(150, 200, 208, 0.18);

    --max-width: 1180px;
    --radius: 26px;
}


/* ============================================================
   RESET
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin-inline: auto;
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(6, 17, 19, 0.94);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(14px);
}

.nav {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;

    font-size: 27px;
    font-weight: 900;
    letter-spacing: -1.2px;
}

.brand-fx {
    color: var(--text);
}

.brand-crece {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;

    color: var(--muted-light);
    font-size: 14px;
    font-weight: 700;
}

.nav-links > a:not(.btn):hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: transparent;

    cursor: pointer;
}

.nav-toggle span {
    display: block;

    width: 20px;
    height: 2px;

    margin: 4px auto;

    background: var(--text);
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 26px;

    border: 1px solid var(--accent);
    border-radius: 12px;

    background: var(--accent);
    color: #071113;

    font-weight: 900;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.btn:hover {
    background: #ffe02b;
    transform: translateY(-2px);
}

.btn-small {
    min-height: 42px;
    padding: 0 21px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 26px;

    border: 1px solid var(--border);
    border-radius: 12px;

    color: var(--text);

    font-weight: 800;
}

.btn-secondary:hover {
    border-color: var(--accent);
}

.btn-dark {
    flex-shrink: 0;

    border-color: #071113;
    background: #071113;
    color: white;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.eyebrow {
    margin-bottom: 17px;

    color: var(--accent);

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 2px;
}

.eyebrow.dark {
    color: #071113;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;

    margin-bottom: 26px;

    font-size: clamp(46px, 6vw, 78px);
    line-height: 1.02;

    letter-spacing: -3px;
}

h1 span,
.section-heading h2 span {
    color: var(--accent);
}

h2 {
    margin-bottom: 22px;

    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;

    letter-spacing: -2px;
}

h3 {
    font-size: 21px;
    line-height: 1.25;
}

p {
    color: var(--muted-light);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    overflow: hidden;

    padding: 105px 0 110px;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(244, 213, 36, 0.07),
            transparent 30%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    gap: 70px;

    align-items: center;
}

.hero-text {
    max-width: 700px;

    margin-bottom: 34px;

    font-size: 19px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 28px;
}

.hero-note {
    max-width: 680px;

    margin: 0;

    color: var(--muted);

    font-size: 12px;
}

.hero-panel {
    padding: 38px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(20, 45, 48, 0.95),
            rgba(9, 27, 30, 0.95)
        );

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.panel-label {
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.5px;
}

.hero-number {
    margin-bottom: 16px;

    color: var(--accent);

    font-size: 70px;
    font-weight: 900;

    line-height: 1;
}

.hero-panel h2 {
    margin-bottom: 12px;

    font-size: 30px;
    letter-spacing: -1px;
}

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 32px;
}

.mini-grid div {
    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: rgba(5, 18, 20, 0.45);
}

.mini-grid span,
.mini-grid strong {
    display: block;
}

.mini-grid span {
    margin-bottom: 5px;

    color: var(--muted);

    font-size: 11px;
}

.mini-grid strong {
    font-size: 14px;
}


/* ============================================================
   GENERAL SECTIONS
   ============================================================ */

.section {
    padding: 105px 0;
}

.section-alt {
    background: var(--bg-soft);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-heading {
    max-width: 820px;

    margin-bottom: 55px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;

    text-align: center;
}

.section-heading p {
    max-width: 700px;

    font-size: 17px;
}


/* ============================================================
   STEPS
   ============================================================ */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.step-card,
.feature-card {
    min-height: 270px;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: rgba(16, 38, 41, 0.65);
}

.step-number,
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    margin-bottom: 35px;

    border-radius: 50%;

    background: var(--accent);
    color: #071113;

    font-size: 12px;
    font-weight: 900;
}

.step-card p,
.feature-card p {
    margin-bottom: 0;

    color: var(--muted);

    font-size: 14px;
}


/* ============================================================
   MODEL
   ============================================================ */

.model-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;

    gap: 100px;

    align-items: center;
}

.large-copy {
    font-size: 18px;
    line-height: 1.8;
}

.capital-flow {
    padding: 34px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--panel);
}

.flow-item {
    display: flex;
    align-items: center;

    gap: 18px;
}

.flow-item > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    border: 1px solid rgba(244, 213, 36, 0.4);
    border-radius: 50%;

    color: var(--accent);

    font-size: 12px;
    font-weight: 900;
}

.flow-item small,
.flow-item strong {
    display: block;
}

.flow-item small {
    margin-bottom: 3px;

    color: var(--muted);

    font-size: 10px;
    letter-spacing: 1.2px;
}

.flow-item strong {
    font-size: 16px;
}

.flow-line {
    width: 1px;
    height: 34px;

    margin: 5px 0 5px 22px;

    background: var(--border);
}


/* ============================================================
   FEATURES
   ============================================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}


/* ============================================================
   ECOSYSTEM
   ============================================================ */

.ecosystem {
    border-top: 1px solid var(--border);

    background:
        linear-gradient(
            180deg,
            rgba(16, 38, 41, 0.2),
            rgba(16, 38, 41, 0.55)
        );
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 90px;

    align-items: start;
}

.ecosystem-content > p {
    max-width: 700px;

    font-size: 17px;
}

.integration-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;
}

.integration-tags span {
    padding: 10px 15px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: var(--bg);

    color: var(--muted-light);

    font-size: 12px;
    font-weight: 700;
}


/* ============================================================
   CTA
   ============================================================ */

.cta-section {
    padding-top: 70px;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;

    padding: 55px;

    border-radius: var(--radius);

    background: var(--accent);
    color: #071113;
}

.cta-box h2 {
    max-width: 720px;

    margin-bottom: 15px;
}

.cta-box p {
    max-width: 700px;

    margin-bottom: 0;

    color: rgba(7, 17, 19, 0.75);
}


/* ============================================================
   LEGAL
   ============================================================ */

.legal-note {
    padding: 0 0 80px;
}

.legal-note .container {
    padding-top: 30px;

    border-top: 1px solid var(--border);
}

.legal-note strong {
    display: block;

    margin-bottom: 10px;

    font-size: 13px;
}

.legal-note p {
    max-width: 900px;

    margin: 0;

    color: var(--muted);

    font-size: 11px;
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    padding: 50px 0;

    border-top: 1px solid var(--border);

    background: #040c0e;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    gap: 30px;

    align-items: center;
}

.footer-brand {
    margin-bottom: 7px;

    font-size: 23px;
}

.footer-grid p,
.footer-grid span {
    margin: 0;

    color: var(--muted);

    font-size: 11px;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1000px) {

    .hero-grid,
    .model-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .steps-grid,
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        position: absolute;
        top: 82px;
        right: 24px;
        left: 24px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        padding: 24px;

        border: 1px solid var(--border);
        border-radius: 18px;

        background: #091719;

        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

}


@media (max-width: 700px) {

    .container {
        width: min(calc(100% - 30px), var(--max-width));
    }

    .hero {
        padding: 75px 0;
    }

    .section {
        padding: 75px 0;
    }

    h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    h2 {
        font-size: 34px;
        letter-spacing: -1.5px;
    }

    .steps-grid,
    .features-grid,
    .mini-grid {
        grid-template-columns: 1fr;
    }

    .step-card,
    .feature-card {
        min-height: auto;
    }

    .hero-panel {
        padding: 28px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;

        padding: 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        text-align: left;
    }

    .footer-center,
    .footer-right {
        text-align: left;
    }

}


@media (max-width: 430px) {

    .hero-actions {
        flex-direction: column;
    }

    .btn,
    .btn-secondary {
        width: 100%;
    }

}
/* =========================================================
   FXC-ANALYTICS-001
   CONTADOR DE VISITANTES - HOME
========================================================= */

.footer-visits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-top: 6px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-visits strong {
    color: var(--accent);
    font-weight: 800;
}