/*
Theme Name: Chint Engineering
Theme URI: https://ce.co.mw
Author: Chint Engineering
Description: Premium dark-theme engineering site for Chint Engineering, Malawi. Features Inter + JetBrains Mono typography, clickable service/project image grids, transparent logo, and scroll-reveal animations.
Version: 1.2.0
License: GNU General Public License v2 or later
Text Domain: chint-engineering
Tags: engineering, corporate, dark, responsive, custom-menu, featured-images
*/

/* ================================================================
   GOOGLE FONTS — loaded via functions.php wp_enqueue_style
   Inter (UI) + JetBrains Mono (technical accents)
================================================================ */

/* ================================================================
   CSS CUSTOM PROPERTIES
================================================================ */
:root {
  /* Palette */
  --bg-deep:     #080d1a;
  --bg-dark:     #0d1424;
  --bg-card:     #111827;
  --bg-card2:    #141d2e;
  --border:      rgba(255,255,255,0.07);
  --border-hover:rgba(59,111,212,0.35);

  /* Text */
  --text-white:  #ffffff;
  --text-sub:    #c5d0e0;
  --text-muted:  #8899b4;

  /* Accent */
  --accent-blue: #3b6fd4;
  --accent-blue-light: #5b8ff0;
  --accent-orange:#e87c2a;
  --accent-slate: #7b8fa8;
  --accent-green: #22c55e;

  /* Shape */
  --radius-card: 16px;
  --radius-sm:   10px;
  --radius-btn:  50px;

  /* Layout */
  --nav-h:       72px;
  --max-w:       1400px;
  --px:          80px;

  /* Motion */
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --t:           0.3s;
  --t-slow:      0.65s;

  /* Typography */
  --font-ui:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

/* ================================================================
   BASE RESET
================================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg-deep);
  color: var(--text-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration:none; color:inherit; }
img { max-width:100%; height:auto; display:block; }
ul,ol { list-style:none; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-ui);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ================================================================
   MONO LABEL — JetBrains Mono for technical text
================================================================ */
.mono-label,
.section-eyebrow,
.stat-label,
.hero-eyebrow,
.service-img-tag,
.project-img-cat,
.project-category,
.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ================================================================
   STICKY HEADER
================================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(8,13,26,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
#site-header.scrolled {
  background: rgba(8,13,26,0.98);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* LOGO */
.site-branding { display:flex; align-items:center; flex-shrink:0; }
.site-branding a { display:flex; align-items:center; gap:10px; }


.logo-text { display:flex; flex-direction:column; line-height:1; }
.brand-name {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-white);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-top: 3px;
}
.custom-logo { height:44px; width:auto; }

/* PRIMARY NAV — flat, no dropdown */
#primary-navigation { display:flex; align-items:center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-menu > li > a {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
  display: block;
  position: relative;
  transition: color var(--t) var(--ease);
}
.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent-blue);
  border-radius: 2px;
  transition: width 0.28s var(--ease);
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
  color: var(--text-white);
}
.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after { width: 100%; }

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  background: var(--text-white);
  color: var(--bg-deep);
  border-radius: var(--radius-btn);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--text-white);
  white-space: nowrap;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.header-cta:hover {
  background: transparent;
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,255,255,0.12);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--t) var(--ease);
}
.menu-toggle.toggled span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.menu-toggle.toggled span:nth-child(2) { opacity:0; transform:scaleX(0); }
.menu-toggle.toggled span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-navigation {
  display: none;
  position: fixed;
  top: var(--nav-h); left:0; right:0; bottom:0;
  background: var(--bg-deep);
  z-index: 998;
  padding: 32px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.mobile-navigation.open { transform:translateX(0); display:block; }
.mobile-menu a {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-sub);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t) var(--ease);
}
.mobile-menu a:hover { color: var(--text-white); }

/* ================================================================
   PAGE WRAPPER
================================================================ */
#page { padding-top: var(--nav-h); }

