:root {
  --ink: #162027;
  --muted: #62717b;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #d9ded9;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --amber: #d6912f;
  --rose: #8a3b4d;
  --shadow: 0 22px 60px rgba(22, 32, 39, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 222, 217, 0.82);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-dark);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #33414a;
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #eef4f0;
  outline: none;
}

.site-nav .nav-cta {
  background: var(--teal);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 36, 37, 0.82) 0%, rgba(15, 36, 37, 0.62) 36%, rgba(15, 36, 37, 0.18) 72%),
    linear-gradient(0deg, rgba(22, 32, 39, 0.45), rgba(22, 32, 39, 0.05));
}

.hero-content {
  width: min(760px, calc(100% - 32px));
  margin-left: clamp(16px, 6vw, 76px);
  padding: 76px 0 116px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.26);
}

.button.secondary {
  background: var(--amber);
  color: #1d1507;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

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

.button.compact {
  min-height: 42px;
  padding: 10px 14px;
}

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

.quick-panel div {
  min-height: 120px;
  padding: 24px clamp(16px, 3vw, 34px);
  background: var(--panel);
}

.metric {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 850;
  line-height: 1;
}

.quick-panel p,
.service-card p,
.section-heading p,
.about-copy p,
.review-panel p,
.contact-section p,
.faq-list p,
.form-note {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(16px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section h3 {
  margin: 0;
  font-size: 1.22rem;
}

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

.service-card,
.office-card,
.review-panel,
.quote-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(22, 32, 39, 0.07);
}

.service-card {
  min-height: 240px;
  padding: 26px;
}

.service-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--rose);
  font-weight: 850;
}

.locations-section {
  background: #eef1ec;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.office-tabs {
  display: flex;
  grid-column: 1 / -1;
  width: fit-content;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.office-tab {
  min-width: 110px;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.office-tab.active {
  background: var(--teal-dark);
  color: #fff;
}

.office-card {
  padding: clamp(22px, 4vw, 36px);
}

.status {
  display: inline-flex;
  margin: 0 0 12px;
  border-radius: 999px;
  padding: 7px 10px;
  background: #e8f5ee;
  color: #166536;
  font-size: 0.82rem;
  font-weight: 850;
}

.status.closed {
  background: #f8ece7;
  color: #93411e;
}

.address {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.office-details {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.office-details div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.office-details dt {
  color: var(--muted);
  font-weight: 800;
}

.office-details dd {
  margin: 0;
  line-height: 1.55;
}

.map-panel {
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #d6ded7;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
}

.about-section,
.split-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
}

.about-copy {
  max-width: 780px;
}

.review-panel {
  padding: clamp(24px, 4vw, 38px);
}

.rating {
  display: block;
  color: var(--rose);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 850;
  line-height: 0.9;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: #33414a;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cdd5ce;
  border-radius: var(--radius);
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form .full,
.full-button,
.form-note {
  grid-column: 1 / -1;
}

.full-button {
  width: 100%;
}

.form-note {
  margin: 0;
  min-height: 26px;
}

.faq-section {
  background: #f3f4f1;
}

.faq-list {
  display: grid;
  max-width: 900px;
  margin: 0 auto;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.contact-section {
  background: var(--teal-dark);
  color: #fff;
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(16px, 5vw, 72px);
  background: #121b20;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

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

.mobile-actions {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 25;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mobile-actions a {
  display: grid;
  min-height: 48px;
  place-items: center;
  background: var(--teal-dark);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
}

.mobile-actions a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

@media (max-width: 1060px) {
  .service-grid,
  .quick-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-layout,
  .about-section,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 70px;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

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

  .brand small {
    font-size: 0.74rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 6px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(15, 36, 37, 0.86) 0%, rgba(15, 36, 37, 0.72) 54%, rgba(15, 36, 37, 0.36) 100%),
      linear-gradient(0deg, rgba(22, 32, 39, 0.52), rgba(22, 32, 39, 0.08));
  }

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

  .hero h1 {
    max-width: 10ch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .quick-panel,
  .service-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .quick-panel div {
    min-height: 100px;
  }

  .section {
    padding: 54px 14px;
  }

  .office-tabs {
    width: 100%;
  }

  .office-tab {
    flex: 1;
  }

  .office-details div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 320px;
  }

  .contact-actions .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }

  .mobile-actions {
    display: grid;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .hero {
    min-height: 640px;
  }

  .button {
    padding-inline: 14px;
  }

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