/* ─── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #030c18;
  color: #edf2ff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ─── DESIGN TOKENS ──────────────────────────── */
:root {
  --bg:          #030c18;
  --surface:     rgba(255,255,255,0.04);
  --border:      rgba(255,255,255,0.08);
  --border-blue: rgba(40,130,255,0.28);
  --text:        #edf2ff;
  --muted:       #6e8aaa;
  --blue:        #1d72ff;
  --blue2:       #52a0ff;
  --cyan:        #00d4c0;
  --green:       #2de8a0;
  --r-sm:  12px;
  --r-md:  20px;
  --r-lg:  28px;
  --r-xl:  36px;
}

/* ─── BACKGROUND ATMOSPHERE ──────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 90% 55% at 8% -5%,  rgba(29,114,255,.25) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 92% 8%,  rgba(0,212,192,.13) 0%, transparent 50%),
    radial-gradient(ellipse 100% 40% at 50% 105%, rgba(29,114,255,.09) 0%, transparent 55%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  opacity: .14;
  background-image:
    linear-gradient(rgba(82,160,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82,160,255,.18) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at center, black 30%, transparent 80%);
}

/* ─── SCROLL REVEAL ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }
.d6 { transition-delay: .48s; }
.d7 { transition-delay: .56s; }
.d8 { transition-delay: .64s; }

/* ─── LAYOUT ─────────────────────────────────── */
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 104px 0; }

/* ─── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.035em; line-height: 1; }
h1 { font-size: clamp(52px,7.5vw,96px); font-weight: 700; }
h2 { font-size: clamp(38px,5vw,66px); font-weight: 700; }
h3 { font-size: clamp(17px,1.8vw,22px); font-weight: 600; letter-spacing: -.02em; }

.grad {
  background: linear-gradient(100deg, var(--blue2) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── PILL LABEL ─────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(29,114,255,.3);
  background: rgba(29,114,255,.1);
  color: #7ab4ff;
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em;
}
.pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600;
  cursor: pointer; border: none;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #3389ff 0%, #1055e8 55%, #00a8e8 100%);
  color: #fff;
  box-shadow: 0 16px 48px rgba(29,114,255,.42), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover { box-shadow: 0 22px 70px rgba(29,114,255,.58); }
.btn-ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  color: #c2d3ec;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ─── NAV ────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(3,12,24,.82);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo img { height: 40px; width: auto; }
.nav-links {
  display: flex; gap: 30px; align-items: center;
  font-size: 14px; font-weight: 500; color: #7a93b4;
}
.nav-links a { transition: color .18s; }
.nav-links a:hover { color: #fff; }
.nav-right {
  display: flex; align-items: center; gap: 10px;
}
.nav-support {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: #8aaac8;
  font-size: 13.5px; font-weight: 600;
  transition: background .2s, color .2s;
}
.nav-support:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-support svg { width: 15px; height: 15px; opacity: .8; }
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-blue);
  background: rgba(29,114,255,.12);
  color: #8ab8ff;
  font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: rgba(29,114,255,.24); color: #fff; }

/* ─── DROPDOWN NAV ───────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown > a::after { content: '▾'; font-size: 10px; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); min-width: 220px;
  background: rgba(3,12,24,.97); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 8px 8px; flex-direction: column; gap: 2px;
  backdrop-filter: blur(20px); z-index: 200; box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.nav-dropdown:hover .dropdown-menu { display: flex; }
.nav-dropdown::after {
  content: ''; position: absolute; top: 100%; left: -16px; right: -16px; height: 14px;
}
.dropdown-item {
  padding: 10px 14px; border-radius: var(--r-sm); font-size: 13.5px;
  color: var(--muted); display: block; transition: background .15s, color .15s;
}
.dropdown-item:hover { background: rgba(29,114,255,.1); color: #fff; }

/* ─── HERO ───────────────────────────────────── */
.hero { padding: 84px 0 100px; }
.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 26px; }
.hero h1 { margin-bottom: 26px; }
.hero-lead {
  font-size: clamp(17px, 1.9vw, 21px);
  color: #a8bdd8;
  max-width: 520px;
  line-height: 1.65;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 34px;
}
.hero-metrics {
  display: flex;
  margin-top: 46px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}
