/* ---------------------------------------------------------------
   Urban Sign Factory — custom CSS layer (rides on top of Tailwind CDN)
   --------------------------------------------------------------- */

:root {
  /* Brand colours — same in both themes */
  --accent: #FFD60A;            /* signage yellow */
  --accent-dark: #E6BE00;
  --accent-light: #fff7cc;
  --neon: #39FF14;              /* neon green secondary */
  --neon-soft: #d6ffce;
  --on-accent: #0a0a0a;         /* TEXT COLOR ON YELLOW BUTTONS */

  /* ALWAYS-FIXED colours (never flip with theme) — for elements that
     must stay matte-black even in light mode (CTA banners, USP ribbon,
     order card, top strip, sticky bar, FAB icons, dark badges, etc.) */
  --always-dark-bg:      #0a0a0a;
  --always-dark-bg-2:    #161616;
  --always-dark-text:    #f5f5f7;
  --always-dark-text-2:  #c9ccd1;
  --always-dark-line:    #2a2a2a;
  --always-light-bg:     #ffffff;
  --always-light-text:   #0a0a0a;

  --shadow-glow: 0 0 0 4px rgba(255, 214, 10, .25);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1200px;
  --header-h: 72px;
  --header-h-mobile: 64px;
}

/* ===== LIGHT THEME (data-theme="light") ===== */
:root[data-theme="light"], :root:not([data-theme]) {
  --ink: #0a0a0a;
  --ink-soft: #2a2a2a;
  --ink-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f7f7f8;
  --bg-soft: #fafafa;
  --bg-dark: #0a0a0a;
  --bg-card: #ffffff;
  --bg-card-alt: #ffffff;
  --line: #e5e7eb;
  --line-dark: #1a1a1a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 2px 8px rgba(0, 0, 0, .04);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, .08);
}

/* ===== MATTE BLACK DARK THEME (default) ===== */
:root, :root[data-theme="dark"] {
  --ink: #f5f5f7;             /* near-white text */
  --ink-soft: #d4d6db;
  --ink-muted: #8b8d92;
  --bg: #0a0a0a;              /* matte black */
  --bg-alt: #161616;
  --bg-soft: #1a1a1a;
  --bg-dark: #000000;
  --bg-card: #161616;
  --bg-card-alt: #1f1f1f;
  --line: #2a2a2a;
  --line-dark: #3a3a3a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 2px 8px rgba(0, 0, 0, .3);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, .5);
}

