/* ==========================================================================
   Double R Plumbing — callrrplumbing.com
   Palette: Black #000 / Brand Orange #F47521 (matched to logo) / White #FFF
   Headlines: slab serif (Roboto Slab)  •  Body: Inter
   ========================================================================== */

:root {
  --orange: #F47521;
  --orange-dark: #d85f10;
  --black: #0a0a0a;
  --ink: #141414;
  --panel: #1a1a1a;
  --line: #2a2a2a;
  --white: #ffffff;
  --muted: #b8b8b8;
  --muted-dark: #6b6b6b;
  --maxw: 1300px;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --font-head: "Roboto Slab", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 18px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: var(--font-body); font-weight: 800; text-transform: uppercase;
  letter-spacing: .16em; font-size: .9rem; color: var(--orange);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--orange); border-radius: 2px; }
.section-head.center .eyebrow { justify-content: center; }
.section { padding: 88px 0; }
.section-head { max-width: 880px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); margin: 16px 0 16px; }
.section-head p { color: #444; font-size: 1.22rem; line-height: 1.55; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark .section-head p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(244,117,33,.35); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 8px 22px rgba(244,117,33,.45); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-lg { font-size: 1.12rem; padding: 18px 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 64px; width: auto; }
.brand .sr-brand { position: absolute; left: -9999px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: #eaeaea; font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: 6px 0; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--orange); transition: width .2s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.header-phone span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .68rem; color: var(--orange); text-transform: uppercase; letter-spacing: .12em; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (full-bleed background image) ---------- */
.hero {
  background: var(--black); color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; min-height: clamp(540px, 74vh, 700px);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.84) 34%, rgba(0,0,0,.5) 66%, rgba(0,0,0,.28) 100%),
    linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 42%);
}
.hero-inner { position: relative; z-index: 2; padding: 56px 0; width: 100%; }
.hero-copy { max-width: 680px; }
.hero h1 { font-size: clamp(2.7rem, 5.8vw, 4.9rem); margin: 18px 0 20px; letter-spacing: -.02em; }
.hero h1 .accent { color: var(--orange); }
.hero .lead { color: #eaeaea; font-size: 1.36rem; max-width: 620px; margin-bottom: 30px; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #eee;
}
.chip svg { color: var(--orange); flex-shrink: 0; }

