/* ========================================
   STTOCLOG - Design System
   ======================================== */

:root {
  --navy-900: #0A1F44;
  --navy-800: #122B5C;
  --navy-700: #1B3A75;
  --navy-50: #EEF1F8;
  --red-500: #E63946;
  --red-600: #C8202E;
  --red-50: #FDECEE;
  --ink: #0E1424;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --bg: #F8F9FB;
  --white: #FFFFFF;
  --gold: #F4B942;

  --container: 1240px;
  --header-h: 84px;

  --shadow-sm: 0 1px 2px rgba(10, 31, 68, 0.06), 0 1px 3px rgba(10, 31, 68, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 31, 68, 0.08);
  --shadow-lg: 0 24px 64px rgba(10, 31, 68, 0.18);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p { text-wrap: pretty; color: var(--slate-700); }

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

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-500);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red-500);
}

/* ====== HEADER ====== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(10, 31, 68, 0.06);
  transition: all 0.3s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 56px; height: 36px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
}
.brand-logo span {
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -0.02em;
}
.brand-logo .a { background: var(--navy-900); color: var(--white); }
.brand-logo .b { background: var(--red-500); color: var(--white); }
.brand-logo .c { background: var(--red-500); color: var(--white); }
.brand-logo .d { background: var(--navy-900); color: var(--white); }

.brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.15;
  color: var(--navy-900);
}
.brand-text .red { color: var(--red-500); display: block; }

.nav-links {
  display: flex; gap: 36px;
  list-style: none;
}
.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red-500);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--red-500);
}
.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }

.nav-links li.has-sub { position: relative; }
.nav-links .sub {
  position: absolute;
  top: 100%; left: -16px;
  background: var(--white);
  min-width: 240px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease-out);
  border: 1px solid var(--slate-100);
}
.nav-links li.has-sub:hover .sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-links .sub a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
}
.nav-links .sub a:hover { background: var(--slate-100); color: var(--navy-900); }
.nav-links .sub a::after { display: none; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s var(--ease-out);
}
.nav-cta:hover {
  background: var(--red-500);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
}

.menu-toggle {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--slate-100);
    gap: 4px;
  }
  .nav-links.open a { padding: 12px 0; }
  .nav-links.open .sub {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    box-shadow: none; padding: 0 0 0 16px;
    background: transparent; border: none;
  }
}

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,31,68,0.35) 0%, rgba(10,31,68,0.85) 70%, var(--navy-900) 100%),
    linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 100%);
  z-index: 1;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.5;
  transform: scale(1.05);
  animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1%); }
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  z-index: 2;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative; z-index: 3;
  width: 100%;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 28px;
  max-width: 14ch;
}
.hero h1 .red { color: var(--red-500); }
.hero h1 .outline {
  -webkit-text-stroke: 2px var(--white);
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  margin-bottom: 36px;
}

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

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-out);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--red-500);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(230, 57, 70, 0.35);
}
.btn-primary:hover {
  background: var(--red-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(230, 57, 70, 0.45);
}
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
}
.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--red-500); }
.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}
.btn-outline:hover {
  background: var(--navy-900); color: var(--white);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* hero meta strip */
.hero-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(10, 31, 68, 0.6);
  backdrop-filter: blur(20px);
}
.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 20px 0;
  gap: 24px;
}
.hero-meta-item {
  display: flex; flex-direction: column;
  color: var(--white);
}
.hero-meta-item strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}
.hero-meta-item span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 720px) {
  .hero-meta-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Page hero (interior pages) ===== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 100px;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(10,31,68,0.92) 0%, rgba(10,31,68,0.65) 100%),
    radial-gradient(circle at 80% 50%, rgba(230,57,70,0.25), transparent 50%);
}
.page-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 720px;
}
.page-hero .breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.page-hero .breadcrumb a:hover { color: var(--red-500); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero h1 strong { color: var(--red-500); font-weight: inherit; }
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
}

/* ====== SECTIONS ====== */
section { padding: 100px 0; }
section.tight { padding: 70px 0; }

.section-head {
  margin-bottom: 60px;
  max-width: 720px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 16px 0; }
.section-head p { font-size: 1.1rem; }

