/* ============================================================
   BUILD FOR BUSINESS — Custom theme
   (Layered over Bootstrap 5 + Tailwind utilities)
   Palette taken from the logo: deep navy + brand blue
   ============================================================ */

:root {
  --navy-950: #071125;
  --navy-900: #0B1D3A;
  --navy-800: #10294F;
  --navy-700: #16356B;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --green-600: #16A34A;
  --green-500: #22C55E;
  --green-400: #34D399;
  --teal-400: #2DD4BF;
  --grad-green: linear-gradient(135deg, #1D4ED8 0%, #22C55E 100%);
  --ink: #1B2A44;
  --muted: #5C6B84;
  --soft: #F4F6FA;
  --line: #E5EAF2;
  --white: #FFFFFF;
  --grad: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%);
  --shadow-sm: 0 6px 18px -8px rgba(11, 29, 58, 0.14);
  --shadow-md: 0 18px 40px -18px rgba(11, 29, 58, 0.22);
  --shadow-lg: 0 30px 60px -25px rgba(11, 29, 58, 0.30);
  --radius: 18px;
  --header-h: 78px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}

::selection { background: rgba(37, 99, 235, 0.22); }

a { text-decoration: none; }
a:hover { text-decoration: none; }

img { max-width: 100%; }

.container-xl { max-width: 1220px; }

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader-logo {
  width: 84px; height: 84px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  display: grid; place-items: center;
  animation: prePop 1.4s ease infinite;
}
@keyframes prePop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.preloader-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #fff;
  font-size: 0.85rem;
}
.preloader-bar {
  width: 180px; height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 99px;
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--grad);
  border-radius: 99px;
  animation: preSlide 1.1s ease-in-out infinite;
}
@keyframes preSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
.preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }

/* ============================================================
   Scroll progress
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 1080;
  transition: width 0.08s linear;
}

/* ============================================================
   Topbar
   ============================================================ */
.topbar {
  background: var(--navy-900);
  color: #C7D4EA;
  font-size: 0.82rem;
  padding: 9px 0;
}
.topbar-item i { color: var(--blue-500); margin-right: 7px; }
.topbar-tag { font-size: 0.8rem; }
.topbar-tag i { color: #F5C518; margin-right: 6px; }
.topbar-social a {
  color: #C7D4EA;
  width: 30px; height: 30px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  transition: all 0.25s ease;
}
.topbar-social a:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   Header / Navbar
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  border-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(11,29,58,0.25);
}
.navbar { padding: 12px 0; }
.navbar-logo { height: 46px; width: auto; border-radius: 8px; }

#navLinks .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0 4px;
  position: relative;
  padding: 8px 14px !important;
  transition: color 0.25s ease;
}
#navLinks .nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 3px;
  border-radius: 99px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
#navLinks .nav-link:hover,
#navLinks .nav-link.active { color: var(--blue-700); }
#navLinks .nav-link:hover::after,
#navLinks .nav-link.active::after { transform: scaleX(1); }

