/* ═══════════════════════════════════════════════════════════════
   SyncIT MSP — syncitmsp.com
   Modern managed IT brand system · NY (Nassau / Long Island) + FL
   Static HTML/CSS/JS · deployed via GitHub Pages
═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:     #0A1A2F;   /* near-black navy */
  --navy:    #0B1E3B;
  --navy-2:  #0E274D;
  --blue:    #2563EB;   /* electric blue */
  --blue-2:  #1D4ED8;
  --cyan:    #22D3EE;   /* accent cyan */
  --cyan-2:  #06B6D4;
  --grad:    linear-gradient(120deg, #2563EB 0%, #06B6D4 100%);
  --grad-soft: linear-gradient(120deg, rgba(37,99,235,.12), rgba(6,182,212,.12));
  --lgray:   #F4F8FD;
  --mgray:   #5B6B82;
  --border:  #E3E9F2;
  --text:    #0F172A;
  --radius:  14px;
  --radius-sm: 9px;
  --max-w:   1200px;
  --shadow:  0 10px 40px rgba(11,30,59,.10);
  --shadow-lg: 0 24px 60px rgba(11,30,59,.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand, .stat-num {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  letter-spacing: -.01em;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: none; color: var(--blue-2); }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ── Topbar ─────────────────────────────────────────────────── */
.topbar {
  background: var(--ink);
  color: #9FB3CC;
  font-size: 12.5px;
  padding: 7px 0;
}
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.topbar strong { color: #fff; }
.topbar a { color: #9FB3CC; }
.topbar a:hover { color: var(--cyan); }
.topbar .dot { color: #33507a; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s, padding .25s;
}
.navbar.scrolled { box-shadow: 0 6px 24px rgba(11,30,59,.08); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; width: 100%; transition: height .25s;
}
.navbar.scrolled .nav-inner { height: 62px; }
.nav-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.nav-logo .brand { font-size: 23px; font-weight: 700; color: var(--ink); line-height: 1; }
.nav-logo .brand span { color: var(--blue); }
.nav-logo .tagline { font-size: 10.5px; color: var(--mgray); letter-spacing: 1.2px; text-transform: uppercase; margin-top: 3px; }

/* Animated logo mark */
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-mark .ring { transform-origin: 50% 50%; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.nav-links { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.nav-links a {
  padding: 9px 14px; font-size: 14.5px; color: #3A4A61; border-radius: 8px;
  font-weight: 500; white-space: nowrap; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--lgray); color: var(--blue); }
.nav-links .btn-nav-cta {
  background: var(--grad); color: #fff !important; padding: 10px 20px !important;
  border-radius: 10px !important; font-weight: 700 !important; margin-left: 8px;
  box-shadow: 0 6px 18px rgba(37,99,235,.3);
}
.nav-links .btn-nav-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }

.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 28px; border-radius: 11px; font-weight: 700; font-size: 15px;
  cursor: pointer; text-align: center; border: 2px solid transparent;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  font-family: inherit;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(37,99,235,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37,99,235,.4); color:#fff; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--blue-2); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-white { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.14); }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, var(--ink) 0%, var(--navy) 45%, var(--navy-2) 100%);
  padding: 96px 20px 88px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(600px 300px at 82% 12%, rgba(6,182,212,.28), transparent 70%),
    radial-gradient(520px 320px at 12% 88%, rgba(37,99,235,.30), transparent 70%);
  animation: heroGlow 12s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: .9; }
  100% { transform: translate3d(0,-18px,0) scale(1.06); opacity: 1; }
}
/* moving grid */
.hero .grid-fx {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  animation: gridSlide 20s linear infinite;
}
@keyframes gridSlide { to { background-position: 46px 46px, 46px 46px; } }

.hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: #CFFAFE; background: rgba(6,182,212,.14); border: 1px solid rgba(34,211,238,.35);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 22px;
}
.hero-eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,211,238,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(34,211,238,.6);} 70%{box-shadow:0 0 0 10px rgba(34,211,238,0);} 100%{box-shadow:0 0 0 0 rgba(34,211,238,0);} }

.hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 700; line-height: 1.08; margin-bottom: 20px; }
.hero h1 em { font-style: normal; }
.hero .lead { font-size: clamp(16px, 2vw, 19px); color: #B7C7DD; line-height: 1.65; margin-bottom: 34px; max-width: 640px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.13); padding-top: 28px; }
.trust-item { display: flex; align-items: flex-start; gap: 11px; font-size: 13px; color: #9FB3CC; }
.trust-item .ico { flex-shrink: 0; margin-top: 1px; }
.trust-item strong { display: block; color: #fff; font-size: 13.5px; margin-bottom: 1px; }

/* ── Marquee brand strip ────────────────────────────────────── */
.logostrip { background: var(--ink); padding: 20px 0; border-top: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.logostrip .label { text-align: center; color: #6b83a3; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.marquee { display: flex; gap: 44px; align-items: center; white-space: nowrap; animation: scrollx 26s linear infinite; width: max-content; }
.marquee span { color: #93A7C4; font-weight: 700; font-size: 17px; opacity: .8; font-family: 'Space Grotesk', sans-serif; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 84px 20px; }
.section-sm { padding: 56px 20px; }
.section-bg { background: var(--lgray); }
.section-ink { background: var(--ink); color: #fff; }
.eyebrow { display:inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--cyan-2); margin-bottom: 12px; }
.section-ink .eyebrow { color: var(--cyan); }
.section-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; color: var(--ink); margin-bottom: 14px; line-height: 1.15; }
.section-ink .section-title { color: #fff; }
.section-subtitle { font-size: 17px; color: var(--mgray); margin-bottom: 46px; max-width: 660px; }
.section-ink .section-subtitle { color: #A9BDD6; }
.text-center .section-subtitle, .section-subtitle.text-center { margin-left: auto; margin-right: auto; }

/* ── Service cards ──────────────────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; overflow: hidden; transition: transform .22s, box-shadow .22s, border-color .22s;
}
.service-card::after {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); margin-bottom: 16px;
}
.service-icon svg { width: 27px; height: 27px; }
.service-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; font-weight: 700; }
.service-card p { font-size: 14.5px; color: var(--mgray); line-height: 1.6; }
.service-card .learn-more { display: inline-flex; align-items:center; gap:5px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--blue); }
.service-card .learn-more:hover { gap: 9px; }

/* ── Why / feature grid ─────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s, box-shadow .2s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon { width: 50px; height: 50px; border-radius: 12px; display:grid; place-items:center; background: var(--grad-soft); margin-bottom: 14px; }
.why-icon svg { width: 25px; height: 25px; }
.why-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.why-card p { font-size: 14.5px; color: var(--mgray); line-height: 1.6; }

/* dark variant */
.section-ink .why-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section-ink .why-card h3 { color: #fff; }
.section-ink .why-card p { color: #A9BDD6; }

/* ── Stats ──────────────────────────────────────────────────── */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.stat-num { font-size: clamp(30px, 4vw, 46px); font-weight: 700; color: #fff; line-height: 1; }
.stat-num span { color: var(--cyan); }
.stat-label { font-size: 13px; color: #A9BDD6; margin-top: 8px; }

/* ── Process / steps ────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px 26px; }
.step .num {
  width: 42px; height: 42px; border-radius: 11px; background: var(--grad); color: #fff;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px;
  display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 8px 20px rgba(37,99,235,.28);
}
.step h3 { font-size: 17px; color: var(--ink); margin-bottom: 7px; }
.step p { font-size: 14.5px; color: var(--mgray); }

/* ── Two-column feature ─────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col.img-right .col-img { order: 2; }
.col-text h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--ink); margin-bottom: 16px; line-height: 1.18; }
.col-text p { color: var(--mgray); line-height: 1.7; margin-bottom: 14px; font-size: 15.5px; }
.check-list { list-style: none; padding: 0; margin: 18px 0; }
.check-list li { padding: 7px 0 7px 32px; position: relative; font-size: 15px; color: var(--text); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad-soft);
}
.check-list li::after { content: '✓'; position: absolute; left: 5px; top: 6px; color: var(--cyan-2); font-weight: 800; font-size: 13px; }

/* visual panel (no external image needed) */
.viz {
  position: relative; border-radius: 20px; padding: 34px; color: #fff; overflow: hidden;
  background: linear-gradient(150deg, var(--navy), var(--ink)); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}
.viz .viz-grid { position:absolute; inset:0; opacity:.4;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px,transparent 1px);
  background-size: 32px 32px; }
.viz-row { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 11px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); margin-bottom: 12px; }
.viz-row:last-child { margin-bottom: 0; }
.viz-row .d { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.viz-row .d.ok { background: #34D399; box-shadow: 0 0 12px #34D399; }
.viz-row .d.cy { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.viz-row .t { font-size: 14px; color: #DCE7F5; }
.viz-row .badge-live { margin-left: auto; font-size: 11px; font-weight: 700; color: #A7F3D0; background: rgba(52,211,153,.14); padding: 3px 9px; border-radius: 100px; }

/* ── Pill list ──────────────────────────────────────────────── */
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill { background: #fff; border: 1px solid var(--border); border-radius: 100px; padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--ink); transition: transform .15s, border-color .15s; }
.pill:hover { transform: translateY(-2px); border-color: var(--blue); }

/* ── Testimonials ───────────────────────────────────────────── */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.quote-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; }
.quote-card .stars { color: #F59E0B; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.quote-card p { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 18px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color:#fff; display:grid; place-items:center; font-weight:700; font-family:'Space Grotesk',sans-serif; }
.quote-card .who .nm { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.quote-card .who .rl { font-size: 12.5px; color: var(--mgray); }

/* ── CTA banner ─────────────────────────────────────────────── */
.cta-banner { position: relative; overflow: hidden; background: var(--grad); padding: 74px 20px; text-align: center; color: #fff; }
.cta-banner::before { content:''; position:absolute; inset:0; background: radial-gradient(600px 300px at 20% 20%, rgba(255,255,255,.18), transparent 60%); }
.cta-banner .container { position: relative; }
.cta-banner h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; margin-bottom: 14px; }
.cta-banner p { font-size: 17px; opacity: .94; margin-bottom: 30px; max-width: 600px; margin-inline: auto; }

/* ── Page header ────────────────────────────────────────────── */
.page-header { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--ink), var(--navy)); padding: 74px 20px 60px; color: #fff; }
.page-header::before { content:''; position:absolute; inset:0; background: radial-gradient(500px 260px at 85% 10%, rgba(6,182,212,.22), transparent 70%); }
.page-header .container { position: relative; }
.page-header .eyebrow { color: var(--cyan); }
.page-header h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; margin-bottom: 12px; }
.page-header p { font-size: 17px; color: #B7C7DD; max-width: 620px; }

/* ── Detailed service block (services.html) ─────────────────── */
.svc-block { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: center; padding: 52px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.svc-block:last-child { border-bottom: none; }
.svc-block.flip .svc-media { order: 2; }
.svc-media { background: var(--grad-soft); border: 1px solid var(--border); border-radius: 18px; padding: 40px; display:grid; place-items:center; }
.svc-media .big-ico { width: 96px; height: 96px; border-radius: 22px; background: var(--grad); display:grid; place-items:center; box-shadow: var(--shadow-lg); }
.svc-media .big-ico svg { width: 46px; height: 46px; }
.svc-body h2 { font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); margin-bottom: 12px; }
.svc-body p { color: var(--mgray); font-size: 15.5px; line-height: 1.7; margin-bottom: 12px; }

/* ── Form ───────────────────────────────────────────────────── */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 38px 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.required { color: var(--cyan-2); }

.info-block { margin-bottom: 26px; }
.info-block h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--mgray); margin-bottom: 7px; }
.info-block .value { font-size: 19px; font-weight: 700; color: var(--ink); }
.info-block .value a { color: var(--ink); }
.info-block .value a:hover { color: var(--blue); }
.info-block .sub { font-size: 13.5px; color: var(--mgray); margin-top: 3px; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--ink); color: #8fa3bf; padding: 62px 20px 30px; font-size: 14px; }
.footer-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 42px; }
.footer-brand .brand { font-family:'Space Grotesk',sans-serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; display:flex; align-items:center; gap:10px; }
.footer-brand .brand span { color: var(--cyan); }
.footer-brand p { line-height: 1.7; color: #6b83a3; max-width: 320px; }
.footer-social { display:flex; gap:10px; margin-top:18px; }
.footer-social a { width:38px; height:38px; border-radius:10px; background: rgba(255,255,255,.06); display:grid; place-items:center; transition: background .15s, transform .15s; }
.footer-social a:hover { background: var(--grad); transform: translateY(-2px); }
.footer h4 { color: #cbd8ea; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 15px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: #6b83a3; transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: #56708f; }

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Safety net: if JS is unavailable/blocked/stale, never hide content. */
html:not(.js) .reveal,
html:not(.js) .reveal-scale { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero .grid-fx, .logo-mark .ring, .marquee { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .two-col, .svc-block, .svc-block.flip { grid-template-columns: 1fr; gap: 34px; }
  .two-col.img-right .col-img, .svc-block.flip .svc-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 14px 16px; gap: 4px; box-shadow: 0 12px 26px rgba(11,30,59,.14);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 10px; width: 100%; border-radius: 8px; }
  .nav-links .btn-nav-cta { margin-left: 0 !important; margin-top: 4px; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .section { padding: 60px 20px; }
}
@media (max-width: 460px) {
  .stats-bar { grid-template-columns: 1fr; }
}
