/* ============================================================
   MAKAZ UAE — Public Website Design System
   Deep navy + white + electric-blue gradient + restrained gold.
   Typography: Sora (headings) / Inter (body) / Great Vibes (signature)
   Icons: Bootstrap Icons (bi-*)
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand */
  --c-deep: #020617;            /* deepest navy — footer, hero overlays */
  --c-navy: #0f172a;            /* dark navy — sections, header */
  --c-navy-2: #16233f;          /* navy raised */
  --c-card-dark: #1b2a4a;       /* cards on dark */
  --c-blue: #3b82f6;            /* electric blue (primary accent) */
  --c-blue-2: #0ea5e9;          /* gradient partner */
  --c-blue-deep: #2563eb;
  --c-blue-soft: rgba(59, 130, 246, 0.12);
  --c-gold: #c9a227;            /* restrained gold accent */
  --c-gold-2: #e3c25c;

  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-mist: #f1f5f9;
  --c-line: #e2e8f0;
  --c-line-soft: #eef2f7;

  /* Ink */
  --c-ink: #0f172a;
  --c-text: #334155;
  --c-muted: #64748b;
  --c-muted-2: #94a3b8;
  --c-inv: #ffffff;
  --c-inv-muted: rgba(226, 232, 240, 0.72);
  --c-inv-dim: rgba(148, 163, 184, 0.65);

  /* Type */
  --font-head: 'Sora', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-sign: 'Great Vibes', cursive;

  /* Effects */
  --grad-blue: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
  --grad-blue-soft: linear-gradient(135deg, rgba(59,130,246,.14), rgba(14,165,233,.10));
  --grad-gold: linear-gradient(135deg, #c9a227 0%, #e3c25c 100%);
  --grad-navy: linear-gradient(160deg, #0f172a 0%, #16233f 55%, #1b2a4a 100%);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 24px -8px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.22);
  --shadow-blue: 0 12px 32px -10px rgba(59, 130, 246, 0.45);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  /* Layout */
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--c-blue-deep); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--c-blue); }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--c-ink);
  line-height: 1.22;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
::selection { background: rgba(59, 130, 246, 0.25); }

:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 3000;
  background: var(--c-navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 14px; color: #fff; }

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-mist { background: var(--bg-mist); }
.section-dark { background: var(--grad-navy); color: var(--c-inv-muted); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Section heading block */
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head-left { text-align: left; margin-inline: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--c-blue-soft);
  color: var(--c-blue-deep);
  border: 1px solid rgba(59, 130, 246, 0.22);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}
.section-dark .eyebrow,
.eyebrow-light {
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.35);
}
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
.section-sub { color: var(--c-muted); font-size: 1.05rem; margin: 6px 0 0; }
.section-dark .section-sub { color: var(--c-inv-muted); }

