
:root {
  /* Brand palette — Deep industrial blue + safety yellow */
  --brand-blue: #102a43;
  --brand-blue-dark: #0a1d30;
  --brand-blue-light: #1d3557;
  --brand-yellow: #f2b705;
  --brand-yellow-dark: #d99e00;

  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --bg-dark: #102a43;
  --text: #102a43;
  --text-body: #1a2638;
  --text-muted: #4a5b73;
  --text-light: #7a8b9f;
  --border: #d9e2ec;
  --accent: #102a43;
  --accent-yellow: #f2b705;
  --link: #102a43;
  --max: 1200px;
  --gutter: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; }
a { color: var(--link); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Layout */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
.section-dark { background: var(--brand-blue); color: #fff; }
.section-dark p { color: #c8d4e3; }
.section-dark .text-muted { color: #c8d4e3; }
.section-dark .eyebrow { color: var(--brand-yellow); }
.section-alt { background: var(--bg-alt); }

/* Type */
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 16px; }
h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.15; color: var(--brand-blue); font-weight: 700; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
h1 { font-size: clamp(36px, 5.5vw, 64px); margin-bottom: 24px; }
h2 { font-size: clamp(28px, 3.8vw, 44px); margin-bottom: 20px; }
h3 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 12px; }
h4 { font-size: 17px; margin-bottom: 8px; }
p { color: var(--text-body); margin-bottom: 16px; max-width: 70ch; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--text-muted); line-height: 1.55; max-width: 70ch; }
.text-muted { color: var(--text-muted); }
ul, ol { margin: 16px 0 16px 24px; color: var(--text-muted); }
li { margin-bottom: 8px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); max-width: var(--max); margin: 0 auto; }
.nav-brand { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--brand-blue); }
.nav-brand .brand-sub { font-weight: 400; color: var(--text-muted); font-size: 11px; display: block; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { color: var(--brand-blue); transition: color 0.15s; }
.nav-links a:hover { color: var(--text-muted); }
.nav-cta { background: var(--brand-yellow); color: var(--brand-blue) !important; padding: 10px 18px; border-radius: 6px; font-weight: 600; font-size: 14px; transition: background 0.15s; }
.nav-cta:hover { background: var(--brand-yellow-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--brand-blue); margin: 4px 0; }

/* Buttons */
.btn { display: inline-block; padding: 14px 24px; border-radius: 6px; font-weight: 500; font-size: 15px; transition: all 0.15s; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover { background: var(--brand-blue-light); }
.btn-secondary { background: transparent; color: var(--brand-blue); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg-alt); border-color: var(--brand-blue); }
.btn-yellow { background: var(--brand-yellow); color: var(--brand-blue); }
.btn-yellow:hover { background: var(--brand-yellow-dark); }
.btn-large { padding: 18px 32px; font-size: 16px; }

/* Hero */
.hero { padding: 80px 0 100px; }
.hero-eyebrow { display: inline-block; padding: 6px 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--brand-blue); margin-bottom: 24px; }
.hero-eyebrow::before { content: '●'; color: var(--brand-yellow); margin-right: 8px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-image { margin-top: 56px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.hero-image img { width: 100%; height: auto; display: block; }

/* Branded image placeholders (replace with real photos when ready) */
.img-placeholder {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: #fff;
  min-height: 360px;
  aspect-ratio: 16 / 9;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0, transparent 24px, rgba(242,183,5,0.05) 24px, rgba(242,183,5,0.05) 25px);
}
.img-placeholder::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 8px;
  background: var(--brand-yellow);
}
.img-placeholder .ph-label {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  color: #fff;
}
.img-placeholder .ph-hint {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-yellow);
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.img-placeholder.compact { aspect-ratio: 4 / 3; min-height: 280px; }

