/*
Theme Name: Infix Engineering
Theme URI: https://infix.co.za
Author: Infix Welding Consulting & Inspection Services
Description: Industrial, technical theme for Infix Welding Consulting & Inspection Services. Pure INFIX brand palette — deep navy, steel-blue, silver, white — with chevron textures per the brand profile. Elementor-compatible with a rich PHP fallback.
Version: 3.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: infix-engineering
*/

:root {
  /* INFIX brand palette — direct from the company profile:
     deep navy #0F2347 / #1B3A6B range, steel blue accents,
     bright white type, industrial silver backgrounds. */
  --navy-950: #050b1a;
  --navy-900: #0a1a33;   /* deep navy */
  --navy-800: #0f2347;   /* PRIMARY — "deep navy" from PDF */
  --navy-700: #15325c;
  --navy-600: #1b3a6b;   /* SECONDARY — from PDF */
  --navy-500: #24518f;   /* steel-blue accent */
  --navy-400: #3a6db0;   /* light steel-blue */
  --navy-300: #6a96d1;
  --navy-200: #aac3e1;
  --navy-100: #d8e3f1;
  --navy-50:  #eef3fa;

  /* Neutrals */
  --steel-900: #0d1420;
  --steel-800: #1a2130;
  --steel-700: #2a3346;
  --steel-500: #5a6478;
  --steel-300: #aab2c2;
  --steel-200: #ccd3de;
  --steel-100: #e7ebf1;
  --steel-50:  #f3f6fb;
  --silver:    #e8ecf2;
  --white:     #ffffff;

  /* Semantic aliases — keep legacy class names working */
  --teal-900: var(--navy-950);
  --teal-800: var(--navy-800);
  --teal-700: var(--navy-700);
  --teal-600: var(--navy-600);
  --teal-500: var(--navy-500);
  --teal-400: var(--navy-400);
  --teal-300: var(--navy-300);
  --teal-100: var(--navy-100);
  --teal-50:  var(--navy-50);
  --accent:       var(--navy-500);
  --accent-dark:  var(--navy-700);
  --accent-light: var(--navy-400);
  --ink-900:   var(--navy-900);
  --ink-800:   var(--navy-800);
  --ink-700:   var(--steel-700);
  --slate-700: var(--steel-700);
  --slate-500: var(--steel-500);
  --slate-300: var(--steel-300);
  --slate-200: var(--steel-200);
  --slate-100: var(--steel-100);
  --slate-50:  var(--steel-50);

  --radius:    8px;
  --radius-sm: 4px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 35, 71, 0.07);
  --shadow-md: 0 12px 30px -10px rgba(15, 35, 71, 0.18), 0 4px 8px -4px rgba(15, 35, 71, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(15, 35, 71, 0.32);
  --container: 1240px;

  /* Typography: clean technical sans — Inter body, Poppins headlines (bold, modern, industrial) */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Poppins', var(--font-body);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--steel-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.7em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.6rem); letter-spacing: -0.015em; font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1rem; }
a { color: var(--navy-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy-800); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(60px, 9vw, 110px) 0; }
.section--tight { padding: clamp(40px, 6vw, 70px) 0; }

/* Signature INFIX chevron pattern on dark sections — per brand profile */
.section--dark {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--steel-100);
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 54px,
    rgba(106, 150, 209, 0.055) 54px 55px,
    transparent 55px 108px,
    rgba(255, 255, 255, 0.028) 108px 109px
  );
  pointer-events: none;
}
.section--dark > * { position: relative; z-index: 1; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

/* "Industrial silver" backdrop per brand notes */
.section--slate {
  background:
    linear-gradient(180deg, var(--steel-50) 0%, var(--silver) 100%);
  position: relative;
  overflow: hidden;
}
.section--slate::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 70px,
    rgba(36, 81, 143, 0.04) 70px 71px,
    transparent 71px 142px
  );
  pointer-events: none;
}
.section--slate > * { position: relative; z-index: 1; }

.section--tint { background: var(--navy-50); }

