/* =============================================================
   STLC — Design Tokens
============================================================= */
:root {
  --st-navy: #0a1e3f;
  --st-navy-2: #0f2a56;
  --st-navy-deep: #06132a;
  --st-copper: #1f5376;
  --st-copper-light: #76b2db;
  --st-copper-dark: #153951;
  --st-slate: #4b5768;
  --st-slate-light: #8996a6;
  --st-bg: #f6f7f9;
  --st-line: #e2e5ea;
  --st-white: #ffffff;
  --st-text: #101826;

  --st-radius: 4px;
  --st-radius-lg: 8px;
  --st-shadow: 0 1px 2px rgba(10, 30, 63, 0.06), 0 8px 24px rgba(10, 30, 63, 0.06);
  --st-shadow-lg: 0 20px 50px rgba(10, 30, 63, 0.16);
  --st-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  background: var(--st-bg);
  color: var(--st-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

section { position: relative; overflow: hidden; }

.container { max-width: 1240px; }

::selection { background: var(--st-copper); color: #fff; }

/* RTL icon flip */
.st-rtl-flip { display: inline-block; }
[dir="rtl"] .st-rtl-flip { transform: scaleX(-1); }

/* Scroll-reveal */
.st-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--st-ease), transform 0.7s var(--st-ease); }
.st-revealed { opacity: 1; transform: translateY(0); }

/* =============================================================
   Eyebrow / Headings / Buttons — shared primitives
============================================= */
.st-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-copper-light);
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(225, 168, 104, 0.35);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.st-eyebrow-dark {
  color: var(--st-copper-dark);
  border-color: rgba(58, 110, 193, 0.3);
  background: rgba(58, 110, 193, 0.08);
}

.st-heading {
  font-weight: 700;
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  color: var(--st-navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.st-subhead {
  color: var(--st-slate);
  font-size: 1.05rem;
  max-width: 640px;
}
.st-subhead-start { max-width: 100%; }

.st-section-head { max-width: 720px; margin-bottom: 3rem; }

.st-body-text { color: var(--st-slate); font-size: 1.05rem; }

.st-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--st-radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.2s var(--st-ease), color 0.2s var(--st-ease), border-color 0.2s var(--st-ease), transform 0.2s var(--st-ease);
  cursor: pointer;
}
.st-btn:hover { transform: translateY(-2px); }
.st-btn-fill { background: var(--st-copper); color: #fff; }
.st-btn-fill:hover { background: var(--st-copper-dark); color: #fff; }
.st-btn-line { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.st-btn-line:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.st-btn-fill-light { background: #fff; color: var(--st-navy); }
.st-btn-fill-light:hover { background: var(--st-copper-light); color: var(--st-navy); }
.st-btn-block { width: 100%; justify-content: center; }

/* =============================================================
   Navbar
============================================= */
.custom-navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  padding-block: 1.25rem;
  padding-inline: max(1.5rem, calc((100% - 1240px) / 2));
  background: transparent;
  transition: padding 0.3s var(--st-ease);
}
.custom-navbar .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  background: transparent;
  border-radius: 999px;
  padding-block: 0.4rem;
  padding-inline: 0.5rem;
  transition: background 0.3s var(--st-ease), box-shadow 0.3s var(--st-ease), padding 0.3s var(--st-ease);
}
.custom-navbar.scrolled { padding-block: 0.85rem; }
.custom-navbar.scrolled .container {
  background: rgba(10, 30, 63, 0.96);
  box-shadow: 0 8px 30px rgba(6, 19, 42, 0.25);
  backdrop-filter: saturate(140%) blur(6px);
  padding-inline: 1.5rem;
}
.custom-navbar .brand-logo { height: 58px; width: auto; filter: brightness(0) invert(1); transition: height 0.3s var(--st-ease); }
.custom-navbar.scrolled .brand-logo { height: 46px; }

.custom-navbar .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  padding: 0.55rem 0.85rem !important;
  border-radius: var(--st-radius);
  transition: color 0.2s var(--st-ease), background 0.2s var(--st-ease);
}
.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-lang {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: var(--st-radius);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--st-ease), background 0.2s var(--st-ease);
}
.btn-lang:hover { background: rgba(255, 255, 255, 0.1); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--st-copper);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.3rem;
  border-radius: var(--st-radius);
  transition: background 0.2s var(--st-ease);
}
.btn-cta:hover { background: var(--st-copper-dark); color: #fff; }

.navbar-toggler { border: none; padding: 0.4rem; background: transparent; cursor: pointer; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 18px;
}
.st-burger-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s var(--st-ease), opacity 0.2s var(--st-ease);
}
.navbar-toggler[aria-expanded="true"] .st-burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .st-burger-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .st-burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1200px) {
  .page-home .navbar-collapse,
  .custom-navbar.scrolled .navbar-collapse {
    background: transparent;
  }
}
@media (max-width: 1199.98px) {
  .navbar-collapse {
    background: var(--st-navy);
    margin-top: 1rem;
    padding: 1.25rem;
    border-radius: var(--st-radius-lg);
  }
  .custom-navbar .brand-logo,
  .custom-navbar.scrolled .brand-logo { height: 42px; }
  .custom-navbar .container { padding-inline: 1.25rem; border-radius: var(--st-radius-lg); }
}