.hm {
  flex: 1;
  padding: 20px 22px;
  border-right: 1px solid var(--border);
  cursor: pointer;
}
.hm:last-child { border-right: none; }
.hm:hover .hm-val { color: var(--cyan); transition: color .18s; }
.hm-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px; font-weight: 700; color: #fff;
  margin-bottom: 4px;
}
.hm-lbl { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* hero image card */
.hero-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(82,160,255,.28);
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 90px rgba(29,114,255,.12);
}
.hero-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(82,160,255,.5) 0%, transparent 45%, rgba(0,212,192,.25) 100%);
  z-index: -1;
  opacity: .55;
  animation: card-glow 4s ease-in-out infinite alternate;
}
@keyframes card-glow {
  from { opacity: .4; }
  to   { opacity: .75; }
}
.hero-photo {
  border-radius: 26px; overflow: hidden;
  position: relative;
  height: min(64vh, 700px); min-height: 500px;
  background: #04101e;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  transform: scale(0.85);
  transform-origin: center;
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(3,12,24,.78) 0%, transparent 46%);
}
.hero-badge {
  position: absolute; bottom: 22px; left: 22px; right: 22px; z-index: 2;
  background: rgba(3,12,24,.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
}
.badge-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  flex-shrink: 0;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}
.badge-copy strong { display: block; font-size: 15px; font-weight: 600; }
.badge-copy span { font-size: 13px; color: var(--muted); }

/* ─── PAGE HERO (inner pages) ────────────────── */
.page-hero { padding: 64px 0 72px; }
.page-hero h1 { font-size: clamp(40px,5.5vw,72px); margin-bottom: 20px; }
.page-hero .lead { font-size: clamp(17px,1.9vw,20px); color: #a8bdd8; max-width: 640px; line-height: 1.65; }
.page-hero .hero-actions { margin-top: 28px; }

/* ─── BREADCRUMB ─────────────────────────────── */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--blue2); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; }

