/*
Theme Name: Your Perfect Handyman Services
Theme URI: https://yphandymanservices.com
Author: Your Perfect Handyman Services Inc
Description: A flyer-inspired one-page WordPress theme for Your Perfect Handyman Services Inc.
Version: 1.0.0
Text Domain: perfect-handyman
*/

:root {
  --gold: #d7a534;
  --gold-light: #f3ca67;
  --gold-dark: #b7831f;
  --ink: #272729;
  --charcoal: #111214;
  --charcoal-soft: #1d1e21;
  --paper: #f6f3ef;
  --white: #ffffff;
  --muted: #66666a;
  --line: rgba(17, 18, 20, 0.12);
  --shadow: 0 24px 70px rgba(17, 18, 20, 0.18);
  --shadow-strong: 0 30px 90px rgba(17, 18, 20, 0.28);
  --radius: 8px;
  --section-space: clamp(74px, 8vw, 112px);
  --img-tools: url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1800&q=82");
  --img-house: url("https://images.unsplash.com/photo-1570129477492-45c003edd2be?auto=format&fit=crop&w=1800&q=82");
  --img-roof: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=82");
  --img-remodel: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=82");
  --img-repair: url("https://images.unsplash.com/photo-1513467535987-fd81bc7d62f8?auto=format&fit=crop&w=1800&q=82");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(246, 243, 239, 0.95), rgba(246, 243, 239, 0.95)),
    var(--img-tools) center top / cover fixed,
    var(--paper);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body,
button,
input,
textarea,
select {
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(215, 165, 52, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
  font-weight: 900;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  overflow: hidden;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.88rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
}

.topbar__links,
.topbar__note {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar svg,
.footer svg,
.contact-link svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--gold);
  flex: 0 0 auto;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 228px;
}

.brand img {
  width: min(330px, 56vw);
  height: auto;
}

.brand:focus-visible {
  border-radius: var(--radius);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #343438;
  font-size: 0.94rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav__links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  position: relative;
}

.nav__links a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after,
.nav__links .current-menu-item > a::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(183, 131, 31, 0.28);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  stroke-width: 2.4;
}

.button:hover,
.button:focus-visible {
  background: #efbd4c;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(183, 131, 31, 0.34);
}

.button:active {
  transform: translateY(0);
}

.button--dark {
  background: var(--charcoal);
  color: var(--white);
  box-shadow: none;
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
  box-shadow: none;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: var(--gold);
  color: var(--white);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(820px, calc(100vh - 86px));
  display: grid;
  align-items: end;
  padding: clamp(58px, 7vw, 84px) 0 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.96) 0%, rgba(17, 18, 20, 0.82) 43%, rgba(17, 18, 20, 0.14) 100%),
    url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1800&q=82") center right / cover;
}

.hero__content {
  padding-bottom: 34px;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 16% 24%, rgba(215, 165, 52, 0.22), transparent 28%),
    linear-gradient(180deg, transparent 75%, var(--gold) 75%);
  content: "";
}

.hero::after {
  position: absolute;
  right: -7vw;
  bottom: 12%;
  z-index: -1;
  width: min(56vw, 760px);
  height: 92px;
  background: linear-gradient(90deg, transparent, rgba(215, 165, 52, 0.95), var(--gold-light));
  content: "";
  opacity: 0.82;
  transform: rotate(-9deg);
  transform-origin: right center;
}

.hero--wow {
  min-height: min(820px, calc(100vh - 86px));
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.62fr);
  gap: 34px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #ffe5ac;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 46px;
  height: 4px;
  background: var(--gold);
  content: "";
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 6.2rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 660px;
  margin-top: 44px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(17, 18, 20, 0.18);
}

.stat {
  padding: 22px 18px;
  background: rgba(17, 18, 20, 0.82);
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 1.85rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__badge {
  position: relative;
  margin-bottom: -40px;
  padding: 32px;
  background: var(--gold);
  color: var(--charcoal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(-18px);
}

.hero__badge::after {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(17, 18, 20, 0.14);
  content: "";
  pointer-events: none;
}

.hero__badge img {
  width: 70px;
  margin-bottom: 18px;
}

.hero__badge h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1;
  text-transform: uppercase;
}

.hero__badge p {
  margin: 18px 0 0;
  color: rgba(17, 18, 20, 0.76);
  font-weight: 750;
}

.section {
  padding: var(--section-space) 0;
}

.section--showcase {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(246, 243, 239, 0.78)),
    var(--img-house) center / cover,
    var(--paper);
}

.section--white {
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    var(--img-remodel) center / cover,
    var(--white);
}

