:root {
  color-scheme: dark;
  --bg: #141416;
  --paper: #f3f2ef;
  --ink: #141416;
  --text: #f5f5f4;
  --muted: #c8cdd3;
  --red: #c5162a;
  --red-dark: #9d0e1e;
  --line: #2e333a;
  --paper-line: #9aa0a6;
  --focus: #c5162a;
  --measure: 38rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 4px solid var(--red);
}

.wrap {
  width: min(100% - 2.5rem, 42rem);
  margin-inline: auto;
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: var(--ink);
}

.brand img {
  height: 40px;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  text-decoration-color: var(--paper-line);
}

nav a:hover {
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}

main {
  padding-block: 2.75rem 4.25rem;
}

main:focus {
  outline: none;
}

section {
  scroll-margin-top: 1.25rem;
}

section + section {
  margin-top: 3.75rem;
}

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

h1 {
  max-width: 16em;
  font-size: clamp(2.05rem, 1.15rem + 3vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lede {
  max-width: var(--measure);
  margin-top: 1.1rem;
  font-size: 1.2rem;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--red);
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.button-secondary {
  gap: 0.35rem;
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}

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

h2 {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 3px;
  margin-bottom: 0.7rem;
  background: var(--red);
}

.service-list {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.service-list li {
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}

.service-list h3 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
}

.service-list p {
  max-width: var(--measure);
  margin-top: 0.3rem;
  color: var(--muted);
}

.about p + p,
.contact > p,
.rate > p {
  max-width: var(--measure);
  margin-top: 0.85rem;
}

.about p,
.contact > p,
.rate > p:last-child {
  color: var(--text);
}

.price {
  margin-top: 0.85rem;
  font-size: clamp(3.1rem, 2rem + 4vw, 4.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.price .unit {
  margin-left: 0.08em;
  color: var(--muted);
  font-size: 0.38em;
  font-weight: 600;
  letter-spacing: 0;
}

address {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.1rem;
  font-style: normal;
}

address a {
  width: fit-content;
  max-width: 100%;
  padding-block: 0.3rem;
  color: var(--text);
  font-size: clamp(1rem, 0.55rem + 2.4vw, 1.25rem);
  font-weight: 700;
  text-underline-offset: 0.16em;
}

.place {
  margin-top: 0.2rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem 2.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.site-footer p + p {
  margin-top: 0.4rem;
}

.site-footer a {
  color: var(--text);
  text-underline-offset: 0.16em;
}

::selection {
  background: var(--red);
  color: #fff;
}

@media (max-width: 36rem) {
  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button-secondary {
    flex-direction: column;
    gap: 0.12rem;
  }

  .button-secondary .address {
    font-size: 0.92rem;
    font-weight: 600;
  }
}

@media (min-width: 48rem) {
  .wrap {
    width: min(100% - 4rem, 42rem);
  }

  .brand img {
    height: 46px;
  }

  main {
    padding-block: 4.25rem 5rem;
  }
}

@media (forced-colors: active) {
  .button {
    border: 2px solid ButtonText;
  }

  .site-header,
  h2::before {
    border-color: ButtonText;
  }
}
