/* ============================================================
   DGC Ltd  -  Drainage & Groundwork Contractors
   Main Stylesheet
   Design: Navy primary · Source Sans 3 · Yellow accent ≤3%
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;0,900;1,400&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0B2545;
  --navy-dark:   #071830;
  --navy-mid:    #1a3a5c;
  --navy-light:  #1e4976;
  --yellow:      #C8A84B;
  --yellow-light:#d4b86a;
  --white:       #ffffff;
  --off-white:   #f8f9fb;
  --gray-light:  #f0f2f5;
  --gray:        #dee2e6;
  --gray-mid:    #9aa0a8;
  --text:        #1c2b3a;
  --text-light:  #4a5568;
  --border:      #dde3ea;
  --radius:      6px;
  --shadow-sm:   0 2px 8px rgba(11,37,69,.10);
  --shadow:      0 4px 20px rgba(11,37,69,.14);
  --shadow-lg:   0 8px 40px rgba(11,37,69,.18);
  --transition:  all .25s ease;
  --max-width:   1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-light); }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: .75rem;
}

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 80px 0; }
section:nth-child(even) { background: var(--off-white); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header p { margin-top: .75rem; font-size: 1.1rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  font-family: inherit;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-yellow {
  background: var(--yellow);
  color: var(--navy-dark);
  border: 2px solid var(--yellow);
}
.btn-yellow:hover {
  background: var(--yellow-light);
  border-color: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ── Header & Nav ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(7,24,48,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.25); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 114px;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.nav-logo-wordmark { height: 72px; width: auto; border-radius: 0; }
.nav-logo-mark { height: 64px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 1;
  justify-content: center;
}

.nav-links a, .nav-dropdown > button, .nav-dropdown-trigger {
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  font-weight: 600;
  padding: .5rem .85rem;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: .02em;
}
.nav-links a:hover,
.nav-dropdown > button:hover,
.nav-dropdown-trigger:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > button, .nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: inherit;
}
.nav-dropdown > button svg, .nav-dropdown-trigger svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-dropdown:hover > button svg, .nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-dropdown-trigger { display:flex; align-items:center; gap:.3rem; background:none; border:none; font:inherit; color:inherit; cursor:pointer; font-size:.95rem; font-weight:600; padding:.25rem 0; text-decoration:none; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all .2s ease;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: .7rem 1.2rem;
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
  border-radius: 0;
}
.dropdown-menu a:first-child { border-radius: 10px 10px 0 0; }
.dropdown-menu a:last-child  { border-radius: 0 0 10px 10px; }
.dropdown-menu a:hover { background: var(--off-white); color: var(--navy); padding-left: 1.5rem; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.nav-phone {
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s;
}
.nav-phone:hover { color: var(--white); }
.nav-phone svg { width: 14px; height: 14px; color: var(--yellow); flex-shrink: 0; }

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 88px; left: 0; right: 0;
  background: var(--navy-dark);
  padding: 1rem 0 2rem;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,.08);
  max-height: calc(100vh - 88px);
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: .9rem 1.5rem;
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--white); background: rgba(255,255,255,.05); }
.mobile-nav .mobile-sub { padding-left: 2.5rem; font-size: .9rem; font-weight: 400; }
.mobile-nav .mobile-section { padding: .5rem 1.5rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); font-weight: 700; margin-top: .5rem; }
.mobile-nav .mobile-cta { margin: 1rem 1.5rem 0; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
  padding-top: 88px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-main.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: .35;
  transform: translateY(0);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7,24,48,.85) 0%,
    rgba(11,37,69,.6) 60%,
    rgba(11,37,69,.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(200,168,75,.15);
  border: 1px solid rgba(200,168,75,.4);
  border-radius: 100px;
  padding: .4rem 1rem;
  color: var(--yellow);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-logo-img { height: auto; width: 100%; max-width: 440px; display: block; margin-bottom: 1.25rem; filter: drop-shadow(0 2px 20px rgba(0,0,0,.4)); }

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
  width: fit-content;
}
.hero-stat-item { }
.hero-stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.hero-stat-item span {
  font-size: .8rem;
  color: var(--yellow-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--navy);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  font-weight: 600;
}
.trust-item svg { color: var(--yellow); width: 18px; height: 18px; flex-shrink: 0; }

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--navy);
  transform: scaleY(0);
  transition: transform .3s ease;
  transform-origin: bottom;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy); }
.service-card:hover::before { transform: scaleY(1); }

.service-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.service-card p { font-size: .9rem; line-height: 1.6; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: gap .2s;
}
.service-link:hover { gap: .7rem; }

/* ── Why Choose DGC ── */
/* Use section.why-section for specificity parity with section:nth-child(even) */
section.why-section { background: var(--navy); }
.why-section .section-header h2,
.why-section .section-header p { color: var(--white); }
.why-section .section-header p { opacity: .8; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 1.75rem;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}
.why-card-icon {
  color: var(--yellow);
  margin-bottom: 1rem;
}
.why-card-icon svg { width: 32px; height: 32px; }
.why-card h4 { color: var(--white); margin-bottom: .5rem; }
.why-card p { color: rgba(255,255,255,.65); font-size: .9rem; }