/* ================================================================
   BUTTON SYSTEM
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--radius-btn);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease),
              border-color var(--t) var(--ease), transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}
.btn svg { width:16px; height:16px; flex-shrink:0; transition:transform var(--t) var(--ease); }
.btn:hover svg { transform:translateX(4px); }

.btn-white {
  background: var(--text-white);
  color: var(--bg-deep);
  border-color: var(--text-white);
}
.btn-white:hover {
  background: transparent;
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,255,255,0.12);
}
.btn-outline {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

/* ================================================================
   HERO SECTION
================================================================ */
.hero-section {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px var(--px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(59,111,212,0.1);
  border: 1px solid rgba(59,111,212,0.22);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 36px;
  width: fit-content;
}
.pulse-dot {
  width:7px; height:7px;
  background: var(--accent-green);
  border-radius:50%;
  flex-shrink:0;
  animation: pulse-anim 2.2s infinite;
}
@keyframes pulse-anim {
  0%,100% { box-shadow:0 0 0 0 rgba(34,197,94,.5); }
  50%      { box-shadow:0 0 0 7px rgba(34,197,94,0); }
}
.hero-title {
  font-family: var(--font-ui);
  font-size: clamp(48px,5.5vw,82px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.hero-title .accent        { color: var(--accent-slate); }
.hero-title .accent-italic { color: var(--accent-slate); font-style:italic; }
.hero-description {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 48px;
}
.hero-actions { display:flex; gap:16px; flex-wrap:wrap; }

/* Hero image panel */
.hero-right { position:relative; overflow:hidden; }
.hero-image-container {
  position: absolute;
  inset: 24px 0 24px 24px;
  border-radius: var(--radius-card) 0 0 var(--radius-card);
  overflow: hidden;
  background: var(--bg-card2);
}
.hero-image-container img {
  width:100%; height:100%; object-fit:cover;
  transition: transform 0.9s var(--ease);
}
.hero-image-container:hover img { transform:scale(1.04); }
.hero-image-container::after {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(145deg,rgba(8,13,26,.28) 0%,transparent 55%);
  pointer-events:none;
}
.hero-cert-badge {
  position: absolute;
  bottom: 48px; right: 24px;
  z-index: 10;
  background: rgba(13,20,36,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 290px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-6px); }
}
.cert-badge-icon {
  width:46px; height:46px;
  background: var(--bg-card);
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.cert-badge-icon svg { width:22px; height:22px; color:var(--accent-blue); }
.cert-badge-text strong { display:block; font-size:15px; font-weight:700; margin-bottom:3px; }
.cert-badge-text span   { font-size:12px; color:var(--text-muted); line-height:1.4; }

/* ================================================================
   STATS BAR
================================================================ */
.stats-bar {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px var(--px);
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.stat-item {
  padding: 0 44px;
  border-right: 1px solid var(--border);
}
.stat-item:first-child { padding-left:0; }
.stat-item:last-child  { border-right:none; }
.stat-number {
  font-family: var(--font-mono);
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

/* ================================================================
   SECTION UTILITIES
================================================================ */
.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px var(--px);
}
.section-heading {
  font-family: var(--font-ui);
  font-size: clamp(36px,4.5vw,62px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.section-heading .dim { color:var(--accent-slate); }
.section-intro {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
}
.section-header-center {
  text-align: center;
  margin-bottom: 64px;
}
.section-header-center .section-intro { margin:0 auto; }

/* ================================================================
   HOME PAGE — SERVICE PREVIEW CARDS (3-up)
================================================================ */
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t) var(--ease),
              transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}
.service-card-thumbnail {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--bg-card2);
}
/* HOVER: image zoom + brighten */
.service-card-thumbnail img {
  width:100%; height:100%; object-fit:cover;
  transition: transform var(--t-slow) var(--ease), filter 0.4s var(--ease);
}
.service-card:hover .service-card-thumbnail img {
  transform: scale(1.08);
  filter: brightness(1.12);
}
.service-card-content { padding:26px 28px 32px; }
.service-icon {
  width:50px; height:50px;
  background: var(--bg-card2);
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:20px;
  transition: background var(--t) var(--ease);
}
.service-card:hover .service-icon { background:rgba(59,111,212,0.15); }
.service-icon svg { width:22px; height:22px; color:var(--text-sub); transition:color var(--t) var(--ease); }
.service-card:hover .service-icon svg { color:var(--accent-blue-light); }
.service-card-title { font-size:22px; font-weight:700; margin-bottom:12px; }
.service-card-text  { font-size:14px; color:var(--text-muted); line-height:1.65; margin-bottom:24px; }
.learn-more {
  display:inline-flex; align-items:center; gap:8px;
  font-size:14px; font-weight:600; color:var(--text-white);
  position:relative; padding-bottom:3px;
  transition: gap var(--t) var(--ease);
}
.learn-more::after {
  content:'';
  position:absolute; bottom:0; left:0;
  width:0; height:1px; background:var(--text-white);
  transition: width 0.3s var(--ease);
}
.learn-more:hover { gap:14px; }
.learn-more:hover::after { width:100%; }
.learn-more svg { width:15px; height:15px; transition:transform 0.25s var(--ease); }
.learn-more:hover svg { transform:translateX(4px); }

/* ================================================================
   SERVICES LANDING PAGE — IMAGE GRID
================================================================ */
.services-page-hero {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  padding: 100px var(--px) 80px;
}
.services-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero-title {
  font-family: var(--font-ui);
  font-size: clamp(42px,5.5vw,80px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 16px 0 20px;
}
.page-hero-title .dim { color:var(--accent-slate); }
.page-hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
}
.services-landing-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px var(--px) 100px;
}

/* 3-column image grid */
.services-image-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  margin-bottom: 80px;
}

/* Service image card — fully clickable */
.service-img-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  /* HOVER LIFT */
  transition: border-color var(--t) var(--ease),
              transform 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.service-img-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 28px 72px rgba(0,0,0,0.55);
}
.service-img-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: var(--bg-card2);
}
/* HOVER ZOOM on image */
.service-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.45s var(--ease);
}
.service-img-card:hover .service-img-wrap img {
  transform: scale(1.09);
  filter: brightness(1.1);
}
.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,13,26,0.72) 0%, rgba(8,13,26,0.1) 60%, transparent 100%);
  transition: opacity var(--t) var(--ease);
}
.service-img-card:hover .service-img-overlay {
  opacity: 0.85;
}
.service-img-body { padding:24px 28px 30px; }
.service-img-tag  {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-blue-light);
  margin-bottom: 10px;
}
.service-img-title {
  font-family: var(--font-ui);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  transition: color var(--t) var(--ease);
}
.service-img-card:hover .service-img-title { color: var(--accent-blue-light); }
.service-img-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-img-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.02em;
  transition: gap var(--t) var(--ease), color var(--t) var(--ease);
}
.service-img-card:hover .service-img-cta { gap:14px; color:var(--accent-blue-light); }
.service-img-cta svg { width:14px; height:14px; transition:transform var(--t) var(--ease); }
.service-img-card:hover .service-img-cta svg { transform:translateX(4px); }