/* Grids */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-services { grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Cards */
.card { padding: 28px; border: 1px solid var(--border); border-radius: 10px; transition: all 0.15s; background: #fff; }
.card:hover { border-color: var(--brand-blue); }
.card .card-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 600; margin-bottom: 12px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; margin-bottom: 12px; }
.card .card-meta { font-size: 13px; color: var(--text-muted); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }

/* Service card */
.service-card { padding: 32px 28px; border: 1px solid var(--border); border-radius: 10px; transition: all 0.15s; }
.service-card:hover { border-color: var(--brand-blue); transform: translateY(-2px); box-shadow: 0 4px 24px rgba(16,42,67,0.08); }
.service-card h3 { font-size: 21px; margin-bottom: 8px; }
.service-card .price { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.service-card p { font-size: 15px; margin-bottom: 20px; }
.service-card .arrow { font-size: 13px; font-weight: 500; color: var(--text); }

/* Two-column section */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col img { border-radius: 10px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 40px 0; }
.stat { padding: 24px 0; border-top: 3px solid var(--brand-yellow); }
.stat-num { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; }
.process-step { padding: 24px 24px 24px 0; border-top: 3px solid var(--brand-yellow); position: relative; }
.process-step .step-num { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.process-step h4 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 14px; margin: 0; }

/* Comparison grid */
.compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.compare-col { background: #fff; padding: 28px 24px; }
.compare-col.featured { background: var(--brand-blue); color: #fff; position: relative; }
.compare-col.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--brand-yellow); }
.compare-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-weight: 600; }
.compare-col.featured h4 { color: var(--accent-yellow); }
.compare-col p { font-size: 14px; color: var(--text-muted); margin: 8px 0; }
.compare-col.featured p { color: #d1d5db; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
th { font-weight: 600; background: var(--bg-alt); }
td.num { font-variant-numeric: tabular-nums; }

/* CTA section */
.cta-section { text-align: center; padding: 80px 24px; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section .lead { margin: 0 auto 32px; }

/* Footer */
.footer { background: var(--brand-blue-dark); color: #a8b8cc; padding: 64px 0 32px; margin-top: 80px; }
.footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; font-size: 14px; }
.footer a { color: #a8b8cc; transition: color 0.15s; }
.footer a:hover { color: var(--brand-yellow); }
.footer .brand-block .brand-name { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer .brand-block .brand-tagline { font-size: 14px; color: #a8b8cc; margin-bottom: 16px; max-width: 280px; }
.footer-bottom { padding-top: 32px; border-top: 1px solid #1d3557; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-bottom .copyright { color: #7a8b9f; }
.footer-bottom .social a { margin-left: 16px; }

/* Tables in service pages */
.spec-table { margin: 24px 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 15px; }
.spec-row:last-child { border-bottom: none; }
.spec-row .spec-label { font-weight: 600; color: var(--text); }
.spec-row .spec-value { color: var(--text-muted); }

/* Banners */
.banner { padding: 16px 20px; border-radius: 8px; margin: 24px 0; font-size: 14px; }
.banner-info { background: #f0f9ff; color: #075985; border-left: 3px solid #0ea5e9; }
.banner-warn { background: #fffbeb; color: #92400e; border-left: 3px solid #f59e0b; }

/* Page header */
.page-header { padding: 64px 0 32px; border-bottom: 1px solid var(--border); }
.breadcrumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--text); }

/* Logo strip */
.logos { display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; opacity: 0.6; padding: 16px 0; }
.logo-item { font-size: 14px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }

/* Long-form content (about, case study) */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { font-size: 17px; line-height: 1.7; margin-bottom: 24px; }
.prose h2 { margin-top: 56px; margin-bottom: 16px; }
.prose h3 { margin-top: 36px; margin-bottom: 12px; }
.prose ul, .prose ol { margin: 16px 0 24px 24px; }
.prose li { font-size: 17px; margin-bottom: 8px; }
.prose blockquote { border-left: 3px solid var(--text); padding: 4px 20px; margin: 32px 0; font-style: italic; color: var(--text); font-size: 18px; }
.pullquote { font-size: 22px; font-weight: 600; line-height: 1.4; padding: 32px 24px; border-top: 3px solid var(--brand-yellow); border-bottom: 3px solid var(--brand-yellow); margin: 40px 0; max-width: 680px; color: var(--brand-blue); }

/* Responsive */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .grid-services, .two-col, .compare, .process, .stats, .footer .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; gap: 16px; }
  .nav-toggle { display: block; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
  .two-col { gap: 40px; }
  .footer .footer-grid { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}