.highlight { color: var(--navy-500); font-weight: 700; }
.section--dark .highlight { color: var(--navy-300); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-600);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--navy-500);
  display: inline-block;
}
.section--dark .eyebrow { color: var(--navy-300); }
.section--dark .eyebrow::before { background: var(--navy-300); }

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }
.section-head p {
  color: var(--steel-500);
  font-size: 1.08rem;
}
.section--dark .section-head p { color: var(--steel-200); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--navy-500);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  border: 2px solid var(--navy-500);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 6px 18px -6px rgba(36, 81, 143, 0.55);
}
.btn:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(36, 81, 143, 0.7);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.42);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: var(--white);
  box-shadow: none;
}
.btn--dark {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
  box-shadow: 0 6px 18px -6px rgba(15, 35, 71, 0.5);
}
.btn--dark:hover { background: var(--navy-900); border-color: var(--navy-900); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 35, 71, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(106, 150, 209, 0.18);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}
.brand:hover { color: var(--white); }
.brand__mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy-500) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 14px -4px rgba(36, 81, 143, 0.6);
  font-family: var(--font-head);
}
.brand__logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  max-width: 220px;
}
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name small {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-300);
  font-family: var(--font-body);
}
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 34px;
  align-items: center;
}
.primary-nav a {
  color: var(--steel-200);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  letter-spacing: 0.02em;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .is-current > a {
  color: var(--white);
  border-bottom-color: var(--navy-400);
}
.primary-nav .nav-cta a {
  background: var(--navy-500);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border-bottom: none;
}
.primary-nav .nav-cta a:hover { background: var(--navy-400); border-bottom: none; color: var(--white); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 860px) {
  .primary-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: var(--navy-950); padding: 16px 24px; border-bottom: 1px solid rgba(106, 150, 209, 0.18); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 14px; align-items: flex-start; }
  .menu-toggle { display: inline-flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: clamp(80px, 12vw, 150px) 0 clamp(90px, 14vw, 170px);
  background:
    radial-gradient(1100px 550px at 85% -10%, rgba(58, 109, 176, 0.28), transparent 60%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
}
.hero--compact {
  padding: clamp(60px, 9vw, 110px) 0 clamp(60px, 9vw, 110px);
}
/* INFIX chevron backdrop */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 52px,
    rgba(106, 150, 209, 0.075) 52px 54px,
    transparent 54px 108px,
    rgba(255, 255, 255, 0.035) 108px 110px
  );
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 82%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--navy-400) 30%, var(--navy-300) 50%, var(--navy-400) 70%, transparent 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero--centered .hero__inner {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero--centered .hero__lead { margin-left: auto; margin-right: auto; }
.hero--centered .hero__ctas { justify-content: center; }
.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  font-weight: 800;
}
.hero__lead {
  font-size: 1.18rem;
  color: var(--steel-200);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges {
  display: flex;
  gap: 22px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--steel-200);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero__badge svg { color: var(--navy-300); width: 18px; height: 18px; flex-shrink: 0; }

/* Hero photo treatment (replaces glass card) */
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  aspect-ratio: 4/5;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 35, 71, 0.5) 100%);
  pointer-events: none;
}
.hero-photo__badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(15, 35, 71, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(106, 150, 209, 0.35);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.hero-photo__badge span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--navy-300);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2px;
  font-family: var(--font-body);
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { aspect-ratio: 16/10; }
}

/* ===== Stats ===== */
.stats {
  background: var(--white);
  padding: 48px 0;
  border-top: 1px solid var(--steel-100);
  border-bottom: 1px solid var(--steel-100);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px; top: 18px; bottom: 18px;
  width: 1px;
  background: var(--steel-200);
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__num span { color: var(--navy-500); }
.stat__label {
  color: var(--steel-500);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 10px;
}
@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat:not(:last-child)::after { display: none; }
}

/* ===== Services grid ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-500), var(--navy-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.service:hover {
  border-color: var(--navy-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service:hover::before { transform: scaleX(1); }
.service__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy-500) 0%, var(--navy-700) 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 16px -6px rgba(36, 81, 143, 0.4);
}
.service__icon svg { width: 26px; height: 26px; }
.service h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: var(--navy-900);
}
.service p { color: var(--steel-500); font-size: 0.96rem; margin: 0; line-height: 1.6; }
.service__features {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 6px;
}
.service__features li {
  font-size: 0.86rem;
  color: var(--steel-500);
  padding-left: 20px;
  position: relative;
}
.service__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--navy-400);
}

/* ===== Split / feature blocks ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.split--reverse .split__media { order: 2; }
.split__content h2 { margin-bottom: 20px; }
.split__content p { color: var(--steel-500); font-size: 1.05rem; }
.section--dark .split__content p { color: var(--steel-200); }

.feature-card {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-left: 4px solid var(--navy-500);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.feature-card--dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(106, 150, 209, 0.2);
  border-left: 4px solid var(--navy-400);
}
.feature-card--dark h3 { color: var(--white); }
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--steel-500); margin: 0; }
.feature-card--dark p { color: var(--steel-200); }

.info-stack {
  display: grid;
  gap: 14px;
}
.info-stack__item {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-left: 4px solid var(--navy-500);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.info-stack__item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.info-stack__item h3 {
  color: var(--navy-900);
  margin-bottom: 6px;
  font-size: 1.1rem;
}
.info-stack__item p { color: var(--steel-500); margin: 0; font-size: 0.95rem; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
}

/* ===== Values ===== */
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--steel-100);
  text-align: left;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.value::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--navy-500);
}
.value:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--navy-300);
}
.value:hover::before { width: 100%; transition: width 0.35s ease; }
.value__num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy-500);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.value h3 { margin-bottom: 10px; font-size: 1.08rem; }
.value p { color: var(--steel-500); margin: 0; font-size: 0.92rem; }
@media (max-width: 1000px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .values__grid { grid-template-columns: 1fr; } }