/* ================================================================
   PROJECTS IMAGE GRID
================================================================ */
.projects-image-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 28px;
  margin-bottom: 80px;
}

/* Project image card — fully clickable */
.project-img-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  /* HOVER LIFT */
  transition: border-color var(--t) var(--ease),
              transform 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.project-img-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 28px 72px rgba(0,0,0,0.55);
}
.project-img-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: var(--bg-card2);
}
/* HOVER ZOOM */
.project-img-wrap img {
  width:100%; height:100%; object-fit:cover;
  transition: transform 0.7s var(--ease), filter 0.45s var(--ease);
}
.project-img-card:hover .project-img-wrap img {
  transform: scale(1.07);
  filter: brightness(1.08);
}
.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,13,26,0.65) 0%, rgba(8,13,26,0.05) 50%, transparent 100%);
  transition: opacity var(--t) var(--ease);
}
.project-img-card:hover .project-img-overlay { opacity:0.8; }
.project-img-cat {
  position: absolute;
  top: 18px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-white);
  background: rgba(8,13,26,0.7);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.12);
}
.project-img-body { padding:24px 28px 28px; }
.project-img-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.project-img-title {
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 700;
  transition: color var(--t) var(--ease);
}
.project-img-card:hover .project-img-title { color:var(--accent-blue-light); }
.project-img-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.project-arrow-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  display: flex; align-items:center; justify-content:center;
  flex-shrink: 0;
  transition: background var(--t) var(--ease),
              border-color var(--t) var(--ease),
              transform var(--t) var(--ease);
}
.project-img-card:hover .project-arrow-btn {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: rotate(45deg);
}

