/* ==========================================================================
   FPLUS Technical Services — Main Styles
   ========================================================================== */

/* --- Brand: Steel Gray · Bright Teal · Industrial Orange · White --- */
:root {
  /* Steel Gray — technical base */
  --steel-900: #2D3748;
  --steel-700: #4A5568;
  --steel-500: #718096;
  --steel-300: #CBD5E0;
  --steel-200: #E2E8F0;
  --steel-100: #EDF2F7;
  --steel-50: #F7FAFC;

  /* Deep Teal — innovation accent (industrial, not neon) */
  --teal: #0A7C75;
  --teal-bright: #14A89E;
  --teal-dark: #065F5A;
  --teal-deep: #054E4A;
  --teal-glow: rgba(10, 124, 117, 0.2);
  --teal-tint: rgba(10, 124, 117, 0.08);
  --teal-tint-mid: rgba(10, 124, 117, 0.14);

  /* Industrial Orange — CTAs only */
  --orange: #EA580C;
  --orange-bright: #F97316;
  --orange-dark: #C2410C;
  --orange-glow: rgba(234, 88, 12, 0.22);

  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Gradients & surfaces */
  --brand-gradient: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  --brand-gradient-soft: linear-gradient(165deg, #EEF1F4 0%, var(--steel-100) 50%, #E8ECEF 100%);
  --brand-banner-overlay: linear-gradient(to bottom, rgba(45, 55, 72, 0.35), rgba(10, 60, 56, 0.55));
  --surface-textured: var(--steel-100);
  --blueprint-grid:
    linear-gradient(rgba(10, 124, 117, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 124, 117, 0.06) 1px, transparent 1px);
  --on-brand: var(--white);

  /* Legacy aliases (keeps existing rules working) */
  --navy: var(--steel-900);
  --ash: var(--steel-50);
  --ash-mid: var(--steel-100);
  --ash-dark: var(--steel-300);
  --surface-secondary: var(--steel-100);
  --surface-secondary-mid: #E4EAEF;
  --surface-edge: rgba(45, 55, 72, 0.12);
  --blue: var(--teal);
  --blue-bright: var(--teal-bright);
  --blue-dark: var(--teal-dark);
  --blue-deep: var(--teal-deep);
  --blue-glow: var(--teal-glow);
  --blue-tint: var(--teal-tint);
  --blue-tint-mid: var(--teal-tint-mid);
  --cta: var(--orange);
  --cta-dark: var(--orange-dark);
  --cta-glow: var(--orange-glow);
  --text-dim: var(--steel-700);
  --text-muted: var(--steel-500);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: #F2F5F8;
  background-image: var(--blueprint-grid);
  background-size: 24px 24px;
  color: var(--steel-900);
  overflow-x: hidden;
}

/* --- Floating Contact Widget --- */
.contact-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 400;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
}

.contact-float-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--cta);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--cta-glow);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.contact-float-toggle:hover {
  background: var(--cta-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--cta-glow);
}

.contact-float-toggle svg {
  width: 22px;
  height: 22px;
}

.contact-float-buttons {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.contact-float.open .contact-float-buttons {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-float-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface-secondary);
  color: var(--navy);
  border: 1px solid var(--surface-edge);
  text-decoration: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.2);
  transition: background 0.2s, transform 0.2s;
}

.contact-float-btn:hover {
  opacity: 0.9;
  transform: translateX(-4px);
}

.contact-float-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 52px;
  background: rgba(247, 250, 252, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-edge);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0;
}

.logo-fplus {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--teal);
}

.logo-ts {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--cta);
  padding: 10px 28px;
  text-decoration: none;
  box-shadow: 0 2px 12px var(--cta-glow);
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--cta-dark);
  box-shadow: 0 4px 18px var(--cta-glow);
  transform: translateY(-1px);
}

/* --- Hero --- */
#hero {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 52px;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 72px 56px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.88;
  transition: transform 8s ease;
  transform: scale(1.03) translateZ(0);
  z-index: 0;
  backface-visibility: hidden;
}

#hero:hover .hero-bg {
  transform: scale(1);
}

.hero-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(242, 245, 248, 0.62) 0%,
    rgba(242, 245, 248, 0.18) 50%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--steel-900);
  letter-spacing: -0.5px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.hero-h1 em {
  font-style: normal;
  color: var(--teal);
  font-weight: 700;
}

