/* ============================================================
   OXCO — component styles
   ============================================================ */

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .4s, border-color .4s, padding .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut);
}
.nav.scrolled {
  background: rgba(10,10,15,0.72);
  backdrop-filter: blur(18px) saturate(160%);
  border-color: var(--border-soft);
  box-shadow: 0 10px 40px -24px rgba(0,0,0,0.9);
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-head); font-weight: 700; font-size: 21px;
  letter-spacing: -0.02em; color: var(--text-head);
}
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.18), transparent);
  font-family: var(--font-mono); font-size: 14px; color: var(--accent);
  box-shadow: inset 0 0 16px rgba(var(--accent-rgb), calc(0.25 * var(--anim)));
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-body);
  padding: 9px 15px; border-radius: 8px; transition: color .25s, background .25s;
  position: relative; white-space: nowrap;
}
.nav-links a:hover { color: var(--text-head); background: rgba(255,255,255,0.04); }
.nav-links a::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s; opacity: .8;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 14px; }

.hamburger { display: none; width: 42px; height: 42px; border: 1px solid var(--border-soft);
  background: var(--glass-fill); border-radius: 10px; position: relative; }
.hamburger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text-head);
  transition: transform .3s, opacity .3s; }
.hamburger span:nth-child(1) { top: 15px; } .hamburger span:nth-child(2) { top: 20px; } .hamburger span:nth-child(3) { top: 25px; }
.hamburger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(8,8,12,0.96); backdrop-filter: blur(22px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 var(--gut);
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-head); font-size: 38px; font-weight: 700; color: var(--text-head);
  padding: 12px 0; border-bottom: 1px solid var(--border-soft);
  transform: translateY(16px); opacity: 0; transition: transform .5s, opacity .5s, color .25s;
}
.mobile-menu.open a { transform: none; opacity: 1; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mm-cta { margin-top: 28px; align-self: flex-start; }
.mobile-menu .mm-meta { margin-top: 40px; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 90px; z-index: 1; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-body);
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--glass-fill); margin-bottom: 26px; white-space: nowrap;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 78px); line-height: 0.98; letter-spacing: -0.03em;
}
.hero h1 .accent-text { background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { margin-top: 26px; font-size: clamp(16px, 1.8vw, 19px); max-width: 46ch; color: var(--text-body); }
.hero-ctas { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.hero-trust .sep { width: 1px; height: 16px; background: var(--border-soft); }

/* terminal */
.terminal {
  font-family: var(--font-mono); border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #0c0c14, #0a0a10);
  border: 1px solid var(--border-soft);
  box-shadow: 0 40px 90px -50px #000, inset 0 1px 0 rgba(255,255,255,0.04),
              0 0 0 1px rgba(var(--accent-rgb), 0.08);
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.015); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.term-bar i:nth-child(1){ background:#ff5f57; } .term-bar i:nth-child(2){ background:#febc2e; } .term-bar i:nth-child(3){ background:#28c840; }
.term-title { margin-left: 10px; font-size: 11.5px; color: var(--text-muted); letter-spacing: 0.05em; }
.term-body { padding: 22px; font-size: 13.5px; line-height: 1.85; min-height: 320px; }
.term-line { white-space: pre-wrap; word-break: break-word; }
.term-line .pmt { color: var(--accent); }
.term-line .ok { color: var(--neon-green); }
.term-line .muted { color: var(--text-muted); }
.term-line .warn { color: #febc2e; }
.term-cursor { display: inline-block; width: 8px; height: 16px; background: var(--accent);
  margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite;
  box-shadow: 0 0 8px var(--accent); }
@keyframes blink { 50% { opacity: 0; } }
.term-reveal { margin-top: 14px; font-family: var(--font-head); font-size: 22px; color: var(--text-head);
  font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity .6s, transform .6s; }
.term-reveal.show { opacity: 1; transform: none; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--text-muted);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-transform: uppercase; }
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent);
  animation: scrolldn 2s ease-in-out infinite; transform-origin: top; }
@keyframes scrolldn { 0%,100% { transform: scaleY(.4); opacity:.4;} 50% { transform: scaleY(1); opacity:1; } }

/* ---------- MARQUEE ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  padding: 22px 0; position: relative; z-index: 1; background: rgba(255,255,255,0.012); }
.marquee::before, .marquee::after { content:''; position:absolute; top:0; bottom:0; width: 140px; z-index: 2; pointer-events:none; }
.marquee::before { left:0; background: linear-gradient(90deg, var(--bg-1), transparent); }
.marquee::after { right:0; background: linear-gradient(270deg, var(--bg-1), transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marq 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee-item { font-family: var(--font-mono); font-size: 15px; color: var(--text-muted); letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 12px; transition: color .3s; }
.marquee-item:hover { color: var(--accent); }
.marquee-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity:.6; }

/* ---------- STATS ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-soft);
  border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-1); padding: 38px 30px; position: relative; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(36px, 4.6vw, 56px);
  color: var(--text-head); letter-spacing: -0.03em; line-height: 1; }
.stat .num span { color: var(--accent); }
.stat .lbl { margin-top: 12px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted);
  letter-spacing: 0.04em; }
.stat::before { content:''; position:absolute; top:0; left:0; width: 30px; height: 2px; background: var(--accent); opacity:.7; }

/* ---------- PROJECTS ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 52px; flex-wrap: wrap; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj-card { padding: 14px; cursor: pointer; display: flex; flex-direction: column; }
.proj-thumb { border-radius: 11px; overflow: hidden; position: relative; aspect-ratio: 16/10; }
.proj-thumb .mockup { position: absolute; inset: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.proj-card:hover .proj-thumb .mockup { transform: scale(1.06); }
.proj-status { position: absolute; top: 12px; right: 12px; z-index: 3;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; padding: 5px 10px; border-radius: 6px;
  background: rgba(10,10,15,0.7); backdrop-filter: blur(8px); border: 1px solid var(--border); color: var(--text-head); }
.proj-status.demo { color: #febc2e; border-color: rgba(254,188,46,0.4); }
.proj-status.sale { color: var(--neon-green); border-color: rgba(57,255,20,0.35); }
.proj-body { padding: 18px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.proj-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.proj-name { font-family: var(--font-head); font-size: 21px; font-weight: 700; color: var(--text-head); }
.proj-price { font-family: var(--font-mono); font-size: 13px; color: var(--accent); white-space: nowrap; }
.proj-tag { margin-top: 7px; font-size: 14px; color: var(--text-body); }
.proj-stack { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.proj-foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.proj-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px;
  color: var(--text-head); transition: gap .3s, color .3s; }
.proj-card:hover .proj-more { color: var(--accent); gap: 12px; }
.proj-more svg { transition: transform .3s; }
.proj-card:hover .proj-more svg { transform: translateX(3px); }

/* ---------- MOCKUP ---------- */
.mockup { width: 100%; height: 100%; background: linear-gradient(160deg, #0e0e16, #0a0a10);
  display: flex; flex-direction: column; position: relative; overflow: hidden; }
.mockup-glow { position: absolute; inset: 0; opacity: .8; }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative; z-index: 1; }
.mk-bar > span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mk-url { margin-left: 10px; font-family: var(--font-mono); font-size: 9px; color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04); padding: 3px 9px; border-radius: 5px; }
.mk-body { display: flex; flex: 1; padding: 12px; gap: 12px; position: relative; z-index: 1; }
.mk-side { width: 42px; display: flex; flex-direction: column; gap: 9px; padding-top: 4px; }
.mk-logo { width: 22px; height: 22px; border-radius: 6px; }
.mk-side i { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); }
.mk-side i:nth-child(2){ width: 100%; } .mk-side i:nth-child(3){ width: 70%; } .mk-side i:nth-child(4){ width: 85%; } .mk-side i:nth-child(5){ width: 55%; }
.mk-main { flex: 1; display: flex; flex-direction: column; gap: 11px; }
.mk-row { display: flex; gap: 9px; }
.mk-kpi { flex: 1; border: 1px solid rgba(255,255,255,0.07); border-radius: 7px; padding: 9px; background: rgba(255,255,255,0.02); }
.mk-kpi b { font-family: var(--font-mono); font-size: 13px; color: #fff; }
.mk-chart { flex: 1; display: flex; align-items: flex-end; gap: 6px; padding: 8px; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; background: rgba(255,255,255,0.015); min-height: 70px; }
.mk-chart span { flex: 1; border-radius: 3px 3px 0 0; opacity: .85; }
.mk-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.mk-cards div { height: 34px; border-radius: 7px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.05); }
.mk-body.v1 { flex-direction: column; } .mk-body.v1 .mk-side { flex-direction: row; width: 100%; height: 26px; }
.mk-body.v1 .mk-side i { width: 60px; height: 8px; align-self: center; }

