/* ==========================================================================
   R G R INFRA — Design System
   Constructions & Interiors
   Premium White + Deep Navy aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color */
  --white:            #ffffff;
  --off-white:        #f6f8fc;
  --navy:             #0a1f3d;
  --navy-2:           #0c2447;
  --navy-3:           #12305e;
  --blue:             #1d4ed8;
  --blue-strong:      #1a44b8;
  --sky:              #5b8def;
  --blue-soft:        #eaf1ff;
  --blue-tint:        #f4f8ff;
  --ink:              #0c1626;
  --slate:            #46536a;
  --grey:             #6b7a90;
  --line:             #e3e9f2;
  --line-dark:        rgba(255, 255, 255, 0.12);
  --charcoal:         #232a35;
  --silver:           #c9d3e0;
  --success:          #16a34a;

  /* Typography */
  --font-sans: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Radius */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10, 31, 61, 0.05);
  --shadow-sm: 0 4px 14px rgba(10, 31, 61, 0.06);
  --shadow-md: 0 12px 34px rgba(10, 31, 61, 0.10);
  --shadow-lg: 0 28px 70px rgba(10, 31, 61, 0.16);
  --shadow-blue: 0 14px 34px rgba(29, 78, 216, 0.32);

  /* Layout */
  --container: 1280px;
  --container-narrow: 1080px;
  --pad-x: clamp(20px, 5vw, 40px);
  --gutter: clamp(20px, 3vw, 28px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --speed: 0.34s;

  /* Header */
  --header-h: 84px;
  --header-h-scrolled: 68px;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 16px; color: var(--ink); }

h1, h2, h3, h4, h5 {
  margin: 0;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

p { margin: 0; }

::selection { background: var(--blue); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.container-narrow { max-width: var(--container-narrow); }

section { position: relative; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.eyebrow.center::after { content: ""; width: 26px; height: 2px; background: var(--blue); border-radius: 2px; }
.eyebrow.on-dark { color: var(--sky); }
.eyebrow.on-dark::before { background: var(--sky); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 18px; color: var(--slate); font-size: 18px; }

.h1 { font-size: clamp(40px, 6vw, 88px); }
.h2 { font-size: clamp(32px, 4.4vw, 58px); }
.h3 { font-size: clamp(24px, 2.6vw, 34px); }
.h4 { font-size: clamp(19px, 1.6vw, 23px); }

.subhead { font-size: clamp(19px, 2vw, 26px); font-weight: 700; color: var(--navy); line-height: 1.35; letter-spacing: -0.015em; }

.lead { font-size: 18px; color: var(--slate); }

.text-center { text-align: center; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mt-4 { margin-top: 64px; }

/* Buttons */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--r-pill);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  box-shadow: var(--shadow-blue);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease);
  will-change: transform;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(29, 78, 216, 0.4); }
.btn:active { transform: translateY(0); }
.btn svg { transition: transform var(--speed) var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-lg { padding: 19px 38px; font-size: 16.5px; }
.btn-sm { padding: 12px 22px; font-size: 14.5px; }

.btn-secondary { --btn-bg: var(--white); --btn-fg: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--blue); --btn-fg: var(--blue); box-shadow: var(--shadow-md); }

.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-ghost-dark { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.35); box-shadow: none; }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }

.btn-white { --btn-bg: #fff; --btn-fg: var(--navy); box-shadow: var(--shadow-lg); }
.btn-white:hover { box-shadow: 0 18px 46px rgba(255, 255, 255, 0.3); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--navy); box-shadow: none; }
.btn-ghost:hover { background: var(--blue-tint); }

