/* NextWave Renos landing page. Mobile-first. */
:root {
  --ink: #0d0d0d;
  --ink-2: #161616;
  --ink-3: #222222;
  --cream: #ffffff;
  --cream-2: #efefef;
  --line: #e2e2e2;
  --gold: #fe5301;            /* brand orange (from logo) */
  --gold-deep: #c2410c;       /* darker orange for small text on white (AA) */
  --gold-soft: #fff0e7;
  --text: #141414;
  --muted: #5a5a5a;
  --on-dark: #ffffff;
  --on-dark-muted: #d6d6d6;
  --error: #b42318;
  --ok: #2f7a4a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.08);
  --serif: "Montserrat", "Arial Black", Arial, sans-serif; /* bold display font, matches logo/ad */
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 3px solid var(--gold); position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo-img { height: 50px; width: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: .01em; }
.logo-sub { font-size: 10px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep); margin-top: 3px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--ink); font-size: 15px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.header-phone svg { width: 16px; height: 16px; color: var(--gold-deep); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-dark);
  /* Premium fallback when no photo has been added yet */
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(254,83,1,.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(254,83,1,.10), transparent 60%),
    linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 55%, #080808 100%);
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,.80) 0%, rgba(8,8,8,.72) 40%, rgba(8,8,8,.88) 100%); }
.hero-grid { position: relative; display: grid; gap: 18px; padding-top: 18px; padding-bottom: 28px; }

.eyebrow { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; padding: 6px 12px; border-radius: 999px; background: rgba(254,83,1,.16); border: 1px solid rgba(254,83,1,.55); }
.eyebrow .dot { opacity: .7; color: var(--gold); }
.lg-only { display: none; }
@media (min-width: 960px) { .lg-only { display: inline; } .sm-only { display: none; } .eyebrow { flex-wrap: nowrap; white-space: nowrap; } }
.eyebrow-pin { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(254,83,1,.25); margin-right: 2px; }
.hero h1 { font-size: 30px; margin-top: 12px; color: #fff; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold); }
.lead { margin-top: 10px; font-size: 15.5px; color: var(--on-dark-muted); max-width: 560px; }

.benefits { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.benefits li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--on-dark); }
.check { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--gold); position: relative; }
.check::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.rating-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(254,83,1,.4); text-decoration: none; font-weight: 600; color: var(--on-dark); background: rgba(0,0,0,.25); }
.rating-badge .stars { color: var(--gold); letter-spacing: 2px; }

/* Mobile order: headline → form → benefits */
.hero-copy { display: contents; }
.hero-copy > .eyebrow { order: 1; justify-self: start; }
.hero-copy > h1 { order: 2; margin-top: -6px; }
.hero-copy > .lead { order: 3; margin-top: -8px; }
.quote-card { order: 4; }
.hero-copy > .benefits { order: 5; margin-top: 4px; }
.hero-copy > .rating-badge { order: 6; margin-top: 0; justify-self: start; }

