:root {
  --bg: #ffffff;
  --surface: #f4f7fb;
  --surface-2: #edf2f8;
  --text: #0f1720;
  --muted: #51606f;
  --line: #d7dde5;
  --brand: #0b4db8;
  --brand-dark: #083b8f;
  --max: 1200px;
  --shadow: 0 12px 30px rgba(10, 20, 40, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 40px, var(--max)); margin: 0 auto; }
.section { padding: 72px 0; }
.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 10px;
}
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(38px, 5vw, 66px); max-width: 760px; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 22px; }
p { margin: 0 0 16px; color: var(--muted); }
.lead { font-size: 18px; max-width: 740px; }
.small { font-size: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border: 2px solid var(--brand);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-panel {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-backdrop { display: none; }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}
.nav-list {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--line);
}
.nav-list li {
  border-right: 1px solid var(--line);
}
.nav-list a {
  display: block;
  padding: 18px 18px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.nav-list a:hover,
.nav-list a.active { background: var(--surface); color: var(--brand); }
.cta-btn, .secondary-btn {
  display: inline-block;
  padding: 15px 22px;
  border: 1px solid var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  font-weight: 700;
}
.cta-btn { background: var(--brand); color: #fff; }
.cta-btn:hover { background: var(--brand-dark); }
.secondary-btn { color: var(--brand); background: transparent; }
.secondary-btn:hover { background: var(--surface); }

.hero {
  padding: 70px 0 40px;
}
.hero-grid,
.two-col,
.contact-grid,
.feature-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}
.hero-panel,
.info-panel,
.side-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-panel img,
.side-panel img,
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.metric {
  border: 1px solid var(--line);
  padding: 20px;
  background: #fff;
}
.metric strong { font-size: 28px; display: block; margin-bottom: 6px; }
.metric span { color: var(--muted); font-size: 14px; }

.grid-3,
.grid-2,
.photo-grid,
.stack-cards { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.photo-grid { grid-template-columns: repeat(3, 1fr); }
.card,
.photo-card,
.service-row,
.contact-card,
.stat-block {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.card,
.contact-card,
.stat-block { padding: 28px; }
.card h3,
.service-row h3,
.contact-card h3 { margin-bottom: 10px; }
.card ul,
.service-list,
.vertical-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vertical-links li,
.service-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.vertical-links li:last-child,
.service-list li:last-child { border-bottom: 0; }

.service-row {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 240px;
}
.service-row .service-image img { height: 100%; }
.service-row .service-copy { padding: 28px; }
.service-row .service-meta {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  font-size: 14px;
  color: var(--muted);
}
.service-row .service-meta span { border-top: 1px solid var(--line); padding-top: 10px; }

.banner {
  background: linear-gradient(180deg, #f5f8fc 0%, #edf3fa 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.banner .banner-inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  align-items: center;
  padding: 42px 0;
}

.photo-card { overflow: hidden; min-height: 260px; }
.photo-card img { height: 260px; }
.photo-card .caption {
  padding: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.info-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.info-strip .strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.info-strip .strip-grid div {
  padding: 22px;
  border-right: 1px solid var(--line);
}
.info-strip .strip-grid div:last-child { border-right: 0; }
.info-strip strong { display: block; margin-bottom: 6px; }

form { display: grid; gap: 16px; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
textarea { min-height: 150px; resize: vertical; }

.site-footer {
  background: #0d1520;
  color: #dce5ef;
  margin-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
  padding: 54px 0;
}
.site-footer p,
.site-footer li,
.site-footer a { color: #c4d0dd; }
.site-footer .footer-title {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-footer li:last-child { border-bottom: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0 28px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-grid, .two-col, .contact-grid, .feature-split, .service-row, .banner .banner-inner, .footer-grid { grid-template-columns: 1fr; }
  .grid-3, .photo-grid, .metrics, .info-strip .strip-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { min-height: 76px; padding: 12px 0; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
  }
  body.nav-open .nav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
  }
  .nav-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(10, 17, 28, 0.42);
  }
  .nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(84vw, 360px);
    height: 100dvh;
    overflow-y: auto;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(8, 18, 36, 0.18);
    padding: 92px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .nav-list {
    display: block;
    border: 0;
  }
  .nav-list li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a {
    padding: 16px 0;
  }
  .nav .cta-btn { text-align: center; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2, .photo-grid, .metrics, .info-strip .strip-grid { grid-template-columns: 1fr; }
  .container { width: min(100% - 24px, var(--max)); }
  .nav-panel { width: min(88vw, 320px); }
}
