.service-page {
  background: var(--paper);
}

.service-hero {
  position: relative;
  min-height: 650px;
  padding: 175px max(40px, calc((100% - 1260px) / 2)) 90px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(6, 24, 19, 0.98), rgba(7, 26, 21, 0.88) 56%, rgba(7, 26, 21, 0.7)),
    url("/assets/tampa-handyman-hero-v2.webp") center / cover;
}

.service-hero::after {
  position: absolute;
  right: -150px;
  bottom: -330px;
  width: 700px;
  height: 700px;
  content: "";
  opacity: 0.2;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--gold);
}

.service-hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.service-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 6.8vw, 94px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.service-hero h1 em {
  display: block;
  color: var(--gold);
  font-weight: 400;
}

.service-hero-copy {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.7;
}

.service-hero .hero-reassurance {
  margin-top: 15px;
}

.service-page-section {
  padding-block: 105px;
}

.service-overview {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 95px;
}

.service-overview h2,
.service-details h2,
.service-faq h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(43px, 5vw, 68px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

.service-overview h2 em,
.service-details h2 em,
.service-faq h2 em {
  color: var(--rust);
  font-weight: 400;
}

.service-overview-copy > p {
  margin: 0 0 35px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.included-item {
  min-height: 105px;
  padding: 23px;
  background: white;
}

.included-item svg {
  width: 19px;
  margin-bottom: 13px;
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.included-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.service-details {
  color: white;
  background: var(--ink);
}

.service-details-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding-block: 105px;
  background: rgba(255, 255, 255, 0.13);
}

.detail-panel {
  padding: 55px;
  background: var(--ink);
}

.detail-panel:first-child {
  background: #16342b;
}

.detail-panel h2 {
  margin-bottom: 35px;
  font-size: clamp(38px, 4vw, 58px);
}

.detail-panel h2 em {
  color: var(--gold);
}

.detail-panel > p {
  color: rgba(255, 255, 255, 0.58);
}

.detail-list {
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding: 13px 0 13px 28px;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.detail-list li::before {
  position: absolute;
  top: 20px;
  left: 3px;
  width: 8px;
  height: 8px;
  content: "";
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.detail-note {
  margin-top: 30px;
  padding: 19px 21px;
  color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.05);
  border-left: 2px solid var(--gold);
  font-size: 11px;
}

.service-faq {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 90px;
  padding-block: 105px 120px;
}

.service-faq .faq-list {
  align-self: start;
}

.related-services {
  padding-block: 28px;
  color: white;
  background: #071712;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.related-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.related-inner > span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.related-inner a {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 15px;
}

@media (max-width: 780px) {
  .service-hero {
    min-height: 650px;
    padding: 135px 20px 70px;
  }

  .service-hero h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .service-hero-copy {
    font-size: 14px;
  }

  .service-page-section {
    padding-block: 78px;
  }

  .service-overview,
  .service-details-inner,
  .service-faq {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .included-grid {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    padding: 42px 25px;
  }

  .service-faq {
    padding-block: 78px 90px;
  }
}

/* Service-page extensions for the shared retro command-center theme. */
.service-page {
  color: var(--white);
  background: var(--paper);
}

.service-hero {
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(3, 2, 13, 0.98), rgba(10, 5, 31, 0.88) 58%, rgba(42, 6, 55, 0.6)),
    url("/assets/tampa-handyman-hero-v2.webp") center / cover;
  border-bottom: 1px solid var(--cyan);
}

.service-hero::before {
  position: absolute;
  z-index: 0;
  right: -8%;
  bottom: -28%;
  left: -8%;
  height: 50%;
  content: "";
  opacity: 0.4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 59, 212, 0.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 242, 255, 0.75) 1px, transparent 1px);
  background-size: 52px 32px;
  transform: perspective(250px) rotateX(58deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to bottom, transparent, #000 45%);
}

.service-hero::after {
  right: -130px;
  bottom: -320px;
  border-color: var(--magenta);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 59, 212, 0.28);
}

.breadcrumbs {
  color: #aaa4bc;
  font-family: var(--mono);
}

.breadcrumbs a,
.service-hero h1 em {
  color: var(--magenta);
  text-shadow: 0 0 12px rgba(255, 59, 212, 0.5);
}

.service-hero h1,
.service-overview h2,
.service-details h2,
.service-faq h2 {
  font-style: italic;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow:
    3px 3px 0 rgba(137, 102, 255, 0.35),
    0 0 22px rgba(53, 242, 255, 0.17);
}

.service-hero-copy {
  color: #d1cce0;
}

.service-overview h2 em,
.service-details h2 em,
.service-faq h2 em {
  color: var(--magenta);
  text-shadow: 0 0 15px rgba(255, 59, 212, 0.36);
}

.service-overview-copy > p {
  color: var(--muted);
}

.included-grid {
  gap: 9px;
  background: transparent;
  border: 0;
}

.included-item {
  min-height: 112px;
  color: var(--white);
  background: var(--panel);
  border: 1px solid rgba(53, 242, 255, 0.28);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.included-item svg {
  stroke: var(--acid);
  filter: drop-shadow(0 0 5px rgba(202, 255, 61, 0.48));
}

.service-details {
  background:
    linear-gradient(rgba(9, 6, 31, 0.96), rgba(9, 6, 31, 0.96)),
    linear-gradient(rgba(53, 242, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 242, 255, 0.07) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
}

.service-details-inner {
  gap: 12px;
  background: transparent;
}

.detail-panel,
.detail-panel:first-child {
  background: var(--panel);
  border: 1px solid rgba(137, 102, 255, 0.38);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.detail-panel:first-child {
  background:
    linear-gradient(135deg, rgba(255, 59, 212, 0.08), transparent 44%),
    var(--panel-raised);
  border-color: rgba(255, 59, 212, 0.38);
}

.detail-panel > p,
.detail-list li,
.detail-note {
  color: #c5bfd8;
}

.detail-list li {
  border-color: rgba(53, 242, 255, 0.18);
  font-family: var(--mono);
}

.detail-list li::before {
  border-color: var(--acid);
  border-radius: 0;
  box-shadow: 0 0 7px rgba(202, 255, 61, 0.5);
}

.detail-note {
  background: rgba(53, 242, 255, 0.05);
  border-color: var(--cyan);
  font-family: var(--mono);
}

.related-services {
  background: var(--ink-deep);
  border-color: rgba(53, 242, 255, 0.22);
}

.related-inner > span {
  color: #aaa4bc;
  font-family: var(--mono);
}

.related-inner a {
  color: var(--cyan);
  font-family: var(--mono);
  text-shadow: 0 0 8px rgba(53, 242, 255, 0.36);
}