/* Dark-mode component overrides for cards / panels with hardcoded white bg */
:root[data-theme="dark"] .card, :root:not([data-theme]) .card,
:root[data-theme="dark"] .svc-card, :root:not([data-theme]) .svc-card,
:root[data-theme="dark"] .solution-card, :root:not([data-theme]) .solution-card,
:root[data-theme="dark"] .testi-card, :root:not([data-theme]) .testi-card,
:root[data-theme="dark"] .milestone, :root:not([data-theme]) .milestone,
:root[data-theme="dark"] .faq-item, :root:not([data-theme]) .faq-item,
:root[data-theme="dark"] .marquee__item, :root:not([data-theme]) .marquee__item,
:root[data-theme="dark"] .logo-marquee__item, :root:not([data-theme]) .logo-marquee__item,
:root[data-theme="dark"] .stat-item, :root:not([data-theme]) .stat-item,
:root[data-theme="dark"] .case-card, :root:not([data-theme]) .case-card,
:root[data-theme="dark"] .city-card, :root:not([data-theme]) .city-card,
:root[data-theme="dark"] .feature-block, :root:not([data-theme]) .feature-block,
:root[data-theme="dark"] .service-card, :root:not([data-theme]) .service-card,
:root[data-theme="dark"] .process-step, :root:not([data-theme]) .process-step,
:root[data-theme="dark"] .footer-bottom .credit a, :root:not([data-theme]) .footer-bottom .credit a {
  background: var(--bg-card);
  border-color: var(--line);
}
:root[data-theme="dark"] .footer-bottom .credit a, :root:not([data-theme]) .footer-bottom .credit a { background: transparent; }
:root[data-theme="dark"] .feature-block, :root:not([data-theme]) .feature-block { background: transparent; border: 0; padding: 0; }
:root[data-theme="dark"] .case-card, :root:not([data-theme]) .case-card { background: var(--always-dark-bg); }
:root[data-theme="dark"] .stat-item, :root:not([data-theme]) .stat-item { background: transparent; border: 0; }
/* contact-strip wraps */
:root[data-theme="dark"] .contact-strip, :root:not([data-theme]) .contact-strip { background: var(--bg-alt); }
/* svc-card price + arrow color in dark */
:root[data-theme="dark"] .svc-card__cta, :root:not([data-theme]) .svc-card__cta { color: var(--ink); }
:root[data-theme="dark"] .site-header, :root:not([data-theme]) .site-header { background: var(--bg-card); border-bottom-color: var(--line); }
:root[data-theme="dark"] .site-header.is-scrolled, :root:not([data-theme]) .site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.5); }
:root[data-theme="dark"] .nav-link:hover, :root:not([data-theme]) .nav-link:hover { background: var(--bg-soft); color: var(--ink); }
:root[data-theme="dark"] .menu-toggle, :root:not([data-theme]) .menu-toggle { background: var(--bg-card); color: var(--ink); border-color: var(--line); }
:root[data-theme="dark"] .nav-mega, :root:not([data-theme]) .nav-mega { background: var(--bg-card); border-color: var(--line); }
:root[data-theme="dark"] .nav-mega__tile, :root:not([data-theme]) .nav-mega__tile { background: var(--bg-soft); border-color: var(--line); }
:root[data-theme="dark"] .nav-mega__col a, :root:not([data-theme]) .nav-mega__col a { color: var(--ink); }
:root[data-theme="dark"] .mobile-drawer, :root:not([data-theme]) .mobile-drawer { background: var(--bg); }
:root[data-theme="dark"] .mobile-drawer__head, :root:not([data-theme]) .mobile-drawer__head { border-bottom-color: var(--line); }
:root[data-theme="dark"] .mobile-drawer__nav a, :root:not([data-theme]) .mobile-drawer__nav a { color: var(--ink); }
:root[data-theme="dark"] .mobile-drawer__nav a:hover, :root:not([data-theme]) .mobile-drawer__nav a:hover { background: var(--accent); color: var(--ink-soft); }
:root[data-theme="dark"] .mobile-drawer__cta, :root:not([data-theme]) .mobile-drawer__cta { border-top-color: var(--line); }
:root[data-theme="dark"] .form-input, :root[data-theme="dark"] .form-select, :root[data-theme="dark"] .form-textarea,
:root:not([data-theme]) .form-input, :root:not([data-theme]) .form-select, :root:not([data-theme]) .form-textarea {
  background: var(--bg-soft); color: var(--ink); border-color: var(--line);
}
:root[data-theme="dark"] .top-strip, :root:not([data-theme]) .top-strip { background: #000; border-bottom-color: var(--accent); }
/* Footer is always dark in both themes */
.site-footer { background: #050505 !important; }
/* Site logo text — adapt to theme */
:root[data-theme="dark"] .site-logo__text, :root:not([data-theme]) .site-logo__text { color: var(--ink); }
:root[data-theme="dark"] .nav-link, :root:not([data-theme]) .nav-link { color: var(--ink); }
:root[data-theme="dark"] .nav-link.is-active, :root:not([data-theme]) .nav-link.is-active { color: var(--accent); }
/* Theme toggle border in dark */
:root[data-theme="dark"] .theme-toggle, :root:not([data-theme]) .theme-toggle { color: var(--ink); border-color: var(--line); }
/* Solution card icon background — keep yellow (it's accent) */
/* Tag pills on cards */
:root[data-theme="dark"] .svc-card__media .tag, :root:not([data-theme]) .svc-card__media .tag { background: var(--accent); color: var(--always-light-text); }
/* Eyebrow pills already use yellow bg + black text — fine in both themes. But the dark eyebrow uses --ink for bg which flips. */
:root[data-theme="dark"] .eyebrow-dark, :root:not([data-theme]) .eyebrow-dark { background: var(--always-dark-bg); color: var(--accent); }
/* Buttons that use --ink as bg (btn-dark) — flip color in dark mode */
:root[data-theme="dark"] .btn-dark, :root:not([data-theme]) .btn-dark { background: var(--always-dark-bg); color: var(--always-dark-text); }
:root[data-theme="dark"] .btn-dark:hover, :root:not([data-theme]) .btn-dark:hover { background: #000; color: var(--accent); }
/* AI chat is permanently light-themed for readability — see .ai-chat block lower in file. */

/* Theme toggle button */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  cursor: pointer; transition: background .15s, color .15s;
  margin-left: 6px;
}
.theme-toggle:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.theme-toggle .sun, .theme-toggle .moon { width: 18px; height: 18px; }
:root[data-theme="dark"] .theme-toggle .sun, :root:not([data-theme]) .theme-toggle .sun { display: inline-block; }
:root[data-theme="dark"] .theme-toggle .moon, :root:not([data-theme]) .theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: inline-block; }
.footer-theme-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); color: #c9ccd1;
  padding: 8px 14px; border-radius: 99px; cursor: pointer; border: 0;
  font-family: inherit; font-size: 12px; font-weight: 600; margin-top: 16px;
}
.footer-theme-toggle:hover { background: var(--accent); color: var(--ink); }
.footer-theme-toggle svg { width: 14px; height: 14px; }

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Order matters: hidden is the fallback, clip overrides it where supported (iOS 16+, Chrome 90+).
     `clip` doesn't leak fixed/translated descendants the way `hidden` can on mobile browsers. */
  overflow-x: hidden;
  overflow-x: clip;
}

/* Belt-and-suspenders: even if AOS init runs late, kill horizontal translate on small screens */
@media (max-width: 900px) {
  [data-aos="fade-left"],
  [data-aos="fade-right"],
  [data-aos="zoom-in"],
  [data-aos="zoom-out"] { transform: none !important; opacity: 1 !important; }
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; display: block; }

.text-accent { color: var(--accent); }
.text-neon   { color: var(--neon); }
.bg-accent   { background: var(--accent); color: var(--on-accent); }
.bg-neon     { background: var(--neon); color: var(--on-accent); }
.bg-dark     { background: var(--bg-dark); color: #fff; }
.container   { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ----------
   Yellow primary button uses black text for contrast (yellow + white fails AA).
*/
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 10px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  cursor: pointer; border: 2px solid transparent; line-height: 1;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-dark); color: var(--on-accent); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255,214,10,.45); }
.btn-neon { background: var(--neon); color: var(--on-accent); }
.btn-neon:hover { background: #2cf008; color: var(--on-accent); transform: translateY(-1px); box-shadow: 0 0 24px rgba(57,255,20,.55); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--accent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: var(--accent); }
.btn-ghost { background: var(--bg-alt); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Section spacing ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }

.eyebrow {
  display: inline-block; align-self: flex-start; width: fit-content;
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
  color: var(--ink); text-transform: uppercase; margin-bottom: 12px;
  padding: 6px 14px; background: var(--accent); border-radius: 99px;
}
.eyebrow-dark { background: var(--ink); color: var(--accent); }

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; transition: box-shadow .2s ease, height .2s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.06); border-bottom-color: var(--line); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h-mobile); gap: 16px;
}
@media (min-width: 1024px) { .site-header__inner { height: var(--header-h); } }
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo img { height: 42px; width: auto; }
/* Theme-aware logo swap */
.site-logo .logo-light { display: none; }
.site-logo .logo-dark  { display: none; }
:root[data-theme="light"] .site-logo .logo-light { display: block; }
:root[data-theme="dark"]  .site-logo .logo-dark,
:root:not([data-theme])    .site-logo .logo-dark { display: block; }
.site-logo__text { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 18px; color: var(--ink); }
.site-logo__text { color: var(--ink); font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: 1.5px; line-height: 1; }
.site-logo__text span { background: var(--accent); color: var(--ink); padding: 1px 6px; border-radius: 3px; }
@media (min-width: 768px) { .site-logo__text { font-size: 18px; } }

