/* ==========================================================================
   GaMa FinTech — Design System
   ========================================================================== */

:root {
    /* Palette */
    --bg:            #070b16;
    --bg-2:          #0a1020;
    --surface:       #0e1526;
    --surface-2:     #121b30;
    --border:        rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);

    --text:          #e8edf7;
    --muted:         #93a2bd;
    --muted-2:       #6b7a96;

    --brand:         #22c55e;   /* emerald — growth / profit */
    --brand-2:       #14b8a6;   /* teal — technology */
    --brand-3:       #38bdf8;   /* sky — data */
    --brand-soft:    rgba(34, 197, 94, 0.12);

    --danger:        #f87171;

    /* Effects */
    --grad-brand:    linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 55%, var(--brand-3) 100%);
    --grad-text:     linear-gradient(120deg, #8affc1 0%, #4fe3c8 50%, #7cd4ff 100%);
    --shadow:        0 24px 60px -20px rgba(0, 0, 0, 0.65);
    --shadow-brand:  0 20px 50px -18px rgba(34, 197, 94, 0.45);

    --radius:        18px;
    --radius-sm:     12px;
    --radius-lg:     26px;

    --maxw:          1180px;
    --gutter:        clamp(20px, 5vw, 40px);

    --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Ambient background glow */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(60% 45% at 80% -5%, rgba(34, 197, 94, 0.16), transparent 60%),
        radial-gradient(50% 40% at 5% 10%, rgba(56, 189, 248, 0.12), transparent 55%),
        radial-gradient(45% 50% at 50% 110%, rgba(20, 184, 166, 0.12), transparent 60%);
    pointer-events: none;
}

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

::selection { background: rgba(34, 197, 94, 0.3); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }

.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; flex: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head);
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--brand);
    padding: 7px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    background: var(--brand-soft);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

.text-grad {
    background: var(--grad-text);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    --btn-pad: 14px 26px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: var(--btn-pad);
    font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
    border-radius: 100px; border: 1px solid transparent; cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
    white-space: nowrap;
}
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--grad-brand); color: #05130c; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -16px rgba(34, 197, 94, 0.6); }
.btn-primary:hover .ico { transform: translateX(3px); }
.btn-primary .ico { transition: transform .25s ease; }
.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--brand); color: #fff; background: rgba(34, 197, 94, 0.08); }
.btn-lg { --btn-pad: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    padding: 16px 0;
    transition: background .3s ease, padding .3s ease, border-color .3s ease, backdrop-filter .3s ease;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(7, 11, 22, 0.82);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--border);
    padding: 10px 0;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo {
    height: 40px; width: auto;
    filter: invert(1) brightness(1.7);   /* black wordmark -> white on dark */
    transition: height .3s ease, filter .3s ease;
}
.site-header.scrolled .brand-logo { height: 34px; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
    position: relative;
    padding: 10px 16px; border-radius: 100px;
    font-weight: 500; color: var(--muted);
    transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-link.active::after {
    content: ""; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%);
    width: 5px; height: 5px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 8px var(--brand);
}
.nav-cta { margin-left: 12px; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    width: 44px; height: 44px; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: clamp(48px, 8vw, 90px); padding-bottom: clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 64px); align-items: center; }

.hero-copy h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); margin: 22px 0 20px; }
.hero-copy p.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 560px; margin-bottom: 32px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; color: var(--muted-2); font-size: 0.9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { width: 18px; height: 18px; color: var(--brand); }

/* Hero visual — animated dashboard card */
.hero-visual { position: relative; }
.hero-card {
    position: relative;
    background: linear-gradient(160deg, rgba(18, 27, 48, 0.92), rgba(10, 16, 32, 0.92));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}