/* When not scrolled on an inner (non-hero-dark) page, keep bar readable */
body:not(.page-home) .custom-navbar:not(.scrolled) .container {
  background: var(--st-navy);
}
body:not(.page-home) .custom-navbar:not(.scrolled) { padding-block: 0.85rem; }

/* =============================================================
   Hero
============================================= */
.st-hero {
  padding: 11rem 0 7rem;
  background: var(--st-navy);
  color: #fff;
  isolation: isolate;
}
.st-hero-bg {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: grayscale(15%);
}
.st-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 19, 42, 0.97) 0%, rgba(10, 30, 63, 0.92) 38%, rgba(10, 30, 63, 0.55) 68%, rgba(10, 30, 63, 0.35) 100%);
}
.st-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 70%);
  pointer-events: none;
}

.st-title {
  font-weight: 800;
  font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.st-title-accent { display: block; color: var(--st-copper-light); }

.st-lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin-bottom: 2rem;
}

.st-hero-actions { margin-bottom: 3.5rem; }

.st-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.st-stat { display: flex; flex-direction: column; }
.st-stat strong {
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.st-stat strong span { color: var(--st-copper-light); }
.st-stat span:not(strong span) {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 160px;
}

/* =============================================================
   Scope / Sectors strip
============================================= */
.st-scope {
  background: var(--st-white);
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--st-line);
}
.st-scope-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--st-slate-light);
  margin-bottom: 1.25rem;
  text-align: center;
}
.st-scope-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.5rem;
}
.st-scope-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--st-navy);
  font-size: 0.92rem;
}
.st-scope-row i { color: var(--st-copper); font-size: 1rem; }

/* =============================================================
   About / Vision / Mission
============================================= */
.st-about { padding: 7rem 0 5rem; background: var(--st-bg); }

.st-feature-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.st-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  color: var(--st-navy);
}
.st-feature-item i {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 110, 193, 0.1);
  color: var(--st-copper);
  border-radius: var(--st-radius);
  font-size: 1.05rem;
}

.st-vm-card {
  background: var(--st-navy);
  color: #fff;
  border-radius: var(--st-radius-lg);
  padding: 2rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}
.st-vm-card:last-child { margin-bottom: 0; }
.st-vm-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--st-copper);
}
.st-vm-mission { background: var(--st-navy-2); }
.st-vm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(227, 168, 104, 0.15);
  color: var(--st-copper-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.st-vm-card h4 { font-weight: 700; margin-bottom: 0.6rem; }
.st-vm-card p { color: rgba(255, 255, 255, 0.72); margin: 0; font-size: 0.98rem; }

.st-why-row { margin-top: 4rem; }
.st-why-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--st-line);
  border-top: 3px solid var(--st-copper);
  border-radius: var(--st-radius);
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s var(--st-ease), box-shadow 0.25s var(--st-ease);
}
.st-why-card:hover { transform: translateY(-4px); box-shadow: var(--st-shadow); }
.st-why-num {
  display: block;
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--st-line);
  margin-bottom: 0.75rem;
}
.st-why-card h6 { font-weight: 700; color: var(--st-navy); margin-bottom: 0.5rem; }
.st-why-card p { color: var(--st-slate); font-size: 0.9rem; margin: 0; }