.hero-stats {
  display: flex;
  border-top: 1px solid var(--surface-edge);
  padding-top: 32px;
}

.hstat {
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid var(--surface-edge);
  margin-right: 24px;
}

.hstat:last-child {
  border-right: none;
  margin-right: 0;
}

.hstat-n {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hstat-l {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}

.hero-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
}

.hi-top,
.hi-bot {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hi-top::after,
.hi-bot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 124, 117, 0.14) 0%,
    rgba(45, 55, 72, 0.05) 35%,
    transparent 70%
  );
}

.img-tag {
  position: absolute;
  bottom: 20px;
  left: 24px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  z-index: 2;
}

/* --- Intro Strip --- */
.intro-strip {
  background-color: #F5F7FA;
  background-image: var(--blueprint-grid);
  background-size: 24px 24px;
  padding: 36px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ash-dark);
}

.intro-strip p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 660px;
}

.intro-strip-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: 48px;
}

.intro-strip-divider {
  color: var(--ash-dark);
  font-weight: 300;
  font-size: 10px;
}

.intro-strip a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.intro-strip a:hover {
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}

/* --- Services Section --- */
#services {
  background-color: var(--surface-textured);
  background-image: var(--blueprint-grid);
  background-size: 24px 24px;
  padding: 80px 0 80px 56px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel-700);
  font-weight: 600;
  margin-bottom: 14px;
  padding: 8px 16px;
  background: var(--steel-100);
  border-left: 3px solid var(--teal);
  border-radius: 0 2px 2px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--steel-900);
  text-transform: uppercase;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  padding-right: 56px;
}

.section-header-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  max-width: 280px;
  line-height: 1.6;
  text-align: right;
}

.carousel-wrap {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 2px;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.svc {
  flex: 0 0 calc(33.333% - 2px);
  background: var(--ash-mid);
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  max-height: 520px;
}

.svc-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 0.6s ease;
}

.svc:hover .svc-img {
  transform: scale(1.03) translateZ(0);
}

.svc-body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  padding: 20px 22px;
  z-index: 3;
  pointer-events: none;
}

.svc-toast {
  width: 100%;
  background: rgba(250, 251, 252, 0.97);
  border: 1px solid var(--steel-200);
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow:
    0 4px 6px rgba(10, 22, 40, 0.04),
    0 12px 32px rgba(10, 22, 40, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.svc:hover .svc-toast {
  transform: translateY(-4px);
  box-shadow:
    0 6px 10px rgba(10, 22, 40, 0.06),
    0 18px 40px rgba(10, 22, 40, 0.14);
}

.svc-t {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 10px;
  padding-bottom: 10px;
  position: relative;
}

.svc-t::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 1px;
  background: var(--orange);
  opacity: 0.85;
}

.svc-s {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.55;
}

.carousel-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-right: 56px;
}

#carPrev {
  justify-self: start;
}

#carNext {
  justify-self: end;
}

.cc-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(10, 124, 117, 0.3);
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px var(--teal-glow);
  transition: all 0.25s;
}

.cc-btn:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  box-shadow: 0 4px 14px var(--teal-glow);
}

.cc-btn svg {
  stroke: rgba(248, 247, 245, 0.95);
  transition: stroke 0.25s;
}

.cc-btn:hover svg {
  stroke: #fff;
}

.cc-dots {
  display: flex;
  justify-self: center;
  gap: 8px;
}

.cc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 22%, var(--ash) 78%);
  transition: all 0.3s;
  cursor: pointer;
}

.cc-dot.active {
  background: var(--blue);
  transform: scale(1.2);
}

.cc-count {
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* --- About Section --- */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.about-img {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: var(--ash-mid);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.about-text {
  background-color: var(--surface-textured);
  background-image: var(--blueprint-grid);
  background-size: 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px 80px 64px;
}

.about-text blockquote {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--steel-900);
  margin-bottom: 36px;
  border-left: 3px solid var(--teal);
  padding-left: 28px;
}

.about-text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 420px;
}

.vm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ash-dark);
  border: 1px solid var(--ash-dark);
}

.vm {
  background: var(--white);
  padding: 28px 24px;
  transition: box-shadow 0.3s ease;
}

.vm:hover {
  background: var(--white);
  box-shadow:
    inset 0 0 0 1px rgba(234, 88, 12, 0.4),
    inset 0 0 18px rgba(234, 88, 12, 0.1);
}