.hero-card::before {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
    background: var(--grad-brand); opacity: .5;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hc-top .dot-row { display: flex; gap: 6px; }
.hc-top .dot-row i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.hc-top .dot-row i:first-child { background: #f87171; }
.hc-top .dot-row i:nth-child(2) { background: #fbbf24; }
.hc-top .dot-row i:nth-child(3) { background: var(--brand); }
.hc-live { font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: 7px; }
.hc-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 1.6s infinite; }

.hc-pnl { font-family: var(--font-head); }
.hc-pnl .label { color: var(--muted-2); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.hc-pnl .value { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; color: #fff; margin-top: 4px; }
.hc-pnl .value small { color: var(--brand); font-size: 1rem; margin-left: 8px; }

/* mini chart */
.hc-chart { margin: 18px 0; height: 96px; }
.hc-chart svg { width: 100%; height: 100%; overflow: visible; }
.hc-chart .area { fill: url(#gcArea); opacity: .9; }
.hc-chart .line { fill: none; stroke: url(#gcLine); stroke-width: 2.5; stroke-linecap: round;
    stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 2.4s ease forwards .3s; }

.hc-strats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hc-strat {
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 12px 14px;
}
.hc-strat .n { font-size: .78rem; color: var(--muted); }
.hc-strat .v { font-family: var(--font-head); font-weight: 600; color: var(--brand); margin-top: 2px; }
.hc-strat.down .v { color: var(--brand-3); }

/* floating chips */
.float-chip {
    position: absolute; z-index: 3;
    background: rgba(14, 21, 38, 0.9); border: 1px solid var(--border-strong);
    border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 12px; backdrop-filter: blur(8px);
    animation: float 5s ease-in-out infinite;
}
.float-chip .ico { color: var(--brand); width: 22px; height: 22px; }
.float-chip b { font-family: var(--font-head); display: block; font-size: .95rem; }
.float-chip span { font-size: .74rem; color: var(--muted-2); }
.float-chip.c1 { top: -20px; left: -26px; }
.float-chip.c2 { bottom: -24px; right: -18px; animation-delay: 1.4s; }

/* ---------- Marquee ticker ---------- */
.ticker {
    border-block: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.015);
    overflow: hidden; padding: 14px 0;
}
.ticker-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-family: var(--font-head); font-weight: 500; white-space: nowrap; }
.ticker-item .ico { color: var(--brand); width: 18px; height: 18px; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { padding-top: clamp(40px, 6vw, 70px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
    text-align: center; padding: 30px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: transform .3s ease, border-color .3s ease;
}
.stat:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.stat .num { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.1rem); font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* ==========================================================================
   Feature cards
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
    position: relative; padding: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008));
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: transform .3s ease, border-color .3s ease;
}
.feature::after {
    content: ""; position: absolute; top: -40%; right: -30%; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(34,197,94,0.18), transparent 70%);
    opacity: 0; transition: opacity .4s ease;
}
.feature:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.feature:hover::after { opacity: 1; }
.feature .f-icon {
    width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
    background: var(--brand-soft); border: 1px solid var(--border-strong); color: var(--brand);
    margin-bottom: 20px;
}
.feature .f-icon .ico { width: 26px; height: 26px; }
.feature h3 { font-size: 1.28rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ==========================================================================
   Strategies
   ========================================================================== */
.strat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.strat-card {
    position: relative; padding: 30px;
    background: linear-gradient(160deg, rgba(18,27,48,0.6), rgba(10,16,32,0.6));
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.strat-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.strat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.strat-head h3 { font-size: 1.4rem; }
.strat-tag {
    font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: var(--brand-2); padding: 6px 12px; border-radius: 100px;
    background: rgba(20, 184, 166, 0.12); border: 1px solid rgba(20, 184, 166, 0.3); white-space: nowrap;
}
.strat-card p { color: var(--muted); margin-bottom: 18px; }
.strat-points { display: flex; flex-direction: column; gap: 10px; }
.strat-points li { display: flex; align-items: center; gap: 10px; font-size: .94rem; color: var(--text); }
.strat-points .ico { color: var(--brand); width: 20px; height: 20px; }

/* ==========================================================================
   Process
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.p-step { position: relative; padding: 30px 24px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .3s ease, border-color .3s ease; }
.p-step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.p-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .9; }
.p-step h3 { font-size: 1.2rem; margin: 14px 0 8px; }
.p-step p { color: var(--muted); font-size: .94rem; }
.p-step:not(:last-child)::after {
    content: ""; position: absolute; top: 46px; right: -12px; width: 24px; height: 2px;
    background: linear-gradient(90deg, var(--brand), transparent);
}

/* ==========================================================================
   Split / About sections
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 16px 0 16px; }
.split-copy p { color: var(--muted); margin-bottom: 16px; }
.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ico { color: var(--brand); width: 22px; height: 22px; margin-top: 2px; }
.check-list b { font-family: var(--font-head); }
.check-list span { display: block; color: var(--muted); font-size: .94rem; }

.media-card {
    background: linear-gradient(160deg, rgba(18,27,48,0.8), rgba(10,16,32,0.8));
    border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
    padding: 30px; box-shadow: var(--shadow);
}
.mini-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-stat { padding: 22px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius); }
.mini-stat .num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--brand); }
.mini-stat .lbl { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.mini-stat.b .num { color: var(--brand-3); }

/* Values grid (about) */
.value-list { display: grid; gap: 16px; }
.value-item { display: flex; gap: 16px; padding: 22px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .3s ease, transform .3s ease; }
.value-item:hover { border-color: var(--border-strong); transform: translateX(4px); }
.value-item .v-ic { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); border: 1px solid var(--border-strong); }
.value-item h3 { font-size: 1.14rem; margin-bottom: 4px; }
.value-item p { color: var(--muted); font-size: .95rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; }
.cta-inner {
    position: relative; overflow: hidden;
    background: linear-gradient(130deg, rgba(34,197,94,0.14), rgba(56,189,248,0.1));
    border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 70px); text-align: center;
}
.cta-inner::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(50% 120% at 50% 0%, rgba(34,197,94,0.22), transparent 60%);
    pointer-events: none;
}
.cta-inner h2 { position: relative; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 16px; }
.cta-inner p { position: relative; color: var(--muted); max-width: 560px; margin: 0 auto 30px; font-size: 1.08rem; }
.cta-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(30px, 4vw, 50px); text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 18px 0 16px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; color: var(--muted-2); font-size: .88rem; }
.breadcrumb a:hover { color: var(--brand); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 56px); align-items: start; }

