/* ============================================================
   MCN Mechanical & Electrical — Stylesheet
   Edit CSS custom properties in :root to adjust branding.
   ============================================================ */

/* ── Custom Properties ────────────────────────────────────── */
:root {
  --yellow: #F5C400;
  --yellow-dim: rgba(245, 196, 0, 0.15);
  --bg:    #0f0f0f;
  --bg-2:  #111111;
  --bg-3:  #1a1a1a;
  --border: #222222;
  --border-light: #2a2a2a;
  --text:       #ffffff;
  --text-muted: #aaaaaa;
  --text-dim:   #555555;
  --radius: 3px;
  --topbar-h: 36px;
  --nav-h: 70px;
  --max-w: 1200px;
  --font: 'Inter', system-ui, sans-serif;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); }
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.05; }
h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 700; line-height: 1.15; }
h3 { font-size: 20px; font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.75; }

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
  display: block;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cs-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  border: none;
  font-family: var(--font);
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.btn-primary { background: var(--yellow); color: #000; }
.btn-outline  { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.25); }
.btn-outline-yellow { background: transparent; color: var(--yellow); border: 1px solid var(--yellow); }

/* ── Top bar ──────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  z-index: 101;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.topbar__left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar__left a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: 0.02em;
}
.topbar__left a:hover { color: var(--yellow); }
.topbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar__right a {
  display: flex;
  align-items: center;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.topbar__right a:hover { color: var(--yellow); }
.topbar__email { display: flex !important; }
.topbar__whatsapp { display: flex !important; color: #25D366; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: var(--topbar-h); left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: var(--bg);
  border-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 36px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--text); }
.nav__cta { font-size: 13px; }

/* Mobile hamburger (hidden by default) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: calc(var(--topbar-h) + var(--nav-h));
  left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
  z-index: 99;
  flex-direction: column;
  gap: 20px;
}
.nav__mobile a { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.nav__mobile.open { display: flex; }

/* ── Case Study Detail Page ───────────────────────────────── */
.cs-carousel {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  height: 600px;
  overflow: hidden;
  background: #000;
}
.cs-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.cs-carousel__slide {
  flex: 0 0 100%;
  height: 100%;
}
.cs-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.cs-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(0,0,0,0.72);
  border: 2px solid rgba(245,196,0,0.55);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  border-radius: 4px;
}
.cs-carousel__btn:hover { background: rgba(245,196,0,0.9); border-color: var(--yellow); color: #000; }
.cs-carousel__btn--prev { left: 16px; }
.cs-carousel__btn--next { right: 16px; }
.cs-carousel__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.cs-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}
.cs-carousel__dot.active { background: var(--yellow); }
.cs-carousel__count {
  position: absolute;
  bottom: 14px;
  right: 20px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  z-index: 10;
  font-variant-numeric: tabular-nums;
}
.cs-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.cs-scope-list {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.cs-scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.cs-scope-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  margin-top: 7px;
}
.cs-meta-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cs-meta-item { display: flex; flex-direction: column; gap: 4px; }
.cs-meta-label { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-dim); }
.cs-meta-value { font-size: 14px; color: var(--text-muted); }
.cs-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); text-decoration: none; transition: color 0.15s; margin-bottom: 40px; }
.cs-back:hover { color: var(--yellow); }
@media (max-width: 768px) {
  .cs-carousel { height: 360px; }
  .cs-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid var(--border);
}
.footer__brand p { font-size: 13px; color: var(--text-dim); line-height: 1.7; margin-top: 4px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--yellow); }
.footer__legal {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 12px; color: var(--text-dim); }
.footer__legal-links { display: flex; gap: 20px; }
.footer__legal-links a {
  font-size: 12px;
  color: var(--text-dim);
  transition: color 0.15s;
}
.footer__legal-links a:hover { color: var(--yellow); }

/* ── Page Hero Banner (inner pages) ──────────────────────── */
.page-hero {
  padding: calc(var(--topbar-h) + 120px) 0 60px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.page-hero .label { margin-bottom: 8px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); }

/* ── Dividers ─────────────────────────────────────────────── */
.divider {
  width: 40px;
  height: 3px;
  background: var(--yellow);
  margin-bottom: 20px;
}
.divider--dark { background: var(--border); }

/* ── Accreditation badges ─────────────────────────────────── */
.accred-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.accred-badge {
  border: 1px solid var(--border-light);
  padding: 10px 18px;
  font-size: 11px;
  text-align: center;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.4;
  transition: border-color 0.2s, color 0.2s;
  cursor: default;
}
.accred-badge:hover {
  border-color: var(--yellow);
  color: var(--text);
}
.accred-badge span {
  display: block;
  color: var(--yellow);
  font-size: 10px;
  margin-top: 2px;
}

/* ── Stats row ────────────────────────────────────────────── */
.stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat__number {
  font-size: 32px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.stat__label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}