/* Hamburger */
.navbar-toggler {
  border: none;
  width: 46px; height: 46px;
  background: var(--soft);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.toggler-line {
  display: block;
  width: 20px; height: 2.4px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: all 0.3s ease;
}

/* Off-canvas mobile menu */
.offcanvas {
  border-left: none;
  width: min(84vw, 360px);
  border-start-end-radius: 24px;
  border-end-start-radius: 24px;
}
.mobile-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  transition: all 0.22s ease;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--soft);
  color: var(--blue-700);
  transform: translateX(4px);
}
.mobile-contact {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}
.mobile-contact i { color: var(--blue-600); margin-right: 8px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn { border-radius: 14px; font-weight: 600; transition: all 0.28s ease; }
.btn-lg-custom { padding: 14px 28px; font-size: 1rem; }

.btn-cta {
  background: var(--grad);
  color: #fff;
  border: none;
  box-shadow: 0 12px 26px -12px rgba(37,99,235,0.65);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.btn-cta i { transition: transform 0.28s ease; }
.btn-cta:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -12px rgba(37,99,235,0.75);
}
.btn-cta:hover i { transform: translateX(4px); }
.btn-cta:active { transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
  transform: translateY(-3px);
}

.btn-light-custom {
  background: #fff;
  color: var(--blue-700);
  border: none;
  display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 14px 30px -14px rgba(7,17,37,0.5);
}
.btn-light-custom:hover {
  background: #fff; color: var(--blue-600);
  transform: translateY(-3px);
}
.btn-light-custom:hover i { transform: translateX(4px); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  display: inline-flex; align-items: center; gap: 9px;
}
.btn-ghost-light:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 82% 8%, rgba(37,99,235,0.35), transparent 60%),
    radial-gradient(700px 420px at 8% 90%, rgba(59,130,246,0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 55%, #08152B 100%);
  color: #fff;
  padding: 96px 0 110px;
  overflow: hidden;
}
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(59,130,246,0.14);
  border: 1px solid rgba(59,130,246,0.4);
  color: #BFD4FF;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  border-radius: 99px;
  margin-bottom: 26px;
}
.pulse-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #4ADE80;
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(74,222,128,0.55);
  animation: pulseRing 1.8s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero-title {
  font-size: clamp(2.35rem, 4.6vw, 3.9rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-underline {
  position: relative;
  white-space: nowrap;
}
.hero-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 30 2, 60 2, 118 7' fill='none' stroke='%233B82F6' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.hero-sub {
  font-size: 1.12rem;
  line-height: 1.75;
  color: #AFC0DC;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-trust { margin-top: 40px; }
.trust-avatars { display: flex; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--a, #2563EB);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: grid; place-items: center;
  border: 3px solid var(--navy-900);
  margin-right: -10px;
}
.avatar-more { background: var(--navy-700); }
.trust-stars { color: #F5C518; font-size: 0.95rem; letter-spacing: 2px; }
.trust-text { color: #AFC0DC; font-size: 0.92rem; }
.trust-text strong { color: #fff; }

/* Hero art */
.hero-art { position: relative; }
.art-wrap { position: relative; max-width: 560px; margin: 0 auto; }
.hero-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.45));
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.float-card {
  position: absolute;
  background: rgba(255,255,255,0.97);
  color: var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: cardFloat 6s ease-in-out infinite;
  will-change: transform;
}
.float-card strong { font-family: "Montserrat", sans-serif; font-size: 1.05rem; display: block; line-height: 1.1; }
.float-card small { color: var(--muted); font-size: 0.76rem; }
.fc-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(37,99,235,0.12);
  color: var(--blue-600);
  display: grid; place-items: center;
  font-size: 1.15rem;
}
.float-card-a { top: 4%; left: -4%; animation-delay: 0s; }
.float-card-b { bottom: 16%; right: -5%; animation-delay: 1.6s; }
.float-card-c { bottom: -3%; left: 12%; animation-delay: 3s; }
@keyframes cardFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}

/* Scroll mouse */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
}
.mouse {
  display: block;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  position: relative;
}
.wheel {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: wheelScroll 1.8s ease infinite;
}
@keyframes wheelScroll {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marqueeMove 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8FA6CC;
  white-space: nowrap;
}
.marquee-track i { color: var(--blue-500); font-size: 1.2rem; }
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Sections (shared)
   ============================================================ */
.section { padding: 100px 0; position: relative; }
.section-soft { background: var(--soft); }

.section-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-lead { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: rgba(37,99,235,0.09);
  border: 1px solid rgba(37,99,235,0.22);
  padding: 7px 16px;
  border-radius: 99px;
}
.eyebrow-light { color: #9CC0FF; background: rgba(59,130,246,0.14); border-color: rgba(59,130,246,0.4); }
.lead-light { color: #AFC0DC; }
.text-white { color: #fff !important; }

/* ============================================================
   Services
   ============================================================ */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.3);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 62px; height: 62px;
  border-radius: 16px;
  background: rgba(37,99,235,0.1);
  color: var(--blue-600);
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  transition: all 0.35s ease;
}
.service-card:hover .service-icon {
  background: var(--grad);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 12px 24px -10px rgba(37,99,235,0.6);
}
.service-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card p { color: var(--muted); font-size: 0.97rem; line-height: 1.7; margin-bottom: 18px; }
.service-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue-700);
  display: inline-flex; align-items: center; gap: 7px;
}
.service-link i { transition: transform 0.28s ease; }
.service-link:hover i { transform: translateX(5px); }

/* ============================================================
   Work / Portfolio (Liquify-style)
   ============================================================ */
.filter-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-btn {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.28s ease;
}
.filter-btn:hover {
  color: var(--blue-700);
  border-color: rgba(37,99,235,0.45);
  transform: translateY(-2px);
}
.filter-btn.active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(37,99,235,0.6);
}