.vm-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
  font-weight: 600;
  transition: font-weight 0.3s ease;
}

.vm-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--steel-700);
}

.vm:hover .vm-label {
  font-weight: 700;
}

/* --- License Strip (textured band — matches page, teal accent) --- */
.license-strip {
  background-color: var(--surface-textured);
  background-image: var(--blueprint-grid);
  background-size: 24px 24px;
  padding: 28px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 3px solid var(--teal);
  border-bottom: 1px solid var(--steel-200);
}

.lic-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lic-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.lic-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--steel-900);
  letter-spacing: 0.3px;
}

.lic-divider {
  width: 1px;
  height: 40px;
  background: var(--steel-300);
}

.lic-verified {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--teal);
  padding: 10px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(45, 55, 72, 0.06);
}

.lic-verified-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal-glow);
}

.lic-verified span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-dark);
}

/* --- HSE Section --- */
.hse-section {
  display: flex;
  align-items: stretch;
  min-height: 520px;
  background: var(--brand-gradient-soft);
  border-bottom: 1px solid var(--surface-edge);
}

.hse-sidecar {
  width: 42%;
  max-width: 520px;
  min-width: 280px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--surface-edge);
}

.hse-slides {
  position: absolute;
  inset: 0;
}

.hse-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02) translateZ(0);
  backface-visibility: hidden;
  transition: opacity 0.85s ease, transform 1.1s ease;
  z-index: 0;
}

.hse-slide.active {
  opacity: 1;
  transform: scale(1) translateZ(0);
  z-index: 1;
}

.hse-slide-tag {
  position: absolute;
  left: 24px;
  bottom: 24px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--on-brand);
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 14px;
  box-shadow: 0 2px 12px var(--blue-glow);
}

.hse-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 124, 117, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 55%,
    rgba(8, 86, 196, 0.08) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hse-slide-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(10, 124, 117, 0.15);
  z-index: 3;
}

.hse-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--blue);
  transition: width 0.1s linear;
}

.hse-slide-dots {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
  z-index: 4;
}

.hse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(10, 124, 117, 0.45);
  background: rgba(255, 255, 255, 0.6);
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hse-dot.active {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.15);
}

.hse-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 56px 64px;
}

.hse-body-inner {
  max-width: 560px;
}

.hse-section-label {
  color: var(--steel-700);
}

.hse-intro {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-dim);
  margin: 16px 0 28px;
}

.hse-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.hse-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--surface-edge);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
}

.hse-item:hover {
  background: #fff;
  border-color: rgba(10, 124, 117, 0.3);
  box-shadow: 0 2px 12px rgba(10, 124, 117, 0.1);
}

.hse-item.active {
  background: var(--teal-tint-mid);
  border-color: var(--teal);
  border-left: 3px solid var(--orange);
  transform: translateX(6px);
  box-shadow: 0 4px 16px var(--teal-glow);
}

.hse-item-n {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
  flex-shrink: 0;
  padding-top: 2px;
}

.hse-item.active .hse-item-n {
  color: var(--orange);
}

.hse-item-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--navy);
}

.hse-note {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  margin: 0;
}

/* --- Who We Serve --- */
.serve-section {
  background: var(--ash);
  border-top: 1px solid var(--surface-edge);
  border-bottom: 1px solid var(--surface-edge);
  padding: 48px 56px;
}

.serve-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.serve-inner .section-label {
  margin-bottom: 20px;
}

.serve-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.serve-chip {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--steel-700);
  padding: 8px 16px;
  border: 1px solid var(--teal);
  border-radius: 2px;
  background: var(--white);
  letter-spacing: 0.2px;
}

/* --- Why / Expertise Section --- */
#why {
  background: var(--surface-secondary);
  display: flex;
  align-items: stretch;
  min-height: 580px;
}

.why-sidecar {
  width: 220px;
  flex-shrink: 0;
  position: relative;
  border-right: 1px solid var(--surface-edge);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0;
  background: var(--surface-secondary-mid);
  overflow: hidden;
}

.why-sidecar-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1487958449943-2429e8be8625?w=700&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.why-sidecar-label {
  position: relative;
  z-index: 2;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.why-sidecar-kicker {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}

.why-sidecar-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -1px;
}

.why-sidecar-title em {
  font-style: normal;
  color: var(--teal);
}