/* ── Projects ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.project-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-img {
  height: 220px;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
.project-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.project-card:hover .project-img img { transform: scale(1.05); }
.project-type {
  position: absolute;
  top: .75rem; left: .75rem;
  background: var(--navy);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 100px;
}
.project-body { padding: 1.5rem; }
.project-body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.project-body p { font-size: .9rem; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/service-civil-engineering.jpg') center/cover;
  opacity: .08;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; align-items: center; }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 5rem;
  color: var(--navy);
  opacity: .08;
  font-family: Georgia, serif;
  line-height: 1;
}
.stars { color: var(--yellow); font-size: 1rem; margin-bottom: .75rem; letter-spacing: .1em; }
.testimonial-card blockquote {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.testimonial-author-info strong { display: block; font-size: .9rem; color: var(--navy); }
.testimonial-author-info span { font-size: .8rem; color: var(--gray-mid); }

/* ── Coverage Area ── */
.coverage { background: var(--off-white); }
.coverage-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.coverage-map {
  background: var(--navy);
  border-radius: 16px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.coverage-map img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.coverage-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.coverage-map-overlay svg { color: var(--yellow); width: 48px; height: 48px; margin-bottom: 1rem; }
.coverage-map-overlay h3 { color: var(--white); font-size: 1.5rem; }
.coverage-map-overlay p { color: rgba(255,255,255,.7); margin-top: .5rem; }

.coverage-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 1.5rem 0 2rem; }
.coverage-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text-light);
  font-weight: 500;
}
.coverage-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
}

/* ── Jobs / Careers ── */
.jobs-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.jobs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/service-civil-engineering.jpg') center/cover;
  opacity: .08;
}
.jobs-hero-inner { position: relative; z-index: 1; }
.jobs-hero h1 { color: var(--white); }
.jobs-hero p { color: rgba(255,255,255,.75); font-size: 1.15rem; max-width: 600px; margin: 1rem auto 0; }

.jobs-list { display: flex; flex-direction: column; gap: 1.25rem; }
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: var(--transition);
}
.job-card:hover { box-shadow: var(--shadow); border-color: var(--navy); transform: translateX(4px); }
.job-info { flex: 1; }
.job-info h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.job-meta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.job-meta span {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  color: var(--text-light);
  font-weight: 500;
}
.job-meta svg { width: 14px; height: 14px; color: var(--navy); }
.job-type-badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: rgba(11,37,69,.08);
  color: var(--navy);
  margin-top: .6rem;
}

.jobs-cta-box {
  background: var(--navy);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  margin-top: 3rem;
}
.jobs-cta-box h3 { color: var(--white); font-size: 1.5rem; margin-bottom: .75rem; }
.jobs-cta-box p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: .5rem; }
.contact-info p { margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; }
.contact-detail-text strong { display: block; font-size: .85rem; color: var(--navy); margin-bottom: .15rem; }
.contact-detail-text span { font-size: .95rem; color: var(--text-light); }
.contact-detail-text a { color: var(--text-light); }
.contact-detail-text a:hover { color: var(--navy); }

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-box h3 { margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11,37,69,.08);
}
.form-group textarea { min-height: 130px; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/service-civil-engineering.jpg') center/cover;
  opacity: .08;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.72); font-size: 1.1rem; margin-top: .75rem; max-width: 600px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: .4; }

/* ── Services Nav Pills ── */
.services-nav-pills {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}
.services-nav-pills .pill {
  display: inline-block;
  padding: .5rem 1.25rem;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gray-light);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
}
.services-nav-pills .pill:hover,
.services-nav-pills .pill.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── Services Page ── */
.services-detail { padding: 80px 0; }
.service-detail { padding: 80px 0; }
.service-detail--alt { background: var(--off-white); }
.service-detail-body {
  /* alias for service-detail-text */
}
.service-detail-body h2 { margin-bottom: 1rem; }
.service-detail-body p { margin-bottom: 1rem; }
.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border);
}
.service-detail-card:last-child { border-bottom: none; margin-bottom: 0; }
.service-detail-card.reverse { direction: rtl; }
.service-detail-card.reverse > * { direction: ltr; }
.service-detail-img {
  border-radius: 16px;
  overflow: hidden;
  height: 340px;
  background: var(--navy-mid);
}
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; }
/* Portrait display for maintenance image */
#maintenance .service-detail-card { grid-template-columns: 2fr 3fr; }
#maintenance .service-detail-img { height: 520px; }
.service-detail-text h2 { margin-bottom: 1rem; }
.service-detail-text p { margin-bottom: 1rem; }
.service-features { margin: 1.25rem 0; }
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .5rem 0;
  font-size: .93rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--gray-light);
}
.service-features li:last-child { border-bottom: none; }
.service-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: .2rem;
  color: var(--navy);
}