.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--blue);
}
.link-arrow svg { transition: transform var(--speed) var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow.on-dark { color: #fff; }
.link-arrow.on-dark:hover { color: var(--sky); }

/* Bg helpers */
.bg-dark {
  color: #e7edf8;
  background: var(--navy);
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark .h2 { color: #fff; }
.bg-off { background: var(--off-white); }
.bg-blue-tint { background: var(--blue-tint); }
.bg-charcoal, .bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3 { background: var(--charcoal); color: #fff; }

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mix-blend-mode: overlay;
}

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: background var(--speed) var(--ease), box-shadow var(--speed) var(--ease), height var(--speed) var(--ease);
  color: #fff;
}
.site-header .nav-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height var(--speed) var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--navy);
  box-shadow: 0 6px 24px rgba(10, 31, 61, 0.07);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled .nav-inner { height: var(--header-h-scrolled); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.brand .brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--blue);
  border-radius: 12px;
  color: #fff;
  box-shadow: var(--shadow-blue);
  transition: var(--speed) var(--ease);
}
.brand img.brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #fff;
  padding: 5px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.brand img.brand-mark:hover { transform: scale(1.04); }
.site-header.scrolled .brand-mark { box-shadow: var(--shadow-md); }
.brand .brand-name { font-size: 18px; line-height: 1.05; color: inherit; }
.brand .brand-name small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: inherit;
  opacity: 0.72;
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  color: inherit;
  opacity: 0.86;
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}
.nav-links a:hover { opacity: 1; color: var(--blue); }
.nav-links a.active { color: var(--blue); opacity: 1; }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled .nav-toggle { background: #fff; }
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 var(--pad-x);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed);
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.01em;
}
.mobile-nav a i { font-style: normal; color: var(--blue); font-size: 18px; }
.mobile-nav .mnav-close {
  position: absolute;
  top: 24px; right: var(--pad-x);
  width: 46px; height: 46px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 16s var(--ease-out) forwards;
  filter: saturate(0.9) contrast(1.05) brightness(0.82);
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-grid-soak {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(155, 184, 245, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 184, 245, 0.16) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(120% 100% at 55% 30%, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
  mask-image: radial-gradient(120% 100% at 55% 30%, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
  mix-blend-mode: overlay;
  animation: gridPan 30s linear infinite;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 31, 61, 0.88) 0%, rgba(10, 31, 61, 0.62) 42%, rgba(10, 31, 61, 0.32) 72%, rgba(10, 31, 61, 0.6) 100%),
    linear-gradient(0deg, rgba(10, 31, 61, 0.9) 0%, transparent 34%);
}
.hero .container { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.hero h1 {
  color: #fff;
  margin-top: 22px;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--sky); }
.hero .lead {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.6vw, 19px);
  max-width: 560px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
}
.hero-trust span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(91, 141, 239, 0.28);
}

/* Floating info card */
.hero-visual { position: relative; display: none; }
@media (min-width: 1024px) { .hero-visual { display: block; } }
.float-card {
  position: absolute;
  right: 0;
  bottom: -40px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--navy);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  min-width: 250px;
}
.float-card .fc-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.22em; color: var(--blue); text-transform: uppercase; }
.float-card .fc-title { font-size: 18px; font-weight: 800; margin-top: 6px; }
.float-card .fc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.float-card .fc-tags span {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  color: var(--blue);
}
.float-card::before {
  content: "";
  position: absolute;
  left: -34px;
  top: -34px;
  width: 70px;
  height: 70px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px; height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--r-pill);
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--sky);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { opacity: 0; }
}

/* --------------------------------------------------------------------------
   Enquiry card (hero form)
   -------------------------------------------------------------------------- */
.enquiry {
  position: relative;
  z-index: 4;
  margin-top: -70px;
}
.enquiry-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}
.ec-left {
  position: relative;
  color: #fff;
  background:
    radial-gradient(120% 90% at 90% 0%, rgba(29, 78, 216, 0.55), transparent 55%),
    linear-gradient(150deg, #0e2b55 0%, #0a1f3d 55%, #071a38 100%);
  padding: clamp(30px, 4vw, 46px);
  overflow: hidden;
}
.ec-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.ec-left > * { position: relative; z-index: 1; }
.ec-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  border: 1px solid rgba(91, 141, 239, 0.5);
  background: rgba(91, 141, 239, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.ec-left h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.ec-left .lead { margin-top: 14px; color: var(--silver); font-size: 16px; max-width: 46ch; }
.enquiry-points {
  margin-top: 26px;
  display: grid;
  gap: 16px;
  padding: 0;
}
.enquiry-points li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #fff;
}
.ep-ic {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(91, 141, 239, 0.16);
  border: 1px solid rgba(91, 141, 239, 0.35);
  color: var(--sky);
}
.enquiry-points li b { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.enquiry-points li small { color: var(--silver); font-size: 13px; line-height: 1.45; display: block; margin-top: 2px; }
.ec-direct {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.ec-direct span { color: var(--silver); font-size: 14px; font-weight: 600; width: 100%; }
.ec-phone, .ec-mail { position: relative; z-index: 1; font-weight: 800; color: #fff; font-size: 15px; }
.ec-phone { color: var(--sky); }
.ec-mail { color: var(--silver); font-weight: 700; }
.ec-mail:hover { color: #fff; }
.enquiry-card form { padding: clamp(30px, 4vw, 46px); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 7px; letter-spacing: 0.01em; }
.field {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--off-white);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease);
}
.field:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}
select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230a1f3d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
textarea.field { resize: vertical; min-height: 100px; }
.form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--grey);
}
.form-note svg { flex: none; color: var(--success); }
.form-note b { color: var(--slate); }

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }

/* Metric band */
.metric-band {
  border-block: 1px solid var(--line);
  background: var(--white);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding-block: 34px;
}
.metric {
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--r-md);
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.metric:hover { background: var(--blue-tint); transform: translateY(-3px); }
.metric .m-name { font-weight: 800; color: var(--navy); font-size: 16px; }
.metric .m-sub { font-size: 12px; font-weight: 600; color: var(--grey); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 4px; }
.metric .m-icon { margin: 0 auto 10px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }

/* --------------------------------------------------------------------------
   About split
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split-media { position: relative; }
.split-media .sm-main {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-lg);
}
.split-media .sm-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.split-media:hover .sm-main img { transform: scale(1.05); }
.split-media .sm-float {
  position: absolute;
  bottom: -26px;
  left: -26px;
  border-radius: var(--r-lg);
  background: var(--navy);
  color: #fff;
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  max-width: 240px;
}
.split-media .sm-float b { font-size: 22px; font-weight: 800; display: block; }
.split-media .sm-float span { font-size: 13px; color: var(--silver); font-weight: 600; }
.split-media .sm-frame {
  position: absolute;
  top: -26px; right: -26px;
  width: 46%;
  aspect-ratio: 4/3;
  border: 2px solid var(--blue);
  border-radius: var(--r-lg);
  opacity: 0.28;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
@media (max-width: 1024px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card .sc-media {
  position: relative;
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
}
.service-card .sc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter var(--speed) var(--ease);
}
.service-card:hover .sc-media img { transform: scale(1.08); filter: saturate(1.02); }
.service-card .sc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 31, 61, 0.5), transparent 45%);
  transition: opacity var(--speed) var(--ease);
}
.service-card .sc-num {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 7px 13px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.service-card .sc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card .sc-body h3 { margin-bottom: 10px; transition: color var(--speed) var(--ease); }
.service-card:hover .sc-body h3 { color: var(--blue); }
.service-card .sc-body p { color: var(--grey); font-size: 15.5px; flex: 1; }
.service-card .sc-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
}
.service-card .sc-link svg { transition: transform var(--speed) var(--ease); color: var(--blue); }
.service-card:hover .sc-link svg { transform: translateX(6px); }

/* --------------------------------------------------------------------------
   Projects
   -------------------------------------------------------------------------- */