.section--dark {
  background:
    linear-gradient(135deg, rgba(17, 18, 20, 0.96), rgba(17, 18, 20, 0.9)),
    var(--img-tools) center / cover,
    var(--charcoal);
  color: var(--white);
}

.section--gold {
  background:
    linear-gradient(135deg, rgba(215, 165, 52, 0.94), rgba(215, 165, 52, 0.88)),
    var(--img-repair) center / cover,
    var(--gold);
}

.section__header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.52fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 40px;
}

.section__header h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}

.section__header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 58ch;
}

.section--dark .section__header p {
  color: rgba(255, 255, 255, 0.72);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 18, 20, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

@media (hover: hover) {
  .service-card:hover {
    border-color: rgba(215, 165, 52, 0.58);
    box-shadow: 0 24px 58px rgba(17, 18, 20, 0.14);
    transform: translateY(-7px);
  }
}

.service-card--featured {
  border-top: 6px solid var(--gold);
}

.service-card__image {
  min-height: 210px;
  background-position: center;
  background-size: cover;
}

.image-hvac {
  background-image: url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=900&q=82");
}

.image-handyman {
  background-image: url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=900&q=82");
}

.image-kitchen {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=900&q=82");
}

.image-roof {
  background-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=900&q=82");
}

.image-bath {
  background-image: url("https://images.unsplash.com/photo-1615873968403-89e068629265?auto=format&fit=crop&w=900&q=82");
}

.image-ready {
  background-image: url("https://images.unsplash.com/photo-1513467535987-fd81bc7d62f8?auto=format&fit=crop&w=900&q=82");
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.service-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.1;
  text-transform: uppercase;
  text-wrap: balance;
}

.service-card p {
  margin: 12px 0 16px;
  color: var(--muted);
}

.service-card ul,
.check-list,
.footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-card li,
.check-list li {
  position: relative;
  padding-left: 24px;
  margin-top: 8px;
  font-weight: 750;
}

.service-card li::before,
.check-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.service-card__link::after {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  content: ">";
  font-size: 1rem;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease;
}

.service-card__link:hover::after,
.service-card__link:focus-visible::after {
  background: var(--gold-light);
  transform: translateX(4px);
}

.split {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.split--wide {
  grid-template-columns: minmax(380px, 0.92fr) minmax(0, 1fr);
}

.display-title {
  margin: 0 0 22px;
  font-size: clamp(2.35rem, 4.8vw, 4.55rem);
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

.photo-stack {
  position: relative;
  min-height: 500px;
}

.photo-stack__main,
.photo-stack__small {
  position: absolute;
  overflow: hidden;
  border: 10px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-stack__main {
  inset: 0 10% 9% 0;
  background: url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1200&q=82") center / cover;
}

.photo-stack__small {
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1.08;
  background: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=900&q=82") center / cover;
}

.photo-stack__tag {
  position: absolute;
  left: 34px;
  bottom: 32px;
  z-index: 2;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.why-item {
  min-height: 210px;
  padding: 26px 20px;
  background: rgba(17, 18, 20, 0.94);
  transition: background 180ms ease, transform 180ms ease;
}

@media (hover: hover) {
  .why-item:hover {
    background: var(--charcoal-soft);
    transform: translateY(-4px);
  }
}

.why-item svg {
  width: 1.8rem;
  height: 1.8rem;
  color: var(--gold);
}

.mini-icon {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(215, 165, 52, 0.52);
  border-radius: 50%;
  background: rgba(215, 165, 52, 0.1);
}

.mini-icon::before {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.why-item h3 {
  margin: 24px 0 0;
  font-size: 1rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.why-item p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.why-grid--large .why-item {
  min-height: 280px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  position: relative;
  padding: 32px 28px;
  border-left: 6px solid var(--charcoal);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(17, 18, 20, 0.08);
  min-height: 100%;
}

.process-step strong {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--gold);
  font-weight: 950;
}

.process-step h3 {
  margin: 0;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.process-step p {
  margin: 12px 0 0;
  color: rgba(17, 18, 20, 0.78);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.42fr);
  gap: 34px;
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
}

.cta-band p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(246, 243, 239, 0.9)),
    var(--img-house) center / cover,
    var(--paper);
}

.contact-panel--form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.contact-info {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel--wow .contact-info,
.contact-form-card {
  padding: clamp(34px, 5vw, 58px);
}

.contact-form-card {
  display: flex;
  min-height: 660px;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.contact-info p {
  margin: 16px 0 26px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-list > a,
.contact-list > span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(17, 18, 20, 0.14);
  border-radius: var(--radius);
  background: #fbfaf8;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  outline: none;
  padding: 0 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  appearance: none;
}

.form-row select {
  background-image: linear-gradient(45deg, transparent 50%, var(--charcoal) 50%), linear-gradient(135deg, var(--charcoal) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 12px) 21px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 42px;
}

.form-row textarea {
  min-height: 132px;
  padding-top: 13px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(215, 165, 52, 0.16);
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
}

.contact-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-quick a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.86rem;
  font-weight: 850;
}

.contact-quick a span:last-child {
  overflow-wrap: anywhere;
}

.map-card {
  min-height: 440px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(17, 18, 20, 0.84), rgba(17, 18, 20, 0.22)),
    url("https://images.unsplash.com/photo-1570129477492-45c003edd2be?auto=format&fit=crop&w=1200&q=82") center / cover;
}

.map-card--tall {
  min-height: 660px;
}

.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 104px 0 72px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.96), rgba(17, 18, 20, 0.66), rgba(17, 18, 20, 0.26)),
    url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero::after {
  position: absolute;
  right: -120px;
  bottom: -42px;
  z-index: -1;
  width: 56%;
  height: 150px;
  background: var(--gold);
  content: "";
  transform: skewX(-18deg);
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.page-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-hero--services {
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.94), rgba(17, 18, 20, 0.62), rgba(17, 18, 20, 0.22)),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero--why {
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.95), rgba(17, 18, 20, 0.64), rgba(17, 18, 20, 0.24)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero--process {
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.94), rgba(17, 18, 20, 0.64), rgba(17, 18, 20, 0.26)),
    url("https://images.unsplash.com/photo-1513467535987-fd81bc7d62f8?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero--contact {
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.95), rgba(17, 18, 20, 0.66), rgba(17, 18, 20, 0.28)),
    url("https://images.unsplash.com/photo-1570129477492-45c003edd2be?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero--service {
  min-height: 560px;
}

