/* Icon Remodeling offer pages. Structure mirrors the SlideMaster /book reference 1:1,
   brand follows remodel-icon.com: navy, deep navy, star yellow, cream, Inter + Noto Sans, pill buttons. */
:root {
  --navy: #2D476C;
  --navy-dark: #1B2B41;
  --yellow: #F9BC06;
  --cream: #FDFBF7;
  --bg: #F7F8FA;
  --card: #FFFFFF;
  --ink: #1B2B41;
  --body: #4A5568;
  --muted: #718096;
  --line: #E3E7ED;
  --track: #EEF1F5;
  --focus: rgba(45, 71, 108, .18);
  --err: #B42318;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, .q, .step-meta, .btn, .opt { font-family: "Inter", system-ui, sans-serif; }
img, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* header */
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top-in { max-width: 1120px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo img { height: 40px; width: auto; }
.phone { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-dark); font-family: "Inter", sans-serif; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; }
.phone svg { width: 18px; height: 18px; fill: currentColor; }

/* hero */
main { max-width: 720px; margin: 0 auto; padding: 28px 16px 24px; }
.hero { text-align: center; }
.pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--navy-dark); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.pill b { font-family: "Inter", sans-serif; font-weight: 700; }
.stars { display: inline-flex; gap: 1px; color: var(--yellow); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
h1 { margin: 16px auto 10px; max-width: 640px; font-weight: 800; font-size: clamp(28px, 5.4vw, 40px); line-height: 1.15; letter-spacing: -.02em; color: var(--navy-dark); }
h1 .area { color: var(--navy); background: linear-gradient(transparent 68%, rgba(249, 188, 6, .45) 68%); padding: 0 2px; }
.sub { max-width: 520px; margin: 0 auto; color: var(--body); font-size: 17px; }

/* form card */
.card { margin-top: 24px; background: var(--card); border-radius: 22px; box-shadow: 0 10px 30px -12px rgba(27, 43, 65, .18), 0 1px 3px rgba(27, 43, 65, .06); padding: 24px 20px 20px; }
@media (min-width: 640px) { .card { padding: 28px 32px 24px; } }
.step-meta { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--muted); }
.bar { height: 6px; margin: 10px 0 22px; background: var(--track); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--bar, var(--yellow)); border-radius: 999px; transition: width .35s ease; }
.q { font-size: clamp(21px, 4.4vw, 25px); font-weight: 700; line-height: 1.3; color: var(--navy-dark); letter-spacing: -.01em; }
.help { margin-top: 8px; color: var(--muted); font-size: 15px; }
.opts { display: grid; gap: 10px; margin-top: 20px; }
@media (min-width: 640px) { .opts.two { grid-template-columns: 1fr 1fr; } }
.opts.row { grid-template-columns: repeat(var(--n, 3), 1fr); }
.opt { text-align: left; min-height: 56px; padding: 14px 18px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; font-size: 16px; font-weight: 500; color: var(--ink); transition: border-color .15s, background .15s, transform .1s; }
.opts.row .opt { text-align: center; }
.opt:hover { border-color: var(--navy); background: #FAFBFD; }
.opt:active { transform: scale(.99); }
.opt.on { border-color: var(--navy); background: #F1F4F9; box-shadow: inset 0 0 0 1px var(--navy); }
.opt small { display: block; margin-top: 2px; font-family: "Noto Sans", sans-serif; font-size: 13px; font-weight: 400; color: var(--muted); }
.fields { display: grid; gap: 12px; margin-top: 20px; }
.fields .pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.fields input, .fields textarea, .fields select { width: 100%; min-height: 56px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; font: 16px "Noto Sans", sans-serif; color: var(--ink); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.fields textarea { min-height: 96px; resize: vertical; }
.fields select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='1.8' fill='none'/%3E%3C/svg%3E") no-repeat right 18px center; }
.fields select:invalid, .fields select option[value=""] { color: var(--muted); }
[hidden] { display: none !important; }
.fields input:focus, .fields textarea:focus, .fields select:focus { border-color: var(--navy); box-shadow: 0 0 0 4px var(--focus); }
.fields .bad { border-color: var(--err); }
.err { display: none; margin-top: 10px; color: var(--err); font-size: 14px; }
.err.show { display: block; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; margin-top: 16px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--btn-bg, var(--yellow)); color: var(--btn-fg, var(--navy-dark)); font-size: 17px; font-weight: 700; box-shadow: 0 12px 20px -8px var(--btn-glow, rgba(249, 188, 6, .55)); transition: filter .15s, transform .1s; }
.btn:hover { filter: brightness(.97); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: default; }
.fine { margin-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }
.back { display: inline-flex; align-items: center; gap: 4px; margin-top: 18px; padding: 4px 0; background: none; border: 0; color: var(--muted); font-size: 15px; }
.back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.back:hover { color: var(--navy-dark); }
.done { text-align: center; padding: 12px 0 8px; }
.done .ok { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #FEF6DC; display: grid; place-items: center; }
.done .ok svg { width: 30px; height: 30px; stroke: var(--navy-dark); fill: none; stroke-width: 2.5; }
.done p { margin-top: 10px; color: var(--body); }
.panel { animation: in .25s ease; }
@keyframes in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* trust row */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0 8px; text-align: center; }
.trust div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--navy-dark); line-height: 1.3; }
.trust svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 1.8; }
@media (min-width: 640px) { .trust div { flex-direction: row; justify-content: center; font-size: 14px; } }