.nav-desktop { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link {
  position: relative; display: inline-flex; align-items: center;
  padding: 10px 14px; font-weight: 500; color: var(--ink);
  border-radius: 8px; transition: color .15s ease, background .15s ease;
}
.nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 3px; background: var(--accent); border-radius: 2px;
}
.nav-link:hover { color: var(--ink); background: var(--bg-alt); }

.nav-dropdown { position: relative; }
.nav-dropdown__panel {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08); min-width: 240px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown__panel a {
  display: block; padding: 10px 14px; color: var(--ink); border-radius: 8px;
  font-weight: 500;
}
.nav-dropdown__panel a:hover { background: var(--bg-alt); color: var(--ink); border-left: 3px solid var(--accent); padding-left: 11px; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; cursor: pointer;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Mobile drawer
 * Width uses viewport units (vw) instead of % so it can't be widened by body overflow.
 * Inset `auto 0 0 auto` pins it to the right viewport edge regardless of parent width.
 * Closed: visibility:hidden + translateX(100%) keeps it off-screen and removes from layout flow.
 * Open: visibility:visible + translateX(0) slides it in.
 * The visibility transition has a delay when closing so the slide-out animation can finish first.
 */
.mobile-drawer {
  position: fixed; top: 0; bottom: 0; right: 0; left: auto;
  width: min(86vw, 340px);
  background: #fff; z-index: 100;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .25s ease, visibility 0s .25s;
  box-shadow: -8px 0 30px rgba(0,0,0,.12);
  display: flex; flex-direction: column;
  will-change: transform;
}
.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .25s ease, visibility 0s 0s;
}
/* When drawer is open, lock the page so it can't horizontally scroll on mobile */
body.drawer-open { overflow: hidden !important; position: fixed; width: 100%; }
.mobile-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.mobile-drawer__nav { padding: 12px 8px; overflow-y: auto; flex: 1; }
.mobile-drawer__nav a {
  display: block; padding: 13px 14px; color: var(--ink); font-weight: 600;
  border-radius: 10px; margin-bottom: 2px;
}
.mobile-drawer__nav a:hover { background: var(--accent); color: var(--ink); }
.mobile-drawer__nav .group-label { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-muted); padding: 16px 14px 6px; }
.mobile-drawer__nav .sub a { padding-left: 28px; font-weight: 500; }
.mobile-drawer__cta { padding: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.drawer-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 16px;
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.drawer-theme-toggle:hover { background: var(--bg-alt); border-color: var(--accent); }
.drawer-theme-toggle svg { color: var(--accent); flex-shrink: 0; }
.mobile-drawer__nav .m-acc { border-radius: 10px; margin-bottom: 2px; }
.mobile-drawer__nav .m-acc summary {
  list-style: none; cursor: pointer; padding: 13px 14px; color: var(--ink); font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-drawer__nav .m-acc summary::-webkit-details-marker { display: none; }
.mobile-drawer__nav .m-acc summary::after { content: '+'; color: var(--ink-muted); font-size: 18px; line-height: 1; }
.mobile-drawer__nav .m-acc[open] summary { background: var(--bg-alt); border-radius: 10px; }
.mobile-drawer__nav .m-acc[open] summary::after { content: '−'; color: var(--accent); }
.mobile-drawer__nav .m-acc .sub { padding: 4px 0 8px; }
.mobile-drawer__nav .m-acc .sub a { padding-left: 26px; font-weight: 500; font-size: 14px; }
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 90; opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

/* =====================================================================
   Hero (homepage swiper)
   ===================================================================== */
.hero { position: relative; height: 70vh; min-height: 500px; }
@media (min-width: 1024px) { .hero { height: calc(100vh - var(--header-h)); max-height: 820px; } }
.hero .swiper, .hero .swiper-wrapper, .hero .swiper-slide { height: 100%; }
.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #0a0a0a; /* dark fallback before image loads */
}
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.65) 50%, rgba(0,0,0,.45) 100%);
}
.hero-slide__inner {
  position: relative; z-index: 2;
  height: 100%; display: flex; flex-direction: column; justify-content: center;
  max-width: var(--container); margin: 0 auto; padding: 0 20px; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-slide h1 { color: #fff; max-width: 820px; text-shadow: 0 3px 18px rgba(0,0,0,.5); }
.hero-slide p { font-size: clamp(15px, 2.1vw, 19px); max-width: 640px; opacity: .96; margin-bottom: 28px; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: nowrap; max-width: 100%; }
.hero-ctas .btn { white-space: nowrap; flex: 0 1 auto; min-width: 0; }
@media (max-width: 600px) {
  .hero-ctas { gap: 8px; }
  .hero-ctas .btn { padding: 11px 14px; font-size: 13px; letter-spacing: 0; }
  .hero-ctas .btn-outline { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 380px) {
  .hero-ctas { gap: 6px; }
  .hero-ctas .btn { padding: 10px 11px; font-size: 12px; }
}
.scroll-down {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: #fff; opacity: .8; animation: bounce 1.8s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* Swiper pagination */
.swiper-pagination-bullet { background: rgba(255,255,255,.55); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--accent); width: 26px; border-radius: 5px; box-shadow: 0 0 10px rgba(255,214,10,.7); }

/* =====================================================================
   Cards & grids
   ===================================================================== */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.service-card { padding: 28px 24px; text-align: left; }
.service-card .icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--always-dark-bg); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background .15s ease;
}
.service-card:hover .icon-wrap { background: var(--accent); color: var(--always-light-text); }
.service-card .icon-wrap svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.service-card p { color: var(--ink-soft); font-size: 14px; margin: 0 0 14px; }
.service-card .arrow { color: var(--ink); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

.feature-block { display: flex; gap: 16px; padding: 4px; }
.feature-block .icon-wrap { width: 50px; height: 50px; border-radius: 12px; background: var(--always-dark-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-block h3 { font-size: 17px; margin-bottom: 4px; }
.feature-block p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* Stats counter */
.stats-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; padding: 18px 8px; }
.stat-num { font-family: 'Poppins', sans-serif; font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; color: var(--ink); line-height: 1; }
.stat-num::after { content: ''; display: block; width: 36px; height: 4px; background: var(--accent); border-radius: 4px; margin: 8px auto 0; }
.stat-label { font-size: 13px; color: var(--ink-muted); margin-top: 8px; letter-spacing: .5px; text-transform: uppercase; }

/* Industries marquee */
.marquee { overflow: hidden; position: relative; padding: 14px 0; mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: 99px;
  font-weight: 600; color: var(--ink-soft); font-size: 14px; white-space: nowrap;
}
.marquee__item .dot { width: 9px; height: 9px; border-radius: 99px; background: var(--neon); box-shadow: 0 0 8px rgba(57,255,20,.6); }

/* Process stepper */
.process-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(6, 1fr); } }
.process-step {
  text-align: center; padding: 22px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  position: relative;
}
.process-step .num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--always-dark-bg); color: var(--accent); font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.process-step h4 { font-size: 14px; margin: 0; font-weight: 700; }

