:root {
  --background: #F9F9FA;
  --navy: #1A2E40;
  --ink: #222222;
  --amber: #D97706;
}

* {
  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;
}

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

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

h1,
h2,
h3 {
  color: var(--navy);
  font-family: Arial, sans-serif;
  line-height: 1.16;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

h3 {
  margin-bottom: 9px;
  font-size: 1.1rem;
}

a {
  color: var(--navy);
}

a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  z-index: 100;
  top: -80px;
  left: 16px;
  padding: 10px 14px;
  border: 2px solid var(--navy);
  background: var(--background);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

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

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  min-width: 190px;
  color: var(--background);
  text-decoration: none;
  line-height: 1.05;
}

.brand-main,
.brand-sub {
  display: block;
}

.brand-main {
  font-size: 1.2rem;
  font-weight: 800;
}

.brand-sub {
  margin-top: 5px;
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.main-nav a {
  color: var(--background);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover,
.text-link:hover,
.back-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 2px solid var(--navy);
  border-radius: 2px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button-amber {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

.button-navy {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--background);
}

.button:hover {
  border-color: var(--ink);
}

.response-banner {
  padding-bottom: 46px;
}

.top-bar {
  display: flex;
  min-height: 98px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 22px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  border-left: 2px solid var(--navy);
  background: var(--amber);
}

.response-badge {
  display: inline-block;
  padding: 4px 8px;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-area {
  margin: 8px 0 0;
  font-weight: 700;
}

.phone-panel {
  text-align: right;
}

.phone-panel span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.phone-panel a {
  display: block;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.banner-box {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(270px, 0.78fr);
  gap: 28px;
  margin-top: 30px;
  padding: 28px;
  border: 2px solid var(--navy);
  background: var(--background);
}

.eyebrow,
.panel-label {
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.banner-copy > p:not(.eyebrow) {
  max-width: 620px;
}

.banner-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.text-link,
.back-link {
  font-weight: 800;
  text-underline-offset: 4px;
}

.trust-list,
.check-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li,
.check-list li {
  position: relative;
  padding-left: 27px;
  font-weight: 700;
}

.trust-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--navy);
  content: "✓";
  font-weight: 900;
}

.work-photo {
  align-self: start;
  margin-bottom: 0;
  border: 2px solid var(--navy);
}

.work-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-photo figcaption {
  padding: 11px 12px;
  border-top: 2px solid var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
}

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

.prices-section {
  border-top: 2px solid var(--navy);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 27px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.price-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 19px 21px;
  border: 2px solid var(--navy);
}

.price-strip strong,
.price-strip span {
  display: block;
}

.price-strip span {
  margin-top: 4px;
}

.price {
  flex: 0 0 auto;
  padding-left: 20px;
  border-left: 2px solid var(--navy);
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 900;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--navy);
  border-top-width: 5px;
}

.service-card p {
  margin-bottom: 0;
}

.price-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 2px solid var(--navy);
}

.price-footer p {
  margin-bottom: 0;
  font-weight: 700;
}

.page-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--navy);
}

.topline-phone {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 2px solid var(--navy);
}

.step-card {
  min-height: 220px;
  padding: 24px;
}

.step-card + .step-card {
  border-left: 2px solid var(--navy);
}

.step-label {
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px 9px;
  background: var(--navy);
  color: var(--background);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.step-card p {
  margin-bottom: 0;
}

.compact-hero {
  padding: 18px 0 52px;
}

.hero-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px;
  border: 2px solid var(--navy);
  border-left: 10px solid var(--amber);
}

.hero-panel p:last-child {
  max-width: 650px;
  margin-bottom: 0;
}

.hero-panel .button {
  flex: 0 0 auto;
}

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

.guarantee-panel {
  padding: 28px;
  border: 3px solid var(--navy);
}

.guarantee-panel > p:not(.panel-label) {
  max-width: 790px;
}

.guarantee-note {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--navy);
  font-weight: 700;
}

.contact-section {
  border-top: 10px solid var(--amber);
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  border: 2px solid var(--navy);
}

.contact-main,
.contact-aside {
  padding: 28px;
}

.contact-aside {
  border-left: 2px solid var(--navy);
  background: var(--navy);
  color: var(--background);
}

.contact-aside h3,
.contact-aside a {
  color: var(--background);
}

.contact-list {
  margin-bottom: 25px;
}

.contact-list > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--navy);
}

.contact-list dt {
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list dd {
  margin-bottom: 0;
  font-weight: 700;
}

.contact-list dd a {
  font-size: 1.25rem;
  font-weight: 900;
  text-decoration: none;
}

address {
  font-style: normal;
}

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

.privacy-panel h2 {
  font-size: 1.25rem;
}

.privacy-panel p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 18px 0;
  border-top: 2px solid var(--navy);
  font-size: 0.88rem;
}

.site-footer p {
  margin-bottom: 0;
  font-weight: 700;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}

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

@media (max-width: 780px) {
  .header-inner {
    flex-wrap: wrap;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand {
    flex: 1;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 13px;
    border-top: 1px solid var(--background);
  }

  .banner-box,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .work-photo {
    max-width: 520px;
  }

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

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

  .step-card + .step-card {
    border-top: 2px solid var(--navy);
    border-left: 0;
  }

  .contact-aside {
    border-top: 2px solid var(--navy);
    border-left: 0;
  }
}

@media (max-width: 580px) {
  body {
    font-size: 15px;
  }

  .header-call {
    padding-right: 11px;
    padding-left: 11px;
  }

  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .top-bar,
  .price-strip,
  .price-footer,
  .hero-panel,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .phone-panel {
    padding-top: 14px;
    border-top: 2px solid var(--navy);
    text-align: left;
  }

  .banner-box,
  .guarantee-panel,
  .hero-panel,
  .contact-main,
  .contact-aside {
    padding: 21px;
  }

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

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

  .price {
    padding-top: 13px;
    padding-left: 0;
    border-top: 2px solid var(--navy);
    border-left: 0;
  }

  .price-footer .button,
  .hero-panel .button {
    width: 100%;
  }

  .page-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer div {
    gap: 12px;
  }
}