.projects-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.projects-head .section-head { margin-bottom: 0; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.filter-btn {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.filter-btn:hover { color: var(--navy); }
.filter-btn.active {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.project-card {
  grid-column: span 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  opacity: 1;
}
.project-card.wide { grid-column: span 6; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card.hide { display: none; opacity: 0; }
.project-card .pc-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.project-card.wide .pc-media { aspect-ratio: 16 / 10.2; }
.project-card .pc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.project-card:hover .pc-media img { transform: scale(1.07); }
.project-card .pc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 31, 61, 0.55), transparent 40%);
}
.project-card .pc-badges {
  position: absolute;
  left: 16px; right: 16px;
  top: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.badge.status { background: rgba(10, 31, 61, 0.72); color: #bcd3ff; }
.badge.status.ongoing { background: rgba(255, 255, 255, 0.9); color: var(--blue); }
.badge.status.completed { background: rgba(22, 163, 74, 0.9); color: #fff; }
.pc-cat {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  color: #fff;
  background: rgba(10, 31, 61, 0.55);
  padding: 7px 13px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.28);
}
.pc-title { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pc-title h3 { font-size: 19px; color: var(--navy); }
.pc-title p { font-size: 13.5px; color: var(--grey); margin-top: 5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.pc-title .pc-arrow {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.project-card:hover .pc-arrow { background: var(--blue); color: #fff; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Mission & Vision
   -------------------------------------------------------------------------- */
.mv {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.mv-bg { position: absolute; inset: 0; }
.mv-bg img { width: 100%; height: 100%; object-fit: cover; }
.mv-bg::after { content: ""; position: absolute; inset: 0; background: rgba(10, 31, 61, 0.88); }
.mv-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
}
.mv-item {
  padding: clamp(28px, 3vw, 42px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.mv-item .mv-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
  margin-bottom: 22px;
}
.mv-item h2 { font-size: 22px; letter-spacing: 0.06em; color: var(--sky); margin-bottom: 14px; }
.mv-item p { color: rgba(255, 255, 255, 0.85); font-size: 17px; }

/* --------------------------------------------------------------------------
   Why R G R (trust cards)
   -------------------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
@media (max-width: 1024px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
  position: relative;
  overflow: hidden;
}
.trust-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}
.trust-card:hover::before { transform: scaleX(1); }
.trust-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.trust-card .tc-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 18px;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.trust-card:hover .tc-icon { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.trust-card h3 { font-size: 20px; margin-bottom: 9px; }
.trust-card p { color: var(--grey); font-size: 15px; }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.feature-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
@media (max-width: 900px) { .feature-pills { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feature-pills { grid-template-columns: 1fr 1fr; } }
.fp {
  position: relative;
  aspect-ratio: 3 / 3.4;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.fp img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.fp:hover img { transform: scale(1.06); }
.fp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,31,61,0.82), rgba(10,31,61,0.05) 46%); }
.fp-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px;
}
.fp-label b { display: block; color: #fff; font-size: 18px; font-weight: 800; }
.fp-label span { color: var(--silver); font-size: 13.5px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Journey (9 steps)
   -------------------------------------------------------------------------- */
.journey-wrap { position: relative; }
.journey-line {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  top: 26px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 20px);
  opacity: 0.65;
  z-index: 0;
}
.journey-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 12px;
}
.journey-step {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 10px 16px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
  cursor: default;
}
.journey-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.journey-step .j-num {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  font-size: 15px;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.journey-step:hover .j-num { background: var(--blue); color: #fff; }
.journey-step b { display: block; font-size: 13.5px; color: var(--navy); line-height: 1.3; font-weight: 800; }
.journey-step span { display: block; font-size: 11.5px; color: var(--grey); margin-top: 4px; font-weight: 600; }
@media (max-width: 1024px) { .journey-grid { grid-template-columns: repeat(3, 1fr); } .journey-line { display: none; } }
@media (max-width: 520px) { .journey-grid { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   Quality/trust strip (dark)
   -------------------------------------------------------------------------- */
.quality {
  position: relative;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}
.quality::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;
}
.quality .container { position: relative; z-index: 2; }
.quality-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gutter); margin-top: 52px; }
@media (max-width: 1024px) { .quality-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .quality-grid { grid-template-columns: repeat(2, 1fr); } }
.quality-item { text-align: center; }
.quality-item .q-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--sky);
}
.quality-item h3 { color: #fff; font-size: 16.5px; margin-bottom: 6px; }
.quality-item p { color: var(--silver); font-size: 13.5px; font-weight: 500; }

/* Quality split layout — narrative left, 2x3 pillar grid right */
.quality-radar {
  position: absolute;
  top: 12%;
  right: -8%;
  width: 560px;
  height: 560px;
  z-index: 0;
  opacity: 0.5;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 32%, rgba(91, 141, 239, 0.55) 33%, transparent 34%),
    radial-gradient(circle, transparent 62%, rgba(91, 141, 239, 0.4) 63%, transparent 64%);
  pointer-events: none;
  animation: radarSpin 60s linear infinite;
}
@keyframes radarSpin { to { transform: rotate(360deg); } }
.quality-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
.quality-left { position: relative; grid-row: span 2; padding-bottom: 20px; }
.quality-left .h2 { color: #fff; }
.quality-left .btn { margin-top: 30px; }
.quality-stats {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 3vw, 36px);
  margin-top: 34px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.qs-item { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.qs-num {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.qs-item:first-child .qs-num,
.qs-item:nth-child(3) .qs-num { display: inline-flex; align-items: baseline; }
.qs-item:first-child .qs-num::after,
.qs-item:nth-child(3) .qs-num::after {
  content: "+";
  color: var(--sky);
  font-size: 0.6em;
}
.qs-label {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 700;
  line-height: 1.35;
}
.qs-div { width: 1px; background: rgba(255, 255, 255, 0.14); }
.quality-right .quality-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 0;
}
.quality-right .quality-item {
  position: relative;
  text-align: left;
  padding: 24px 20px 22px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.quality-right .quality-item:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 141, 239, 0.6);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.q-index {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(155, 184, 245, 0.5);
}
.quality-right .quality-item .q-icon {
  width: 46px; height: 46px;
  margin: 0 0 16px;
  border-radius: 12px;
}
.quality-right .quality-item h3 { font-size: 15.5px; margin-bottom: 6px; }
.quality-right .quality-item p { font-size: 13px; line-height: 1.55; }
.quality-item-cta {
  background: linear-gradient(160deg, rgba(29, 78, 216, 0.32), rgba(10, 31, 61, 0.4)) !important;
  border-color: rgba(91, 141, 239, 0.5) !important;
}
.quality-item-cta:hover {
  border-color: rgba(91, 141, 239, 0.85) !important;
  background: linear-gradient(160deg, rgba(29, 78, 216, 0.45), rgba(10, 31, 61, 0.5)) !important;
}
.q-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--sky);
  letter-spacing: 0.02em;
}
.q-link svg { transition: transform 0.3s var(--ease); }
.quality-item-cta:hover .q-link svg { transform: translateX(4px); }
@media (max-width: 1024px) {
  .quality-layout { grid-template-columns: 1fr; }
  .quality-left { grid-row: auto; }
  .quality-stats { max-width: 520px; }
}
@media (max-width: 640px) {
  .quality-right .quality-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Before / After slider
   -------------------------------------------------------------------------- */
.ba-wrap { border-radius: var(--r-xl); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.ba-slider { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 560px; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.ba-slider .after { clip-path: inset(0 0 0 var(--ba-pos, 50%)); }
.ba-slider .handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--ba-pos, 50%);
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}
.ba-slider .handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
}
.ba-slider .handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 7-5 5 5 5'/%3E%3Cpath d='m16 7 5 5-5 5'/%3E%3C/svg%3E");
}
.ba-label {
  position: absolute;
  top: 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(10, 31, 61, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3;
}
.ba-label.before { left: 20px; }
.ba-label.after { right: 20px; background: var(--blue); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testi-shell { position: relative; }
.testimonial-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--gutter); scrollbar-width: none; padding-bottom: 8px; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial {
  flex: 0 0 min(430px, 86vw);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial .t-quote-mark {
  position: absolute;
  top: 22px; right: 26px;
  color: var(--blue-soft);
}
.testimonial .t-quote { font-size: 18px; line-height: 1.6; color: var(--slate); font-weight: 500; }
.testimonial .t-person { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.testimonial .t-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  flex: none;
}
.testimonial .t-person b { display: block; color: var(--navy); font-size: 15.5px; font-weight: 800; }
.testimonial .t-person span { font-size: 13.5px; color: var(--grey); font-weight: 600; }

.testi-nav { display: flex; gap: 10px; margin-top: 30px; }
.testi-nav button {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  color: var(--navy);
  transition: all var(--speed) var(--ease);
}
.testi-nav button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* --------------------------------------------------------------------------
   Regions / map
   -------------------------------------------------------------------------- */
.region-grid { display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(30px, 5vw, 70px); align-items: stretch; }
.region-cards { display: grid; gap: 16px; }
.region-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.region-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.region-card .rc-icon {
  width: 48px; height: 48px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue);
}
.region-card b { display: block; font-size: 18px; color: var(--navy); font-weight: 800; }
.region-card span { font-size: 14px; color: var(--grey); font-weight: 600; }
.region-cta {
  padding: 22px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--off-white);
}
.region-cta p { color: var(--navy); font-weight: 800; font-size: 16px; margin-bottom: 16px; }
.region-cta .btn { width: 100%; }

.region-map {
  background:
    radial-gradient(circle at 50% 45%, rgba(29, 78, 216, 0.22), transparent 62%),
    var(--navy);
  border-radius: var(--r-xl);
  min-height: 480px;
  position: relative;
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.region-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.region-map .map-pin { position: absolute; z-index: 2; }
.map-pin label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.map-pin .pin-dot { position: absolute; }
.map-pin .pin-dot::before, .map-pin .pin-dot::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: rgba(91, 141, 239, 0.35);
  animation: ring 2.6s var(--ease) infinite;
}
.map-pin .pin-dot::after { inset: -12px; animation-delay: 1.3s; }
.map-pin .pin-dot i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 3px var(--navy);
}
@keyframes ring {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}
.map-pin.tg { top: 63%; left: 44%; transform: translate(-50%, -50%); }
.map-pin.ap { top: 72%; left: 58%; transform: translate(-50%, -50%); }
.map-pin.ka { top: 76%; left: 26%; transform: translate(-50%, -50%); }
.map-hub {
  position: absolute;
  top: 64%; left: 46%;
  z-index: 2;
  width: 14px; height: 14px;
  transform: translate(-50%, -50%);
}
.map-hub i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}
.map-hub .hub-dot, .map-hub .hub-dot::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  animation: ring 2.4s var(--ease) infinite;
}
.map-hub .hub-dot::before { inset: -7px; animation-delay: 1.2s; }
.hub-label {
  position: absolute;
  top: 60%; left: 50%;
  z-index: 2;
  transform: translate(-50%, -100%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}
.map-caption {
  position: absolute;
  bottom: 16px; left: 20px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(155, 184, 245, 0.55);
}
.map-path {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.map-path svg { width: 100%; height: 100%; }
.map-path path {
  fill: rgba(29, 78, 216, 0.18);
  stroke: var(--sky);
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
  animation: dash 24s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -220; } }

/* India service map — stylized silhouette + south state zones */
.map-path .india-outline {
  fill: rgba(10, 31, 61, 0.34);
  stroke: var(--sky);
  stroke-width: 1.6;
}
.map-path path.zone {
  fill: rgba(91, 141, 239, 0.16);
  stroke: rgba(91, 141, 239, 0.95);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  animation-duration: 14s;
}
.map-path .route-line {
  fill: none;
  stroke: rgba(91, 141, 239, 0.6);
  stroke-width: 1.2;
  stroke-dasharray: 4 6;
  stroke-linecap: round;
  animation-duration: 10s;
}
.map-north {
  position: absolute;
  top: 18px; right: 20px;
  z-index: 2;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-wrap { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.faq-item.open { border-color: rgba(29, 78, 216, 0.4); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
.faq-q .fq-icon {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.faq-item.open .fq-icon { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.44s var(--ease); }
.faq-a p { padding: 0 26px 24px; color: var(--slate); font-size: 15.5px; }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final-cta { position: relative; color: #fff; overflow: hidden; }
.final-cta .fc-bg { position: absolute; inset: 0; }
.final-cta .fc-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.final-cta .fc-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,31,61,0.92), rgba(10,31,61,0.78)); }
.final-cta .container { position: relative; z-index: 2; text-align: center; padding-block: clamp(80px, 10vw, 130px); }
.final-cta h2 { color: #fff; max-width: 820px; margin-inline: auto; }
.final-cta p.lead { color: rgba(255,255,255,0.82); max-width: 720px; margin: 22px auto 0; }
.final-cta .cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 38px; }
.contact-strip {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.contact-strip a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.07);
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.contact-strip a:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.contact-strip a svg { color: var(--sky); }
.contact-strip .cs-label { opacity: 0.62; font-weight: 600; margin-right: 4px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--navy); color: var(--silver); position: relative; }
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky), var(--silver));
  opacity: 0.6;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 56px);
  padding-block: clamp(52px, 6vw, 84px);
}
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 20px; font-size: 15px; line-height: 1.7; opacity: 0.8; max-width: 320px; }
.footer .f-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer .f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer .f-col a, .footer .f-col li { font-size: 15px; color: var(--silver); font-weight: 500; transition: color var(--speed) var(--ease), transform var(--speed) var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.footer .f-col a:hover { color: #fff; transform: translateX(4px); }
.footer .f-col a svg { color: var(--sky); flex: none; }
.footer .f-contact { display: grid; gap: 12px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  opacity: 0.75;
}
.footer-tagline {
  font-size: 14px;
  font-weight: 700;
  color: var(--sky);
  font-style: italic;
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   Page hero (subpages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 90px));
  padding-bottom: clamp(40px, 5vw, 64px);
  overflow: hidden;
  background: var(--navy);
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,31,61,0.94) 20%, rgba(10,31,61,0.7)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin: 18px 0 16px; font-size: clamp(36px, 5.4vw, 68px); line-height: 1.05; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 620px; font-size: 17.5px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--silver); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { color: var(--sky); }

