:root {
  --background: #F7F8F9;
  --slate: #2D3748;
  --ink: #1A202C;
  --emerald: #059669;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
.wordmark,
button {
  font-family: "Trebuchet MS", sans-serif;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.18;
}

.top-bar {
  background: var(--slate);
  border-bottom: 2px solid var(--emerald);
  color: var(--background);
}

.top-bar__inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
}

.phone-badge {
  background: var(--emerald);
  border: 1px solid var(--emerald);
  border-radius: 999px;
  color: var(--background);
  font-weight: 700;
  padding: 5px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.main-header {
  background: var(--background);
  border-bottom: 2px solid var(--slate);
}

.header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.wordmark {
  color: var(--slate);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.4px;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 17px;
}

.main-nav a,
.privacy-link {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.privacy-link:hover,
.privacy-link:focus-visible {
  color: var(--emerald);
}

.header-call,
.primary-call {
  display: inline-block;
  background: var(--emerald);
  border: 2px solid var(--emerald);
  color: var(--background);
  font-family: "Trebuchet MS", sans-serif;
  font-weight: 700;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
}

.header-call:hover,
.header-call:focus-visible,
.primary-call:hover,
.primary-call:focus-visible {
  background: var(--slate);
  border-color: var(--slate);
}

.menu-toggle {
  display: none;
  background: var(--background);
  border: 1px solid var(--slate);
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  padding: 7px 10px;
}

.guarantee-section,
.hero-section,
.steps-section,
.prices-section,
.contact-section {
  padding: 42px 0;
}

.guarantee-section {
  padding-bottom: 0;
}

.guarantee-panel {
  border: 2px solid var(--emerald);
  padding: 25px;
}

.guarantee-panel h2,
.section-heading h2,
.contact-box h2 {
  margin-bottom: 10px;
  font-size: 27px;
}

.guarantee-panel p {
  margin-bottom: 16px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  margin: 8px 0;
  padding-left: 25px;
  position: relative;
}

.check-list li::before {
  color: var(--emerald);
  content: "✓";
  font-weight: 700;
  left: 0;
  position: absolute;
}

.hero-panel {
  border: 2px solid var(--slate);
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.hero-copy {
  padding: 34px;
}

.eyebrow {
  color: var(--emerald);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: 38px;
  margin-bottom: 18px;
  max-width: 650px;
}

.hero-lead {
  font-size: 18px;
  margin-bottom: 11px;
  max-width: 630px;
}

.hero-copy .primary-call {
  margin-top: 12px;
}

.hero-checks {
  background: var(--slate);
  border-left: 2px solid var(--slate);
  color: var(--background);
  padding: 34px 28px;
}

.hero-checks h2 {
  color: var(--background);
  font-size: 23px;
  margin-bottom: 18px;
}

.section-heading {
  border-left: 5px solid var(--emerald);
  margin-bottom: 23px;
  padding-left: 14px;
}

.section-heading .eyebrow {
  margin-bottom: 5px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.steps-list {
  counter-reset: procedure;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps-list li {
  border: 1px solid var(--slate);
  counter-increment: procedure;
  padding: 22px;
}

.steps-list li::before {
  color: var(--emerald);
  content: counter(procedure);
  display: block;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.step-label {
  display: block;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.steps-list p {
  margin-bottom: 0;
}

.response-banner {
  background: var(--slate);
  border-bottom: 2px solid var(--emerald);
  border-top: 2px solid var(--emerald);
  color: var(--background);
  padding: 28px 0;
}

.response-banner__inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.response-banner .eyebrow {
  margin-bottom: 5px;
}

.response-banner h2 {
  color: var(--background);
  font-size: 29px;
  margin-bottom: 7px;
}

.response-banner p:not(.eyebrow) {
  margin-bottom: 0;
}

.response-phone {
  background: var(--emerald);
  border: 2px solid var(--emerald);
  border-radius: 999px;
  color: var(--background);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 21px;
  font-weight: 700;
  padding: 11px 18px;
  text-decoration: none;
  white-space: nowrap;
}

.response-phone:hover,
.response-phone:focus-visible {
  background: var(--background);
  color: var(--ink);
}

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

.service-card {
  border: 1px solid var(--slate);
  display: flex;
  flex-direction: column;
}

.service-card img {
  border-bottom: 1px solid var(--slate);
  display: block;
  height: 165px;
  object-fit: cover;
  width: 100%;
}

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

.service-card h3 {
  font-size: 21px;
  margin-bottom: 11px;
}

.service-card p {
  margin-bottom: 14px;
}

.price,
.service-note {
  border-top: 1px solid var(--slate);
  color: var(--emerald);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: auto 0 0;
  padding-top: 12px;
}

.service-note {
  font-size: 16px;
}

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

.contact-box {
  border: 2px solid var(--slate);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 28px;
}

.contact-detail {
  margin-bottom: 8px;
}

.contact-detail a {
  color: var(--emerald);
  font-weight: 700;
}

.contact-actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
}

.privacy-panel {
  border-top: 1px solid var(--slate);
  margin-top: 28px;
  padding-top: 22px;
}

.privacy-panel h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.privacy-panel p {
  margin-bottom: 7px;
}

@media (max-width: 760px) {
  .header__inner {
    flex-wrap: wrap;
    gap: 13px;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .wordmark {
    margin-right: auto;
  }

  .menu-toggle {
    display: block;
  }

  .header-call {
    display: none;
  }

  .main-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    order: 4;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    border-top: 1px solid var(--slate);
    padding: 9px 0;
    text-decoration: none;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-checks {
    border-left: 0;
    border-top: 2px solid var(--slate);
  }

  .steps-list,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .response-banner__inner,
  .contact-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .top-bar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .hero-copy,
  .hero-checks,
  .guarantee-panel,
  .contact-box {
    padding: 22px;
  }

  .hero-copy h1 {
    font-size: 31px;
  }

  .response-phone {
    font-size: 18px;
  }
}
