/* MERGE Construction Corp. | Business Card Landing | Mobile first */
:root {
  --green: #276a37;
  --green-dark: #153e2b;
  --green-soft: #eef6ef;
  --lime: #95cb52;
  --ink: #162c25;
  --body: #4b5654;
  --muted: #74807b;
  --line: #e1e8e3;
  --surface: #fff;
  --wash: #f6f8f6;
  --danger: #b42318;
  --radius: 18px;
  --shadow: 0 16px 48px rgba(18,52,35,.075);
  --focus: 0 0 0 4px rgba(39,106,55,.18);
  font-family: 'DM Sans', sans-serif;
  color-scheme: light;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img,svg { max-width: 100%; display: block; }
a { color: inherit; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.container { width: min(100% - 36px, 1120px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; top: -80px; left: 12px; padding: 10px 16px; background: white; border: 2px solid var(--green); border-radius: 8px; }
.skip-link:focus { top: 10px; }

/* Navigation */
.site-header { position: relative; z-index: 10; background: rgba(255,255,255,.97); border-bottom: 1px solid #edf1ee; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 80px; }
.brand { display: block; width: 127px; flex-shrink: 0; text-decoration: none; }
.brand img { width: 100%; height: auto; max-height: 67px; object-fit: contain; object-position: left center; }
.header-call { text-decoration: none; color: var(--green-dark); font-size: .8rem; font-weight: 700; letter-spacing: .015em; padding: 10px 0 10px 8px; }
.header-call span { color: var(--green); }
.header-call:hover { color: var(--green); }

/* Reusable design */
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { font-family: Manrope, 'DM Sans', sans-serif; letter-spacing: -.045em; line-height: 1.17; }
h1 { font-size: clamp(2.6rem, 10vw, 4.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 7vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.42rem, 5.7vw, 1.95rem); font-weight: 800; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: .66rem; font-weight: 800; letter-spacing: .16em; line-height: 1.5; }
.accent-line { display: inline-block; width: 23px; height: 2px; margin-right: 6px; vertical-align: middle; background: var(--lime); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 52px; padding: 13px 22px; border-radius: 11px; font-size: .94rem; font-weight: 800; border: 1px solid transparent; text-decoration: none; text-align: center; transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button-primary { background: var(--green); color: white; box-shadow: 0 6px 18px rgba(33,105,50,.14); }
.button-primary:hover:not(:disabled) { background: #1e552d; }
.button-outline { background: #fff; border-color: #d9e3db; color: var(--ink); box-shadow: 0 4px 12px rgba(12,38,24,.035); }
.button-outline:hover { background: var(--green-soft); }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(145deg,#fbfdfa 0%,#f4f8f4 100%); }
.hero-inner { display: grid; gap: 8px; }
.hero-copy { position: relative; z-index: 1; padding: 42px 0 18px; }
.hero h1 { max-width: 650px; margin: 0 0 15px; }
.hero h1 em { display: block; font-style: normal; color: var(--green); }
.hero-description { max-width: 440px; margin: 0 0 24px; color: var(--body); font-size: 1.02rem; line-height: 1.65; }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; max-width: 410px; }
.hero-caption { color: var(--muted); font-size: .77rem; margin: 12px 0 0; }
.hero-visual { position: relative; height: 170px; margin: 0 -18px; overflow: hidden; }
.hero-photo-placeholder { height: 100%; width: 100%; background: linear-gradient(120deg,rgba(30,70,43,.25),transparent 58%),linear-gradient(145deg,#cbdace,#f0f5f0 55%,#b8c9bb); }
/* When you add an approved project photo, place it as CSS background-image on .hero-photo-placeholder. */

/* Conversion-first wizard */
.estimate-section { position: relative; z-index: 2; padding: 22px 0 70px; scroll-margin-top: 24px; background: linear-gradient(#f4f8f4 0%,#fff 60%); }
.estimate-shell { background: white; border: 1px solid #e5ece6; border-radius: 21px; box-shadow: var(--shadow); overflow: hidden; padding: 25px 18px 22px; }
.estimate-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 25px; }
.estimate-heading h2 { margin: 0 0 7px; font-size: clamp(1.5rem,5.8vw,2.3rem); }
.estimate-heading p:not(.eyebrow) { margin: 0; font-size: .88rem; color: var(--body); }
.estimate-heading .eyebrow { margin-bottom: 7px; }
.time-note { align-self: flex-start; display: inline-flex; align-items: center; border: 1px solid #e5e9e6; background: #f9faf9; padding: 7px 11px; border-radius: 30px; white-space: nowrap; font-size: .7rem; font-weight: 700; color: #58675c; }
.wizard-progress { margin-bottom: 27px; }
.progress-caption { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--green-dark); font-size: .78rem; font-weight: 800; }
.progress-track { height: 6px; border-radius: 50px; background: #e7ece8; overflow: hidden; }
.progress-fill { display: block; width: 25%; height: 100%; border-radius: inherit; background: var(--green); transition: width .25s ease; }
.step-labels { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; list-style: none; padding: 0; margin: 12px 0 0; color: #8d9790; font-size: .7rem; font-weight: 700; text-align: center; }
.step-labels li.active { color: var(--green); }
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step h3 { margin: 0 0 8px; }
.step-intro { color: var(--body); font-size: .9rem; margin: 0 0 22px; }
.choice-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.choice { display: block; position: relative; min-width: 0; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-content { min-height: 68px; display: flex; align-items: center; gap: 15px; padding: 14px 17px; border: 1.5px solid #dfe6e0; border-radius: 13px; color: var(--ink); font-size: .88rem; font-weight: 800; background: #fff; transition: border-color .15s,background-color .15s,box-shadow .15s; }
.choice-symbol { width: 32px; flex: 0 0 32px; text-align: center; font-size: 1.75rem; font-weight: 500; line-height: 1; color: var(--green); }
.choice:hover .choice-content { border-color: #a4bea7; background: #fbfefb; }
.choice input:checked + .choice-content { background: var(--green-soft); border-color: var(--green); box-shadow: inset 0 0 0 .5px var(--green); }
.choice input:focus-visible + .choice-content { box-shadow: var(--focus); }
.fields-grid { display: grid; grid-template-columns: 1fr; gap: 17px; }
.form-field { min-width: 0; }
.form-field label { display: block; color: var(--ink); font-size: .86rem; font-weight: 800; margin-bottom: 8px; }
.form-field label [aria-hidden="true"] { color: var(--green); }
.form-field input,.form-field select,.form-field textarea { appearance: none; width: 100%; border: 1.5px solid #dce5de; border-radius: 11px; padding: 13px 14px; min-height: 52px; background: white; color: var(--ink); outline: none; font-size: 16px; }
.form-field select { appearance: auto; }
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field input:focus,.form-field select:focus,.form-field textarea:focus { border-color: var(--green); box-shadow: var(--focus); }
.form-field input::placeholder,.form-field textarea::placeholder { color: #9ca8a0; }
.form-field small { display: block; margin-top: 5px; color: var(--muted); font-size: .73rem; }
.optional { color: var(--muted); font-weight: 500; }
.form-error { margin: 0 0 16px; padding: 12px 14px; color: #8f1e16; background: #fff1ef; border: 1px solid #f2c9c4; border-radius: 10px; font-size: .85rem; }
.review-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 24px; }
.review-list > div { display: grid; grid-template-columns: 38% 1fr; gap: 12px; padding: 12px 15px; background: #fff; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; font-size: .84rem; }
.review-list > div:last-child { border-bottom: 0; }
.review-list dt { color: var(--muted); font-weight: 700; }
.review-list dd { margin: 0; color: var(--ink); font-weight: 700; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .82rem; line-height: 1.55; color: var(--body); cursor: pointer; }
.consent input { accent-color: var(--green); flex-shrink: 0; width: 19px; height: 19px; margin: 1px 0 0; }
.consent a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wizard-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button-next,.button-submit { flex: 1 1 100%; }
.button-back { background: transparent; color: var(--green-dark); border-color: #dce5de; flex: 0 0 auto; }
.button-back:hover { background: var(--green-soft); }
.form-disclaimer { color: var(--muted); text-align: center; font-size: .72rem; line-height: 1.5; margin: 13px 0 0; }

/* Trust signals */
.trust-section { padding: 10px 0 75px; }
.trust-inner { display: grid; gap: 28px; }
.trust-section h2 { margin: 0 0 15px; }
.trust-section h2 span { color: var(--green); }
.trust-section p:not(.eyebrow) { max-width: 520px; color: var(--body); }
.trust-points { display: grid; gap: 12px; }
.trust-points p { display: flex; flex-direction: column; margin: 0; padding: 15px 18px; border: 1px solid var(--line); background: var(--wash); border-radius: 11px; }
.trust-points strong { color: var(--ink); font-size: .91rem; }
.trust-points span { color: var(--muted); font-size: .8rem; }
.bottom-cta { background: var(--green-dark); padding: 45px 0; color: white; }
.bottom-cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.bottom-cta .eyebrow { color: #b6e19f; }
.bottom-cta h2 { margin: 0; }
.bottom-cta .button-primary { background: #fff; color: var(--green-dark); box-shadow: none; }
.bottom-cta .button-primary:hover { background: #f0f6ee; }
.site-footer { border-top: 1px solid var(--line); padding: 22px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 22px; color: var(--muted); font-size: .78rem; }
.footer-inner a { text-underline-offset: 3px; }

@media (min-width: 520px) {
  .choice-grid,.fields-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .choice-wide,.full-width { grid-column: 1 / -1; }
  .hero-actions { flex-direction: row; }
  .hero-actions .button { flex: 1; }
  .estimate-shell { padding: 32px; }
  .button-next,.button-submit { flex: 1 1 200px; }
  .time-note { align-self: center; }
}
@media (min-width: 800px) {
  .container { width: min(100% - 64px,1120px); }
  .header-inner { min-height: 95px; }
  .brand { width: 155px; }
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; min-height: 485px; gap: 34px; }
  .hero-copy { padding: 75px 0 58px; }
  .hero-visual { min-height: 485px; height: auto; margin: 0 calc((1120px - min(100vw - 64px,1120px)) / -2) 0 0; border-radius: 0 0 0 90px; }
  .estimate-section { padding: 50px 0 105px; }
  .estimate-shell { max-width: 850px; margin-inline: auto; padding: 44px 50px; border-radius: 25px; }
  .estimate-heading { margin-bottom: 35px; }
  .wizard-progress { margin-bottom: 35px; }
  .choice-grid { gap: 14px; }
  .choice-content { min-height: 78px; }
  .wizard-actions { justify-content: flex-end; }
  .button-next,.button-submit { flex: 0 1 260px; }
  .trust-section { padding: 15px 0 100px; }
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .bottom-cta-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* MERGE — HERO IMAGE FIX */

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

/* TABLET */
@media (max-width: 1024px) {
  .hero-visual {
    min-height: 400px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-visual {
    height: 280px;
    min-height: 280px;
  }

  .hero-photo {
    object-position: center center;
  }
}