/* ── Projects Page ── */
.projects-filter {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gray-light);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.footer-logo-wordmark { height: auto; width: 100%; max-width: 240px; border-radius: 0; }
.footer-ciom {
  margin-top: 0;
}
.ciom-logo { height: 88px; width: auto; transition: opacity .2s; opacity: .9; display: block; }
.ciom-logo:hover { opacity: 1; }
/* Contact column: CIOM floats top-right, heading + list flow normally */
.footer-contact-header {
  position: relative;
  margin-bottom: 1.25rem;
}
.footer-contact-header h5 { margin-bottom: 0; }
.footer-contact-header .footer-ciom {
  position: absolute;
  top: 0;
  right: 0;
}
.footer-ciom { margin-top: 0; }

.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-contact-detail {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .75rem;
  font-size: .88rem;
}
.footer-contact-detail svg { color: var(--yellow); width: 15px; height: 15px; flex-shrink: 0; }
.footer-contact-detail a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-contact-detail a:hover { color: var(--white); }

.footer-col h5 {
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-certifications {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.cert-badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .5rem .85rem;
  font-size: .75rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .82rem; }
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--white); }

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 480px;
  background: var(--navy-dark);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { color: rgba(255,255,255,.75); font-size: .85rem; margin-bottom: 1rem; }
.cookie-banner p a { color: var(--yellow); text-decoration: underline; }
.cookie-actions { display: flex; gap: .75rem; }
.cookie-actions .btn { font-size: .85rem; padding: .6rem 1.2rem; }

/* ── Scroll to top ── */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 500;
  box-shadow: var(--shadow);
  border: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--navy-light); transform: translateY(-2px); }
.scroll-top svg { width: 20px; height: 20px; }

/* ── Animations ── */
/* Transform-only slide: content is ALWAYS fully visible.
   Elements slide up smoothly when they enter the viewport.
   No opacity hiding  -  impossible for content to become invisible. */
.js-loaded .fade-in { transform: translateY(18px); transition: transform .55s ease; }
.js-loaded .fade-in.visible { transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .coverage-inner { grid-template-columns: 1fr; }
  .coverage-map { height: 280px; }
  .service-detail-card { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail-card.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav-links, .nav-cta .btn, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .trust-bar-inner { gap: 1.5rem; }
  .job-card { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .coverage-list { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-box { padding: 1.5rem; }
}

/* ============================================================
   Blog System
   ============================================================ */

/* ── Filter Pills ── */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-pill {
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.filter-pill:hover { background: var(--navy); color: var(--white); }
.filter-pill.active { background: var(--navy); color: var(--white); }

/* ── Blog Grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Blog Card ── */
.blog-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid var(--border);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-card-img-link { display: block; }

.blog-card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
}

.blog-placeholder-img {
  height: 220px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ── Category Pills ── */
.blog-card-category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
}

.cat-project-update { background: rgba(11,37,69,.1); color: var(--navy); }
.cat-insight { background: rgba(0,130,130,.1); color: #007a7a; }
.cat-news { background: rgba(180,120,0,.1); color: #a06400; }

/* ── Card Content ── */
.blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 8px;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.blog-card-title a:hover { color: var(--navy-light); }

.blog-card-excerpt {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.blog-card-link {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.blog-card-link:hover { text-decoration: underline; }

/* ── Project Badge ── */
.project-badge {
  display: inline-block;
  background: rgba(11,37,69,.08);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ── Load More ── */
.blog-load-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ── Loading State ── */
.blog-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--text-light);
}

.blog-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--gray);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--text-light);
  font-size: 16px;
}

/* ── Single Post Layout ── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.post-content { min-width: 0; }

.post-breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.post-breadcrumb a { color: var(--text-light); text-decoration: none; }
.post-breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.post-breadcrumb span { color: var(--gray-mid); }

/* ── Post Body Typography ── */
.post-body p { margin-bottom: 1.4em; font-size: 16px; line-height: 1.75; color: var(--text); }
.post-body h3 { color: var(--navy); font-size: 1.2rem; font-weight: 700; margin: 2em 0 .7em; }
.post-body h4 { color: var(--navy); font-size: 1.05rem; font-weight: 700; margin: 1.6em 0 .5em; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.4em; }
.post-body li { margin-bottom: .5em; font-size: 16px; line-height: 1.65; color: var(--text); }
.post-body strong { color: var(--navy); font-weight: 700; }
.post-body a { color: var(--navy); text-decoration: underline; }
.post-body a:hover { opacity: .8; }

/* ── Post Sidebar ── */
.post-sidebar { position: sticky; top: 100px; }

.post-sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

/* ── Post CTA ── */
.post-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  margin-top: 60px;
}

.post-cta h2 { color: var(--white); font-size: 1.6rem; margin-bottom: 12px; }
.post-cta p { color: rgba(255,255,255,.8); font-size: 16px; max-width: 560px; margin: 0 auto; }

/* ── Blog Responsive ── */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr 280px; gap: 32px; }
  .post-sidebar { position: static; }
}

@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { order: -1; }
  .post-sidebar { position: static; }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-filters { gap: 8px; }
  .filter-pill { padding: 6px 14px; font-size: 13px; }
  .post-cta { padding: 32px 20px; }
  .post-cta h2 { font-size: 1.3rem; }
}
