:root {
  color-scheme: dark;
  --ink: #101311;
  --ink-soft: #1b201d;
  --surface: #252b27;
  --surface-hover: #2b332d;
  --white: #f7f8f4;
  --yellow: #ffdf00;
  --yellow-hover: #ffe943;
  --muted-light: #c5cdc4;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

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

.container {
  width: min(100% - 2.5rem, 1200px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: -5rem;
  left: 1.25rem;
  padding: 0.7rem 1rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}

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

.site-header,
.hero,
.site-footer {
  background: var(--ink);
  color: var(--white);
}

.site-header {
  border-bottom: 1px solid #343835;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  flex: none;
  width: clamp(4.25rem, 8vw, 5.25rem);
  border-radius: 50%;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  letter-spacing: 0.11em;
}

.brand-copy span {
  margin-top: 0.25rem;
  color: var(--muted-light);
  font-size: 0.73rem;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 5vw, 2.5rem);
}

.theme-toggle {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #5b655b;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--yellow);
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--yellow);
  background: #252b27;
}

.theme-toggle:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.theme-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-icon-moon,
html[data-theme="light"] .theme-icon-sun {
  display: none;
}

html[data-theme="light"] .theme-icon-moon {
  display: block;
}

.site-nav a,
.site-footer a {
  padding-block: 0.35rem;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration-color: transparent;
  text-underline-offset: 0.35em;
}

.site-nav a:hover,
.site-footer a:hover {
  text-decoration-color: var(--yellow);
}