/* ================================================================
   CTA BANNER (services & projects pages)
================================================================ */
.services-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 48px 56px;
}
.services-cta-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.services-cta-text p { font-size:15px; color:var(--text-muted); }

/* ================================================================
   ABOUT PAGE
================================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px var(--px) 100px;
}
.about-checklist {
  list-style: none;
  margin: 32px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.55;
}
.about-checklist li svg { width:20px; height:20px; color:var(--accent-blue); flex-shrink:0; margin-top:2px; }
.avatar-row { display:flex; align-items:center; gap:14px; margin-top:40px; }
.avatar-stack { display:flex; }
.avatar-stack img {
  width:44px; height:44px;
  border-radius:50%;
  border:2.5px solid var(--bg-dark);
  object-fit:cover;
  margin-right:-12px;
  transition:transform var(--t) var(--ease);
}
.avatar-stack img:hover { transform:translateY(-3px); z-index:10; }
.avatar-label strong { display:block; font-size:15px; font-weight:700; }
.avatar-label span   { font-size:13px; color:var(--text-muted); }
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 300px auto;
  gap: 16px;
}
.about-img-a, .about-img-b {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card2);
}
.about-img-a img, .about-img-b img {
  width:100%; height:100%; object-fit:cover;
  transition: transform 0.65s var(--ease), filter 0.4s var(--ease);
}
.about-img-a:hover img, .about-img-b:hover img {
  transform:scale(1.05);
  filter:brightness(1.1);
}
.about-location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding:30px 26px;
  display:flex; flex-direction:column; justify-content:center;
  grid-column:2; grid-row:2;
}
.about-location-card h3 { font-size:34px; font-weight:800; margin-bottom:4px; }
.about-location-card span { font-family:var(--font-mono); font-size:11px; letter-spacing:0.2em; text-transform:uppercase; color:var(--text-muted); }

/* ================================================================
   CONTACT PAGE
================================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px var(--px) 100px;
}
.contact-items { display:flex; flex-direction:column; gap:36px; margin-top:20px; }
.contact-item  { display:flex; gap:20px; align-items:flex-start; }
.contact-icon {
  width:52px; height:52px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.contact-item:hover .contact-icon { background:rgba(59,111,212,0.1); border-color:rgba(59,111,212,0.28); }
.contact-icon svg { width:22px; height:22px; color:var(--text-sub); }
.contact-primary { font-size:18px; font-weight:700; margin-bottom:4px; }
.contact-secondary { font-size:13px; color:var(--text-muted); line-height:1.6; }

/* Contact form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 48px;
}
.form-row-2col { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
.form-group { margin-bottom:20px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.form-input, .form-textarea {
  width: 100%;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--text-white);
  outline: none;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color:rgba(136,153,180,0.6); }
.form-input:focus, .form-textarea:focus {
  border-color: rgba(59,111,212,0.5);
  box-shadow: 0 0 0 4px rgba(59,111,212,0.07);
}
.form-textarea { resize:vertical; min-height:160px; line-height:1.6; }
.form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px;
  background: var(--text-white);
  color: var(--bg-deep);
  border: 2px solid var(--text-white);
  border-radius: var(--radius-btn);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease),
              transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.form-submit:hover {
  background: transparent;
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255,255,255,0.1);
}
.form-submit svg { width:18px; height:18px; }

/* ================================================================
   FOOTER
================================================================ */
#colophon {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}
.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--px) 40px;
}
.footer-widgets {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}
.footer-logo-link { display:inline-block; margin-bottom:0; }