.why-sidecar-line {
  width: 1px;
  height: 40px;
  background: var(--teal);
}

.why-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 64px 56px;
}

.pillars {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--surface-edge);
  border: 1px solid var(--surface-edge);
}

.pillar {
  background: var(--surface-secondary-mid);
  padding: 32px 28px;
  transition: background 0.3s;
}

.pillar:hover {
  background: rgba(10, 124, 117, 0.1);
}

.pillar-n {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 14px;
}

.pillar-t {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--navy);
  margin-bottom: 8px;
}

.pillar-b {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-dim);
}

.pillar.wide {
  grid-column: 1 / -1;
}

/* --- Contact Section --- */
#contact {
  background-color: #EEF1F4;
  background-image: var(--blueprint-grid);
  background-size: 24px 24px;
}

.contact-banner {
  position: relative;
  overflow: hidden;
  height: 340px;
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1400&q=80');
  background-size: cover;
  background-position: center 30%;
}

.contact-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-banner-overlay);
}

.contact-banner-inner::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(6, 46, 42, 0.72) 0%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.contact-banner-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 52px 56px;
}

.contact-banner-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.contact-banner-inner h2 em {
  font-style: normal;
  color: var(--white);
  font-weight: 700;
}

.contact-banner-sub {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.contact-banner-sub p {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  max-width: 280px;
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.banner-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--cta);
  padding: 12px 28px;
  text-decoration: none;
  box-shadow: 0 4px 16px var(--cta-glow);
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
  display: inline-block;
}

.banner-cta:hover {
  background: var(--cta-dark);
  box-shadow: 0 6px 22px var(--cta-glow);
  transform: translateY(-1px);
}

.contact-reach {
  display: flex;
  border-bottom: 1px solid var(--ash-dark);
}

.reach-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--surface-secondary);
  border-right: 1px solid var(--surface-edge);
  text-decoration: none;
  transition: background 0.25s, opacity 0.25s;
}

.reach-btn:last-child {
  border-right: none;
}

.reach-btn:hover {
  background: var(--surface-secondary-mid);
  opacity: 1;
}

.reach-btn .reach-icon {
  border-color: var(--ash-dark);
  color: var(--navy);
}

.reach-btn .reach-label {
  color: var(--text-dim);
}

.reach-btn .reach-val {
  color: var(--navy);
}

.reach-btn:hover .reach-icon {
  border-color: var(--orange);
  color: var(--orange);
}

.reach-btn:hover .reach-label {
  color: var(--navy);
}

.reach-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ash-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
}

.reach-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.reach-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.reach-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.25s;
}

.reach-val {
  font-size: 14px;
  font-weight: 300;
  color: var(--navy);
  transition: color 0.25s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
}

.contact-details {
  padding: 56px;
  background-color: var(--surface-textured);
  background-image: var(--blueprint-grid);
  background-size: 24px 24px;
  border-right: 1px solid var(--steel-200);
  border-top: 3px solid var(--teal);
}

.contact-details h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
}

.cd-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ash-dark);
}

.cd {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 14px;
  margin: 0 -14px;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cd:hover {
  background: var(--teal-tint);
  transform: translateX(2px);
}

.cd-lbl {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  min-width: 76px;
  padding-top: 2px;
  flex-shrink: 0;
}

.cd-val {
  font-size: 15px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.6;
}

.cd-val a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.cd-val a:hover {
  border-color: var(--teal);
}

.contact-map {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border: 1px solid var(--ash-dark);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) contrast(0.85);
  opacity: 0.9;
}

.contact-lic {
  margin-top: 24px;
  background: var(--white);
  border: 1px solid var(--steel-200);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 4px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-lic:hover {
  border-color: var(--teal);
  box-shadow: 0 2px 12px var(--teal-glow);
}

.contact-lic-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ECC71;
  box-shadow: 0 0 8px #2ECC71;
  flex-shrink: 0;
}

.contact-lic-text strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
}

.contact-lic-text span {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-dim);
}

.contact-form-wrap {
  padding: 56px;
  margin: 24px 24px 24px 0;
  background: var(--white);
  border: 1px solid var(--steel-200);
  box-shadow: 0 4px 24px rgba(45, 55, 72, 0.06);
  align-self: stretch;
}

.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
}

.form-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  margin-bottom: 36px;
  line-height: 1.5;
}