/* ===== Pillars (dark sections) ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(106, 150, 209, 0.18);
  border-left: 3px solid var(--navy-400);
  border-radius: var(--radius-sm);
  padding: 22px 22px;
  color: var(--steel-200);
  font-size: 0.93rem;
  transition: all var(--transition);
}
.pillar:hover {
  background: rgba(106, 150, 209, 0.08);
  border-left-color: var(--navy-300);
}
.pillar strong {
  color: var(--white);
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* ===== CTA Section ===== */
.cta-band {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 68px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 30px 60px -20px rgba(10, 22, 48, 0.5);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(106, 150, 209, 0.22);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 48px,
    rgba(106, 150, 209, 0.06) 48px 50px,
    transparent 50px 100px
  );
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,109,176,0.3), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.92); font-size: 1.05rem; margin: 0; }
.cta-band__actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
.cta-band .btn {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
  box-shadow: none;
}
.cta-band .btn:hover { background: var(--navy-300); color: var(--navy-900); border-color: var(--navy-300); }
.cta-band .btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); border-color: var(--white); }

@media (max-width: 820px) {
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band__actions { justify-content: center; }
}

/* ===== Contact ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: grid; gap: 16px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-left: 3px solid var(--navy-500);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.contact-item:hover {
  border-left-color: var(--navy-700);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}
.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy-500) 0%, var(--navy-700) 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item strong {
  display: block;
  color: var(--navy-900);
  font-family: var(--font-head);
  margin-bottom: 2px;
  font-size: 1rem;
  font-weight: 600;
}
.contact-item span { color: var(--steel-500); font-size: 0.93rem; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-top: 4px solid var(--navy-500);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  color: var(--navy-900);
  font-size: 1.2rem;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--navy-900);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--navy-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgba(36, 81, 143, 0.18);
}
.contact-form .field { margin-bottom: 16px; }
.contact-form textarea { min-height: 130px; resize: vertical; }
@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .contact-form .row { grid-template-columns: 1fr; }
}

/* ===== Industries grid ===== */
.industries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.industry {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition);
}
.industry:hover {
  border-color: var(--navy-400);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  background: var(--navy-50);
}
.industry__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy-500);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(36, 81, 143, 0.15);
}
.industry span {
  color: var(--navy-900);
  font-weight: 500;
  font-size: 0.94rem;
}

/* ===== Certifications strip (logos) ===== */
.cert-strip {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  padding: 32px 0;
  opacity: 0.85;
}
.cert-strip img {
  height: 56px;
  width: auto;
  filter: grayscale(30%) brightness(0.95);
  transition: filter var(--transition), transform var(--transition);
}
.cert-strip img:hover {
  filter: grayscale(0%) brightness(1);
  transform: translateY(-2px);
}

/* ===== Image treatments ===== */
.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.img-frame--bordered {
  border: 1px solid var(--steel-100);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(180deg, var(--navy-950) 0%, #020814 100%);
  color: var(--steel-200);
  padding: 40px 0 22px;
  font-size: 0.92rem;
  border-top: 1px solid rgba(106, 150, 209, 0.22);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 54px,
    rgba(106, 150, 209, 0.03) 54px 55px,
    transparent 55px 108px
  );
  pointer-events: none;
}
.site-footer > * { position: relative; z-index: 1; }
.site-footer__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding-bottom: 24px;
}
.site-footer__brand { display: inline-flex; }
.site-footer__logo {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.2s;
}
.site-footer__brand:hover .site-footer__logo { opacity: 1; }

.site-footer__nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.site-footer__nav a {
  color: var(--steel-200);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.site-footer__nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--navy-400);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-footer__nav a:hover { color: var(--white); }
.site-footer__nav a:hover::after { transform: scaleX(1); }

.site-footer__contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--steel-200);
  font-size: 0.88rem;
  padding: 8px 16px;
  border: 1px solid rgba(106, 150, 209, 0.22);
  border-radius: var(--radius-sm);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  background: rgba(106, 150, 209, 0.04);
}
.site-footer__link svg { color: var(--navy-300); flex-shrink: 0; }
.site-footer__link:hover {
  color: var(--white);
  border-color: var(--navy-300);
  background: rgba(106, 150, 209, 0.12);
}

.site-footer__bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(106, 150, 209, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--steel-300);
  font-size: 0.82rem;
}
.site-footer__meta { color: rgba(255,255,255,0.5); }

@media (max-width: 900px) {
  .site-footer__row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    text-align: center;
  }
  .site-footer__contact { justify-content: center; }
}
@media (max-width: 560px) {
  .site-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Generic page content */
.page-content { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.page-content h1, .page-content h2 { color: var(--navy-900); }

/* Fade-in on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Utility */
.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mb-0 { margin-bottom: 0; }

/* Elementor integration */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 { font-family: var(--font-head); color: var(--navy-900); }
.elementor-widget-button .elementor-button { font-family: var(--font-head); border-radius: var(--radius-sm); }
