/* =========================================================================
   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; }
}

/* ================= Mega menu ================= */
.has-mega { position: relative; }
.mega-trigger { 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.open .mega-trigger { color: #fff; }
.mega-panel { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(8px); width: 620px; max-width: 92vw; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s; z-index: 60; }
.mega-panel::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel, .has-mega.open .mega-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; transition: background .15s; }
.mega-item:hover { background: var(--bg-soft); }
.mega-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.mega-ico svg { width: 20px; height: 20px; }
.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-tx strong { display: block; color: var(--text); font-family: 'Poppins', sans-serif; font-size: 14.5px; font-weight: 600; }
.mega-tx small { color: var(--muted); font-size: 12.5px; }
.mega-foot { display: flex; align-items: center; gap: 16px; margin-top: 8px; padding: 14px 12px 4px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.mega-foot a { color: var(--blue-600); font-weight: 600; }
.mega-foot .btn { margin-left: auto; }
.btn-sm { padding: 9px 15px; font-size: 13px; }

/* 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; } }