.ff {
  margin-bottom: 22px;
}

.ff label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.ff input,
.ff select,
.ff textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ash-dark);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.25s;
  resize: none;
  -webkit-appearance: none;
}

.ff input:focus,
.ff select:focus,
.ff textarea:focus {
  border-color: var(--teal);
}

.ff input::placeholder,
.ff textarea::placeholder {
  color: var(--ash-dark);
}

.ff.has-error input,
.ff.has-error select,
.ff.has-error textarea {
  border-color: #b0312a;
}

.ff.has-error label {
  color: #b0312a;
}

.ff select {
  cursor: pointer;
  background: transparent;
}

.ff select option {
  background: var(--ash);
}

.ff-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 12px;
}

.sbtn {
  background: var(--cta);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--cta-glow);
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sbtn:hover {
  background: var(--cta-dark);
  box-shadow: 0 6px 22px var(--cta-glow);
  transform: translateY(-1px);
}

.sbtn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.sbtn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s;
}

.sbtn:hover svg {
  transform: translateX(3px);
}

.form-note {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
}

.form-success {
  display: none;
  padding: 24px;
  background: rgba(46, 204, 113, 0.07);
  border: 1px solid rgba(46, 204, 113, 0.25);
  margin-top: 24px;
}

.form-success p {
  font-size: 14px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.7;
}

.form-success strong {
  font-weight: 500;
  color: #1b6e38;
}

/* --- Footer --- */
footer {
  background: var(--surface-secondary);
  padding: 32px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--surface-edge);
}

.fl {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy);
}

.flinks {
  display: flex;
  gap: 32px;
  list-style: none;
}

.flinks a {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.flinks a:hover {
  color: var(--orange);
}

.fc {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-dim);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.on {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }

  .logo-icon {
    height: 30px;
  }

  .logo-fplus {
    font-size: 16px;
  }

  .logo-ts {
    font-size: 9px;
  }

  .nav-links {
    display: none;
  }

  #hero {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
  }

  .hero-left {
    padding: 48px 24px;
  }

  .intro-strip {
    flex-direction: column;
    gap: 20px;
    padding: 32px 24px;
  }

  .intro-strip-actions {
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  #services {
    padding: 64px 24px;
  }

  .section-header {
    flex-direction: column;
    gap: 16px;
  }

  .section-header-sub {
    text-align: left;
  }

  .svc {
    flex: 0 0 82%;
  }

  #about {
    grid-template-columns: 1fr;
  }

  .about-img {
    min-height: 300px;
  }

  .about-text {
    padding: 48px 24px;
  }

  .license-strip {
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
  }

  .lic-divider {
    display: none;
  }

  .hse-section {
    flex-direction: column;
    min-height: auto;
  }

  .hse-sidecar {
    width: 100%;
    max-width: none;
    min-height: 280px;
    border-right: none;
    border-bottom: 1px solid var(--surface-edge);
  }

  .hse-body {
    padding: 40px 24px;
  }

  .hse-item.active {
    transform: none;
  }

  .serve-section {
    padding: 40px 24px;
  }

  #why {
    flex-direction: column;
  }

  .why-sidecar {
    width: 100%;
    min-height: 96px;
    padding: 24px;
  }

  .why-sidecar-label {
    writing-mode: horizontal-tb;
    transform: none;
    flex-direction: row;
  }

  .why-body {
    padding: 40px 24px;
  }

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

  .contact-banner-inner {
    flex-direction: column;
    gap: 16px;
    padding: 32px 24px;
    align-items: flex-start;
  }

  .contact-banner-sub {
    text-align: left;
    align-items: flex-start;
  }

  .contact-reach {
    flex-wrap: wrap;
  }

  .reach-btn {
    flex: 1 1 50%;
    border-bottom: 1px solid var(--ash-dark);
  }

  .contact-body {
    grid-template-columns: 1fr;
  }

  .contact-details {
    padding: 40px 24px;
    border-right: none;
    border-bottom: 1px solid var(--ash-dark);
  }

  .contact-form-wrap {
    padding: 40px 24px;
    margin: 0;
  }

  .ff-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  footer {
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    text-align: center;
  }

  .flinks {
    display: none;
  }

  .contact-float {
    bottom: 16px;
    right: 16px;
  }

  .contact-float-toggle {
    padding: 12px 16px;
    font-size: 12px;
  }
}
