/* RR Renovations — preview site. One family (Archivo) used at two widths: wide + heavy for signage-style headings, normal for reading. */
:root {
  --ink: #13283f;        /* navy from the R&R logo */
  --roof: #e5701a;       /* the logo's roof orange — calls to action only */
  --roof-dark: #c25a0c;
  --paper: #ffffff;
  --concrete: #edf0f3;   /* poured-slab grey for quiet bands */
  --slate: #4e5a69;      /* body text on white */
  --line: #d6dce3;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Archivo', system-ui, sans-serif; font-variation-settings: 'wdth' 100; font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--roof); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* headings: wide, heavy, tight — like the lettering on a job-site truck */
h1, h2, h3 { font-variation-settings: 'wdth' 118; font-weight: 800; line-height: 1.04; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.75rem); }
h3 { font-size: 1.28rem; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: 1.15rem; color: var(--slate); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 6px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-call { background: var(--roof); color: #fff; }
.btn-call:hover { background: var(--roof-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { text-decoration: none; font-weight: 600; color: var(--slate); white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.top-call { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.top-call .num { text-decoration: none; font-weight: 800; font-variation-settings: 'wdth' 112; font-size: 1.15rem; white-space: nowrap; }
.top-call .num small { display: block; font-weight: 500; font-size: .72rem; color: var(--slate); font-variation-settings: 'wdth' 100; }
@media (max-width: 980px) { .nav { display: none; } }
@media (max-width: 620px) { /* keep the header button on one line */
.top-call .btn { white-space: nowrap; }
.top-call .btn { display: none; } .brand img { height: 44px; } .top .wrap { min-height: 64px; } }

/* hero: the transformation itself is the hero */
.hero { padding: 44px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--slate); font-size: .95rem; margin: 0; }
.proof b, .proof .stars { white-space: nowrap; }
.proof b { color: var(--ink); }
.stars { color: var(--roof); letter-spacing: 2px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 28px; } .hero { padding-top: 24px; } }

/* before / after */
.ba { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; background: var(--concrete); user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 4px; margin-left: -2px; background: var(--roof); box-shadow: 0 0 0 1px rgba(255,255,255,.6); }
.ba .grip { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--roof); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(19,40,63,.35); }
.ba .grip svg { width: 26px; height: 26px; fill: #fff; }
.ba .tag { position: absolute; top: 14px; padding: 5px 11px; border-radius: 4px; background: rgba(19,40,63,.82); color: #fff; font-size: .82rem; font-weight: 700; }
.ba .tag.b { left: 14px; } .ba .tag.a { right: 14px; background: var(--roof); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.ba:focus-within .handle { outline: 3px solid var(--ink); }
.hero .ba { border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(19,40,63,.45); }
.ba-cap { margin: 10px 2px 0; font-size: .95rem; color: var(--slate); }

/* bands */
section { padding: 84px 0; }
.band-grey { background: var(--concrete); }
.band-ink { background: var(--ink); color: #fff; }
.band-ink .lede, .band-ink p { color: #c9d3de; }
.head { margin-bottom: 40px; }
.head p { margin-top: 14px; }

/* facts row (plain sentences, not cards) */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts p { margin: 0; color: var(--slate); font-size: .98rem; }
.facts b { display: block; color: var(--ink); font-size: 1.05rem; font-variation-settings: 'wdth' 110; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* two paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; }
.paths > div { padding: 36px; }
.paths > div + div { border-left: 2px solid var(--ink); }
.paths h3 { font-size: 1.6rem; margin-bottom: 8px; }
.paths ul { list-style: none; padding: 0; margin: 18px 0 26px; columns: 2; column-gap: 24px; }
.paths li { padding: 6px 0 6px 22px; position: relative; break-inside: avoid; }
.paths li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 10px; height: 2px; background: var(--roof); }
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } .paths > div + div { border-left: 0; border-top: 2px solid var(--ink); } }
@media (max-width: 480px) { .paths ul { columns: 1; } .paths > div { padding: 26px; } }

/* projects */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
@media (max-width: 760px) { .projects { grid-template-columns: 1fr; } }

/* steps — a real sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { list-style: none; padding: 0 26px 0 0; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); display: block; font-variation-settings: 'wdth' 125; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--roof); margin-bottom: 14px; }
.steps ol { padding: 0; margin: 0; display: contents; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--slate); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 30px 0; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* investors band */
.inv { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.inv ul { padding: 0; margin: 24px 0 30px; list-style: none; }
.inv li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.16); color: #e7edf3; }
.inv li b { color: #fff; }
.quote { margin: 0; padding: 28px 30px; border-left: 4px solid var(--roof); background: rgba(255,255,255,.06); border-radius: 0 8px 8px 0; }
.quote p { color: #fff; font-size: 1.12rem; line-height: 1.55; }
.quote footer { color: #c9d3de; font-size: .92rem; }
@media (max-width: 860px) { .inv { grid-template-columns: 1fr; gap: 30px; } }

/* reviews */
.reviews { columns: 3 300px; column-gap: 28px; }
.review { break-inside: avoid; margin: 0 0 28px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.review p { color: var(--ink); }
.review footer { color: var(--slate); font-size: .92rem; }

/* ronnie / call band */
.callband { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.callband .big { font-variation-settings: 'wdth' 125; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.4rem); text-decoration: none; color: #fff; white-space: nowrap; }
@media (max-width: 760px) { .callband { grid-template-columns: 1fr; } }

/* area */
.areas { display: flex; flex-wrap: wrap; gap: 10px 10px; padding: 0; margin: 20px 0 0; list-style: none; }
.areas li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .95rem; background: #fff; }

/* form */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; }
form.est { display: grid; gap: 16px; }
.est label { font-weight: 700; font-size: .95rem; display: grid; gap: 6px; }
.est input, .est textarea, .est select { font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid #b9c3cf; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.est textarea { min-height: 112px; resize: vertical; }
.est input:focus, .est textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(229,112,26,.35); }
.est .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.est .hp { position: absolute; left: -5000px; }
.est .msg { min-height: 1.4em; margin: 0; font-weight: 600; }
.est .msg.ok { color: #1c7a43; } .est .msg.err { color: #b4261b; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 480px) { .est .row2 { grid-template-columns: 1fr; } }

/* footer */
.foot { background: #0d1d2e; color: #b7c3d0; padding: 48px 0 36px; font-size: .95rem; }
.foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.foot a { color: #fff; text-decoration: none; }
.foot h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot .fine { grid-column: 1 / -1; max-width: none; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: .85rem; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } }

/* mobile call bar */
.callbar { display: none; }
@media (max-width: 620px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); }
  .callbar a { min-height: 58px; display: grid; place-items: center; font-weight: 800; text-decoration: none; }
  .callbar a:first-child { background: var(--roof); color: #fff; }
  body { padding-bottom: 58px; }
  /* keep Ronnie's chat bubble above the call bar */
  .rw-bubble { bottom: 74px !important; right: 14px !important; }
  .rw-panel { bottom: 142px !important; }
}

/* sub-page hero */
.subhero { padding: 54px 0 40px; border-bottom: 1px solid var(--line); }
.subhero p { margin-top: 16px; }
.crumb { font-size: .9rem; color: var(--slate); margin-bottom: 14px; }
.crumb a { text-decoration: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 22px; width: 12px; height: 2px; background: var(--roof); }

/* ───── V2: premium remodel direction ───── */
.p-hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: #fff; padding: 0; overflow: hidden; }
.p-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,36,.86) 0%, rgba(10,22,36,.55) 48%, rgba(10,22,36,.08) 100%), linear-gradient(0deg, rgba(10,22,36,.55), rgba(10,22,36,0) 45%); }
.p-hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 72px; width: 100%; }
.p-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 700; font-variation-settings: 'wdth' 112; max-width: 15ch; }
.p-hero .lede { color: #dbe3ec; max-width: 46ch; margin-top: 20px; font-size: 1.18rem; }
.p-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.p-hero .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); }
.p-hero .btn-ghost:hover { background: #fff; color: var(--ink); }
.p-hero .proof { color: #dbe3ec; margin-top: 26px; }
.p-hero .proof b { color: #fff; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trio a { text-decoration: none; display: block; }
.trio .ph { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--concrete); }
.trio .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.trio a:hover .ph img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .trio .ph img { transition: none; } }
.trio h3 { font-size: 1.45rem; margin: 18px 0 6px; font-weight: 700; }
.trio p { color: var(--slate); margin: 0; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } .trio .ph { aspect-ratio: 16 / 10; } }

.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reel { margin: 0; }
.reel .frame { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #0d1d2e; }
.reel iframe { width: 100%; height: 100%; border: 0; display: block; }
.reel figcaption { margin-top: 10px; font-weight: 600; }
.reel figcaption span { display: block; font-weight: 400; color: var(--slate); font-size: .94rem; }
@media (max-width: 900px) { .reels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .reels { grid-template-columns: 1fr; } .reel .frame { max-width: 360px; } }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; padding: 0; margin: 0; list-style: none; border-top: 2px solid var(--ink); }
.process li { padding: 22px 22px 0 0; }
.process li::before { counter-increment: s; content: counter(s); display: block; font-weight: 700; font-variation-settings: 'wdth' 125; font-size: 2.4rem; color: var(--roof); line-height: 1; margin-bottom: 12px; }
.process h3 { font-size: 1.12rem; margin-bottom: 6px; }
.process p { color: var(--slate); font-size: .96rem; margin: 0; }
@media (max-width: 960px) { .process { grid-template-columns: 1fr 1fr; gap: 26px 0; } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .ph { border-radius: 4px; overflow: hidden; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.est select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.minor { font-size: .95rem; color: var(--slate); }
.minor a { font-weight: 700; color: var(--ink); }

/* ───── V3: multi-page site (service + area pages, EN/ES) ───── */
.top-call .lang { font-weight: 700; font-size: .9rem; color: var(--slate); text-decoration: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.top-call .lang:hover { color: var(--ink); border-color: var(--ink); }
.nav { gap: 18px; }
@media (max-width: 1180px) { .nav { gap: 14px; font-size: .95rem; } }
@media (max-width: 1100px) { .top-call .num small { display: none; } }
@media (max-width: 620px) { .top-call .num { font-size: 1rem; } }
.subhero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.subhero h1 { max-width: 22ch; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cards a { text-decoration: none; display: block; }
.cards .ph { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--concrete); }
.cards .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cards a:hover .ph img { transform: scale(1.04); }
.cards h3 { font-size: 1.2rem; margin: 14px 0 6px; font-weight: 700; }
.cards a:hover h3 { text-decoration: underline; text-decoration-color: var(--roof); text-underline-offset: 4px; }
.cards p { color: var(--slate); margin: 0; font-size: .96rem; }
@media (prefers-reduced-motion: reduce) { .cards .ph img { transition: none; } }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } .cards .ph { aspect-ratio: 16 / 11; } }
.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.job { margin: 0; }
.job img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--concrete); }
.job figcaption { margin-top: 8px; font-size: .92rem; color: var(--slate); }
@media (max-width: 420px) { .jobs { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }
.faq { margin-top: 22px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 500; color: var(--roof); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--slate); margin: 0 0 18px; }
.areas li a { text-decoration: none; display: block; }
.areas li:has(a) { padding: 0; }
.areas li a { padding: 8px 14px; }
.areas li a:hover, .areas li a[aria-current] { color: var(--roof-dark); }
.callbig { margin: 14px 0 0; }
.callbig a { font-variation-settings: 'wdth' 125; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3rem); text-decoration: none; color: var(--ink); white-space: nowrap; }
.foot .wrap { grid-template-columns: 2fr 1.3fr 1fr 1fr; }
.foot .wrap > div ul { margin-top: 4px; }
@media (max-width: 900px) { .foot .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot .wrap { grid-template-columns: 1fr; } }
.brand { flex: none; }
.top-call .btn { white-space: nowrap; }
@media (max-width: 1460px) { .top-call .btn { display: none; } }
@media (max-width: 1240px) { .top .wrap { gap: 18px; } .nav { gap: 12px; font-size: .92rem; margin-left: 0; } }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 6px; padding: 7px 14px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav nav { position: absolute; left: 0; top: calc(100% + 10px); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 30px -12px rgba(19,40,63,.35); padding: 8px; display: grid; min-width: 220px; z-index: 60; }
.mnav nav a { padding: 11px 12px; text-decoration: none; font-weight: 600; border-radius: 6px; }
.mnav nav a:hover, .mnav nav a[aria-current] { background: var(--concrete); }
@media (max-width: 980px) { .mnav { display: block; } }
@media (max-width: 620px) { .top .wrap { gap: 12px; } .mnav summary { padding: 6px 10px; } .top-call { gap: 10px; } .top-call .lang { padding: 4px 9px; font-size: .82rem; } }
@media (max-width: 380px) { .top-call .lang { display: none; } }
