/* =====================================================
   Halker Drywall — Fully Bespoke Theme
   Applied via ThemeManager when branding.theme = 'halkerdrywall'
   Design reference: mcnairmedia.github.io/halkerdrywall
   Fonts (Montserrat + Inter) loaded via theme.json fonts array
   Zero framework class dependencies — all hd- prefixed
   ===================================================== */

/* ── Design Tokens ─────────────────────────────────── */

:root {
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', 'Inter', system-ui, sans-serif;

  /* Override framework defaults so fallback sections use Halker palette */
  --color-primary: #0c3c60;
  --color-accent: #1e537e;
  --color-secondary: #334155;
  --color-dark: #0f172a;
  --color-dark-grey: #334155;

  --hd-navy: #0c3c60;
  --hd-navy-light: #1e537e;
  --hd-midnight: #0f172a;
  --hd-steel: #94a3b8;
  --hd-silver: #e2e8f0;
  --hd-accent: #334155;
  --hd-slate-50: #f8fafc;
  --hd-slate-100: #f1f5f9;
  --hd-slate-200: #e2e8f0;
  --hd-slate-300: #cbd5e1;
  --hd-slate-400: #94a3b8;
  --hd-slate-500: #64748b;
  --hd-slate-600: #475569;
  --hd-slate-700: #334155;
  --hd-slate-800: #1e293b;
  --hd-slate-900: #0f172a;
  --hd-slate-950: #020617;
  --hd-white: #ffffff;
  --hd-border: #e2e8f0;
}

html { font-size: 16px; }
body {
  line-height: 1.6;
  font-family: var(--font-body);
  color: var(--hd-slate-700);
  background: var(--hd-white);
}

/* ── Typography ─────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 800;
  color: var(--hd-navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p { font-size: 1rem; line-height: 1.6; }
a:hover { color: var(--hd-navy); }

/* ── Container ─────────────────────────────────── */

.hd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header ────────────────────────────────────── */

.hd-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--hd-navy);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.hd-header.hd-scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
}

.hd-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Logo ──────────────────────────────────────── */

.hd-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.hd-logo-img {
  height: clamp(48px, 5vw, 64px);
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.hd-header.hd-scrolled .hd-logo-img {
  height: clamp(36px, 4vw, 48px);
}

.hd-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--hd-white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-left: 0.5rem;
}

/* ── Desktop Nav ───────────────────────────────── */

.hd-nav { margin-left: auto; }

.hd-nav-list {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.hd-nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--hd-slate-300);
  text-decoration: none;
  padding: 0.5rem 1rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}

.hd-nav-link:hover { color: var(--hd-white); }

.hd-chevron { font-size: 0.55rem; opacity: 0.7; transition: transform 0.3s ease; }

/* ── Dropdowns ─────────────────────────────────── */

.hd-has-dropdown { position: relative; }

.hd-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--hd-white);
  min-width: 220px;
  list-style: none;
  padding: 0;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-top: 4px solid var(--hd-navy);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.hd-has-dropdown:hover .hd-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hd-has-dropdown:hover .hd-chevron { transform: rotate(180deg); }

.hd-dropdown li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--hd-slate-800);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 1px solid var(--hd-slate-100);
  transition: all 0.2s ease;
}

.hd-dropdown li:last-child a { border-bottom: none; }

.hd-dropdown li a:hover {
  background: var(--hd-slate-100);
  color: var(--hd-navy);
}

/* ── Header CTA ───────────────────────────────── */

.hd-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--hd-white);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 4px;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

.hd-header-cta:hover { background: rgba(255, 255, 255, 0.2); color: var(--hd-white); }

/* ── Hamburger ─────────────────────────────────── */

.hd-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--hd-white);
  font-size: 1.5rem;
  padding: 0.5rem;
}

/* ── Mobile Menu ───────────────────────────────── */

.hd-mobile-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--hd-navy);
  z-index: 1100;
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s;
  overflow-y: auto;
}

.hd-mobile-overlay.active { display: flex; opacity: 1; }

.hd-mobile-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hd-mobile-close {
  background: none;
  border: none;
  color: var(--hd-white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.hd-mobile-nav {
  flex: 1;
  padding: 0;
}

.hd-mobile-nav-group-label {
  display: block;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hd-mobile-nav a {
  display: block;
  padding: 0.75rem 2rem;
  color: var(--hd-slate-300);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}

.hd-mobile-nav a:hover { background: rgba(255, 255, 255, 0.05); color: var(--hd-white); }

.hd-mobile-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--hd-white);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s;
}

.hd-mobile-cta:hover { background: rgba(255, 255, 255, 0.2); color: var(--hd-white); }

/* ── Buttons ───────────────────────────────────── */

.btn {
  padding: 1rem 2rem;
  border-radius: 2px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--hd-silver);
  color: var(--hd-navy);
  box-shadow: none;
}