/* ====== STATS BAND ====== */
.stats {
  background: var(--bg);
  position: relative;
}
.stats::before {
  content: '';
  position: absolute; left: 50%; top: 0;
  width: 1px; height: 60px;
  background: var(--red-500);
  transform: translateX(-50%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: 24px;
  padding: 56px 0;
  box-shadow: var(--shadow-md);
}
.stat {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--slate-200);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.stat-num .plus { color: var(--red-500); }
.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-desc {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: 8px;
  display: block;
}
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 32px 0; }
  .stat { padding: 24px; border-right: none; border-bottom: 1px solid var(--slate-200); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* ====== SERVICES CARDS ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 36px 32px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  display: flex; flex-direction: column;
  min-height: 320px;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy-900);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}
.service-card:hover {
  border-color: var(--navy-900);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: translateY(0); }
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-num,
.service-card:hover .service-link { color: var(--white); }
.service-card:hover .service-icon { background: var(--red-500); border-color: var(--red-500); }
.service-card:hover .service-icon svg { stroke: var(--white); }

.service-card > * { position: relative; z-index: 1; transition: color 0.3s; }

.service-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--red-500);
  margin-bottom: 24px;
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--navy-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--slate-200);
  transition: all 0.3s;
}
.service-icon svg { stroke: var(--navy-900); transition: stroke 0.3s; }
.service-card h3 { margin-bottom: 12px; font-size: 1.4rem; }
.service-card p { font-size: 0.95rem; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
}
.service-link .arrow { transition: transform 0.3s var(--ease-out); }
.service-card:hover .service-link .arrow { transform: translateX(6px); }

/* ====== ABOUT SPLIT ====== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 48px; } }

.split-img {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy-50);
}
.split-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.split-img:hover img { transform: scale(1.05); }
.split-img-frame {
  position: absolute;
  bottom: -32px; right: -32px;
  background: var(--red-500);
  color: var(--white);
  padding: 24px 28px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 280px;
}
.split-img-frame strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  display: block;
  line-height: 1;
}
.split-img-frame span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}
@media (max-width: 900px) {
  .split-img-frame { right: 16px; bottom: -24px; }
}

.split-content h2 { margin: 16px 0 24px; }
.split-content p + p { margin-top: 16px; }
.split-content .btn { margin-top: 32px; }

.values-list {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 12px;
}
.values-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 12px;
  border-left: 3px solid var(--red-500);
  font-size: 0.95rem;
  color: var(--ink);
}
.values-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--red-500);
}

/* ====== COVERAGE / MAP ====== */
.coverage {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.coverage h2 { color: var(--white); }
.coverage p { color: rgba(255,255,255,0.75); }
.coverage::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 70%; height: 200%;
  background: radial-gradient(circle, rgba(230,57,70,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .coverage-grid { grid-template-columns: 1fr; } }

.coverage-routes {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 14px;
}
.coverage-routes li {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}
.coverage-routes li:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--red-500);
  transform: translateX(4px);
}
.route-pin {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(230,57,70,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.route-pin::before {
  content: ''; width: 10px; height: 10px;
  background: var(--red-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(230,57,70,0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(230,57,70,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(230,57,70,0.1); }
}
.coverage-routes li strong { color: var(--white); display: block; }
.coverage-routes li span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* world map svg art */
.world-map {
  position: relative;
  aspect-ratio: 16/11;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px;
  overflow: hidden;
}
.world-map svg { width: 100%; height: 100%; }

/* ====== PIPELINE / FLOW ====== */
.pipeline {
  background: var(--bg);
}
.pipeline-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 40px;
}
.pipeline-flow::before {
  content: '';
  position: absolute;
  top: 38px; left: 5%; right: 5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--red-500) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.flow-step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.flow-step-num {
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--slate-200);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy-900);
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(10,31,68,0.06);
}
.flow-step:hover .flow-step-num {
  background: var(--red-500);
  color: var(--white);
  border-color: var(--red-500);
  transform: scale(1.08);
}
.flow-step h4 { font-size: 1rem; margin-bottom: 8px; }
.flow-step p { font-size: 0.85rem; }
@media (max-width: 760px) {
  .pipeline-flow { grid-template-columns: repeat(2, 1fr); }
  .pipeline-flow::before { display: none; }
}

/* ====== CTA STRIP ====== */
.cta-strip {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 100%);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -100%; left: -10%;
  width: 60%; height: 300%;
  background: linear-gradient(45deg, transparent 30%, rgba(230,57,70,0.15) 50%, transparent 70%);
  transform: rotate(20deg);
}
.cta-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  color: var(--white);
}
.cta-content h2 { color: var(--white); }
.cta-content p { color: rgba(255,255,255,0.78); margin-top: 16px; max-width: 50ch; }
.cta-content .btn { margin-top: 28px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 800px) { .cta-content { grid-template-columns: 1fr; } }