.contact-info .info-card {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 22px; margin-bottom: 16px;
    background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color .3s ease, transform .3s ease;
}
.contact-info .info-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.contact-info .i-ic { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); border: 1px solid var(--border-strong); }
.contact-info h3 { font-size: 1.06rem; margin-bottom: 4px; }
.contact-info p, .contact-info a { color: var(--muted); font-size: .96rem; }
.contact-info a:hover { color: var(--brand); }

.map-embed { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; filter: grayscale(0.4) invert(0.9) contrast(0.9) hue-rotate(180deg); }

/* Form */
.form-card {
    padding: clamp(26px, 4vw, 40px);
    background: linear-gradient(160deg, rgba(18,27,48,0.7), rgba(10,16,32,0.7));
    border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-size: .88rem; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    color: var(--text); font-family: var(--font-body); font-size: .98rem; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--brand); background: rgba(34,197,94,0.05);
    box-shadow: 0 0 0 4px rgba(34,197,94,0.12);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2393a2bd' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }

.form-note { color: var(--muted-2); font-size: .84rem; margin-top: 14px; text-align: center; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: .95rem; }
.alert .ico { flex: none; margin-top: 2px; }
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.35); color: #b9f6cf; }
.alert-success .ico { color: var(--brand); }
.alert-error { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.35); color: #fecaca; }
.alert-error .ico { color: var(--danger); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field .err-msg { color: var(--danger); font-size: .82rem; margin-top: 6px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq { border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,0.02); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--brand); transition: transform .3s ease; line-height: 1; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 22px; color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 6vw, 72px) var(--gutter) 40px; max-width: var(--maxw); margin-inline: auto; }
.footer-logo { height: 38px; width: auto; filter: invert(1) brightness(1.7); margin-bottom: 18px; }
.footer-about { color: var(--muted); font-size: .95rem; max-width: 360px; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials .social { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: .82rem; transition: all .25s ease; }
.footer-socials .social:hover { color: #05130c; background: var(--brand); border-color: var(--brand); transform: translateY(-3px); }
.footer-col h4 { font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: var(--muted); font-size: .95rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--brand); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .95rem; margin-bottom: 4px; }
.footer-contact .ico { color: var(--brand); width: 20px; height: 20px; flex: none; margin-top: 3px; }

.footer-disclaimer { padding-block: 22px; border-top: 1px solid var(--border); }
.footer-disclaimer p { color: var(--muted-2); font-size: .82rem; line-height: 1.7; }
.footer-disclaimer strong { color: var(--muted); }

.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 22px; flex-wrap: wrap; }
.footer-bottom p { color: var(--muted-2); font-size: .88rem; }

