:root {
  --ink: #141712;
  --ink-soft: #343a31;
  --paper: #fbfbf6;
  --mist: #eef2e8;
  --line: #dbe3d1;
  --field: #ffffff;
  --green: #87d92d;
  --green-deep: #4d8e17;
  --gold: #f2bd43;
  --steel: #506171;
  --shadow: 0 22px 60px rgba(18, 23, 16, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.modal-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(20, 23, 18, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  border-radius: 50%;
  background: #111;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a,
.mobile-nav a {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 700;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(135, 217, 45, 0.72);
  border-radius: 6px;
  color: #fff;
  font-weight: 850;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: transparent;
  color: #fff;
}

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

.mobile-nav {
  position: fixed;
  top: 71px;
  left: 12px;
  right: 12px;
  z-index: 49;
  display: none;
  grid-template-columns: 1fr;
  padding: 8px;
  background: rgba(20, 23, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  box-shadow: var(--shadow);
}

.mobile-nav.open {
  display: grid;
}

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

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 10, 7, 0.88), rgba(8, 10, 7, 0.48) 47%, rgba(8, 10, 7, 0.2)),
    linear-gradient(0deg, rgba(8, 10, 7, 0.72), rgba(8, 10, 7, 0.04) 40%);
}

.hero-content {
  position: relative;
  width: min(900px, calc(100% - 36px));
  padding-bottom: 150px;
  padding-top: 150px;
  padding-left: 0;
  padding-right: 74px;
  margin-left: clamp(18px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5.5vw, 8.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 7px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: #10140d;
  box-shadow: 0 14px 32px rgba(135, 217, 45, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.install-button,
.ios-install-button {
  cursor: pointer;
  font: inherit;
}

.install-button[hidden],
.ios-install-button[hidden] {
  display: none;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 26px;
}

.hero-proof span {
  position: relative;
  padding-left: 17px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-proof span::before {
  content: "";
  position: absolute;
  top: 0.63em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(135, 217, 45, 0.16);
}

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

.quick-strip div {
  padding: 26px clamp(18px, 3vw, 46px);
  background: #fff;
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  margin-bottom: 5px;
  font-size: 1.02rem;
}

.quick-strip span {
  color: var(--ink-soft);
}

.section,
.split-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 118px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading h2 {
  grid-column: 2;
}

.section-heading .eyebrow {
  grid-column: 1;
  align-self: start;
  margin-top: 10px;
}

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

.service-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  margin-bottom: 36px;
  border-radius: 6px;
  background: var(--mist);
  color: var(--green-deep);
  font-weight: 950;
}

.service-card p,
.pricing-copy p,
.contact-card p,
.split-copy span,
.pricing-panel li {
  color: var(--ink-soft);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.split-copy {
  padding-right: 10px;
}

.steps {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--green);
  font-weight: 900;
}

.steps strong,
.steps span {
  grid-column: 2;
}

.split-image {
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.work-section {
  width: 100%;
  padding-left: clamp(18px, 5vw, 72px);
  padding-right: clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

.work-section .section-heading {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.before-after-section .section-heading h2 {
  color: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 16px;
  width: min(1320px, 100%);
  margin: 0 auto;
}

figure {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #222;
}

figure img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 11px 13px;
  border-radius: 6px;
  background: rgba(8, 10, 7, 0.76);
  color: #fff;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.comparison-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.comparison-card h3 {
  margin-bottom: 14px;
  color: #fff;
}

.comparison-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.comparison-pair figure {
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0f120d;
}

.comparison-pair figure img {
  width: 100%;
  height: clamp(240px, 28vw, 390px);
  min-height: 0;
  padding: 8px;
  object-fit: contain;
}

.photo-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.photo-zoom:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: -3px;
}

.photo-zoom:hover img {
  filter: brightness(1.08);
}

.comparison-pair span {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(8, 10, 7, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.comparison-pair figure:last-child span {
  background: rgba(77, 142, 23, 0.9);
  color: #fff;
}

.photo-strip {
  width: min(1320px, 100%);
  margin: 34px auto 0;
}

.photo-strip h3 {
  margin-bottom: 14px;
  color: #fff;
}

.photo-strip-track {
  display: grid;
  grid-auto-columns: minmax(220px, 300px);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.photo-strip-track img {
  width: 100%;
  height: 210px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #0f120d;
  object-fit: contain;
  scroll-snap-align: start;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  gap: 12px;
  padding: 58px clamp(12px, 4vw, 42px) 28px;
  background: rgba(8, 10, 7, 0.92);
  color: #fff;
}

.image-modal[hidden] {
  display: none;
}

.modal-image {
  max-width: min(1120px, 100%);
  max-height: calc(100vh - 150px);
  border-radius: 8px;
  background: #0f120d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  object-fit: contain;
}

.modal-caption {
  max-width: min(900px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--green);
  color: #10140d;
}

.ios-install-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 10, 7, 0.88);
  color: #fff;
}

.ios-install-modal[hidden] {
  display: none;
}

.ios-install-panel {
  width: min(560px, 100%);
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #182016;
  box-shadow: var(--shadow);
}

.ios-install-panel h2 {
  font-size: clamp(1.7rem, 5vw, 2.65rem);
}

.ios-install-panel ol {
  display: grid;
  gap: 12px;
  padding-left: 22px;
  margin: 22px 0;
}

.ios-install-panel li {
  padding-left: 4px;
  font-weight: 850;
}

.ios-install-panel p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.ios-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.ios-modal-close:hover,
.ios-modal-close:focus-visible {
  background: var(--green);
  color: #10140d;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.pricing-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(18, 23, 16, 0.08);
}

.pricing-panel .button {
  width: 100%;
}

.pricing-table {
  overflow: hidden;
  margin: 18px 0;
  border: 1px solid var(--ink);
  border-radius: 8px;
}

.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, 0.32fr);
  border-top: 1px solid var(--ink);
}

.pricing-row:first-child {
  border-top: 0;
}

.pricing-row span,
.pricing-row strong {
  display: grid;
  align-content: center;
  min-height: 54px;
  padding: 11px 14px;
}

.pricing-row span + span,
.pricing-row strong {
  border-left: 1px solid var(--ink);
}

.pricing-row-head {
  background: linear-gradient(180deg, #82d947, #5cab25);
  color: #fff;
  font-weight: 950;
}

.pricing-row strong {
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.pricing-row small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 750;
}

.pricing-notes {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.pricing-notes li {
  position: relative;
  padding-left: 17px;
  color: var(--ink-soft);
}

.pricing-notes li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-deep);
}

.contact-section {
  padding-top: 20px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(135, 217, 45, 0.16), rgba(242, 189, 67, 0.14)),
    #182016;
  color: #fff;
}

.contact-card p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.78);
}

.estimate-form {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(18, 23, 16, 0.08);
}

.form-heading {
  margin-bottom: 22px;
}

.form-heading h3 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
}

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

