/* ==========================================================
   WASFTC — Washington Seattle Freelancing Technology Company
   ========================================================== */
:root {
    --bg: #060b1a;
    --bg-2: #0a1228;
    --surface: #0f1a36;
    --surface-2: #142245;
    --line: rgba(148, 178, 255, .14);
    --text: #e7ecf7;
    --soft: #9fb0cf;
    --cyan: #22d3ee;
    --indigo: #6366f1;
    --violet: #a855f7;
    --green: #34d399;
    --grad: linear-gradient(120deg, #22d3ee 0%, #6366f1 55%, #a855f7 100%);
    --radius: 18px;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
    --font-head: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; color: #fff; }
a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
img { max-width: 100%; }
main, .cta-band, .site-footer { overflow-x: clip; }
.text-soft { color: var(--soft) !important; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: var(--indigo); color: #fff; }

/* ---------- Buttons ---------- */
.btn { border-radius: 12px; font-weight: 600; transition: all .25s ease; }
.btn-glow {
    background: var(--grad); color: #fff; border: 0;
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, .8);
}
.btn-glow:hover, .btn-glow:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(34, 211, 238, .7); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.03); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--cyan); color: #fff; background: rgba(34, 211, 238, .08); }

/* ---------- Top bar & nav ---------- */
.topbar { background: #040815; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--soft); padding: .45rem 0; }
.topbar a { color: var(--soft); }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--cyan); margin-right: .25rem; }
.topbar-flags { display: flex; gap: .4rem; }
.topbar-flags img { border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); object-fit: cover; }

.main-nav { background: rgba(6, 11, 26, .72); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); padding: .8rem 0; transition: padding .25s, background .25s; }
.main-nav.scrolled { padding: .45rem 0; background: rgba(6, 11, 26, .94); }
.navbar-brand { color: #fff !important; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: var(--grad); font-size: 1.35rem; color: #fff; box-shadow: 0 8px 24px -8px rgba(34,211,238,.8);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: .04em; }
.brand-text small { font-size: .68rem; color: var(--soft); letter-spacing: .06em; text-transform: uppercase; }
.main-nav .nav-link { color: var(--soft); font-weight: 500; padding: .5rem .85rem !important; border-radius: 10px; position: relative; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: #fff; background: rgba(255,255,255,.05); }
.main-nav .nav-link.active::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; border-radius: 3px; background: var(--grad); transform: translateX(-50%); }
.navbar-toggler { border-color: var(--line); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 100px 0; }
.section-alt { background: var(--bg-2); }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .14em; color: var(--cyan);
    padding: .35rem .85rem; border: 1px solid rgba(34, 211, 238, .3); border-radius: 50px; background: rgba(34, 211, 238, .07);
}
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 1rem 0 .8rem; }
.section-lead { color: var(--soft); font-size: 1.08rem; max-width: 720px; }
.center .section-lead { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: calc(100vh - 110px); display: flex; align-items: center;
    padding: 90px 0 110px; overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(99, 102, 241, .28), transparent 70%),
        radial-gradient(ellipse 50% 50% at 10% 80%, rgba(34, 211, 238, .18), transparent 70%),
        var(--bg);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .75; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.05; margin: 1.2rem 0; }
.hero .lead { color: var(--soft); font-size: 1.18rem; max-width: 620px; }
.typed { color: var(--cyan); border-right: 3px solid var(--cyan); padding-right: 4px; animation: caret 1s step-end infinite; white-space: nowrap; }
@keyframes caret { 50% { border-color: transparent; } }
.hero-flags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; align-items: center; }
.hero-flags span { color: var(--soft); font-size: .85rem; margin-right: .4rem; }
.hero-flags img { width: 34px; height: 23px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.2); transition: transform .2s; }
.hero-flags img:hover { transform: translateY(-3px) scale(1.1); }

