/* RF Renovations — site styles */
:root {
  --red: #ba2530; --red-dark: #941c25; --ink: #1d1d1d; --ink-2: #2b2b2b;
  --paper: #ffffff; --stone: #f5f3f0; --line: #e5e1dc; --muted: #5d5853;
  --ok: #1e7a46; --ok-bg: #e8f5ee; --warn: #8a5300; --warn-bg: #fdf3e2; --wa: #1f9d55;
  --radius: 10px; --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 24px rgba(0,0,0,.06);
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.1; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.eyebrow { font: 600 .85rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .8rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.4em;
  background: var(--red); color: #fff; border: 2px solid var(--red); border-radius: 999px; font: 600 1rem/1.1 var(--body);
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.btn.small { min-height: 38px; padding: .45em 1em; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--stone); border-color: var(--stone); }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: #17824a; border-color: #17824a; }
.btn[disabled] { opacity: .55; cursor: wait; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--ink); color: #fff; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--red); color: #fff; font: 700 1.25rem/1 var(--head);
  letter-spacing: .02em; clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%); }
.brand-text { font: 700 1.35rem/1 var(--head); letter-spacing: .02em; }
.brand-text small { display: block; font: 500 .78rem/1.3 var(--body); color: #f0b8bc; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #eee; text-decoration: none; font-weight: 500; padding: 10px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav a.cta { background: var(--red); color: #fff; margin-left: 6px; border-radius: 999px; padding: 10px 18px; }
.nav a.cta:hover { background: var(--red-dark); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 8px; min-height: 44px; padding: 0 14px; font: 600 1rem var(--body); }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; border-top: 1px solid #333; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.1rem; }
  .nav a.cta { margin: 8px 0 0; text-align: center; }
}