/* Testimonials */
.testi-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; height: 100%;
}
.testi-stars { color: #f5b400; margin-bottom: 12px; letter-spacing: 2px; }
.testi-card blockquote { margin: 0 0 18px; font-size: 16px; color: var(--ink); line-height: 1.6; }
.testi-card cite { display: flex; align-items: center; gap: 12px; font-style: normal; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--always-dark-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.testi-card cite strong { display: block; font-size: 14px; }
.testi-card cite span { font-size: 12px; color: var(--ink-muted); }

/* CTA banner — always-dark in both themes */
.cta-banner {
  background: var(--always-dark-bg); color: var(--always-dark-text);
  border-radius: 16px; padding: 40px 28px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
  position: relative; overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: 0 0 30px rgba(255,214,10,.25);
}
.cta-banner::before {
  content: ''; position: absolute; inset: -2px;
  background: linear-gradient(120deg, transparent 35%, rgba(255,214,10,.18) 50%, transparent 65%);
  pointer-events: none;
}
@media (min-width: 768px) { .cta-banner { flex-direction: row; justify-content: space-between; text-align: left; padding: 48px 56px; } }
.cta-banner h2 { color: var(--always-dark-text); margin: 0; max-width: 640px; }
.cta-banner h2 span { color: var(--accent); }
.cta-banner p { color: var(--always-dark-text); opacity: .85; margin: 6px 0 0; }

/* Contact strip */
.contact-strip {
  display: grid; gap: 20px; grid-template-columns: 1fr;
  background: var(--bg-alt); padding: 32px; border-radius: var(--radius);
}
@media (min-width: 768px) { .contact-strip { grid-template-columns: repeat(3, 1fr); padding: 24px 32px; } }
.contact-strip__item { display: flex; align-items: center; gap: 14px; }
.contact-strip__item .icon-wrap {
  width: 44px; height: 44px; border-radius: 12px; background: var(--always-dark-bg); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-strip__item small { display: block; color: var(--ink-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.contact-strip__item strong { font-size: 14px; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: #0f1115; color: #c9ccd1; padding-top: 64px; margin-top: 64px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-family: 'Poppins',sans-serif; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 56px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
.site-footer a { color: #c9ccd1; transition: color .15s ease; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { font-size: 14px; line-height: 1.65; color: #aab0b8; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { font-size: 14px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; align-items: flex-start; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.footer-socials a:hover { background: var(--accent); color: var(--on-accent); }

.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input {
  flex: 1; padding: 11px 14px; border-radius: 10px; border: 1px solid #2a2d33;
  background: #1a1d22; color: #fff; font-size: 14px; min-width: 0;
}
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-form button {
  background: var(--accent); color: var(--on-accent); border: none; padding: 11px 18px;
  border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 14px;
}
.newsletter-form button:hover { background: var(--accent-dark); }

.footer-legal {
  border-top: 1px solid #21242a; padding: 18px 0 6px;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  justify-content: center; text-align: center;
  font-size: 13px;
}
.footer-legal a {
  color: #c9ccd1; text-decoration: none; transition: color .15s;
  white-space: nowrap;
}
.footer-legal a:hover { color: var(--accent); }
@media (min-width: 768px) { .footer-legal { justify-content: flex-start; } }

.footer-bottom {
  border-top: 1px solid #21242a; padding: 16px 0 22px;
  display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center;
  font-size: 13px; color: #999;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom .credit a { color: #d4d6db; }
.footer-bottom .credit a:hover { color: var(--accent); }

/* =====================================================================
   Floating buttons
   ===================================================================== */
.floating-stack { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.18); cursor: pointer;
  border: none; transition: transform .15s ease;
}
.fab:hover { transform: translateY(-2px); }
/* AI assistant FAB — yellow circle with black icon (matches user's spec) */
.fab-ai {
  background: var(--accent); color: #0a0a0a;
  width: 56px; height: 56px;
  box-shadow: 0 6px 24px rgba(255,214,10,.55), 0 0 0 0 rgba(255,214,10,.5);
  animation: aiFabPulse 2.6s ease-in-out infinite;
}
.fab-ai:hover { background: #FFE03A; transform: translateY(-3px) scale(1.05); }
@keyframes aiFabPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(255,214,10,.55), 0 0 0 0 rgba(255,214,10,.5); }
  50%      { box-shadow: 0 6px 24px rgba(255,214,10,.55), 0 0 0 12px rgba(255,214,10,0); }
}
/* "Can I help you?" tooltip on the AI FAB */
.fab-ai::before {
  content: 'Can I help you?';
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: #0a0a0a; color: #ffffff;
  font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 600;
  padding: 8px 12px; border-radius: 8px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  pointer-events: none;
  opacity: 0; transition: opacity .2s ease, transform .2s ease;
}
.fab-ai::after {
  content: '';
  position: absolute; right: calc(100% + 5px); top: 50%; transform: translateY(-50%);
  border-style: solid; border-width: 6px 0 6px 7px;
  border-color: transparent transparent transparent #0a0a0a;
  pointer-events: none;
  opacity: 0; transition: opacity .2s ease;
}
.fab-ai:hover::before, .fab-ai:hover::after { opacity: 1; }
@media (max-width: 640px) { .fab-ai::before, .fab-ai::after { display: none; } }
.fab-up { background: var(--accent); color: var(--always-light-text); display: none; }
.fab-up.is-visible { display: inline-flex; }

.fab-whatsapp {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =====================================================================
   Forms
   ===================================================================== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; font-family: inherit; font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
  background: #fff;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,214,10,.35);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }

/* Skip-to-content (a11y) */
.skip-link {
  position: absolute; left: 8px; top: 8px;
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px;
  z-index: 200;
  /* Visually hidden but accessible — clip-path won't trigger horizontal scroll */
  clip-path: inset(50%);
  width: 1px; height: 1px; overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus {
  clip-path: none;
  width: auto; height: auto; overflow: visible;
}

/* =====================================================================
   T1 — Brandsignages-style component system
   image-on-top service card · case-study card · USP ribbon · FAQ accordion
   custom-order tabs · client-logo marquee · image-showcase row · sticky bar
   ===================================================================== */

/* ---------- Image-on-top service card ---------- */
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column; height: 100%;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.08); border-color: var(--accent); }
.svc-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__media .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ink) 0%, #1c1c1c 100%); color: var(--accent);
}
.svc-card__media .ph svg { width: 56px; height: 56px; opacity: .8; }
.svc-card__media .tag {
  position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--ink);
  padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
}
.svc-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.svc-card__body h3 { font-size: 18px; margin: 0 0 8px; color: var(--ink); }
.svc-card__body p { color: var(--ink-soft); font-size: 14px; margin: 0 0 14px; flex: 1; }
.svc-card__body .price { font-size: 13px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.svc-card__body .price small { color: var(--ink-muted); font-weight: 500; }
.svc-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 13px; color: var(--ink);
  border-bottom: 2px solid var(--accent); padding-bottom: 3px; align-self: flex-start;
  text-transform: uppercase; letter-spacing: .6px;
}

/* ---------- Case-study card ---------- */
.case-card {
  position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden;
  background: var(--ink); display: block;
}
.case-card img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .4s ease, opacity .2s; }
.case-card:hover img { transform: scale(1.05); opacity: .7; }
.case-card__overlay {
  position: absolute; inset: 0; padding: 18px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.85) 100%);
  color: #fff;
}
.case-card__cat {
  display: inline-block; align-self: flex-start; background: var(--accent); color: var(--ink);
  padding: 3px 10px; border-radius: 99px; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px;
}
.case-card__title { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 16px; margin: 0 0 6px; color: #fff; }
.case-card__meta { font-size: 12px; opacity: .8; margin: 0 0 10px; }
.case-card__cta {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent); display: inline-flex; align-items: center; gap: 4px;
}

