:root {
  --teal: #177f99;
  --teal-dark: #0d5d73;
  --teal-light: #51c4d9;
  --ink: #111416;
  --muted: #5c6870;
  --line: #d8e2e6;
  --paper: #f7fafb;
  --white: #ffffff;
  --warm: #d99a3d;
  --shadow: 0 20px 60px rgba(7, 23, 30, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 4px;
}

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(8, 19, 23, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--teal);
  border-radius: 6px;
}

.brand-mark svg {
  width: 38px;
  height: 38px;
}

.wrench-mark {
  fill: none;
  stroke: var(--white);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
  text-transform: uppercase;
}

.brand strong {
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand small {
  margin-top: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--white);
  border-radius: 6px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--teal-dark));
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.04) contrast(1.04);
  background: var(--ink);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 14, 17, 0.9), rgba(7, 14, 17, 0.66) 48%, rgba(23, 127, 153, 0.18)),
    linear-gradient(0deg, rgba(7, 14, 17, 0.82), rgba(7, 14, 17, 0.16) 58%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 76px;
  text-align: center;
}

.hero-mark {
  display: grid;
  place-items: center;
  width: clamp(82px, 12vw, 128px);
  height: clamp(82px, 12vw, 128px);
  margin: 0 auto 26px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.hero-mark svg {
  width: 78%;
  height: 78%;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-light);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 8vw, 6.8rem);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 0 auto 30px;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.desktop-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(23, 127, 153, 0.32);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  color: var(--white);
  background: var(--ink);
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-contact div {
  padding: 24px clamp(18px, 4vw, 48px);
  background: var(--white);
}

.quick-contact span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-contact strong {
  display: block;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.25;
}

.section {
  padding: 86px clamp(18px, 5vw, 70px);
}

#services,
#work,
#contact {
  scroll-margin-top: 88px;
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 36px;
  text-align: center;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(15, 34, 42, 0.06);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  color: var(--teal);
  background: #e8f7fa;
  border-radius: 6px;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.16;
}

.service-card p,
.feature-copy p,
.contact-card p,
.testimonial-card p {
  color: var(--muted);
  line-height: 1.65;
}

.testimonials {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.testimonial-card {
  min-height: 210px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stars {
  margin-bottom: 16px;
  color: var(--warm);
  font-size: 1.05rem;
  font-weight: 900;
}

.testimonial-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 900;
}

.contact-card .contact-note {
  margin-top: 16px;
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: 86px clamp(18px, 5vw, 70px);
  color: var(--white);
  background: var(--ink);
}

.feature-copy {
  max-width: 580px;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.72);
}

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

.service-summary span {
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 18px 20px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 900;
}

.contact-section {
  padding: 86px clamp(18px, 5vw, 70px);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

.contact-card {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 64px);
  text-align: center;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card .eyebrow {
  color: var(--teal-dark);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: #07090a;
  font-weight: 800;
}

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

  .nav-links {
    display: none;
  }

  .quick-contact,
  .service-grid,
  .testimonial-grid,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    max-width: none;
  }

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

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }

  .header-call {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-image {
    object-position: center;
  }

  .hero-content {
    padding-bottom: 50px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section,
  .feature-band,
  .contact-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .service-card {
    min-height: 0;
    padding: 24px;
  }

  .service-summary {
    grid-template-columns: 1fr;
  }
}