/* ---------- Quote card ---------- */
.quote-card { background: var(--cream); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--gold); padding: 18px 16px 14px; scroll-margin-top: 12px; }
.quote-head { display: flex; justify-content: space-between; align-items: baseline; }
.quote-label { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.quote-step { font-size: 13px; font-weight: 600; color: var(--muted); }
.progress { height: 6px; border-radius: 99px; background: var(--cream-2); margin: 10px 0 16px; overflow: hidden; }
.progress-bar { display: block; height: 100%; width: 33.33%; background: var(--gold); border-radius: inherit; transition: width .35s ease; }

.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step.is-active { animation: stepIn .28s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.step-title { font-family: var(--serif); font-weight: 800; font-size: 21px; line-height: 1.2; color: var(--ink); padding: 0; }
.step-hint { color: var(--muted); font-size: 14px; margin-top: 4px; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.option { position: relative; display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 10px 10px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .1s, background .15s; -webkit-tap-highlight-color: transparent; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option-icon { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--gold-soft); display: grid; place-items: center; }
.option-icon svg { width: 21px; height: 21px; fill: none; stroke: var(--gold-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.option-text { font-weight: 700; font-size: 15px; line-height: 1.15; color: var(--ink); display: flex; flex-direction: column; }
.option-text small { font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.option:hover { border-color: var(--gold); box-shadow: 0 6px 18px -10px rgba(254,83,1,.6); }
.option:active { transform: scale(.98); }
.option:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.option:has(input:checked) { border-color: var(--gold); background: #fff5ef; box-shadow: inset 0 0 0 1px var(--gold); }
.option:has(input:checked) .option-icon { background: var(--gold); }
.option:has(input:checked) .option-icon svg { stroke: #fff; }

/* Fields */
.fields { display: grid; gap: 10px; margin-top: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 5px; color: var(--ink); }
.optional { font-weight: 500; color: var(--muted); }
.field input[type=text], .field input[type=tel], .field input[type=email], .field textarea {
  width: 100%; font: inherit; font-size: 16px; /* 16px prevents iOS zoom */ color: var(--text); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 13px; min-height: 48px; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(254,83,1,.25); }
.field input[aria-invalid=true] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 13px; font-weight: 600; margin-top: 4px; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent-label { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 12.5px !important; color: var(--muted) !important; line-height: 1.45; cursor: pointer; }
.consent-label input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--gold); }
.consent-label a { color: var(--gold-deep); font-weight: 700; }

.btn-primary { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 14px; border: 0; border-radius: 12px; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-decoration: none;
  background: linear-gradient(180deg, #ff6d1f, var(--gold) 55%, #e84800); box-shadow: 0 12px 26px -10px rgba(254,83,1,.75), inset 0 1px 0 rgba(255,255,255,.25); text-shadow: 0 1px 1px rgba(0,0,0,.18); transition: transform .1s, filter .15s; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-primary[disabled] { cursor: progress; filter: saturate(.6); }
.spinner { display: none; width: 20px; height: 20px; margin-left: 10px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-primary.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.secure-note svg { width: 14px; height: 14px; fill: none; stroke: var(--gold-deep); stroke-width: 2; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; min-height: 0; }
.form-foot:has(.btn-back[hidden]):has(.form-status:empty) { display: none; }
.btn-back { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 10px 6px 10px 0; font: inherit; font-weight: 700; font-size: 14.5px; color: var(--muted); cursor: pointer; min-height: 44px; }
.btn-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.btn-back:hover { color: var(--ink); }
.form-status { font-size: 14px; font-weight: 600; color: var(--error); text-align: right; flex: 1; }

.success { text-align: center; padding: 10px 4px 6px; outline: none; }
.success-icon { width: 64px; height: 64px; margin: 4px auto 14px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 0 0 8px var(--gold-soft); animation: pop .4s cubic-bezier(.2,1.4,.4,1) both; }
.success-icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.success h2 { font-size: 23px; color: var(--ink); }
.success p { margin-top: 10px; color: var(--muted); }
.success .success-small { font-size: 13px; }

/* ---------- Strip ---------- */
.strip { background: var(--ink); border-top: 1px solid rgba(254,83,1,.25); border-bottom: 1px solid rgba(254,83,1,.15); color: var(--on-dark); }
.strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding-top: 22px; padding-bottom: 22px; text-align: center; }
.strip strong { display: block; font-family: var(--serif); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; color: var(--gold); }
.strip span { font-size: 13.5px; color: var(--on-dark-muted); }

/* ---------- Sections ---------- */
.section { background: var(--cream); padding: 52px 0; }
.section + .section { padding-top: 8px; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--gold); }
.section h2 { font-size: 28px; margin-top: 8px; color: var(--ink); text-wrap: balance; }

.service-grid { display: grid; gap: 16px; margin-top: 24px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px -22px rgba(0,0,0,.4); }
.service-media { position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: radial-gradient(400px 200px at 80% 0%, rgba(254,83,1,.35), transparent 60%), linear-gradient(150deg, #222222, #0d0d0d); }
.service-media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.service-media::after { /* fallback emblem, covered by the photo when present */
  content: ""; position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; opacity: .85;
  background: center/contain no-repeat; }
.media-bath::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fe5301' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16v2a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5v-2zM6 12V6a2 2 0 0 1 4 0M8 19l-1 2M16 19l1 2'/%3E%3C/svg%3E"); }
.media-kitchen::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fe5301' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M4 9h16M8 6h.01M11 6h.01M8 13v4'/%3E%3C/svg%3E"); }
.media-basement::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fe5301' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7M5 9.5V20h14V9.5M9 20v-5h6v5M5 15h4M15 15h4'/%3E%3C/svg%3E"); }
.service-body { padding: 18px 18px 20px; }
.service-body h3 { font-size: 20px; color: var(--ink); }
.service-body p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.process-grid { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.process-grid li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 20px 72px; }
.num { position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: 18px; background: var(--gold); color: #fff; }
.process-grid h3 { font-size: 18px; color: var(--ink); }
.process-grid p { margin-top: 4px; color: var(--muted); font-size: 15px; }

.review-grid { display: grid; gap: 14px; margin-top: 24px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.review .stars { color: var(--gold); letter-spacing: 2px; }
.review blockquote { margin: 8px 0 0; font-size: 15.5px; }
.review footer { margin-top: 12px; font-size: 14px; color: var(--muted); }
.review footer strong { color: var(--ink); }

.final-cta { background: linear-gradient(160deg, #1a1a1a, var(--ink)); color: var(--on-dark); padding: 48px 0 56px; text-align: center; }
.final-inner h2 { font-size: 28px; color: #fff; }
.final-inner p { margin-top: 8px; color: var(--on-dark-muted); }
.btn-inline { display: inline-flex; width: auto; padding: 0 28px; margin-top: 22px; }

.site-footer { background: #080808; color: #9a9a9a; font-size: 13.5px; padding: 22px 0 90px; }
.footer-inner { display: grid; gap: 6px; text-align: center; }
.site-footer a { color: var(--on-dark-muted); }

.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 12px; font-weight: 800; font-size: 16px; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-decoration: none;
  background: linear-gradient(180deg, #ff6d1f, var(--gold) 55%, #e84800); box-shadow: 0 12px 30px -8px rgba(0,0,0,.6);
  transform: translateY(140%); transition: transform .25s ease; }
.sticky-cta.is-visible { transform: none; }

/* ---------- Small phones ---------- */
@media (max-width: 359px) {
  .hero h1 { font-size: 26px; }
  .option-icon { display: none; }
  .option { min-height: 60px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
  .wrap { padding: 0 24px; }
  .hero h1 { font-size: 38px; }
  .quote-card { padding: 24px 24px 18px; }
  .step-title { font-size: 24px; }
  .fields { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .field-full { grid-column: 1 / -1; }
  .strip-grid { grid-template-columns: repeat(4, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid li { padding: 76px 22px 24px; }
  .num { top: 22px; left: 22px; }
  .review-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  .header-inner { height: 84px; justify-content: center; position: relative; }
  .logo-img { height: 68px; }
  .header-phone { position: absolute; right: 24px; }
  .logo-mark { width: 42px; height: 42px; }
  .logo-name { font-size: 24px; }
  .logo-sub { font-size: 11px; }

  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 84px; min-height: calc(100vh - 76px); max-height: 900px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(8,8,8,.90) 0%, rgba(8,8,8,.72) 50%, rgba(8,8,8,.55) 100%); }
  .hero-copy { display: block; }
  .hero h1 { font-size: 52px; margin-top: 22px; }
  .lead { font-size: 18.5px; margin-top: 18px; }
  .eyebrow { font-size: 12.5px; padding: 9px 18px; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 16px 22px; margin-top: 30px; }
  .benefits li { font-size: 16.5px; }
  .hero-copy > h1, .hero-copy > .lead, .hero-copy > .benefits { margin-left: 0; }
  .hero-copy > h1 { margin-top: 22px; }
  .hero-copy > .lead { margin-top: 18px; }
  .hero-copy > .benefits { margin-top: 30px; }
  .rating-badge { margin-top: 28px !important; }

  .quote-card { padding: 32px 34px 24px; border-radius: 24px; }
  .step-title { font-size: 29px; }
  .step-hint { font-size: 15.5px; }
  .options { gap: 16px; margin-top: 22px; }
  .option { min-height: 84px; padding: 14px 18px; gap: 14px; }
  .option-icon { width: 46px; height: 46px; }
  .option-text { font-size: 17px; }
  .option-text small { font-size: 13.5px; }

  .section { padding: 84px 0; }
  .section h2 { font-size: 38px; }
  .final-inner h2 { font-size: 38px; }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 28px; }
}
@media (min-width: 1200px) { .hero h1 { font-size: 58px; } .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); } }