.text-gradient {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn i { font-size: 1.05em; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(59, 130, 246, 0.55);
  filter: brightness(1.06);
}

.btn-gold {
  background: var(--grad-gold);
  color: #241a04;
  box-shadow: 0 12px 32px -10px rgba(201, 162, 39, 0.5);
}
.btn-gold:hover { color: #241a04; transform: translateY(-2px); filter: brightness(1.05); }

.btn-white {
  background: #fff;
  color: var(--c-navy);
  box-shadow: 0 10px 26px -10px rgba(2, 6, 23, 0.4);
}
.btn-white:hover { color: var(--c-blue-deep); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.14); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--c-blue-deep);
  border-color: rgba(59, 130, 246, 0.45);
}
.btn-outline:hover { background: var(--c-blue-soft); color: var(--c-blue-deep); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 17px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* Arrow link ("Learn more →") */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--c-blue-deep);
}
.link-more i { transition: transform 0.25s var(--ease); }
.link-more:hover { color: var(--c-blue); }
.link-more:hover i { transform: translateX(5px); }
.section-dark .link-more, .link-more-light { color: #7db6f9; }
.section-dark .link-more:hover, .link-more-light:hover { color: #a5c9fa; }

/* ---------- 5. Header & navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.site-header::before { /* subtle gradient scrim so logo stays readable over photos */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.55), rgba(2,6,23,0) 100%);
  opacity: 1;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.site-header.scrolled {
  height: 66px;
  background: rgba(10, 17, 34, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -12px rgba(2, 6, 23, 0.55);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.site-header.scrolled::before { opacity: 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text .brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  letter-spacing: 0.02em;
}
.brand-text .brand-name .accent { color: #7db6f9; }
.brand-text .brand-sub {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-inv-dim);
  font-weight: 600;
}

/* Desktop nav — centred */
.main-nav { position: absolute; left: 50%; transform: translateX(-50%); }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
}
.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  color: rgba(226, 232, 240, 0.82);
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.nav-link:hover { color: #fff; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after { transform: scaleX(0.55); }
.nav-link.active { color: #fff; }
.nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-cta .btn { padding: 11px 22px; font-size: 14px; }

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(226, 232, 240, 0.25);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.35);
  position: relative;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hamburger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s linear, top 0.3s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 86vw);
  z-index: 1100;
  background: var(--grad-navy);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-left: 1px solid rgba(148, 163, 184, 0.16);
  transform: translateX(105%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.mobile-nav-close {
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.22);
  background: transparent;
  color: #fff;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  color: rgba(226, 232, 240, 0.85);
  font-weight: 600;
  font-size: 15.5px;
}
.mobile-nav-list a i { color: var(--c-inv-dim); font-size: 13px; }
.mobile-nav-list a:hover, .mobile-nav-list a.active { background: rgba(59, 130, 246, 0.16); color: #fff; }
.mobile-nav-footer { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(148,163,184,.16); }
.mobile-nav-cta { width: 100%; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(2, 6, 23, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

/* ---------- 6. Hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 120px;
  background: var(--c-navy);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.72) 34%, rgba(2, 6, 23, 0.30) 66%, rgba(15, 23, 42, 0.18) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.85) 0%, rgba(2, 6, 23, 0) 34%);
}

/* decorative orbs + grid */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  pointer-events: none;
}
.hero-orb.o1 { width: 420px; height: 420px; left: -140px; top: 12%; background: rgba(59, 130, 246, 0.30); animation: floatY 11s ease-in-out infinite; }
.hero-orb.o2 { width: 320px; height: 320px; right: -90px; bottom: 6%; background: rgba(14, 165, 233, 0.22); animation: floatY 13s ease-in-out infinite reverse; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 30%, transparent 75%);
}

.hero-inner { max-width: 820px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #bfdbfe;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero-badge .pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6);
  animation: pulseDot 2.2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--c-inv-muted);
  max-width: 600px;
  margin-bottom: 38px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 108px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--c-inv-dim);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll .mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(226, 232, 240, 0.5);
  border-radius: 14px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 8px;
  border-radius: 4px;
  background: #93c5fd;
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 1; transform: translate(-50%, 0); } 70% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }

/* ---------- 7. Inner page banner ---------- */
.page-banner {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 84px;
  background: var(--c-navy);
  overflow: hidden;
  isolation: isolate;
}
.page-banner-bg { position: absolute; inset: 0; z-index: -2; }
.page-banner-bg picture { display: block; width: 100%; height: 100%; }
.page-banner-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.5; }
.page-banner-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(2, 6, 23, 0.94) 8%, rgba(2, 6, 23, 0.74) 46%, rgba(15, 40, 90, 0.55) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.1) 40%);
}
.page-banner .hero-orb.o1 { left: auto; right: 8%; top: -18%; }
.page-banner-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  text-wrap: balance;
}
.page-banner-sub { color: var(--c-inv-muted); font-size: 1.08rem; max-width: 640px; margin: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13.5px;
  font-weight: 600;
}
.breadcrumb a { color: var(--c-inv-dim); display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb a:hover { color: #93c5fd; }
.breadcrumb .sep { color: rgba(148, 163, 184, 0.5); font-size: 11px; }
.breadcrumb .current { color: #7db6f9; }
.breadcrumb .bi-house-door { font-size: 14px; }

/* ---------- 8. Stats ---------- */
.stats-wrap { position: relative; z-index: 5; }
.stats-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-line-soft);
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: -74px;
  position: relative;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  position: relative;
}
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--c-line), transparent);
}
.stat-icon {
  width: 54px; height: 54px;
  flex-shrink: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: #fff;
  background: var(--grad-blue);
  box-shadow: var(--shadow-blue);
}
.stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: var(--c-ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label { display: block; color: var(--c-muted); font-size: 13.5px; font-weight: 600; margin-top: 6px; }

/* Dark alternative (when used on dark sections) */
.stats-dark .stat-value { color: #fff; }
.stats-dark .stat-label { color: var(--c-inv-muted); }

/* ---------- 9. Service cards ---------- */
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
  height: 100%;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  right: -70px; top: -70px;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.10), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.45);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 62px; height: 62px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  background: var(--grad-blue);
  box-shadow: var(--shadow-blue);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  transition: transform 0.35s var(--ease);
}
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.service-desc {
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}
.service-card .link-more { margin-top: auto; }