/* ---------- 3-col USP ribbon — always-dark ---------- */
.usp-ribbon { display: grid; gap: 0; grid-template-columns: 1fr; background: var(--always-dark-bg); border-radius: 16px; overflow: hidden; }
@media (min-width: 768px) { .usp-ribbon { grid-template-columns: repeat(3, 1fr); } }
.usp-ribbon__cell {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 32px 28px; color: var(--always-dark-text); border-bottom: 1px solid var(--always-dark-line);
  position: relative;
}
@media (min-width: 768px) {
  .usp-ribbon__cell { border-bottom: 0; border-right: 1px solid var(--always-dark-line); }
  .usp-ribbon__cell:last-child { border-right: 0; }
}
.usp-ribbon__cell:last-child { border-bottom: 0; }
.usp-ribbon__icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--accent); color: var(--always-light-text);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.usp-ribbon__cell h3 { color: var(--always-dark-text); font-size: 18px; margin: 0 0 6px; }
.usp-ribbon__cell p { color: var(--always-dark-text-2); font-size: 14px; margin: 0; line-height: 1.5; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item[open] { border-color: var(--ink); box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 15px; color: var(--ink); gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 24px; line-height: 1; font-weight: 400; color: var(--ink-muted);
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .2s ease, background .15s ease, color .15s ease;
}
.faq-item[open] summary::after { content: '−'; background: var(--accent); color: var(--ink); transform: rotate(180deg); }
.faq-item__body { padding: 0 22px 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }

/* ---------- Custom-order tabbed form — always-dark ---------- */
.order-card {
  background: var(--always-dark-bg); color: var(--always-dark-text); border-radius: 18px; padding: 32px;
  border: 2px solid var(--accent); box-shadow: 0 0 30px rgba(255,214,10,.18);
}
@media (min-width: 768px) { .order-card { padding: 44px; } }
.order-card h2 { color: var(--always-dark-text); margin: 0 0 6px; }
.order-card .lede { color: var(--always-dark-text-2); font-size: 15px; margin: 0 0 22px; }
.order-tabs { display: flex; gap: 4px; background: var(--always-dark-bg-2); border-radius: 12px; padding: 4px; margin-bottom: 22px; flex-wrap: wrap; }
.order-tabs button {
  flex: 1; min-width: 110px; background: none; border: 0; color: var(--always-dark-text-2);
  padding: 10px 14px; border-radius: 9px; font-weight: 600; font-size: 13px; cursor: pointer; font-family: inherit;
}
.order-tabs button.is-active { background: var(--accent); color: var(--always-light-text); }
.order-panel { display: none; }
.order-panel.is-active { display: block; }
.order-card label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; color: var(--always-dark-text); }
.order-card input, .order-card select, .order-card textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--always-dark-line); background: var(--always-dark-bg-2); color: var(--always-dark-text);
  border-radius: 9px; font-family: inherit; font-size: 14px;
}
.order-card input:focus, .order-card select:focus, .order-card textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,214,10,.25);
}
.order-card .btn { margin-top: 16px; }

