:root {
  color-scheme: light;
  --ink: #111111;
  --paper: #ffffff;
  --muted: #3a3a3a;
  --line: #111111;
  --soft: #f3f3f3;
  --radius: 14px;
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  /* Clearance for the fixed mobile call bar (height + offset + gap). */
  padding-bottom: 8.75rem;
  padding-bottom: calc(8.75rem + env(safe-area-inset-bottom, 0px));
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
.btn-call:focus-visible,
.btn-line:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #000;
  color: #fff;
  padding: 0.5rem 0.9rem;
  z-index: 40;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus {
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2rem, 40rem);
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.65rem 1rem;
  background: #fff;
  border-bottom: 2px solid #000;
}

.brand {
  display: flex;
  margin-right: auto;
}

.brand img {
  display: block;
  height: 46px;
  width: auto;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  width: 100%;
  order: 3;
}

.site-header nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-header nav a:hover {
  border-bottom-color: #000;
}

.header-call {
  display: none;
}

section[id] {
  scroll-margin-top: 6.5rem;
}

.hero {
  padding: 1.75rem 0 2rem;
  border-bottom: 2px solid #000;
}

.hero-mark {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin-bottom: 1.25rem;
}

h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 10vw, 3.5rem);
}

h2 {
  font-size: clamp(1.7rem, 6vw, 2.15rem);
  margin-bottom: 1rem;
}

.lead {
  margin: 0.85rem 0 0;
  font-size: 1.2rem;
  max-width: 28ch;
}

.licenses {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.licenses li {
  font-size: 0.98rem;
  font-weight: 600;
}

.hero-actions,
.review-links,
.contact-call {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.btn-call,
.btn-line,
.call-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}

.btn-call,
.call-dock {
  background: #000;
  color: #fff;
  border: 2px solid #000;
}

.btn-call:hover,
.call-dock:hover {
  background: #222;
}

.btn-line {
  background: #fff;
  color: #000;
  border: 2px solid #000;
}

.btn-line:hover {
  background: var(--soft);
}

.btn-line span {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

section {
  padding: 2.25rem 0;
}

section + section {
  border-top: 2px solid #000;
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.services li {
  border: 2px solid #000;
  border-radius: var(--radius);
  padding: 1.15rem 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.photos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

figure {
  margin: 0;
  border: 2px solid #000;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #e8e8e8;
}

figcaption {
  padding: 0.7rem 0.85rem 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
  background: #fff;
  border-top: 2px solid #000;
}

.widget {
  margin-top: 1.25rem;
  border: 2px solid #000;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.widget iframe {
  display: block;
  width: 100%;
}

#contact a:not(.btn-call) {
  font-weight: 800;
  font-size: 1.15rem;
}

address {
  font-style: normal;
  margin-top: 1rem;
  line-height: 1.45;
}

.site-footer {
  border-top: 2px solid #000;
  padding: 1.5rem 0 1.75rem;
  background: #000;
  color: #fff;
}

.site-footer p {
  margin: 0.2rem 0;
}

.site-footer strong {
  font-size: 1.15rem;
}

.call-dock {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.65rem + env(safe-area-inset-bottom));
  z-index: 30;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

@media (min-width: 720px) {
  .photos {
    grid-template-columns: 1fr 1fr;
  }

  .photos li:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.625rem);
  }
}

@media (min-width: 860px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    flex-wrap: nowrap;
    gap: 1.25rem;
    padding-inline: 1.25rem;
  }

  .site-header nav {
    width: auto;
    order: 0;
    margin-left: auto;
  }

  .header-call {
    display: flex;
    min-height: 46px;
    padding: 0.45rem 0.9rem;
    font-size: 1rem;
    white-space: nowrap;
  }

  .call-dock {
    display: none;
  }

  .hero {
    padding: 3rem 0 3.25rem;
  }

  .hero-mark {
    width: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 859px) {
  a.header-call {
    display: none;
  }

  main {
    padding-bottom: 1.5rem;
  }

  /* Keep footer text, including the company name, above the fixed call bar. */
  .site-footer {
    padding-bottom: 3.25rem;
    padding-bottom: calc(3.25rem + env(safe-area-inset-bottom, 0px));
  }

  #contact {
    scroll-margin-bottom: 8.75rem;
  }
}