/* Horizontal service rows (services page) */
.service-row {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-row::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad-blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.service-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.4);
}
.service-row:hover::after { transform: scaleY(1); }
.service-row .service-icon { width: 56px; height: 56px; font-size: 25px; margin-bottom: 0; flex-shrink: 0; }
.service-row-body { flex: 1; min-width: 0; }
.service-row-body .service-title { margin-bottom: 6px; }
.service-row-body .service-desc { margin-bottom: 0; }
.service-row-arrow {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  background: var(--bg-soft);
  transition: all 0.3s var(--ease);
}
.service-row:hover .service-row-arrow {
  background: var(--grad-blue);
  color: #fff;
  border-color: transparent;
  transform: rotate(-45deg);
}

/* ---------- 10. Promo / CTA banner ---------- */
.promo {
  position: relative;
  background: var(--grad-navy);
  overflow: hidden;
  isolation: isolate;
}
.promo-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.promo-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; object-position: center; }
.promo-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(92deg, rgba(2, 6, 23, 0.96) 20%, rgba(2, 6, 23, 0.82) 52%, rgba(13, 42, 92, 0.62) 100%);
}
.promo .hero-grid-pattern { opacity: 0.8; }
.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 84px 0;
}
.promo-copy { max-width: 640px; }
.promo-copy .eyebrow { margin-bottom: 16px; }
.promo-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  text-wrap: balance;
}
.promo-desc { color: var(--c-inv-muted); font-size: 1.04rem; margin-bottom: 0; }

/* compact CTA strip (services detail) */
.cta-strip {
  position: relative;
  background: var(--grad-navy);
  border-radius: var(--radius-xl);
  padding: 52px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  isolation: isolate;
}
.cta-strip::before {
  content: "";
  position: absolute;
  right: -80px; top: -110px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
  z-index: -1;
}
.cta-strip::after {
  content: "";
  position: absolute;
  left: -60px; bottom: -130px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.16), transparent 70%);
  z-index: -1;
}
.cta-strip-title { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-strip-sub { color: var(--c-inv-muted); margin: 0; font-size: 1rem; }

/* ---------- 11. Team ---------- */
.team-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 34px 26px 30px;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(59, 130, 246, 0.4); }
.team-photo {
  width: 132px; height: 132px;
  border-radius: 50%;
  margin: 0 auto 20px;
  padding: 5px;
  background: var(--grad-blue);
  position: relative;
}
.team-photo img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
}
.team-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.team-role { color: var(--c-blue-deep); font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 16px; }
.team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.team-card:hover .team-social { opacity: 1; transform: translateY(0); }
.team-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-mist);
  color: var(--c-muted);
  font-size: 15px;
  border: 1px solid var(--c-line);
}
.team-social a:hover { background: var(--grad-blue); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }

