/* ============================================================
   ELECTROTECH POWER SOLUTIONS — v3 STYLESHEET
   Design System: Navy (#003E76) + Blue (#0073C1) + Amber (#F2A900)
   Fonts: IBM Plex Sans Condensed (headings) + IBM Plex Mono (data) + Inter (body)
   Chainage marker device replaces numbered eyebrows
   ============================================================ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --eps-navy:              #003E76;
  --eps-navy-deep:         #041B2E;
  --eps-blue:              #0073C1;
  --eps-amber:             #F2A900;
  --eps-white:             #FFFFFF;
  --eps-off-white:         #F6F7F9;
  --eps-slate:             #3D4348;
  --eps-line:              #DCE1E6;

  --font-display:          'IBM Plex Sans Condensed', sans-serif;
  --font-body:             'Inter', sans-serif;
  --font-mono:             'IBM Plex Mono', monospace;

  --transition-base:       280ms ease;
  --transition-slow:       500ms ease;
  --radius-sm:             4px;
  --radius-md:             10px;
  --radius-lg:             16px;

  --shadow-sm:             0 2px 8px rgba(0,62,118,0.06);
  --shadow-md:             0 8px 24px rgba(0,62,118,0.10);
  --shadow-lg:             0 20px 48px rgba(0,62,118,0.14);

  --container-max:         1240px;
  --section-pad:           96px;
  --nav-height:            72px;

  --chainage-color:        #6C879E;
}

/* ── 2. RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--eps-slate);
  background-color: var(--eps-white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a  { color: var(--eps-blue); text-decoration: none; transition: color var(--transition-base); }
a:hover { color: var(--eps-navy); }
ul { list-style: none; }

/* ── 3. UTILITY ─────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

.section-standard {
  position: relative;
  padding: var(--section-pad) 0;
}

.section-alt {
  background: var(--eps-off-white);
}

.section-navy {
  position: relative;
  padding: var(--section-pad) 0;
  background: var(--eps-navy-deep);
  overflow: hidden;
}

.section-navy-mid {
  position: relative;
  padding: var(--section-pad) 0;
  background: var(--eps-navy);
  overflow: hidden;
}

/* ── 4. CHAINAGE MARKER ────────────────────────────────────── */
.chainage-marker {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--chainage-color);
  margin-bottom: 8px;
}

.chainage-marker.light {
  color: rgba(255,255,255,0.45);
}

.chainage-rule {
  width: 48px;
  height: 3px;
  background: var(--eps-blue);
  margin-bottom: 28px;
  position: relative;
}

.chainage-rule::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 3px;
  height: 3px;
  background: var(--eps-blue);
}

.chainage-rule.light {
  background: rgba(255,255,255,0.2);
}

.chainage-rule.light::before {
  background: rgba(255,255,255,0.2);
}

.chainage-rule.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ── 5. TYPOGRAPHY ─────────────────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 60px);
  color: var(--eps-white);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.5vw, 38px);
  color: var(--eps-navy);
  line-height: 1.15;
  text-transform: uppercase;
}

h2.light { color: var(--eps-white); }

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--eps-navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h3.light { color: var(--eps-white); }

h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--eps-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.heading-accent {
  color: var(--eps-blue);
}

.section-intro {
  font-size: 17px;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 44px;
  color: var(--eps-slate);
}

.section-intro.light {
  color: rgba(255,255,255,0.72);
  max-width: 720px;
}

.section-intro.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.mono-stat {
  font-family: var(--font-mono);
  font-weight: 500;
}

/* ── 6. NAVIGATION ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(4, 27, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
}

.site-header.scrolled {
  background: rgba(0, 42, 82, 0.97);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: inherit;
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--eps-white);
  letter-spacing: 0.06em;
}

.nav-brand-secondary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--eps-white);
  background: rgba(255,255,255,0.08);
}

.nav-cta-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--eps-navy-deep);
  background: var(--eps-amber);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
  border: none;
}

.nav-cta-btn:hover {
  background: #E09D00;
  color: var(--eps-navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(242,169,0,0.3);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--eps-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── 7. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--eps-amber);
  color: var(--eps-navy-deep);
  border-color: var(--eps-amber);
}

.btn-primary:hover {
  background: #E09D00;
  border-color: #E09D00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242,169,0,0.35);
  color: var(--eps-navy-deep);
}

.btn-outline {
  background: transparent;
  color: var(--eps-white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--eps-white);
  color: var(--eps-white);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--eps-blue);
  color: var(--eps-white);
  border-color: var(--eps-blue);
}

.btn-blue:hover {
  background: var(--eps-navy);
  border-color: var(--eps-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,115,193,0.35);
  color: var(--eps-white);
}

.btn-full { width: 100%; }

/* ── 8. HERO ────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4);
  transform: rotate(-1.2deg) scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4,27,46,0.85) 0%,
    rgba(4,27,46,0.55) 45%,
    rgba(4,27,46,0.3) 70%,
    rgba(4,27,46,0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 64px 28px;
  width: 100%;
}

.hero-text {
  max-width: 640px;
}

.hero-subheadline {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 24px 0 36px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero features bar */
.hero-features-strip {
  position: relative;
  z-index: 2;
  background: var(--eps-navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hero-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,115,193,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--eps-blue);
}

