:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #65717d;
  --paper: #f7f2ea;
  --surface: #ffffff;
  --line: rgba(23, 33, 43, 0.12);
  --orange: #e97f2c;
  --orange-dark: #b65a1b;
  --blue: #194a6c;
  --blue-soft: #d7e8ee;
  --green: #476e62;
  --shadow: 0 24px 70px rgba(28, 39, 50, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(233, 127, 44, 0.75);
  outline-offset: 3px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

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

.site-header.is-elevated,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(255, 252, 247, 0.94);
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-logo {
  width: auto;
  height: 54px;
  max-width: 44px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: var(--radius);
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-elevated .site-nav a:hover,
.site-header.nav-active .site-nav a:hover {
  background: rgba(25, 74, 108, 0.08);
}

.nav-cta {
  background: var(--orange-dark);
  color: #fff;
}

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: inherit;
  font-weight: 800;
}

.language-control select {
  width: auto;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  padding: 9px 34px 9px 12px;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  font: inherit;
  cursor: pointer;
}

.site-header.is-elevated .language-control select,
.site-header.nav-active .language-control select {
  border-color: var(--line);
  background: rgba(25, 74, 108, 0.06);
}

.language-control option {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 5vw, 64px) 56px;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 23, 30, 0.82) 0%, rgba(13, 23, 30, 0.64) 38%, rgba(13, 23, 30, 0.1) 74%),
    linear-gradient(0deg, rgba(13, 23, 30, 0.68), rgba(13, 23, 30, 0.08) 54%);
}

.hero-content {
  max-width: 770px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.dark .section-kicker,
.contact-panel .section-kicker {
  color: #ffd49a;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.7rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions,
.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  background: var(--orange-dark);
  color: #fff;
  box-shadow: 0 14px 32px rgba(182, 90, 27, 0.24);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(12px);
}

.signal-row {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.signal-row span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-band div {
  padding: 24px clamp(18px, 3vw, 34px);
  background: #fffaf2;
}

.proof-band strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--blue);
}

.proof-band span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 650;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px clamp(18px, 4vw, 36px);
}

.split,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

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

p {
  line-height: 1.7;
}

.lead-stack p,
.section-heading p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.service-card {
  min-height: 250px;
  grid-column: span 2;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(23, 33, 43, 0.05);
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card-accent {
  background: var(--blue);
  color: #fff;
}

.service-number {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--orange);
  font-weight: 900;
}

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

.service-card-accent p {
  color: rgba(255, 255, 255, 0.78);
}

.dark {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  padding: 92px max(clamp(18px, 5vw, 72px), calc((100vw - var(--max)) / 2 + 36px));
  color: #fff;
  background: #102433;
}

.dark h2 {
  color: #fff;
}

.portal-copy p {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.74);
}

.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.86);
}

.check-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--orange);
  font-weight: 900;
}

.dashboard {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.dashboard-top,
.progress-meta,
.dash-grid div,
.timeline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-top {
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.dashboard span {
  color: rgba(255, 255, 255, 0.64);
}

.progress-card {
  margin-top: 22px;
}

.progress-track {
  height: 10px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ffd49a);
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.dash-grid div {
  flex-direction: column;
  min-height: 112px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.timeline {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline span {
  position: relative;
  flex: 1;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.82rem;
  font-weight: 800;
}

.timeline span::before {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  content: "";
}

.timeline .done,
.timeline .active {
  color: #fff;
}

.timeline .done::before,
.timeline .active::before {
  background: var(--orange);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  margin: 38px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.method-list li {
  padding: 24px;
  background: #fffaf2;
}

.method-list span {
  display: block;
  color: var(--blue);
  font-weight: 900;
  font-size: 1.12rem;
}

.method-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.audit-grid article {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.audit-grid p {
  color: var(--muted);
}

.contact {
  max-width: none;
  padding-top: 40px;
}

.contact-panel {
  max-width: var(--max);
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(28px, 7vw, 74px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px);
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-weight: 850;
}

.contact-lines a {
  width: fit-content;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.estimate-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

select option {
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 48px);
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 900px) {
  .menu-toggle {
    position: relative;
    z-index: 22;
    display: block;
    color: inherit;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 21;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 90px 24px 28px;
    background: #fffaf2;
    color: var(--ink);
    font-size: 1.4rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
  }

  .language-control {
    padding: 16px;
  }

  .language-control select {
    width: 100%;
    color: var(--ink);
    border-color: var(--line);
    background: #fff;
  }

  .hero {
    min-height: 840px;
    align-items: end;
  }

  .proof-band,
  .split,
  .section-heading,
  .dark,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5),
  .method-list,
  .audit-grid {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .method-list,
  .audit-grid {
    display: grid;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 760px;
    padding-bottom: 32px;
  }

  .brand-logo {
    height: 48px;
    max-width: 40px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 23, 30, 0.9), rgba(13, 23, 30, 0.58)),
      linear-gradient(0deg, rgba(13, 23, 30, 0.84), rgba(13, 23, 30, 0.08) 58%);
  }

  .proof-band {
    grid-template-columns: 1fr;
  }

  .dash-grid,
  .timeline,
  .site-footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .timeline {
    gap: 10px;
  }
}
