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

:root {
  --navy:         #042C53;
  --navy-deep:    #021c38;
  --grey:         #5F5E5A;
  --white:        #ffffff;
  --light:        #f7f9fb;
  --accent:       #E2521D;
  --accent-hover: #c84515;
  --border:       #d8dee6;
  --radius:       6px;
  --ease-smooth:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-precise:  cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--grey);
  background: var(--white);
}

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

/* ─── Typography ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 500;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

.subheadline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  max-width: 640px;
}

/* ─── Layout helpers ────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    opacity 0.24s var(--ease-precise),
    transform 0.28s var(--ease-smooth),
    box-shadow 0.28s var(--ease-smooth);
  border: none;
}
.btn:hover { opacity: 0.85; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-hover); opacity: 1; }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.55);
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); opacity: 1; }

/* ─── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 0.5px solid rgba(255,255,255,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
}

.logo-mark-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.logo-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1.3;
}
.logo-name span {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.site-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  transition: color 0.28s var(--ease-precise);
  position: relative;
}
.site-nav a:hover { color: var(--white); }

/* active page */
.site-nav a.is-active {
  color: var(--white);
  position: relative;
}
.site-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
}

/* hamburger – mobile only */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--white);
}
.nav-toggle svg { display: block; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(4.5rem, 11vw, 8rem);
  isolation: isolate;
}

/* photographic background — sits behind the navy overlay */
.hero-bg {
  position: absolute;
  inset: -10% 0 -10% 0;       /* extra height gives the parallax room to move */
  z-index: -2;
  will-change: transform;
  overflow: hidden;
}
/* inner div isolates Ken Burns scale from the parallax translate on the parent */
.hero-bg-inner {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-industrial.jpg');
  background-size: cover;
  background-position: center;
  animation: kenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}

/* deep-navy overlay — keeps white text fully readable */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4,44,83,0.82) 0%, rgba(2,20,40,0.90) 100%);
}

.hero-content { max-width: 680px; }

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero .subheadline {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.25rem;
}

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

/* ─── Trust strip ───────────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
  padding-block: 2.25rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-item {
  padding: 1.25rem 1rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
}

.trust-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.trust-label {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.4;
}

/* ─── Intro ─────────────────────────────────────────────────────────────────── */
.intro {
  position: relative;
  background: var(--light);
  overflow: hidden;
}

/* faint blueprint-style grid — subtle engineering texture */
.intro::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(4,44,83,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(4,44,83,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent);
}

.intro { padding-block: clamp(3rem, 5vw, 4rem); }

.intro .container { position: relative; z-index: 1; }

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.intro-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--grey);
}

.intro-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
}

/* ─── Highlights ────────────────────────────────────────────────────────────── */
.highlights { background: var(--white); }

.highlights > .container > h2 {
  margin-bottom: 2.5rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.highlight-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  background: var(--white);
  transition:
    transform 0.34s var(--ease-smooth),
    border-color 0.3s var(--ease-precise),
    box-shadow 0.34s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(4,44,83,0.10);
}

.card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.highlight-card h3 {
  margin-bottom: 0.65rem;
}

