:root {
  --green: #06c51a;
  --green-dark: #048b14;
  --green-soft: rgba(6, 197, 26, 0.16);
  --ink: #0a0c0f;
  --charcoal: #11151a;
  --panel: #151a20;
  --muted: #aab3bd;
  --line: rgba(255, 255, 255, 0.14);
  --soft: #0e120f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(6, 197, 26, 0.24), transparent 30rem),
    radial-gradient(circle at 80% 10%, rgba(6, 197, 26, 0.12), transparent 24rem),
    linear-gradient(180deg, #050607 0%, #0c1012 45%, #050607 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 7, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem;
  border-radius: 0.9rem;
  background: var(--white);
  width: min(8rem, 34vw);
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover,
.header-cta:hover,
.site-footer a:hover {
  color: var(--green);
}

.header-cta {
  color: var(--white);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem);
}

.hero-copy,
.section-heading,
.why-card,
.cta-section > div {
  max-width: 44rem;
}

.eyebrow,
.form-label {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 38rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.cta-section {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.35rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 16px 34px rgba(6, 197, 26, 0.28);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(6, 197, 26, 0.56);
  background: rgba(6, 197, 26, 0.08);
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.trust-bar span {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  font-weight: 800;
}

.lead-card {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(6, 197, 26, 0.35);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(6, 197, 26, 0.12), rgba(6, 197, 26, 0.03)),
    var(--panel);
  box-shadow: var(--shadow);
}

.lead-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.42rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  color: var(--white);
  font: inherit;
  background: rgba(5, 6, 7, 0.78);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(6, 197, 26, 0.18);
  border-color: var(--green);
}

textarea {
  resize: vertical;
}

::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.form-button {
  width: 100%;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  text-align: center;
}

.services-section,
.why-section,
.cta-section,
.page-hero,
.content-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 2rem);
}

.page-hero {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 42rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.content-section {
  padding-top: 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 19rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--charcoal);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
}

.blog-grid,
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.blog-card,
.result-card {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--charcoal);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.blog-card {
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem;
}

.blog-card h2,
.result-card h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.blog-card a {
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
}

.post-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(6, 197, 26, 0.42);
  border-radius: 999px;
  color: var(--green);
  background: rgba(6, 197, 26, 0.08);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.comparison-image {
  position: relative;
  min-height: 14rem;
  margin: 0;
  background: #080a0c;
}

.comparison-image img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
}

.comparison-image figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  color: var(--white);
  background: rgba(5, 6, 7, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-image.after figcaption {
  color: var(--ink);
  background: var(--green);
}

.image-placeholder {
  display: grid;
  min-height: 14rem;
  place-items: center;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #080a0c;
  font-weight: 900;
  text-align: center;
}

.image-placeholder.after {
  color: var(--green);
  background:
    linear-gradient(135deg, rgba(6, 197, 26, 0.22), rgba(6, 197, 26, 0.05)),
    #080a0c;
}

.result-copy {
  padding: 1.4rem;
}

.result-copy code {
  color: rgba(255, 255, 255, 0.88);
}

.result-empty {
  grid-column: 1 / -1;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 2rem;
  border-radius: 50%;
  color: var(--ink);
  background: var(--green);
  font-weight: 900;
}

.why-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(1.4rem, 5vw, 4rem);
  align-items: center;
}

.why-card {
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: 2rem;
  color: var(--white);
  background:
    linear-gradient(rgba(5, 6, 7, 0.82), rgba(5, 6, 7, 0.9)),
    url("td-home-servicing.png") center / cover;
}

.why-card p,
.why-card .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.why-card h2 {
  color: var(--white);
}

.proof-list {
  display: grid;
  gap: 1rem;
}

.proof-list div {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--panel);
}

.proof-list strong {
  font-size: 1.05rem;
}

.proof-list span {
  color: var(--muted);
  line-height: 1.6;
}

.cta-section {
  justify-content: space-between;
  padding-top: 2rem;
}

.cta-section > div {
  max-width: 42rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #050607;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 900;
}

@media (max-width: 920px) {
  .hero,
  .why-section {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .blog-grid,
  .before-after-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lead-card {
    scroll-margin-top: 7rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .brand {
    width: 13rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-actions .button,
  .cta-section .button {
    width: 100%;
  }

  .service-grid,
  .blog-grid,
  .before-after-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