/* proof videos */
.proof[hidden] { display: none; }
.proof { margin-top: 40px; text-align: center; }
.proof h2 { font-size: clamp(22px, 4.6vw, 28px); font-weight: 800; letter-spacing: -.02em; color: var(--navy-dark); }
.proof p { margin-top: 6px; color: var(--body); }
.rail { display: flex; gap: 12px; margin: 20px -16px 0; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.clip { position: relative; flex: 0 0 220px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--navy-dark); scroll-snap-align: start; }
.clip video, .clip img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.play svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--navy-dark); }
.clip.playing .play { display: none; }
.tag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; background: rgba(255, 255, 255, .95); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--navy-dark); font-family: "Inter", sans-serif; }
.tag svg { width: 12px; height: 12px; fill: var(--yellow); }

footer { padding: 28px 16px 40px; text-align: center; color: var(--muted); font-size: 13px; }
footer a { color: inherit; }

/* opt-in: sticky header and bottom dock (SITE.STICKY_HEADER / SITE.STICKY_CTA) */
.sticky-top .top { position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 8px rgba(16, 24, 40, .06); }
.sticky-top .card { scroll-margin-top: 84px; }
.dock { transition: opacity .3s, transform .3s; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16, 24, 40, .08); }
.dock a, .dock button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; font: 700 16px "Inter", sans-serif; text-decoration: none; }
.dock-call { border: 1.5px solid var(--navy); color: var(--navy-dark); background: #fff; }
.dock-call svg { width: 18px; height: 18px; fill: currentColor; }
.dock-book { border: 0; background: var(--btn-bg, var(--yellow)); color: var(--btn-fg, var(--navy-dark)); }
.has-dock footer { padding-bottom: 110px; }
@media (min-width: 900px) { .dock { left: auto; right: 24px; bottom: 24px; width: 420px; border: 1px solid var(--line); border-radius: 999px; padding: 8px; } .has-dock footer { padding-bottom: 40px; } }
body:not(.scrolled) .dock { opacity: 0; transform: translateY(100%); pointer-events: none; }

/* review badges (SITE.REVIEW_STRIP / SITE.FLOAT_REVIEW) */
.badges { margin: 24px calc(50% - 50vw) 0; padding: 16px 12px; background: var(--navy-dark); display: flex; justify-content: center; align-items: center; gap: 12px; }
.badges div { display: flex; align-items: center; gap: 6px; }
.badges img { width: auto; height: 22px !important; filter: brightness(0) invert(1); opacity: .6; }
.badges b { color: #fff; font: 800 14px "Inter", sans-serif; }
@media (min-width: 768px) { .badges { gap: 48px; } .badges div { gap: 10px; } .badges img { height: 36px !important; } .badges b { font-size: 20px; } }
.float-rev { position: fixed; left: 16px; bottom: 96px; z-index: 25; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; transform-origin: bottom left; transform: scale(.75); transition: opacity .3s, transform .3s; }
body:not(.scrolled) .float-rev { opacity: 0; transform: scale(.75) translateX(-120%); pointer-events: none; }
.fr-badge { width: 84px; height: auto; border-radius: 4px; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.fr-card { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; background: #fff; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); text-decoration: none; color: #1f2937; }
.fr-card > img { width: 32px; height: 32px; object-fit: contain; }
.fr-card .fr-top { display: flex; align-items: center; gap: 4px; }
.fr-card b { font: 700 14px "Inter", sans-serif; }
.fr-card .stars svg { width: 12px; height: 12px; }
.fr-card small { display: block; font-size: 11px; color: #6b7280; line-height: 1.3; }
@media (min-width: 900px) { .float-rev { bottom: 24px; transform: none; } body:not(.scrolled) .float-rev { transform: translateX(-120%); } .fr-badge { width: 120px; } }


/* tap-to-enlarge */
.clip.loop, .clip:not(:has(video)) { cursor: zoom-in; }
.zoom { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.zoom svg { width: 16px; height: 16px; fill: none; stroke: var(--navy-dark); stroke-width: 2; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10, 16, 26, .94); display: flex; align-items: center; justify-content: center; }
.lb-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 12px 64px; }
.lb-stage video, .lb-stage img { max-width: min(100%, 1200px); max-height: 100%; width: auto; height: auto; border-radius: 12px; background: #000; }
.lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; border-radius: 50%; width: 44px; height: 44px; font-size: 28px; line-height: 1; display: grid; place-items: center; }
.lb button:hover { background: rgba(255, 255, 255, .26); }
.lb-x { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; margin-top: -22px; }
.lb-next { right: 12px; top: 50%; margin-top: -22px; }
.lb-cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); font: 500 14px "Inter", sans-serif; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 10px; margin: 0; } .lb-prev { left: 16px; } .lb-next { right: 16px; } }

/* before/after text is burned into the bottom-left of the clips, so labels on looping media sit on top */
.clip.loop .tag { top: 10px; bottom: auto; }

/* Brotherly Lights: no phone yet = full-width book button */
.dock.no-call { grid-template-columns: 1fr; }
.logo img { height: 64px; }
