/* ============================================================
   Rajat Engineering Co. — Main Stylesheet
   Water Infrastructure | Fabrication | Implementation
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors sampled from company card/profile */
  --ink: #0a3466;          /* navy */
  --ink-2: #082a52;        /* deeper navy */
  --ink-soft: #14487f;
  --brand: #1790d1;        /* sky blue */
  --brand-dark: #0f6fa8;
  --brand-light: #4fb3e8;
  --brand-100: #e6f4fc;
  --brand-50: #f2f9fd;
  --accent: #4d9a33;       /* green */
  --accent-dark: #3c7a28;
  --accent-light: #7bc158;
  --accent-100: #eef7ea;

  --bg: #f6f9fc;
  --surface: #ffffff;
  --text: #1c2b3a;
  --text-muted: #5b7186;
  --text-faint: #8399ab;
  --border: #e3eaf1;
  --border-soft: #edf2f7;

  --shadow-sm: 0 1px 2px rgba(10, 52, 102, 0.06), 0 1px 1px rgba(10, 52, 102, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(10, 52, 102, 0.18);
  --shadow-lg: 0 24px 48px -12px rgba(10, 52, 102, 0.28);
  --shadow-brand: 0 12px 28px -10px rgba(23, 144, 209, 0.45);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --ff-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1220px;
  --header-h: 84px;
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
svg { display: block; }
h1, h2, h3, h4, h5 {
  font-family: var(--ff-head);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p { color: var(--text-muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-100);
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.eyebrow.on-dark {
  background: rgba(255,255,255,0.12);
  color: #cfe9fa;
}
.eyebrow.on-dark::before { background: var(--accent-light); }

.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.section-head p { font-size: 17px; }

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

.grad-text {
  background: linear-gradient(100deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s, background 0.25s, color 0.25s, border-color .25s;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -10px rgba(23,144,209,0.55); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(77,154,51,0.5);
}
.btn-accent:hover { transform: translateY(-3px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  box-shadow: 0 8px 30px -12px rgba(10,52,102,0.18);
  border-color: var(--border-soft);
}
.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
}
.brand-mark {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}

.main-nav { display: flex; align-items: center; gap: 1px; }
.main-nav a {
  position: relative;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--brand-dark); background: var(--brand-50); }
.main-nav a.active { color: var(--brand-dark); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.header-phone .ic {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-100); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.header-phone .ic svg { width: 16px; height: 16px; }
.header-phone small { display: block; font-weight: 500; color: var(--text-faint); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em;}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  background: var(--brand-50);
  flex-shrink: 0;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }

/* mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1001;
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav .scrim {
  position: absolute; inset: 0;
  background: rgba(8,26,49,0.55);
  opacity: 0;
  transition: opacity .3s ease;
}
.mobile-nav .panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 86vw);
  background: #fff;
  box-shadow: -20px 0 60px rgba(10,52,102,0.25);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
  padding: 22px 24px 30px;
  overflow-y: auto;
}
.mobile-nav.open { visibility: visible; pointer-events: auto; }
.mobile-nav.open .scrim { opacity: 1; }
.mobile-nav.open .panel { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mobile-nav-close {
  width: 40px; height: 40px; border-radius: 10px; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-close svg { width: 18px; height: 18px; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--ff-head);
  font-weight: 700; font-size: 17px; color: var(--ink);
  padding: 15px 4px; border-bottom: 1px solid var(--border-soft);
}
.mobile-nav a.active { color: var(--brand-dark); }
.mobile-nav a svg { width: 16px; height: 16px; color: var(--text-faint); }
.mobile-nav .mnav-cta { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav .mnav-contact { margin-top: auto; padding-top: 24px; font-size: 14px; color: var(--text-muted); }
.mobile-nav .mnav-contact a { color: var(--brand-dark); font-weight: 700; }

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 110px;
  background: radial-gradient(1200px 700px at 85% -10%, #123d6f 0%, var(--ink) 45%, var(--ink-2) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(600px 300px at 10% 110%, rgba(77,154,51,0.28), transparent 60%),
    radial-gradient(500px 400px at 95% 20%, rgba(79,179,232,0.25), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 56px);
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--accent-light); }
.hero p.lead {
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--ff-head); font-size: 24px; color: #fff; }
.hero-trust span { font-size: 12.5px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: .04em; }

.hero-art { position: relative; }
.hero-card-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3.1;
}
.hero-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,52,102,0) 40%, rgba(6,26,49,0.7) 100%);
}
.hero-float-card {
  position: absolute;
  left: -28px; bottom: -28px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  max-width: 260px;
  z-index: 3;
}
.hero-float-card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-100); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-float-card .ic svg { width: 24px; height: 24px; }
.hero-float-card strong { display: block; font-family: var(--ff-head); font-size: 15px; color: var(--ink); }
.hero-float-card span { font-size: 12.5px; color: var(--text-muted); }
.hero-badge-top {
  position: absolute; top: -22px; right: 18px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-brand);
  font-family: var(--ff-head);
  z-index: 3;
}
.hero-badge-top strong { display: block; font-size: 20px; }
.hero-badge-top span { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }

.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 2; }
.wave-divider svg { width: 100%; height: auto; display: block; }

/* Page hero (inner pages, shorter) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 90px;
  background: radial-gradient(1100px 600px at 90% -20%, #133f72 0%, var(--ink) 55%, var(--ink-2) 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(500px 300px at 8% 120%, rgba(77,154,51,0.25), transparent 60%);
}
.page-hero .crumbs { position: relative; z-index: 2; display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 18px; font-weight: 600;}
.page-hero .crumbs a:hover { color: #fff; }
.page-hero h1 { position: relative; z-index: 2; color: #fff; font-size: clamp(30px, 4vw, 46px); max-width: 780px; }
.page-hero p { position: relative; z-index: 2; color: rgba(255,255,255,0.75); font-size: 17px; max-width: 640px; margin-top: 16px; }

/* ---------- Stats strip ---------- */
.stats-strip {
  position: relative;
  z-index: 3;
  margin-top: -58px;
  padding: 0 0 0;
}
.stats-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 38px 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.stat-item { text-align: center; padding: 0 8px; position: relative; }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: var(--border);
}
.stat-item strong {
  display: block;
  font-family: var(--ff-head);
  font-size: clamp(26px, 2.6vw, 34px);
  color: var(--ink);
  font-weight: 800;
}
.stat-item strong .suffix { color: var(--brand); }
.stat-item span { font-size: 12.5px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Asymmetric two-column grids (used in place of inline grid-template-columns
   so the responsive collapse rules below can actually override them —
   inline styles beat stylesheet rules regardless of media query). Written
   as compound selectors (e.g. .split.grid-asym-a) so they reliably beat the
   base .split/.grid rule's own grid-template-columns regardless of where
   either rule falls in the stylesheet. */
.split.grid-asym-a { grid-template-columns: 0.85fr 1.15fr; align-items: flex-start; }
.grid.grid-asym-b { grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: flex-start; }
.grid.grid-asym-c { grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: stretch; }
.grid.grid-asym-d { grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: stretch; }
.grid.grid-photos-2 { grid-template-columns: 1fr 1fr; gap: 16px; }
.grid.grid-photos-3 { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

.feature-card {
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-100);
  color: var(--brand-dark);
  flex-shrink: 0;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-icon.green { background: var(--accent-100); color: var(--accent-dark); }
.feature-card h3 { font-size: 19px; margin-bottom: 2px; }
.feature-card p { font-size: 14.5px; }
.feature-card .num {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 13px;
  color: var(--brand);
  letter-spacing: .04em;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
.check-list li:last-child { border-bottom: none; }
.check-list .tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-100); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.check-list .tick svg { width: 12px; height: 12px; }

/* ---------- About / split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-copy { order: 1; }
.split-media { position: relative; }
.split-media .photo-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5/4.3;
}
.split-media .photo-main img { width: 100%; height: 100%; object-fit: cover; }
.split-media .photo-tag {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  font-family: var(--ff-head);
}
.split-media .photo-tag strong { display: block; font-size: 26px; color: var(--accent-light); }
.split-media .photo-tag span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }

.badge-dot-list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; font-size: 15px; }
.badge-dot-list li::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  margin-top: 8px; flex-shrink: 0;
}

/* Timeline */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand), var(--accent)); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -30px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
}
.timeline-item h4 { font-size: 17px; margin-bottom: 6px; }
.timeline-item p { font-size: 14.5px; }
.timeline-item .yr { font-family: var(--ff-head); font-weight: 800; color: var(--brand); font-size: 13px; letter-spacing: .04em; }

/* ---------- Capability numbered rows ---------- */
.cap-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.cap-row:first-child { padding-top: 0; }
.cap-row .cap-no {
  font-family: var(--ff-head);
  font-size: 38px;
  font-weight: 800;
  color: var(--brand-100);
  -webkit-text-stroke: 1.5px var(--brand-light);
  line-height: 1;
}
.cap-row h3 { font-size: 20px; margin-bottom: 8px; display:flex; align-items:center; gap:12px;}
.cap-row .icon-chip {
  width: 40px; height: 40px; border-radius: 11px; background: var(--brand-100); color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cap-row .icon-chip svg { width: 20px; height: 20px; }
.cap-row p { font-size: 15px; max-width: 720px; }

/* ---------- Project cards ---------- */
.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-card .pc-head {
  padding: 28px 28px 0;
}
.project-card .pc-badge {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-100);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.project-card h3 { font-size: 21px; margin-bottom: 6px; }
.project-card .pc-loc { font-size: 13.5px; color: var(--text-faint); font-weight: 600; margin-bottom: 18px; }
.project-card .pc-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-soft);
  margin: 0 0 0;
}
.project-card .pc-stat {
  background: #fff;
  padding: 16px 18px;
}
.project-card .pc-stat strong { display: block; font-family: var(--ff-head); font-size: 19px; color: var(--ink); }
.project-card .pc-stat span { font-size: 12px; color: var(--text-muted); }
.project-card .pc-photo { aspect-ratio: 16/10; overflow: hidden; margin-top: 22px; }
.project-card .pc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .pc-photo img { transform: scale(1.06); }