/* ---------- 12. Testimonials ---------- */
.testimonials { position: relative; overflow: hidden; }
.testimonials .hero-grid-pattern { opacity: 0.7; }
.testi-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 56px) / 3);
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 22px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: start;
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.10), rgba(30, 41, 59, 0.55)), #16233f;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.testi-card:hover { transform: translateY(-5px); border-color: rgba(59, 130, 246, 0.45); }
.testi-quote {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-blue);
}
.testi-text {
  color: rgba(226, 232, 240, 0.88);
  font-size: 14.8px;
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 22px;
}
.testi-stars { color: var(--c-gold-2); font-size: 14px; letter-spacing: 3px; margin-bottom: 14px; }
.testi-stars .bi-star, .testi-stars .bi-star-half { color: rgba(148, 163, 184, 0.35); }
.testi-who { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(59, 130, 246, 0.5);
  flex-shrink: 0;
}
.testi-avatar-fallback {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 16px;
  flex-shrink: 0;
}
.testi-name { color: #fff; font-weight: 700; font-size: 15px; }
.testi-role { color: var(--c-inv-dim); font-size: 13px; }

.testi-nav { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.testi-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(30, 41, 59, 0.5);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: all 0.25s var(--ease);
}
.testi-btn:hover { background: var(--grad-blue); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }

/* ---------- 13. Map ---------- */
.map-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-line);
  background: var(--bg-mist);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  filter: saturate(0.9);
}
.map-pin {
  position: absolute;
  top: 22px; left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(2, 6, 23, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  pointer-events: none;
}
.map-pin i { color: #60a5fa; font-size: 17px; }

/* ---------- 14. Footer ---------- */
.site-footer {
  background: var(--c-deep);
  color: rgba(148, 163, 184, 0.9);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
}
.footer-top { padding: 72px 0 48px; position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr 1.1fr;
  gap: 44px;
}
.footer-brand img { height: 42px; margin-bottom: 18px; }
.footer-about { color: var(--c-inv-dim); font-size: 14.5px; line-height: 1.75; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  font-size: 16px;
  transition: all 0.25s var(--ease);
}
.footer-social a:hover {
  background: var(--grad-blue);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.footer-title {
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: var(--grad-blue);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  color: rgba(148, 163, 184, 0.9);
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color 0.2s, transform 0.2s var(--ease);
}
.footer-links a i { font-size: 11px; color: var(--c-blue); opacity: 0.8; transition: transform 0.2s var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-links a:hover i { transform: translateX(2px); }

.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; gap: 14px; align-items: flex-start; }
.footer-contact .fc-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(59, 130, 246, 0.13);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.footer-contact .fc-label { display: block; color: #fff; font-weight: 600; font-size: 13.5px; margin-bottom: 3px; }
.footer-contact .fc-value { display: block; color: var(--c-inv-dim); font-size: 14px; line-height: 1.55; word-break: break-word; }
.footer-contact a { color: var(--c-inv-dim); }
.footer-contact a:hover { color: #7db6f9; }

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  color: var(--c-inv-dim);
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: var(--c-inv-dim); display: inline-flex; align-items: center; gap: 7px; }
.footer-legal a:hover { color: #7db6f9; }

/* Back to top */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 900;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--grad-blue);
  color: #fff;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); filter: brightness(1.08); }

/* ---------- 15. Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group { margin-bottom: 0; display: flex; flex-direction: column; }
.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.form-label .req { color: #ef4444; font-weight: 700; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  color: var(--c-ink);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none;
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: #cbd5e1; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}
.form-input.invalid, .form-textarea.invalid, .form-select.invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L2 5h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-hint { color: var(--c-muted-2); font-size: 12.5px; margin-top: 7px; }
.field-error { color: #ef4444; font-size: 12.5px; margin-top: 7px; display: none; }
.field-error.show { display: block; }

.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Alerts / status blocks */
.alert {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 18px;
  border: 1px solid transparent;
}
.alert i { font-size: 18px; line-height: 1.5; flex-shrink: 0; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-success i { color: #10b981; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-error i { color: #ef4444; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.alert-info i { color: #3b82f6; }

/* Spinner */
.btn .spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 16. Contact info list ---------- */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-md);
}
.ci-list { list-style: none; display: flex; flex-direction: column; }
.ci-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
}
.ci-list li + li { border-top: 1px dashed var(--c-line); }
.ci-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--grad-blue-soft);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: var(--c-blue-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}
.ci-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted-2); margin-bottom: 4px; }
.ci-value { color: var(--c-ink); font-weight: 600; font-size: 15px; line-height: 1.6; word-break: break-word; }
.ci-value a { color: var(--c-ink); }
.ci-value a:hover { color: var(--c-blue-deep); }

/* ---------- 17. About page ---------- */
.founder-wrap { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center; }
.founder-photo {
  position: relative;
  max-width: 460px;
}
.founder-photo .fp-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.founder-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.founder-photo .fp-ring {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid rgba(201, 162, 39, 0.45);
  border-radius: var(--radius-xl);
  z-index: -1;
}
.founder-exp {
  position: absolute;
  left: -26px; bottom: 30px;
  background: var(--grad-navy);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.founder-exp .num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.founder-exp .lbl { color: var(--c-inv-muted); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; margin-top: 6px; }

.founder-name { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: 6px; }
.founder-role { color: var(--c-blue-deep); font-weight: 600; font-size: 15px; letter-spacing: 0.05em; margin-bottom: 20px; }
.founder-bio { color: var(--c-text); font-size: 15.5px; }
.founder-sign {
  font-family: var(--font-sign);
  font-size: 44px;
  color: var(--c-gold);
  line-height: 1.1;
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.founder-sign::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  max-width: 140px;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.6), transparent);
}