/* --------------------------------------------------------------------------
   Services page: alternating rows
   -------------------------------------------------------------------------- */
.service-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(34px, 5vw, 84px);
  align-items: center;
  padding-block: clamp(44px, 6vw, 72px);
}
.service-row.reverse .sr-media { order: 2; }
.sr-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  box-shadow: var(--shadow-lg);
}
.sr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.service-row:hover .sr-media img { transform: scale(1.045); }
.sr-media .sr-tag {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(10, 31, 61, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.24);
}
.sr-content h2 { margin-bottom: 16px; }
.sr-content p { color: var(--slate); margin-bottom: 14px; }
.sr-list { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 11px; }
.sr-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; color: var(--slate); font-weight: 600; }
.sr-list li svg { flex: none; color: var(--blue); margin-top: 2px; }

.sr-num-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card .vc-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--blue-soft); color: var(--blue); margin-bottom: 16px; }
.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p { color: var(--grey); font-size: 15px; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(34px, 5vw, 76px); align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.contact-card .cc-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.contact-card b { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.contact-card a, .contact-card .cc-val { color: var(--navy); font-weight: 800; font-size: 17px; }
.contact-card a:hover { color: var(--blue); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.big-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   Project detail / gallery
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.gallery-grid .g-1 { grid-column: span 7; aspect-ratio: 16 / 11; }
.gallery-grid .g-2 { grid-column: span 5; aspect-ratio: 16 / 11; }
.gallery-grid .g-3 { grid-column: span 5; aspect-ratio: 16 / 10; }
.gallery-grid .g-4 { grid-column: span 7; aspect-ratio: 16 / 10; }
.g-item { position: relative; overflow: hidden; border-radius: var(--r-md); cursor: pointer; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.g-item:hover img { transform: scale(1.05); }
.g-item::after { content: "+"; position: absolute; inset: auto 14px 14px auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--navy); font-weight: 800; font-size: 18px; opacity: 0; transform: translateY(6px); transition: all var(--speed) var(--ease); }
.g-item:hover::after { opacity: 1; transform: translateY(0); }

.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .fact-grid { grid-template-columns: repeat(2, 1fr); } }
.fact {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}
.fact b { display: block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.fact span { font-weight: 800; color: var(--navy); font-size: 15.5px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 18, 36, 0.96);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed) var(--ease), visibility var(--speed);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox .lb-close { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.1); color: #fff; font-size: 22px; border: 1px solid rgba(255,255,255,0.2); }
.lightbox .lb-caption { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: var(--silver); font-size: 15px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Animations / reveals
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-fade { opacity: 0; transition: opacity 1.1s var(--ease); }
.reveal-fade.visible { opacity: 1; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-fade { opacity: 1; transform: none; }
}

/* Skeleton */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--line);
}
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* --------------------------------------------------------------------------
   Sticky mobile bottom bar
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: 12px;
  z-index: 900;
  display: none;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 10px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--navy);
  background: var(--off-white);
  transition: background var(--speed) var(--ease);
}
.mobile-bar a.primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.mobile-bar a.whatsapp { background: #e9f9ef; color: #128c4b; }
.mobile-bar a:active { transform: scale(0.97); }
@media (max-width: 760px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 86px; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .enquiry-card { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media .sm-float { left: 0; }
  .split-media .sm-frame { right: 0; }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .project-card { grid-column: span 6; }
  .mv-grid { grid-template-columns: 1fr; }
  .region-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row.reverse .sr-media { order: 0; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .hero .container { padding-bottom: 96px; }
  .project-card, .project-card.wide { grid-column: span 12; }
  .hero-trust { gap: 18px; }
  .form { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .g-1, .gallery-grid .g-2, .gallery-grid .g-3, .gallery-grid .g-4 { grid-column: span 12; aspect-ratio: 4 / 3; }
  .scroll-cue { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
}

/* ==========================================================================
   Premium FX — backgrounds, motion & micro-interactions
   DO NOT REMOVE the reduced-motion guard below.
   ========================================================================== */

/* --- Global animated aurora / blueprint backgrounds (CSS-only) ---------- */
.hero::before, .hero::after,
.page-hero::before,
.final-cta::before,
.quality::after,
.mv::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
  opacity: 0.55;
  will-change: transform;
}

.hero::before {
  width: 55vw; height: 55vw;
  top: -18%; left: -12%;
  background: radial-gradient(circle, rgba(91, 141, 239, 0.55), transparent 62%);
  animation: driftA 19s var(--ease) infinite alternate;
}
.hero::after {
  width: 48vw; height: 48vw;
  bottom: -24%; right: -10%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.6), transparent 60%);
  animation: driftB 23s var(--ease) infinite alternate;
}

.page-hero::before {
  width: 44vw; height: 44vw;
  top: -40%; right: -8%;
  background: radial-gradient(circle, rgba(91, 141, 239, 0.5), transparent 60%);
  animation: driftB 20s var(--ease) infinite alternate;
}

.final-cta::before {
  width: 46vw; height: 46vw;
  bottom: -45%; right: -8%;
  background: radial-gradient(circle, rgba(91, 141, 239, 0.5), transparent 60%);
  animation: driftA 21s var(--ease) infinite alternate;
}

.quality::after {
  width: 40vw; height: 40vw;
  top: -40%; left: -6%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.5), transparent 62%);
  animation: driftA 24s var(--ease) infinite alternate;
}

