:root {
  --ink: #1f2423;
  --muted: #59625f;
  --line: #dce4df;
  --bg: #f7faf8;
  --surface: #ffffff;
  --accent: #0f7a5a;
  --accent-dark: #0a5f46;
  --soft: #e7f2ec;
  --focus: #b45309;
  --shadow: 0 14px 34px rgba(22, 31, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
li,
summary {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: 3.45rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.08rem;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  border-radius: 8px;
  background: var(--surface);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
}

.nav,
.footer-links,
.inline-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 800;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-light {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #121816;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 20, 18, 0.88), rgba(14, 20, 18, 0.62), rgba(14, 20, 18, 0.24));
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04) translateX(2%);
  animation: heroSlide 18s infinite;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

@keyframes heroSlide {
  0% {
    opacity: 0;
    transform: scale(1.04) translateX(2%);
  }

  8%,
  30% {
    opacity: 1;
    transform: scale(1.08) translateX(0);
  }

  38%,
  100% {
    opacity: 0;
    transform: scale(1.1) translateX(-2%);
  }
}

.hero.compact {
  color: var(--ink);
  background: linear-gradient(180deg, var(--soft), var(--bg));
}

.hero.compact::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4rem;
}

.hero.compact .hero-inner {
  padding: 3.4rem 0 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: #bde7d4;
}

.hero.compact .eyebrow {
  color: var(--accent-dark);
}

.hero-text {
  max-width: 700px;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

.hero.compact .hero-text {
  color: var(--muted);
}

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

.hero-facts,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.65rem 0.8rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero.compact .hero-facts li,
.tag-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 0.55rem 0.7rem;
}

.section {
  padding: 3.4rem 0;
}

.section-white {
  background: var(--surface);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lead {
  max-width: 720px;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

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

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.step,
.contact-box,
.work-item,
.legal-box,
.price-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card,
.price-card,
.legal-box,
.faq-item {
  padding: 1.15rem;
}

.card p,
.step p,
.price-card p,
.legal-box p,
.contact-box p,
.faq-item p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.card a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent-dark);
  font-weight: 800;
}

.step {
  border-left: 4px solid var(--accent);
  background: var(--soft);
  padding: 1rem;
}

.step span {
  display: inline-flex;
  margin-bottom: 0.6rem;
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

.work-item {
  overflow: hidden;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.before-after figure {
  position: relative;
  margin: 0;
  min-height: 220px;
  background: #e6ece8;
}

.before-after img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.label {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  border-radius: 8px;
  background: rgba(31, 36, 35, 0.84);
  color: #fff;
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.work-caption,
.contact-box {
  padding: 1rem;
}

.work-caption h3 {
  margin-bottom: 0.25rem;
}

.work-caption p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-box {
  box-shadow: var(--shadow);
}

.contact-kicker {
  margin-bottom: 0.45rem;
  color: var(--accent-dark);
}

.contact-links {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.price-card strong {
  display: block;
  margin-top: 0.75rem;
  color: var(--accent-dark);
}

.plain-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.plain-list li + li {
  margin-top: 0.45rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.fineprint {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer a {
  color: #fff;
}

@media (max-width: 900px) {
  .topbar,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1;
  }

  .grid-2,
  .grid-3,
  .split,
  .form-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-inner {
    padding: 3.2rem 0 3rem;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 24px, 1120px);
  }

  .nav {
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background: linear-gradient(rgba(14, 20, 18, 0.82), rgba(14, 20, 18, 0.74));
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-head {
    display: block;
  }

  .section {
    padding: 2.4rem 0;
  }

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

  .before-after figure,
  .before-after img {
    min-height: 190px;
  }
}

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

  .hero-slide {
    animation: none;
  }

  .hero-slide:first-child {
    opacity: 1;
    transform: none;
  }
}