.estimate-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 850;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cfd8c4;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.estimate-form textarea {
  min-height: 140px;
  resize: vertical;
}

.estimate-form input[readonly] {
  background: var(--mist);
  color: var(--ink-soft);
}

.field-help {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  border-color: var(--green-deep);
  outline: 3px solid rgba(135, 217, 45, 0.22);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.form-footer p {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
}

.estimate-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green-deep);
  font-weight: 850;
}

.form-status.error {
  color: #9d2b18;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: #0f120d;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer a {
  color: #fff;
  font-weight: 900;
}

.sticky-call {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 7px;
  background: var(--green);
  color: #10140d;
  font-weight: 950;
  box-shadow: 0 16px 38px rgba(18, 23, 16, 0.3);
}

/* Tablet */
@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-bottom: 58px;
  }

  .quick-strip,
  .service-grid,
  .section-heading,
  .split-section,
  .pricing-section,
  .contact-card,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .section-heading .eyebrow {
    grid-column: 1;
  }

  .section-heading {
    gap: 4px;
  }

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

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

  .pricing-section {
    align-items: stretch;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .site-header {
    padding: 12px;
  }

  .brand span {
    max-width: 142px;
    font-size: 0.92rem;
    line-height: 1.05;
  }

  .header-call {
    display: none;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
    padding-top: 116px;
    padding-bottom: 42px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 10, 7, 0.86), rgba(8, 10, 7, 0.48)),
      linear-gradient(0deg, rgba(8, 10, 7, 0.8), rgba(8, 10, 7, 0.04) 45%);
  }

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

  .section,
  .split-section {
    width: calc(100% - 28px);
  }

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

  .split-image,
  .split-image img,
  figure,
  figure img {
    min-height: 330px;
  }

  .comparison-pair {
    grid-template-columns: 1fr;
  }

  .comparison-pair figure,
  .comparison-pair figure img {
    min-height: 0;
  }

  .comparison-pair figure img {
    height: 300px;
  }

  .work-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .contact-card {
    padding: 24px;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .pricing-row {
    grid-template-columns: 1fr;
  }

  .pricing-row span + span,
  .pricing-row strong {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .pricing-row-head {
    display: none;
  }

  .site-footer {
    padding-bottom: 82px;
  }

  .sticky-call {
    display: flex;
  }
}