/* Company split */
.company-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.company-text p { color: var(--c-text); font-size: 15.5px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
.mv-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s var(--ease);
}
.mv-card:hover { border-color: rgba(59, 130, 246, 0.4); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.mv-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-blue);
  color: #fff;
  font-size: 21px;
  box-shadow: var(--shadow-blue);
  margin-bottom: 14px;
}
.mv-icon.gold { background: var(--grad-gold); color: #241a04; box-shadow: 0 12px 32px -10px rgba(201,162,39,.5); }
.mv-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.mv-text { color: var(--c-muted); font-size: 14px; line-height: 1.7; margin: 0; }

.company-imgs { position: relative; padding-bottom: 54px; }
.company-imgs .ci-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.company-imgs .ci-main img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.company-imgs .ci-sec {
  position: absolute;
  right: 0; bottom: 0;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}
.company-imgs .ci-sec img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.company-imgs .ci-badge {
  position: absolute;
  left: -14px; top: 26px;
  background: var(--grad-blue);
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: var(--shadow-blue);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

/* Services overview chips (about) */
.svc-mini-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.svc-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 13px;
  padding: 26px 14px;
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}
.svc-mini:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(-5px); }
.svc-mini i {
  font-size: 30px;
  color: var(--c-blue-deep);
  background: var(--grad-blue-soft);
  width: 66px; height: 66px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(59, 130, 246, 0.24);
}
.svc-mini .sm-title { font-weight: 700; font-size: 14.5px; color: var(--c-ink); line-height: 1.4; }
.svc-mini:hover i { background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-blue); }

/* ---------- 18. Service detail ---------- */
.service-detail-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 44px; align-items: start; }
.sd-content > p { color: var(--c-text); font-size: 15.5px; }
.sd-lead { font-size: 1.12rem !important; color: var(--c-ink) !important; font-weight: 500; }
.sd-block-title {
  font-size: 22px;
  font-weight: 800;
  margin: 40px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sd-block-title::before {
  content: "";
  width: 5px; height: 26px;
  border-radius: 4px;
  background: var(--grad-blue);
}
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--c-text);
  transition: all 0.25s var(--ease);
}
.feature-item:hover { border-color: rgba(59, 130, 246, 0.4); box-shadow: var(--shadow-sm); }
.feature-item .fi-check {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--grad-blue);
  color: #fff;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.benefit-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--c-text); font-size: 15px; }
.benefit-list i { color: #10b981; font-size: 18px; margin-top: 3px; flex-shrink: 0; }

/* Sidebar */
.sd-sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.sd-image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-line);
}
.sd-image-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sidebar-card {
  background: var(--grad-navy);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: var(--c-inv-muted);
  position: relative;
  overflow: hidden;
}
.sidebar-card::before {
  content: "";
  position: absolute;
  right: -60px; top: -80px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
}
.sidebar-card .sc-title { color: #fff; font-size: 19px; font-weight: 700; margin-bottom: 10px; position: relative; }
.sidebar-card p { font-size: 14px; margin-bottom: 20px; position: relative; }
.sidebar-card .btn { position: relative; }
.sidebar-links { list-style: none; }
.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s var(--ease);
}
.sidebar-links a:hover { background: var(--c-blue-soft); color: var(--c-blue-deep); }
.sidebar-links a.current { background: var(--c-blue-soft); color: var(--c-blue-deep); }
.sidebar-links a i { color: var(--c-muted-2); font-size: 12px; }
.sidebar-links a:hover i { color: var(--c-blue); }

/* Related services */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ---------- 19. Legal / prose pages ---------- */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}
.legal-content h2 { font-size: 22px; margin: 40px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 17px; margin: 26px 0 10px; }
.legal-content p, .legal-content li { color: var(--c-text); font-size: 15.5px; }
.legal-content ul { padding-left: 22px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-mist);
  border: 1px solid var(--c-line);
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--c-muted);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 34px;
}
.legal-updated i { color: var(--c-blue-deep); }