.page-hero--hvac {
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.95), rgba(17, 18, 20, 0.62), rgba(17, 18, 20, 0.18)),
    url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero--home-care {
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.95), rgba(17, 18, 20, 0.64), rgba(17, 18, 20, 0.2)),
    var(--img-tools) center / cover;
}

.page-hero--roofing {
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.95), rgba(17, 18, 20, 0.62), rgba(17, 18, 20, 0.18)),
    var(--img-roof) center / cover;
}

.page-hero--kitchen {
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.94), rgba(17, 18, 20, 0.58), rgba(17, 18, 20, 0.16)),
    var(--img-remodel) center / cover;
}

.page-hero--bathroom {
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.95), rgba(17, 18, 20, 0.6), rgba(17, 18, 20, 0.16)),
    url("https://images.unsplash.com/photo-1615873968403-89e068629265?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero--property {
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.95), rgba(17, 18, 20, 0.62), rgba(17, 18, 20, 0.18)),
    var(--img-house) center / cover;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.section--cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.98), rgba(17, 18, 20, 0.88)),
    var(--img-roof) center / cover;
}

.section--cta::after {
  position: absolute;
  right: 8%;
  bottom: -42px;
  width: 210px;
  height: 210px;
  border: 24px solid rgba(215, 165, 52, 0.26);
  border-radius: 50%;
  content: "";
}

.cta-band--ink h2,
.cta-band--ink p {
  color: var(--charcoal);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-row > div,
.wow-panel {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  min-height: 100%;
}

.feature-row--dark > div {
  background: var(--charcoal-soft);
  color: var(--white);
  box-shadow: none;
}

.feature-row--dark p {
  color: rgba(255, 255, 255, 0.68);
}

.feature-row h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
}

.feature-row p {
  margin: 0;
  color: var(--muted);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 34px;
  align-items: stretch;
}

.service-detail__main,
.service-detail__aside {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-detail__main {
  padding: clamp(34px, 5vw, 58px);
}

.service-detail__main h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}

.service-detail__main p {
  max-width: 74ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin-top: 30px;
}

.service-detail__aside {
  display: flex;
  flex-direction: column;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(17, 18, 20, 0.96), rgba(17, 18, 20, 0.88)),
    var(--img-tools) center / cover;
  color: var(--white);
}