.stat { border-top: 2px solid var(--yellow); padding-top: 12px; }
.stat--dark { border-top-color: var(--border); }
.stat--dark .stat__number { color: var(--text); }

/* ── Sector cards ─────────────────────────────────────────── */
.sector-card {
  background: var(--bg-2);
  border-top: 3px solid var(--border);
  padding: 28px 24px;
  transition: border-color 0.2s, background 0.2s;
}
.sector-card:hover { border-top-color: var(--yellow); background: #161616; }
.sector-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(245,196,0,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  margin-bottom: 20px;
}
.sector-card h3 { color: var(--text); font-size: 16px; margin-bottom: 10px; }
.sector-card p { font-size: 13px; color: var(--text-dim); line-height: 1.65; }

/* ── Case study cards ─────────────────────────────────────── */
.cs-card {
  background: var(--bg-3);
  border-left: 3px solid var(--border);
  display: flex;
  gap: 16px;
  padding: 16px;
  cursor: pointer;
  transition: border-left-color 0.2s, background 0.2s;
}
.cs-card:hover,
.cs-card.active { border-left-color: var(--yellow); background: #1e1e1e; }
.cs-card__image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
  background: #000;
}
.cs-card__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.cs-card.active .cs-card__tag { color: var(--yellow); }
.cs-card__title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.cs-card__desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.cs-card__more {
  display: none;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.cs-card__more.open { display: block; }
.cs-card__toggle {
  font-size: 11px;
  color: var(--yellow);
  cursor: pointer;
  margin-top: 6px;
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
}

/* ── Map container ────────────────────────────────────────── */
.map-wrap { position: sticky; top: calc(var(--topbar-h) + var(--nav-h) + 24px); }
#map, #map-home {
  width: 100%;
  height: 540px;
  border-radius: var(--radius);
  background: var(--bg-3);
}
#map-home { height: 360px; }

/* Case study card list — fixed height scroll container */
#cs-list {
  height: 540px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  padding-right: 4px;
}
#cs-list::-webkit-scrollbar { width: 4px; }
#cs-list::-webkit-scrollbar-track { background: transparent; }
#cs-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Leaflet dark tile override */
.leaflet-container { background: #1a1a2e; }

/* Custom yellow marker */
.mcn-marker {
  width: 16px;
  height: 16px;
  background: var(--yellow);
  border: 2px solid #000;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s;
}
.mcn-marker:hover,
.mcn-marker.active { transform: scale(1.4); }

/* ── Contact form ─────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase; }
.form-input, .form-select, .form-textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  transition: border-color 0.15s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--yellow);
}
.form-select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 120px; }

/* ── Careers ──────────────────────────────────────────────── */
.job-card {
  background: var(--bg-2);
  border-top: 3px solid var(--border);
  padding: 28px 24px;
  transition: border-top-color 0.2s;
}
.job-card:hover { border-top-color: var(--yellow); }
.job-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(245,196,0,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  margin-bottom: 20px;
}
.job-card h3 { font-size: 16px; margin-bottom: 8px; }
.job-card p { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; }
.job-card--open {
  border: 1px dashed var(--border);
  border-top: 3px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .topbar__email { display: none !important; }
  .topbar__whatsapp { display: none !important; }
  .topbar__inner { padding: 0 20px; }
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .stats { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .map-wrap { position: static; }
  #map { height: 300px; }
  #cs-list { height: auto; max-height: none; overflow-y: visible; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  /* Case studies layout on mobile */
  .cs-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.90) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--topbar-h) + var(--nav-h) + 40px);
}
.hero__content h1 { margin-bottom: 20px; max-width: 640px; }
.hero__sub {
  max-width: 500px;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }

/* ── Homepage sections ────────────────────────────────────── */
.section--dark { background: var(--bg-2); }

.link-yellow {
  font-size: 13px;
  color: var(--yellow);
  border-bottom: 1px solid rgba(245,196,0,0.4);
  padding-bottom: 2px;
  transition: opacity 0.15s;
}
.link-yellow:hover { opacity: 0.75; }

.accred-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.accred-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.accred-bar__cta { text-align: right; }

/* Teaser list (homepage map + scrollable cards) */
.cs-teaser-list {
  height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.cs-teaser-list::-webkit-scrollbar { width: 4px; }
.cs-teaser-list::-webkit-scrollbar-track { background: transparent; }
.cs-teaser-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.cs-teaser-list .cs-card { border-bottom: 1px solid var(--border-light); }

.cs-card__cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.cs-card--link:hover .cs-card__cta {
  opacity: 1;
  transform: translateX(0);
}
/* Standalone <a> link inside card — always visible, no hover needed */
a.cs-card__cta { opacity: 1; transform: none; }

/* ── Area tags (About page) ───────────────────────────────── */
.area-tag {
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-muted);
  border-radius: var(--radius);
}