/* =============================================================
   Services
============================================= */
.st-services { padding: 5rem 0; background: var(--st-white); }

.st-service-card {
  height: 100%;
  background: var(--st-bg);
  border-radius: var(--st-radius-lg);
  padding: 2rem;
  position: relative;
  transition: background 0.25s var(--st-ease), transform 0.25s var(--st-ease);
}
.st-service-card:hover { background: var(--st-navy); transform: translateY(-4px); }
.st-service-card:hover h5,
.st-service-card:hover .st-service-num { color: #fff; }
.st-service-card:hover p { color: rgba(255, 255, 255, 0.72); }
.st-service-card:hover .st-service-icon { background: var(--st-copper); color: #fff; }

.st-service-num {
  position: absolute;
  top: 1.5rem;
  inset-inline-end: 1.75rem;
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--st-line);
  transition: color 0.25s var(--st-ease);
}
.st-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--st-radius);
  background: rgba(58, 110, 193, 0.12);
  color: var(--st-copper);
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
  transition: background 0.25s var(--st-ease), color 0.25s var(--st-ease);
}
.st-service-card h5 { font-weight: 700; color: var(--st-navy); margin-bottom: 0.6rem; transition: color 0.25s var(--st-ease); }
.st-service-card p { color: var(--st-slate); font-size: 0.94rem; margin: 0; transition: color 0.25s var(--st-ease); }

/* =============================================================
   Projects gallery
============================================= */
.st-projects { padding: 5rem 0; background: var(--st-bg); overflow: visible; }

.st-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--st-slate-light);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  padding-bottom: 0.4rem;
}
.st-scroll-hint i { color: var(--st-copper); }

.st-project-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem clamp(1.5rem, calc((100% - 1240px) / 2 + 1.5rem), 40vw) 1.5rem;
  scroll-snap-type: x proximity;
  scroll-padding-inline: clamp(1.5rem, calc((100% - 1240px) / 2 + 1.5rem), 40vw);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.st-project-scroll::-webkit-scrollbar { display: none; }

.st-project-card {
  position: relative;
  flex: 0 0 auto;
  width: min(78vw, 320px);
  aspect-ratio: 3 / 4;
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  box-shadow: var(--st-shadow);
  scroll-snap-align: start;
}
.st-project-card:nth-child(3n+2) { width: min(85vw, 380px); }

.st-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--st-ease);
}
.st-project-card:hover img { transform: scale(1.08); }

.st-project-index {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: rgba(6, 19, 42, 0.55);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.st-project-scrim {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1.1rem;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 19, 42, 0.94) 100%);
}
.st-project-tag {
  display: inline-flex;
  align-items: center;
  background: var(--st-copper);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.st-project-title {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .st-scroll-hint { display: none; }
  .st-project-card,
  .st-project-card:nth-child(3n+2) { width: 78vw; }
}

/* =============================================================
   Clients
============================================= */
.st-clients { padding: 5rem 0; background: var(--st-white); border-top: 1px solid var(--st-line); }

.st-client-card {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st-bg);
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 1.25rem;
  transition: transform 0.25s var(--st-ease), box-shadow 0.25s var(--st-ease), border-color 0.25s var(--st-ease);
}
.st-client-card:hover { transform: translateY(-3px); box-shadow: var(--st-shadow); border-color: var(--st-copper); }
.st-client-card img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.25s var(--st-ease), opacity 0.25s var(--st-ease);
}
.st-client-card:hover img { filter: grayscale(0%); opacity: 1; }