.btn-primary:hover {
  background-color: var(--hd-slate-300);
  color: var(--hd-navy);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-outline {
  border: 2px solid var(--hd-silver);
  color: var(--hd-silver);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(226, 232, 240, 0.1);
  border-color: var(--hd-silver);
  color: var(--hd-silver);
  transform: translateY(-2px);
}

/* Navy versions for light backgrounds */
.btn-navy {
  background: var(--hd-navy);
  color: var(--hd-white);
}

.btn-navy:hover {
  background: var(--hd-navy-light);
  color: var(--hd-white);
  transform: translateY(-2px);
}

.btn-navy-outline {
  border: 2px solid var(--hd-navy);
  color: var(--hd-navy);
  background: transparent;
}

.btn-navy-outline:hover {
  background: var(--hd-navy);
  color: var(--hd-white);
  transform: translateY(-2px);
}

/* ── Hero (framework fallback styling) ─────────── */

.hero {
  min-height: 85vh;
  background:
    linear-gradient(rgba(12, 60, 96, 0.85), rgba(12, 60, 96, 0.95)),
    var(--hero-bg-url, none);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-overlay { background: transparent; }

.hero-content h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--hd-white);
  line-height: 1.1;
}

.hero-content h1 span,
.hero-content .subtitle {
  color: var(--hd-slate-400);
}

.hero-content p {
  color: var(--hd-slate-300);
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.7;
  border-left: 4px solid var(--hd-slate-500);
  padding-left: 1.5rem;
}

/* ── Inner Pages ───────────────────────────────── */

.inner-hero {
  height: 300px;
  background: linear-gradient(135deg, var(--hd-navy), var(--hd-navy-light));
}

.inner-hero-overlay h1 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hd-white);
}

.section { padding: 6rem 0; }

/* ── Procurement / Validation Bar ─────────────── */

.hd-procurement-bar {
  background: linear-gradient(90deg, #0c3c60 0%, #1e537e 100%);
  padding: 2rem 0;
  position: relative;
  z-index: 20;
}

.hd-procurement-bar .hd-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.hd-procurement-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hd-slate-300);
}

.hd-procurement-item svg,
.hd-procurement-item i { color: var(--hd-slate-500); }

/* ── Section Heading (shared) ──────────────────── */

.hd-section-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.hd-section-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--hd-navy);
  margin-bottom: 0.5rem;
}

.hd-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--hd-navy);
  margin-bottom: 1rem;
}

.hd-section-divider {
  width: 6rem;
  height: 4px;
  background: var(--hd-slate-300);
  margin: 0 auto;
  border-radius: 999px;
}

.hd-section-subtitle {
  color: var(--hd-slate-600);
  max-width: 42rem;
  margin: 2rem auto 0;
  line-height: 1.7;
}

/* ── Service Cards (featured services grid) ───── */

.hd-services-section {
  padding: 6rem 0;
  background: var(--hd-slate-50);
}

.hd-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hd-service-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.hd-service-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 16rem;
  margin-bottom: 1rem;
  border: 2px solid var(--hd-slate-100);
  background: var(--hd-white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hd-service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.hd-service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--hd-navy), transparent);
  opacity: 0.6;
  pointer-events: none;
}

.hd-service-card-icon {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: var(--hd-white);
  font-size: 1.5rem;
  z-index: 2;
}

.hd-service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hd-navy);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.hd-service-card:hover h3 { color: #2563eb; }

.hd-service-card p {
  color: var(--hd-slate-600);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hd-service-card-link {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hd-navy);
  text-decoration: none;
}

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

/* ── Safety / Capabilities Section ──────────── */

.hd-capabilities-section {
  padding: 6rem 0;
  background: var(--hd-white);
}

.hd-capabilities-grid {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.hd-capabilities-content {
  flex: 1;
}

.hd-capabilities-content h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--hd-navy);
  margin-bottom: 1.5rem;
}