.hero-feature-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--eps-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.hero-feature-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ── 9. ABOUT ───────────────────────────────────────────────── */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.values-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-card {
  background: var(--eps-white);
  border: 1px solid var(--eps-line);
  border-radius: var(--radius-md);
  padding: 28px;
  border-left: 3px solid var(--eps-blue);
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--eps-blue);
}

.value-card h4,
.value-card h3 {
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--eps-slate);
  line-height: 1.6;
}

/* ── 10. MEP SOLUTIONS ─────────────────────────────────────── */
.mep-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.mep-filter-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--eps-line);
  border-radius: 40px;
  background: var(--eps-white);
  color: var(--eps-slate);
  cursor: pointer;
  transition: all var(--transition-base);
}

.mep-filter-btn:hover,
.mep-filter-btn.active {
  background: var(--eps-navy);
  color: var(--eps-white);
  border-color: var(--eps-navy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--eps-white);
  border: 1px solid var(--eps-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--eps-blue);
}

.service-card-image {
  height: 180px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 24px;
}

.service-card-body h4,
.service-card-body h3 {
  margin-bottom: 8px;
}

.service-card-body p {
  font-size: 14px;
  color: var(--eps-slate);
  line-height: 1.6;
}

/* ── 11. PROOF CARD ────────────────────────────────────────── */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.proof-card {
  background: var(--eps-white);
  border: 1px solid var(--eps-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.proof-card-image {
  height: 220px;
  overflow: hidden;
}

.proof-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-card figcaption,
.proof-card-caption {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chainage-color);
  padding: 12px 16px;
  border-top: 1px solid var(--eps-line);
  background: var(--eps-off-white);
}

.proof-card-dark {
  border-color: rgba(255,255,255,0.08);
}

.proof-card-dark .proof-card-caption {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.45);
  border-top-color: rgba(255,255,255,0.08);
}

/* ── 12. CCTV & ANPR ───────────────────────────────────────── */
.anpr-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.anpr-block {
  background: var(--eps-white);
  border: 1px solid var(--eps-line);
  border-radius: var(--radius-md);
  padding: 32px;
}

.anpr-block h4,
.anpr-block h3 {
  margin-bottom: 12px;
}

.anpr-block > p {
  font-size: 14px;
  color: var(--eps-slate);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  font-size: 14px;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
  color: var(--eps-slate);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--eps-blue);
  border-radius: 50%;
}

.deployment-strip {
  background: var(--eps-white);
  border: 1px solid var(--eps-line);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}

.deployment-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--eps-navy);
  margin-bottom: 16px;
}

.deployment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.deployment-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--eps-blue);
  background: rgba(0,115,193,0.07);
  border: 1px solid rgba(0,115,193,0.15);
  padding: 7px 16px;
  border-radius: 40px;
  transition: all var(--transition-base);
}

.deployment-tag:hover {
  background: var(--eps-blue);
  color: var(--eps-white);
  border-color: var(--eps-blue);
}

/* ── 13. NEXLANE ATMS ──────────────────────────────────────── */
.nexlane-header-row {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.nexlane-heading-logo {
  height: 32px;
  width: auto;
  vertical-align: middle;
  margin-right: 8px;
  display: inline-block;
}

.nexlane-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.nexlane-brand-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eps-navy-deep);
  background: var(--eps-blue);
  padding: 5px 12px;
  border-radius: 40px;
}

.nexlane-cta-row {
  margin-bottom: 40px;
}

.nexlane-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.nexlane-module {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: all var(--transition-base);
}

