:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dee8;
  --paper: #f7f5ef;
  --white: #ffffff;
  --steel: #253041;
  --blue: #0b5cad;
  --blue-dark: #073f78;
  --red: #c4352d;
  --green: #3a7664;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(17, 24, 39, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center top;
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.nav {
  justify-self: center;
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--white);
}

.header-call,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.header-call {
  color: var(--white);
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 12, 24, 0.88) 0%, rgba(5, 12, 24, 0.66) 44%, rgba(5, 12, 24, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 12, 24, 0.62) 0%, rgba(5, 12, 24, 0.02) 46%);
}

.hero-content {
  width: min(720px, calc(100% - 36px));
  margin: 0 0 clamp(46px, 9vh, 92px) clamp(18px, 6vw, 74px);
  color: var(--white);
}

.hero-logo {
  width: clamp(108px, 12vw, 154px);
  height: auto;
  margin-bottom: 18px;
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.cta-section h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 30px rgba(196, 53, 45, 0.28);
}

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

.button.dark.primary {
  background: var(--blue-dark);
}

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

.button.secondary.light {
  color: var(--ink);
  border-color: rgba(17, 24, 39, 0.18);
  background: var(--white);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 32px 0 0;
}

.hero-facts div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.hero-facts dt {
  font-size: 1.1rem;
  font-weight: 900;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.quick-contact {
  display: grid;
  grid-template-columns: 0.75fr 0.9fr 1.35fr;
  gap: 1px;
  background: var(--line);
}

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

.label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-contact a,
.quick-contact span:not(.label) {
  font-weight: 800;
}

.section,
.cta-section {
  padding: clamp(58px, 9vw, 110px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2,
.cta-section h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.section-heading p:not(.eyebrow),
.cta-section p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.service-card {
  min-height: 218px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 22px rgba(17, 24, 39, 0.05);
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--green);
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 900;
}

.service-card h3,
.process-list h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.service-card p,
.process-list p {
  margin: 0;
  color: var(--muted);
}

.photos-section {
  background: var(--white);
}

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

.photo-card {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-card.wide {
  grid-column: span 2;
}

.photo-card.tall {
  grid-row: span 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 220ms ease;
}

.photo-card:hover img {
  transform: scale(1.035);
}

.photo-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 6vw, 86px);
  background: var(--steel);
  color: var(--white);
}

.split-section .eyebrow {
  color: #8bc6df;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 0 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.process-list span {
  grid-row: span 2;
  color: #8bc6df;
  font-weight: 900;
}

.process-list p {
  color: rgba(255, 255, 255, 0.72);
}

.location-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1.22fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  background: var(--white);
}

.location-copy h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
}

.location-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.04rem;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.map-panel {
  min-height: 440px;
  overflow: hidden;
  background: #dfe6ee;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  display: block;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 34px;
  background: #e8edf2;
}

.cta-section .eyebrow {
  color: var(--blue);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

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

  .nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    margin-right: 18px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 11vw, 4.6rem);
  }

  .quick-contact,
  .service-grid,
  .split-section,
  .location-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 360px;
  }

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

  .service-card {
    min-height: auto;
  }

  .cta-actions {
    margin-top: 0;
  }
}

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

  .brand-logo {
    width: 36px;
    height: 36px;
  }

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

  .hero-content {
    width: calc(100% - 28px);
    margin: 0 14px 34px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.45rem);
  }

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

  .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-facts div {
    padding: 12px;
  }

  .quick-contact div {
    padding: 20px 18px;
  }

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

  .photo-card,
  .photo-card.wide,
  .photo-card.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }

  .section,
  .cta-section {
    padding: 52px 18px;
  }

  .process-list article {
    grid-template-columns: 44px 1fr;
  }

  .map-panel {
    min-height: 300px;
  }

  .site-footer {
    display: grid;
  }
}