.footer-logo-text-fallback .brand-name { font-size:18px; font-weight:800; color:var(--text-white); }
.footer-about-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 20px 0 28px;
  max-width: 320px;
}
.social-links { display:flex; gap:12px; }
.social-link {
  width:40px; height:40px;
  border:1px solid var(--border);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease), transform var(--t) var(--ease);
}
.social-link:hover { border-color:rgba(59,111,212,0.4); background:rgba(59,111,212,0.1); transform:translateY(-3px); }
.social-link svg { width:16px; height:16px; color:var(--text-muted); transition:color var(--t) var(--ease); }
.social-link:hover svg { color:var(--text-white); }
.footer-widget-title { font-size:16px; font-weight:700; font-family:var(--font-ui); margin-bottom:24px; }
.footer-nav-links { display:flex; flex-direction:column; gap:14px; }
.footer-nav-links a {
  font-size:14px; color:var(--text-muted);
  transition: color var(--t) var(--ease), padding-left var(--t) var(--ease);
}
.footer-nav-links a:hover { color:var(--text-white); padding-left:5px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.copyright { font-size:13px; color:var(--text-muted); font-family:var(--font-mono); }
.footer-legal-links { display:flex; gap:28px; }
.footer-legal-links a { font-size:13px; color:var(--text-muted); transition:color var(--t) var(--ease); }
.footer-legal-links a:hover { color:var(--text-white); }

/* ================================================================
   SCROLL REVEAL
================================================================ */
.ce-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.ce-reveal.visible { opacity:1; transform:none; }
.ce-reveal-delay-1 { transition-delay:0.1s; }
.ce-reveal-delay-2 { transition-delay:0.2s; }
.ce-reveal-delay-3 { transition-delay:0.3s; }
.ce-reveal-delay-4 { transition-delay:0.4s; }

/* ================================================================
   ENTRY CONTENT
================================================================ */
.entry-content h2,.entry-content h3,.entry-content h4 { font-family:var(--font-ui); font-weight:700; color:var(--text-white); margin:2em 0 0.75em; }
.entry-content h2 { font-size:32px; }
.entry-content h3 { font-size:24px; }
.entry-content h4 { font-size:20px; }
.entry-content p  { margin-bottom:1.4em; color:var(--text-sub); line-height:1.8; }
.entry-content ul,.entry-content ol { padding-left:24px; margin-bottom:1.4em; color:var(--text-sub); }
.entry-content ul { list-style:disc; }
.entry-content ol { list-style:decimal; }
.entry-content li { margin-bottom:0.5em; line-height:1.7; }
.entry-content a  { color:var(--accent-blue-light); text-decoration:underline; text-underline-offset:3px; }
.entry-content a:hover { color:var(--text-white); }
.entry-content blockquote { border-left:3px solid var(--accent-blue); padding:16px 24px; margin:2em 0; background:var(--bg-card); border-radius:0 10px 10px 0; font-style:italic; color:var(--text-sub); }
.entry-content strong { color:var(--text-white); font-weight:700; }
.entry-content img { border-radius:var(--radius-card); max-width:100%; }

/* ================================================================
   PAGINATION & POST NAV
================================================================ */
.post-navigation { margin-top:48px; padding-top:32px; border-top:1px solid var(--border); display:flex; justify-content:space-between; gap:24px; }
.post-navigation a { font-size:14px; font-weight:600; color:var(--text-muted); transition:color var(--t) var(--ease); max-width:45%; }
.post-navigation a:hover { color:var(--text-white); }
.page-numbers { display:inline-flex; align-items:center; gap:8px; }
.page-numbers a,.page-numbers span { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:8px; font-size:14px; font-weight:600; color:var(--text-muted); background:var(--bg-card); border:1px solid var(--border); transition:all var(--t) var(--ease); }
.page-numbers a:hover,.page-numbers .current { background:var(--accent-blue); border-color:var(--accent-blue); color:var(--text-white); }

/* ================================================================
   WP ADMIN BAR OFFSET
================================================================ */
.admin-bar #site-header            { top:32px; }
.admin-bar .mobile-navigation      { top:calc(32px + var(--nav-h)); }
@media (max-width:782px) {
  .admin-bar #site-header          { top:46px; }
  .admin-bar .mobile-navigation    { top:calc(46px + var(--nav-h)); }
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width:1200px) {
  :root { --px:48px; }
  .footer-widgets { gap:48px; }
}
@media (max-width:900px) {
  :root { --px:24px; }
  #primary-navigation, .header-cta { display:none !important; }
  .menu-toggle { display:flex !important; }

  .hero-section { grid-template-columns:1fr; min-height:auto; }
  .hero-left { padding:64px var(--px) 40px; }
  .hero-right { height:360px; }
  .hero-image-container { inset:0; border-radius:0; }
  .hero-cert-badge { display:none; }

  .stats-container { grid-template-columns:repeat(2,1fr); gap:40px; padding:48px var(--px); }
  .stat-item { padding:0; border-right:none; border-bottom:1px solid var(--border); padding-bottom:28px; }
  .stat-item:nth-child(3),.stat-item:nth-child(4) { border-bottom:none; }

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

  .about-layout         { grid-template-columns:1fr; gap:48px; padding:80px var(--px) 60px; }
  .contact-layout       { grid-template-columns:1fr; gap:48px; padding:80px var(--px) 60px; }
  .form-row-2col        { grid-template-columns:1fr; }
  .footer-widgets       { grid-template-columns:1fr; gap:40px; }
  .footer-container     { padding:48px var(--px) 24px; }
  .footer-bottom        { flex-direction:column; gap:16px; text-align:center; }
  .services-cta-banner  { flex-direction:column; text-align:center; padding:36px 28px; }
  .contact-form-card    { padding:28px 20px; }

  .services-page-hero { padding:64px var(--px) 48px; }
}
@media (max-width:600px) {
  .section-heading { font-size:34px; }
  .hero-title      { font-size:40px; }
  .stat-number     { font-size:40px; }
  .hero-actions    { flex-direction:column; }
  .page-hero-title { font-size:36px; }
}

/* ================================================================
   FOOTER — 3-column layout (brand + quick links + services)
================================================================ */
.footer-widgets {
  grid-template-columns: 1.8fr 1fr 1fr !important;
  gap: 80px !important;
}

/* ================================================================
   SP (SINGLE PAGE) — Service & Project detail pages
   Used by single-service.php and single-project.php
================================================================ */

/* Outer wrapper — clears sticky nav */
.sp-page {
  padding-top: var(--nav-h);
}

/* ── HERO BANNER ── */
.sp-hero {
  position: relative;
  height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.sp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,13,26,0.94) 0%,
    rgba(8,13,26,0.45) 55%,
    rgba(8,13,26,0.12) 100%
  );
}
.sp-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px) 52px;
}
.sp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 18px;
  transition: color var(--t) var(--ease);
}
.sp-back-link:hover { color: #fff; }
.sp-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-blue-light);
  margin-bottom: 10px;
}
.sp-title {
  font-family: var(--font-ui);
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
}
.sp-subtitle {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 580px;
  line-height: 1.65;
}