/* ---------- Marquee trust strip ---------- */
.strip { background: var(--orange); color: #fff; }
.strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 16px 20px; }
.strip .item { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .95rem; }
.strip .item svg { flex-shrink: 0; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: #fff; border: 1px solid #ececec; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ddd; }
.svc-card .thumb { position: relative; aspect-ratio: 3/2; overflow: hidden; background: #eee; }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc-card:hover .thumb img { transform: scale(1.06); }
.svc-card .body { padding: 26px 24px 28px; }
.svc-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.svc-card p { color: #4a4a4a; font-size: 1.08rem; line-height: 1.55; }
.svc-card .tag {
  position: absolute; top: 12px; left: 12px; background: rgba(10,10,10,.82); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 10px; border-radius: 6px;
}
.svc-card .tag.hot { background: var(--orange); }

/* ---------- Backflow callout ---------- */
.callout { background: var(--ink); color: #fff; }
.callout-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 46px; align-items: center; }
.callout-media img { border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.callout h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); margin: 16px 0 18px; }
.callout p { color: #d8d8d8; margin-bottom: 16px; font-size: 1.2rem; line-height: 1.55; }
.check-list { list-style: none; display: grid; gap: 12px; margin: 20px 0 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: #eaeaea; font-size: 1.1rem; }
.check-list svg { color: var(--orange); flex-shrink: 0; margin-top: 3px; }

/* ---------- Why / About ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about-media .stamp {
  position: absolute; right: -12px; top: -12px; background: var(--orange); color: #fff;
  font-family: var(--font-head); font-weight: 800; padding: 12px 16px; border-radius: 12px; text-align: center; line-height: 1;
  box-shadow: var(--shadow);
}
.about-media .stamp b { font-size: 1.5rem; display: block; }
.about-media .stamp span { font-family: var(--font-body); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 24px; }
.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature .ico { width: 42px; height: 42px; border-radius: 10px; background: rgba(244,117,33,.12); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.feature h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.14rem; margin-bottom: 3px; }
.feature p { font-size: 1rem; color: #5a5a5a; }

/* ---------- Service area ---------- */
.area-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.town-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.town {
  background: #fff; color: var(--ink); border: 1px solid #e6e6e6; border-radius: 9px; padding: 12px 18px;
  font-weight: 600; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 8px;
}
.town svg { color: var(--orange); }
.county-note { margin-top: 22px; color: #555; font-size: 1.05rem; }
.area-card { background: var(--black); color: #fff; border-radius: 16px; padding: 38px; box-shadow: var(--shadow); }
.area-card h3 { font-size: 1.9rem; margin-bottom: 10px; }
.area-card p { color: var(--muted); margin-bottom: 18px; font-size: 1.1rem; }
.area-card .hours-row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.area-card .hours-row span:last-child { color: #fff; font-weight: 600; }
.area-card .emrow { color: var(--orange); font-weight: 700; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.review {
  background: #fff; border: 1px solid #ececec; border-radius: var(--radius); padding: 26px 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}
.stars { color: var(--orange); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 12px; }
.review p { font-size: 1.14rem; color: #2c2c2c; margin-bottom: 18px; font-style: italic; line-height: 1.55; }
.review .who { font-weight: 700; font-family: var(--font-head); font-size: 1.08rem; }
.review .where { color: var(--muted-dark); font-size: .85rem; }
.grating { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e6e6e6; border-radius: 999px; padding: 10px 20px; margin: 0 auto 8px; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.grating { padding: 12px 26px; }
.grating .num { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; }
.grating .stars { margin: 0; }

/* ---------- Real-work gallery ---------- */
.gallery-section { padding-bottom: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gal { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.gal:hover img { transform: scale(1.06); }
.gal figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 20px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0));
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: #fff;
}
.gal::after { content: ""; position: absolute; inset: 0; border: 0 solid var(--orange); transition: border-width .15s ease; pointer-events: none; }
.gal:hover::after { border-width: 4px; }

/* Reviews band gets a subtle tone for rhythm */
#reviews { background: #f6f6f6; }
#reviews .review { box-shadow: 0 6px 18px rgba(0,0,0,.06); }

/* ---------- Emergency band ---------- */
.emergency {
  position: relative; color: #fff; text-align: center; padding: 84px 0;
  background: linear-gradient(rgba(10,10,10,.55), rgba(10,10,10,.7)), url("../images/emergency-bg.jpg") center/cover no-repeat;
}
.emergency h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 14px; }
.emergency p { color: #e8e8e8; font-size: 1.15rem; max-width: 640px; margin: 0 auto 30px; }
.emergency .btn { }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 46px; }
.contact-info h3 { font-size: 1.95rem; margin-bottom: 8px; }
.contact-list { list-style: none; display: grid; gap: 18px; margin-top: 22px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { width: 46px; height: 46px; border-radius: 10px; background: var(--orange); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.contact-list .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-dark); font-weight: 700; }
.contact-list .val { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.contact-list .val a { color: var(--ink); }
.contact-list .val a:hover { color: var(--orange); }
.form-panel { background: #fff; border: 1px solid #e6e6e6; border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.form-panel h3 { font-size: 1.65rem; margin-bottom: 6px; }
.form-panel > p { color: #666; font-size: .95rem; margin-bottom: 20px; }
/* Fallback static form (shown until CRM embed is pasted in) */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #d8d8d8; border-radius: 9px;
  font-family: var(--font-body); font-size: 1rem; background: #fafafa;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted-dark); margin-top: 10px; }
.crm-embed-placeholder {
  border: 2px dashed var(--orange); border-radius: 12px; padding: 22px; background: #fff7f1;
  color: #8a4a1f; font-size: .9rem; text-align: center;
}

/* Embedded CRM (Wunder) form — upsize to match the site's inputs/buttons */
.form-panel .ls-form input:not([type="checkbox"]),
.form-panel .ls-form select {
  padding: 13px 14px !important; font-size: 1rem !important; border-radius: 10px !important;
  border-color: #d8d8d8 !important; background: #fafafa !important;
}
.form-panel .ls-form input:not([type="checkbox"]):focus,
.form-panel .ls-form select:focus { outline: 2px solid var(--orange); border-color: var(--orange) !important; background: #fff !important; }
.form-panel .ls-form label { font-size: .95rem !important; margin-bottom: 6px !important; }
.form-panel .ls-form > div { margin-bottom: 18px !important; }
.form-panel .ls-form input[type="checkbox"] + span { font-size: .82rem !important; }
.form-panel .ls-form button[type="submit"] {
  padding: 16px !important; font-size: 1.08rem !important; font-weight: 700 !important; border-radius: 10px !important;
  margin-top: 20px !important; box-shadow: 0 6px 18px rgba(244,117,33,.35); transition: background .2s ease, transform .12s ease;
}
.form-panel .ls-form button[type="submit"]:hover { background: var(--orange-dark) !important; }
.form-panel .ls-form button[type="submit"]:active { transform: translateY(1px); }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: #cfcfcf; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; }
.footer-grid img.flogo { height: 58px; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer p, .site-footer li { font-size: 1rem; line-height: 1.75; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a { color: #cfcfcf; }
.footer-links a:hover { color: var(--orange); }
.footer-contact { list-style: none; display: grid; gap: 12px; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact a:hover { color: var(--orange); }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 10px; background: #161616; display: grid; place-items: center; color: #fff; border: 1px solid var(--line); }
.socials a:hover { background: var(--orange); border-color: var(--orange); }
.footer-bottom { border-top: 1px solid #1e1e1e; 