:root {
  color-scheme: light dark;
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-strong: #f0ece2;
  --text: #151515;
  --muted: #60646c;
  --line: rgba(20, 20, 20, 0.12);
  --brand: #f2b705;
  --brand-strong: #d8870d;
  --green: #1f7a4d;
  --green-dark: #115436;
  --ink: #111827;
  --shadow: 0 24px 70px rgba(18, 24, 38, 0.14);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  --bg: #101311;
  --surface: #171b18;
  --surface-strong: #20251f;
  --text: #f5f1e8;
  --muted: #b9b9af;
  --line: rgba(255, 255, 255, 0.13);
  --brand: #f5c833;
  --brand-strong: #e99e2a;
  --green: #46b274;
  --green-dark: #235a3b;
  --ink: #f6f2e8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 46px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--text);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 72px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.32));
}

.site-header.is-scrolled .brand-logo,
.site-header.is-open .brand-logo {
  filter: none;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: currentColor;
  opacity: 0.72;
  font-size: 0.77rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.theme-toggle {
  border: 1px solid transparent;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  padding: 10px 13px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.site-nav a:hover,
.theme-toggle:hover {
  border-color: currentColor;
}

.site-nav .nav-call {
  background: var(--brand);
  color: #171200;
  padding-inline: 15px;
}

.site-nav .nav-call:hover {
  border-color: transparent;
  background: var(--brand-strong);
}

.theme-toggle {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: 63% center;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.50) 39%, rgba(0, 0, 0, 0.06) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 48%);
}

.hero__content {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.keep-together {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero__lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(1.08rem, 2.3vw, 1.45rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  background: var(--brand);
  color: #171200;
}

.button--primary:hover {
  background: var(--brand-strong);
}

.button--glass {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  backdrop-filter: blur(16px);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 840px;
  margin: 52px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
}

.hero__facts div {
  padding: 17px;
}

.hero__facts dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__facts dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.section__inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

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

.intro-grid,
.contact-grid,
.feature__inner,
.area-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.15;
}

.intro-grid > p,
.feature__content p,
.section--contact p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-card,
.steps article,
.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 238px;
  padding: 24px;
}

.service-card__icon,
.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 900;
}

.service-card p,
.steps p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature {
  background: var(--surface-strong);
}

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

.area-grid {
  align-items: start;
}

.area-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

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

.area-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 15px 16px;
  font-weight: 900;
}

.feature__media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature__media img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.feature__content {
  display: grid;
  gap: 22px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 4px var(--surface);
}

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

.steps article {
  padding: 26px;
}

.result-band {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.result-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08) 65%);
}

.result-band__copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 56px;
}

.result-band__copy h2 {
  max-width: 740px;
  margin-bottom: 24px;
}

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

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.contact-grid {
  align-items: start;
}

.contact-grid > div {
  display: grid;
  gap: 22px;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list a,
.contact-list span {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 30px);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
  text-transform: none;
}

.quote-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 46px);
  background: var(--ink);
  color: var(--bg);
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer span {
  color: color-mix(in srgb, var(--bg) 72%, transparent);
}

.site-footer a {
  font-weight: 900;
  text-decoration: none;
}

.mobile-cta {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101311;
    --surface: #171b18;
    --surface-strong: #20251f;
    --text: #f5f1e8;
    --muted: #b9b9af;
    --line: rgba(255, 255, 255, 0.13);
    --brand: #f5c833;
    --brand-strong: #e99e2a;
    --green: #46b274;
    --green-dark: #235a3b;
    --ink: #f6f2e8;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    z-index: 25;
  }

  .site-nav {
    position: fixed;
    inset: 76px 14px auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a,
  .theme-toggle {
    justify-content: flex-start;
    width: 100%;
    border-radius: 8px;
  }

  .site-nav .nav-call {
    justify-content: center;
  }

  .hero {
    min-height: 88svh;
  }

  .hero__image {
    object-position: 67% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.80), rgba(0, 0, 0, 0.44) 70%, rgba(0, 0, 0, 0.18)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 55%);
  }

  .hero__facts,
  .intro-grid,
  .contact-grid,
  .feature__inner,
  .area-grid,
  .faq-grid,
  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero__facts div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero__facts div:last-child {
    border-bottom: 0;
  }

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

  .feature__media {
    order: 2;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 92px;
  }

  .mobile-cta {
    position: fixed;
    inset: auto 12px 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 8px;
    background: var(--brand);
    color: #171200;
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-cta a + a {
    border: 1px solid var(--line);
    background: var(--surface-strong);
    color: var(--text);
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 64px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-copy small {
    display: none;
  }

  .hero__content {
    padding-bottom: 26px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 9.7vw, 4.4rem);
  }

  .button {
    width: 100%;
  }

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

  .result-band {
    min-height: 440px;
  }
}
