/* =========================================================
   ztechnology: main stylesheet
   ========================================================= */

:root {
  /* Brand */
  --ink: #0b0d12;          /* deepest background */
  --ink-2: #12151c;        /* dark surfaces */
  --ink-3: #1b1f29;        /* dark cards */
  --charcoal: #2a2a2a;     /* logo tile color */
  --blue: #3b82f6;
  --blue-600: #2563eb;
  --cyan: #22d3ee;
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);

  /* Light surfaces */
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --line: #e5e9f0;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;

  /* On dark */
  --d-text: #f1f5f9;
  --d-text-2: #a3adbf;
  --d-line: rgba(255, 255, 255, 0.09);

  --star: #fbbf24;
  --green: #22c55e;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px -12px rgba(15, 23, 42, 0.18);

  --font-head: "Lexend", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px -6px rgba(59, 130, 246, .55); }
.btn-primary:hover {
  transform: translateY(-2px);
  /* layered, soft glow that follows the pill shape */
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, .35),
    0 6px 16px -4px rgba(59, 130, 246, .5),
    0 0 28px 2px rgba(34, 211, 238, .28);
}
.btn-ghost { color: var(--d-text); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { height: 38px; width: auto; transition: filter .3s; filter: invert(1); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) { color: var(--d-text-2); font-size: 15px; font-weight: 500; transition: color .2s; }
.main-nav a:not(.btn):hover { color: #fff; }

.site-header.scrolled {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.scrolled .brand-logo { filter: none; }
.site-header.scrolled .main-nav a:not(.btn) { color: var(--text-2); }
.site-header.scrolled .main-nav a:not(.btn):hover { color: var(--text); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.site-header.scrolled .nav-toggle span { background: var(--text); }

@media (max-width: 920px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); padding: 12px 16px 24px;
    border-bottom: 1px solid var(--d-line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
  }
  .main-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--d-line); color: var(--d-text) !important; }
  .main-nav .nav-cta { margin-top: 16px; }
  .site-header.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .site-header.nav-open { background: var(--ink-2); }
  .site-header.nav-open .brand-logo { filter: invert(1); }
  .site-header.nav-open .nav-toggle span { background: #fff; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Shared bits ---------- */
.stars { color: var(--star); letter-spacing: 2px; font-size: 14px; }
.stars-lg { font-size: 22px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 13px; color: var(--blue-600); margin-bottom: 14px; letter-spacing: .02em; }
.eyebrow-muted { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--d-text-2); text-align: center; margin-bottom: 22px; }
.muted { color: var(--text-2); font-size: 14px; }

.av {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-family: var(--font-head); font-size: 13px; font-weight: 600; color: #fff; flex-shrink: 0;
}
.av-lg { width: 52px; height: 52px; font-size: 16px; }
.av-1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.av-2 { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.av-3 { background: linear-gradient(135deg, #6366f1, #4338ca); }
.av-4 { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.av-more { background: var(--ink-3); color: var(--d-text); font-size: 11px; }

.tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--blue-600);
  background: rgba(59,130,246,.09); padding: 4px 10px; border-radius: 999px;
}
.tag-sm { font-size: 11px; padding: 3px 9px; }

/* Image placeholders: clearly marked so they're easy to find and replace */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; font-size: 14px; font-weight: 500;
  border-radius: var(--radius-sm);
}
.ph small { font-family: var(--font-mono); font-size: 11px; opacity: .7; }
.ph-dark {
  color: rgba(255,255,255,.55);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 10px, transparent 10px 20px),
    linear-gradient(135deg, rgba(59,130,246,.18), rgba(34,211,238,.08));
  border: 1px dashed rgba(255,255,255,.16);
}
.ph-light {
  color: var(--text-3); aspect-ratio: 10 / 7;
  background:
    repeating-linear-gradient(45deg, rgba(15,23,42,.025) 0 10px, transparent 10px 20px),
    linear-gradient(135deg, #eef3fb, #e6f6fb);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--ink); color: var(--d-text);
  padding: calc(var(--header-h) + 72px) 0 56px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
/* Glows use radial gradients instead of filter: blur(), which caused rectangular
   rendering artifacts around hovered elements in some browsers. */
.glow { position: absolute; border-radius: 50%; }
.glow-1 { width: 900px; height: 900px; top: -350px; right: -270px; background: radial-gradient(closest-side, rgba(59,130,246,.34), rgba(59,130,246,.14) 50%, rgba(59,130,246,0)); }
.glow-2 { width: 760px; height: 760px; bottom: -130px; left: -330px; background: radial-gradient(closest-side, rgba(34,211,238,.18), rgba(34,211,238,.07) 50%, rgba(34,211,238,0)); }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.lead { font-size: 1.15rem; color: var(--d-text-2); max-width: 540px; margin-bottom: 32px; }

.rating-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 7px 16px 7px 12px; border-radius: 999px; font-size: 14px; color: var(--d-text);
  background: rgba(255,255,255,.05); border: 1px solid var(--d-line);
  transition: border-color .2s, background .2s;
}
.rating-pill:hover { border-color: rgba(34,211,238,.5); background: rgba(255,255,255,.08); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-trust p { margin: 0; color: var(--d-text-2); font-size: 15px; }
.hero-trust strong { color: #fff; }
.avatar-stack { display: flex; }
.avatar-stack .av { width: 38px; height: 38px; border: 2px solid var(--ink); margin-left: -10px; }
.avatar-stack .av:first-child { margin-left: 0; }

/* Hero visual */
.hero-visual { position: relative; padding: 24px 0 24px 24px; }
.browser {
  background: var(--ink-3); border: 1px solid var(--d-line); border-radius: 14px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(59,130,246,.08), 0 0 80px -20px rgba(59,130,246,.45);
  overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--d-line); background: rgba(255,255,255,.02); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #3a4150; }
.dot:nth-child(1) { background: #ff5f57; } .dot:nth-child(2) { background: #febc2e; } .dot:nth-child(3) { background: #28c840; }
.url { margin-left: 12px; flex: 1; font-family: var(--font-mono); font-size: 11px; color: var(--d-text-2); background: rgba(255,255,255,.05); padding: 4px 10px; border-radius: 6px; }
.browser-body { padding: 16px; }
.browser-body { padding: 0; }
.hero-shot { width: 100%; height: auto; display: block; }
.code-lines { display: grid; gap: 8px; margin-top: 16px; }
.code-lines span { height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(59,130,246,.45), rgba(255,255,255,.07)); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.97); color: var(--text); border-radius: 14px;
  padding: 12px 16px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
  font-size: 14px; line-height: 1.3; animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-weight: 600; }
.float-card small { color: var(--text-2); font-size: 12px; }
.fc-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 700; flex-shrink: 0; }
.fc-green { background: var(--green); }
.fc-blue { background: var(--grad); }
.fc-1 { left: -8px; bottom: 54px; }
.fc-2 { right: -12px; top: 0; animation-delay: -2s; }
.fc-3 { right: 20px; bottom: -6px; flex-direction: column; align-items: flex-start; gap: 2px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Logo strip */
.logo-strip { position: relative; margin-top: 80px; padding-top: 36px; border-top: 1px solid var(--d-line); }
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.client-logo { height: 56px; display: grid; place-items: center; padding: 0 12px; }
.client-logo img { max-width: 100%; height: auto; opacity: .62; transition: opacity .25s ease, transform .25s ease; }
.client-logo:hover img { opacity: 1; transform: translateY(-1px); }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; padding-left: 0; }
  .browser { transform: none; }
  .logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .fc-2 { right: -4px; top: -10px; }
  .fc-1 { left: -4px; bottom: 40px; }
  .fc-3 { display: none; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { flex: 1; }
}

/* ---------- Stats ---------- */
.stats { background: var(--ink-2); color: var(--d-text); border-top: 1px solid var(--d-line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 20px; text-align: center; border-left: 1px solid var(--d-line); }
.stat:first-child { border-left: 0; }
.stat-num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; line-height: 1; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--d-text-2); font-size: 15px; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 12px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--d-line); }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head p { color: var(--text-2); font-size: 1.1rem; margin: 0; }
.section-head.left { text-align: left; margin: 0; }
@media (max-width: 720px) { .section { padding: 76px 0; } .section-head { margin-bottom: 40px; } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(59,130,246,.35); }
.service-card.featured { border-color: rgba(59,130,246,.45); box-shadow: 0 0 0 4px rgba(59,130,246,.07), var(--shadow); }
.badge-popular {
  position: absolute; top: -12px; left: 26px; background: var(--grad); color: #fff;
  font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 999px; letter-spacing: .02em;
}
.service-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  color: #fff; background: var(--ink); position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.service-icon { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 10px 18px -8px rgba(59,130,246,.6); }
.service-card:hover .service-icon { background: var(--grad); }
.service-card p { color: var(--text-2); font-size: 15px; }
.checks { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 9px; font-size: 14px; color: var(--text); }
.checks li { position: relative; padding-left: 26px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(59,130,246,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.link-arrow { margin-top: auto; font-weight: 600; font-size: 15px; display: inline-flex; gap: 6px; }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

.guarantees {
  margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt);
}
.guarantee { display: flex; gap: 14px; padding: 24px; align-items: flex-start; }
.guarantee + .guarantee { border-left: 1px solid var(--line); }
.guarantee svg { color: var(--blue-600); flex-shrink: 0; margin-top: 2px; }
.guarantee strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.guarantee span { font-size: 14px; color: var(--text-2); }

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantees { grid-template-columns: repeat(2, 1fr); }
  .guarantee:nth-child(3) { border-left: 0; }
  .guarantee:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .services-grid, .guarantees { grid-template-columns: 1fr; }
  .guarantee + .guarantee { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Featured quote ---------- */
.featured-quote { background: var(--ink); color: var(--d-text); padding: 96px 0; position: relative; overflow: hidden; }
.featured-quote::before {
  content: ""; position: absolute; width: 700px; height: 300px; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(59,130,246,.22), transparent); pointer-events: none;
}
.fq-inner { position: relative; max-width: 880px; text-align: center; }
.fq-mark { font-family: var(--font-head); font-size: 120px; line-height: .6; height: 50px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.featured-quote blockquote { margin: 0 0 36px; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.45; color: #fff; letter-spacing: -0.01em; }
.fq-author { display: inline-flex; align-items: center; gap: 14px; text-align: left; flex-wrap: wrap; justify-content: center; }
.fq-author strong { display: block; color: #fff; }
.fq-author span { color: var(--d-text-2); font-size: 14px; }
.verified { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(34,197,94,.12); color: #4ade80 !important; font-size: 12px !important; font-weight: 600; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-img { width: 100%; height: auto; aspect-ratio: 10 / 7; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.work-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.work-body .tag { align-self: flex-start; margin-bottom: 14px; }
.work-body p { color: var(--text-2); font-size: 15px; }
.work-metrics { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.work-metrics strong { display: block; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.work-metrics span { font-size: 13px; color: var(--text-2); }
@media (max-width: 980px) {
  .work-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .work-card { display: grid; grid-template-columns: 240px 1fr; }
  .work-card .work-img { aspect-ratio: auto; height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .work-card { display: flex; }
  .work-card .work-img { aspect-ratio: 10 / 7; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Reviews ---------- */
.reviews-layout { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.rating-summary { position: sticky; top: calc(var(--header-h) + 24px); }
.big-rating { display: flex; align-items: center; gap: 18px; margin: 20px 0 24px; }
.big-num { font-family: var(--font-head); font-size: 4rem; font-weight: 700; line-height: 1; }
.big-rating > div { display: grid; gap: 2px; }
.bars { display: grid; gap: 8px; margin-bottom: 24px; }
.bar-row { display: grid; grid-template-columns: 28px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.bar-row span:last-child { text-align: right; }
.bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 4px; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.rating-summary.in .bar i { width: var(--w); }
.platforms { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.platform { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text-2); }
.platform b { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: var(--bg-alt); color: var(--text); font-family: var(--font-head); font-size: 12px; }

.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review:nth-child(even) { transform: translateY(28px); }
.review:nth-child(even):hover { transform: translateY(24px); }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.review blockquote { margin: 0 0 22px; color: var(--text); font-size: 15.5px; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; font-size: 15px; }
.review figcaption span { font-size: 13px; color: var(--text-2); }

@media (max-width: 1020px) {
  .reviews-layout { grid-template-columns: 1fr; gap: 40px; }
  .rating-summary { position: static; }
}
@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .review:nth-child(even), .review:nth-child(even):hover { transform: none; }
}

/* ---------- Process ---------- */
.section-dark { background: var(--ink); color: var(--d-text); position: relative; overflow: hidden; }
.section-dark .section-head p { color: var(--d-text-2); }
.section-dark .eyebrow { color: var(--cyan); }
.section-dark h2 { color: #fff; }
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--d-line); transition: border-color .25s, transform .25s; }
.step:hover { border-color: rgba(34,211,238,.4); transform: translateY(-4px); }
.step-num { display: inline-block; font-family: var(--font-mono); font-size: 13px; color: var(--cyan); padding: 4px 10px; border-radius: 8px; background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.2); margin-bottom: 18px; }
.step h3 { color: #fff; }
.step p { color: var(--d-text-2); font-size: 15px; margin: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 42px; right: -21px; width: 22px; height: 1px;
  background: linear-gradient(90deg, rgba(34,211,238,.6), transparent);
}
@media (max-width: 980px) { .process { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.faq-list details[open] { border-color: rgba(59,130,246,.4); box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-family: var(--font-head); font-weight: 600; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--blue-600); font-size: 18px; font-weight: 500; transition: transform .25s, background .2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: rgba(59,130,246,.12); }
.faq-list details p { padding: 0 22px 20px; margin: 0; color: var(--text-2); }
@media (max-width: 880px) { .faq-layout { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Contact ---------- */
.contact-section { background: var(--bg-alt); position: relative; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.lead-dark { font-size: 1.1rem; color: var(--text-2); }
.contact-points { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; font-weight: 500; }
.contact-points li { display: flex; align-items: center; gap: 12px; }
.ci { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; }
.contact-details { display: grid; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-details a, .contact-details span { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; }
.contact-details svg { color: var(--blue-600); flex-shrink: 0; }
.contact-details a:hover { color: var(--blue-600); }
.contact-details .contact-address { align-items: flex-start; }
.contact-details .contact-address svg { margin-top: 2px; }
address { font-style: normal; line-height: 1.5; }

.contact-form {
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 36px;
  box-shadow: var(--shadow-lg); display: grid; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text); }
.optional { font-weight: 400; color: var(--text-3); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 15px; font-weight: 400; color: var(--text);
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-alt);
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(59,130,246,.14);
}
.contact-form .invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.1); }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--text-3); margin: 0; }
.form-status { font-size: 14px; text-align: center; font-weight: 500; }
.form-status.ok { color: #15803d; background: rgba(34,197,94,.1); padding: 12px; border-radius: 10px; }
.form-status.err { color: #b91c1c; }
@media (max-width: 920px) { .contact-layout { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .contact-form { padding: 24px 20px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--d-text-2); padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { height: 40px; width: auto; filter: invert(1); margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--d-text-2); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--d-line); background: rgba(255,255,255,.03); }
.socials a:hover { border-color: rgba(34,211,238,.5); color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px; border-top: 1px solid var(--d-line); font-size: 14px; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.review.reveal.in:nth-child(even) { transform: translateY(28px); }
@media (max-width: 640px) { .review.reveal.in:nth-child(even) { transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Specialist page
   ========================================================= */
.main-nav a[aria-current="page"] { color: #fff; }
.site-header.scrolled .main-nav a[aria-current="page"] { color: var(--blue-600); }
.eyebrow-dark { color: var(--cyan); }

.spec-hero { padding-bottom: 96px; }
.spec-hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.spec-role { font-family: var(--font-mono); font-size: 14px; color: var(--cyan); margin: -6px 0 20px; }
.spec-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.spec-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--d-text);
  background: rgba(255,255,255,.05); border: 1px solid var(--d-line);
}
.spec-badge svg { color: var(--cyan); }
.spec-stats { display: flex; gap: 0; margin-top: 4px; border-top: 1px solid var(--d-line); padding-top: 24px; }
.spec-stats div { flex: 1; padding-right: 16px; }
.spec-stats div + div { padding-left: 20px; border-left: 1px solid var(--d-line); }
.spec-stats strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #fff; line-height: 1.2; }
.spec-stats span { font-size: 14px; color: var(--d-text-2); }

.spec-photo { position: relative; margin: 0; }
.spec-photo::before {
  content: ""; position: absolute; inset: -14px; border-radius: 34px;
  background: linear-gradient(135deg, rgba(59,130,246,.55), rgba(34,211,238,.25) 60%, transparent);
  opacity: .6;
}
.spec-photo img {
  position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 24px; box-shadow: 0 40px 80px -24px rgba(0,0,0,.7);
}
.spec-available {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  background: rgba(255,255,255,.96); color: var(--text); font-size: 14px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; box-shadow: 0 16px 30px -10px rgba(0,0,0,.5);
}
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

@media (max-width: 980px) {
  .spec-hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .spec-photo { max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .spec-stats { flex-direction: column; gap: 14px; }
  .spec-stats div + div { padding-left: 0; border-left: 0; }
  .spec-available { font-size: 13px; padding: 8px 14px; }
}

/* Gallery */
.spec-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spec-gallery figure { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.spec-gallery figure:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.spec-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.spec-gallery figcaption { padding: 16px 20px; font-family: var(--font-head); font-weight: 600; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .spec-gallery { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Coverage */
.coverage-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.coverage-map { position: relative; min-height: 460px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #e2e8f0; }
.coverage-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-pin-card {
  position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.97); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg);
}
.map-pin-card strong { display: block; font-family: var(--font-head); font-size: 15px; }
.map-pin-card span:not(.ci) { font-size: 13px; color: var(--text-2); }
.coverage-list { display: grid; gap: 16px; align-content: start; }
.coverage-tier { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.tier-head { display: flex; align-items: center; gap: 10px; }
.tier-head h3 { margin: 0; font-size: 1.1rem; }
.tier-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.tier-1 { background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.15); }
.tier-2 { background: var(--blue); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }
.tier-3 { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,.15); }
.coverage-tier p { color: var(--text-2); font-size: 14px; margin: 6px 0 14px 22px; }
.area-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips li { font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); }
.coverage-note { font-size: 14px; color: var(--text-2); margin: 4px 0 0; }
@media (max-width: 920px) { .coverage-layout { grid-template-columns: 1fr; } .coverage-map { min-height: 340px; } }

/* On-site services */
.onsite-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.onsite-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.onsite-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(59,130,246,.35); }
.onsite-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; color: var(--blue-600); background: rgba(59,130,246,.1); transition: background .25s, color .25s; }
.onsite-card:hover .onsite-icon { background: var(--grad); color: #fff; }
.onsite-card h3 { font-size: 1.05rem; }
.onsite-card p { color: var(--text-2); font-size: 14.5px; margin: 0; }
@media (max-width: 1080px) { .onsite-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .onsite-grid { grid-template-columns: 1fr; } }

.spec-cta {
  margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--ink); color: var(--d-text); border-radius: 24px; padding: 40px 44px; position: relative; overflow: hidden;
}
.spec-cta::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; background: radial-gradient(closest-side, rgba(59,130,246,.35), transparent); pointer-events: none; }
.spec-cta > * { position: relative; }
.spec-cta h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.spec-cta p { color: var(--d-text-2); margin: 0; }
.spec-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .spec-cta { padding: 32px 22px; } .spec-cta-actions .btn { flex: 1; } }

/* ---------- Specialists team ---------- */
.team-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 460px; margin-left: auto; width: 100%; }
.team-collage figure { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); border: 1px solid var(--d-line); }
.team-collage figure:nth-child(even) { transform: translateY(28px); }
.team-collage img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.team-collage figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255,255,255,.95); color: var(--text); font-size: 13px; font-weight: 600;
}
@media (max-width: 980px) { .team-collage { margin: 0 auto 28px; max-width: 420px; } }

.area-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: center; margin-bottom: 14px; }
.filter-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; margin-right: 4px; color: var(--text-2); }
.filter-label svg { color: var(--blue-600); }
.chip-btn {
  font: inherit; font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer;
  padding: 7px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line);
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.chip-btn:hover { border-color: rgba(59,130,246,.5); }
.chip-btn.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -6px rgba(59,130,246,.6); }
.filter-result { text-align: center; color: var(--text-2); font-size: 14px; min-height: 22px; margin: 0 0 28px; }
.filter-result strong { color: var(--text); }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tech-card {
  display: grid; grid-template-columns: 210px 1fr; background: var(--bg); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; transition: transform .25s, box-shadow .25s, opacity .3s, border-color .25s, filter .3s;
}
.tech-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(59,130,246,.35); }
.tech-card.is-match { border-color: rgba(59,130,246,.55); box-shadow: 0 0 0 4px rgba(59,130,246,.1), var(--shadow); }
.tech-card.is-dim { opacity: .35; filter: grayscale(.8); }
.tech-card:target { border-color: rgba(59,130,246,.55); box-shadow: 0 0 0 4px rgba(59,130,246,.12), var(--shadow-lg); }
.tech-photo { width: 100%; height: 100%; min-height: 100%; object-fit: cover; display: block; }
.tech-body { padding: 24px; display: flex; flex-direction: column; }
.tech-role { font-family: var(--font-mono); font-size: 12px; color: var(--blue-600); margin-bottom: 6px; }
.tech-body h3 { font-size: 1.3rem; margin-bottom: 16px; }
.tech-block { margin-bottom: 16px; }
.tech-block h4 { display: flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 0 0 8px; }
.tech-block h4 svg { color: var(--blue-600); }
.tech-block .checks { margin: 0; gap: 7px; }
.area-chips-sm { gap: 6px; }
.area-chips-sm li { font-size: 13px; padding: 4px 10px; }
.tech-book { margin-top: auto; align-self: flex-start; }
@media (max-width: 1080px) { .team-grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; } }
@media (max-width: 560px) {
  .tech-card { grid-template-columns: 1fr; }
  .tech-photo { aspect-ratio: 1 / 1; height: auto; object-position: center 15%; }
  .area-filter { justify-content: flex-start; }
}

/* Coverage: area → specialist table */
.area-table { list-style: none; padding: 0; margin: 12px 0 0; }
.area-table li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.area-table li:first-child { border-top: 0; }
.area-jump { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--text); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.area-jump svg { color: var(--blue-600); flex-shrink: 0; }
.area-jump:hover { color: var(--blue-600); }
.who { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.who-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text); padding: 3px 10px 3px 3px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); }
.who-chip:hover { border-color: rgba(59,130,246,.5); color: var(--blue-600); }
.who-chip img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; object-position: center 22%; }

