/*
Theme Name: ProcessTEQ Professional
Theme URI: https://processteq.dk
Author: ProcessTEQ ApS
Author URI: https://processteq.dk
Description: A professional, modern WordPress theme for ProcessTEQ ApS — technical sales and representation of process equipment for life science and industrial markets.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: processteq
Tags: one-page, business, professional, clean
*/

/* ============================================================
   DESIGN TOKENS
   Palette: Deep navy, steel grey, warm white, precision blue accent
   Type: Inter (utility/body) + DM Serif Display (headlines)
   Signature: Animated diagonal rule dividers + blueprint-grid hero
   ============================================================ */

:root {
  --navy:        #0D1B2A;
  --navy-mid:    #162437;
  --steel:       #3A4F66;
  --steel-light: #6B849E;
  --accent:      #1A6CF0;
  --accent-glow: #4A8FFF;
  --warm-white:  #F7F8FA;
  --paper:       #EDEEF2;
  --text-dark:   #0D1B2A;
  --text-mid:    #3A4F66;
  --text-light:  #6B849E;
  --border:      rgba(58,79,102,0.18);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --max-w: 1160px;
  --section-pad: 100px 0;
  --radius: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  font-weight: 400;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { font-size: 1.0625rem; line-height: 1.75; color: var(--text-mid); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: var(--section-pad); }

.section--dark {
  background: var(--navy);
  color: var(--warm-white);
}

.section--dark p { color: rgba(247,248,250,0.72); }
.section--dark h2 { color: var(--warm-white); }
.section--dark h3 { color: var(--warm-white); }
.section--dark .eyebrow { color: var(--accent-glow); }

.section--mid {
  background: var(--paper);
}

/* SIGNATURE: diagonal rule */
.diag-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 20px 0 28px;
  transform: skewX(-15deg);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#site-header.scrolled {
  background: rgba(13,27,42,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.logo-wordmark {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.3;
}

.logo-wordmark span {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}

nav ul li a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  padding: 4px 0;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent-glow);
  transition: width 0.25s var(--ease);
}

nav ul li a:hover { color: #fff; }
nav ul li a:hover::after { width: 100%; }

nav ul li a.is-active { color: #fff; }
nav ul li a.is-active::after { width: 100%; }

.nav-cta {
  padding: 9px 20px !important;
  background: var(--accent);
  border-radius: var(--radius);
  color: #fff !important;
  font-size: 0.8rem !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent-glow) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Blueprint grid — signature texture */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,108,240,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,108,240,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, black 30%, transparent 100%);
}

/* Glow orb */
#hero::after {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,108,240,0.18) 0%, transparent 70%);
  top: -80px; right: -80px;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 32px 80px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}

.hero-content { }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: 28px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--accent-glow);
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 28px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--accent-glow);
}

.hero-content > p {
  font-size: 1.125rem;
  color: rgba(247,248,250,0.72);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: all 0.22s var(--ease);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-glow);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26,108,240,0.38);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
}

.stat-box {
  background: rgba(13,27,42,0.7);
  backdrop-filter: blur(8px);
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.06);
}

.stat-box:first-child { border-radius: 8px 0 0 0; }
.stat-box:nth-child(2) { border-radius: 0 8px 0 0; }
.stat-box:nth-child(3) { border-radius: 0 0 0 8px; }
.stat-box:last-child { border-radius: 0 0 8px 0; }

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,248,250,0.5);
  line-height: 1.4;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2.4s ease-in-out infinite;
}

.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   INTRO BAND
   ============================================================ */
#intro-band {
  background: var(--accent);
  padding: 20px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 32px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.marquee-item::after {
  content: '·';
  color: rgba(255,255,255,0.4);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   CAPABILITIES
   ============================================================ */
#capabilities {
  background: var(--warm-white);
}

.section-header {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-header p {
  font-size: 1.0625rem;
  margin-top: 16px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cap-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}

.cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--accent);
  transition: height 0.35s var(--ease);
  border-radius: 0 0 2px 0;
}

.cap-card:hover {
  border-color: rgba(26,108,240,0.25);
  box-shadow: 0 16px 48px rgba(13,27,42,0.1);
  transform: translateY(-3px);
}

.cap-card:hover::before { height: 100%; }

.cap-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(26,108,240,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.cap-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.cap-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
#industries { background: var(--navy); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 56px;
}

.industry-card {
  background: var(--navy-mid);
  padding: 48px 36px;
  position: relative;
  transition: background 0.28s var(--ease);
}

.industry-card:hover { background: #1a2d42; }

.ind-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(26,108,240,0.15);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.industry-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 14px;
}

.industry-card p {
  font-size: 0.9rem;
  color: rgba(247,248,250,0.6);
}

/* ============================================================
   REPRESENTATION (FOR MANUFACTURERS)
   ============================================================ */
#representation { background: var(--paper); }

.rep-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}

.rep-intro p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  margin-bottom: 28px;
  line-height: 1.8;
}

.rep-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rep-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: box-shadow 0.22s;
}

.rep-list li:hover {
  box-shadow: 0 6px 24px rgba(13,27,42,0.08);
}