.work-item { transition: opacity 0.45s ease, transform 0.45s ease; }
.work-item.is-hidden {
  opacity: 0;
  transform: scale(0.92) translateY(14px);
  position: absolute;
  pointer-events: none;
  visibility: hidden;
}
.work-item.is-hidden { display: none; }
.work-item.is-appearing { animation: workIn 0.5s ease both; }
@keyframes workIn {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.work-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.work-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  background: #EEF2F8;
}
.work-media svg {
  width: 100%; height: 100%;
  display: block;
  transition: transform 0.6s ease;
}
.work-card:hover .work-media:not(.website-preview) svg { transform: scale(1.05); }

.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,29,58,0.1), rgba(11,29,58,0.72));
  display: grid; place-items: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.work-card:hover .work-overlay { opacity: 1; }
.work-view {
  background: #fff;
  color: var(--navy-900);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: 99px;
  display: inline-flex; align-items: center; gap: 8px;
  transform: translateY(12px);
  transition: transform 0.35s ease;
  box-shadow: var(--shadow-md);
}
.work-card:hover .work-view { transform: translateY(0); }
.work-view i { font-size: 1.1rem; }

.work-body { padding: 22px 24px 26px; }
.work-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: rgba(37,99,235,0.09);
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.work-body h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; }
.work-body p { color: var(--muted); font-size: 0.94rem; line-height: 1.6; margin: 0; }

/* ============================================================
   About
   ============================================================ */
.about-collage { position: relative; padding: 20px 26px 60px 0; }
.collage-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
}
.collage-main:hover { transform: rotate(0deg) scale(1.01); }
.collage-card {
  position: absolute;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  animation: cardFloat 7s ease-in-out infinite;
}
.exp-badge {
  top: 6px; right: -8px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 26px 28px;
  animation-delay: 1.2s;
}
.exp-num {
  font-family: "Montserrat", sans-serif;
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1;
}
.exp-num sup { font-size: 1.2rem; }
.exp-label { font-size: 0.82rem; font-weight: 600; opacity: 0.92; }
.mini-metric {
  bottom: 0; left: 30px;
  animation-delay: 2.4s;
}
.mini-metric i {
  font-size: 1.9rem;
  color: #F5C518;
}
.mini-metric strong { font-family: "Montserrat", sans-serif; font-size: 1.15rem; display: block; line-height: 1.1; }
.mini-metric small { color: var(--muted); }

.about-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
  font-size: 1rem;
}
.about-list i { color: #16A34A; font-size: 1.15rem; flex-shrink: 0; }
.about-list li::before { display: none; }

.about-sign { display: flex; flex-direction: column; }
.sign-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
}
.sign-role { color: var(--muted); font-size: 0.85rem; }

/* ============================================================
   Stats band
   ============================================================ */
.stats-band {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(59,130,246,0.35), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-950));
  padding: 74px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.stat-num {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: inline-block;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #FFFFFF 30%, #9CC0FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.stat-label {
  color: #93A9CF;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ============================================================
   Process
   ============================================================ */
.process-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  height: 100%;
  position: relative;
  transition: all 0.35s ease;
  overflow: hidden;
}
.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.3);
}
.process-num {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(37,99,235,0.25), rgba(59,130,246,0.08));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 18px;
}
.process-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.process-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin: 0; }
.process-card::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -30px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(37,99,235,0.05);
  transition: transform 0.4s ease;
}
.process-card:hover::after { transform: scale(1.5); }

/* ============================================================
   Testimonials
   ============================================================ */
.section-navy {
  background:
    radial-gradient(800px 400px at 15% 10%, rgba(37,99,235,0.28), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
#testimonialCarousel { max-width: 860px; margin: 0 auto; position: relative; padding: 0 54px; }
.t-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 26px;
  padding: 48px 54px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.t-quote {
  font-size: 3.4rem;
  color: rgba(59,130,246,0.55);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}
.t-text {
  color: #DCE7F7;
  font-size: 1.16rem;
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 30px;
}
.t-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.t-meta > div { text-align: left; }
.t-meta strong { color: #fff; font-family: "Montserrat", sans-serif; font-size: 1rem; display: block; }
.t-meta small { color: #93A9CF; }
.t-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--a, #2563EB);
  color: #fff;
  font-weight: 700;
  display: grid; place-items: center;
  border: 3px solid rgba(255,255,255,0.25);
  font-family: "Montserrat", sans-serif;
}
.t-stars { color: #F5C518; font-size: 0.95rem; letter-spacing: 2px; }

.t-control {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: grid; place-items: center;
  transition: all 0.28s ease;
}
.carousel-control-prev, .carousel-control-next {
  width: auto;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
}
.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }
.t-control:hover { background: var(--blue-600); border-color: var(--blue-600); }

#testimonialCarousel .carousel-indicators {
  position: static;
  margin: 30px 0 0;
  gap: 8px;
  justify-content: center;
}
#testimonialCarousel .carousel-indicators button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  opacity: 1;
  transition: all 0.3s ease;
}
#testimonialCarousel .carousel-indicators button.active {
  width: 28px;
  border-radius: 99px;
  background: var(--blue-500);
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { padding: 30px 0 100px; }
.cta-inner {
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(147,197,253,0.35), transparent 60%),
    var(--grad);
  border-radius: 30px;
  padding: 70px 40px;
  box-shadow: 0 40px 80px -30px rgba(29,78,216,0.55);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}