.mv::after {
  width: 42vw; height: 42vw;
  top: -30%; right: -8%;
  background: radial-gradient(circle, rgba(91, 141, 239, 0.5), transparent 62%);
  animation: driftB 22s var(--ease) infinite alternate;
}

@keyframes driftA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vw, 5vh, 0) scale(1.15); }
}
@keyframes driftB {
  from { transform: translate3d(0, 0, 0) scale(1.1); }
  to   { transform: translate3d(-5vw, -5vh, 0) scale(0.95); }
}

/* Animated blueprint grid pan on dark sections */
.quality::before,
.region-map::before {
  background-size: 56px 56px;
  animation: gridPan 18s linear infinite;
}
@keyframes gridPan {
  from { background-position: 0 0; }
  to   { background-position: 56px 56px; }
}

/* --- Global film grain (fixed, subtle) --------------------------------- */
body::after {
  content: "";
  position: fixed;
  inset: -120px;
  z-index: 1999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.6s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-38px, 22px); }
  40% { transform: translate(20px, -34px); }
  60% { transform: translate(-22px, -18px); }
  80% { transform: translate(34px, 28px); }
}

/* --- Living media: slow ken-burns on section backgrounds --------------- */
.page-hero-bg img {
  animation: kenBurns 22s ease-in-out infinite alternate;
}
.final-cta .fc-bg img {
  animation: kenBurns 24s ease-in-out infinite alternate;
}
.mv-bg img {
  animation: kenBurns 26s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.5%, 1.5%, 0); }
}

