/* Batter Board Home Repair — v3 Simple one-page sample. Split photo hero, numbered services, regional map. */
:root { --slate: #1d2a36; --slate-2: #2a3a49; --steel: #eef1f4; --ink: #17212b; --ink-2: #4a5866; --orange: #c2410c; --orange-d: #9a330a; --hi: #ff8a3d; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1.0625rem/1.6 "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3 { font-family: Archivo, "Arial Narrow", system-ui, sans-serif; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .6rem; }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); }
a { color: var(--orange-d); }
.r-wrap { width: min(1180px, 100% - 2.4rem); margin-inline: auto; }
.r-eyebrow { font: 700 .78rem Archivo, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin: 0 0 .7rem; }

.r-head { position: sticky; top: var(--banner-h, 3.8rem); z-index: 40; background: #fff; border-bottom: 1px solid #e2e7ec; }
.r-head-in { display: flex; justify-content: space-between; align-items: center; min-height: 62px; gap: 1rem; }
.r-logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; min-height: 44px; }
.r-logo svg { width: 38px; height: 38px; }
.r-logo span { font: 800 1.25rem/1 Archivo, sans-serif; letter-spacing: -.01em; }
.r-logo small { display: block; font: 500 .72rem/1.3 Archivo, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.r-phone { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1rem; border-radius: 8px; background: var(--slate); color: #fff; text-decoration: none; font: 700 1rem Archivo, sans-serif; white-space: nowrap; }
.r-phone svg { width: 18px; height: 18px; color: var(--hi); }
@media (max-width: 420px) { .r-phone span { font-size: .92rem; } .r-phone { padding: 0 .75rem; } }

.r-hero { display: grid; background: var(--slate); color: #fff; }
.r-hero-photo { position: relative; min-height: 300px; }
.r-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r-tagline { position: absolute; left: 1.2rem; bottom: 1.2rem; margin: 0; background: rgba(29, 42, 54, .88); padding: .5rem .8rem; border-left: 4px solid var(--hi); font: 700 .85rem Archivo, sans-serif; letter-spacing: .06em; }
.r-hero-panel { padding: 2.4rem 1.2rem 2.8rem; position: relative; }
.r-hero-panel .r-eyebrow { color: var(--hi); }
.r-hero h1 { font-size: clamp(2.5rem, 8vw, 4.6rem); }
.r-hero h1 span { color: var(--hi); display: block; }
.r-lede { color: #d8e0e8; font-size: 1.12rem; max-width: 34rem; }
.r-checks { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; display: grid; gap: .5rem; }
.r-checks li { display: flex; gap: .6rem; align-items: flex-start; }
.r-checks li::before { content: ""; flex: none; width: 1.3rem; height: 1.3rem; margin-top: .15rem; border-radius: 50%; background: var(--hi) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%231d2a36' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.r-btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.r-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.4rem; border-radius: 8px; background: var(--orange); color: #fff; font: 700 1rem Archivo, sans-serif; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.r-btn:hover { background: var(--orange-d); transform: translateY(-1px); }
.r-btn-line { background: transparent; border: 2px solid rgba(255, 255, 255, .55); }
.r-btn-line:hover { background: rgba(255, 255, 255, .1); }
@media (min-width: 900px) {
  .r-hero { grid-template-columns: 1fr 1.05fr; min-height: 620px; }
  .r-hero-photo { order: 2; clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); }
  .r-hero-panel { padding: 4rem 2rem 4rem max(1.2rem, calc((100vw - 1180px) / 2)); align-self: center; }
}

.r-services { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.r-sec-head { max-width: 40rem; margin-bottom: 2rem; }
.r-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: #dfe5ea; border: 1px solid #dfe5ea; border-radius: 16px; overflow: hidden; counter-reset: svc; }
.r-grid li { background: #fff; padding: 1.6rem 1.4rem; position: relative; counter-increment: svc; }
.r-grid li::after { content: "0" counter(svc); position: absolute; top: 1.2rem; right: 1.3rem; font: 800 1rem Archivo, sans-serif; color: #c3ccd5; }
.r-grid svg { width: 44px; height: 44px; fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .8rem; }
.r-grid h3 { font-size: 1.3rem; }
.r-grid p { margin: 0; color: var(--ink-2); }
@media (min-width: 640px) { .r-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .r-grid { grid-template-columns: repeat(3, 1fr); } }

.r-steps { background: var(--steel); padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.r-line { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.r-line li { border-top: 4px solid var(--slate); padding-top: 1rem; position: relative; }
.r-line li::before { content: ""; position: absolute; top: -10px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--hi); border: 3px solid var(--steel); }
.r-line b { font: 800 2.4rem/1 Archivo, sans-serif; color: #c3ccd5; display: block; margin: .4rem 0; }
.r-line h3 { font-size: 1.25rem; }
.r-line p { margin: 0; color: var(--ink-2); }
@media (min-width: 860px) { .r-line { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.r-work { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.r-work-in { display: grid; gap: 2rem; align-items: center; }
.r-work-img { margin: 0; }
.r-work-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: 18px 18px 0 var(--steel); }
.r-work-copy p { color: var(--ink-2); }
.r-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.4rem 0 0; }
.r-facts div { background: var(--steel); border-radius: 10px; padding: .8rem; }
.r-facts dt { font-size: .82rem; color: var(--ink-2); }
.r-facts dd { margin: 0; font: 800 1.2rem Archivo, sans-serif; }
@media (min-width: 860px) { .r-work-in { grid-template-columns: .8fr 1fr; gap: 4rem; } }

.r-area { background: var(--slate); color: #e5ebf0; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.r-area h2 { color: #fff; }
.r-area .r-eyebrow { color: var(--hi); }
.r-area-in { display: grid; gap: 2rem; align-items: center; }
.r-towns { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.r-towns li { border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: .3rem .8rem; font-weight: 600; }
.r-hours { border-collapse: collapse; width: 100%; max-width: 24rem; margin-top: 1rem; }
.r-hours caption { text-align: left; font: 700 .78rem Archivo, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--hi); padding-bottom: .4rem; }
.r-hours th, .r-hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid rgba(255, 255, 255, .15); font-weight: 400; }
.r-hours td { text-align: right; font-weight: 700; color: #fff; }
.r-map { border-radius: 16px; overflow: hidden; border: 6px solid var(--slate-2); }
.r-map svg { width: 100%; height: auto; }
@media (min-width: 900px) { .r-area-in { grid-template-columns: 1fr 1.25fr; gap: 3.5rem; } }

.r-reviews { padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.r-review-slot { border: 2px dashed #c3ccd5; border-radius: 16px; padding: 1.6rem; text-align: center; }
.r-review-slot h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
.r-review-slot p { margin: 0 auto; max-width: 36rem; color: var(--ink-2); }

.r-cta { padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.r-cta-in { background: linear-gradient(120deg, var(--orange) 0%, #a5380b 100%); color: #fff; border-radius: 20px; padding: 2.4rem 1.6rem; text-align: center; position: relative; overflow: hidden; }
.r-cta-in::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.r-cta h2 { color: #fff; }
.r-cta p { color: #ffe8da; margin: 0 0 1.3rem; }
.r-btn-big { background: var(--slate); font-size: 1.4rem; min-height: 60px; padding: 0 2rem; }
.r-btn-big:hover { background: #0f1820; }

.r-foot { background: var(--ink); color: #c9d3dc; text-align: center; padding: 2rem 0 6rem; font-size: .95rem; }
.r-foot p { margin: .3rem 0; }
.r-foot a { color: var(--hi); display: inline-block; padding: .7rem 0; }
.r-sticky { position: fixed; left: .8rem; right: .8rem; bottom: .8rem; z-index: 45; display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 12px; background: var(--orange); color: #fff; font: 800 1.05rem Archivo, sans-serif; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
@media (max-width: 759px) {
  html.js .r-sticky { transform: translateY(calc(100% + 1.6rem)); pointer-events: none; visibility: hidden; }
  html.js .r-sticky.is-on { transform: none; pointer-events: auto; visibility: visible; }
}
@media (min-width: 760px) { .r-sticky { display: none; } .r-foot { padding-bottom: 2.4rem; } }
@media (prefers-reduced-motion: no-preference) and (max-width: 759px) { html.js .r-sticky { transition: transform .35s ease; } }

@media (prefers-reduced-motion: no-preference) {
  .tr-ring { animation: ring 30s linear infinite; transform-origin: 320px 220px; }
  @keyframes ring { to { transform: rotate(360deg); } }
}