.hero-panel {
    background: linear-gradient(160deg, rgba(20, 34, 69, .9), rgba(10, 18, 40, .9));
    border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem; box-shadow: var(--shadow);
    position: relative; backdrop-filter: blur(10px);
}
.hero-panel::before { content: ''; position: absolute; inset: -1px; border-radius: 24px; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6; pointer-events: none; }
.panel-head { display: flex; align-items: center; gap: .45rem; margin-bottom: 1.2rem; }
.panel-head .dot { width: 11px; height: 11px; border-radius: 50%; }
.panel-head small { margin-left: auto; color: var(--soft); font-family: ui-monospace, monospace; }
.live-row { display: flex; align-items: center; gap: .9rem; padding: .75rem .9rem; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); margin-bottom: .6rem; }
.live-row i { font-size: 1.25rem; color: var(--cyan); }
.live-row .meta { flex: 1; min-width: 0; }
.live-row .meta b { display: block; font-size: .92rem; color: #fff; }
.live-row .meta small { color: var(--soft); font-size: .78rem; }
.live-row img { width: 26px; height: 18px; border-radius: 3px; object-fit: cover; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.float-badge { position: absolute; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: .6rem .9rem; display: flex; gap: .6rem; align-items: center; box-shadow: var(--shadow); font-size: .85rem; animation: float 5s ease-in-out infinite; }
.float-badge i { font-size: 1.3rem; }
.float-badge.b1 { top: -22px; right: -14px; }
.float-badge.b2 { bottom: -24px; left: -20px; animation-delay: 1.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
    padding: 110px 0 80px; position: relative; overflow: hidden; text-align: center;
    background:
        radial-gradient(ellipse 60% 70% at 50% 0%, rgba(99, 102, 241, .3), transparent 70%),
        linear-gradient(180deg, var(--bg-2), var(--bg));
    border-bottom: 1px solid var(--line);
}
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); opacity: .5; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 1rem 0; }
.page-hero p { color: var(--soft); font-size: 1.12rem; max-width: 720px; margin: 0 auto; }
.crumbs { margin-top: 1.5rem; font-size: .88rem; color: var(--soft); }
.crumbs a { color: var(--soft); }
.crumbs a:hover { color: #fff; }

/* ---------- Stats ---------- */
.stats-strip { margin-top: -60px; position: relative; z-index: 5; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; box-shadow: var(--shadow); height: 100%; }
.stat-card .num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat-card p { margin: .3rem 0 0; color: var(--soft); font-size: .92rem; }

/* ---------- Cards ---------- */
.tcard {
    background: linear-gradient(170deg, var(--surface), var(--bg-2));
    border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; height: 100%;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; position: relative; overflow: hidden;
}
.tcard::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(99, 102, 241, .25), transparent 70%); top: -110px; right: -110px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.tcard:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, .45); box-shadow: 0 25px 50px -20px rgba(34, 211, 238, .25); }
.tcard:hover::after { opacity: 1; }
.tcard h3, .tcard h4, .tcard h5 { font-size: 1.2rem; margin: 1.1rem 0 .6rem; }
.tcard p { color: var(--soft); margin-bottom: 0; }
.icon-box {
    width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.55rem;
    color: #fff; background: var(--grad); box-shadow: 0 10px 25px -10px rgba(99, 102, 241, .9);
}
.icon-box.sm { width: 44px; height: 44px; font-size: 1.2rem; border-radius: 12px; }
.icon-box.outline { background: rgba(34, 211, 238, .08); color: var(--cyan); border: 1px solid rgba(34, 211, 238, .3); box-shadow: none; }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.check-list li { padding: .3rem 0 .3rem 1.7rem; position: relative; color: var(--soft); font-size: .95rem; }
.check-list li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: .3rem; color: var(--green); }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }
.tag { display: inline-block; font-size: .74rem; padding: .22rem .6rem; border-radius: 50px; background: rgba(99, 102, 241, .14); color: #c7c9ff; border: 1px solid rgba(99, 102, 241, .3); margin: .15rem .15rem 0 0; }

/* ---------- Service tabs (home) ---------- */
.svc-tabs .nav-link { color: var(--soft); border: 1px solid var(--line); border-radius: 50px; margin: .25rem; padding: .55rem 1.2rem; font-weight: 600; background: transparent; }
.svc-tabs .nav-link.active, .svc-tabs .nav-link:hover { color: #fff; background: var(--grad); border-color: transparent; }

/* ---------- Process ---------- */
.process { counter-reset: step; }
.step-card { position: relative; padding-top: 2.4rem; }
.step-card .step-num { position: absolute; top: 1.3rem; right: 1.5rem; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: rgba(255,255,255,.06); line-height: 1; }

/* ---------- World network ---------- */
.world-wrap { background: radial-gradient(ellipse at center, rgba(99, 102, 241, .14), transparent 70%), var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 1rem; position: relative; overflow: hidden; }
.world-wrap svg { width: 100%; height: auto; display: block; }
.world-grid line { stroke: rgba(148, 178, 255, .08); stroke-width: 1; }
.world-land { fill: rgba(148, 178, 255, .18); }
.world-arc { fill: none; stroke: url(#arcGrad); stroke-width: 1.6; stroke-dasharray: 6 6; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.world-node circle.core { fill: var(--cyan); }
.world-node circle.ring { fill: none; stroke: var(--cyan); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.6s ease-out infinite; }
.world-node.hq circle.core { fill: #fff; }
.world-node.hq circle.ring { stroke: #fff; }
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
.world-node text { fill: #fff; font: 600 12px var(--font-body); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.world-node { cursor: pointer; }
.world-node:hover circle.core { fill: var(--violet); }
.world-legend { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: .8rem; color: var(--soft); font-size: .85rem; }
.world-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.world-legend i.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* ---------- Hub / partner cards ---------- */
.hub-card { display: flex; flex-direction: column; gap: .8rem; }
.hub-top { display: flex; align-items: center; gap: .9rem; }
.hub-flag { width: 64px; height: 43px; object-fit: cover; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 8px 20px -8px rgba(0,0,0,.8); flex: none; }
.hub-top h4 { margin: 0 !important; font-size: 1.1rem !important; }
.hub-top small { color: var(--soft); }
.hub-badge { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .25rem .6rem; border-radius: 50px; background: rgba(52, 211, 153, .12); color: var(--green); border: 1px solid rgba(52, 211, 153, .3); align-self: flex-start; }
.hub-badge.hq { background: rgba(168, 85, 247, .14); color: #d8b4fe; border-color: rgba(168, 85, 247, .35); }
.hub-people { display: flex; align-items: center; gap: .5rem; color: var(--soft); font-size: .9rem; margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--line); }
.hub-people b { color: #fff; font-size: 1.1rem; }

.flag-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); padding: 1rem 0; }
.flag-track { display: flex; gap: 2.4rem; width: max-content; animation: marquee 35s linear infinite; }
.flag-track:hover { animation-play-state: paused; }
.flag-item { display: flex; align-items: center; gap: .7rem; color: var(--soft); font-weight: 600; white-space: nowrap; }
.flag-item img { width: 44px; height: 30px; object-fit: cover; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; }
.filter-btn { border: 1px solid var(--line); color: var(--soft); background: transparent; border-radius: 50px; padding: .5rem 1.15rem; font-weight: 600; font-size: .92rem; transition: all .2s; }
.filter-btn:hover { color: #fff; border-color: var(--cyan); }
.filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; }
.filter-btn .count { opacity: .7; font-weight: 500; margin-left: .25rem; }
.project-item { transition: opacity .35s, transform .35s; }
.project-item.hide { display: none; }
.project-card { display: flex; flex-direction: column; }
.project-card .p-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.project-card .p-loc { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--soft); }
.project-card .p-loc img { width: 22px; height: 15px; border-radius: 2px; object-fit: cover; }
.project-card .p-client { font-size: .85rem; color: var(--cyan); font-weight: 600; margin-bottom: .2rem; }
.project-card .p-stat { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--soft); }
.project-card .p-stat b { color: var(--green); }
.project-card .p-body { flex: 1; margin-bottom: 1rem; }

/* ---------- Team ---------- */
.role-row { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: .7rem; }
.role-row .bar-wrap { flex: 1; }
.role-row .bar-top { display: flex; justify-content: space-between; font-size: .93rem; margin-bottom: .4rem; }
.role-row .bar-top b { font-family: var(--font-head); color: #fff; }
.role-row .bar { height: 7px; border-radius: 7px; background: rgba(255,255,255,.06); overflow: hidden; }
.role-row .bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 7px; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.donut-wrap { position: relative; max-width: 340px; margin: 0 auto; }
.donut-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.donut-center b { font-family: var(--font-head); font-size: 3.2rem; line-height: 1; display: block; }
.donut-center small { color: var(--soft); }

.model-box { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 2rem; }
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--grad); opacity: .5; }
.timeline .t-item { position: relative; margin-bottom: 1.6rem; }
.timeline .t-item::before { content: ''; position: absolute; left: -2rem; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 3px solid var(--cyan); }
.timeline .t-item b { color: #fff; display: block; }
.timeline .t-item span { color: var(--soft); font-size: .95rem; }

.hours-calc { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 24px; padding: 2rem; }
.hours-calc label { color: var(--soft); font-size: .9rem; }
.hours-calc .form-range::-webkit-slider-thumb { background: var(--cyan); }
.hours-calc .form-range::-moz-range-thumb { background: var(--cyan); }
.calc-out { font-family: var(--font-head); font-size: 2rem; font-weight: 700; }

/* ---------- Testimonials ---------- */
.quote-card blockquote { font-size: 1.05rem; color: var(--text); margin: 1rem 0; }
.quote-card .who { display: flex; align-items: center; gap: .8rem; }
.quote-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; }
.quote-card .stars { color: #fbbf24; }

/* ---------- Contact ---------- */
.form-dark .form-control, .form-dark .form-select {
    background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: .8rem 1rem;
}
.form-dark .form-control::placeholder { color: #6b7a99; }
.form-dark .form-control:focus, .form-dark .form-select:focus { background: rgba(255,255,255,.06); border-color: var(--cyan); box-shadow: 0 0 0 .2rem rgba(34, 211, 238, .15); color: #fff; }
.form-dark .form-select option { background: var(--surface); color: var(--text); }
.form-dark .form-label { font-size: .88rem; color: var(--soft); font-weight: 500; }
.form-dark .form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239fb0cf' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.form-dark .is-invalid { border-color: #f87171 !important; }
.form-dark .invalid-feedback { color: #fca5a5; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; }
.contact-card h5 { font-size: 1rem; margin: 0 0 .2rem; }
.contact-card p, .contact-card a { color: var(--soft); margin: 0; font-size: .95rem; }
.contact-card a:hover { color: #fff; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; min-height: 340px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.6); }
.alert-tech { border-radius: 14px; border: 1px solid; padding: 1rem 1.2rem; display: flex; gap: .8rem; align-items: flex-start; }
.alert-tech.ok { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .4); color: #a7f3d0; }
.alert-tech.err { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .4); color: #fecaca; }
.alert-tech i { font-size: 1.3rem; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-dark .accordion-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: .7rem; overflow: hidden; }
.accordion-dark .accordion-button { background: transparent; color: #fff; font-weight: 600; box-shadow: none; }
.accordion-dark .accordion-button:not(.collapsed) { color: var(--cyan); background: rgba(34, 211, 238, .05); }
.accordion-dark .accordion-button::after { filter: invert(1) brightness(2); }
.accordion-dark .accordion-body { color: var(--soft); }

/* ---------- CTA & footer ---------- */
.cta-band { padding: 0 0 90px; }
.cta-inner {
    background: var(--grad); border-radius: 28px; padding: 3rem; display: flex; flex-wrap: wrap; gap: 2rem;
    align-items: center; justify-content: space-between; position: relative; overflow: hidden;
}
.cta-inner::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 18px 18px; opacity: .5; pointer-events: none; }
.cta-inner > * { position: relative; }
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .4rem; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.88); max-width: 620px; }
.site-footer { background: #040815; border-top: 1px solid var(--line); padding: 70px 0 0; color: var(--soft); font-size: .94rem; }
.site-footer h6 { color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .55rem; }
.site-footer ul a { color: var(--soft); }
.site-footer ul a:hover { color: #fff; }
.contact-list li { display: flex; gap: .6rem; }
.contact-list i { color: var(--cyan); }
.social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--soft); }
.social a:hover { background: var(--grad); color: #fff; border-color: transparent; }
.footer-flags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.footer-flags img { border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 50px; padding: 1.4rem 0; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; font-size: .84rem; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.2rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; z-index: 1000; box-shadow: var(--shadow); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: #fff; }

/* ---------- Inbox (admin) ---------- */
.inbox-table { --bs-table-bg: transparent; --bs-table-color: var(--text); --bs-table-border-color: var(--line); --bs-table-hover-bg: rgba(255,255,255,.03); --bs-table-hover-color: #fff; }
.inbox-table td, .inbox-table th { vertical-align: top; }
.unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); display: inline-block; }

/* ---------- Responsive ---------- */
.main-nav .nav-link { white-space: nowrap; }
@media (max-width: 1199.98px) {
    .main-nav .navbar-collapse { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1rem; margin-top: .8rem; }
    .main-nav .nav-link.active::after { display: none; }
}
@media (max-width: 991.98px) {
    .section { padding: 72px 0; }
    .hero { min-height: auto; padding: 60px 0 100px; }
    .float-badge { display: none; }
}
@media (max-width: 575.98px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .cta-inner { padding: 2rem 1.4rem; }
    .tcard { padding: 1.4rem; }
    .page-hero { padding: 80px 0 60px; }
    .brand-text small { display: none; }
    .typed { white-space: normal; }
    .row.g-5 { --bs-gutter-x: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