/* ---------- PROJECT DETAIL OVERLAY ---------- */
.detail-overlay { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center;
  overflow-y: auto; background: rgba(6,6,10,0.72); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .35s; }
.detail-overlay.open { opacity: 1; }
.detail-overlay::-webkit-scrollbar { width: 0; }
.detail-sheet { width: min(1080px, 94vw); margin: 4vh 0 6vh; background: var(--bg-1);
  border: 1px solid var(--border-soft); border-radius: 22px; overflow: hidden;
  transform: translateY(28px) scale(.98); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s;
  box-shadow: 0 60px 140px -40px #000; align-self: flex-start; }
.detail-overlay.open .detail-sheet { transform: none; opacity: 1; }
.detail-close { position: sticky; top: 18px; margin: 18px 18px -54px auto; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10,10,15,0.7); backdrop-filter: blur(10px); border: 1px solid var(--border-soft); color: var(--text-head);
  transition: transform .25s, border-color .25s; }
.detail-close:hover { transform: rotate(90deg); border-color: var(--accent); color: var(--accent); }
.detail-hero { position: relative; aspect-ratio: 16/8; }
.detail-hero .mockup { position: absolute; inset: 0; }
.detail-hero::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, var(--bg-1)); }
.detail-pad { padding: clamp(26px, 4vw, 48px); }
.detail-headrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: -70px; position: relative; z-index: 2; }
.detail-title { font-size: clamp(32px, 4vw, 46px); }
.detail-desc { margin-top: 16px; max-width: 62ch; font-size: 16px; color: var(--text-body); }
.detail-buy { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-top: 44px; }
.detail-cols h3 { font-size: 14px; font-family: var(--font-mono); color: var(--accent); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 18px; }
.feat-list { display: grid; gap: 13px; }
.feat-list li { list-style: none; display: flex; gap: 13px; align-items: flex-start; font-size: 15px; color: var(--text-body); }
.feat-list .fi { flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--accent); background: rgba(var(--accent-rgb),0.06); }
.metric-box { display: grid; gap: 12px; }
.metric { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 18px; border-radius: 12px;
  border: 1px solid var(--border-soft); background: var(--glass-fill); }
