:root {
  --ink: #242526;
  --muted: #62646b;
  --soft: #ecff25;
  --mid: #b1b1ba;
  --deep: #2a3140;
  --accent: #ecff25;
  --white: #ffffff;
  --max: 1050px;
  --pad: clamp(30px, 6.25vw, 75px);
  --hero-gap: clamp(28px, 4.17vw, 50px);
  --hero-measure: clamp(320px, 43.75vw, 525px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.45;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.section {
  padding-block: 0;
}

.site-header {
  background: var(--ink);
  color: var(--accent);
}

.header-inner {
  min-height: 210px;
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.top-link {
  font-size: clamp(18px, 2.42vw, 29px);
  font-weight: 600;
  text-decoration: none;
  text-wrap: balance;
}

.address-link {
  justify-self: end;
  color: var(--accent);
  max-width: 270px;
  text-align: right;
}

.brand {
  display: block;
  text-decoration: none;
}

.brand img {
  width: clamp(300px, 41.67vw, 500px);
  height: auto;
}

.hero {
  background: var(--soft);
  min-height: 838px;
  padding-top: 67px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--hero-measure);
  align-items: start;
  gap: var(--hero-gap);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: var(--hero-measure);
  margin: 17px 0 0;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.2;
  font-weight: 600;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.12;
  font-weight: 600;
}

.lead {
  max-width: 560px;
  margin-bottom: 32px;
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 600;
}

.hero-actions,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  display: none;
}

.button,
.socials a,
.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
}

.socials {
  display: grid;
  gap: 7px;
}

.socials a {
  position: relative;
  width: fit-content;
  min-height: auto;
  justify-content: start;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(22px, 2.33vw, 28px);
  font-weight: 600;
  text-transform: none;
}

.socials img {
  width: 133px;
  height: auto;
}

.socials a::before {
  content: none;
}

.button-primary {
  background: var(--deep);
  color: var(--accent);
}

.button-secondary,
.text-link {
  border: 2px solid var(--deep);
  color: var(--deep);
}

.hero-media {
  margin: 0;
  overflow: hidden;
  width: var(--hero-measure);
  aspect-ratio: 525 / 283;
  background: var(--mid);
}

.hero-media img,
.feature-image img,
.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services {
  background: var(--soft);
  padding-top: 0;
}

.section-heading {
  max-width: 820px;
}

.service-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 9.5vw, 114px);
  margin-top: 24px;
}

.service-lists ul {
  margin: 0;
  padding: 0 0 0 34px;
  list-style: disc;
}

.service-lists li::marker {
  color: var(--ink);
}

.service-lists li {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.26;
}

.workline {
  max-width: 1050px;
  margin: 16px 0 0;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.2;
}

.region-line {
  max-width: 893px;
  margin: 56px auto 0;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  text-align: center;
}

.feature-band {
  background: var(--mid);
  padding-bottom: 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: -77px;
}

.feature {
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.feature-image {
  aspect-ratio: 328.68 / 314.25;
  overflow: hidden;
  background: var(--ink);
}

.feature::after {
  content: none;
}

.feature-image img {
  display: none;
}

.feature h3 {
  position: absolute;
  z-index: 1;
  top: 19.75%;
  left: 0;
  width: 100%;
  margin: 0;
  color: var(--accent);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1;
  text-align: center;
}

.feature p {
  position: absolute;
  z-index: 1;
  top: 34%;
  left: clamp(20px, 2.67vw, 32px);
  right: clamp(20px, 2.67vw, 32px);
  margin: 0;
  color: var(--mid);
  font-size: clamp(19px, 2.33vw, 28px);
  line-height: 1.22;
  text-align: center;
}

.about {
  background: var(--mid);
  padding: 72px 0 70px;
}

.about-panel {
  position: relative;
  min-height: 325px;
  border-radius: 20px;
  background: var(--soft);
  padding: 91px 50px 56px 475px;
}

.owner-photo {
  position: absolute;
  left: 31px;
  top: -30px;
  width: 388px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #777;
}

.owner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.about-copy blockquote {
  display: none;
}

.about-copy .eyebrow {
  display: none;
}

.about-statement {
  margin: 0;
  max-width: 525px;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.2;
  font-weight: 400;
}

.reviews {
  background: var(--mid);
  padding: 36px 0 45px;
}

.reviews h2 {
  text-align: center;
  font-size: clamp(24px, 2.5vw, 30px);
  margin-bottom: 0;
}

.carousel {
  position: relative;
  display: block;
  align-items: center;
  margin-top: 32px;
}

.review-track {
  display: grid;
}

.review-card {
  grid-area: 1 / 1;
  min-height: 176px;
  max-width: 893px;
  margin-inline: auto;
  padding: 0 34px;
  border-radius: 0;
  background: var(--mid);
  opacity: 0;
  transform: translateX(16px);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
  text-align: center;
}

.review-card.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.stars {
  margin: 8px 0 0;
  color: var(--accent);
  font-size: 28px;
  letter-spacing: .08em;
  text-shadow: 0 1px 0 var(--deep);
}

.review-card p {
  font-size: clamp(22px, 2.33vw, 28px);
  line-height: 1.2;
}

.review-card h3 {
  margin: 22px 0 0;
  font-size: clamp(22px, 2.33vw, 28px);
}

.carousel-button {
  display: none;
}

.carousel-button img {
  width: 100%;
  height: 100%;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 22px;
}

.review-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #7c7f88;
  cursor: pointer;
}