/* hero */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -8%; top: 0; bottom: 0; width: 46%; background: var(--red); transform: skewX(-14deg); transform-origin: top; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; padding: 72px 0 80px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #f3c6c9; }
.hero .lead { font-size: 1.2rem; color: #ddd; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .logo-art { justify-self: center; width: min(260px, 70%); filter: drop-shadow(0 12px 30px rgba(0,0,0,.35)); }
.hero .trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #ccc; font-size: .95rem; }
.hero .trust span::before { content: "✓ "; color: #f3c6c9; font-weight: 700; }
@media (max-width: 800px) {
  .hero::after { width: 30%; right: -16%; }
  .hero .wrap { grid-template-columns: 1fr; padding: 48px 0 56px; }
  .hero .logo-art { display: none; }
}

/* sections */
.section { padding: 72px 0; }
.section.alt { background: var(--stone); }
.section.dark { background: var(--ink); color: #fff; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .3em; }
.card.pad-xl { padding: 48px 28px; }
.svc { position: relative; padding-top: 64px; }
.svc .ico { position: absolute; top: 22px; left: 24px; width: 30px; height: 30px; color: var(--red); }
.svc p { color: var(--muted); margin: 0; }
.svc a { font-weight: 600; }
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--red); box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: block; font: 700 2.4rem/1 var(--head); color: var(--red); margin-bottom: 8px; }
.steps strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.steps p { color: var(--muted); margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.promise { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.promise li { padding-left: 34px; position: relative; }
.promise li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }
.promise b { display: block; }
.band { background: var(--red); color: #fff; padding: 48px 0; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band h2 { margin: 0; color: #fff; }
.band p { margin: .3em 0 0; color: #fde; }

/* reviews */
.reviews { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.review .stars { color: #e0a100; letter-spacing: 2px; font-size: 1.1rem; }
.review blockquote { margin: 10px 0 16px; font-size: 1.05rem; flex: 1; }
.review figcaption { font-weight: 600; }
.review figcaption small { display: block; font-weight: 400; color: var(--muted); }

/* projects */
.projects { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.project { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.project .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.project .ba.one { grid-template-columns: 1fr; }
.project figure { margin: 0; position: relative; aspect-ratio: 4/3; background: var(--stone); }
.project figure img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.project figcaption { position: absolute; left: 8px; top: 8px; background: rgba(29,29,29,.82); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.project figure.after figcaption { background: var(--red); }
.project .info { padding: 18px 20px 22px; }
.project .info h3 { margin-bottom: .2em; }
.project .meta { color: var(--muted); font-size: .92rem; margin-bottom: .5em; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; place-items: center; z-index: 100; padding: 16px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 6px; }
.lightbox button { position: absolute; top: 14px; right: 14px; min-width: 48px; min-height: 48px; border-radius: 50%; border: 0; background: #fff; font-size: 1.4rem; cursor: pointer; }

/* forms */
.form { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form .full, .form fieldset { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 600; font-size: .98rem; }
label .hint { font-weight: 400; color: var(--muted); font-size: .88rem; }
input, select, textarea { width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink); background: #fff; border: 1.5px solid #cfc9c2; border-radius: 8px; padding: 12px 14px; min-height: 48px; }
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 3px solid rgba(186,37,48,.25); outline-offset: 0; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; margin-bottom: 8px; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; border: 1.5px solid #cfc9c2; border-radius: 999px; padding: 10px 16px; cursor: pointer; font-weight: 500; min-height: 46px; }
.choice input { width: auto; min-height: 0; accent-color: var(--red); }
.choice label:has(input:checked) { border-color: var(--red); background: #fbecee; }
.check { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; }
.check input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.drop { border: 2px dashed #cfc9c2; border-radius: var(--radius); padding: 22px; text-align: center; background: var(--stone); cursor: pointer; }
.drop.over { border-color: var(--red); background: #fbecee; }
.drop input { display: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; justify-content: center; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
.notice { padding: 14px 16px; border-radius: 8px; margin: 0 0 16px; }
.notice.ok { background: var(--ok-bg); color: var(--ok); }
.notice.err { background: #fbecee; color: var(--red-dark); }
.notice.warn { background: var(--warn-bg); color: var(--warn); }
.success { text-align: center; padding: 40px 24px; }
.success .big-tick { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 2.2rem; }

/* booking */
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.days button { flex: none; scroll-snap-align: start; min-width: 84px; min-height: 72px; border: 1.5px solid #cfc9c2; background: #fff; border-radius: 10px; font: 600 .95rem/1.2 var(--body); cursor: pointer; }
.days button small { display: block; font-weight: 400; color: var(--muted); }
.days button.on { border-color: var(--red); background: var(--red); color: #fff; }
.days button.on small { color: #fde; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin: 14px 0 6px; }
.times button { min-height: 48px; border: 1.5px solid #cfc9c2; background: #fff; border-radius: 8px; font: 600 1rem var(--body); cursor: pointer; }
.times button.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.chosen { font-weight: 600; color: var(--ok); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; padding: 16px 32px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* page header */
.page-head { background: var(--ink); color: #fff; padding: 56px 0 48px; border-bottom: 6px solid var(--red); }
.page-head h1 { color: #fff; margin-bottom: .2em; }
.page-head p { color: #ccc; font-size: 1.15rem; max-width: 40em; margin: 0; }

/* footer */
.site-footer { background: #141414; color: #bbb; padding: 56px 0 28px; font-size: .97rem; }
.site-footer a { color: #eee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font: 700 1.1rem var(--head); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-base { border-top: 1px solid #2a2a2a; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; color: #888; }
.foot-base a { color: #aaa; }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 8px; background: var(--wa); color: #fff; border-radius: 999px; padding: 12px 18px 12px 14px; font-weight: 600; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { background: #17824a; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* preview banner */
.preview-banner { background: #ffe9a8; color: #4a3b00; text-align: center; font-size: .9rem; padding: 6px 12px; }

/* ---------- client job page ---------- */
.jobpage { background: var(--stone); }
.job { padding: 32px 0 80px; }
.job h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.job .card { margin: 18px 0; }
.job h2 { font-size: 1.6rem; }
.stepper { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.stepper li { display: grid; justify-items: center; text-align: center; gap: 6px; position: relative; font-size: .85rem; color: var(--muted); }
.stepper li::before { content: ""; position: absolute; top: 17px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.now::before { background: var(--red); }
.stepper .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--line); font-weight: 700; position: relative; z-index: 1; }
.stepper li.done .dot { background: var(--red); border-color: var(--red); color: #fff; }
.stepper li.now .dot { border-color: var(--red); color: var(--red); box-shadow: 0 0 0 5px rgba(186,37,48,.15); }
.stepper li.now { color: var(--ink); font-weight: 700; }
@media (max-width: 520px) { .stepper .lbl { font-size: .72rem; line-height: 1.2; } }
.stage-now { font-size: 1.1rem; }
.from-owner { background: #fbecee; border-left: 4px solid var(--red); padding: 14px 16px; border-radius: 0 8px 8px 0; margin: 12px 0; }
.dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0 0; }
.dates div { background: var(--stone); border-radius: 8px; padding: 12px 14px; }
.dates dt { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.dates dd { margin: 2px 0 0; font-weight: 700; font-size: 1.05rem; }
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.doc { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.doc.attn { border-color: #e7b3b7; background: #fffafa; }
.doc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.doc-head .amt { margin-left: auto; font-weight: 700; font-size: 1.15rem; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 8px; font-size: .92rem; }
.tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 4px; background: var(--stone); color: var(--ink); }
.tag-quote { background: #e9eef8; color: #24427a; }
.tag-change_order { background: var(--warn-bg); color: var(--warn); }
.tag-invoice { background: #fbecee; color: var(--red-dark); }
.pill { font-size: .85rem; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.approve { margin-top: 12px; display: grid; gap: 10px; }
.approve .row { display: flex; gap: 8px; }
.approve .row input { flex: 1; }
.pay { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.etransfer { background: var(--stone); border-radius: 8px; padding: 12px 14px; font-size: .95rem; }
.copy { font-weight: 700; border-bottom: 1px dashed currentColor; cursor: copy; word-break: break-all; }
.copy.copied::after { content: " ✓ copied"; color: var(--ok); font-weight: 600; }
.totals { margin-top: 14px; font-size: 1.05rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 16px 12px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--red); border: 3px solid #fff; }
.timeline time { font-size: .82rem; color: var(--muted); }
.timeline p { margin: 2px 0 0; }
.card.highlight, .panel.highlight { border: 2px solid var(--red); }

/* Instagram */
.insta { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 326px), 1fr)); align-items: start; }
.insta .instagram-media, .insta iframe { margin: 0 !important; min-width: 0 !important; max-width: 100% !important; width: 100% !important; border-radius: 12px !important; }
.insta blockquote.instagram-media { background: #fff; border: 1px solid rgba(0,0,0,.1); padding: 24px; text-align: center; }
.ico-i { width: 18px; height: 18px; vertical-align: -3px; }
.foot-insta { display: inline-flex; align-items: center; gap: 6px; }

/* Work with us */
.work-points { margin-bottom: 32px; }
.form h2.full { font-size: 1.25rem; margin: 10px 0 -4px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.08); }
.form h2.full:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form .choice label { font-size: .95rem; }