.metric .mk { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }
.metric .mv { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--text-head); }
.detail-stack { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }

/* gallery thumbs */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.gallery .thumb { aspect-ratio: 16/11; border-radius: 10px; overflow: hidden; cursor: pointer; position: relative;
  border: 1px solid var(--border-soft); transition: border-color .3s, transform .3s; }
.gallery .thumb:hover { border-color: var(--accent); transform: translateY(-3px); }
.gallery .thumb .mockup { position: absolute; inset: 0; }
.gallery .thumb .tlabel { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 8px 10px;
  font-family: var(--font-mono); font-size: 10px; color: var(--text-head); background: linear-gradient(transparent, rgba(8,8,12,0.9)); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(4,4,8,0.92); backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center; padding: 5vw; opacity: 0; transition: opacity .3s; }
.lightbox.open { opacity: 1; }
.lightbox .lb-stage { width: min(1000px, 92vw); aspect-ratio: 16/9; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); position: relative; box-shadow: 0 40px 120px -30px #000; }
.lightbox .lb-stage .mockup { position: absolute; inset: 0; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: rgba(20,20,28,0.8); border: 1px solid var(--border-soft); color: #fff; display: grid; place-items: center;
  z-index: 5; transition: border-color .25s, transform .25s; }
.lb-nav:hover { border-color: var(--accent); }
.lb-prev { left: 3vw; } .lb-next { right: 3vw; }
.lb-close { position: absolute; top: 4vh; right: 4vw; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(20,20,28,0.8); border: 1px solid var(--border-soft); color: #fff; display: grid; place-items: center; z-index: 5; }
.lb-count { position: absolute; bottom: 4vh; left: 50%; transform: translateX(-50%); font-family: var(--font-mono);
  font-size: 13px; color: var(--text-body); }

/* ---------- SERVICES ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-card { padding: 34px; display: flex; flex-direction: column; gap: 18px; min-height: 230px; }
.svc-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--accent); background: rgba(var(--accent-rgb),0.05);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), color .4s, box-shadow .4s; }
.svc-card:hover .svc-icon { transform: translateY(-4px) rotate(-6deg); box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), calc(0.6*var(--anim))); }
.svc-card h3 { font-size: 23px; }
.svc-card p { font-size: 15px; color: var(--text-body); flex: 1; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; }
.svc-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--text-head); transition: gap .3s, color .3s; }
.svc-card:hover .svc-link { color: var(--accent); gap: 12px; }
.svc-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.svc-num { position: absolute; top: 26px; right: 30px; font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }

/* ---------- PROCESS ---------- */
.proc-wrap { position: relative; }
.proc-line { position: absolute; top: 38px; left: 6%; right: 6%; height: 1px; background: var(--border-soft); z-index: 0; }
.proc-line .fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(var(--accent-rgb), calc(0.7*var(--anim))); transition: width 1.4s ease; }
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.proc-step { text-align: left; }
.proc-dot { width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: 20px; color: var(--accent); background: var(--bg-card);
  border: 1px solid var(--border); transition: border-color .4s, box-shadow .4s, transform .4s; }