/* =============================================================
   CTA banner
============================================= */
.st-cta { padding: 4.5rem 0; background: var(--st-navy-deep); }
.st-cta-box {
  background: linear-gradient(120deg, var(--st-navy) 0%, var(--st-navy-2) 100%);
  border-radius: var(--st-radius-lg);
  padding: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.st-cta-box h3 { color: #fff; font-weight: 700; font-size: 1.6rem; margin-bottom: 0.5rem; }
.st-cta-box p { color: rgba(255, 255, 255, 0.7); margin: 0; max-width: 480px; }

/* =============================================================
   Contact
============================================= */
.st-contact { padding: 6rem 0; background: var(--st-white); }

.st-contact-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.st-contact-row { display: flex; align-items: flex-start; gap: 1rem; }
.st-contact-row i {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 30, 63, 0.06);
  color: var(--st-navy);
  border-radius: var(--st-radius);
  font-size: 1.05rem;
}
.st-contact-label { display: block; font-size: 0.78rem; color: var(--st-slate-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.15rem; }
.st-contact-row a,
.st-contact-row span:not(.st-contact-label) { font-weight: 600; color: var(--st-navy); }
.st-contact-row a:hover { color: var(--st-copper); }

.st-form-card {
  background: var(--st-bg);
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius-lg);
  padding: 2.25rem;
}
.st-label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--st-navy); margin-bottom: 0.5rem; }
.st-input {
  width: 100%;
  border: 1px solid var(--st-line);
  background: #fff;
  border-radius: var(--st-radius);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--st-text);
  transition: border-color 0.2s var(--st-ease), box-shadow 0.2s var(--st-ease);
}
.st-input:focus {
  outline: none;
  border-color: var(--st-copper);
  box-shadow: 0 0 0 3px rgba(58, 110, 193, 0.15);
}
.st-textarea { resize: vertical; min-height: 140px; }

.st-alert {
  border-radius: var(--st-radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.st-alert-success { background: rgba(34, 139, 87, 0.1); color: #1c7a4b; border: 1px solid rgba(34, 139, 87, 0.25); }
.st-alert-danger { background: rgba(200, 60, 60, 0.08); color: #b3341f; border: 1px solid rgba(200, 60, 60, 0.25); }

/* =============================================================
   Footer
============================================= */
.site-footer { background: var(--st-navy-deep); color: rgba(255, 255, 255, 0.75); padding: 5rem 0 2rem; }
.footer-logo { height: 42px; filter: brightness(0) invert(1); }
.footer-text { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; max-width: 340px; }
.footer-title { color: #fff; font-weight: 700; font-size: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-link { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; transition: color 0.2s var(--st-ease); }
.footer-link:hover { color: var(--st-copper-light); }
.footer-contact { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-contact li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.92rem; }
.footer-contact i { color: var(--st-copper-light); width: 18px; text-align: center; }
.footer-contact a { color: rgba(255, 255, 255, 0.7); transition: color 0.2s var(--st-ease); }
.footer-contact a:hover { color: var(--st-copper-light); }
.footer-bottom p { color: rgba(255, 255, 255, 0.45); }

/* =============================================================
   Floating action buttons
============================================= */
.st-float-actions {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: row;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: var(--st-shadow-lg);
}
.st-float-btn {
  width: 64px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--st-navy);
  color: #fff;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s var(--st-ease);
}
.st-float-btn:last-child { border-inline-end: none; }
.st-float-btn:hover { background: var(--st-copper); color: #fff; }

/* =============================================================
   404
============================================= */
.st-404 { padding: 10rem 0 6rem; background: var(--st-bg); }
.st-404-num {
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 3rem + 6vw, 8rem);
  color: var(--st-navy);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.st-404-num span { display: inline-block; }
.st-404-num span:nth-child(2) { color: var(--st-copper); }
.st-404-title { margin-bottom: 1rem; }
.st-404-lede { color: var(--st-slate); font-size: 1.05rem; margin-bottom: 2.5rem; }
.st-404-actions { margin-bottom: 2.5rem; }
.st-404-links { display: flex; gap: 0.75rem; justify-content: center; color: var(--st-slate-light); font-size: 0.9rem; }
.st-404-links a { color: var(--st-navy); font-weight: 600; }
.st-404-links a:hover { color: var(--st-copper); }

/* =============================================================
   Responsive tweaks
============================================= */
@media (max-width: 767.98px) {
  .st-hero { padding: 8.5rem 0 4rem; }
  .st-stat-row { gap: 1.75rem; }
  .st-cta-box { padding: 2rem; }
  .st-vm-card { padding: 1.5rem; }
  .st-about, .st-contact { padding: 4rem 0; }
  .st-services, .st-projects { padding: 3.5rem 0; }
}