/* ── PROJECT META BAR ── */
.sp-meta-bar {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
}
.sp-meta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.sp-meta-item {
  padding: 20px 40px 20px 0;
  margin-right: 0;
  border-right: 1px solid var(--border);
  padding-right: 40px;
  margin-right: 0;
  flex-shrink: 0;
}
.sp-meta-item:first-child { padding-left: 0; }
.sp-meta-item:last-child  { border-right: none; }
.sp-meta-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.sp-meta-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}

/* ── TWO-COLUMN BODY ── */
.sp-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px var(--px) 100px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

/* ── MAIN CONTENT COLUMN ── */
.sp-main { min-width: 0; }

.sp-block {
  margin-bottom: 52px;
}

.sp-block-title {
  font-family: var(--font-ui);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-white);
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.sp-prose {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.82;
  margin-bottom: 16px;
}
.sp-prose:last-child { margin-bottom: 0; }

/* ── IMAGE GALLERY ── */
.sp-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sp-gallery-wide,
.sp-img-wide {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card2);
}
.sp-gallery-wide img,
.sp-img-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease);
}
.sp-gallery-wide:hover img,
.sp-img-wide:hover img { transform: scale(1.03); }

.sp-gallery-pair,
.sp-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sp-gallery-half,
.sp-img-half {
  height: 240px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card2);
}
.sp-gallery-half img,
.sp-img-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease), filter 0.4s var(--ease);
}
.sp-gallery-half:hover img,
.sp-img-half:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