/* ====== CLIENTS / LOGOS ====== */
.clients {
  padding: 70px 0;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.clients-title {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 36px;
}
.clients-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
.client-logo {
  height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 18px 12px;
  transition: all 0.3s;
}
.client-logo:hover {
  color: var(--navy-900);
  border-color: var(--navy-900);
  transform: translateY(-2px);
}
@media (max-width: 800px) { .clients-row { grid-template-columns: repeat(3, 1fr); } }

/* ====== FOOTER ====== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand-text { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 20px; max-width: 36ch; font-size: 0.92rem; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--red-500); }

.footer-contact li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.92rem;
}
.footer-contact svg { flex-shrink: 0; margin-top: 3px; stroke: var(--red-500); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.socials { display: flex; gap: 10px; }
.social {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.social:hover { background: var(--red-500); transform: translateY(-2px); }
.social svg { fill: var(--white); }

/* ====== ANIMATIONS ====== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ====== CONTENT BLOCKS (interior pages) ====== */
.content {
  padding: 100px 0;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; gap: 40px; } }

.content-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}
.content-aside .eyebrow { margin-bottom: 16px; }
.content-aside h2 { font-size: 2.2rem; }

.content-body p { font-size: 1.05rem; margin-bottom: 18px; }
.content-body h3 { margin: 36px 0 16px; }
.content-body strong { color: var(--navy-900); }

.feature-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: 12px;
  border-left: 3px solid var(--red-500);
  font-size: 0.98rem;
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red-500);
}

/* feature grid on service pages */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-tile {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  transition: all 0.3s;
}
.feature-tile:hover {
  border-color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-tile h4 {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.feature-tile h4::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--red-500);
  border-radius: 2px;
  flex-shrink: 0;
}
.feature-tile p { font-size: 0.9rem; margin: 0; }

/* highlight box */
.highlight-box {
  background: var(--red-500);
  color: var(--white);
  padding: 32px 36px;
  border-radius: 16px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.highlight-box::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1));
  transform: rotate(15deg);
}
.highlight-box p { color: var(--white); font-size: 1.05rem; position: relative; }
.highlight-box strong { color: var(--white); }

.metric-card {
  background: var(--navy-900);
  color: var(--white);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  margin: 24px 0;
}
.metric-card .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem; font-weight: 700;
  color: var(--red-500);
  line-height: 1;
  display: block;
}
.metric-card .label {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-top: 12px;
}

/* contact page form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info {
  background: var(--navy-900);
  color: var(--white);
  padding: 48px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  bottom: -40%; right: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(230,57,70,0.3), transparent 70%);
}
.contact-info h3, .contact-info p { color: var(--white); position: relative; }
.contact-info p { color: rgba(255,255,255,0.78); }

.contact-info-list {
  list-style: none;
  margin-top: 36px;
  display: grid;
  gap: 24px;
  position: relative;
}
.contact-info-list li {
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-info-list .icon {
  width: 44px; height: 44px;
  background: rgba(230,57,70,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-list strong { color: var(--white); display: block; margin-bottom: 4px; }
.contact-info-list span { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

form { display: grid; gap: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.field input, .field select, .field textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  font-family: inherit; font-size: 0.95rem;
  background: var(--white);
  transition: all 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
}
.field textarea { resize: vertical; min-height: 140px; }

/* HSE page tiles */
.hse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 900px) { .hse-grid { grid-template-columns: 1fr; } }
.hse-card {
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  transition: all 0.3s;
}
.hse-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-500);
}
.hse-card .icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.hse-card h3 { font-size: 1.25rem; margin-bottom: 12px; }

.cert-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 700px) { .cert-row { grid-template-columns: repeat(2, 1fr); } }
.cert {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  text-align: center;
}
.cert strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  color: var(--navy-900);
}
.cert span { font-size: 0.82rem; color: var(--slate-500); }

/* image placeholder utility */
.img-placeholder {
  width: 100%;
  background:
    repeating-linear-gradient(135deg,
      rgba(10,31,68,0.04) 0 12px,
      rgba(10,31,68,0.08) 12px 24px);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  color: var(--slate-500);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--slate-200);
}
.img-placeholder.dark {
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.04) 0 12px,
      rgba(255,255,255,0.08) 12px 24px);
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.1);
}