/* ---------- Product / service detail ---------- */
.product-block { padding: 20px 0; }
.product-block:not(:last-child) { border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.product-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3.3;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.tag-pill {
  font-size: 13px; font-weight: 600; color: var(--brand-dark);
  background: var(--brand-100); padding: 7px 14px; border-radius: var(--radius-pill);
}
.tag-pill.green { color: var(--accent-dark); background: var(--accent-100); }

/* ---------- Sector / industry chips ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector-card {
  padding: 26px 22px;
  text-align: left;
}
.sector-card .feature-icon { margin-bottom: 16px; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.gfilter {
  font-family: var(--ff-head);
  font-weight: 700; font-size: 13.5px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  transition: all .2s;
}
.gfilter:hover { border-color: var(--brand-light); color: var(--brand-dark); }
.gfilter.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  grid-auto-flow: dense;
}
.g-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
  aspect-ratio: 1/1;
}
.g-item.tall { grid-row: span 2; aspect-ratio: 1/2.08; }
.g-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .4s ease; }
.g-item:hover img { transform: scale(1.08); }
.g-item .g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6,26,49,0.85) 100%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity .3s;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay span { color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: 13.5px; }
.g-item .g-zoom {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.7); transition: all .25s;
}
.g-item:hover .g-zoom { opacity: 1; transform: scale(1); }
.g-item .g-zoom svg { width: 15px; height: 15px; color: var(--ink); }
.g-item.hide { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(6,16,29,0.92);
  display: none; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.lightbox.open { display: flex; }
.lightbox figure { max-width: 900px; width: 100%; }
.lightbox img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { color: rgba(255,255,255,0.75); text-align: center; margin-top: 16px; font-size: 14px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 90% 10%, rgba(23,144,209,0.35), transparent 60%),
              radial-gradient(400px 260px at 5% 100%, rgba(77,154,51,0.3), transparent 60%);
}
.cta-band .cta-copy { position: relative; z-index: 2; max-width: 560px; }
.cta-band h2 { color: #fff; font-size: clamp(24px,3vw,32px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.75); font-size: 16px; }
.cta-band .cta-actions { position: relative; z-index: 2; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--ff-head); font-weight: 700; font-size: 13.5px; color: var(--ink); }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  transition: border-color .2s, background .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d94b4b; }
.field .err-msg { font-size: 12.5px; color: #c33; display: none; }
.field.has-error .err-msg { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-note { font-size: 13px; color: var(--text-faint); margin-top: 10px; }
.form-alert {
  padding: 16px 18px; border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 600; margin-bottom: 22px; display: none; gap: 10px; align-items: flex-start;
}
.form-alert.show { display: flex; }
.form-alert.success { background: var(--accent-100); color: var(--accent-dark); }
.form-alert.error { background: #fdeceb; color: #b23a3a; }

/* Contact info cards */
.contact-info-card {
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-card .feature-icon { width: 48px; height: 48px; border-radius: 13px; }
.contact-info-card .feature-icon svg { width: 22px; height: 22px; }
.contact-info-card h4 { font-size: 15.5px; margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; margin: 0; }
.contact-info-card a.link { color: var(--brand-dark); font-weight: 700; }

/* ---------- Why-us / values ---------- */
.value-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border-soft); }
.value-row:last-child { border: none; }
.value-row .vnum { font-family: var(--ff-head); font-weight: 800; font-size: 15px; color: var(--brand); width: 30px; flex-shrink: 0; }
.value-row h4 { font-size: 16.5px; margin-bottom: 5px; }
.value-row p { font-size: 14px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: rgba(255,255,255,0.72);
  padding: 80px 0 0;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 10% 0%, rgba(23,144,209,0.14), transparent 60%);
  pointer-events: none;
}
.footer-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand-mark { width: 42px; height: 42px; }
.footer-brand strong { font-family: var(--ff-head); color: #fff; font-size: 17px; }
.footer-brand span { display: block; font-size: 11px; color: var(--accent-light); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.site-footer p.about-copy { font-size: 14.5px; max-width: 300px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.footer-social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-social a svg { width: 16px; height: 16px; color: #fff; }

.site-footer h5 { color: #fff; font-family: var(--ff-head); font-size: 14.5px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 22px; }
.footer-links li { margin-bottom: 13px; }
.footer-links a { font-size: 14.5px; transition: color .2s, padding-left .2s; display:inline-block; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 18px; font-size: 14.5px; align-items: flex-start; }
.footer-contact .ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.footer-contact .ic svg { width: 16px; height: 16px; color: var(--brand-light); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  position: relative; z-index: 2;
  padding: 26px 0 30px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 13.5px;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 22px; bottom: 90px; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top svg { width: 20px; height: 20px; }
@media (max-width: 480px) {
  .back-top { right: 14px; bottom: 74px; width: 44px; height: 44px; }
}

/* ---------- Floating WhatsApp ---------- */
.float-actions { position: fixed; right: 22px; bottom: 22px; z-index: 500; display: flex; flex-direction: column; gap: 12px; }
.float-actions a {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  color: #fff;
  transition: transform .25s;
}
.float-actions a:hover { transform: translateY(-3px); }
.float-actions a svg { width: 24px; height: 24px; }
.fa-whatsapp { background: #25d366; }
.fa-call { background: var(--brand); }
@media (max-width: 480px) {
  .float-actions { right: 14px; bottom: 14px; }
  .float-actions a { width: 46px; height: 46px; }
  .float-actions a svg { width: 21px; height: 21px; }
}

/* ---------- Misc pages ---------- */
.breadcrumb-strip { background: var(--brand-50); border-bottom: 1px solid var(--border-soft); }

.pattern-divider { height: 90px; background: var(--surface); }

.two-col-list { columns: 2; column-gap: 40px; }
.two-col-list li { break-inside: avoid; }

/* 404 */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 20px 80px; }
.error-page .code { font-family: var(--ff-head); font-size: 120px; font-weight: 800; background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip:text; background-clip:text; color: transparent; line-height:1; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  /* 8 nav links + phone + CTA button need more room than the site's
     1220px content container leaves once padding is subtracted — collapse
     to the hamburger menu comfortably before that squeeze point. */
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-media { order: 1; }
  .split.reverse .split-copy { order: 2; }
  .split-media { max-width: 520px; margin: 0 auto; width:100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-card { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .stat-item:nth-child(3n+1)::before{ display:none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .split.grid-asym-a,
  .grid.grid-asym-b,
  .grid.grid-asym-c,
  .grid.grid-asym-d { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .cta-band { padding: 44px 28px; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .section-pad { padding: 68px 0; }
  .section-pad-sm { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid.grid-photos-3 { grid-template-columns: 1fr 1fr; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .stats-card { grid-template-columns: repeat(2, 1fr); padding: 30px 16px; }
  .stat-item:nth-child(odd)::before { display:none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-band { flex-direction: column; align-items: flex-start; text-align:left; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-item.tall { grid-row: span 1; aspect-ratio: 1/1; }
  .g-item.wide { grid-column: span 2; aspect-ratio: 2/1.1; }
  .cap-row { grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; }
  .cap-row .cap-no { font-size: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-float-card { left: 0; right: 0; margin: 0 auto; max-width: calc(100% - 32px); bottom: -20px; }
  .hero-badge-top { right: 8px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 90px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-actions, .cta-band .cta-actions { flex-direction: column; }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .project-card .pc-stats { grid-template-columns: 1fr 1fr; }
  .gallery-filters { gap: 8px; }
  .gfilter { padding: 8px 14px; font-size: 12.5px; }
  .error-page .code { font-size: 76px; }
  .header-cta { gap: 8px; }
  .header-cta > a.btn-primary.btn-sm { display: none; }
  .grid.grid-photos-2, .grid.grid-photos-3 { grid-template-columns: 1fr; }
}