.nexlane-module:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,115,193,0.4);
  transform: translateY(-3px);
}

.nexlane-module h4,
.nexlane-module h3 {
  color: var(--eps-white);
  margin-bottom: 8px;
  padding-right: 40px;
}

.nexlane-module p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

.module-number {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 24px;
  color: rgba(0,115,193,0.2);
  position: absolute;
  top: 20px;
  right: 20px;
  line-height: 1;
  user-select: none;
}

.nexlane-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 40px;
}

.nexlane-why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.nexlane-why-check {
  width: 32px;
  height: 32px;
  background: var(--eps-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nexlane-why-check svg {
  width: 16px;
  height: 16px;
  stroke: var(--eps-white);
}

.nexlane-why-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--eps-white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.nexlane-why-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ── 14. MLFF TOLLING ──────────────────────────────────────── */
.mlff-hero-photo {
  margin: 0 0 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mlff-hero-photo img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.mlff-hero-photo figcaption {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chainage-color);
  padding: 12px 16px;
  border-top: 1px solid var(--eps-line);
  background: var(--eps-off-white);
  margin: 0;
}

.mlff-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.mlff-what h4,
.mlff-what h3,
.mlff-components h4,
.mlff-components h3 {
  margin-bottom: 14px;
}

.mlff-what > p {
  font-size: 15px;
  line-height: 1.7;
}

.mlff-explainer-img {
  margin: 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mlff-explainer-img img {
  width: 100%;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  background: rgba(0,115,193,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--eps-blue);
}

.benefit-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--eps-navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.benefit-item p {
  font-size: 13px;
  color: var(--eps-slate);
  line-height: 1.5;
}

.component-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.component-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.component-dot {
  width: 6px;
  height: 6px;
  background: var(--eps-blue);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.component-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--eps-navy);
  margin-bottom: 2px;
}

.component-item span {
  font-size: 12.5px;
  color: var(--eps-slate);
}

.applicable-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.applicable-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--eps-navy);
  background: var(--eps-off-white);
  border: 1px solid var(--eps-line);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

/* ── 15. FEATURED PROJECT ──────────────────────────────────── */
.featured-project-hero {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 40px;
}

.featured-project-hero img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.featured-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  margin-bottom: 40px;
  padding: 28px 32px;
  background: var(--eps-white);
  border: 1px solid var(--eps-line);
  border-radius: var(--radius-md);
}

.featured-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.featured-stat-number {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--eps-navy);
  line-height: 1;
}

.featured-stat-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chainage-color);
}

.featured-project-content {
  max-width: 800px;
}

.featured-project-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.featured-project-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 32px;
}

.featured-project-list li {
  font-size: 15px;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
  color: var(--eps-slate);
}

.featured-project-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--eps-amber);
  border-radius: 50%;
}

.featured-project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.featured-project-gallery figure {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.featured-project-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.featured-project-gallery figure:hover img {
  transform: scale(1.03);
}

/* ── 16. WHY CHOOSE US ─────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}

.why-card {
  background: var(--eps-white);
  border: 1px solid var(--eps-line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all var(--transition-base);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--eps-blue);
}

.why-check {
  width: 36px;
  height: 36px;
  background: var(--eps-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-check svg {
  width: 18px;
  height: 18px;
  stroke: var(--eps-navy-deep);
}

.why-card h4,
.why-card h3 {
  margin-bottom: 6px;
}

.why-card p {
  font-size: 14px;
  color: var(--eps-slate);
  line-height: 1.55;
}

/* ── 17. GALLERY ───────────────────────────────────────────── */
.gallery-intro {
  text-align: center;
  margin-bottom: 36px;
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.gallery-filter-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--eps-line);
  border-radius: 40px;
  background: var(--eps-white);
  color: var(--eps-slate);
  cursor: pointer;
  transition: all var(--transition-base);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--eps-navy);
  color: var(--eps-white);
  border-color: var(--eps-navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.gallery-item {
  margin: 0;
  border: 1px solid var(--eps-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--eps-white);
  cursor: pointer;
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--eps-blue);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--eps-navy);
  padding: 12px 14px;
  line-height: 1.4;
  border-top: 1px solid var(--eps-line);
  background: var(--eps-off-white);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4,27,46,0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 72px;
}

.lightbox-overlay[hidden] {
  display: none;
}