.rep-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: rgba(26,108,240,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 2px;
}

.rep-text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.rep-text span {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--warm-white); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pillar {
  background: var(--navy);
  border-radius: 8px;
  padding: 28px 24px;
}

.pillar-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: 8px;
  display: block;
}

.pillar p {
  font-size: 0.875rem;
  color: rgba(247,248,250,0.65);
  line-height: 1.6;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--navy); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 56px;
  align-items: start;
}

.contact-info p {
  font-size: 1.0625rem;
  color: rgba(247,248,250,0.7);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(247,248,250,0.7);
  font-size: 0.9375rem;
}

.contact-item-icon {
  width: 36px; height: 36px;
  background: rgba(26,108,240,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,248,250,0.55);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(247,248,250,0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-glow);
  background: rgba(255,255,255,0.08);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select option { background: var(--navy-mid); color: #fff; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  margin-top: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #080f18;
  padding: 64px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(247,248,250,0.45);
  max-width: 280px;
  line-height: 1.7;
  margin-top: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.footer-logo img { height: 24px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; }

.footer-logo-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(247,248,250,0.5);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: rgba(247,248,250,0.85); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(247,248,250,0.3);
}

.footer-bottom a {
  color: rgba(247,248,250,0.4);
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: rgba(247,248,250,0.7); }

/* ============================================================
   PAGE HEADER (for sub-pages)
   ============================================================ */
.page-header {
  background: var(--navy);
  padding: 168px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,108,240,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,108,240,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, black 30%, transparent 100%);
}

.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-header h1 { color: #fff; margin-bottom: 18px; }
.page-header p {
  font-size: 1.0625rem;
  color: rgba(247,248,250,0.7);
  max-width: 560px;
}

.breadcrumb {
  font-size: 0.8rem;
  color: rgba(247,248,250,0.4);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: rgba(74,143,255,0.9); }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================================================
   IMAGE COMPONENTS
   ============================================================ */

/* Real photo frame — used for uploaded facility/product photos */
.media-frame {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--steel);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-frame.ratio-16-9 { aspect-ratio: 16/9; }
.media-frame.ratio-4-3  { aspect-ratio: 4/3; }
.media-frame.ratio-1-1  { aspect-ratio: 1/1; }
.media-frame.ratio-3-4  { aspect-ratio: 3/4; }

/* Caption overlay */
.media-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(13,27,42,0.85), transparent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Editor placeholder hint — visible only with no image set, helps
   the client know where to add a photo via WP media library */
.media-frame.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
  border: 1px dashed rgba(255,255,255,0.15);
}

/* Two-up image gallery */
.image-pair {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}

.image-pair .media-frame:nth-child(2) { align-self: end; }

/* Hero split with image */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-split .media-frame {
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(13,27,42,0.4);
}

@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .image-pair { grid-template-columns: 1fr; }
  .image-pair .media-frame:nth-child(2) { align-self: stretch; }
  .page-header { padding: 140px 0 56px; }
}

/* ============================================================
   SIGNATURE ILLUSTRATIONS (inline SVG containers)
   ============================================================ */
.illo-box {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, #16283d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.illo-box svg { width: 100%; height: 100%; }

.illo-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,108,240,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,108,240,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* ============================================================
   VALUE CARDS WITH IMAGES (Industries page)
   ============================================================ */
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.28s var(--ease);
}

.value-card:hover {
  box-shadow: 0 16px 48px rgba(13,27,42,0.1);
  transform: translateY(-3px);
}

.value-card .media-frame { border-radius: 0; }

.value-card-body { padding: 28px 28px 32px; }

.value-card-body h3 { margin-bottom: 10px; font-size: 1.15rem; }
.value-card-body p { font-size: 0.9375rem; color: var(--text-light); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 960px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TEAM / PEOPLE CARD (About page)
   ============================================================ */
.person-card {
  text-align: center;
}

.person-card .media-frame {
  border-radius: 50%;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
}

.person-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.person-card span {
  font-size: 0.8125rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   STICKY SUBPAGE CTA BAND
   ============================================================ */
.cta-band {
  background: var(--accent);
  padding: 64px 0;
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 6px; }

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
}
.cta-band .btn-primary:hover {
  background: var(--navy);
  color: #fff;
}


.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(13,27,42,0.98);
  backdrop-filter: blur(12px);
  padding: 24px 32px 32px;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu.open { display: block; }

.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu ul li a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  transition: color 0.2s;
}
.mobile-menu ul li a:hover { color: #fff; }

.mobile-menu .btn {
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 20px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-stats { max-width: 380px; }

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

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .rep-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  :root { --section-pad: 72px 0; }

  nav ul { display: none; }
  .hamburger { display: flex; }

  .cap-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  .fade-up.visible {
    opacity: 1;
    transform: none;
  }
  .fade-up:nth-child(2) { transition-delay: 0.1s; }
  .fade-up:nth-child(3) { transition-delay: 0.2s; }
  .fade-up:nth-child(4) { transition-delay: 0.3s; }
  .fade-up:nth-child(5) { transition-delay: 0.4s; }
  .fade-up:nth-child(6) { transition-delay: 0.5s; }
}