/* ---------- Client logos marquee ---------- */
.logo-marquee {
  overflow: hidden;
  padding: 14px 0;
  width: 100%;
  contain: layout paint;     /* hard-stop: don't let track width affect ancestors */
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.logo-marquee__track { display: flex; gap: 60px; align-items: center; width: max-content; animation: logoMarquee 32s linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
@keyframes logoMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-marquee__item {
  flex-shrink: 0; height: 50px; min-width: 130px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 18px; color: var(--ink-muted);
  letter-spacing: -0.5px; opacity: .65; transition: opacity .15s, color .15s;
  text-transform: uppercase;
}
.logo-marquee__item:hover { opacity: 1; color: var(--ink); }
.logo-marquee__item img { max-height: 40px; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .7; }
.logo-marquee__item:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- Image showcase row (5 product images) ---------- */
.showcase-row {
  display: grid; gap: 12px; grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) { .showcase-row { grid-template-columns: repeat(5, 1fr); } }
.showcase-tile {
  aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, #1c1c1c 100%);
}
.showcase-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.showcase-tile:hover img { transform: scale(1.08); }
.showcase-tile__label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  color: #fff; font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 14px;
}
.showcase-tile__label span { color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 2px; }

/* ---------- City cards ---------- */
.city-card {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/5;
  background: var(--ink); display: block; transition: transform .25s ease;
}
.city-card:hover { transform: translateY(-4px); }
.city-card img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.city-card__overlay {
  position: absolute; inset: 0; padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.85) 100%);
  color: #fff;
}
.city-card__overlay h3 { color: #fff; font-size: 22px; margin: 0 0 4px; font-family: 'Poppins',sans-serif; }
.city-card__overlay p { color: #c9ccd1; font-size: 13px; margin: 0 0 12px; }
.city-card__cta { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); }

/* ---------- Sticky bottom contact bar (mobile-first, ALWAYS DARK) ---------- */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
  background: #0a0a0a; color: #ffffff;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -4px 20px rgba(0,0,0,.32);
}
.sticky-bar a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 8px; color: #ffffff; font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .8px;
  border-right: 1px solid #1f1f1f;
  background: #0a0a0a;
}
.sticky-bar a:last-child { border-right: 0; }
.sticky-bar a:hover { background: var(--accent); color: #0a0a0a; }
.sticky-bar a svg { width: 16px; height: 16px; flex-shrink: 0; }
.sticky-bar .lbl { display: none; }
@media (min-width: 480px) { .sticky-bar .lbl { display: inline; } }
@media (min-width: 1024px) { .sticky-bar { display: none; } }
/* When sticky-bar is visible, push floating WhatsApp / AI bubbles up */
@media (max-width: 1023px) {
  .fab-whatsapp { bottom: 70px !important; }
  .floating-stack { bottom: 70px !important; }
  .ai-chat { bottom: 134px !important; }
  body { padding-bottom: 50px; }
}

/* ---------- Top contact strip (above header) — always-dark ---------- */
.top-strip {
  background: var(--always-dark-bg); color: var(--always-dark-text-2); font-size: 12.5px;
  padding: 8px 0; border-bottom: 2px solid var(--accent);
}
.top-strip__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: nowrap; gap: 8px; min-width: 0;
}
.top-strip__contact {
  display: flex; gap: 14px; flex-wrap: nowrap;
  min-width: 0; flex: 1; align-items: center;
}
.top-strip a {
  color: var(--always-dark-text-2);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap; min-width: 0;
}
.top-strip a:hover { color: var(--accent); }
.top-strip__meta { display: none; }
@media (min-width: 768px) { .top-strip__meta { display: flex; gap: 14px; flex-shrink: 0; } }
.top-strip__meta span { color: #888; }

/* On phones: shrink everything just enough to fit phone + email side-by-side
   on a 360-375px viewport with no wrapping or truncation. */
@media (max-width: 600px) {
  .top-strip { font-size: 11px; padding: 5px 0; line-height: 1.3; }
  .top-strip .container { padding-left: 10px; padding-right: 10px; }
  .top-strip__contact { gap: 10px; }
  .top-strip a { gap: 4px; }
  .top-strip a svg { width: 11px; height: 11px; flex-shrink: 0; }
  /* Allow truncation only as a final safety net */
  .top-strip a { overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 380px) {
  .top-strip { font-size: 10.5px; }
  .top-strip__contact { gap: 8px; }
}

/* ---------- Mega-dropdown (header) ---------- */
.nav-mega {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(6px);
  top: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.1); padding: 22px;
  min-width: 540px; max-width: 720px;
  display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr);
  opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-dropdown:hover .nav-mega, .nav-dropdown:focus-within .nav-mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-mega__col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--ink-muted); margin: 0 0 10px; font-family: 'Inter',sans-serif; font-weight: 600; }
.nav-mega__col a {
  display: block; padding: 6px 0; font-size: 14px; color: var(--ink); font-weight: 500; border-radius: 0;
}
.nav-mega__col a:hover { color: var(--ink); padding-left: 6px; border-left: 2px solid var(--accent); }