.highlight-card p {
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ─── CTA block ─────────────────────────────────────────────────────────────── */
.cta-block {
  background: var(--light);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.cta-inner {
  max-width: 640px;
}

.cta-inner h2 { margin-bottom: 0.85rem; }

.cta-inner p {
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding-block: 3rem 2rem;
  font-size: 0.88rem;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 72% 22%, #000, transparent 72%);
          mask-image: radial-gradient(ellipse 80% 75% at 72% 22%, #000, transparent 72%);
  animation: blueprintDrift 42s linear infinite;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: -28%;
  right: 6%;
  z-index: -1;
  width: min(46vw, 680px);
  aspect-ratio: 1;
  pointer-events: none;
  border: 1px solid rgba(226,82,29,0.18);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 36px rgba(226,82,29,0.025),
    inset 0 0 0 92px rgba(255,255,255,0.018),
    0 0 70px rgba(226,82,29,0.09);
  opacity: 0.72;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-footer .container::before {
  content: '';
  position: absolute;
  top: -3rem;
  left: clamp(1.25rem, 5vw, 3rem);
  right: clamp(1.25rem, 5vw, 3rem);
  height: 2px;
  background:
    linear-gradient(90deg, var(--accent), rgba(226,82,29,0.12) 34%, transparent 72%);
  opacity: 0.75;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: 2.25rem;
  align-items: start;
  margin-bottom: 2.25rem;
}

.footer-brand .logo { margin-bottom: 1rem; }

.footer-brand p {
  line-height: 1.65;
  max-width: 300px;
}

.footer-nav h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.6);
  transition: color 0.18s;
}
.footer-nav a:hover { color: var(--white); }

.footer-contact address {
  font-style: normal;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
}

.footer-contact a {
  color: rgba(255,255,255,0.6);
  transition: color 0.18s;
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 0.5px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

/* ─── Inner page header — navy band with a low-opacity industrial photo ─────── */
.page-header {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

/* photographic background, sits behind a navy overlay */
.page-header .page-header-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../images/about-hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4,44,83,0.86) 0%, rgba(2,20,40,0.92) 100%);
}

.page-header .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.page-header h1 {
  color: var(--white);
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.page-lead {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
}
.page-lead + .page-lead { margin-top: 1.1rem; }

/* ─── About: generic section bits ───────────────────────────────────────────── */
.section-light { background: var(--light); }

.section-head {
  max-width: 760px;
  margin-bottom: 2.75rem;
}
/* orange left-bar is now an animated ::before — draws in when section enters view */
.section-head h2 {
  margin-bottom: 1.1rem;
  padding-left: 1rem;
  position: relative;
}
.section-head h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0%;
  background: var(--accent);
  border-radius: 1px;
  transition: height 0.78s var(--ease-smooth) 0.18s;
}
.section-head.is-visible h2::before {
  height: 100%;
}
.section-head .lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--grey);
}

/* ─── Trading-house: traditional vs trading-house contrast panels ───────────── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.compare-panel {
  border-radius: var(--radius);
  padding: 2rem 1.85rem;
  border: 0.5px solid var(--border);
}
.compare-panel .compare-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.compare-panel h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.compare-panel p {
  font-size: 0.96rem;
  line-height: 1.75;
}

/* muted "traditional supplier" panel */
.compare-panel.is-muted {
  background: var(--light);
}
.compare-panel.is-muted .compare-tag { color: var(--grey); }

/* navy + orange "our model" panel */
.compare-panel.is-ours {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  border-color: var(--navy);
}
.compare-panel.is-ours .compare-tag { color: var(--accent); }
.compare-panel.is-ours h3 { color: var(--white); }
.compare-panel.is-ours p { color: rgba(255,255,255,0.82); }
/* faint blueprint grid inside our panel for industrial texture */
.compare-panel.is-ours::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* four-point feature grid — reuses the card look from the homepage */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  background: var(--white);
  transition:
    transform 0.34s var(--ease-smooth),
    border-color 0.3s var(--ease-precise),
    box-shadow 0.34s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(4,44,83,0.10);
}
.feature-card .card-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 1.1rem;
  color: var(--navy);
}
.feature-card h3 { margin-bottom: 0.6rem; }
.feature-card p {
  font-size: 0.93rem;
  line-height: 1.7;
}

/* "How we work" — light section with a faint blueprint grid for texture */
.how-we-work {
  position: relative;
  overflow: hidden;
}
.how-we-work::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(4,44,83,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(4,44,83,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, #000, transparent 75%);
}
.how-we-work .container { position: relative; z-index: 1; }

.prose {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--grey);
}
.prose p + p { margin-top: 1.1rem; }

/* ─── Capabilities: substantial product cards ───────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.cap-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 2.25rem 2rem;
  transition:
    transform 0.34s var(--ease-smooth),
    border-color 0.3s var(--ease-precise),
    box-shadow 0.34s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(4,44,83,0.10);
}
/* card 5 spans the full width — it's the "spans every category" service */
.cap-card.is-wide { grid-column: 1 / -1; }

.cap-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.4rem;
  color: var(--accent);
}