/* ── PROCESS STEPS ── */
.sp-process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sp-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.sp-step:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.sp-step-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: rgba(59,111,212,0.35);
  line-height: 1;
}
.sp-step-title {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
}
.sp-step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ── SIDEBAR ── */
.sp-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Sidebar cards */
.sp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 24px;
}
.sp-card-cta {
  background: linear-gradient(140deg, #0d1e3d 0%, #111827 100%);
  border-color: rgba(59,111,212,0.25);
}
.sp-card-heading {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}
.sp-card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.sp-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

/* CTA button inside sidebar */
.sp-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--text-white);
  color: var(--bg-deep);
  border: 2px solid var(--text-white);
  border-radius: var(--radius-btn);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}
.sp-cta-btn:hover {
  background: transparent;
  color: var(--text-white);
  transform: translateY(-2px);
}
.sp-cta-btn svg { width:14px; height:14px; flex-shrink:0; }

/* Contact links below CTA */
.sp-card-contacts {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-contact-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
.sp-contact-link:hover { color: var(--text-white); }
.sp-contact-link svg { color: var(--accent-blue); flex-shrink: 0; }

/* Capabilities / services delivered checklist */
.sp-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.4;
}
.sp-checklist li svg { color: var(--accent-blue); flex-shrink: 0; }

/* Link list (other services) */
.sp-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sp-link-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t) var(--ease), padding-left var(--t) var(--ease);
}
.sp-link-list li:last-child a { border-bottom: none; }
.sp-link-list li a:hover { color: var(--text-white); padding-left: 5px; }

/* Related projects list */
.sp-related-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sp-related-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  transition: opacity var(--t) var(--ease);
}
.sp-related-list li:last-child .sp-related-link { border-bottom: none; padding-bottom: 0; }
.sp-related-link:hover { opacity: 0.72; }
.sp-related-img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-card2);
}
.sp-related-img img { width:100%; height:100%; object-fit:cover; display:block; }
.sp-related-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sp-related-cat {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sp-related-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
}

/* ── SERVICE CARD — home page link fix ── */
a.service-card { display: block; text-decoration: none; color: inherit; }

/* ================================================================
   RESPONSIVE — SP single page templates
================================================================ */
@media (max-width: 1100px) {
  .sp-body { grid-template-columns: 1fr 280px; gap: 48px; }
  .sp-meta-item { padding: 18px 28px 18px 0; }
}
@media (max-width: 900px) {
  :root { --px: 24px; }
  /* Nav */
  #primary-navigation, .header-cta { display: none !important; }
  .menu-toggle { display: flex !important; }
  /* SP templates stack */
  .sp-body {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px var(--px) 60px;
  }
  .sp-sidebar { position: static; }
  .sp-hero { height: 340px; }
  .sp-hero-content { padding: 0 var(--px) 36px; }
  .sp-gallery-wide, .sp-img-wide { height: 240px; }
  .sp-gallery-half, .sp-img-half { height: 180px; }
  .sp-process { grid-template-columns: 1fr; }
  .sp-meta-inner { flex-wrap: wrap; }
  .sp-meta-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    width: 50%;
  }
  .sp-meta-item:nth-last-child(-n+2) { border-bottom: none; }
  /* Other responsive overrides */
  .hero-section { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 64px var(--px) 40px; }
  .hero-right { height: 360px; }
  .hero-image-container { inset: 0; border-radius: 0; }
  .hero-cert-badge { display: none; }
  .stats-container { grid-template-columns: repeat(2,1fr); gap: 40px; padding: 48px var(--px); }
  .stat-item { padding: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 28px; }
  .stat-item:nth-child(3),.stat-item:nth-child(4) { border-bottom: none; }
  .services-grid        { grid-template-columns: 1fr; }
  .services-image-grid  { grid-template-columns: 1fr; }
  .projects-image-grid  { grid-template-columns: 1fr; }
  .about-layout         { grid-template-columns: 1fr; gap: 48px; padding: 80px var(--px) 60px; }
  .contact-layout       { grid-template-columns: 1fr; gap: 48px; padding: 80px var(--px) 60px; }
  .form-row-2col        { grid-template-columns: 1fr; }
  .footer-widgets       { grid-template-columns: 1fr !important; gap: 32px !important; }
  .footer-container     { padding: 48px var(--px) 24px; }
  .footer-bottom        { flex-direction: column; gap: 16px; text-align: center; }
  .services-cta-banner  { flex-direction: column; text-align: center; padding: 36px 28px; }
  .contact-form-card    { padding: 28px 20px; }
  .services-page-hero   { padding: 64px var(--px) 48px; }
}
@media (max-width: 600px) {
  .section-heading { font-size: 34px; }
  .hero-title { font-size: 40px; }
  .stat-number { font-size: 40px; }
  .hero-actions { flex-direction: column; }
  .page-hero-title { font-size: 36px; }
  .sp-title { font-size: 32px; }
  .sp-img-pair, .sp-gallery-pair { grid-template-columns: 1fr; }
  .sp-gallery-half, .sp-img-half { height: 200px; }
}