/* --- Scroll progress bar ----------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 2001;
  background: linear-gradient(90deg, var(--blue), var(--sky), #9db8f5);
  box-shadow: 0 0 12px rgba(29, 78, 216, 0.7);
}

/* --- Back-to-top -------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 24px;
  z-index: 950;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); box-shadow: var(--shadow-blue); }
@media (max-width: 760px) { .to-top { bottom: 108px; right: 16px; } }
@media (min-width: 1200px) { .to-top { bottom: 30px; right: 34px; } }

/* --- Custom cursor ring (non-intrusive, desktop only) ------------------ */
.cursor-ring, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  z-index: 2002;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}
.cursor-ring {
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  border: 1.5px solid rgba(29, 78, 216, 0.75);
  transition: width 0.28s var(--ease), height 0.28s var(--ease), margin 0.28s var(--ease), border-color 0.28s var(--ease), background 0.28s var(--ease);
}
.cursor-dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(29, 78, 216, 0.8);
}
.cursor-ring.grow { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(29, 78, 216, 0.08); border-color: rgba(29, 78, 216, 0.9); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor-ring, .cursor-dot { display: block; }
}
@media (hover: none) {
  .cursor-ring, .cursor-dot { display: none; }
}

/* --- Marquee / ticker strip -------------------------------------------- */
.ticker {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-user-select: none;
  user-select: none;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 15px 26px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  white-space: nowrap;
}
.ticker-item::after {
  content: "";
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: var(--blue);
  opacity: 0.85;
  flex: none;
}
.ticker-item span { color: rgba(255, 255, 255, 0.6); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Word-by-word heading reveal --------------------------------------- */
.rs-word {
  display: inline;
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), filter 0.7s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform, filter;
}
.rs-ready .rs-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(6px);
}
.rs-on .rs-word { opacity: 1; transform: none; filter: none; }

