/* ============================================
   Engineering Support UK — Company Website
   Navy + teal design system / Space Grotesk
   ============================================ */

:root {
  --white: #ffffff;
  --grey-50: #f7f9fb;
  --grey-100: #edf1f5;
  --grey-200: #d4dce6;
  --grey-400: #8d9bae;
  --grey-600: #556275;
  --navy: #0f2137;
  --navy-light: #162d4a;
  --navy-divider: #2a4058;
  --text: #1c2d3f;
  --text-light: #4a5e73;
  --teal: #0891b2;
  --teal-light: #7dd3e8;
  --teal-bg: rgba(8, 145, 178, 0.08);
  --font: 'Space Grotesk', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-w: 1200px;
  --radius: 8px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }
ul { list-style: none; }
.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---- Top Bar ---- */
.topbar {
  background: var(--navy);
  color: var(--grey-200);
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}
.topbar-location { color: var(--grey-400); }
.topbar-contact { display: flex; gap: 24px; }
.topbar a {
  color: var(--grey-200);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.topbar a svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.topbar a:hover { color: var(--white); }

/* ---- Navigation ---- */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.header-scrolled {
  box-shadow: 0 4px 20px rgba(15, 33, 55, 0.07);
  border-bottom-color: var(--grey-100);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand span { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}
.header-phone:hover { color: var(--teal); }
.header-phone svg { flex-shrink: 0; }
.main-nav, [data-nav] { display: flex; gap: clamp(16px, 2.5vw, 34px); align-items: center; }
.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--navy); }
.main-nav .nav-btn {
  background: var(--teal);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s;
}
.main-nav .nav-btn:hover {
  background: #0e7490;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(15, 33, 55, 0.2);
}
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: 0.3s;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--white);
  color: var(--navy);
  padding: 96px 0 0;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 56px;
}
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1 1 520px;
  max-width: 880px;
}
.hero-image {
  flex: 1 1 340px;
  min-width: 300px;
  position: relative;
}
.hero-image img {
  width: 100%;
  min-height: 340px;
  border-radius: 12px;
  object-fit: cover;
}
.hero-overlay-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--navy);
  border-radius: 10px;
  padding: 14px 18px;
  max-width: 250px;
  box-shadow: 0 12px 28px rgba(15,33,55,0.25);
}
.hero-overlay-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 4px;
}
.hero-overlay-text {
  display: block;
  font-size: 14.5px;
  color: var(--white);
  line-height: 1.4;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin-bottom: 24px;
}
.hero-rule {
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--navy);
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(38px, 5.6vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  margin-bottom: 24px;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.hero p {
  font-size: 1.08rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover {
  background: #0e7490;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(15, 33, 55, 0.2);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  padding: 18px 36px;
}
.btn-white:hover {
  background: var(--grey-100);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--navy-divider);
}
.btn-outline-white:hover {
  border-color: var(--teal);
  color: var(--white);
}
.btn-outline-teal { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline-teal:hover { background: var(--teal); color: var(--white); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 1.5px solid var(--grey-200); }
.btn-outline-navy:hover { background: var(--grey-50); color: var(--navy); }
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  border-top: 1px solid var(--grey-100);
  margin-top: 72px;
}
.hero-stat-cell {
  flex: 1 1 220px;
  padding: 30px 24px;
  border-right: 1px solid var(--grey-100);
}
.hero-stat-cell:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section-alt { background: var(--grey-50); }
.section-grey {
  background: var(--grey-50);
  border-top: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
}
.section-dark { background: var(--navy); color: var(--white); }
.section-label {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-dark .section-label { color: var(--teal-light); }
.section-title {
  font-family: var(--font);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.7;
}
.section-dark .section-desc { color: var(--grey-400); }
.section-head { margin-bottom: 56px; }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head-center { text-align: center; }
.section-head-center .section-desc { margin: 0 auto; }

/* ---- Clients Band ---- */
.clients-band {
  background: var(--grey-50);
  border-top: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
  padding: 34px 0;
  position: relative;
  overflow: hidden;
}
/* Blueprint grid texture */
.clients-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,33,55,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,33,55,0.028) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.clients-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.clients-band-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.client-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--grey-400);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ---- Services Grid ---- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.svc-cell {
  background: var(--white);
  padding: 36px 32px;
  position: relative;
  transition: background 0.2s;
  border-bottom: 1px solid var(--grey-100);
}
/* Vertical dividers between columns */
.svc-cell:not(:nth-child(3n))::after {
  content: '';
  position: absolute;
  right: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--grey-100);
}
.svc-cell:hover { background: var(--grey-50); }
.svc-cell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}
.svc-cell-top svg {
  color: var(--navy);
  stroke-width: 1.8;
}
.svc-index {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-400);
}
.svc-cell h3 {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}
.svc-cell p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- Why Us (Dark Band) ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-item {
  border-top: 2px solid var(--navy-divider);
  padding-top: 24px;
}
.section-dark .why-item { border-top-color: var(--navy-divider); }
.why-index {
  display: block;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 14px;
}
.why-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 145, 178, 0.14);
  color: var(--teal);
  border-radius: 50%;
}
.why-icon svg {
  width: 22px;
  height: 22px;
}
.why-item h3 {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.section-dark .why-item h3 { color: var(--white); }
.why-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}
.section-dark .why-item p { color: var(--grey-400); }