.hd-capabilities-content > p {
  font-size: 1.125rem;
  color: var(--hd-slate-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hd-capabilities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hd-capabilities-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hd-capabilities-list li svg,
.hd-capabilities-list li i {
  color: var(--hd-slate-400);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.hd-capabilities-list li span {
  color: var(--hd-slate-700);
}

.hd-capabilities-list li strong {
  color: var(--hd-slate-800);
}

/* ── Stats Grid ───────────────────────────────── */

.hd-stats-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hd-stat-card {
  padding: 2rem;
  border-radius: 4px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hd-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.hd-stat-card--light {
  background: var(--hd-slate-100);
}

.hd-stat-card--navy {
  background: var(--hd-navy);
  color: var(--hd-white);
}

.hd-stat-card--dark {
  background: var(--hd-slate-800);
  color: var(--hd-white);
}

.hd-stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hd-stat-card--light .hd-stat-value { color: var(--hd-navy); }
.hd-stat-card--navy .hd-stat-value { color: var(--hd-white); }
.hd-stat-card--dark .hd-stat-value { color: var(--hd-white); }

.hd-stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hd-stat-card--light .hd-stat-label { color: var(--hd-slate-500); }
.hd-stat-card--navy .hd-stat-label { color: var(--hd-slate-400); }
.hd-stat-card--dark .hd-stat-label { color: var(--hd-slate-400); }

.hd-stat-icon {
  font-size: 2.5rem;
  color: var(--hd-slate-400);
  margin-bottom: 1rem;
}

/* ── Business Sectors (Market Cards) ──────────── */

.hd-sectors-section {
  padding: 6rem 0;
  background: var(--hd-slate-50);
}

.hd-sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hd-sector-card {
  display: block;
  background: var(--hd-white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--hd-slate-200);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hd-sector-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.hd-sector-card-image {
  position: relative;
  height: 16rem;
  overflow: hidden;
  background: var(--hd-slate-300);
}

.hd-sector-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.5s ease;
}

.hd-sector-card:hover .hd-sector-card-image img {
  transform: scale(1.1);
}

.hd-sector-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--hd-navy);
  color: var(--hd-white);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hd-sector-card-body {
  padding: 1.5rem;
}

.hd-sector-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hd-navy);
  margin-bottom: 0.5rem;
}

.hd-sector-card-body p {
  color: var(--hd-slate-600);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ── CTA Banner ───────────────────────────────── */

.hd-cta-banner {
  padding: 4rem 0;
  background: var(--hd-navy);
  color: var(--hd-white);
  text-align: center;
}

.hd-cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--hd-white);
  margin-bottom: 2rem;
}

.hd-cta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  color: var(--hd-slate-400);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hd-cta-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 12rem;
  cursor: default;
  position: relative;
}

.hd-cta-feature i,
.hd-cta-feature svg {
  font-size: 1.875rem;
  margin-bottom: 0.75rem;
  color: var(--hd-slate-500);
  transition: color 0.3s;
}

.hd-cta-feature:hover i,
.hd-cta-feature:hover svg { color: var(--hd-white); }

.hd-cta-feature span { text-align: center; }

/* ── Blog Feed ─────────────────────────────────── */

.hd-blog-section { padding: 6rem 0; background: var(--hd-white); }

.hd-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.hd-blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--hd-white);
  border: 1px solid var(--hd-slate-200);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.hd-blog-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.hd-blog-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.hd-blog-card-body { padding: 1.5rem; }

.hd-blog-card-date {
  display: block;
  font-size: 0.75rem;
  color: var(--hd-navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hd-blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--hd-navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.hd-blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--hd-slate-600);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.hd-blog-card-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--hd-navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hd-blog-card:hover .hd-blog-card-link { color: var(--hd-navy-light); }

/* ── Cards (framework section overrides) ─────── */

.service-card {
  background: var(--hd-white);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--hd-slate-200);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-card .icon-wrap {
  width: 56px; height: 56px;
  background: rgba(12, 60, 96, 0.1);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--hd-navy);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .icon-wrap { background: var(--hd-navy); color: var(--hd-white); }

/* ── Contact Split ────────────────────────────── */

.contact-split { max-width: 1024px; margin: 0 auto; border-radius: 4px; overflow: hidden; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15); display: flex; flex-direction: column; }
.contact-split .info-side { background: var(--hd-navy); color: var(--hd-white); padding: 3rem; position: relative; }
.contact-split .info-side::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, rgba(30, 83, 126, 0.3)); }
.contact-split .info-side > * { position: relative; z-index: 1; }
.contact-split .form-side { background: var(--hd-white); padding: 3rem; }
.contact-split .form-side input, .contact-split .form-side textarea { width: 100%; padding: 10px 12px; border: 2px solid var(--hd-border); border-radius: 2px; outline: none; transition: border-color 0.15s; font-family: var(--font-body); color: var(--hd-slate-700); }
.contact-split .form-side input:focus, .contact-split .form-side textarea:focus { border-color: var(--hd-navy); box-shadow: 0 0 0 3px rgba(12, 60, 96, 0.12); }
@media (min-width: 768px) { .contact-split { flex-direction: row; } .contact-split .info-side { width: 50%; } .contact-split .form-side { width: 50%; } }