.proc-step:hover .proc-dot { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 14px 40px -16px rgba(var(--accent-rgb), calc(0.6*var(--anim))); }
.proc-step h3 { font-size: 22px; margin-bottom: 10px; }
.proc-step p { font-size: 14.5px; color: var(--text-body); }

/* ---------- TESTIMONIALS ---------- */
.test-viewport { overflow: hidden; }
.test-track { display: flex; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.test-card { flex: 0 0 100%; padding: 0 2px; box-sizing: border-box; }
.test-inner { padding: 44px; display: flex; flex-direction: column; gap: 22px; }
.test-quote { font-family: var(--font-head); font-size: clamp(20px, 2.6vw, 30px); line-height: 1.35; color: var(--text-head);
  font-weight: 500; letter-spacing: -0.01em; }
.test-meta { display: flex; align-items: center; gap: 16px; }
.test-avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: #04141a; font-size: 19px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.test-name { font-family: var(--font-head); font-weight: 600; color: var(--text-head); font-size: 16px; }
.test-role { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.stars { display: inline-flex; gap: 3px; color: var(--accent); }
.test-ctrl { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.test-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-soft); background: var(--glass-fill);
  color: var(--text-head); display: grid; place-items: center; transition: border-color .25s, color .25s; }
.test-arrow:hover { border-color: var(--accent); color: var(--accent); }
.test-dots { display: flex; gap: 8px; margin-left: auto; }
.test-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--text-faint); transition: background .3s, width .3s; }
.test-dots button.on { background: var(--accent); width: 24px; border-radius: 4px; }

