:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #5c665f;
  --paper: #f7f4ec;
  --surface: #ffffff;
  --line: #ddd8ce;
  --forest: #1e3c30;
  --moss: #6f7f65;
  --brick: #a8533e;
  --gold: #f2c676;
  --blue: #416f7a;
  --shadow: 0 20px 58px rgba(23, 33, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

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

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

.topbar {
  align-items: center;
  background: rgba(247, 244, 236, 0.96);
  border-bottom: 1px solid rgba(221, 216, 206, 0.9);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 58px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--forest);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

nav {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 850;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 8vw, 96px) clamp(18px, 5vw, 70px);
}

.hero-copy {
  max-width: 860px;
}

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

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

h1 {
  font-size: clamp(2.75rem, 7vw, 6.4rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero p {
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  max-width: 720px;
}

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

.button,
button {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px;
}

.primary,
button {
  background: var(--brick);
  color: white;
}

.secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--forest);
}

.microcopy {
  font-size: 0.9rem;
  margin-top: 18px;
}

.service-mobile-bar {
  display: none;
}

.device-preview {
  display: flex;
  justify-content: center;
}

.phone-frame {
  background: #101914;
  border: 10px solid #101914;
  border-radius: 34px;
  box-shadow: var(--shadow);
  max-width: 340px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.phone-top {
  background: #101914;
  height: 22px;
}

.phone-frame img {
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  width: 100%;
}

.phone-content {
  background: white;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.phone-content strong {
  font-size: 1.1rem;
}

.phone-content span {
  color: var(--muted);
  font-size: 0.9rem;
}

.phone-content a {
  color: var(--brick);
  font-weight: 900;
}

.proof-strip {
  background: var(--forest);
  color: white;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-strip span {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 900;
  padding: 18px clamp(16px, 3vw, 40px);
  text-align: center;
}

.section {
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 70px);
  scroll-margin-top: 94px;
}

.split,
.work-section,
.contact-section {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.section-heading {
  max-width: 780px;
}

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

.service-list article,
.packages article,
.calculator,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(23, 33, 27, 0.08);
}

.service-list article,
.packages article {
  padding: 22px;
}

.calculator-section,
.packages-section,
.trust-build-section {
  background: #edece3;
}

.trust-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.trust-metrics article,
.trust-process article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(23, 33, 27, 0.08);
  padding: 22px;
}

.trust-metrics strong {
  color: var(--forest);
  display: block;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.95;
  margin-bottom: 12px;
}

.trust-metrics span {
  color: var(--muted);
  font-weight: 900;
}

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

.calculator {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  padding: 24px;
}

label {
  color: var(--ink);
  display: grid;
  font-size: 0.92rem;
  font-weight: 900;
  gap: 8px;
}

input,
textarea {
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.calculator-output {
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calculator-output div {
  background: var(--forest);
  border-radius: 8px;
  color: white;
  padding: 18px;
}

.calculator-output span {
  color: rgba(255, 255, 255, 0.76);
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.calculator-output strong {
  font-size: 2rem;
}

.safety-section {
  background: var(--forest);
  color: white;
}

.safety-section .eyebrow {
  color: var(--gold);
}

.safety-section p,
.safety-section span {
  color: rgba(255, 255, 255, 0.78);
}

.timeline {
  counter-reset: safety;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 20px;
}

.timeline li::before {
  color: var(--gold);
  content: "0" counter(safety);
  counter-increment: safety;
  font-weight: 950;
}

.timeline strong {
  font-size: 1.05rem;
}

.packages {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.packages span {
  color: var(--brick);
  font-weight: 950;
}

.work-section {
  align-items: center;
}

.work-image {
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.work-image img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.outreach-section {
  background: #eef0e7;
}

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

.outreach-grid span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  padding: 18px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.form-status {
  font-weight: 900;
  margin: 0;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px clamp(18px, 5vw, 70px);
}

@media (max-width: 920px) {
  .hero,
  .split,
  .work-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .proof-strip,
  .packages,
  .outreach-grid,
  .trust-metrics,
  .trust-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  html {
    scroll-padding-top: 112px;
  }

  body {
    padding-bottom: 104px;
  }

  .topbar {
    align-items: stretch;
    display: grid;
    gap: 10px;
    padding: 10px 14px 12px;
  }

  .brand {
    font-size: 0.98rem;
  }

  nav {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    background: rgba(33, 61, 48, 0.08);
    border-radius: 999px;
    flex: 0 0 auto;
    font-size: 0.86rem;
    padding: 8px 11px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 26px 18px 46px;
  }

  .hero-copy {
    order: 2;
  }

  .device-preview {
    order: 1;
  }

  h1 {
    font-size: 2.45rem;
    line-height: 1.05;
  }

  h2 {
    font-size: 2rem;
  }

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

  .phone-frame {
    max-width: 310px;
    border-radius: 34px;
  }

  .phone-content {
    border-radius: 26px 26px 0 0;
    margin-top: -30px;
    position: relative;
    text-align: center;
    z-index: 1;
  }

  .proof-strip,
  .service-list,
  .packages,
  .outreach-grid,
  .trust-metrics,
  .trust-process,
  .calculator,
  .calculator-output {
    grid-template-columns: 1fr;
  }

  .proof-strip span {
    padding: 14px 18px;
    text-align: left;
  }

  .section {
    padding: 46px 18px;
    scroll-margin-top: 112px;
  }

  .work-image {
    min-height: 300px;
  }

  .service-mobile-bar {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    bottom: 0;
    box-shadow: 0 -16px 36px rgba(23, 33, 27, 0.14);
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr auto;
    left: 0;
    padding: 16px 18px 20px;
    position: fixed;
    right: 0;
    z-index: 40;
  }

  .service-mobile-bar strong,
  .service-mobile-bar span {
    display: block;
  }

  .service-mobile-bar span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 760;
  }

  .service-mobile-bar a {
    background: #e8175d;
    border-radius: 999px;
    color: white;
    font-weight: 950;
    padding: 15px 20px;
  }
}