/* Back to top */
.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--grad-brand); color: #05130c; box-shadow: var(--shadow-brand);
    transform: translateY(24px) scale(.8); opacity: 0; pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}
.to-top .ico { transform: rotate(-90deg); width: 22px; height: 22px; }
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { transform: translateY(-3px) scale(1.05); }

/* ---------- Floating contact dock (WhatsApp + Email) ---------- */
.contact-dock {
    position: fixed; left: 22px; bottom: 22px; z-index: 95;
    display: flex; flex-direction: column; gap: 14px;
}
.dock-btn {
    position: relative;
    width: 54px; height: 54px; border-radius: 50%;
    display: grid; place-items: center; color: #fff;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.dock-btn:hover { transform: translateY(-3px) scale(1.06); }
.dock-btn svg { width: 28px; height: 28px; }
.dock-wa { background: #25d366; }
.dock-wa svg { width: 30px; height: 30px; }
.dock-wa:hover { box-shadow: 0 16px 36px -10px rgba(37, 211, 102, 0.6); }
.dock-mail { background: var(--grad-brand); color: #05130c; }
.dock-mail:hover { box-shadow: var(--shadow-brand); }

/* pulse ring on the WhatsApp button */
.dock-wa::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: #25d366; z-index: -1; animation: dockPulse 2.4s ease-out infinite;
}

/* hover tooltip label */
.dock-label {
    position: absolute; left: calc(100% + 12px); top: 50%;
    transform: translateY(-50%) translateX(-8px);
    background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text);
    font-family: var(--font-head); font-weight: 500; font-size: .82rem; white-space: nowrap;
    padding: 7px 12px; border-radius: 9px; box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.dock-btn:hover .dock-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes dockPulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.6);} 50% { box-shadow: 0 0 0 8px rgba(34,197,94,0);} }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 460px; margin-inline: auto; }
    .split, .contact-grid { grid-template-columns: 1fr; }
    .split.reverse .split-media { order: 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .p-step:not(:last-child)::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px);
        flex-direction: column; align-items: stretch; gap: 6px;
        background: var(--bg-2); border-left: 1px solid var(--border);
        padding: 90px 22px 30px; transform: translateX(100%);
        transition: transform .35s cubic-bezier(.2,.7,.2,1); box-shadow: var(--shadow);
    }
    .main-nav.open { transform: translateX(0); }
    .nav-link { padding: 14px 16px; font-size: 1.05rem; }
    .nav-link.active::after { display: none; }
    .nav-cta { margin: 12px 0 0; }
    .strat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .stats-grid, .card-grid, .process-grid, .form-row, .mini-stat-grid { grid-template-columns: 1fr; }
    .hero-actions .btn, .cta-actions .btn { width: 100%; }
    .float-chip.c1 { left: -6px; top: -12px; }
    .float-chip.c2 { right: -6px; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