/* ---- About (homepage) ---- */
.section#about .about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  align-items: center;
}
.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}
.about-caption {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--grey-400);
  margin-top: 10px;
}
.about-text p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 16.5px;
}

/* ---- Features / Stats ---- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-item { text-align: center; padding: 24px 16px; }
.feature-num {
  font-family: var(--font);
  font-size: 36px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.feature-label {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}
.section-dark .feature-label { color: var(--grey-400); }

/* ---- Recent Work / Case Study Cards ---- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.work-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.work-card:hover {
  box-shadow: 0 16px 40px rgba(15, 33, 55, 0.08);
  transform: translateY(-2px);
}
.work-card-img {
  height: 220px;
  overflow: hidden;
}
.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-card-body { padding: 28px; }
.work-card-body h3 {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.work-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}
.work-card-quote {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-light);
  border-left: 3px solid var(--teal);
  padding-left: 14px;
  margin-top: 16px;
  line-height: 1.7;
}

/* ---- Case Study Cards (homepage) ---- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.case-card:hover {
  box-shadow: 0 16px 40px rgba(15,33,55,0.08);
  border-color: var(--grey-200);
}
.case-img { aspect-ratio: 16/10; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px; }
.case-meta { display: flex; justify-content: space-between; align-items: center; }
.case-client {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
}
.case-sector { font-size: 12.5px; color: var(--grey-400); }
.case-body h3 {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
}
.case-result {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.65;
}
.case-quote {
  border-top: 1px solid var(--grey-100);
  padding-top: 14px;
  margin: 0;
}
.case-quote p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 4px;
}
.case-quote cite {
  font-size: 13px;
  color: var(--grey-400);
  font-style: normal;
}

/* ---- Testimonials ---- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.t-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.3s;
}
.t-card:hover {
  box-shadow: 0 16px 40px rgba(15, 33, 55, 0.08);
}
.t-stars { color: var(--teal); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.t-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}
.t-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.t-role { font-size: 0.8rem; color: var(--grey-400); margin-top: 2px; }

/* ---- Coverage Strip ---- */
.coverage-strip { padding: 64px 0; }
.coverage-inner {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}
.coverage-inner .section-label { margin-bottom: 0; }
.coverage-strip p {
  font-size: 16px;
  color: var(--text-light);
  margin: 0;
}

/* ---- Service Area ---- */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.area-pill {
  padding: 8px 18px;
  background: var(--teal-bg);
  border: 1px solid rgba(8, 145, 178, 0.15);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal);
}