/* ---------- FORMS ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; }
.field label .pmt { color: var(--accent); }
.field input, .field textarea {
  font-family: var(--font-mono); font-size: 14px; color: var(--text-head);
  background: rgba(255,255,255,0.025); border: 1px solid var(--border-soft); border-radius: 10px;
  padding: 14px 16px; transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12); background: rgba(255,255,255,0.04); }
.field.err input, .field.err textarea { border-color: #ff5f57; }
.field .msg { font-family: var(--font-mono); font-size: 11px; color: #ff7a73; }
.form-sent { font-family: var(--font-mono); color: var(--neon-green); font-size: 14px; display: flex; align-items: center; gap: 10px; }

/* feedback terminal form card */
.fbk { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.fbk-term { padding: 26px; font-family: var(--font-mono); font-size: 13px; line-height: 1.9; }
.fbk-term .pmt { color: var(--accent); } .fbk-term .ok { color: var(--neon-green); } .fbk-term .muted { color: var(--text-muted); }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.ci-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; }
.ci-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--border); color: var(--accent); background: rgba(var(--accent-rgb),0.05);
  transition: transform .4s, box-shadow .4s; }
.ci-card:hover .ci-ico { transform: translateY(-3px); box-shadow: 0 10px 26px -12px rgba(var(--accent-rgb), calc(0.6*var(--anim))); }
.ci-k { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.ci-v { font-family: var(--font-head); font-weight: 600; color: var(--text-head); font-size: 17px; margin-top: 3px; }
.ci-map { margin-top: 4px; height: 140px; border-radius: 14px; border: 1px solid var(--border-soft); position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(var(--accent-rgb),0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(var(--accent-rgb),0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(circle at 60% 50%, rgba(var(--accent-rgb),0.12), transparent 60%), #0c0c12; }
.ci-map .pin { position: absolute; top: 50%; left: 60%; transform: translate(-50%,-50%); color: var(--accent); }
.ci-map .pin::after { content:''; position:absolute; inset:-12px; border-radius:50%; border:1px solid var(--accent); opacity:.4; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity:.7; } 100% { transform: scale(1.8); opacity:0; } }
.ci-map .label { position:absolute; bottom:12px; left:14px; font-family: var(--font-mono); font-size: 11px; color: var(--text-body); }

/* ---------- FOOTER ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border-soft); padding: 70px 0 36px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3)); }
.footer::before { content:''; position:absolute; top:-1px; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb),0.5), transparent); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 18px; max-width: 34ch; font-size: 14.5px; color: var(--text-muted); }
.foot-col h4 { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 18px; }
.foot-col a { display: block; padding: 7px 0; color: var(--text-body); font-size: 14.5px; transition: color .25s, padding-left .25s; }
.foot-col a:hover { color: var(--accent); padding-left: 5px; }
.foot-bottom { margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--border-soft); color: var(--text-body); transition: border-color .25s, color .25s, transform .25s; }
.foot-social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-grid > * { min-width: 0; }
  .hero-terminal-wrap { max-width: 520px; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .nav-links, .nav-right .btn { display: none; }
  .hamburger { display: block; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .proc-line { display: none; }
  .detail-cols { grid-template-columns: 1fr; gap: 32px; }
  .fbk, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .proj-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .proc-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .mobile-menu a { font-size: 30px; }
  .detail-headrow { margin-top: -40px; }
  .hero-trust .sep:last-of-type { display: none; }
}
/* ---- OXCO mobile refinements ---- */
.hero h1, .sec-title, .detail-title { overflow-wrap: break-word; }
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(28px, 7.6vw, 40px); }
  .hero-badge { white-space: normal; }
  .term-body { overflow-x: auto; font-size: 12.5px; }
  .marquee, .term-line { max-width: 100%; }
  .detail-headrow { flex-direction: column; align-items: stretch; gap: 22px; }
  .detail-buy { flex-direction: row; flex-wrap: wrap; }
  .detail-buy .btn, .detail-buy a.btn { flex: 1 1 auto; justify-content: center; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-wrap: wrap; row-gap: 8px; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 27px; line-height: 1.05; }
  .gallery { grid-template-columns: 1fr; }
  .detail-pad { padding-left: 18px; padding-right: 18px; }
  .brand { font-size: 19px; }
  .sec-title { font-size: clamp(25px, 7.5vw, 33px); }
}