/* Services with providers */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(59,130,246,.35); }
.svc-card:hover .onsite-icon { background: var(--grad); color: #fff; }
.svc-card h3 { font-size: 1.1rem; }
.svc-card p { color: var(--text-2); font-size: 14.5px; }
.svc-who { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-who span { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 8px; }
.svc-avatars { display: flex; }
.svc-avatars a { margin-left: -8px; border-radius: 50%; border: 2px solid #fff; transition: transform .2s; }
.svc-avatars a:first-child { margin-left: 0; }
.svc-avatars a:hover { transform: translateY(-3px); z-index: 1; }
.svc-avatars img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: center 22%; display: block; }
.svc-who small { display: block; margin-top: 6px; font-size: 13px; color: var(--text-2); }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Fulfillments page
   ========================================================= */
.ff-hero .spec-hero-inner { grid-template-columns: 1fr 1fr; }
.ff-stats strong small { font-size: .7em; color: var(--star); margin-left: 2px; }

/* Hero mosaic */
.ff-mosaic { position: relative; height: 460px; max-width: 540px; width: 100%; margin-left: auto; }
.ff-mosaic img { position: absolute; height: auto; border-radius: 18px; border: 1px solid var(--d-line); box-shadow: 0 30px 60px -24px rgba(0,0,0,.75); object-fit: cover; background: #fff; }
.ffm-1 { width: 74%; aspect-ratio: 10 / 7; top: 0; left: 0; }
.ffm-2 { width: 52%; aspect-ratio: 4 / 3; top: 170px; right: 0; }
.ffm-3 { width: 54%; aspect-ratio: 10 / 7; bottom: 0; left: 6%; }
.ffm-card-1 { left: -18px; top: 200px; animation-delay: -2s; }
.ffm-card-2 { right: 6px; bottom: 26px; animation-delay: -4s; }
@media (max-width: 980px) { .ff-hero .spec-hero-inner { grid-template-columns: 1fr; } .ff-mosaic { margin: 8px auto 0; } }
@media (max-width: 560px) {
  .ff-mosaic { height: 340px; }
  .ffm-2 { top: 120px; }
  .ffm-card-1 { left: 0; top: 150px; }
  .ffm-card-2 { right: 0; bottom: 8px; }
  .spec-stats.ff-stats { flex-direction: row; flex-wrap: wrap; gap: 18px 0; }
  .ff-stats div { flex: 1 1 50%; }
  .ff-stats div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--d-line); }
  .ff-stats div:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Proof band */
.ff-proof-band { background: var(--bg); border-bottom: 1px solid var(--line); }
.ff-proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.ff-proof li { display: flex; gap: 14px; align-items: flex-start; padding: 32px 24px; }
.ff-proof li + li { border-left: 1px solid var(--line); }
.ff-proof .onsite-icon { margin: 0; flex-shrink: 0; width: 42px; height: 42px; }
.ff-proof strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.ff-proof span:not(.onsite-icon) { font-size: 14px; color: var(--text-2); }
@media (max-width: 980px) {
  .ff-proof { grid-template-columns: 1fr 1fr; }
  .ff-proof li:nth-child(3) { border-left: 0; }
  .ff-proof li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .ff-proof { grid-template-columns: 1fr; }
  .ff-proof li { padding: 20px 4px; }
  .ff-proof li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* Filter */
.chip-count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg-alt); color: var(--text-2); }
.chip-btn.is-active .chip-count { background: rgba(255,255,255,.25); color: #fff; }

/* Job cards */
.ff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ff-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ff-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(59,130,246,.35); }
.ff-card[hidden] { display: none; }
.ff-media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #eef2ff; cursor: zoom-in; overflow: hidden; border-bottom: 1px solid var(--line); }
.ff-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.ff-card:hover .ff-media img { transform: scale(1.04); }
.ff-media:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.ff-delivered { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 9px; border-radius: 999px; background: rgba(255,255,255,.96); color: #15803d; font-size: 12px; font-weight: 700; box-shadow: 0 6px 16px -6px rgba(15,23,42,.35); }
.ff-delivered svg { color: #fff; background: var(--green); border-radius: 50%; padding: 2px; width: 16px; height: 16px; }
.ff-view { position: absolute; right: 12px; bottom: 12px; padding: 7px 14px; border-radius: 999px; background: rgba(11,13,18,.82); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.ff-card:hover .ff-view, .ff-media:focus-visible .ff-view { opacity: 1; transform: none; }
@media (hover: none) { .ff-view { opacity: 1; transform: none; } }
.ff-body { padding: 22px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.ff-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.ff-meta time { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.ff-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.ff-where { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.ff-where svg { color: var(--blue-600); flex-shrink: 0; }
.ff-desc { margin: 0 0 16px; font-size: 14.5px; color: var(--text-2); }
.ff-results { list-style: none; margin: auto 0 0; padding: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--line); }
.ff-results strong { display: block; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.15; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ff-results span { font-size: 13px; color: var(--text-2); }
.ff-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.ff-by { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); min-width: 0; }
a.ff-by:hover { color: var(--blue-600); }
.ff-by img, .ff-by .av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: center 22%; font-size: 10px; }
.ff-foot .stars { font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
@media (max-width: 1080px) { .ff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ff-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* Job dialog */
.ff-dialog { width: min(940px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 22px; background: var(--bg); color: var(--text); box-shadow: 0 40px 100px -20px rgba(0,0,0,.6); overflow: auto; }
.ff-dialog::backdrop { background: rgba(11,13,18,.72); backdrop-filter: blur(4px); }
.ff-dialog[open] { animation: ff-pop .28s cubic-bezier(.2,.7,.2,1); }
@keyframes ff-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.ff-close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,.95); color: var(--text); box-shadow: 0 6px 18px -6px rgba(15,23,42,.4); }
.ff-close:hover { background: var(--bg-alt); }
.ff-dlg { display: grid; grid-template-columns: 1.1fr 1fr; }
.ff-dlg-media { position: relative; background: #eef2ff; }
.ff-dlg-media img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.ff-dlg-body { padding: 32px 30px 28px; }
.ff-dlg-body .ff-meta { padding-right: 44px; }
.ff-dlg-body h3 { font-size: 1.45rem; margin: 2px 0 6px; }
.ff-dlg-body h4 { font-family: var(--font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 20px 0 10px; }
.ff-dlg-body .checks { margin-bottom: 12px; }
.ff-dlg-body .ff-results { margin-top: 4px; }
.ff-timeline { font-size: 14px; color: var(--text-2); margin: 0 0 18px; }
.ff-timeline strong { color: var(--text); }
.ff-quote { margin: 0 0 22px; padding: 18px 20px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); }
.ff-quote p { margin: 6px 0 8px; font-size: 15px; }
.ff-quote cite { font-style: normal; font-size: 13px; font-weight: 600; color: var(--text-2); }
.ff-signoff { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: #15803d; }
.ff-signoff svg { color: #fff; background: var(--green); border-radius: 50%; padding: 2px; }
.ff-dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ff-dlg-actions .btn-ghost { color: var(--text); border-color: var(--line); background: var(--bg); }
.ff-dlg-actions .btn-ghost:hover { border-color: rgba(59,130,246,.5); color: var(--blue-600); }
@media (max-width: 760px) {
  .ff-dlg { grid-template-columns: 1fr; }
  .ff-dlg-media img { aspect-ratio: 4 / 3; height: auto; }
  .ff-dlg-body { padding: 24px 20px 22px; }
  .ff-dlg-actions .btn { flex: 1; }
}
html.ff-lock { overflow: hidden; }

/* Before / after */
.ba-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.ba-lead { font-size: 1.05rem; margin: 0 0 24px; }
.ba-results { grid-template-columns: repeat(3, 1fr); margin: 0 0 28px; padding: 18px 0 0; }
.ba { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; user-select: none; touch-action: pan-y; }
.ba-img { width: 100%; height: auto; aspect-ratio: 10 / 7; object-fit: cover; display: block; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.ba-label-before { left: 14px; background: rgba(11,13,18,.8); color: #fff; }
.ba-label-after { right: 14px; background: var(--grad); color: #fff; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 12px rgba(15,23,42,.35); }
.ba-handle svg { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: #fff; color: var(--blue-600); box-shadow: 0 8px 22px -6px rgba(15,23,42,.45); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 980px) { .ba-layout { grid-template-columns: 1fr; gap: 36px; } .ba-copy { text-align: center; } .ba-results { max-width: 420px; margin-left: auto; margin-right: auto; } }

/* Client voices */
.ff-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ff-reviews .review:nth-child(even), .ff-reviews .review.reveal.in:nth-child(even) { transform: none; }
.ff-reviews .review:nth-child(even):hover { transform: translateY(-4px); }
.ff-rev-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 22%; flex-shrink: 0; }
@media (max-width: 980px) { .ff-reviews { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Brands band */
.ff-brands { background: var(--ink); padding: 56px 0 60px; }
.ff-brands .logo-strip { margin-top: 0; padding-top: 0; border-top: 0; }
.work-more { text-align: center; margin: 40px 0 0; }
.btn-ghost-light { background: var(--bg); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); }
.btn-ghost-light:hover { border-color: rgba(59,130,246,.5); color: var(--blue-600); }
.ff-cta-section { padding: 72px 0; }
.ff-cta-section .spec-cta { margin-top: 0; }

/* =========================================================
   Gallery page
   ========================================================= */
.gal-hero { padding-bottom: 72px; text-align: center; }
.gal-hero-inner { position: relative; max-width: 760px; }
.gal-hero .lead { margin-left: auto; margin-right: auto; }
.gal-hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.gal-hero-stats span { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--d-text-2); background: rgba(255,255,255,.05); border: 1px solid var(--d-line); }
.gal-hero-stats strong { color: #fff; font-family: var(--font-head); margin-right: 4px; }

.gal-section { padding-top: 64px; }
.gal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gal-item[hidden] { display: none; }
.gal-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--bg-alt); aspect-ratio: 3 / 4; box-shadow: 0 1px 2px rgba(15,23,42,.06); transition: box-shadow .3s, transform .3s; }
.gal-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gal-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,13,18,.82) 0%, rgba(11,13,18,.2) 45%, transparent 70%); opacity: 0; transition: opacity .3s; }
.gal-btn:hover, .gal-btn:focus-visible { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.gal-btn:hover img, .gal-btn:focus-visible img { transform: scale(1.06); }
.gal-btn:hover::after, .gal-btn:focus-visible::after { opacity: 1; }
.gal-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.gal-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; flex-direction: column; gap: 2px; text-align: left; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.gal-cat { font-family: var(--font-mono); font-size: 11px; color: var(--cyan); }
.gal-title { font-family: var(--font-head); font-size: 15px; font-weight: 600; line-height: 1.25; }
.gal-zoom { position: absolute; top: 12px; right: 12px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--text); opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s; }
.gal-btn:hover .gal-cap, .gal-btn:focus-visible .gal-cap, .gal-btn:hover .gal-zoom, .gal-btn:focus-visible .gal-zoom { opacity: 1; transform: none; }
@media (hover: none) {
  .gal-btn::after { opacity: 1; }
  .gal-cap { opacity: 1; transform: none; }
}
@media (max-width: 980px) { .gal-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gal-title { font-size: 13px; }
  .gal-cat { display: none; }
  .gal-cap { left: 10px; right: 10px; bottom: 9px; }
  .gal-filter { justify-content: flex-start; }
}

/* Lightbox */
.gal-lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.gal-lightbox::backdrop { background: rgba(7,9,13,.92); backdrop-filter: blur(6px); }
.gal-lightbox[open] { display: grid; place-items: center; animation: ff-pop .25s ease; }
.gal-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: min(1100px, calc(100% - 140px)); }
.gal-full { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 14px; background: #fff; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.gal-figure figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 12px; text-align: center; }
.gal-lb-cat { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); }
.gal-lb-title { font-family: var(--font-head); font-size: 17px; font-weight: 600; }
.gal-lb-count { font-size: 13px; color: var(--d-text-2); }
.gal-close, .gal-nav { position: fixed; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; border-radius: 50%; cursor: pointer; transition: background .2s, border-color .2s; }
.gal-close:hover, .gal-nav:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); }
.gal-close { top: 18px; right: 18px; width: 46px; height: 46px; }
.gal-nav { top: 50%; width: 52px; height: 52px; transform: translateY(-50%); }
.gal-prev { left: 20px; }
.gal-next { right: 20px; }
@media (max-width: 640px) {
  .gal-figure { max-width: calc(100% - 24px); }
  .gal-full { max-height: calc(100vh - 200px); }
  .gal-nav { top: auto; bottom: 22px; transform: none; width: 48px; height: 48px; }
  .gal-prev { left: calc(50% - 60px); }
  .gal-next { right: calc(50% - 60px); }
  .gal-figure { margin-bottom: 70px; }
}

/* Header nav: keep items on one line as more pages are added */
.main-nav a { white-space: nowrap; }
@media (min-width: 921px) and (max-width: 1140px) {
  .main-nav { gap: 20px; }
  .main-nav a:not(.btn) { font-size: 14.5px; }
}

/* Contact form spam trap (kept off-screen) */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Business registrations (SEC + business permit) ---------- */
.credentials { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.cred-label { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--text); }
.cred-label svg { color: var(--green); }
.cred-items { display: flex; gap: 16px 36px; flex-wrap: wrap; }
.cred-item { display: flex; align-items: center; gap: 12px; }
.cred-item strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.cred-item span:not(.cred-logo) { display: block; font-size: 13.5px; color: var(--text-2); }
.cred-logo { flex-shrink: 0; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.cred-logo img { width: auto; height: 44px; }
.cred-logo-sm { width: 48px; height: 48px; border-radius: 12px; }
.cred-logo-sm img { height: 32px; }
.cred-logo-xs { width: 34px; height: 34px; border-radius: 8px; border: 0; }
.cred-logo-xs img { height: 22px; }

.contact-creds { margin-top: 28px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); }
.contact-creds p { margin: 0 0 0 4px; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.contact-creds strong { color: var(--text); font-weight: 600; }

.footer-creds { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 13px; color: var(--d-text-2); }

@media (max-width: 720px) {
  .credentials { padding: 18px; }
  .cred-items { flex-direction: column; gap: 14px; }
  .cred-logo { width: 56px; height: 56px; }
  .cred-logo img { height: 38px; }
  .footer-creds { flex-wrap: wrap; }
}