.cap-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}
.cap-card p {
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ─── Capabilities: documentation band (navy panel on the grey section) ─────── */
.doc-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  border-radius: var(--radius);
  padding: clamp(2.25rem, 5vw, 3.25rem);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.75rem;
  align-items: start;
}
/* faint blueprint grid for industrial texture */
.doc-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.doc-band .cap-icon {
  color: var(--accent);
  margin-bottom: 0;
  width: 56px;
  height: 56px;
}
.doc-band .compare-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.doc-band h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
}
.doc-band p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 640px;
}

/* ─── Dark CTA variant (navy + photo) for inner-page closing actions ─────────── */
.cta-block.cta-dark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  border-color: transparent;
}
.cta-block.cta-dark .cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../images/hero-industrial.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.32;
}
.cta-block.cta-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4,44,83,0.84) 0%, rgba(2,20,40,0.90) 100%);
}
.cta-block.cta-dark h2 { color: var(--white); }
.cta-block.cta-dark p  { color: rgba(255,255,255,0.82); }

/* ─── Scroll motion ─────────────────────────────────────────────────────────── */
/* Elements with .reveal start hidden + nudged down, then spring into place when
   .is-visible is added by the IntersectionObserver. Children stagger via --reveal-delay.
   The cubic-bezier has a y1 > 1 for a subtle spring overshoot feel. */
.reveal {
  --reveal-x: 0px;
  --reveal-y: 24px;
  --depth-x: 0px;
  --depth-y: 0px;
  --depth-scale: 1;
  --depth-rotate-x: 0deg;
  --depth-rotate-y: 0deg;
  opacity: 0;
  transform:
    perspective(1200px)
    translate3d(
      calc(var(--reveal-x) + var(--depth-x)),
      calc(var(--reveal-y) + var(--depth-y)),
      0
    )
    scale(var(--depth-scale))
    rotateX(var(--depth-rotate-x))
    rotateY(var(--depth-rotate-y));
  transition:
    opacity 0.88s var(--ease-smooth),
    transform 0.88s var(--ease-smooth);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  --reveal-x: 0px;
  --reveal-y: 0px;
}

/* When the OS asks for reduced motion: no reveal, no parallax — everything static. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-bg { transform: none !important; }
  .hero-bg-inner,
  .page-header-bg { animation: none !important; }
  .highlight-card { transition: border-color 0.22s ease; }
  .highlight-card:hover { transform: none; }
  .word { animation: none !important; opacity: 1 !important; }
  .section-head h2::before { height: 100% !important; transition: none !important; }
  .intro::before,
  .how-we-work::before,
  .why-start-section::before,
  .contact-raq-section::before,
  .site-footer::before { animation: none !important; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
}

/* ─── Request a Quote page ──────────────────────────────────────────────────── */
.raq-section { background: var(--white); }

.raq-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: clamp(3rem, 7vw, 5.5rem);
  align-items: start;
}

/* Left aside — what happens next */
.raq-aside-block { margin-bottom: 2.5rem; }

.raq-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.raq-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
  align-items: start;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.raq-steps li strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.raq-steps li p {
  font-size: 0.9rem;
  line-height: 1.65;
}

.raq-aside-contact {
  border-top: 0.5px solid var(--border);
  padding-top: 1.5rem;
}
.raq-aside-contact > p {
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 0.85rem;
}
.raq-contact-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 0.6rem;
  transition: color 0.18s;
}
.raq-contact-link:hover { color: var(--accent); }
.raq-contact-link svg { color: var(--accent); flex-shrink: 0; }

/* Form */
.raq-form-wrap {
  background: var(--light);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.raq-form { display: flex; flex-direction: column; gap: 1.5rem; }

.form-row { display: flex; gap: 1.25rem; }
.form-row-2 > * { flex: 1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
}
.required { color: var(--accent); }
.form-hint {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--grey);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(4,44,83,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--border); }
.form-group textarea { resize: vertical; line-height: 1.6; }

/* Checkboxes */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1.25rem;
  margin-top: 0.2rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--grey);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

/* File input */
.file-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.file-input-wrap input[type="file"] {
  font-size: 0.88rem;
  color: var(--grey);
  cursor: pointer;
}
.file-hint {
  font-size: 0.78rem;
  color: var(--grey);
}

/* Submit button */
.raq-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  align-self: flex-start;
}