.service-detail__aside h3 {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.service-detail__aside ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.service-detail__aside li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.service-detail__aside li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.service-detail__aside .button {
  width: 100%;
  margin-top: auto;
}

.service-approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-approach > div {
  min-height: 220px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.service-approach strong {
  display: inline-flex;
  width: 2.65rem;
  height: 2.65rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 950;
}

.service-approach p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

.wow-panel {
  display: grid;
  place-items: center;
  min-height: 330px;
  background:
    linear-gradient(145deg, rgba(17, 18, 20, 0.94), rgba(17, 18, 20, 0.78)),
    var(--charcoal);
  color: var(--white);
  text-align: center;
}

.wow-panel strong {
  display: block;
  color: var(--gold);
  font-size: clamp(6rem, 12vw, 12rem);
  line-height: 0.78;
}

.wow-panel span {
  display: block;
  max-width: 260px;
  margin-top: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-glyph {
  display: inline-flex;
  width: 4.75rem;
  min-width: 4.75rem;
  height: 2.65rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.footer {
  background:
    linear-gradient(rgba(17, 18, 20, 0.96), rgba(17, 18, 20, 0.97)),
    var(--img-tools) center bottom / cover;
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 26px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) repeat(3, minmax(150px, 0.36fr));
  gap: 34px;
}

.footer img {
  width: 330px;
  max-width: 100%;
  filter: brightness(0) invert(1);
}

.footer h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
}

.footer li {
  margin-top: 9px;
}

.footer a {
  transition: color 160ms ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--gold-light);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .topbar__note {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    min-height: 76px;
    padding: 12px 0;
    gap: 14px;
  }

  .brand {
    min-width: 0;
  }

  .nav__links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding: 8px 0 2px;
    scrollbar-width: none;
  }

  .nav__links::-webkit-scrollbar {
    display: none;
  }

  .nav__menu,
  .nav__links {
    justify-content: flex-start;
    gap: 18px;
    white-space: nowrap;
  }

  .nav__links a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero__content {
    padding-bottom: 0;
  }

  .hero__grid,
  .section__header,
  .split,
  .cta-band,
  .contact-panel,
  .contact-panel--form,
  .service-detail,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__badge {
    margin: 0 0 34px;
    transform: none;
  }

  .hero__stats {
    max-width: none;
  }

  .service-grid,
  .why-grid,
  .process,
  .feature-row,
  .service-approach {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-hero {
    min-height: 430px;
    padding: 86px 0 58px;
  }

  .contact-form-card,
  .map-card--tall {
    min-height: 560px;
  }

  .service-detail__aside {
    min-height: 420px;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .topbar .container {
    justify-content: center;
  }

  .topbar__links {
    justify-content: center;
    gap: 12px;
    font-size: 0.78rem;
  }

  .site-header .button {
    width: auto;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .brand img {
    width: min(235px, 64vw);
  }

  .hero {
    padding-top: 52px;
    padding-bottom: 52px;
    background:
      linear-gradient(180deg, rgba(17, 18, 20, 0.94) 0%, rgba(17, 18, 20, 0.76) 70%, rgba(17, 18, 20, 0.5) 100%),
      url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1100&q=82") center / cover;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
    line-height: 0.94;
  }

  .hero::after,
  .page-hero::after {
    display: none;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
  }

  .hero__badge {
    margin-bottom: 0;
    padding: 24px;
  }

  .hero__stats {
    margin-top: 30px;
    border-radius: var(--radius);
  }

  .hero__stats,
  .service-grid,
  .why-grid,
  .process,
  .feature-row,
  .service-detail-list,
  .service-approach {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .photo-stack {
    min-height: 330px;
  }

  .photo-stack__main,
  .photo-stack__small {
    border-width: 8px;
  }

  .photo-stack__small {
    width: 52%;
  }

  .page-hero {
    min-height: 360px;
    padding: 70px 0 48px;
  }

  .page-hero h1,
  .display-title,
  .section__header h2,
  .cta-band h2 {
    font-size: clamp(2.05rem, 11vw, 3.2rem);
    line-height: 0.96;
  }

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

  .service-card__body,
  .process-step,
  .feature-row > div,
  .service-detail__main,
  .service-detail__aside,
  .service-approach > div,
  .contact-info {
    padding: 22px;
  }

  .service-detail__aside {
    min-height: 0;
  }

  .service-approach > div {
    min-height: auto;
  }

  .service-card__image {
    min-height: 190px;
  }

  .contact-panel {
    gap: 18px;
  }

  .why-item {
    min-height: auto;
  }

  .contact-list > a,
  .contact-list > span {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid,
  .contact-quick {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    min-height: auto;
  }

  .contact-glyph {
    width: auto;
    min-width: 4.3rem;
    height: 2.35rem;
    padding: 0 12px;
  }

  .map-card,
  .map-card--tall {
    min-height: 340px;
  }

  .footer img {
    width: 250px;
  }

  .footer {
    padding-top: 52px;
  }
}