/* --- Card hover spotlight (follows cursor) ----------------------------- */
.service-card::after,
.trust-card::after,
.value-card::after,
.project-card::after {
  content: "";
  position: absolute;
  inset: -80px;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(29, 78, 216, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.service-card:hover::after,
.trust-card:hover::after,
.value-card:hover::after,
.project-card:hover::after { opacity: 1; }
.value-card { overflow: hidden; }

/* --- Button shine sweep ------------------------------------------------- */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -70%;
  width: 45%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: shine 1.1s var(--ease) forwards;
}
.btn-white::before { background: linear-gradient(90deg, transparent, rgba(29, 78, 216, 0.14), transparent); }
@keyframes shine {
  from { left: -70%; }
  to   { left: 130%; }
}

/* --- Gentle float on decorative frames --------------------------------- */
.float-card { animation: floatY 7s var(--ease) infinite alternate; }
.split-media .sm-frame { animation: floatY 9s var(--ease) infinite alternate; }
@keyframes floatY {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}

/* --- Journey active state (was wired in JS but unstyled) --------------- */
.journey-step.active {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.journey-step.active .j-num { background: var(--blue); color: #fff; }

/* --- Parallax smoothing ------------------------------------------------ */
.fx-parallax { will-change: transform; }


/* --- Respect reduced motion globally ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after,
  .page-hero::before,
  .final-cta::before,
  .quality::after,
  .mv::after,
  .quality::before,
  .region-map::before,
  .map-hub .hub-dot,
  .map-pin .pin-dot::before,
  .map-pin .pin-dot::after,
  .map-path path,
  .ticker-track,
  .float-card,
  .split-media .sm-frame,
  .to-top,
  .quality-radar {
    animation: none !important;
  }
  .page-hero-bg img,
  .final-cta .fc-bg img,
  .mv-bg img { animation: none !important; }
  body::after { animation: none !important; }
}

/* --- Hero photo background ---------------------------------------------- */
.hero-media img,
.hero-grid-soak { will-change: transform; }
.hero-grid-soak { animation: gridPan 30s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero-media img, .hero-grid-soak { animation: none !important; }
}