/* Services reference layout, scoped to the introduction and first two services. */
.services-finishing {
  --finishing-ink: #090f3c;
  --finishing-muted: #64748b;
  --finishing-cyan: #00b7e9;
  background: #fff;
  color: var(--finishing-ink);
  font-family: "Segoe UI", system-ui, sans-serif;
}

.services-finishing .finishing-intro {
  width: 89%;
  margin: 0 auto 18px;
  padding: 24px 0 6px;
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 5%;
  border-bottom: 1px solid #e1e6ed;
}

.services-finishing .finishing-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: #344b7c;
  font-size: 8.55px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.services-finishing .finishing-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--finishing-cyan);
}

.services-finishing h1 {
  margin: 0;
  font-size: clamp(34.2px, 4.275vw, 60.8px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
}

.services-finishing h1 span { color: var(--finishing-cyan); }

.services-finishing p {
  margin: 0;
  color: var(--finishing-muted);
  font-size: clamp(14.25px, 1.5675vw, 19.95px);
  line-height: 1.4;
}

.services-finishing .finishing-intro-copy { padding-top: 20px; }
.services-finishing .finishing-intro-copy p:first-child { color: var(--finishing-ink); }

.services-finishing .finishing-row {
  display: grid;
  grid-template-columns: 51.6% 48.4%;
  padding-bottom: 0;
  margin-bottom: 8px;
  border-bottom: 1px solid #e1e6ed;
}

.services-finishing .finishing-row--interior,
.services-finishing .finishing-row--coordination {
  grid-template-columns: 47.6% 52.4%;
  padding-bottom: 10px;
  margin-bottom: 0;
}

.services-finishing .finishing-row--security {
  padding-top: 8px;
  margin-bottom: 0;
}

.services-finishing .finishing-row--security .finishing-copy {
  padding-top: 12px;
  padding-right: 3vw;
}

.services-finishing .finishing-photo {
  position: relative;
  min-height: clamp(226px, 24.6vw, 380px);
  margin: 5px;
  overflow: hidden;
  background: #eef2f4;
}

.services-finishing .finishing-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-finishing .finishing-copy {
  min-width: 0;
  padding: 4px 5.5vw 18px 6.7vw;
}

.services-finishing .finishing-row--interior .finishing-copy,
.services-finishing .finishing-row--coordination .finishing-copy {
  padding: 12px 3vw 18px 5.6vw;
}

.services-finishing .finishing-number {
  display: block;
  margin-bottom: 4px;
  color: var(--finishing-cyan);
  font-size: 14.63px;
  font-weight: 600;
}

.services-finishing h2 {
  margin: 0 0 5px;
  font-size: clamp(27.55px, 3.2775vw, 43.7px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.services-finishing .finishing-scope { margin-top: 20px; }

.services-finishing .finishing-scope::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 10px;
  background: var(--finishing-cyan);
}

.services-finishing h3 {
  margin: 0;
  font-size: clamp(14.25px, 1.5675vw, 19.95px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.services-finishing .finishing-estimate {
  background: #edf4f7;
  padding: 28px 5.5%;
}

.services-finishing .finishing-estimate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.services-finishing .finishing-estimate h2,
.services-finishing .finishing-faq h2 {
  font-size: clamp(30.4px, 3.42vw, 49.4px);
  line-height: 1.03;
  margin-bottom: 12px;
}

.services-finishing .finishing-estimate h2 span {
  color: var(--finishing-cyan);
}

.services-finishing .finishing-estimate-link {
  display: inline-flex;
  align-items: center;
  gap: 4.8px;
  margin-top: 14px;
  padding: 11.2px 22.4px;
  border-radius: 4px;
  background: var(--finishing-ink);
  color: #fff;
  font-size: clamp(11.4px, 1.216vw, 17.48px);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.services-finishing .finishing-estimate-link:hover {
  background: #151f57;
}

.services-finishing .finishing-estimate-link:focus-visible,
.services-finishing .finishing-faq summary:focus-visible {
  outline: 2px solid var(--finishing-ink);
  outline-offset: 4px;
}

.services-finishing .finishing-estimate-factors {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 5.8vw;
  border-left: 1px solid #cddce6;
}

.services-finishing .finishing-estimate-factors ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--finishing-muted);
  font-size: clamp(11.4px, 1.254vw, 17.48px);
  line-height: 1.5;
}

.services-finishing .finishing-estimate-factors li {
  position: relative;
  padding-left: 32px;
  margin: 6px 0;
}

.services-finishing .finishing-estimate-factors li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--finishing-cyan);
}

.services-finishing .finishing-estimate-note {
  border-top: 1px solid #bdcddc;
  margin-top: 32px;
  padding-top: 20px;
  font-size: clamp(10.64px, 1.064vw, 15.2px);
}

.services-finishing .finishing-faq {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 4.8%;
  padding: 36px 5.5% 24px;
}

.services-finishing .finishing-faq .finishing-kicker {
  margin-bottom: 18px;
}

.services-finishing .finishing-faq-list {
  border-top: 1px solid #e1e6ed;
}

.services-finishing .finishing-faq details {
  border-bottom: 1px solid #e1e6ed;
}

.services-finishing .finishing-faq summary {
  position: relative;
  padding: 11px 32px 11px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(13.3px, 1.33vw, 19px);
  font-weight: 600;
  line-height: 1.35;
}

.services-finishing .finishing-faq summary::-webkit-details-marker { display: none; }

.services-finishing .finishing-faq summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--finishing-muted);
  font-size: 22.8px;
  font-weight: 400;
}

.services-finishing .finishing-faq details[open] summary::after { content: "\2212"; }

.services-finishing .finishing-faq details p {
  padding: 0 32px 16px 0;
  font-size: clamp(13.3px, 1.14vw, 16.15px);
}

@media (max-width: 700px) {
  .services-finishing .finishing-estimate-inner,
  .services-finishing .finishing-faq {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .services-finishing .finishing-estimate-factors {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid #cddce6;
  }

  .services-finishing .finishing-estimate-note { margin-top: 22px; }

  .services-finishing .finishing-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0 22px;
  }

  .services-finishing .finishing-intro-copy { padding-top: 0; }

  .services-finishing .finishing-row {
    grid-template-columns: 1fr;
  }

  .services-finishing .finishing-copy,
  .services-finishing .finishing-row--interior .finishing-copy,
.services-finishing .finishing-row--coordination .finishing-copy {
    padding: 22px 5.5vw 26px;
  }

  .services-finishing .finishing-photo {
    min-height: 0;
    aspect-ratio: 2.1 / 1;
  }

  .services-finishing .finishing-row--interior .finishing-photo,
  .services-finishing .finishing-row--coordination .finishing-photo { order: -1; }
  .services-finishing .finishing-desktop-break { display: none; }
}