/* Wide image-tile variant (Our Services) */
.nav-mega--wide { min-width: 760px; max-width: 920px; padding: 18px; grid-template-columns: 1fr; gap: 14px; }
.nav-mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.nav-mega__tile {
  display: flex; flex-direction: column; gap: 6px;
  padding: 0; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.nav-mega__tile:hover {
  transform: translateY(-2px); border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.nav-mega__tile-img {
  display: block; height: 70px;
  background-size: cover; background-position: center;
  background-color: var(--bg-alt);
}
.nav-mega__tile-label {
  display: block; padding: 8px 10px;
  font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.3; text-align: center;
}

/* ---------- Section number heading (h2 with red accent line) ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head__kicker { color: var(--ink-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; font-weight: 600; }
.section-head__kicker::before, .section-head__kicker::after {
  content: ''; display: inline-block; width: 30px; height: 1px; background: var(--accent); vertical-align: middle; margin: 0 10px;
}
.section-head h2 { margin: 0 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ---------- Big-number milestone block (3 cards with side image) ---------- */
.milestones { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .milestones { grid-template-columns: repeat(3, 1fr); } }
.milestone {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; display: flex; gap: 18px; align-items: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.milestone:hover { border-color: var(--accent); box-shadow: 0 12px 30px rgba(0,0,0,.06); transform: translateY(-3px); }
.milestone__num { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 44px; color: var(--ink); line-height: 1; }
.milestone__num small { display: block; font-size: 13px; color: var(--ink-muted); font-weight: 600; margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }
.milestone__icon {
  width: 64px; height: 64px; border-radius: 14px;
  background: var(--ink); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- Specialised solutions grid (4-col x 2-row, 8 cards) ---------- */
.solutions-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .solutions-grid { grid-template-columns: repeat(4, 1fr); } }
.solution-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; gap: 10px;
}
.solution-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.06); border-color: var(--accent); }
.solution-card__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.solution-card h4 { margin: 0; font-size: 15px; font-family: 'Poppins',sans-serif; font-weight: 700; }
.solution-card p { margin: 0; font-size: 13px; color: var(--ink-muted); line-height: 1.5; }
.solution-card a { font-size: 12px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .8px; margin-top: auto; padding-top: 8px; border-bottom: 2px solid var(--accent); align-self: flex-start; padding-bottom: 2px; }

/* ---------- Intro paragraph block (2-col with photo) ---------- */
.intro-block { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .intro-block { grid-template-columns: 1.1fr 1fr; gap: 60px; } }
.intro-block__media { position: relative; }
.intro-block__media img { border-radius: 18px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.intro-block__media .badge {
  position: absolute; bottom: -20px; left: -20px; background: var(--accent); color: var(--ink);
  padding: 14px 18px; border-radius: 12px; font-family: 'Poppins',sans-serif;
  display: flex; gap: 12px; align-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.1);
}
.intro-block__media .badge strong { font-size: 26px; line-height: 1; display: block; }
.intro-block__media .badge small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.intro-block__text h2 span { color: var(--ink); background: linear-gradient(180deg, transparent 65%, var(--accent) 65%); padding: 0 4px; }