/* ---- CTA Card ---- */
.cta-strip {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
}
.cta-section { padding: 0 0 104px; }
.cta-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 72px 48px;
  text-align: center;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-card h2 {
  font-family: var(--font);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-card p {
  font-size: 1rem;
  color: var(--grey-400);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
/* Legacy cta-inner kept for backward compat */
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 700;
}
.cta-inner p { font-size: 0.9rem; opacity: 0.85; margin-top: 4px; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover {
  background: var(--navy-light);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(15, 33, 55, 0.2);
}

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  color: var(--grey-400);
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand span { color: var(--teal); }
.footer-desc { font-size: 0.85rem; line-height: 1.7; max-width: 300px; }
.footer h4 {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-200);
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--grey-400);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal-light); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--navy-divider);
  font-size: 0.78rem;
  color: var(--grey-600);
  display: flex;
  justify-content: space-between;
}

/* ---- Page Header (inner pages) ---- */
.page-top {
  background: var(--grey-50);
  color: var(--navy);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--grey-100);
}
.page-top h1 {
  font-family: var(--font);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.page-top p { color: var(--text-light); font-size: 1rem; max-width: 560px; line-height: 1.7; }

/* ---- Service Detail Blocks ---- */
.svc-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--grey-100);
  align-items: start;
}
.svc-block:last-child { border-bottom: none; }
.svc-block-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-bg);
  color: var(--teal);
  border-radius: 10px;
}
.svc-block-icon svg {
  width: 24px;
  height: 24px;
}
.svc-block h3 {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.svc-block p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.svc-block p:last-child { margin-bottom: 0; }
.faq-item { display: block; }
.svc-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.about-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
}
.about-text h2 {
  font-family: var(--font);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

/* Timeline */
.tl { position: relative; padding-left: 24px; margin-top: 12px; }
.tl::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--grey-200);
}
.tl-item { position: relative; padding: 0 0 36px 24px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
  border: 2px solid var(--grey-50);
}
.tl-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.tl-item h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.tl-company {
  font-size: 0.85rem;
  color: var(--grey-400);
  margin-bottom: 10px;
}
.tl-item p:not(.tl-company):not(.tl-date) {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Certs */
.certs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.cert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
}
.cert-tick { color: var(--teal); font-weight: 700; font-size: 1rem; }

/* ---- Portfolio ---- */
.port-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.port-card {
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.port-card:hover {
  box-shadow: 0 16px 40px rgba(15, 33, 55, 0.08);
  transform: translateY(-2px);
}
.port-img {
  height: 220px;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--grey-100);
}
.port-img span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.port-img svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.port-img img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 33, 55, 0.92);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--grey-200);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--white); }

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  padding: 14px 0;
  font-size: 0.82rem;
  color: var(--grey-400);
}
.breadcrumbs a { color: var(--grey-400); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs span { margin: 0 6px; }

/* ---- Key Takeaways ---- */
.takeaways {
  background: var(--teal-bg);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin-bottom: 36px;
}
.takeaways h3 {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.takeaways ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}
.takeaways li {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 6px;
}
.takeaways li:last-child { margin-bottom: 0; }

/* ---- Blog ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.blog-card {
  display: block;
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  box-shadow: 0 16px 40px rgba(15, 33, 55, 0.08);
  transform: translateY(-2px);
  color: inherit;
}
.blog-card-img {
  height: 180px;
  background: var(--grey-100);
  overflow: hidden;
  border-bottom: 1px solid var(--grey-100);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 28px; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.blog-card-meta time {
  font-size: 13px;
  color: var(--grey-400);
}
.blog-card h3 {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}
.blog-read-more {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
}
.blog-card:hover .blog-read-more { color: var(--navy); }

/* Blog Article */
.blog-article {
  max-width: 760px;
  margin: 0 auto;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--grey-400);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--grey-100);
}
.blog-article h2 {
  font-family: var(--font);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
  letter-spacing: -0.02em;
}
.blog-article p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.blog-article ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}
.blog-article li {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.blog-article a { color: var(--teal); text-decoration: underline; }
.blog-article a:hover { color: var(--navy); }
.blog-figure {
  margin: 32px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 33, 55, 0.1);
}
.blog-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-figure figcaption {
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--text-light);
  background: var(--grey-50);
  line-height: 1.6;
}
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-100);
}
.blog-tag {
  padding: 4px 12px;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
}
.blog-nav {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.port-body { padding: 28px; }
.port-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: var(--teal-bg);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.port-card h3 {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.port-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.c-item {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
}
.c-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-bg);
  color: var(--teal);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.c-icon svg {
  width: 20px;
  height: 20px;
}
.c-item h4 {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.c-item p, .c-item a { font-size: 0.9rem; color: var(--text-light); }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border 0.2s;
}
.field input:focus,
.field textarea:focus { border-color: var(--teal); }
.field textarea { resize: vertical; min-height: 120px; }

/* ---- Scroll Reveal ---- */
[data-rv] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-rv].rv-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Touch-friendly ---- */
a, button, .btn, input, textarea, select, [role="button"] {
  touch-action: manipulation;
}