/* ─── CLIENTS BAR ────────────────────────────── */
.clients-bar {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-inner {
  display: flex; align-items: center; gap: 0;
}
.clients-label {
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .13em;
  color: var(--muted);
  white-space: nowrap;
  padding-right: 32px;
  border-right: 1px solid var(--border);
  margin-right: 32px;
}
.clients-names {
  display: flex; flex: 1; gap: 0; align-items: center;
}
.cn {
  flex: 1;
  padding: 0 24px;
  border-right: 1px solid var(--border);
  font-size: 13px; font-weight: 600;
  color: #4a6280;
  text-transform: uppercase; letter-spacing: .07em;
  transition: color .2s;
  text-align: center;
}
.cn:last-child { border-right: none; }
.cn:hover { color: #8aabcc; }

/* ─── SECTION HEADER ─────────────────────────── */
.sh { margin-bottom: 58px; }
.sh .pill { margin-bottom: 22px; }
.sh h2 { margin-bottom: 18px; }
.sh p { font-size: 18px; color: #7a9ab8; max-width: 560px; line-height: 1.65; }
.sh.center { text-align: center; }
.sh.center p { margin: 0 auto; }

/* ─── PHOTO CARD ─────────────────────────────── */
.pc {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.pc-img {
  overflow: hidden; position: relative;
}
.pc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.pc:hover .pc-img img { transform: scale(1.03); }
.pc-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(3,12,24,.72) 0%, transparent 50%);
}
.pc-cap { padding: 22px 24px; }
.pc-cap h3 { margin-bottom: 8px; }
.pc-cap p { font-size: 14px; color: var(--muted); }

/* ─── PROBLEM SECTION ────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 22px;
  align-items: start;
}
.pain-list { display: grid; gap: 13px; }
.pain-item {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color .22s, background .22s;
}
.pain-item:hover { border-color: rgba(29,114,255,.32); background: rgba(29,114,255,.07); }
.pain-num {
  width: 52px; height: 52px; border-radius: 14px;
  border: 1px solid var(--border-blue);
  background: rgba(29,114,255,.09);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px; font-weight: 700; color: var(--blue2);
}
.pain-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.015em;
  margin-bottom: 4px;
}
.pain-item p { font-size: 13.5px; color: var(--muted); }

/* ─── COMPARE ────────────────────────────────── */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.compare-card { position: relative; }
.compare-card.after-card { border-color: rgba(0,212,192,.2); }
.ctag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
}
.ctag.before { background: rgba(255,60,80,.18); color: #ff9aaa; border-color: rgba(255,60,80,.3); }
.ctag.after  { background: rgba(0,212,150,.18); color: #50f0cc; border-color: rgba(0,212,150,.3); }
.compare-card.after-card .pc-cap { background: linear-gradient(160deg, rgba(0,212,150,.07), transparent); }
.compare-card.after-card .pc-cap h3 { color: #6ee8cc; }

/* ─── WORK GALLERY ───────────────────────────── */
.work-mosaic {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 16px;
}
.work-main { grid-row: 1 / 3; }
.work-side.top { grid-column: 2; grid-row: 1; }
.work-side.bot { grid-column: 2; grid-row: 2; }
.work-mosaic a:hover .pc { border-color: rgba(29,114,255,.35); }

/* ─── SERVICES ───────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.svc {
  padding: 28px 26px;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color .25s, background .25s, transform .25s;
}
.svc:hover {
  border-color: rgba(29,114,255,.32);
  background: rgba(29,114,255,.08);
  transform: translateY(-3px);
}
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(29,114,255,.1);
  border: 1px solid rgba(29,114,255,.24);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--blue2);
}
.svc-icon svg { width: 24px; height: 24px; }
.svc h3 { font-size: 16.5px; margin-bottom: 10px; }
.svc p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ─── FEATURE GRID ───────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature-card {
  padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface); transition: border-color .22s, background .22s;
}
.feature-card:hover { border-color: rgba(29,114,255,.3); background: rgba(29,114,255,.07); }
.feature-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(29,114,255,.1); border: 1px solid rgba(29,114,255,.24);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--blue2);
}
.feature-card .icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width:780px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:540px) { .feature-grid { grid-template-columns: 1fr; } }

/* ─── FAQ ────────────────────────────────────── */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); overflow: hidden;
}
.faq-q {
  padding: 18px 22px; font-family: 'Space Grotesk',sans-serif;
  font-size: 16px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .15s;
}
.faq-q:hover { color: var(--blue2); }
.faq-q .faq-arrow { font-size: 18px; color: var(--muted); transition: transform .25s; flex-shrink:0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 18px; font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.faq-item.open .faq-a { display: block; }

/* ─── RELATED SERVICES ───────────────────────── */
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.related-card {
  padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: border-color .2s, background .2s;
}
.related-card:hover { border-color: rgba(29,114,255,.3); background: rgba(29,114,255,.07); }
.related-card span { font-size: 14.5px; font-weight: 600; font-family:'Space Grotesk',sans-serif; }
.related-card .arr { color: var(--muted); }
@media (max-width:780px) { .related-grid { grid-template-columns: 1fr; } }

/* ─── PROSE ──────────────────────────────────── */
.prose { max-width: 780px; }
.prose p { font-size: 16px; color: #a8bdd8; line-height: 1.75; margin-bottom: 18px; }
.prose h3 { font-size: 22px; margin-bottom: 12px; margin-top: 36px; }
.prose ul { padding-left: 20px; margin-bottom: 18px; }
.prose ul li { font-size: 15px; color: #a8bdd8; line-height: 1.65; margin-bottom: 6px; }

/* ─── TESTIMONIALS ───────────────────────────── */
.testi-top {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 16px;
}
.testi-bot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 840px; margin: 0 auto;
}
.tq {
  padding: 28px;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface);
  display: flex; flex-direction: column;
}
.tq.featured {
  border-color: rgba(29,114,255,.3);
  background: linear-gradient(160deg, rgba(29,114,255,.12), rgba(255,255,255,.03));
}
.qmark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 64px; line-height: .65; font-weight: 700;
  color: rgba(29,114,255,.4);
  margin-bottom: 16px;
}
.tq.featured .qmark { color: rgba(82,160,255,.55); }
.tq-text {
  font-size: 14.5px; color: #c4d4e8; line-height: 1.68;
  flex: 1; margin-bottom: 22px;
}
.tq-author strong { font-size: 14px; font-weight: 600; display: block; }
.tq-author span { font-size: 12.5px; color: var(--muted); }

/* ─── CTA BANNER ─────────────────────────────── */
.cta-banner {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid rgba(29,114,255,.28);
  padding: 88px 80px;
}
.cta-bg {
  position: absolute; inset: 0; z-index: 0;
}
.cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .15; filter: saturate(.45) brightness(.8);
}
.cta-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(3,12,24,.97) 35%, rgba(3,12,24,.75));
}
.cta-content {
  position: relative; z-index: 1;
  max-width: 640px;
}
.cta-content h2 { margin-bottom: 18px; }
.cta-content p { font-size: 18px; color: #7a9ab8; margin-bottom: 34px; line-height: 1.65; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── CONTACT ────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px;
}
.contact-left h2 { margin-bottom: 16px; }
.contact-left > p {
  font-size: 18px; color: #7a9ab8; line-height: 1.65; margin-bottom: 30px;
}
.clinks { display: grid; gap: 11px; }
.clink {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.clink:hover { border-color: rgba(29,114,255,.32); background: rgba(29,114,255,.08); }
.clink.prime {
  background: linear-gradient(135deg, #3088ff 0%, #0d56e8 55%, #00a8e4 100%);
  border-color: rgba(130,190,255,.5);
  box-shadow: 0 18px 56px rgba(29,114,255,.32);
}
.clink.prime:hover { box-shadow: 0 24px 72px rgba(29,114,255,.48); }
.clink-text strong { font-size: 14.5px; font-weight: 600; display: block; }
.clink-text small { font-size: 12.5px; color: rgba(255,255,255,.5); }
.clink.prime .clink-text small { color: rgba(255,255,255,.72); }
.clink-arr { font-size: 18px; opacity: .65; }

/* form card */
.form-card {
  padding: 32px;
  border: 1px solid var(--border-blue);
  border-radius: var(--r-xl);
  background: rgba(8,20,42,.65);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 90px rgba(0,0,0,.4);
}
.form-card h3 { font-size: 26px; margin-bottom: 7px; }
.form-card .fc-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: rgba(255,255,255,.05);
  color: var(--text); font: inherit; font-size: 14.5px;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: rgba(29,114,255,.55);
  background: rgba(29,114,255,.07);
}
.field select option { background: #0a182e; }
.field textarea { min-height: 106px; resize: vertical; }
#fStatus { margin-top: 11px; font-size: 13.5px; color: var(--muted); }

/* ─── STATS BAR ─────────────────────────────── */
.stats-bar {
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(29,114,255,.04), transparent);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
}
.stat {
  padding: 0 32px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat:first-child { padding-left: 0; text-align: left; }
.stat:last-child  { border-right: none; }
.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 700; color: #fff;
  letter-spacing: -.05em; line-height: 1;
  margin-bottom: 10px;
}
.stat-num span { color: var(--blue2); }
.stat-lbl { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* ─── PARTNERS BAR (CAROUSEL) ────────────────── */
.partners-bar {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.partners-inner {
  display: flex; align-items: center;
}
.partners-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted);
  white-space: nowrap;
  padding-right: 32px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.partners-carousel {
  flex: 1; overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.partners-track {
  display: flex; align-items: center;
  width: max-content;
  animation: logo-scroll 34s linear infinite;
}
.partners-carousel:hover .partners-track { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.plogo {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  padding: 0 40px;
  opacity: .35;
  transition: opacity .22s;
  flex-shrink: 0;
}
.plogo:hover { opacity: .8; }
.plogo svg, .plogo img { height: 26px; width: auto; }
.plogo-name {
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: #8aaac8;
}

/* ─── FOOTER ─────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-inner img { height: 33px; }
.footer-inner .copy { font-size: 13px; color: var(--muted); }
.powered {
  display: flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted);
}
.powered img { height: 28px; border-radius: 7px; }

/* ─── MODAL ──────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(14px);
}
.modal.open { display: flex; }
.mbox {
  width: min(700px, 100%);
  max-height: 90vh; overflow-y: auto;
  border: 1px solid rgba(29,114,255,.28);
  border-radius: var(--r-xl);
  background: #060f1e;
  box-shadow: 0 50px 160px rgba(0,0,0,.75);
  padding: 34px;
}
.mhead {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 28px; gap: 16px;
}
.mhead h2 { font-size: 38px; margin-top: 12px; }
.mclose {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid var(--border);
  color: var(--text); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .18s;
}
.mclose:hover { background: rgba(255,255,255,.13); }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1060px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-top { grid-template-columns: 1fr 1fr; }
  .testi-top .tq:last-child { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .nav-links { display: none; }
  .section { padding: 72px 0; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 20px; }
  .stat:first-child { padding-left: 20px; text-align: center; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .partners-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .partners-label { border-right: none; padding-right: 0; }
  .partners-carousel { width: 100%; }
  .plogo { padding: 0 28px; }
  .problem-grid, .compare-grid { grid-template-columns: 1fr; }
  .work-mosaic { grid-template-columns: 1fr; }
  .work-main { grid-row: auto; }
  .work-side.top, .work-side.bot { grid-column: auto; grid-row: auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testi-top { grid-template-columns: 1fr; }
  .testi-top .tq:last-child { display: flex; }
  .testi-bot { grid-template-columns: 1fr; max-width: 100%; }
  .cta-banner { padding: 52px 36px; }
  .clients-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .clients-label { border-right: none; padding-right: 0; margin-right: 0; }
  .clients-names { flex-wrap: wrap; gap: 14px; }
  .cn { border-right: none; flex: none; padding: 0; }
}
@media (max-width: 640px) {
  .nav-support span { display: none; }
  .nav-support { padding: 9px 11px; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 32px); }
  .services-grid { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-metrics { flex-direction: column; }
  .hm { border-right: none; border-bottom: 1px solid var(--border); }
  .hm:last-child { border-bottom: none; }
  .cta-btns { flex-direction: column; }
  .cta-banner { padding: 44px 28px; }
}