.form-note {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.6;
  margin-top: -0.5rem;
}

/* ─── Contact page ──────────────────────────────────────────────────────────── */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

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

.contact-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 1rem;
  align-items: start;
  padding-block: 1.35rem;
  border-bottom: 0.5px solid var(--border);
}
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child  { border-bottom: none; }

.contact-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 0.97rem;
  color: var(--navy);
  line-height: 1.6;
  font-style: normal;
}

.contact-sub {
  font-size: 0.88rem;
  color: var(--grey);
}

.contact-address {
  font-style: normal;
}

.contact-link {
  color: var(--navy);
  transition: color 0.18s;
}
.contact-link:hover { color: var(--accent); }

.contact-badge {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--white);
  background: #25D366;
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 0.5px solid var(--border);
  min-height: 420px;
  height: 100%;
}
.contact-map iframe {
  width: 100%;
  min-height: 420px;
}

/* ─── Contact: request-a-quote support band ─────────────────────────────────── */
.contact-raq-section {
  position: relative;
  overflow: hidden;
}
.contact-raq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(4,44,83,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(4,44,83,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 90% 50%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 80% at 90% 50%, #000, transparent 70%);
}
.contact-raq-section .container { position: relative; z-index: 1; }

/* Industries: sector cards ─────────────────────────────────────────────── */
.industries-list { background: var(--white); }

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ind-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 2.25rem 2rem;
  transition:
    transform 0.34s var(--ease-smooth),
    border-color 0.3s var(--ease-precise),
    box-shadow 0.34s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.ind-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(4,44,83,0.10);
}

.ind-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.4rem;
  color: var(--accent);
}

.ind-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
}
.ind-card p {
  font-size: 0.93rem;
  line-height: 1.75;
}

/* ─── Why Us: reason cards ──────────────────────────────────────────────────── */
.why-reasons { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 2.25rem 2rem;
  transition:
    transform 0.34s var(--ease-smooth),
    border-color 0.3s var(--ease-precise),
    box-shadow 0.34s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(4,44,83,0.10);
}

.why-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.4rem;
  color: var(--accent);
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
  color: var(--navy);
}
.why-card p {
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ─── Why Us: "getting started" navy band on light-grey section ──────────────── */
.why-start-section {
  position: relative;
  overflow: hidden;
}
/* blueprint grid texture */
.why-start-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(4,44,83,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(4,44,83,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 10% 50%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 80% 90% at 10% 50%, #000, transparent 70%);
}
.why-start-section .container { position: relative; z-index: 1; }

.why-start-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  border-radius: var(--radius);
  padding: clamp(2.25rem, 5vw, 3.25rem);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.75rem;
  align-items: start;
}
/* faint blueprint grid inside navy band */
.why-start-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.why-start-icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  flex-shrink: 0;
}

.why-start-band .compare-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.why-start-band h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
}
.why-start-band p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 640px;
}

/* ════════════════════════════════════════════════════════════════════════════
   ANIMATION & MOTION LAYER
   All motion here is skipped when prefers-reduced-motion: reduce (see above).
   ════════════════════════════════════════════════════════════════════════════ */

/* ─── MPA page transitions (Chrome 126+, Safari TP) ─────────────────────────── */
@view-transition { navigation: auto; }

@keyframes vtFadeOut {
  to { opacity: 0; transform: translateY(-10px) scale(0.985); }
}
@keyframes vtFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
}
::view-transition-old(root) {
  animation: 280ms var(--ease-precise) both vtFadeOut;
}
::view-transition-new(root) {
  animation: 440ms var(--ease-smooth) both vtFadeIn;
}

/* ─── Ken Burns — page-header background photos ──────────────────────────────── */
@keyframes kenBurns {
  from { transform: scale(1.0) translate(0%, 0%); }
  to   { transform: scale(1.08) translate(-1%, 0.5%); }
}
.page-header-bg {
  animation: kenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}

/* ─── Word-split heading animation ───────────────────────────────────────────── */
@keyframes wordIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}
.word {
  display: inline-block;
  animation: wordIn 0.96s var(--ease-smooth) both;
  animation-delay: var(--word-delay, 0ms);
}

