:root {
  --ink: #14171a;
  --ink-soft: #4a5260;
  --yellow: #ffc21a;
  --surface: #f4f5f6;
  --line: #dfe2e6;
  --white: #ffffff;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 0.5rem;
  --section-space: clamp(3rem, 8vw, 5.5rem);
  --container-width: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html {
  scroll-padding-top: 1rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

h1,
h2,
h3,
p,
dl,
dd,
ol {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2.5rem, var(--container-width));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: rgba(20, 23, 26, 0.08);
}

.btn--solid {
  background: var(--ink);
  color: var(--white);
}

.btn--solid:hover {
  background: #000;
}

.btn--block {
  width: 100%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.site-header__brand {
  font-weight: 800;
  text-decoration: none;
}

.site-header__phone {
  display: none;
  font-weight: 700;
  text-decoration: none;
}

.site-header__phone:hover {
  text-decoration: underline;
}

.hero {
  padding-block: clamp(3rem, 9vw, 6rem);
  background: var(--yellow);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero__visual {
  position: relative;
  margin: 0;
  width: min(100%, 34rem);
  justify-self: center;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: auto 0 -9% 3%;
  height: 28%;
  background: radial-gradient(
    ellipse at center,
    rgba(40, 24, 0, 0.9) 0%,
    rgba(40, 24, 0, 0.55) 45%,
    transparent 76%
  );
  filter: blur(10px);
}

.hero__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 16px rgba(40, 24, 0, 0.42));
}

.hero__title {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 7.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero__lead {
  max-width: 34rem;
  font-size: 1.125rem;
}

.hero__call-label {
  margin-top: 2rem;
  font-weight: 600;
}

.hero__phone {
  display: inline-block;
  font-size: clamp(2.25rem, 9vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 4px solid var(--ink);
}

.section {
  padding-block: var(--section-space);
}

.section--tint {
  background: var(--surface);
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section__intro {
  max-width: 36rem;
  margin-top: 0.75rem;
  color: var(--ink-soft);
}

.services {
  display: grid;
  column-gap: 3rem;
  margin-top: 2.5rem;
}

.service {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.service__title {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.service p {
  color: var(--ink-soft);
}

.steps {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step__title {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.step__title::before {
  content: counter(step) ". ";
}

.step p {
  color: var(--ink-soft);
}

.notice {
  margin-top: 3rem;
  padding: 1.5rem;
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--white);
}

.notice__title {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.notice__emergency {
  margin-top: 0.75rem;
}

.contact {
  display: grid;
  gap: 2.5rem;
}

.details {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.details dt {
  font-weight: 700;
}

.details dd a {
  display: inline-block;
  padding-block: 0.15rem;
}

.form {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form__grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem;
  border: 1px solid #aeb4bd;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  resize: vertical;
}

.form__help {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.site-footer {
  padding-block: 1.5rem calc(6rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.call-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.call-bar .btn {
  flex: 1;
  padding-inline: 0.5rem;
}

@media (min-width: 40rem) {
  .form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 48rem) {
  .site-header__phone {
    display: inline;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
  }

  .hero__visual {
    justify-self: end;
    width: 125%;
    margin-right: -4rem;
  }

  .services {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .contact {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }

  .form {
    padding: 2rem;
  }

  .site-footer {
    padding-block: 1.5rem;
  }

  .call-bar {
    display: none;
  }
}