/* ---- Burger Animation ---- */
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .topbar-location { display: none; }
  .topbar-inner { justify-content: center; }
  .hero-grid { flex-direction: column; gap: 40px; }
  .hero-content { text-align: center; max-width: 100%; }
  .hero-content .hero-eyebrow { justify-content: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat-cell { border-right: none; border-bottom: 1px solid var(--grey-100); }
  .hero-stat-cell:last-child { border-bottom: none; }
  .hero-image { max-width: 480px; margin: 0 auto; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-cell:not(:nth-child(3n))::after { display: none; }
  .svc-cell:not(:nth-child(2n))::after {
    content: '';
    position: absolute;
    right: 0;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: var(--grey-100);
    display: block;
  }
  .features { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo img { max-width: 320px; }
  .about-image img { max-width: 100%; }
  .about-teaser { grid-template-columns: 1fr; gap: 32px; }
  .about-teaser-img img { max-width: 400px; height: 340px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .port-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .clients-band-inner { justify-content: center; text-align: center; }
  .coverage-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta-card { padding: 48px 32px; }
  .cta-card h2 { font-size: clamp(24px, 4vw, 36px); }

  /* Mobile nav */
  [data-nav] {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 76px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(15, 33, 55, 0.1);
  }
  [data-nav].open { display: flex; }
  .header-actions { display: none; }
  .burger { display: flex; }
}
@media (max-width: 600px) {
  .topbar { font-size: 0.75rem; }
  .topbar-inner { justify-content: center; gap: 20px; font-size: 0.78rem; }
  .topbar-contact { flex-direction: column; gap: 4px; align-items: center; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-cell::after { display: none !important; }
  .features { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 56px 0; }
  .section-title { font-size: clamp(24px, 5vw, 32px); }
  .hero { padding: 48px 0 0; }
  .hero h1 { font-size: clamp(28px, 8vw, 42px); }
  .hero-stats { gap: 20px; }
  .hero-stat-cell { flex: 1 1 100%; }
  .hero-overlay-card { left: 12px; bottom: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .cta-card { padding: 36px 20px; border-radius: 12px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .svc-block { grid-template-columns: 1fr; gap: 16px; }
  .clients-band-inner { gap: 16px; }
  .client-name { font-size: 0.8rem; }
  .page-top { padding: 56px 0 40px; }
  .page-top h1 { font-size: clamp(24px, 5vw, 36px); }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ---- Sticky Call Button (mobile) ---- */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 150;
  width: 56px;
  height: 56px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.4);
  transition: background 0.2s, transform 0.2s;
}
.sticky-call:hover { background: #0e7490; color: var(--white); transform: scale(1.08); }
.sticky-call svg { width: 24px; height: 24px; }
@media (max-width: 640px) {
  .sticky-call { display: flex; }
}

/* ---- Cookie Banner ---- */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--navy);
  color: var(--grey-200);
  padding: 18px 0;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.2);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  min-width: 240px;
}
.cookie-inner a { color: var(--teal-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns button {
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.cookie-accept { background: var(--teal); color: var(--white); }
.cookie-accept:hover { background: #0e7490; }
.cookie-decline { background: transparent; color: var(--grey-400); border: 1px solid var(--grey-600) !important; }
.cookie-decline:hover { color: var(--white); border-color: var(--grey-400) !important; }
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; text-align: center; }
  .cookie-btns { width: 100%; justify-content: center; }
  .sticky-call.has-cookie { bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  [data-rv] { opacity: 1; transform: none; }
}