/* ---------- 20. Error / maintenance pages ---------- */
.error-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--grad-navy);
  position: relative;
  overflow: hidden;
  padding: 40px 24px;
}
.error-hero .hero-grid-pattern { opacity: 0.9; }
.error-code {
  font-family: var(--font-head);
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #3b82f6 10%, #0ea5e9 50%, rgba(59, 130, 246, 0.15) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  letter-spacing: -0.04em;
}
.error-title { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 12px; }
.error-text { color: var(--c-inv-muted); max-width: 480px; margin: 0 auto 34px; }
.error-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 21. Reveal animations ---------- */
/* Progressive enhancement: without JS the .no-js flag keeps content visible. */
.no-js .reveal { opacity: 1 !important; transform: none !important; }
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.revealed { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-zoom { transform: scale(0.94); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-bg img { animation: none; }
}

/* ---------- 22. Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav { position: static; transform: none; }
  .nav-list { gap: 0; }
  .nav-link { padding: 10px 10px; font-size: 14px; }
}

@media (max-width: 1024px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .section { padding: 78px 0; }
  .grid-3, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .svc-mini-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-track { grid-auto-columns: calc((100% - 28px) / 2); }
  .founder-wrap, .company-wrap { grid-template-columns: 1fr; gap: 48px; }
  .founder-photo { margin: 0 auto; max-width: 420px; }
  .company-imgs { max-width: 560px; }
  .service-detail-wrap { grid-template-columns: 1fr; }
  .sd-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .promo-inner { flex-direction: column; text-align: center; align-items: center; padding: 68px 0; }
  .cta-strip { flex-direction: column; text-align: center; padding: 44px 34px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .container { padding-inline: 18px; }
  .hero-scroll { display: none; }
  .section { padding: 64px 0; }
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 96px;
  }
  .hero-bg img { object-position: center center; }
  .page-banner { min-height: 56vw; }
  .page-banner-bg img { object-position: center center; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; min-width: 130px; }
  .stats-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -56px;
    gap: 8px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
  }
  .stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
  }
  .stat-item > span:not(.stat-icon) {
    min-width: 0;
    flex: 1 1 auto;
  }
  .stat-item:nth-child(odd)::before { display: none; }
  .stat-item:nth-child(3)::before, .stat-item:nth-child(4)::before {
    /* keep separator logic clean on 2-col wrap */
  }
  .stat-item + .stat-item::before { display: none; }
  .stat-icon {
    width: 42px;
    height: 42px;
    font-size: 19px;
    border-radius: 11px;
    flex-shrink: 0;
  }
  .stat-value {
    font-size: clamp(1.2rem, 4vw, 1.55rem);
    line-height: 1.1;
  }
  .stat-label {
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.25;
    margin-top: 3px;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .grid-2, .grid-3, .grid-4, .related-grid { grid-template-columns: 1fr; }
  .svc-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-track { grid-auto-columns: 88%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .contact-info-card { padding: 28px 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .service-row { flex-wrap: wrap; }
  .service-row-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .founder-exp { left: 10px; padding: 14px 18px; }
  .company-imgs .ci-sec { width: 52%; }
  .map-frame iframe { height: 340px; }
  .to-top { right: 18px; bottom: 18px; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding-inline: 16px; }
  .brand-text .brand-name { font-size: 16px; }
  .brand img { height: 34px; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .hero-badge { font-size: 12px; padding: 7px 13px; margin-bottom: 20px; }
  .hero-sub { font-size: 14.5px; margin-bottom: 24px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; width: 100%; min-width: 100%; }
  .stats-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    margin-top: -46px;
  }
  .stat-item {
    padding: 10px 8px;
    gap: 8px;
  }
  .stat-icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
    border-radius: 9px;
  }
  .stat-value {
    font-size: clamp(1.1rem, 4.2vw, 1.35rem);
  }
  .stat-label {
    font-size: 11px;
    line-height: 1.2;
    margin-top: 2px;
  }
  .svc-mini-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-mini i { width: 54px; height: 54px; font-size: 24px; }
  .svc-mini .sm-title { font-size: 13px; }
  .cta-strip { padding: 36px 24px; }
  .founder-sign { font-size: 36px; }
  .error-code { font-size: 26vw; }
  .btn { padding: 13px 22px; font-size: 14px; }
}

@media (max-width: 360px) {
  .container { padding-inline: 12px; }
  .stats-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 6px;
  }
  .stat-item {
    padding: 8px 6px;
    gap: 6px;
  }
  .stat-icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
    border-radius: 8px;
  }
  .stat-value {
    font-size: 1.05rem;
  }
  .stat-label {
    font-size: 10px;
  }
}

/* ---------- 23. Custom scrollbar (WebKit) ---------- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-mist); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #94a3b8, #64748b);
  border-radius: 8px;
  border: 3px solid var(--bg-mist);
}
::-webkit-scrollbar-thumb:hover { background: var(--c-blue); }

/* Selection of elements with anchor offset inside long pages */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
