/* =========================================================================
   mobileapplication.ca , main.css
   Self-contained design system. Does NOT depend on site.css / enhance.css.
   ========================================================================= */

:root {
  --blue: #2563EB;
  --blue-600: #1D4ED8;
  --blue-700: #1E40AF;
  --purple: #7C3AED;
  --indigo: #4F46E5;
  --grad: linear-gradient(90deg, #3B5BFF 0%, #7C3AED 100%);
  --navy: #0A0E27;
  --navy-2: #0D1330;
  --ink: #0B1020;
  --text: #0F172A;
  --muted: #64748B;
  --line: #E6EAF2;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, .72);
  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --dark-bg: radial-gradient(70% 90% at 82% 8%, rgba(124, 58, 237, .38), transparent 60%),
             linear-gradient(160deg, #0A0E27 0%, #0B1020 100%);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 0;
  color: var(--text);
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; }
.section-head .sub { color: var(--muted); margin-top: 14px; font-size: 17px; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; letter-spacing: .02em;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap; text-transform: uppercase; line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, .35); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 99, 235, .45); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; padding: 16px; font-size: 15px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.site-header.scrolled {
  background: rgba(10, 14, 39, .88);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .28);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: 'Poppins', sans-serif; font-weight: 700; color: #fff; font-size: 19px; }
.brand img { width: 30px; height: 30px; }
.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: rgba(255, 255, 255, .86); font-size: 14.5px; font-weight: 500; transition: color .18s; display: inline-flex; align-items: center; gap: 5px; }
.main-nav a:hover { color: #fff; }
.main-nav .caret { width: 10px; height: 10px; opacity: .7; }
.header-cta { display: inline-flex; align-items: center; gap: 14px; }
.hamburger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px;
  border-radius: 10px;
}
.hamburger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.hamburger span + span { margin-top: 5px; }

/* mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 70; visibility: hidden; opacity: 0;
  transition: opacity .25s ease, visibility .25s ease;
}
.mobile-drawer.open { visibility: visible; opacity: 1; }
.mobile-drawer .backdrop { position: absolute; inset: 0; background: rgba(3, 6, 20, .6); }
.mobile-drawer .panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86%, 360px);
  background: var(--dark-bg); padding: 26px 24px; box-shadow: -20px 0 60px rgba(0, 0, 0, .5);
  transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column;
}
.mobile-drawer.open .panel { transform: translateX(0); }
.mobile-drawer .drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-drawer .close { width: 42px; height: 42px; border: 0; background: rgba(255, 255, 255, .08); border-radius: 10px; color: #fff; font-size: 22px; }
.mobile-drawer nav a { display: block; color: rgba(255, 255, 255, .9); padding: 14px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-drawer .btn { margin-top: 22px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; background: var(--dark-bg); color: #fff; padding: 150px 0 130px; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; top: -10%; right: -5%; width: 55%; height: 120%;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 26px);
  -webkit-mask-image: radial-gradient(60% 60% at 80% 30%, #000, transparent 70%);
  mask-image: radial-gradient(60% 60% at 80% 30%, #000, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero .eyebrow { color: #6b8dff; }
.hero h1 { font-size: 56px; font-weight: 800; margin-bottom: 20px; color: #fff; }
.hero .lede { color: var(--on-dark-muted); font-size: 18px; max-width: 520px; margin-bottom: 26px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 30px; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .9); }
.check-ico { width: 20px; height: 20px; border-radius: 50%; background: rgba(37, 99, 235, .18); display: grid; place-items: center; flex: 0 0 auto; }
.check-ico svg { width: 12px; height: 12px; stroke: #6b8dff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }
.hero-proof { display: flex; align-items: center; gap: 16px; }
.avatars { display: flex; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #101736; margin-left: -12px; background: #1a2450; }
.avatars img:first-child { margin-left: 0; }
.hero-proof .stars { color: #F5B301; letter-spacing: 2px; font-size: 14px; }
.hero-proof .proof-text { color: rgba(255, 255, 255, .82); font-size: 13.5px; }

/* phones */
.hero-visual { position: relative; height: 560px; }
.phone { position: absolute; filter: drop-shadow(0 40px 70px rgba(0, 0, 0, .55)); border-radius: 42px; }
.phone-1 { width: 300px; left: 4%; top: 24px; transform: rotate(-4deg); z-index: 2; animation: floatA 6s ease-in-out infinite; }
.phone-2 { width: 285px; right: -2%; top: 60px; transform: rotate(4deg); z-index: 1; animation: floatB 7s ease-in-out infinite; }
@keyframes floatA { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-16px); } }
@keyframes floatB { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(14px); } }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-wrap { background: var(--bg); position: relative; }
.trust-bar {
  max-width: var(--maxw); margin: -56px auto 0; position: relative; z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 30px 40px;
}
.trust-bar .label { text-align: center; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 20px; }
.trust-logos { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.trust-logos .wordmark {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -.01em;
  color: #94A3B8; flex: 1 1 auto; text-align: center; filter: grayscale(1); opacity: .75;
  transition: opacity .2s, color .2s;
}
.trust-logos .wordmark:hover { opacity: 1; color: #64748B; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #d6ddec; }
.svc-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.svc-ico svg { width: 26px; height: 26px; }
.svc-blue { background: rgba(37, 99, 235, .12); color: #2563EB; }
.svc-green { background: rgba(34, 197, 94, .14); color: #16A34A; }
.svc-sky { background: rgba(14, 165, 233, .14); color: #0EA5E9; }
.svc-pink { background: rgba(236, 72, 153, .12); color: #EC4899; }
.svc-orange { background: rgba(249, 115, 22, .14); color: #F97316; }
.svc-purple { background: rgba(124, 58, 237, .12); color: #7C3AED; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 14.5px; }

/* ==========================================================================
   RECENT WORK
   ========================================================================== */
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.work-head .left h2 { font-size: 32px; }
.work-head .left .sub { color: var(--muted); margin-top: 10px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.work-card .thumb { aspect-ratio: 16 / 11; background: #0d1330; overflow: hidden; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-body { padding: 22px 22px 26px; }
.work-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.work-badge { width: 40px; height: 40px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; flex: 0 0 auto; }
.work-badge svg { width: 20px; height: 20px; stroke: #fff; }
.work-brand h3 { font-size: 17px; line-height: 1.1; }
.work-brand .cat { font-size: 12.5px; color: var(--muted); }
.work-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.process-step { text-align: center; position: relative; }
.process-step::after {
  content: ""; position: absolute; top: 40px; left: calc(50% + 52px); right: calc(-50% + 52px);
  border-top: 2px dashed #cbd5e1;
}
.process-step:last-child::after { display: none; }
.step-ico {
  width: 80px; height: 80px; border-radius: 50%; border: 2px solid rgba(37, 99, 235, .35);
  background: #fff; display: grid; place-items: center; margin: 0 auto 20px; position: relative; z-index: 2;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .1);
}
.step-ico svg { width: 30px; height: 30px; stroke: var(--blue); }
.step-num { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 14px; padding: 0 6px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.testi-left h2 { font-size: 32px; margin-bottom: 14px; }
.testi-left p { color: var(--muted); margin-bottom: 26px; }
.rating-big { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.rating-big .score { font-size: 40px; font-weight: 800; font-family: 'Poppins', sans-serif; }
.rating-big .stars { color: #F5B301; font-size: 22px; letter-spacing: 2px; }
.rating-sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.reviews-badge { height: 26px; width: auto; }

.testi-cards { position: relative; }
.testi-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column;
}
.testi-card .quote { color: #334155; font-size: 14.5px; margin-bottom: 20px; flex: 1; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.testi-person img { width: 44px; height: 44px; border-radius: 50%; background: #dde3ee; }
.testi-person h4 { font-size: 15px; }
.testi-person .role { font-size: 12.5px; color: var(--muted); }
.testi-card .stars { color: #F5B301; letter-spacing: 2px; font-size: 15px; }
.testi-dots { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #cbd5e1; padding: 0; transition: background .2s, width .2s; }
.testi-dots button.active { background: var(--blue); width: 24px; border-radius: 6px; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { background: var(--dark-bg); color: #fff; position: relative; overflow: hidden; }
.cta-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.cta-left .eyebrow { color: #6b8dff; }
.cta-left h2 { font-size: 40px; color: #fff; margin-bottom: 16px; }
.cta-left .sub { color: var(--on-dark-muted); font-size: 17px; margin-bottom: 26px; }
.cta-checks { display: flex; flex-wrap: wrap; gap: 24px; }
.cta-checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .9); }

.quote-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form .field { margin-bottom: 14px; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  transition: border-color .18s, box-shadow .18s; outline: none;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); background: #fff; }
.quote-form textarea { resize: vertical; min-height: 110px; }
.quote-form .captcha { display: flex; align-items: center; gap: 12px; }
.quote-form .captcha label { font-size: 14px; color: var(--muted); white-space: nowrap; font-weight: 600; }
.quote-form .captcha input { max-width: 120px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-error { color: #DC2626; font-size: 12.5px; margin-top: 5px; display: none; }
.form-error.show { display: block; }
.form-alert { display: none; background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; }
.form-alert.show { display: block; }
.quote-form input.invalid, .quote-form textarea.invalid, .quote-form select.invalid { border-color: #DC2626; }
.form-success { text-align: center; padding: 20px 10px; }
.form-success .tick { width: 62px; height: 62px; border-radius: 50%; background: rgba(34, 197, 94, .14); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .tick svg { width: 30px; height: 30px; stroke: #16A34A; }
.form-success h3 { font-size: 22px; margin-bottom: 10px; color: var(--text); }
.form-success p { color: var(--muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--dark-bg); color: rgba(255, 255, 255, .82); padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255, 255, 255, .64); max-width: 300px; margin-bottom: 20px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--blue); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-family: 'Poppins', sans-serif; font-weight: 600; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 14px; color: rgba(255, 255, 255, .64); transition: color .18s; }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.footer-contact svg { width: 17px; height: 17px; stroke: #6b8dff; flex: 0 0 auto; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: rgba(255, 255, 255, .55); }
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .legal a { font-size: 13px; color: rgba(255, 255, 255, .7); }
.footer-bottom .legal a:hover { color: #fff; }

/* ==========================================================================
   MOBILE CALL BAR
   ========================================================================== */
.call-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
  background: var(--blue); color: #fff; text-align: center; padding: 13px;
  font-weight: 700; font-size: 15px; box-shadow: 0 -6px 20px rgba(0, 0, 0, .2);
}
.call-bar span { display: inline-flex; align-items: center; gap: 8px; }
.call-bar svg { width: 17px; height: 17px; stroke: #fff; }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone-1, .phone-2 { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 46px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 26px; }
  .process-step::after { display: none; }
  .testi-track { grid-template-columns: 1fr; }
  .testi-card { display: none; }
  .testi-card.active-slide { display: flex; }
}

@media (max-width: 900px) {
  .main-nav, .header-cta .btn { display: none; }
  .hamburger { display: block; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { height: 480px; margin-top: 30px; }
  .cta-band .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding: 120px 0 90px; }
  .hero h1 { font-size: 38px; }
  .hero .lede { font-size: 16px; }
  .section-head h2, .work-head .left h2, .testi-left h2 { font-size: 27px; }
  .cta-left h2 { font-size: 30px; }
  .work-head { flex-direction: column; align-items: flex-start; }
  .call-bar { display: block; }
  body { padding-bottom: 52px; }
  .site-footer { padding-bottom: 52px; }
}

@media (max-width: 600px) {
  .container { padding-inline: 18px; }
  .services-grid, .work-grid, .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .quote-form .row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-visual { height: 420px; }
  .phone-1 { width: 240px; left: 2%; }
  .phone-2 { width: 225px; right: 0; }
  .trust-bar { padding: 24px 20px; }
  .trust-logos { gap: 18px 26px; }
  .trust-logos .wordmark { flex: 0 0 40%; font-size: 18px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}



/* Mobile drawer: expandable Services group */
.drawer-group .drawer-sub { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: 0; color: rgba(255,255,255,.9); padding: 14px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer-sub svg { width: 16px; height: 16px; transition: transform .2s; }
.drawer-group.open .drawer-sub svg { transform: rotate(180deg); }
.drawer-sublinks { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.drawer-group.open .drawer-sublinks { max-height: 460px; }
.drawer-sublinks a { padding-left: 16px !important; font-size: 15px !important; color: rgba(255,255,255,.72) !important; }

/* ================= Footer: 5 columns, texture, Made in Canada ================= */
.footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr 1.4fr; }
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.3px); background-size: 22px 22px; opacity: .6; pointer-events: none; }
.site-footer > .container { position: relative; z-index: 1; }
.made-in-ca { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,.78); font-weight: 500; }
.footer-bottom .legal { flex-wrap: wrap; }

/* ================= Mobile responsiveness polish ================= */
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 34px; } }
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; }
}
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* ================= Hero contact row: click-to-copy email + click-to-call ================= */
.hero-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.copy-email { position: relative; display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; padding: 11px 16px; border-radius: 999px; font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background .18s, border-color .18s; }
.copy-email svg { width: 18px; height: 18px; opacity: .85; flex: none; }
.copy-email:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.34); }
.ce-hint { position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%) translateY(4px); background: #fff; color: #0F172A; font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .16s ease, transform .16s ease; box-shadow: 0 8px 22px rgba(3,6,20,.35); }
.ce-hint::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #fff; }
.copy-email:hover .ce-hint, .copy-email:focus-visible .ce-hint, .copy-email.copied .ce-hint { opacity: 1; transform: translateX(-50%) translateY(0); }
.copy-email.copied { background: rgba(34,197,94,.20); border-color: rgba(34,197,94,.55); }
.hero-call { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.86); font-size: 14.5px; }
.hero-call svg { width: 18px; height: 18px; flex: none; }
.hero-call:hover { color: #fff; }
.hero-call strong { color: #fff; font-weight: 700; }
@media (max-width: 560px) { .hero-contact { gap: 10px; } .copy-email, .hero-call { font-size: 13.5px; } }

/* ================= Hero: rotating app showcase + bottom transition ================= */
.phone-stack { position: relative; width: 100%; height: 100%; }
.phone-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, transform .7s ease; transform: translateY(10px) scale(.985); }
.phone-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.phone-caption { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.9); font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px; white-space: nowrap; backdrop-filter: blur(6px); }
.pc-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.22); flex: none; }
.hero { position: relative; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; pointer-events: none; }
.hero-bottom::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 150px; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.3px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000); mask-image: linear-gradient(to bottom, transparent, #000); }
.hero-wave { display: block; width: 100%; height: 96px; }
@media (max-width: 768px) { .hero-wave { height: 56px; } .phone-caption { font-size: 12px; padding: 7px 12px; } }

/* ================= Horizontal slider (Industries) ================= */
.slider { position: relative; margin-top: 34px; }
.slider-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 20px; scrollbar-width: none; -ms-overflow-style: none; }
.slider-track::-webkit-scrollbar { display: none; }
.ind-card { flex: 0 0 262px; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ind-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cdd8ec; }
.ind-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; }
.ind-ico svg { width: 22px; height: 22px; }
.ind-card h3 { font-size: 17px; margin-bottom: 8px; }
.ind-card p { color: var(--muted); font-size: 14px; margin: 0; }
.ind-card .card-cta { margin-top: auto; padding-top: 16px; color: var(--blue-600); font-weight: 700; font-size: 13.5px; }
.slider-nav { position: absolute; top: 42%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text); display: grid; place-items: center; box-shadow: var(--shadow-md); transition: background .18s, color .18s; }
.slider-nav svg { width: 20px; height: 20px; }
.slider-nav:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.slider-nav.prev { left: -18px; } .slider-nav.next { right: -18px; }
.slider-nav[disabled] { opacity: .35; cursor: default; }
.slider-hint { text-align: center; margin-top: 6px; }
.slider-hint a { color: var(--blue-600); font-weight: 600; font-size: 14.5px; }
@media (max-width: 1100px) { .slider-nav.prev { left: 2px; } .slider-nav.next { right: 2px; } }
@media (max-width: 560px) { .ind-card { flex-basis: 232px; } .slider-nav { display: none; } }

/* =========================================================================
   REFINEMENT PASS — sharper, more editorial, less generic-template
   ========================================================================= */

/* ---- Typography: more scale contrast, tighter tracking ---- */
h1, h2, h3, h4 { letter-spacing: -.028em; }
.hero-copy h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 3.9vw, 44px); line-height: 1.1; }
.section-head .sub { font-size: 17.5px; line-height: 1.6; color: #64748B; max-width: 62ch; margin-left: auto; margin-right: auto; }

/* Eyebrow: quiet editorial label with a rule, not a loud pill */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; opacity: .55; }
.section-head.center .eyebrow, .section-head .eyebrow { margin-bottom: 16px; }
.cta-band .eyebrow, .hero .eyebrow { color: #8FB4FF; }

/* ---- Buttons: drop the heavy glow, tighten the shape ---- */
.btn { border-radius: 12px; letter-spacing: -.01em; }
.btn-primary { box-shadow: 0 2px 10px rgba(37, 99, 235, .22); }
.btn-primary:hover { box-shadow: 0 8px 22px rgba(37, 99, 235, .30); transform: translateY(-1px); }
.btn-outline:hover, .btn-outline-light:hover { transform: translateY(-1px); }

/* ---- Cards: crisp hairlines, restrained shadow, tighter radius ---- */
.svc-card, .work-card, .testi-card, .ind-card, .seo-card, .price-card {
  border-radius: 14px;
  border: 1px solid #E8EDF5;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.svc-card:hover, .work-card:hover, .testi-card:hover, .ind-card:hover, .seo-card:hover {
  transform: translateY(-4px);
  border-color: #C7D6EE;
  box-shadow: 0 14px 32px -14px rgba(15, 23, 42, .18);
}
.svc-card .ico, .ind-ico, .mega-ico { border-radius: 11px; }

/* ---- More generous rhythm ---- */
.section { padding: 104px 0; }
@media (max-width: 768px) { .section { padding: 68px 0; } .section-head { margin-bottom: 38px; } }

/* ---- Process: oversized editorial numerals ---- */
.step .num, .step-num, .tl-node { font-family: 'Poppins', sans-serif; font-weight: 800; letter-spacing: -.04em; }

/* =========================================================================
   QUOTE FORM — professional rebuild
   ========================================================================= */
.quote-card { padding: 30px 30px 26px; border-radius: 18px; box-shadow: 0 30px 70px -30px rgba(3, 6, 20, .55); border: 1px solid rgba(255,255,255,.08); }
.qc-head { padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.qc-head h3 { font-size: 21px; color: var(--text); letter-spacing: -.02em; }
.qc-head p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

.quote-form .field { margin-bottom: 16px; }
.quote-form label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 7px; letter-spacing: -.005em; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 15px; color: var(--text);
  background: #fff; border: 1px solid #DDE5F0; border-radius: 11px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #9AA7BD; }
.quote-form input:hover, .quote-form select:hover, .quote-form textarea:hover { border-color: #C3D1E6; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3.5px rgba(37, 99, 235, .13);
}
.quote-form textarea { min-height: 116px; resize: vertical; line-height: 1.55; }

/* Custom select (no default browser caret) */
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.select-wrap svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: #64748B; pointer-events: none; }

.quote-form .btn-block { margin-top: 6px; padding: 15px; font-size: 15.5px; border-radius: 12px; }
.qc-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12.8px; color: var(--muted); text-align: center; }
.qc-note svg { width: 15px; height: 15px; flex: none; color: #94A3B8; }

.quote-form input.invalid, .quote-form textarea.invalid, .quote-form select.invalid { border-color: #DC2626; box-shadow: 0 0 0 3.5px rgba(220, 38, 38, .10); }
.form-error { font-size: 12.5px; margin-top: 6px; }
.form-alert { border-radius: 11px; }
.form-success { padding: 34px 12px; }

@media (max-width: 560px) { .quote-card { padding: 24px 20px 22px; } .quote-form .row { grid-template-columns: 1fr; gap: 0; } }

/* ================= Tweaks: hero position, phone shadow, compact industries ================= */

/* Move the masthead content up */
.hero { padding: 108px 0 104px; }
@media (max-width: 900px) { .hero { padding: 96px 0 76px; } }

/* Remove the drop shadow under the hero app screens */
.phone { filter: none; }

/* Compact "Industries We Serve" */
#industries { padding: 74px 0; }
#industries .section-head { margin-bottom: 30px; }
#industries .section-head h2 { font-size: clamp(26px, 3vw, 34px); }
#industries .section-head .sub { font-size: 16px; max-width: 56ch; }
.slider { margin-top: 22px; }
.slider-track { gap: 14px; padding: 4px 2px 12px; }
.ind-card { flex-basis: 210px; padding: 18px 18px 16px; border-radius: 12px; }
.ind-ico { width: 36px; height: 36px; border-radius: 9px; margin-bottom: 11px; }
.ind-ico svg { width: 18px; height: 18px; }
.ind-card h3 { font-size: 15.5px; margin-bottom: 5px; }
.ind-card p { font-size: 13px; line-height: 1.5; }
.ind-card .card-cta { padding-top: 11px; font-size: 12.5px; }
.slider-nav { width: 38px; height: 38px; }
.slider-nav svg { width: 17px; height: 17px; }
.slider-hint { margin-top: 2px; }
.slider-hint a { font-size: 13.5px; }
@media (max-width: 560px) { .ind-card { flex-basis: 190px; } #industries { padding: 56px 0; } }

/* Breathing room above the star rating / social proof row in the hero */
.hero-proof { margin-top: 34px; }
@media (max-width: 900px) { .hero-proof { margin-top: 26px; } }

/* ================= Hero apps: smaller, smoother crossfade, no caption ================= */
.phone-caption { display: none !important; }

/* Smaller so the whole hero fits above the fold */
.phone-1 { width: 248px; top: 10px; }
.phone-2 { width: 232px; top: 44px; }
@media (max-width: 1100px) { .phone-1 { width: 224px; } .phone-2 { width: 208px; } }
@media (max-width: 900px)  { .phone-1 { width: 206px; } .phone-2 { width: 190px; } }

/* Smooth, layered crossfade instead of an abrupt swap */
.phone-slide {
  transition: opacity 1s cubic-bezier(.4, 0, .2, 1), transform 1.1s cubic-bezier(.4, 0, .2, 1), filter .9s ease;
  transform: translateY(26px) scale(.94);
  filter: blur(6px);
}
.phone-slide.is-active { transform: translateY(0) scale(1); filter: blur(0); }
/* Stagger the two phones so they glide in one after the other */
.phone-slide .phone { transition: transform 1.1s cubic-bezier(.4, 0, .2, 1), opacity 1s ease; }
.phone-slide:not(.is-active) .phone-1 { transform: translateY(18px) rotate(-4deg) scale(.96); opacity: 0; }
.phone-slide:not(.is-active) .phone-2 { transform: translateY(28px) rotate(4deg) scale(.96); opacity: 0; transition-delay: .08s; }
.phone-slide.is-active .phone-1 { opacity: 1; }
.phone-slide.is-active .phone-2 { opacity: 1; transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  .phone-slide, .phone-slide .phone { transition: none !important; filter: none !important; }
}

/* ================= Reviews wall (attention grabber + hover to read) ================= */
.reviews-head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.reviews-head h2 { font-size: clamp(30px, 3.9vw, 44px); }
.reviews-head .sub { color: var(--muted); margin-top: 12px; font-size: 17px; }

/* Attention-grabbing rating strip */
.rating-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 26px; max-width: 760px; margin: 0 auto 34px; box-shadow: 0 10px 30px -18px rgba(15,23,42,.28); }
.rs-score { font-family: 'Poppins', sans-serif; font-size: 42px; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.rs-block { display: flex; flex-direction: column; gap: 3px; }
.rs-stars { color: #F5B301; letter-spacing: 3px; font-size: 17px; }
.rs-meta strong { display: block; color: var(--text); font-size: 15px; font-weight: 700; }
.rs-meta span { color: var(--muted); font-size: 12.8px; }
.rs-hint { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; color: var(--blue-600); font-weight: 700; font-size: 13.5px; background: #EFF5FF; border: 1px solid #D8E6FF; padding: 9px 15px; border-radius: 999px; }
.rs-pulse { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: rsPulse 1.9s ease-out infinite; flex: none; }
@keyframes rsPulse { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@media (max-width: 640px) { .rs-hint { margin-left: 0; } .rating-strip { justify-content: flex-start; } }

/* Two auto-scrolling rows; hover pauses and expands */
.reviews-wall { position: relative; display: grid; gap: 18px; }
.reviews-wall::before, .reviews-wall::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 3; pointer-events: none; }
.reviews-wall::before { left: -1px; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.reviews-wall::after { right: -1px; background: linear-gradient(270deg, var(--bg-soft), transparent); }
.rw-row { overflow: hidden; }
.rw-track { display: flex; gap: 18px; width: max-content; }
.rw-a .rw-track { animation: rwScroll 64s linear infinite; }
.rw-b .rw-track { animation: rwScroll 78s linear infinite reverse; }
.rw-row:hover .rw-track { animation-play-state: paused; }
@keyframes rwScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.rw-card { flex: 0 0 330px; background: #fff; border: 1px solid #E8EDF5; border-radius: 14px; padding: 20px; box-shadow: 0 1px 2px rgba(15,23,42,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.rw-card:hover { transform: translateY(-5px); border-color: #C7D6EE; box-shadow: 0 18px 40px -18px rgba(15,23,42,.26); }
.rw-top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.rw-av { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; font-family: 'Poppins', sans-serif; flex: none; }
.rw-who { display: flex; flex-direction: column; min-width: 0; }
.rw-who strong { font-size: 14.5px; color: var(--text); }
.rw-who span { font-size: 12.2px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-stars { margin-left: auto; color: #F5B301; font-size: 12.5px; letter-spacing: 1px; flex: none; }
.rw-text { color: #475569; font-size: 14px; line-height: 1.62; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rw-card:hover .rw-text { -webkit-line-clamp: unset; overflow: visible; }
@media (prefers-reduced-motion: reduce) { .rw-a .rw-track, .rw-b .rw-track { animation: none; } .rw-row { overflow-x: auto; } }
@media (max-width: 560px) { .rw-card { flex-basis: 280px; } .reviews-wall::before, .reviews-wall::after { width: 40px; } }

/* ================= Reviews wall: make the interaction actually work ================= */
/* Pause the whole wall when hovering anywhere over it (more forgiving than per-row) */
.reviews-wall:hover .rw-track { animation-play-state: paused; }

/* Reliable un-clamp: switching display removes the -webkit-box clamp entirely
   (`-webkit-line-clamp: unset` does not work in most browsers). */
.rw-card:hover .rw-text,
.rw-card:focus-within .rw-text,
.rw-card.is-open .rw-text { display: block; -webkit-line-clamp: none; overflow: visible; }

/* Make the hover unmistakable */
.rw-card { cursor: pointer; position: relative; }
.rw-card:hover, .rw-card.is-open {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--blue);
  box-shadow: 0 22px 48px -18px rgba(37, 99, 235, .38);
  z-index: 4;
}
.rw-card::after {
  content: "Read full review";
  position: absolute; left: 20px; bottom: 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue-600); opacity: 0; transition: opacity .2s ease;
}
.rw-card:hover::after { opacity: 0; }
.rw-card { padding-bottom: 20px; }

/* Touch devices: no hover, so show everything and allow drag-scrolling */
@media (hover: none) {
  .rw-text { -webkit-line-clamp: none; display: block; }
  .rw-a .rw-track, .rw-b .rw-track { animation: none; }
  .rw-row { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .rw-row::-webkit-scrollbar { display: none; }
  .rw-track { width: auto; }
}

/* ================= Hero proof: hover to reveal real reviews ================= */
.hero-proof { position: relative; cursor: pointer; text-decoration: none; border-radius: 14px; padding: 6px 10px 6px 6px; margin-left: -6px; transition: background .2s ease; }
.hero-proof:hover { background: rgba(255,255,255,.06); }
.hero-proof .proof-text strong { color: #fff; font-weight: 700; }
.proof-cta { display: block; margin-top: 2px; color: #8FB4FF; font-weight: 700; font-size: 12.5px; }
.hero-proof:hover .proof-cta { color: #B7CEFF; text-decoration: underline; }

.proof-pop {
  position: absolute; left: 0; bottom: calc(100% + 14px); z-index: 30;
  width: 372px; max-width: 86vw;
  background: #fff; color: var(--text);
  border-radius: 16px; padding: 18px 20px 16px;
  box-shadow: 0 30px 70px -24px rgba(3, 6, 20, .6);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  text-align: left; pointer-events: none;
}
.proof-pop::after { content: ""; position: absolute; top: 100%; left: 42px; border: 8px solid transparent; border-top-color: #fff; }
.hero-proof:hover .proof-pop, .hero-proof:focus-visible .proof-pop, .hero-proof:focus-within .proof-pop {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.pp-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.pp-score { font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.pp-stars { display: block; color: #F5B301; letter-spacing: 2px; font-size: 14px; }
.pp-sub { display: block; color: var(--muted); font-size: 12.5px; }
.proof-pop blockquote { margin: 0 0 11px; padding-left: 12px; border-left: 3px solid #DCE7FA; color: #475569; font-size: 13.4px; line-height: 1.55; }
.proof-pop blockquote cite { display: block; margin-top: 5px; font-style: normal; font-weight: 700; font-size: 12.3px; color: var(--text); }
.pp-more { display: inline-block; margin-top: 2px; color: var(--blue-600); font-weight: 700; font-size: 13px; }

/* Touch devices have no hover: the row simply links to the reviews section */
@media (hover: none) { .proof-pop { display: none; } }
@media (max-width: 560px) { .proof-pop { left: -8px; } }

/* ===== Hero proof popover: make it hoverable, bridged and forgiving ===== */
/* 1) Allow the cursor to actually enter/click the popover once it is open */
.proof-pop { pointer-events: none; }
.hero-proof:hover .proof-pop,
.hero-proof:focus-within .proof-pop,
.hero-proof.is-open .proof-pop { pointer-events: auto; }

/* 2) Invisible bridge across the gap so moving toward the card keeps it open */
.proof-pop::before { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 22px; }

/* 3) Small grace period before it hides, so a brief cursor slip does not close it */
.proof-pop { transition: opacity .2s ease .18s, transform .2s ease .18s, visibility .2s .18s; }
.hero-proof:hover .proof-pop,
.hero-proof:focus-within .proof-pop,
.hero-proof.is-open .proof-pop { transition-delay: 0s; }

/* Keep it open once clicked/tapped (toggled by JS) */
.hero-proof.is-open .proof-pop { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.proof-pop blockquote { cursor: text; }

/* ================= Homepage FAQ (honest answers) ================= */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item.open { border-color: var(--blue); box-shadow: 0 10px 30px -18px rgba(37,99,235,.35); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: none; border: 0; padding: 20px 22px; text-align: left; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16.5px; color: var(--text); letter-spacing: -.01em; }
.faq-q:hover { color: var(--blue-600); }
.faq-q .pm { flex: none; width: 24px; height: 24px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.faq-q .pm::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.faq-q .pm::after { left: 11px; top: 4px; bottom: 4px; width: 2px; }
.faq-item.open .faq-q .pm::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 22px 20px; color: #475569; font-size: 15px; line-height: 1.7; }
.faq-more { text-align: center; margin-top: 28px; color: var(--muted); font-size: 15px; }
.faq-more a { color: var(--blue-600); font-weight: 600; }

/* Parent-company attribution in footer */
.footer-parent { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.6); }
.footer-parent a { color: rgba(255,255,255,.85); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.footer-parent a:hover { color: #fff; }

/* ========================================================================
   30-second "free to ask" quote popup
   ======================================================================== */
.qpop-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(6, 10, 30, .55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.qpop-overlay.show { opacity: 1; visibility: visible; }
.qpop { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(3,6,20,.7); transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.4,0,.2,1); }
.qpop-overlay.show .qpop { transform: none; }
.qpop-top { background: var(--dark-bg); color: #fff; padding: 26px 28px 22px; position: relative; }
.qpop-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.qpop-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.qpop-top h3 { color: #fff; font-size: 23px; line-height: 1.2; letter-spacing: -.02em; }
.qpop-top p { color: rgba(255,255,255,.8); font-size: 14.5px; margin-top: 10px; line-height: 1.55; }
.qpop-body { padding: 22px 28px 26px; }
.qpop-body ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.qpop-body li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #334155; }
.qpop-body li svg { width: 18px; height: 18px; color: #16a34a; flex: none; }
.qpop .btn { width: 100%; justify-content: center; padding: 15px; font-size: 15.5px; }
.qpop-dismiss { display: block; width: 100%; text-align: center; margin-top: 12px; background: none; border: 0; color: var(--muted); font-size: 13.5px; cursor: pointer; }
.qpop-dismiss:hover { color: var(--text); text-decoration: underline; }
.qpop-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; z-index: 2; }
.qpop-close:hover { background: rgba(255,255,255,.26); }

/* ================= Homepage: Latest from the blog ================= */
.blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.blog-head .sub { margin-top: 10px; color: var(--muted); font-size: 16.5px; max-width: 60ch; }
.blog-latest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #E8EDF5;
  border-radius: 16px; padding: 26px; text-decoration: none; position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.blog-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.blog-card:hover { transform: translateY(-6px); border-color: #C7D6EE; box-shadow: 0 22px 44px -20px rgba(15,23,42,.22); }
.blog-card:hover::before { transform: scaleX(1); }
.bc-tag { display: inline-block; align-self: flex-start; background: var(--grad-soft); color: var(--blue-600); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.blog-card h3 { font-size: 18.5px; line-height: 1.3; letter-spacing: -.01em; color: var(--text); margin-bottom: 10px; }
.blog-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; }
.bc-meta { color: var(--muted-2, #94a3b8); font-size: 12.5px; margin-top: auto; }
.bc-arrow { color: var(--blue-600); font-weight: 700; font-size: 14px; margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; }
.bc-arrow::after { content: "\2192"; transition: transform .2s ease; }
.blog-card:hover .bc-arrow::after { transform: translateX(4px); }
/* Staggered entrance */
.blog-card.reveal { transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i, 0) * .12s); }
@media (max-width: 900px) { .blog-latest { grid-template-columns: 1fr; } .blog-head { flex-direction: column; align-items: flex-start; } }

/* ========================================================================
   MEGA MENU — single clean full-width implementation
   ======================================================================== */
.btn-sm { padding: 9px 15px; font-size: 13px; }
.ic-blue { background: #EAF1FF; color: #2563EB; } .ic-green { background: #E7F8EE; color: #16a34a; } .ic-sky { background: #E6F6FD; color: #0891b2; } .ic-pink { background: #FDEBF4; color: #db2777; } .ic-orange { background: #FFF1E6; color: #ea580c; } .ic-purple { background: #F1EAFE; color: #7C3AED; }

/* ==========================================================================
   MEGA MENU — services dropdown (rebuilt: full-width fixed panel, real grid).
   The panel content lives in .mega-inner (NOT .container) so the header's
   ".site-header .container { display:flex; height:74px }" rule can't hijack it.
   .has-mega stretches the trigger to full header height so the hover region
   reaches the panel with no dead gap.
   ========================================================================== */
.main-nav { height: 100%; }
.main-nav > ul { height: 100%; }
.has-mega { position: static; display: flex; align-items: center; align-self: stretch; }

.mega-trigger { height: 100%; background: none; border: 0; color: rgba(255,255,255,.86); font: inherit; font-size: 14.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; padding: 0; }
.mega-trigger:hover, .has-mega:hover .mega-trigger, .has-mega.open .mega-trigger { color: #fff; }
.mega-trigger .caret { width: 11px; height: 11px; opacity: .7; transition: transform .2s ease; }
.has-mega:hover .mega-trigger .caret, .has-mega.open .mega-trigger .caret { transform: rotate(180deg); }

.mega-panel {
  position: fixed; left: 0; right: 0; top: 74px;
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 50px -22px rgba(3, 6, 20, .28);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 59;
}
/* invisible bridge so the cursor can travel from the trigger to the panel without a dead gap */
.mega-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel, .has-mega.open .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 34px 28px 38px; display: grid; grid-template-columns: 2.5fr 1.2fr 1fr 252px; gap: 40px; align-items: stretch; box-sizing: border-box; }
.mega-col { min-width: 0; display: flex; flex-direction: column; }
.mega-tx { min-width: 0; }
.mega-h { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
/* Services: 2×3 grid of equal-height cards so rows never go ragged when titles wrap */
.mega-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.mega-item { display: flex; align-items: center; gap: 12px; padding: 10px 11px; border-radius: 11px; min-height: 60px; color: var(--text); transition: background .15s ease; }
.mega-item:hover { background: var(--bg-soft); }
.mega-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.mega-ico svg { width: 19px; height: 19px; }
.mega-tx strong { display: block; font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.25; }
.mega-tx small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.mega-item:hover .mega-tx strong { color: var(--blue-600); }
/* Industries + Company: single aligned columns (no wrapping-induced raggedness) */
.mega-linkgrid { display: flex; flex-direction: column; }
/* scoped under .mega-panel so they beat ".main-nav a { color: #fff }" (which would otherwise render these white-on-white) */
.mega-panel .mega-link { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 8px; color: #334155; font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.mega-panel .mega-link:hover { background: var(--bg-soft); color: var(--blue-600); }
.mega-panel .mega-item { color: var(--text); }
.mega-panel .mega-all { display: inline-block; margin-top: auto; padding-top: 16px; color: var(--blue-600); font-weight: 700; font-size: 13px; align-self: flex-start; }
.mega-panel .mega-all::after { content: " \2192"; }
.mega-panel .mega-all:hover { color: var(--blue-700); }
.mega-feature { background: var(--dark-bg); border-radius: 16px; padding: 24px 22px; display: flex; flex-direction: column; }
.mega-feature .mf-eyebrow { color: #8FB4FF; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.mega-feature h4 { color: #fff; font-size: 17px; margin-bottom: 8px; letter-spacing: -.01em; line-height: 1.3; }
.mega-feature > p { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.5; margin-bottom: 18px; }
.mega-feature .btn, .mega-feature .btn:hover, .mega-feature .btn:focus { color: #fff; }
.mega-feature .btn:hover { background: var(--blue-600); }
.mf-rating { font-size: 12.5px; color: rgba(255,255,255,.82); text-align: center; margin-top: auto; padding-top: 16px; }
.mf-stars { color: #F5B301; letter-spacing: 1px; }
@media (max-width: 1024px) { .mega-panel { display: none !important; } }

/* ===== WP Developer brand theme override ===== */
:root{ --blue:#4f46e5; --blue-600:#4f46e5; --blue-700:#4f46e5; --purple:#c026d3; --indigo:#4f46e5; --grad:linear-gradient(90deg,#4f46e5 0%,#c026d3 100%); }

/* ===== generated homepage ===== */
.home-hero{background:var(--navy);color:#fff;padding:96px 0 80px;text-align:center;position:relative;overflow:hidden}
.home-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(60% 60% at 50% 0,rgba(255,255,255,.08),transparent);pointer-events:none}
.home-eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;font-weight:700;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;margin:0 0 14px}
.home-hero .home-eyebrow{background:none;color:#a5b4fc}
.home-h1{font-size:clamp(2.1rem,5vw,3.4rem);font-weight:800;line-height:1.08;margin:0 auto;max-width:16ch}
.home-sub{margin:20px auto 0;max-width:60ch;font-size:1.12rem;color:var(--on-dark-muted)}
.home-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:30px}
.home-trust{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;margin-top:28px;color:rgba(255,255,255,.6);font-size:.85rem}
.home-h2{font-size:clamp(1.6rem,3.4vw,2.3rem);font-weight:800;margin:6px 0 26px;color:var(--text)}
.home-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.home-card{display:block;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;text-decoration:none;color:inherit;transition:.2s}
.home-card:hover{border-color:var(--blue);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.home-card h3{margin:0 0 8px;font-size:1.15rem;color:var(--text)}
.home-card p{margin:0;color:var(--muted);font-size:.95rem}
.home-card-arrow{display:inline-block;margin-top:14px;color:var(--blue);font-weight:700;font-size:.9rem}
.home-band{background:var(--bg-soft)}
.home-whys{display:grid;gap:22px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.home-why h3{margin:0 0 6px;color:var(--text)}
.home-why p{margin:0;color:var(--muted)}
.home-chips{display:flex;flex-wrap:wrap;gap:12px}
.home-chip{padding:10px 18px;border:1px solid var(--line);border-radius:999px;text-decoration:none;color:var(--text);font-weight:600;transition:.2s}
.home-chip:hover{border-color:var(--blue);color:var(--blue)}
.btn-ghost{background:transparent;border:1px solid var(--line);color:var(--text)}
.home-hero .btn-ghost{border-color:rgba(255,255,255,.25);color:#fff}

/* hero H1 contrast fix (global h1 color override) */
.home-hero .home-h1{ color:#fff !important; }
.home-band .home-h2, .section .home-h2{ color:var(--text); }