.cta-inner > * { position: relative; }
.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-inner p {
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

/* ============================================================
   Contact
   ============================================================ */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
  height: 100%;
  transition: all 0.3s ease;
  color: inherit;
}
a.info-card:hover {
  border-color: rgba(37,99,235,0.4);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}
.info-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(37,99,235,0.1);
  color: var(--blue-600);
  display: grid; place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.info-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 5px; }
.info-card p { color: var(--muted); margin: 0; font-size: 0.95rem; line-height: 1.55; }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px;
  box-shadow: var(--shadow-md);
}
.contact-form-card .form-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.contact-form-card .form-control,
.contact-form-card .form-select {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.97rem;
  color: var(--ink);
  background-color: #FBFCFE;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.14);
  background-color: #fff;
}
.contact-form-card .form-control::placeholder { color: #A6B2C6; }
.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 14px; }
.form-note i { color: #16A34A; margin-right: 5px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, var(--navy-950) 0%, #050D1D 100%);
  color: #9FB2D2;
  padding-top: 84px;
}
.footer-logo-chip {
  display: inline-block;
  background: #fff;
  border-radius: 16px;
  padding: 10px 14px;
  margin-bottom: 22px;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.6);
}
.footer-logo-chip img { height: 44px; width: auto; display: block; }
.footer-blurb { font-size: 0.95rem; line-height: 1.75; margin-bottom: 22px; max-width: 340px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #C7D4EA;
  display: grid; place-items: center;
  font-size: 1rem;
  transition: all 0.28s ease;
}
.footer-social a:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  transform: translateY(-4px);
}
.footer-title {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a {
  color: #9FB2D2;
  font-size: 0.94rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
  opacity: 0;
  transform: scale(0);
  transition: all 0.25s ease;
}
.footer-links a:hover { color: #fff; transform: translateX(5px); }
.footer-links a:hover::before { opacity: 1; transform: scale(1); }

.footer-news-text { font-size: 0.92rem; margin-bottom: 16px; }
.news-wrap {
  display: flex;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 5px;
}
.news-wrap input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 10px 14px;
  font-size: 0.93rem;
}
.news-wrap input::placeholder { color: #7E93B8; }
.news-wrap .btn { border-radius: 10px; padding: 10px 16px; }
.news-feedback { font-size: 0.85rem; margin-top: 10px; min-height: 18px; }
.news-feedback.ok { color: #4ADE80; }
.news-feedback.err { color: #FCA5A5; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 64px;
  padding: 22px 0;
  font-size: 0.88rem;
}
.footer-bottom a { color: #9FB2D2; transition: color 0.25s ease; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   Back to top
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  display: grid; place-items: center;
  box-shadow: 0 16px 30px -12px rgba(37,99,235,0.7);
  z-index: 1040;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.35s ease;
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-4px); }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-svg, .float-card, .collage-card, .marquee-track { animation: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1199.98px) {
  .float-card-a { left: 0; }
  .float-card-b { right: 0; }
}

@media (max-width: 991.98px) {
  .section { padding: 78px 0; }
  .hero { padding: 70px 0 90px; }
  .hero-art { margin-top: 30px; }
  .art-wrap { max-width: 480px; }
  #testimonialCarousel { padding: 0 10px; }
  .t-card { padding: 40px 30px; }
  .contact-form-card { padding: 30px 24px; }
  .cta-band { padding: 10px 0 78px; }
}

@media (max-width: 767.98px) {
  .section { padding: 66px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: 56px 0 84px; }
  .hero-sub { font-size: 1.02rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions { max-width: 380px; }
  .float-card { padding: 10px 14px; }
  .float-card strong { font-size: 0.95rem; }
  .float-card small { font-size: 0.68rem; }
  .fc-icon { width: 34px; height: 34px; font-size: 1rem; }
  .float-card-c { display: none; }
  .hero-scroll { display: none; }
  .marquee-track span { font-size: 0.9rem; }
  .marquee-track { gap: 24px; }
  .filter-wrap { gap: 8px; }
  .filter-btn { padding: 8px 16px; font-size: 0.85rem; }
  .exp-badge { right: 0; padding: 20px; }
  .exp-num { font-size: 2.1rem; }
  .about-collage { padding-bottom: 80px; }
  .mini-metric { left: 10px; }
  #testimonialCarousel { padding: 0; }
  .t-card { padding: 34px 22px; }
  .t-text { font-size: 1.02rem; }
  .carousel-control-prev, .carousel-control-next { display: none; }
  .cta-inner { padding: 52px 24px; }
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

@media (max-width: 575.98px) {
  .navbar-logo { height: 40px; }
  .hero-title { font-size: 2.15rem; }
  .hero-badge { font-size: 0.76rem; padding: 8px 14px; }
  .trust-text { font-size: 0.84rem; }
  .work-body { padding: 18px 18px 22px; }
  .contact-form-card .btn-lg-custom { width: 100%; justify-content: center; }
  .footer-bottom { text-align: center; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 1.95rem; }
  .float-card-b { bottom: 8%; }
  .avatar { width: 36px; height: 36px; font-size: 0.75rem; }
}

/* ============================================================
   V2 — Build4Biz multi-page additions
   ============================================================ */

/* ---------- Brand lockup (HTML/CSS logo) ---------- */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-mark {
  width: 42px; height: 42px;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(11, 29, 58, 0.25));
}
.brand-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  line-height: 1;
  white-space: nowrap;
}
.brand-4 {
  background: var(--grad-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-header .btn-cta {
  padding: 10px 20px;
  font-size: 0.92rem;
  border-radius: 12px;
}
.offcanvas .brand-text { font-size: 1.2rem; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(37,99,235,0.35), transparent 60%),
    radial-gradient(600px 320px at 5% 100%, rgba(34,197,94,0.16), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 60%, #08152B 100%);
  color: #fff;
  padding: 84px 0 68px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.page-hero .container-xl { position: relative; z-index: 2; }
.page-crumbs {
  color: #8FA6CC;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-crumbs a { color: #BFD4FF; }
.page-crumbs a:hover { color: #fff; }
.page-crumbs i { font-size: 0.7rem; }
.page-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-hero .lead { color: #AFC0DC; font-size: 1.1rem; max-width: 660px; line-height: 1.75; }

/* ---------- Services page: detailed blocks ---------- */
.service-block { padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-block:last-of-type { border-bottom: none; }
.sb-icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.9rem;
  box-shadow: 0 14px 30px -12px rgba(37,99,235,0.6);
  margin-bottom: 22px;
}
.service-block h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.service-block .sb-desc { color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.sb-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.sb-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 0.98rem; font-weight: 500; }
.sb-list i { color: var(--green-500); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag-chip {
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
}
.soon-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.4);
  color: var(--green-600);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 99px;
  vertical-align: middle;
  margin-left: 12px;
}
.soon-card { opacity: 0.92; }

/* ---------- Tech stack chips ---------- */
.tech-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: 99px;
  transition: all 0.25s ease;
}
.tchip i { color: var(--blue-600); }
.tchip:hover {
  border-color: rgba(37,99,235,0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ---------- Process: 12-step cards ---------- */
.pstep {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}
.pstep:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.3);
}
.pstep-num {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-green);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.pstep h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 7px; }
.pstep p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; margin: 0; }
.doc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.25);
  color: var(--blue-700);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 12px;
}
.doc-chip i { font-size: 1rem; }

/* ---------- Case studies ---------- */
.cs-study { padding: 76px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.cs-study:last-of-type { border-bottom: none; }
.cs-overline {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cs-overline::before {
  content: "";
  width: 34px; height: 3px;
  border-radius: 99px;
  background: var(--grad-green);
  display: inline-block;
}
.cs-study h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; margin-bottom: 10px; }
.cs-intro { color: var(--muted); font-size: 1.03rem; line-height: 1.7; max-width: 720px; }
.cs-visual {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.cs-visual img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.cs-meta-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  height: 100%;
  background-image: radial-gradient(400px 200px at 90% 0%, rgba(34,197,94,0.18), transparent 60%);
}
.cs-meta-card h4 { font-size: 0.85rem; letter-spacing: 0.14em; color: #9CC0FF; margin-bottom: 18px; }
.cs-meta-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cs-meta-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; font-size: 0.92rem; }
.cs-meta-list li:last-child { border-bottom: none; padding-bottom: 0; }
.cs-meta-list .k { color: #8FA6CC; }
.cs-meta-list .v { color: #fff; font-weight: 600; text-align: right; }
.cs-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
}
.cs-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.cs-card h3 .ic {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-size: 1.05rem;
  background: rgba(37,99,235,0.1);
  color: var(--blue-600);
  flex-shrink: 0;
}
.cs-card p { color: var(--muted); font-size: 0.97rem; line-height: 1.7; margin: 0; }
.cs-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.cs-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.cs-feature i { color: var(--green-500); margin-top: 2px; }
.cs-outcome {
  background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(34,197,94,0.08));
  border: 1px solid rgba(37,99,235,0.18);
  border-radius: var(--radius);
  padding: 22px;
  height: 100%;
}
.cs-outcome .oc-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-green);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.cs-outcome strong { display: block; font-family: "Montserrat", sans-serif; font-size: 1rem; margin-bottom: 6px; }
.cs-outcome span { color: var(--muted); font-size: 0.9rem; line-height: 1.55; display: block; }
.jump-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.jump-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: #DCE7F7;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 20px;
  border-radius: 99px;
  transition: all 0.25s ease;
}
.jump-chip:hover { background: rgba(255,255,255,0.16); color: #fff; transform: translateY(-2px); }

/* ---------- Work media images ---------- */
.work-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.work-card:hover .work-media:not(.website-preview) img { transform: scale(1.05); }

/* ---------- Buttons ---------- */
.btn-whatsapp {
  background: linear-gradient(135deg, #16A34A, #22C55E);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 12px 26px -12px rgba(34,197,94,0.65);
}
.btn-whatsapp:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(34,197,94,0.75); }

/* ---------- Stats suffix ---------- */
.stat-suffix { color: #9CC0FF; font-size: 55%; font-weight: 800; margin-left: 2px; vertical-align: super; }

/* ---------- Footer positioning pill + dark logo chip ---------- */
.footer-pos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.35);
  color: #6EE7A0;
  padding: 8px 16px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}
.footer-logo-chip {
  background: #000;
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-links a.soon-link { opacity: 0.5; cursor: default; }
.footer-links a.soon-link::before { display: none; }
.footer-links a.soon-link:hover { transform: none; }

/* ---------- FAQ accordion ---------- */
.accordion-item {
  border: 1px solid var(--line);
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-button {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  padding: 18px 22px;
}
.accordion-button:not(.collapsed) {
  background: rgba(37,99,235,0.05);
  color: var(--blue-700);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }
.accordion-body { color: var(--muted); font-size: 0.96rem; line-height: 1.7; padding-top: 0; }

/* ---------- Responsive additions ---------- */
@media (max-width: 991.98px) {
  .page-hero { padding: 64px 0 54px; }
  .cs-features { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .brand-mark { width: 37px; height: 37px; }
  .brand-text { font-size: 1.12rem; }
  .service-block { padding: 44px 0; }
  .cs-study { padding: 56px 0; }
  .cs-meta-list li { flex-direction: column; gap: 2px; }
  .cs-meta-list .v { text-align: left; }
}

/* cross-page anchor offsets */
.service-block, .cs-study { scroll-margin-top: 100px; }

/* ---------- Website preview: auto-scroll the screenshot on hover ----------
   JS (main.js) sets --scroll-distance and --scroll-duration per image, so a
   short page scrolls in ~5s and a very long page in up to ~15s. */
.work-media.website-preview { --scroll-distance: 0px; --scroll-duration: 8s; }
.work-media.website-preview img {
  width: 100%; height: auto;            /* natural height = full page length */
  object-fit: initial;
  display: block;
  transform: translateY(0);
  transition: transform 0.9s cubic-bezier(.22,.61,.36,1);   /* smooth return to top */
  will-change: transform;
}
.work-media.website-preview:hover img {
  transform: translateY(var(--scroll-distance));
  transition: transform var(--scroll-duration) linear;      /* constant reading speed */
}
/* keep the page visible while scrolling: light gradient + pill at the bottom */
.work-media.website-preview .work-overlay {
  background: linear-gradient(180deg, transparent 60%, rgba(11,29,58,0.55));
  place-items: end center !important;
  padding-bottom: 16px;
  pointer-events: none;
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .work-media.website-preview:hover img { transform: none; }
}

/* ==================================================================
   Build4Biz frontend refinement (October 2026)
   Consistent contact cards, justified copy, project previews, CTA.
   ================================================================== */
.preloader { background: linear-gradient(145deg,#071326,#0d2d57); padding:24px; }
.preloader-logo { width:min(420px,86vw); height:auto; aspect-ratio:1483/398; padding:10px; border-radius:22px; background:#fff; box-shadow:0 25px 75px rgba(0,0,0,.28); animation:prePop 1.8s ease-in-out infinite; overflow:hidden; }
.preloader-logo img { width:100%; height:100%; display:block; object-fit:contain; }
.preloader-text { letter-spacing:.075em; font-size:clamp(.78rem,2vw,.95rem); font-weight:600; text-align:center; line-height:1.5; }
.preloader-bar { width:min(220px,60vw); }
.contact-info-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; margin-bottom:24px; }
.contact-info-stack .info-card { height:auto; min-height:110px; width:100%; margin:0; padding:20px 22px; align-items:center; box-sizing:border-box; }
.contact-info-stack .info-card > div { min-width:0; overflow-wrap:anywhere; flex:1; }
.contact-info-stack .info-card h4 { margin-bottom:5px; }
.contact-info-stack .info-card p { line-height:1.55; }
.contact-form-card { height:auto; }
/* Justify only longer body copy, only where the column is wide enough, with hyphenation so word gaps stay even.
   Short lead-ins, hero text, buttons and centred headings stay left/centre aligned. */
@media (min-width:768px) {
  .service-card p, .process-card p, .work-body p, .cs-card > p, .prose-justify {
    text-align:justify; text-justify:inter-word; hyphens:auto; -webkit-hyphens:auto; hyphenate-limit-chars:6 3 3; word-spacing:-0.01em;
  }
}
.section-head .section-lead, .cta-inner p, .t-text { text-align:center; }
.work-body { flex:1; display:flex;flex-direction:column; }
.work-body .work-cat { align-self:flex-start; }
.work-body p { flex:1; }
.cs-visual img { width:100%;height:auto;display:block;object-fit:cover; }
.floating-whatsapp { position:fixed;right:23px;bottom:23px;z-index:1100;display:inline-flex;align-items:center;gap:10px;padding:13px 17px;border-radius:99px;background:#20b65b;color:#fff!important;text-decoration:none;box-shadow:0 10px 29px rgba(8,93,40,.35);font-weight:700;font-size:.9rem;line-height:1;transition:transform .22s ease,background .22s ease,box-shadow .22s ease; }
.floating-whatsapp i { font-size:1.5rem;line-height:1; }
.floating-whatsapp:hover,.floating-whatsapp:focus-visible { color:#fff;background:#108f44;transform:translateY(-3px);box-shadow:0 14px 32px rgba(8,93,40,.44); }
.floating-whatsapp:focus-visible { outline:3px solid #fff;outline-offset:3px; }
.back-to-top { right:24px;bottom:94px; }
@media (max-width:767px) {
  .floating-whatsapp { right:16px;bottom:16px;width:55px;height:55px;border-radius:50%;justify-content:center;padding:0; }
  .floating-wa-label { display:none; }
  .floating-whatsapp i { font-size:1.72rem; }
  .back-to-top { right:16px;bottom:80px; }
  .contact-info-stack .info-card { min-height:96px; padding:17px; }
  .service-card p, .process-card p, .work-body p, .cs-card > p, .prose-justify { text-align:left;hyphens:none; }
}
@media (prefers-reduced-motion:reduce) { .preloader-logo { animation:none; } .floating-whatsapp { transition:none; } }

#workGrid > [hidden] { display:none!important; }

/* Mobile project cards and admin-friendly line wrapping */
.work-body,.info-card,.contact-form-card{min-width:0}
.brand-logo{max-width:min(280px,70vw);object-fit:contain}
@media(max-width:390px){.contact-form-card{padding:20px 16px}.info-card{gap:14px}}

/* Prevent off-canvas navigation from widening mobile documents. */
html,body{overflow-x:clip}

/* ==================================================================
   Final polish — 14 October 2026
   Loader (original logo), contact cards & form, WhatsApp, previews,
   accessibility. Appended last so it wins over earlier rules.
   ================================================================== */
.skip-link{position:fixed;top:-64px;left:12px;z-index:10000;background:#fff;color:#0b3a8f;padding:10px 16px;border-radius:10px;font-weight:700;box-shadow:0 6px 20px rgba(0,0,0,.2)}
.skip-link:focus{top:12px}
:focus-visible{outline:3px solid rgba(37,99,235,.55);outline-offset:2px}
img{max-width:100%}
h1,h2,h3{text-wrap:balance}

/* Loader: original Build4Biz logo on white, proportions untouched */
.preloader{background:#fff;gap:26px;padding:24px}
html.no-preload #preloader{display:none!important}
.preloader-logo{width:min(300px,64vw);height:auto;aspect-ratio:1168/967;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;
  animation:preLogoIn .7s cubic-bezier(.2,.8,.2,1) both,prePulse 2.2s ease-in-out .7s infinite;object-fit:contain}
.preloader-bar{width:min(200px,56vw);height:4px;background:#e4ebf7}
.preloader-bar span{background:linear-gradient(90deg,#1d4ed8,#22c55e)}
.preloader-text{display:none}
@keyframes preLogoIn{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
@keyframes prePulse{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}
@media (prefers-reduced-motion:reduce){.preloader-logo{animation:none}.preloader-bar span{animation-duration:2.4s}}

/* Contact cards: identical heights, aligned content */
.contact-info-stack{grid-auto-rows:1fr}
.contact-info-stack .info-card{min-height:112px;height:100%;align-items:center;margin:0}
.contact-info-stack .info-card:hover{transform:translateY(-3px)}
.info-card h4{line-height:1.25}
.contact-form-card{border-radius:22px;padding:34px}
.contact-form-card .form-label{font-weight:600;font-size:.9rem;margin-bottom:6px}
.contact-form-card .form-control,.contact-form-card .form-select{border:1.5px solid #dbe3f0;border-radius:12px;padding:12px 14px;font-size:.97rem;background-color:#fbfcff;transition:border-color .2s,box-shadow .2s,background-color .2s}
.contact-form-card .form-control:hover,.contact-form-card .form-select:hover{border-color:#b9c8e3}
.contact-form-card .form-control:focus,.contact-form-card .form-select:focus{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.14);background-color:#fff}
.contact-form-card .is-invalid{border-color:#dc3545!important;background-image:none!important}
.contact-form-card .is-valid{border-color:#22a45d!important;background-image:none!important}
.contact-form-card .invalid-feedback{font-size:.84rem;margin-top:5px}
.b4b-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.char-count{font-size:.78rem}
@media(max-width:575.98px){.contact-form-card{padding:22px 16px}}

/* WhatsApp button: gentle ring, clear of footer content and back-to-top */
.floating-whatsapp{isolation:isolate}
.floating-whatsapp::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:-1;box-shadow:0 0 0 0 rgba(32,182,91,.55);animation:waRing 2.8s ease-out infinite}
@keyframes waRing{0%{box-shadow:0 0 0 0 rgba(32,182,91,.5)}70%,100%{box-shadow:0 0 0 16px rgba(32,182,91,0)}}
@media (prefers-reduced-motion:reduce){.floating-whatsapp::after{animation:none}}
.back-to-top{bottom:92px}
@media(max-width:767px){.back-to-top{bottom:84px;right:20px;width:46px;height:46px}.site-footer{padding-bottom:90px}}
@media(min-width:768px){.site-footer{padding-bottom:40px}}

/* Case-study screenshot preview (hover scroll, same effect as home/portfolio) */
.cs-visual .work-media.cs-preview{aspect-ratio:16/10;border-radius:12px;border:1px solid var(--line);box-shadow:var(--shadow-md)}
.cs-visual .work-media.cs-preview img{border:0;box-shadow:none;border-radius:0;height:auto}
.cs-visual-hint{margin:12px 0 0;font-size:.82rem;color:var(--muted);text-align:center}
.btn-sm-custom{padding:.6rem 1.15rem;font-size:.9rem}
@media (hover:none){.cs-visual-hint{display:none}.cs-visual .work-media.cs-preview{overflow-y:auto;-webkit-overflow-scrolling:touch}.cs-visual .work-media.cs-preview img{transform:none!important}}

/* Cards: consistent lift, equal heights */
.service-card,.process-card,.cs-card,.work-card{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.service-card:hover,.process-card:hover{transform:translateY(-6px)}
.work-card{height:100%;display:flex;flex-direction:column}
.work-card .work-body{flex:1}
table{max-width:100%}