.hero {
  background: linear-gradient(180deg, var(--ink) 0%, #151916 72%, var(--ink-soft) 100%);
  overflow: clip;
}

.hero-inner {
  display: grid;
  align-items: center;
  padding-block: clamp(3.75rem, 7.5vw, 6rem) clamp(2.75rem, 5vw, 4rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 53rem;
}

.eyebrow,
.section-label {
  margin: 0 0 1.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.eyebrow {
  color: var(--yellow);
}

.hero h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.65rem, 8.5vw, 5.55rem);
  line-height: 1.04;
  letter-spacing: normal;
}

.hero-lead {
  max-width: 35rem;
  margin: 1.55rem 0 0;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
}

.hero-detail {
  max-width: 34rem;
  margin: 0.7rem 0 0;
  color: var(--muted-light);
  font-size: 1rem;
}

.hero-area {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: var(--muted-light);
  font-size: 0.95rem;
}

.hero-area svg {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12rem;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.8;
}

.hero-area strong {
  color: var(--white);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 1.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 3.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0.35rem;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.button span {
  font-size: 1.2rem;
  font-weight: 400;
}

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

.button-yellow:hover {
  background: var(--yellow-hover);
}

.button-yellow:focus-visible {
  outline-color: var(--white);
}

.phone-link {
  color: var(--white);
  font-weight: 700;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.phone-link:hover {
  color: var(--yellow);
}

.hero-brand {
  display: none;
}

.section-space {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section-intro h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: normal;
}

.section-intro > p:last-child {
  max-width: 39rem;
  margin: 1rem 0 0;
  color: var(--muted-light);
  font-size: 1.05rem;
}

.services {
  background: var(--ink-soft);
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.services-layout,
.reviews-inner,
.process-inner,
.contact-inner {
  max-width: 1040px;
}

.service-list {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.service-card {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid #3f4840;
  border-left: 3px solid #8f7f00;
  border-radius: 0.65rem;
  background: var(--surface);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-heading {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-number {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--yellow);
  border-radius: 0.3rem;
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--muted-light);
}

.service-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted-light);
}

.service-card li + li {
  margin-top: 0.35rem;
}

.service-card li::marker {
  color: var(--yellow);
}

.reviews {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid #343b35;
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
}

.reviews-actions p {
  margin: 0;
  color: var(--muted-light);
  font-size: 0.93rem;
}

.reviews-actions button:disabled {
  border: 1px solid #5b655b;
  background: var(--surface);
  color: var(--muted-light);
  font-family: inherit;
  cursor: not-allowed;
}

.process {
  border-top: 1px solid #343b35;
  background: #161b18;
}

.process .section-label,
.contact .section-label {
  color: var(--yellow);
}

.process-list {
  display: grid;
  gap: 2rem;
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: process-step;
}

.process-list li {
  padding-top: 1.15rem;
  border-top: 1px solid #485148;
  counter-increment: process-step;
}

.process-list li::before {
  content: "0" counter(process-step);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 800;
}

.process-list h3 {
  margin: 0.9rem 0 0.45rem;
  font-size: 1.15rem;
}

.process-list p {
  margin: 0;
  color: var(--muted-light);
}

.contact {
  border-top: 1px solid #343b35;
  background: var(--ink-soft);
}

.contact-inner {
  display: grid;
  gap: 2rem;
  align-items: end;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.contact .section-label {
  margin-bottom: 1.1rem;
}

.contact h2 ~ p {
  max-width: 58ch;
  margin: 1.1rem 0 0;
  font-size: 1.08rem;
}

.contact-actions {
  display: grid;
  gap: 0.9rem;
  justify-self: end;
}

.contact-alternatives {
  display: grid;
  gap: 0.35rem;
  justify-items: end;
  font-size: 0.93rem;
}

.contact-alternatives a {
  text-decoration-color: var(--yellow);
  text-underline-offset: 0.3em;
}

.contact-alternatives a:hover {
  color: var(--yellow);
}

.site-footer {
  border-top: 1px solid #343b35;
  padding-block: 1.75rem;
}

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

.site-footer p {
  margin: 0;
  font-size: 0.87rem;
}

.site-footer p span {
  color: var(--muted-light);
}

@media (hover: hover) {
  .service-card:hover {
    border-color: var(--yellow);
    background: var(--surface-hover);
    transform: translateY(-2px);
  }
}

@media (min-width: 700px) {
  .service-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 2rem;
  }

  .service-card ul {
    border-left: 1px solid #485148;
    padding-left: 2rem;
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .contact-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) min(26rem, 41%);
    gap: 3rem;
  }

  .hero-brand {
    display: block;
  }

  .hero-brand img {
    width: 100%;
  }
}

@media (max-width: 350px) {
  .hero h1 {
    font-size: 2.35rem;
  }
}

@media (max-width: 550px) {
  .header-inner {
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    gap: 0.5rem 0.9rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button-yellow,
  .reviews-actions .button {
    width: 100%;
  }
}

@media (max-width: 699px) {
  .contact-actions {
    justify-self: start;
  }

  .contact-alternatives {
    justify-items: start;
  }
}

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

  .button {
    transition: none;
  }

  .service-card {
    transition: none;
  }

  .service-card:hover {
    transform: none;
  }
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="light"] body {
  background: #eef1eb;
  color: #172019;
}

html[data-theme="light"] .hero {
  background: linear-gradient(180deg, #f8f9f5 0%, #f5f7f2 72%, #eef1eb 100%);
  color: #172019;
}

html[data-theme="light"] .services,
html[data-theme="light"] .contact {
  background: #eef1eb;
}

html[data-theme="light"] .process {
  background: #f8f9f5;
}

html[data-theme="light"] .reviews,
html[data-theme="light"] .process,
html[data-theme="light"] .contact {
  border-top-color: #cbd4c9;
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .section-label,
html[data-theme="light"] .process-list li::before {
  color: #6d5f00;
}

html[data-theme="light"] .hero-detail,
html[data-theme="light"] .hero-area,
html[data-theme="light"] .section-intro > p:last-child,
html[data-theme="light"] .service-card p,
html[data-theme="light"] .service-card ul,
html[data-theme="light"] .reviews-actions p,
html[data-theme="light"] .process-list p {
  color: #455046;
}

html[data-theme="light"] .hero-area strong,
html[data-theme="light"] .phone-link {
  color: #172019;
}

html[data-theme="light"] .hero-area svg {
  stroke: #776800;
}

html[data-theme="light"] .phone-link,
html[data-theme="light"] .contact-alternatives a {
  text-decoration-color: #776800;
}

html[data-theme="light"] .phone-link:hover,
html[data-theme="light"] .contact-alternatives a:hover {
  color: #665900;
}

html[data-theme="light"] .reviews-actions button:disabled {
  border-color: #c7d0c5;
  background: #f8f9f5;
  color: #455046;
}

html[data-theme="light"] .service-card {
  border-color: #c7d0c5;
  border-left-color: #8f7f00;
  background: #fff;
}

html[data-theme="light"] .service-card:hover {
  border-color: #8f7f00;
  background: #fffbe8;
}

html[data-theme="light"] .service-number {
  border-color: #776800;
  color: #665900;
}

html[data-theme="light"] .service-card li::marker {
  color: #776800;
}

html[data-theme="light"] .service-card ul,
html[data-theme="light"] .process-list li {
  border-color: #c7d0c5;
}

html[data-theme="light"] a:focus-visible {
  outline-color: #665900;
}

html[data-theme="light"] .site-header a:focus-visible,
html[data-theme="light"] .site-footer a:focus-visible {
  outline-color: var(--yellow);
}

html[data-theme="light"] .button-yellow:focus-visible {
  outline-color: #172019;
}
