/* Home page composition. Service pages continue to use the shared theme. */
html:root[data-theme] body.client-polished main > .hero {
  padding: clamp(28px, 4vw, 56px) 0 34px !important;
}
html:root[data-theme] body.client-polished .hero > .wrap {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important;
  gap: 24px clamp(24px, 4vw, 60px) !important;
}
html:root[data-theme] body.client-polished .hero .hero-heading {
  grid-area: 1 / 1;
  text-align: left;
}
html:root[data-theme] body.client-polished .hero .hero-heading .eyebrow,
html:root[data-theme] body.client-polished .hero .hero-problem-links {
  justify-content: flex-start;
}
html:root[data-theme] body.client-polished .hero .hero-heading h1 {
  font-size: clamp(35px, 4.05vw, 62px) !important;
  margin: 0 0 14px !important;
  text-wrap: balance;
}
.hero-title-break { display: none; }
html:root[data-theme] body.client-polished .hero .hero-heading p.lead {
  margin: 0 0 19px !important;
  max-width: none !important;
}
html:root[data-theme] body.client-polished .hero .hero-cta {
  max-width: 510px;
  margin: 0 0 12px !important;
}
html:root[data-theme] body.client-polished .hero .hero-cta .btn-prepay {
  justify-self: start;
  padding-inline: 0 !important;
}
html:root[data-theme] body.client-polished .hero .hero-work {
  grid-area: 1 / 2;
  min-height: 380px !important;
  border-radius: 20px !important;
  overflow: hidden;
  isolation: isolate;
}
html:root[data-theme] body.client-polished .hero .hero-work img {
  border-radius: 0 !important;
}
html:root[data-theme] body.client-polished .hero .hero-work figcaption {
  display: grid !important;
  position: absolute;
  inset: auto 0 0;
  gap: 4px;
  padding: 40px 20px 16px;
  color: white;
  background: linear-gradient(transparent, rgb(8 16 27 / 90%));
  z-index: 1;
}
html:root[data-theme] body.client-polished .hero .hero-work figcaption span {
  color: inherit;
  font-weight: 800;
}
html:root[data-theme] body.client-polished .hero .hero-work figcaption strong { display: none; }
html:root[data-theme] body.client-polished .hero .hero-price-guides {
  grid-area: 2 / 1 / 3 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
}
html:root[data-theme] body.client-polished .hero .hero-price-guides a {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center;
  gap: 5px !important;
  padding: 15px 18px !important;
  border: 1px solid var(--studio-line) !important;
  border-radius: 14px !important;
  background: var(--studio-card) !important;
}
html:root[data-theme] body.client-polished .hero .hero-price-guides a:hover {
  border-color: var(--studio-accent) !important;
}
html:root[data-theme] body.client-polished .hero .hero-price-guides a:focus-visible {
  outline: 2px solid var(--studio-accent);
  outline-offset: 2px;
}
html:root[data-theme] body.client-polished .hero .hero-trust { grid-area: 3 / 1 / 4 / -1; }
html:root[data-theme] body.client-polished .hero .hero-response { grid-area: 4 / 1 / 5 / -1; }

@media (max-width: 760px) {
  html:root[data-theme] body.client-polished .hero > .wrap {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }
  html:root[data-theme] body.client-polished .hero .hero-heading h1 {
    font-size: clamp(29px, 7.6vw, 45px) !important;
  }
  html:root[data-theme] body.client-polished .hero .hero-work {
    grid-area: 2 / 1;
    min-height: 0 !important;
    border-radius: 14px !important;
  }
  html:root[data-theme] body.client-polished .hero .hero-price-guides {
    grid-area: 3 / 1;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }
  html:root[data-theme] body.client-polished .hero .hero-price-guides a {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding: 10px 12px !important;
  }
  html:root[data-theme] body.client-polished .hero .hero-price-guides a small {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }
  html:root[data-theme] body.client-polished .hero .hero-trust { grid-area: 4 / 1; }
  html:root[data-theme] body.client-polished .hero .hero-response { grid-area: 5 / 1; }
}
@media (max-width: 640px) {
  html:root[data-theme] body.client-polished .topbar .header-socials {
    display: flex !important;
    justify-content: center;
    gap: 8px;
  }
  html:root[data-theme] body.client-polished .topbar .header-socials a:not(.header-call,.header-map) {
    display: none !important;
  }
  html:root[data-theme] body.client-polished .topbar .header-socials :is(.header-call,.header-map) {
    min-height: 44px;
  }
}
@media (min-width: 761px) {
  html:root[data-theme] body.client-polished .hero .hero-heading h1 {
    font-size: clamp(34px, 3.45vw, 51px) !important;
    text-wrap: initial;
  }
  html:root[data-theme] body.client-polished .hero .hero-heading h1 em { display: block !important; }
  html:root[data-theme] body.client-polished .hero .hero-price-guides {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
  }
}
@media (min-width: 641px) {
  html:root[data-theme] body.client-polished .topbar .header-socials { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  html:root[data-theme] body.client-polished .topbar .header-socials :is(.header-call,.header-map) {
    flex: 0 0 auto !important;
    flex-direction: row !important;
    width: auto !important;
    padding-inline: 12px !important;
    font-size: 12px !important;
  }
  html:root[data-theme] body.client-polished header .mobile-tabs {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  html:root[data-theme] body.client-polished header .mobile-tabs a.nav-shop {
    display: inline-flex !important;
  }
  html:root[data-theme] body.client-polished header .mobile-tabs a {
    justify-content: center;
    min-width: 0 !important;
    min-height: 44px;
  }
}