/* ── Footer ────────────────────────────────────── */

.hd-footer {
  background: var(--hd-slate-950);
  color: var(--hd-slate-500);
  padding: 3rem 0 0;
  border-top: 1px solid var(--hd-slate-900);
}

.hd-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.hd-footer-col h4 {
  color: var(--hd-white);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.hd-footer-col p {
  color: var(--hd-slate-500);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 28rem;
  margin-bottom: 1rem;
}

.hd-footer-social {
  display: flex;
  gap: 1rem;
}

.hd-footer-social a {
  color: var(--hd-slate-500);
  transition: color 0.2s;
  text-decoration: none;
}

.hd-footer-social a:hover { color: var(--hd-white); }

.hd-footer-contact { list-style: none; padding: 0; }

.hd-footer-contact li {
  color: var(--hd-slate-500);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.hd-footer-contact li i,
.hd-footer-contact li svg {
  color: var(--hd-slate-600);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.hd-footer-contact a { color: var(--hd-slate-500); text-decoration: none; }
.hd-footer-contact a:hover { color: var(--hd-white); }

/* ── Footer Certifications Bar ────────────────── */

.hd-footer-certs {
  padding: 1rem 0;
  border-top: 1px solid var(--hd-slate-900);
  border-bottom: 1px solid var(--hd-slate-900);
  margin-bottom: 2rem;
}

.hd-footer-certs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.7rem;
  color: var(--hd-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hd-footer-certs-list .hd-cert-separator {
  color: var(--hd-slate-700);
}

/* ── Footer Bottom ────────────────────────────── */

.hd-footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid var(--hd-slate-900);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.hd-footer-bottom p { color: var(--hd-slate-500); margin: 0; }

.hd-footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.hd-footer-bottom-links a {
  color: var(--hd-slate-500);
  text-decoration: none;
  transition: color 0.2s;
}

.hd-footer-bottom-links a:hover { color: var(--hd-white); }

/* ── Utilities ─────────────────────────────────── */

.hd-text-white { color: var(--hd-white); }
.hd-text-navy { color: var(--hd-navy); }
.hd-text-slate { color: var(--hd-slate-600); }
.hd-bg-navy { background: var(--hd-navy); }
.hd-bg-slate-50 { background: var(--hd-slate-50); }

.hd-card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hd-card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ── Notification Bar Override ─────────────────── */

.hd-notification-bar {
  background: var(--hd-navy);
  color: var(--hd-white);
  padding: 0.6rem 0;
  font-size: 0.8125rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hd-notification-bar strong { color: var(--hd-white); }
.hd-notification-bar a { color: var(--hd-slate-300); text-decoration: underline; }
.hd-notification-bar a:hover { color: var(--hd-white); }

/* ── Responsive ────────────────────────────────── */

@media (max-width: 1024px) {
  .hd-nav { display: none; }
  .hd-header-cta { display: none; }
  .hd-hamburger { display: block; }

  .hd-services-grid { grid-template-columns: repeat(2, 1fr); }
  .hd-sectors-grid { grid-template-columns: repeat(2, 1fr); }

  .hd-capabilities-grid { flex-direction: column; gap: 3rem; }
}

@media (min-width: 768px) {
  .hd-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .hero { min-height: 60vh; }
  .inner-hero { height: 200px; }

  .hd-services-grid { grid-template-columns: 1fr; }
  .hd-sectors-grid { grid-template-columns: 1fr; }
  .hd-stats-grid { grid-template-columns: repeat(2, 1fr); }

  .hd-footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hd-procurement-bar .hd-container {
    gap: 1rem;
    flex-direction: column;
  }

  .section { padding: 4rem 0; }
  .hd-services-section,
  .hd-capabilities-section,
  .hd-sectors-section { padding: 4rem 0; }
}

@media (max-width: 640px) {
  html { font-size: 15px; }
  .section { padding: 3rem 0; }
}

/* ── Scroll Reveal ─────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