/* ─── Blueprint grid drift ───────────────────────────────────────────────────── */
@keyframes blueprintDrift {
  from { background-position: 0 0; }
  to   { background-position: 44px 44px; }
}
.intro::before             { animation: blueprintDrift 30s linear infinite; }
.how-we-work::before       { animation: blueprintDrift 35s linear infinite; }
.why-start-section::before { animation: blueprintDrift 28s linear infinite; }
.contact-raq-section::before { animation: blueprintDrift 32s linear infinite; }

/* ─── Card shimmer sweep on hover ────────────────────────────────────────────── */
.cap-card::after,
.why-card::after,
.ind-card::after,
.feature-card::after,
.highlight-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.13),
    transparent
  );
  transform: skewX(-12deg);
  transition: left 0.86s var(--ease-smooth);
  pointer-events: none;
  z-index: 1;
}
.cap-card:hover::after,
.why-card:hover::after,
.ind-card:hover::after,
.feature-card:hover::after,
.highlight-card:hover::after {
  left: 160%;
}

/* ─── Button arrow nudge ─────────────────────────────────────────────────────── */
.raq-submit svg {
  transition: transform 0.32s var(--ease-smooth);
}
.raq-submit:hover svg {
  transform: translateX(5px);
}

/* ─── Nav hover underline — slides in from left ──────────────────────────────── */
.site-nav a:not(.is-active)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.32s var(--ease-smooth);
  border-radius: 1px;
}
.site-nav a:not(.is-active):hover::after {
  width: 100%;
}

/* ════════════════════════════════════════════════════════════════════════════
   3D INDUSTRIAL MOTION LAYER
   A restrained wireframe canvas + scroll-depth transforms. This is the "alive"
   layer: more dimensional, still disciplined.
   ════════════════════════════════════════════════════════════════════════════ */

.hero .container,
.page-header .container,
.cta-block.cta-dark .container {
  position: relative;
  z-index: 2;
}

.industrial-3d-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Solid metallic render — fade left so the headline stays clean, glow right */
  filter: drop-shadow(0 0 26px rgba(226,82,29,0.12)) drop-shadow(0 14px 40px rgba(2,16,38,0.45));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 24%, #000 46%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 24%, #000 46%, #000 100%);
  opacity: 0;
  animation: canvasFadeIn 1.3s var(--ease-smooth) 0.35s forwards;
}

@keyframes canvasFadeIn { to { opacity: 0.95; } }

.hero::before,
.page-header::before,
.cta-block.cta-dark::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 42%;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255,255,255,0.045) 36%,
      rgba(226,82,29,0.22) 52%,
      rgba(255,255,255,0.045) 68%,
      transparent 100%
    );
  mix-blend-mode: screen;
  animation: industrialScan 6.2s var(--ease-smooth) 0.25s both;
}

@keyframes industrialScan {
  0%   { transform: translateX(-120%) skewX(-14deg); opacity: 0; }
  18%  { opacity: 1; }
  52%  { opacity: 0.82; }
  100% { transform: translateX(135%) skewX(-14deg); opacity: 0; }
}