/* ================================================================
   LOGO — white pill background for visibility on dark header
   The logo PNG has a white background; we show it in a white
   rounded container so it reads cleanly against the dark nav.
================================================================ */
.site-logo-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  line-height: 0;
  transition: opacity 0.25s ease;
}
.site-logo-link:hover { opacity: 0.9; }

.site-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  max-width: 200px;
}

/* Footer logo — same pill treatment */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #ffffff;
  border-radius: 8px;
  line-height: 0;
  margin-bottom: 0;
  text-decoration: none;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  max-width: 180px;
}

/* ================================================================
   HERO HEADING — white + light blue colour split
================================================================ */
.hero-white {
  color: #ffffff;
  font-style: normal;
}
.hero-lightblue {
  color: #ADD8E6;
  font-style: italic;
}

/* Override old accent classes to use the new colours */
.hero-title .accent        { color: #ffffff; }
.hero-title .accent-italic { color: #ADD8E6; }

/* Hero description — ensure white */
.hero-description { color: #ffffff !important; }

/* ================================================================
   HERO DESCRIPTION — expanded services text, mobile responsive
================================================================ */
.hero-description {
  /* Allow the longer service list to wrap gracefully */
  max-width: 520px;
  line-height: 1.75;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (max-width: 600px) {
  .hero-description {
    font-size: 15px;
    max-width: 100%;
  }
}

/* ================================================================
   SERVICES OVERVIEW TAGS — pill chips in services page hero
================================================================ */
.services-overview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.services-overview-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-sub);
  white-space: nowrap;
  transition: background var(--t) var(--ease),
              border-color var(--t) var(--ease),
              color var(--t) var(--ease);
}
.services-overview-tag:hover {
  background: rgba(59,111,212,0.12);
  border-color: rgba(59,111,212,0.35);
  color: #fff;
}
.services-overview-tag svg { width:14px; height:14px; flex-shrink:0; }
/* Agricultural (tobacco) — green accent */
.services-overview-tag.tag-new {
  border-color: rgba(232,124,42,0.25);
}
.services-overview-tag.tag-new:hover {
  background: rgba(232,124,42,0.08);
  border-color: rgba(232,124,42,0.45);
}
@media (max-width: 600px) {
  .services-overview-tags { gap: 8px; }
  .services-overview-tag  { font-size: 10px; padding: 7px 12px; }
}

/* ================================================================
   SERVICE TAG COLOUR VARIANTS
   AGRICULTURAL = green   ELECTRICAL = amber/yellow
================================================================ */
.service-img-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue-light);
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(91,143,240,0.2);
  background: rgba(91,143,240,0.06);
}
/* Agricultural / Tobacco — green */
.service-img-tag.tag-agricultural {
  color: #4ade80;
  border-color: rgba(74,222,128,0.25);
  background: rgba(74,222,128,0.06);
}
/* Electrical — amber */
.service-img-tag.tag-electrical {
  color: #facc15;
  border-color: rgba(250,204,21,0.25);
  background: rgba(250,204,21,0.06);
}

/* ================================================================
   "New Service" badge on service cards
================================================================ */
.service-new-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  background: #e87c2a;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  pointer-events: none;
}
