/* ═══════════ UBK² Tech Solutions — blue / black / white theme ═══════════ */
:root {
  /* light theme: white + blue */
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --text: #0b1220;
  --heading: #060b16;
  --muted: #51617e;
  --muted-2: #8494ad;
  --line: #e2e9f4;
  --line-strong: #c6d3e8;
  --accent: #2563eb;
  --accent-2: #3b82f6;
  --accent-soft: rgba(37, 99, 235, .10);
  --dark-tile: #05060a;
  --dark-tile-line: rgba(59, 130, 246, .18);
  --btn-bg: #0b1220;
  --btn-fg: #ffffff;
  --btn-hover: #1e3a8a;
  --nav-bg: rgba(246, 248, 252, .82);
  --shadow-tile: 0 1px 2px rgba(11, 18, 32, .04), 0 8px 24px -18px rgba(11, 18, 32, .18);
  --shadow-lift: 0 6px 16px -6px rgba(37, 99, 235, .12), 0 24px 48px -24px rgba(11, 18, 32, .22);
}

html[data-theme="dark"] {
  /* dark theme: black + blue */
  --bg: #04050a;
  --surface: #0b101c;
  --surface-2: #111a2c;
  --text: #dbe4f5;
  --heading: #f2f6fe;
  --muted: #8fa0bd;
  --muted-2: #64748f;
  --line: rgba(120, 145, 190, .16);
  --line-strong: rgba(120, 145, 190, .32);
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --accent-soft: rgba(59, 130, 246, .14);
  --dark-tile: #0b101c;
  --dark-tile-line: rgba(59, 130, 246, .22);
  --btn-bg: #2563eb;
  --btn-fg: #ffffff;
  --btn-hover: #1d4ed8;
  --nav-bg: rgba(4, 5, 10, .82);
  --shadow-tile: none;
  --shadow-lift: 0 10px 40px -12px rgba(37, 99, 235, .25);
}

* { margin: 0; padding: 0; box-sizing: border-box; border: 0 solid var(--line); }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
section[id] { scroll-margin-top: 88px; }
::selection { background: var(--accent); color: #fff; }

h1,h2,h3,h4 { font-family: "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -0.02em; color: var(--heading); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
@media (min-width: 1024px) { .wrap { padding: 0 40px; } }

.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); }

/* ── scroll progress ── */
#progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  z-index: 60;
}

/* ── reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.21,.6,.35,1), transform .6s cubic-bezier(.21,.6,.35,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── nav ── */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg.logo { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.brand-name { font-weight: 800; letter-spacing: -0.02em; font-size: 15px; line-height: 1.1; color: var(--heading); }
.brand-sub { font-family: "JetBrains Mono", monospace; font-size: 9px; text-transform: uppercase; letter-spacing: .22em; color: var(--muted); }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a { position: relative; padding: 8px 12px; font-size: 14px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--heading); }
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: none; align-items: center; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 20px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); font-size: 14px; font-weight: 600;
  transition: background .2s, gap .2s;
}
.btn:hover { background: var(--btn-hover); }
.btn.lg { height: 48px; padding: 0 24px; }
.btn.lg:hover { gap: 12px; }
.btn.ghost { background: transparent; color: var(--heading); border: 1px solid var(--line-strong); }
.btn.ghost:hover { background: var(--surface); border-color: var(--accent); }
.btn.blue { background: var(--accent); color: #fff; }
.btn.blue:hover { background: var(--btn-hover); }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: color .2s, border-color .2s, transform .3s;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); transform: rotate(15deg); }
.theme-toggle .sun, .theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: block; }
html:not([data-theme="dark"]) .theme-toggle .moon { display: block; }
.menu-btn { display: flex; padding: 8px; border-radius: 8px; border: 1px solid var(--line); }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--surface); }
.mobile-menu.open { display: block; }
.mobile-menu .inner { padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { padding: 8px 0; font-size: 14px; color: var(--text); }
.mobile-menu .btn { margin-top: 8px; height: 44px; }
.mobile-actions { display: flex; align-items: center; gap: 8px; }
@media (min-width: 768px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
  .mobile-actions .theme-toggle { display: none; }
}
@media (max-width: 767px) {
  .nav-cta { display: none; }
}

/* ── icons ── */
.ic { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic.sm { width: 16px; height: 16px; }
.ic.xs { width: 14px; height: 14px; }

/* ── tiles ── */
.tile {
  position: relative; overflow: hidden; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-tile);
  padding: 28px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, background .3s, border-color .3s;
}
@media (min-width: 768px) { .tile { padding: 32px; } }
.tile.hoverable:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.tile.dark { background: var(--dark-tile); color: #dbe4f5; border-color: var(--dark-tile-line); box-shadow: none; }
.tile.dark h2, .tile.dark h3 { color: #f2f6fe; }
.tile.flush { padding: 0; }

/* ── hero ── */
main { padding-top: 32px; padding-bottom: 96px; }
.hero { padding-top: 32px; }
@media (min-width: 768px) { .hero { padding-top: 48px; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 160px; gap: 16px; }
  .hero-main { grid-column: span 12; grid-row: span 3; }
  .hero-case { grid-column: span 12; grid-row: span 2; }
}
.hero-main { display: flex; flex-direction: column; justify-content: space-between; min-height: 480px; }
@media (min-width: 768px) { .hero-main { min-height: 0; } }
.hero-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(var(--accent-soft) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at top right, #000, transparent 65%);
  mask-image: radial-gradient(ellipse at top right, #000, transparent 65%);
}
.hero-rings { position: absolute; top: 0; right: 0; padding: 32px; opacity: .10; pointer-events: none; }
.hero-rings .r1 { width: 288px; height: 288px; border: 2px solid var(--accent); border-radius: 50%; }
.hero-rings .r2 { width: 192px; height: 192px; border: 2px solid var(--accent); border-radius: 50%; margin: -224px 0 0 48px; }

h1.display {
  font-weight: 800; line-height: .98; letter-spacing: -0.03em;
  font-size: 44px; color: var(--heading);
}
@media (min-width: 640px) { h1.display { font-size: 60px; } }
@media (min-width: 768px) { h1.display { font-size: 72px; } }
h1.display .dim { color: var(--accent); }
h1.display span.line { display: block; opacity: 0; transform: translateY(24px); animation: rise .6s cubic-bezier(.21,.6,.35,1) forwards; }
h1.display span.line:nth-child(1) { animation-delay: .1s; }
h1.display span.line:nth-child(2) { animation-delay: .22s; }
h1.display span.line:nth-child(3) { animation-delay: .34s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-bottom { display: flex; flex-direction: column; gap: 24px; position: relative; margin-top: 40px; }
@media (min-width: 768px) { .hero-bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.hero-bottom p { max-width: 448px; font-size: 16px; color: var(--muted); line-height: 1.65; }
@media (min-width: 768px) { .hero-bottom p { font-size: 18px; } }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-case { display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; gap: 24px; }
.hero-case .ghost-square { position: absolute; right: -32px; bottom: -32px; width: 192px; height: 192px; background: rgba(59,130,246,.06); border-radius: 16px; transform: rotate(12deg); }
.rule-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rule-row .rule { height: 1px; flex: 1; background: rgba(120,145,190,.18); }
.rule-row .mono.b { font-weight: 700; color: #8fa0bd; }
.hero-case h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 768px) { .hero-case h3 { font-size: 36px; } }
.hero-case p { color: #8fa0bd; font-size: 14px; max-width: 448px; line-height: 1.65; margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chip {
  font-family: "JetBrains Mono", monospace; font-size: 10px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(59,130,246,.25); background: rgba(59,130,246,.08); color: #93b4f4;
}
.chip.light { border-color: var(--line); background: var(--surface-2); color: var(--muted); }

/* ── marquee ── */
.marquee { margin-top: 40px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee .label-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.marquee .label-row .rule { height: 1px; flex: 1; background: var(--line); }
.marquee-track {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-row { display: flex; gap: 40px; white-space: nowrap; will-change: transform; animation: marquee 30s linear infinite; width: max-content; }
.marquee-track:hover .marquee-row { animation-play-state: paused; }
.marquee-row span {
  font-size: 24px; font-weight: 700; color: var(--line-strong);
  transition: color .25s; cursor: default;
}
@media (min-width: 768px) { .marquee-row span { font-size: 30px; } }
.marquee-row span:hover { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── section header ── */
.section { margin-top: 96px; }
@media (min-width: 768px) { .section { margin-top: 128px; } }
.sec-head {
  margin-bottom: 40px; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; border-bottom: 1px solid var(--line); padding-bottom: 24px;
}
@media (min-width: 768px) { .sec-head { margin-bottom: 56px; } }
.sec-head h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.025em; margin-top: 12px; }
@media (min-width: 768px) { .sec-head h2 { font-size: 48px; } }
.sec-head .sub { display: none; color: var(--muted); max-width: 320px; font-size: 14px; }
@media (min-width: 768px) { .sec-head .sub { display: block; } }
.sec-head .mono { color: var(--accent); font-weight: 700; }

/* ── services ── */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; perspective: 1200px; }
@media (min-width: 768px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.svc { height: 100%; transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .3s; }
.svc:hover { box-shadow: var(--shadow-lift); }
.svc .top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 32px; }
.icon-box {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft);
  border: 1px solid rgba(59,130,246,.2); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--accent); transition: background .25s, color .25s;
}
.svc:hover .icon-box { background: var(--accent); color: #fff; }
.svc .idx { font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--muted-2); }
.svc h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.svc p { color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.65; }
.svc .more {
  margin-top: 24px; display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  opacity: 0; transition: opacity .25s;
}
.svc:hover .more { opacity: 1; }

/* ── industries ── */
.ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .ind-grid { grid-template-columns: repeat(4, 1fr); } }
.ind {
  position: relative; aspect-ratio: 5/4; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); display: block;
}
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.ind:hover img { transform: scale(1.1); }
.ind .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,8,20,.85), rgba(4,8,20,.25) 50%, transparent); }
.ind .content { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.ind .row { display: flex; align-items: center; justify-content: space-between; }
.ind .name { font-weight: 700; font-size: 14px; }
@media (min-width: 768px) { .ind .name { font-size: 16px; } }
.ind .arrow { transition: transform .25s; transform: translate(-2px, 2px); opacity: .8; }
.ind:hover .arrow { transform: translate(0,0); }

/* ── process ── */
.proc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .proc-grid { grid-template-columns: 5fr 7fr; } }
.steps { display: flex; flex-direction: column; gap: 8px; }
.step {
  width: 100%; text-align: left; border-radius: 16px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, background .2s, color .2s;
}
.step:hover { border-color: var(--accent-2); }
.step.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.step .inner { display: flex; align-items: center; gap: 16px; }
.step .n { font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; color: var(--line-strong); }
.step.active .n { color: rgba(255,255,255,.6); }
.step .t { font-weight: 700; font-size: 18px; }
.step.active .t { color: #fff; }
.step .d { font-size: 12px; margin-top: 2px; color: var(--muted); }
.step.active .d { color: rgba(255,255,255,.75); }
.step .ic { color: var(--muted-2); margin-left: auto; }
.step.active .ic { color: #fff; }
.step .mid { flex: 1; }
.pane { min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; }
.pane-anim { animation: fadeUp .3s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pane h3 { font-size: 36px; font-weight: 800; letter-spacing: -0.025em; color: #f2f6fe; }
.pane .pane-anim p { color: #8fa0bd; margin-top: 16px; line-height: 1.65; max-width: 512px; }
.pane-photo {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 14px; margin-top: 24px;
  border: 1px solid rgba(59,130,246,.15);
}

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: 4fr 8fr; } }
.faq-cta h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-top: 12px; }
.faq-cta p { color: var(--muted); font-size: 14px; margin-top: 12px; line-height: 1.65; }
.faq-cta .link { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%; text-align: left; padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.faq-q .txt { font-weight: 700; font-size: 16px; color: var(--heading); }
@media (min-width: 768px) { .faq-q .txt { font-size: 18px; } }
.faq-q .plus { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--accent); transition: transform .25s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 28px 20px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ── contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 7fr 5fr; } }
.contact-left { min-height: 480px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.contact-left h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.025em; margin-top: 16px; color: #f2f6fe; line-height: 1; }
@media (min-width: 768px) { .contact-left h2 { font-size: 60px; } }
.contact-left h2 .dim { color: var(--accent-2); }
.contact-left > div > p { color: #8fa0bd; margin-top: 24px; max-width: 448px; line-height: 1.65; }
.contact-info { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .contact-info { grid-template-columns: repeat(2, 1fr); } }
.contact-info .item { display: flex; align-items: flex-start; gap: 12px; }
.contact-info .box {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.25); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #60a5fa;
}
.contact-info .v { display: block; color: #f2f6fe; font-size: 14px; margin-top: 2px; }
a.v:hover { text-decoration: underline; }

form.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field label { display: block; }
.field input, .field textarea {
  margin-top: 8px; width: 100%; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: inherit; font-size: 14px;
  transition: border-color .2s; outline: none; resize: none;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.chip-select { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-select button {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-size: 12px; font-weight: 600;
  transition: all .2s;
}
.chip-select button:hover { border-color: var(--accent-2); }
.chip-select button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.count-row { display: flex; align-items: center; justify-content: space-between; }
.count-row .count { font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--muted-2); }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); margin-top: 4px; }
.form-note .ic { color: var(--accent); }
.form-success {
  min-height: 480px; display: none; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; gap: 16px; animation: fadeUp .35s ease both;
}
.form-success.show { display: flex; }
.form-success .ring {
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft);
  border: 1px solid rgba(59,130,246,.35); display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.form-success .ring .ic { width: 32px; height: 32px; }
.form-success h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.form-success p { color: var(--muted); font-size: 14px; max-width: 320px; line-height: 1.65; }
.form-success button { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 8px; }

/* ── footer ── */
footer.site { border-top: 1px solid var(--line); background: var(--surface); }
.foot-inner { padding: 56px 0; }
.foot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: repeat(5, 1fr); } }
.foot-brand { grid-column: span 2; }
.foot-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 320px; line-height: 1.65; }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  transition: color .2s, border-color .2s;
}
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.foot-col .mono { display: block; margin-bottom: 16px; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { font-size: 14px; color: var(--text); transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
@media (min-width: 768px) { .foot-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }

/* mobile footer: centered */
@media (max-width: 767px) {
  .foot-grid { text-align: center; }
  .foot-brand .brand { justify-content: center; }
  .foot-brand p { margin-left: auto; margin-right: auto; }
  .socials { justify-content: center; }
  .foot-bottom { align-items: center; text-align: center; }
}

/* ── back to top ── */
#toTop {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -10px rgba(37,99,235,.6);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
}
#toTop.show { opacity: 1; transform: none; pointer-events: auto; }
#toTop:hover { background: var(--btn-hover); }