.review-dots button.is-active {
  background: var(--deep);
}

.reviews-link {
  display: flex;
  width: fit-content;
  min-height: 49px;
  margin: 18px auto 0;
  border: 1px solid var(--ink);
  border-radius: 11px;
  padding-inline: 27px;
  font-size: 18px;
  font-weight: 500;
}

.contact {
  background: var(--soft);
  padding: 74px 0 24px;
}

.contact .eyebrow {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.contact h2 {
  max-width: 500px;
  font-size: clamp(24px, 2.33vw, 28px);
  line-height: 1.2;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 4.08vw, 49px);
  align-items: start;
}

.contact-actions {
  display: grid;
  gap: 26px;
  margin: 44px 0 38px;
}

.contact-item {
  display: grid;
  gap: 7px;
  padding: 0;
  border-bottom: 0;
  text-decoration: none;
}

.contact-item span {
  color: var(--ink);
  font-size: 19px;
  font-weight: 400;
}

.contact-item strong {
  overflow-wrap: anywhere;
  font-size: clamp(22px, 2.33vw, 28px);
  font-weight: 600;
}

.contact-item:first-child strong {
  font-size: clamp(24px, 2.5vw, 30px);
}

.map-card {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 526 / 342;
  height: auto;
  border-radius: 20px;
  background: transparent;
  text-decoration: none;
  isolation: isolate;
}

.map-card span {
  position: absolute;
  right: 15px;
  bottom: 15px;
  min-height: 49px;
  z-index: 2;
  border: 1px solid var(--ink);
  border-radius: 11px;
  padding: 14px 24px;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
}

.map-card img {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.footer {
  background: var(--soft);
  margin-top: -36px;
  padding: 0 0 22px;
  border-top: 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 35px;
}

.brand-footer img {
  width: clamp(300px, 40vw, 480px);
}

.footer p {
  flex: 0 0 100%;
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 900px) and (min-width: 761px) {
  :root {
    --pad: 30px;
    --hero-gap: clamp(28px, 4.17vw, 50px);
  }
}

@media (max-width: 760px) {
  :root {
    --pad: clamp(30px, 7.9vw, 42px);
  }

  .header-inner {
    min-height: 260px;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 18px;
    text-align: center;
    padding-block: 28px;
  }

  .address-link {
    justify-self: center;
    max-width: none;
    text-align: center;
  }

  .brand {
    order: -1;
  }

  .top-link {
    font-size: 18px;
  }

  .brand img {
    width: clamp(260px, 78vw, 340px);
  }

  .hero {
    min-height: 0;
    padding: 36px 0 64px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-grid,
  .about-panel,
  .contact-grid,
  .service-lists {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
    margin-top: 0;
    font-size: clamp(24px, 7.9vw, 30px);
  }

  .hero-media {
    width: 100%;
  }

  .services {
    padding-top: 36px;
  }

  .service-lists {
    gap: 20px;
    margin-top: 24px;
  }

  .service-lists li {
    font-size: clamp(19px, 7.9vw, 30px);
    line-height: 1.34;
  }

  .workline {
    margin-top: 32px;
    font-size: clamp(20px, 7.9vw, 30px);
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 0;
  }

  .feature-image {
    aspect-ratio: 320 / 122.94;
  }

  .feature h3 {
    top: 22%;
    font-size: clamp(24px, 7.9vw, 30px);
  }

  .feature p {
    top: 42%;
    left: 22px;
    right: 22px;
    font-size: clamp(17px, 5.8vw, 22px);
  }

  .about-panel {
    justify-items: center;
    text-align: center;
    min-height: 0;
    padding: 28px 20px 34px;
    border-radius: 18px;
  }

  .owner-photo {
    position: static;
    margin: 0 auto 24px;
  }

  .about-statement {
    max-width: none;
    font-size: clamp(22px, 6.8vw, 30px);
  }

  .review-dots {
    margin-bottom: 22px;
  }

  .contact {
    padding-top: 56px;
  }

  .footer-inner {
    justify-content: center;
  }

  .footer {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .header-inner {
    width: calc(100% - 60px);
    min-height: 260px;
  }

  .container {
    width: calc(100% - 60px);
  }

  h2 {
    font-size: clamp(24px, 7.9vw, 30px);
  }

  .lead {
    font-size: 20px;
  }

  .button {
    width: 100%;
  }

  .about-panel {
    padding: 24px 18px;
  }

  .owner-photo {
    width: min(100%, 282px);
  }

  .feature-image {
    aspect-ratio: 320 / 205;
  }

  .feature h3 {
    top: 17%;
    font-size: clamp(20px, 5.8vw, 22px);
  }

  .feature p {
    top: 34%;
    font-size: clamp(17px, 4.75vw, 18px);
    line-height: 1.3;
  }

  .review-card {
    min-height: 326px;
    padding: 24px 22px;
  }

  .map-card {
    height: 260px;
  }
}