/* ── Services home grid (2-col horizontal cards) ─────────── */
.services-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-home-card {
  background: var(--bg-2);
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background 0.2s;
}
.service-home-card:hover { background: #161616; }
.service-home-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.service-home-card .service-sub-list { margin: 0; }

/* ── Full sector cards (services page) ───────────────────── */
.sector-card--full { display: flex; flex-direction: column; }
.sector-card--full p { font-size: 14px; color: var(--text-dim); flex: 1; }

/* ── Per-section enquiry bar ──────────────────────────────── */
.service-enquiry-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 24px 32px;
  border: 1px solid var(--border);
  background: var(--bg-3);
}
.service-enquiry-bar p { margin: 0; }
@media (max-width: 600px) {
  .service-enquiry-bar { flex-direction: column; align-items: flex-start; }
}

/* ── Service sub-list ─────────────────────────────────────── */
.service-sub-list {
  list-style: none;
  margin: 12px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-sub-list li {
  font-size: 12px;
  color: var(--text-dim);
  padding-left: 14px;
  position: relative;
}
.service-sub-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 1px;
  background: var(--yellow);
}

/* ── Why Choose MCN / USP rows ───────────────────────────── */
.usp-list { border-top: 1px solid var(--border); }
.usp-row {
  display: grid;
  grid-template-columns: 52px 240px 1fr 32px;
  align-items: center;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.usp-row:hover { background: rgba(245,196,0,0.025); }
.usp-row__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dim);
}
.usp-row h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0; }
.usp-row p { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin: 0; }
.usp-row__icon { color: var(--yellow); display: flex; justify-content: flex-end; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  padding: 28px;
  transition: border-top-color 0.2s;
}
.testimonial-card:hover { border-top-color: var(--yellow); }
.testimonial-card__stars {
  color: var(--yellow);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-card__quote {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-card__author { font-size: 14px; font-weight: 700; color: var(--text); }
.testimonial-card__company { font-size: 12px; color: var(--text-dim); margin-top: 3px; }

/* ── Offers / Coupons ─────────────────────────────────────── */
.offer-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--yellow);
  padding: 28px;
}
.offer-card__badge {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.offer-card h3 { font-size: 18px; margin-bottom: 10px; }
.offer-card p { font-size: 13px; color: var(--text-dim); line-height: 1.7; margin-bottom: 20px; }

/* ── FAQ accordion ────────────────────────────────────────── */
.faq-group { margin-bottom: 48px; }
.faq-group-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
}
.faq-question:hover { color: var(--yellow); }
.faq-icon {
  color: var(--yellow);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s;
  font-weight: 300;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 680px;
}
.faq-item.open .faq-answer { display: block; }

/* ── Industry sector cards (sectors page) ────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.industry-card {
  background: var(--bg-2);
  padding: 28px 24px;
  transition: background 0.2s;
  cursor: default;
}
.industry-card:hover { background: #161616; }
.industry-card__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}
.industry-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.industry-card p { font-size: 12px; color: var(--text-dim); line-height: 1.6; }

/* ── Contact page ─────────────────────────────────────────── */
.contact-info-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail { display: flex; align-items: flex-start; gap: 14px; }
.contact-detail__icon { color: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.contact-detail__label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.contact-detail__value { font-size: 14px; color: var(--text-muted); }
.contact-detail__value a { color: var(--yellow); }
.emergency-bar {
  background: var(--yellow);
  color: #000;
  padding: 20px 32px;
  margin-top: calc(var(--topbar-h) + var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.emergency-bar p { font-size: 14px; font-weight: 700; color: #000; margin: 0; }
.emergency-bar a { font-size: 20px; font-weight: 900; color: #000; }

/* ── Responsive: new components ──────────────────────────── */
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .usp-row { grid-template-columns: 40px 1fr; gap: 16px; }
  .usp-row p, .usp-row__icon { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 480px) {
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* ── Services tab nav ────────────────────────────────────── */
.svc-tabs {
  position: sticky;
  top: calc(var(--topbar-h) + var(--nav-h));
  z-index: 50;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.svc-tabs__inner {
  display: flex;
  overflow-x: auto;
  gap: 0;
  scrollbar-width: none;
}
.svc-tabs__inner::-webkit-scrollbar { display: none; }
.svc-tab {
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.svc-tab:hover,
.svc-tab.active { color: var(--yellow); border-bottom-color: var(--yellow); }

/* ── Services split layout ───────────────────────────────── */
.svc-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.svc-split__intro {
  position: sticky;
  top: calc(var(--topbar-h) + var(--nav-h) + 60px + 24px);
}
.svc-num {
  font-size: 88px;
  font-weight: 900;
  color: rgba(245,196,0,0.08);
  line-height: 1;
  margin-bottom: -12px;
}
.grid-1 { display: grid; grid-template-columns: 1fr; gap: 16px; }

@media (max-width: 900px) {
  .svc-split { grid-template-columns: 1fr; gap: 32px; }
  .svc-split__intro { position: static; }
  .svc-num { font-size: 64px; }
}