.lightbox-content {
  margin: 0;
  max-width: min(1100px, 92vw);
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox-content figcaption {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: var(--eps-white);
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-base);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.18);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: var(--eps-white);
  font-size: 32px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-base);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.18);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ── 18. CONTACT ───────────────────────────────────────────── */
.contact-two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon-badge {
  width: 44px;
  height: 44px;
  background: rgba(0,115,193,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-badge svg {
  width: 20px;
  height: 20px;
  stroke: var(--eps-blue);
}

.contact-detail-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--eps-navy);
  margin-bottom: 4px;
}

.contact-detail-item p {
  font-size: 14px;
  color: var(--eps-slate);
  line-height: 1.6;
}

.contact-form {
  background: var(--eps-off-white);
  border: 1px solid var(--eps-line);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--eps-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--eps-slate);
  background: var(--eps-white);
  border: 1.5px solid var(--eps-line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  outline: none;
  transition: all var(--transition-base);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--eps-blue);
  box-shadow: 0 0 0 3px rgba(0,115,193,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230073C1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ── 19. CTA BAND ──────────────────────────────────────────── */
.cta-band {
  position: relative;
  background: var(--eps-navy-deep);
  padding: 80px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--eps-white);
  margin-bottom: 16px;
}

.cta-band .section-intro {
  color: rgba(255,255,255,0.6);
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn {
  margin-top: 12px;
}

/* ── 20. FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--eps-navy-deep);
  color: rgba(255,255,255,0.5);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 46px;
  width: auto;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--eps-white);
  letter-spacing: 0.08em;
}

.footer-brand-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--eps-amber);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
}

.footer-links-col .footer-col-heading,
.footer-contact-col .footer-col-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--eps-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-base);
}

.footer-links-col a:hover {
  color: var(--eps-blue);
}

.footer-contact-col p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-contact-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-bottom: 6px;
}

.footer-contact-col a:hover {
  color: var(--eps-blue);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-slogan {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

.footer-updated {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  font-style: italic;
}

/* ── 21. MODAL ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,27,46,0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-box {
  background: var(--eps-white);
  border-radius: var(--radius-md);
  padding: 44px 36px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: rgba(46,125,50,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
  stroke: #2E7D32;
}

.modal-box h3 {
  margin-bottom: 8px;
}

.modal-box p {
  font-size: 15px;
  color: var(--eps-slate);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ── 22. SCROLL ANIMATIONS ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── 23. RESPONSIVE — 1200px ───────────────────────────────── */
@media (max-width: 1200px) {
  :root { --section-pad: 72px; }
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .nexlane-modules-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}

/* ── 24. RESPONSIVE — 1024px ───────────────────────────────── */
@media (max-width: 1024px) {
  .about-two-col,
  .contact-two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .proof-grid,
  .anpr-two-col,
  .mlff-two-col {
    grid-template-columns: 1fr;
  }

  .nexlane-why-grid {
    grid-template-columns: 1fr;
  }

  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-project-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ── 25. RESPONSIVE — 768px ────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  .site-header {
    background: rgba(4, 27, 46, 0.98);
  }

  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(4,27,46,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 16px;
    gap: 2px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open { display: flex; }

  .nav-link,
  .nav-cta-btn {
    width: 100%;
    text-align: center;
    padding: 13px;
    font-size: 13px;
  }

  h1 { font-size: clamp(32px, 8vw, 48px); }
  h2 { font-size: clamp(24px, 5vw, 32px); }

  .hero-content { padding: 48px 24px; }

  .hero-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid { grid-template-columns: 1fr; }

  .featured-stat-row {
    gap: 20px 24px;
    padding: 20px 24px;
  }

  .footer-top { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; }

  .lightbox-overlay { padding: 56px 16px; }
  .lightbox-nav { display: none; }

  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .why-grid { grid-template-columns: 1fr; }

  .nexlane-modules-grid { grid-template-columns: 1fr; }

  .featured-project-gallery { grid-template-columns: 1fr; }
}

/* ── 26. RESPONSIVE — 480px ────────────────────────────────── */
@media (max-width: 480px) {
  :root { --section-pad: 40px; }

  .hero-content { padding: 40px 16px; }
  .hero-cta-group { flex-direction: column; }
  .btn { width: 100%; }

  .container { padding: 0 16px; }

  .mep-filter-bar,
  .gallery-filter-bar { justify-content: flex-start; }

  .featured-stat-row { flex-direction: column; gap: 16px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .proof-card-image { height: 180px; }
}
