:root {
  --ink: #172033;
  --muted: #5d6a7d;
  --paper: #ffffff;
  --soft: #f3f6f8;
  --line: #dbe3ea;
  --brand: #173c68;
  --brand-dark: #0e2747;
  --accent: #e85a1a;
  --accent-dark: #c94710;
  --green: #2f6b54;
  --shadow: 0 18px 44px rgba(23, 32, 51, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Barlow", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 58px);
  color: #fff;
  background: rgba(14, 39, 71, .98);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand strong { color: var(--accent); }

.brand-mark {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.site-nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, .86);
}

.site-nav a:hover { color: #fff; }

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.header-contact a {
  color: #fff;
  text-decoration: none;
}

.header-contact a:first-child { color: #ffcfbd; }

.nav-toggle {
  display: none;
  justify-self: end;
  min-width: 76px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  min-height: calc(100vh - 76px);
  background: var(--brand-dark);
  color: #fff;
}

.home-hero { min-height: min(720px, calc(100vh - 76px)); }

.hero-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,39,71,.12), rgba(14,39,71,.62));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  align-self: center;
  padding: clamp(34px, 7vw, 82px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--accent);
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  line-height: .98;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  font-weight: 900;
}

h3 {
  font-size: 1.75rem;
  font-weight: 800;
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  border: 2px solid transparent;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.secondary { color: #fff; border-color: rgba(255,255,255,.46); }
.btn.light { color: #fff; border-color: rgba(255,255,255,.5); }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span,
.steps span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.08);
  font-weight: 700;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.intro {
  max-width: 980px;
}

.intro p,
.split p,
.cta p,
.service-page-copy p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.12rem;
}

.intro-note {
  display: inline-flex;
  margin-top: 10px;
  padding: 12px 16px;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  color: var(--ink);
  background: var(--orange-pale, #fff0ea);
  font-weight: 800;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.services,
.gallery,
.service-details {
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 32, 51, .08);
}

.service-card.featured {
  grid-column: span 2;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card div { padding: 22px; }
.service-card p { color: var(--muted); }
.service-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.seo-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.seo-link-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(23, 32, 51, .08);
}

.seo-link-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--brand);
}

.seo-link-card span {
  color: var(--muted);
}

.article-body {
  max-width: 960px;
}

.article-body h2,
.article-body h3 {
  margin-top: 34px;
}

.article-body p {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.12rem;
}

.article-body a {
  color: var(--accent-dark);
  font-weight: 800;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 34px;
  align-items: start;
}

.toc-box {
  position: sticky;
  top: 100px;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.toc-box h3 {
  margin-bottom: 14px;
}

.toc-box a {
  display: block;
  padding: 8px 0;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 44px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: 8px;
  background: var(--brand);
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 32, 51, .08);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 12px 14px;
  font-weight: 800;
}

.cta {
  padding: clamp(58px, 8vw, 98px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), var(--green));
}

.cta .section-kicker { color: #ffcfbd; }
.cta p { color: rgba(255,255,255,.82); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255,255,255,.76);
  background: #091a31;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.service-hero {
  min-height: 560px;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: rgba(255,255,255,.72);
  font-weight: 700;
}

.breadcrumbs a {
  color: #fff;
  text-decoration: none;
}

.service-details {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 420px);
  gap: 34px;
  align-items: start;
}

.feature-list,
.side-panel ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.feature-list li,
.side-panel li {
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: #fff;
  box-shadow: 0 8px 18px rgba(23, 32, 51, .07);
}

.side-panel {
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.related a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--brand);
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 8px;
  }

  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.14); }
  .header-contact { display: none; }

  .hero,
  .split,
  .service-details {
    grid-template-columns: 1fr;
  }

  .hero-content { order: -1; }
  .hero-media { min-height: 330px; }

  .service-grid,
  .gallery-grid,
  .seo-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .toc-box {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header { min-height: 68px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand { font-size: 1.2rem; }

  .hero,
  .home-hero {
    min-height: auto;
  }

  .hero-content {
    padding: 34px 18px;
  }

  .hero-media { min-height: 260px; }

  .service-grid,
  .gallery-grid,
  .seo-links {
    grid-template-columns: 1fr;
  }

  .service-card.featured { grid-column: auto; }

  .section-head {
    display: block;
  }

  .btn {
    width: 100%;
  }
}