.highlights-grid,
.feature-grid,
.cap-grid,
.why-grid,
.ind-grid,
.compare-grid,
.contact-grid,
.raq-grid {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.depth-motion {
  transform-style: preserve-3d;
  transform-origin: center;
}

.depth-motion.is-visible {
  transition:
    opacity 0.88s var(--ease-smooth),
    transform 0.32s var(--ease-smooth),
    border-color 0.3s var(--ease-precise),
    box-shadow 0.34s var(--ease-smooth);
}

.depth-side-left:not(.is-visible)  { --reveal-x: -30px; }
.depth-side-right:not(.is-visible) { --reveal-x: 30px; }

.depth-motion .card-icon,
.depth-motion .cap-icon,
.depth-motion .why-icon,
.depth-motion .ind-icon,
.why-start-icon {
  transform:
    translateZ(24px)
    translate3d(0, var(--icon-lift, 0px), 0);
  transition: transform 0.34s var(--ease-smooth);
}

.depth-motion:hover .card-icon,
.depth-motion:hover .cap-icon,
.depth-motion:hover .why-icon,
.depth-motion:hover .ind-icon {
  --icon-lift: -4px;
}

.depth-motion:hover {
  border-color: var(--accent);
}

.intro-media,
.contact-map,
.raq-form-wrap {
  transform:
    perspective(1200px)
    translate3d(0, var(--media-y, 0px), 0)
    rotateX(var(--media-rotate-x, 0deg))
    scale(var(--media-scale, 1));
  transform-origin: center;
  transition: transform 0.22s var(--ease-smooth);
  will-change: transform;
}

.cta-block.cta-dark .cta-bg,
.page-header-bg {
  --bg-depth-y: 0px;
}

.btn-primary {
  transition:
    opacity 0.24s var(--ease-precise),
    background 0.24s var(--ease-precise),
    transform 0.34s var(--ease-smooth),
    box-shadow 0.34s var(--ease-smooth);
}
.btn-primary:hover {
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 10px 26px rgba(226,82,29,0.18);
}

@media (prefers-reduced-motion: reduce) {
  .industrial-3d-canvas,
  .hero::before,
  .page-header::before,
  .cta-block.cta-dark::before {
    display: none !important;
  }

  .depth-side-left:not(.is-visible),
  .depth-side-right:not(.is-visible) {
    --reveal-x: 0px;
  }

  .reveal,
  .depth-motion,
  .intro-media,
  .contact-map,
  .raq-form-wrap {
    --depth-x: 0px !important;
    --depth-y: 0px !important;
    --depth-scale: 1 !important;
    --depth-rotate-x: 0deg !important;
    --depth-rotate-y: 0deg !important;
    --media-y: 0px !important;
    --media-scale: 1 !important;
    --media-rotate-x: 0deg !important;
    transform: none !important;
  }
}

/* ─── Floating WhatsApp contact button ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 160;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.75rem 1rem 0.75rem 0.85rem;
  border-radius: 999px;
  color: var(--white);
  background: #25D366;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 34px rgba(4,44,83,0.22), 0 0 0 6px rgba(37,211,102,0.10);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  transform: translateZ(0);
  transition:
    transform 0.34s var(--ease-smooth),
    box-shadow 0.34s var(--ease-smooth),
    background 0.24s var(--ease-precise);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -7px;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid rgba(37,211,102,0.28);
  opacity: 0.55;
  animation: whatsappPulse 2.8s var(--ease-smooth) infinite;
}

.whatsapp-float:hover {
  background: #20bf5a;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 42px rgba(4,44,83,0.26), 0 0 0 8px rgba(37,211,102,0.12);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(255,255,255,0.85);
  outline-offset: 3px;
}

.whatsapp-float svg {
  flex-shrink: 0;
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.34; }
  50%      { transform: scale(1.08); opacity: 0.72; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .whatsapp-float::before {
    animation: none !important;
    transition: none !important;
  }
}

/* ─── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-media { order: -1; }                 /* image on top when stacked */
  .intro-media img { max-height: 260px; }
  .feature-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .doc-band { grid-template-columns: 1fr; gap: 1.25rem; }
  .doc-band .cap-icon { width: 48px; height: 48px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-start-band { grid-template-columns: 1fr; gap: 1.25rem; }
  .why-start-icon { width: 48px; height: 48px; }
  .ind-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 300px; }
  .contact-map iframe { min-height: 300px; }
  .raq-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; gap: 1.5rem; }
  .checkbox-grid { grid-template-columns: 1fr; }
}

/* Collapse the nav to a hamburger before the 5 links + logo can overflow. */
@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    border-top: 0.5px solid rgba(255,255,255,0.12);
    padding-block: 0.5rem;
  }
  .site-nav.open { display: flex; }
  .site-nav li a {
    display: block;
    padding: 0.75rem clamp(1.25rem, 5vw, 3rem);
  }
  /* underline indicator doesn't suit the stacked menu — use solid colour only */
  .site-nav a.is-active::after { display: none; }
}

@media (max-width: 640px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .whatsapp-float {
    width: 54px;
    min-height: 54px;
    justify-content: center;
    padding: 0;
    right: 1rem;
    bottom: 1rem;
  }
  .whatsapp-float span { display: none; }
}