/* Util */
.shadow-soft { box-shadow: var(--shadow-sm); }
.divider { height: 1px; background: var(--line); border: 0; margin: 32px 0; }
.text-muted { color: var(--ink-muted); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* =====================================================================
   AI Chat panel
   ===================================================================== */
.ai-chat {
  position: fixed; right: 20px; bottom: 86px; z-index: 95;
  width: 380px; max-width: calc(100vw - 24px);
  height: 560px;
  max-height: calc(100dvh - 110px);
  max-height: calc(100vh - 110px);
  background: #ffffff; border: 1px solid #e5e7eb; border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
  display: none; flex-direction: column; overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  transform-origin: bottom right;
  animation: aiPop .18s cubic-bezier(.2,.7,.3,1.3);
  color: #0a0a0a;
}
@keyframes aiPop { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ai-chat.is-open { display: flex; }
.ai-chat__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: #0a0a0a; color: #ffffff;
  border-bottom: 3px solid var(--accent);
}
.ai-chat__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
}
.ai-chat__avatar svg { display: block; }
.ai-chat__avatar::after {
  content: ''; position: absolute; bottom: 1px; right: 1px;
  width: 10px; height: 10px; background: var(--neon);
  border: 2px solid #0a0a0a; border-radius: 50%;
}
.ai-chat__head h3 { margin: 0; color: #ffffff; font-family: 'Poppins',sans-serif; font-size: 15px; line-height: 1.2; }
.ai-chat__head small { color: rgba(255,255,255,.78); font-size: 11px; display: block; margin-top: 2px; }
.ai-chat__close {
  margin-left: auto; background: none; border: 0; color: #ffffff; cursor: pointer; padding: 4px;
  width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
}
.ai-chat__close:hover { background: rgba(255,255,255,.16); }

.ai-chat__body {
  flex: 1; overflow-y: auto; padding: 16px; background: #f4f5f7;
  display: flex; flex-direction: column; gap: 10px;
}
.ai-chat__body::-webkit-scrollbar { width: 6px; }
.ai-chat__body::-webkit-scrollbar-thumb { background: #c5c8cf; border-radius: 6px; }
.ai-msg { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; word-wrap: break-word; }
.ai-msg.user { background: #0a0a0a; color: #ffffff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ai-msg.bot  { background: #ffffff; color: #0a0a0a; align-self: flex-start; border: 1px solid #e5e7eb; border-bottom-left-radius: 4px; }
.ai-msg a { color: #0a0a0a; text-decoration: underline; font-weight: 600; }
.ai-msg.user a { color: var(--accent); }
.ai-msg__time { font-size: 10px; color: #6b7280; margin: 2px 6px; }
.ai-msg.user + .ai-msg__time { text-align: right; }
.ai-typing {
  align-self: flex-start; background: #ffffff; border: 1px solid #e5e7eb;
  padding: 12px 16px; border-radius: 14px; border-bottom-left-radius: 4px;
  display: inline-flex; gap: 4px;
}
.ai-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: #6b7280;
  animation: aiBlink 1.2s infinite;
}
.ai-typing span:nth-child(2) { animation-delay: .2s; }
.ai-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes aiBlink { 0%,80%,100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-quick {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px;
}
.ai-quick button {
  background: #ffffff; border: 1px solid #d1d5db; border-radius: 99px;
  padding: 6px 12px; font-size: 12px; cursor: pointer; font-family: inherit;
  color: #0a0a0a; transition: background .15s, border-color .15s;
}
.ai-quick button:hover { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.ai-chat__input {
  display: flex; gap: 8px; padding: 12px;
  background: #ffffff; border-top: 1px solid #e5e7eb;
}
.ai-chat__input input {
  flex: 1; padding: 10px 14px; border: 1px solid #d1d5db;
  border-radius: 10px; font-family: inherit; font-size: 14px; min-width: 0;
  background: #ffffff; color: #0a0a0a;
}
.ai-chat__input input::placeholder { color: #6b7280; }
.ai-chat__input input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,214,10,.35); }
.ai-chat__input button {
  background: var(--accent); color: #0a0a0a; border: 0;
  padding: 0 14px; border-radius: 10px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px;
}
.ai-chat__input button:hover { background: #FFE03A; }
.ai-chat__footer {
  padding: 8px 12px; text-align: center; font-size: 11px; color: #6b7280;
  background: #ffffff; border-top: 1px solid #e5e7eb;
}
.ai-chat__footer a { color: #0a0a0a; font-weight: 600; text-decoration: none; }
.ai-chat__footer a:hover { color: var(--accent); }

/* Mobile: full-screen panel that respects browser chrome (URL bar) and safe-area */
@media (max-width: 640px) {
  .ai-chat {
    right: 0 !important; bottom: 0 !important; left: 0 !important; top: 0 !important;
    width: 100% !important; max-width: none !important;
    height: 100vh !important; height: 100dvh !important;
    max-height: 100vh !important; max-height: 100dvh !important;
    border-radius: 0; border: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  /* Ensure the input row stays inside the panel */
  .ai-chat__input { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}
/* When chat is open, hide cookie banner so it doesn't cover the input */
body:has(.ai-chat.is-open) #cookieBar { display: none !important; }

/* AI button gets a yellow notification ring when chat has unread bot replies */
.fab-ai.has-unread::after {
  content: ''; position: absolute; top: 4px; right: 4px;
  width: 12px; height: 12px; background: var(--neon); border: 2px solid var(--ink); border-radius: 50%;
  box-shadow: 0 0 6px rgba(57,255,20,.7);
}
.fab-ai { position: relative; }

/* INDUSTRY GRID CARDS — readable in both themes */
.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s, transform .15s, background .15s;
}
.industry-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.industry-card__icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent); color: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-weight: 800;
}
.industry-card__name { font-weight: 600; font-size: 14px; color: var(--ink); }

/* CERTIFICATION CARDS — readable in both themes */
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.cert-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent); color: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cert-card__name {
  font-family: 'Poppins', sans-serif; font-size: 14px;
  display: block; color: var(--ink); margin-bottom: 4px;
}
.cert-card__desc { font-size: 12px; color: var(--ink-muted); display: block; }

/* WHY-US numbered list (homepage) */
.why-us-list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 16px; }
.why-us-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-us-list strong { display: block; font-family: 'Poppins', sans-serif; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.why-us-list small { display: block; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.why-us-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: #0a0a0a;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 13px;
  letter-spacing: -.2px;
}

/* CITY GRID — 3 tall image tiles with bottom-overlay text + CTA */
.city-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.city-tile {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.city-tile:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,.32); }
.city-tile__body {
  position: absolute; inset: auto 0 0 0;
  padding: 28px 26px;
  color: #fff;
}
.city-tile__body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px; font-weight: 800;
  margin: 0; color: #fff; line-height: 1.15;
}
.city-tile__body p {
  margin: 2px 0 14px; font-size: 18px; font-weight: 600; color: #f5f5f7;
}
.city-tile__cta {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 13px;
  color: var(--accent);
  letter-spacing: .3px; text-transform: uppercase;
}
.city-tile:hover .city-tile__cta { color: #fff; }
@media (max-width: 600px) {
  .city-tile { aspect-ratio: 4/5; }
  .city-tile__body h3 { font-size: 22px; }
  .city-tile__body p { font-size: 16px; }
}

/* OUR WORK GALLERY — responsive: 1 col mobile → 5 cols on wide screens */
.work-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px){ .work-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px){ .work-grid { grid-template-columns: repeat(5, 1fr); } }
.work-grid .case-card { aspect-ratio: 1 / 1; }
.work-grid .case-card img { width: 100%; height: 100%; object-fit: cover; }

/* LEGAL PAGE CONTENT (privacy / cookies / terms / etc.) */
.legal-content { color: var(--ink); font-size: 15.5px; line-height: 1.8; }
.legal-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px; font-weight: 700;
  margin: 36px 0 14px; color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.legal-content h3 { font-size: 18px; margin: 24px 0 10px; color: var(--ink); font-weight: 600; }
.legal-content p { margin: 0 0 14px; text-align: justify; hyphens: auto; }
.legal-content ul, .legal-content ol { margin: 0 0 18px 24px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--accent); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-content table {
  width: 100%; border-collapse: collapse; margin: 18px 0;
  background: var(--bg-card);
}
.legal-content table th, .legal-content table td {
  padding: 10px 12px; border: 1px solid var(--line);
  text-align: left; color: var(--ink);
}
.legal-content table th { background: var(--bg-alt); font-weight: 700; }
.legal-content code {
  background: var(--bg-alt); padding: 2px 6px; border-radius: 4px;
  font-size: 13px; color: var(--ink);
}
.legal-content strong { color: var(--ink); }

/* JUSTIFIED PARAGRAPHS — long-form content reads cleaner with justify */
.section p,
.intro-block__text p,
.svc-card__body p,
article p,
.about-story p,
.faq-item p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
/* Keep these LEFT-aligned (justification looks bad on small/centered text) */
.section-head p,
.hero-slide p,
.cta-banner p,
.usp-ribbon p,
.order-card .lede,
.text-muted,
.text-center p,
table p,
.case-card p,
.solution-card p,
.industry-card p,
.cert-card p,
.why-us-list small,
.city-tile__body p,
.contact-info p {
  text-align: left;
}
