/* Ramona Valley Water Damage Restoration - Custom Static Stylesheet */
:root {
  --rv-dark: #0F292E;
  --rv-teal: #145C63;
  --rv-teal-soft: #E8F3F4;
  --rv-cta: #B84A0F;
  --rv-cta-hover: #963B0A;
  --rv-sand: #F7F6F2;
  --rv-white: #FFFFFF;
  --rv-border: #D6E0E2;
  --rv-ink: #1B282B;
  --rv-muted: #495B5F;
  --rv-radius: 10px;
  --rv-shadow: 0 6px 22px rgba(15, 41, 46, 0.08);
  --rv-serif: Georgia, 'Times New Roman', serif;
  --rv-sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--rv-sans);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--rv-ink);
  background: var(--rv-sand);
  padding-bottom: 64px;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rv-teal); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--rv-cta); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--rv-cta);
  outline-offset: 2px;
}

.rv-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--rv-dark); color: var(--rv-white); padding: 10px 16px; z-index: 999;
}
.rv-skip:focus { left: 10px; top: 10px; }

.rv-shell { width: min(1160px, 92%); margin-inline: auto; }
.rv-shell-narrow { width: min(860px, 92%); margin-inline: auto; }

/* Top Utility Bar */
.rv-topbar {
  background: var(--rv-dark);
  color: #E3ECEE;
  font-size: 0.88rem;
  padding: 8px 0;
}
.rv-topbar-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px;
}
.rv-topbar a { color: #FFD7BA; font-weight: 600; text-decoration: none; }
.rv-topbar a:hover { text-decoration: underline; }

/* Header & Nav */
.rv-header {
  background: var(--rv-white);
  border-bottom: 1px solid var(--rv-border);
  position: sticky; top: 0; z-index: 50;
}
.rv-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 0;
}
.rv-brand { display: inline-flex; align-items: center; text-decoration: none; }
.rv-brand img { height: 42px; width: auto; }

.rv-nav-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--rv-sand); border: 1px solid var(--rv-border); border-radius: 8px;
  padding: 8px 12px; font-weight: 600; color: var(--rv-dark); cursor: pointer;
}
.rv-nav {
  display: none;
  flex-direction: column;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--rv-white);
  border-bottom: 2px solid var(--rv-border);
  padding: 16px 4%;
  gap: 10px;
  box-shadow: var(--rv-shadow);
}
.rv-nav.is-open { display: flex; }
.rv-nav a {
  text-decoration: none; font-weight: 600; color: var(--rv-dark);
  padding: 6px 4px;
}
.rv-nav a:hover { color: var(--rv-cta); }

.rv-nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rv-cta); color: var(--rv-white) !important;
  padding: 10px 18px !important; border-radius: 8px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
}
.rv-nav-cta:hover { background: var(--rv-cta-hover); }

@media (min-width: 960px) {
  .rv-nav-toggle { display: none; }
  .rv-nav {
    display: flex; position: static; flex-direction: row; align-items: center;
    background: transparent; border: 0; padding: 0; box-shadow: none; gap: 22px;
  }
}

/* Breadcrumbs */
.rv-crumbs {
  background: var(--rv-white);
  border-bottom: 1px solid var(--rv-border);
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--rv-muted);
}
.rv-crumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.rv-crumbs li + li::before { content: "/"; margin-right: 6px; color: #8FA2A6; }

/* Hero */
.rv-hero {
  background: linear-gradient(135deg, #0F292E 0%, #14444B 100%);
  color: var(--rv-white);
  padding: 52px 0;
}
.rv-hero-grid {
  display: grid; gap: 32px; align-items: center;
}
@media (min-width: 900px) {
  .rv-hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}
.rv-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  color: #FFE0C7;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--rv-serif); line-height: 1.24; color: var(--rv-dark); margin-top: 0; }
.rv-hero h1 { color: var(--rv-white); font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-bottom: 16px; }
.rv-hero p { color: #E4EFF1; font-size: 1.05rem; margin-bottom: 20px; }
.rv-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }

.rv-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--rv-cta); color: var(--rv-white);
  padding: 14px 24px; border-radius: 8px; font-weight: 700; font-size: 1.02rem;
  text-decoration: none; border: 0; cursor: pointer;
}
.rv-btn-primary:hover { background: var(--rv-cta-hover); color: var(--rv-white); }
.rv-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--rv-white);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 12px 20px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.rv-btn-secondary:hover { background: rgba(255,255,255,0.12); color: var(--rv-white); }
.rv-btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rv-white); color: var(--rv-teal);
  border: 2px solid var(--rv-teal);
  padding: 11px 18px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.rv-btn-outline:hover { background: var(--rv-teal); color: var(--rv-white); }

.rv-hero-media {
  border-radius: 14px; overflow: hidden;
  border: 3px solid rgba(255,255,255,0.18);
  box-shadow: 0 14px 36px rgba(0,0,0,0.28);
}
.rv-hero-media img { width: 100%; object-fit: cover; }

.rv-trust-strip {
  display: flex; flex-wrap: wrap; gap: 14px 24px;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 0.9rem; color: #D4E6E9;
}

/* Sections */
.rv-section { padding: 54px 0; }
.rv-section-alt { background: var(--rv-white); border-top: 1px solid var(--rv-border); border-bottom: 1px solid var(--rv-border); }
.rv-section-head { max-width: 760px; margin-bottom: 28px; }
.rv-section-head h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); margin-bottom: 10px; }
.rv-section-head p { color: var(--rv-muted); margin: 0; }

/* Direct Answer / Featured Snippet Box */
.rv-answer-box {
  background: var(--rv-teal-soft);
  border-left: 5px solid var(--rv-teal);
  border-radius: 0 var(--rv-radius) var(--rv-radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.rv-answer-box strong { color: var(--rv-dark); }

/* Grids & Cards */
.rv-grid { display: grid; gap: 22px; }
.rv-grid-2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.rv-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rv-grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.rv-card {
  background: var(--rv-white);
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  padding: 22px;
  box-shadow: var(--rv-shadow);
  display: flex; flex-direction: column;
}
.rv-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.rv-card p { margin: 0 0 14px; color: var(--rv-muted); }
.rv-card-link { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--rv-teal); }
.rv-card-link:hover { color: var(--rv-cta); text-decoration: underline; }

/* Media Split */
.rv-split { display: grid; gap: 30px; align-items: center; }
@media (min-width: 820px) { .rv-split { grid-template-columns: 1fr 1fr; } }
.rv-figure { margin: 0; border-radius: var(--rv-radius); overflow: hidden; border: 1px solid var(--rv-border); background: var(--rv-white); }
.rv-figure figcaption { padding: 10px 14px; font-size: 0.86rem; color: var(--rv-muted); background: var(--rv-sand); }

/* Process Steps */
.rv-steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rv-step {
  background: var(--rv-white); border: 1px solid var(--rv-border); border-radius: var(--rv-radius);
  padding: 22px; position: relative;
}
.rv-step::before {
  counter-increment: step; content: "0" counter(step);
  display: inline-block; font-weight: 800; font-size: 0.85rem;
  color: var(--rv-white); background: var(--rv-teal);
  padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}

/* Tables */
.rv-table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--rv-border); border-radius: var(--rv-radius); background: var(--rv-white); }
.rv-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; text-align: left; }
.rv-table th { background: var(--rv-dark); color: var(--rv-white); padding: 12px 14px; font-weight: 600; }
.rv-table td { padding: 12px 14px; border-top: 1px solid var(--rv-border); vertical-align: top; }
.rv-table tr:nth-child(even) td { background: #FAFBFA; }

/* Brand Pills */
.rv-pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 16px 0 0; }
.rv-pill-list li {
  background: var(--rv-white); border: 1px solid var(--rv-border);
  border-radius: 999px; padding: 7px 14px; font-size: 0.92rem; font-weight: 600; color: var(--rv-dark);
}

/* FAQ Accordion */
.rv-faq-list { display: grid; gap: 12px; }
.rv-faq-item {
  background: var(--rv-white); border: 1px solid var(--rv-border); border-radius: var(--rv-radius);
  overflow: hidden;
}
.rv-faq-q {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 18px 20px; font-size: 1.04rem; font-weight: 700; color: var(--rv-dark);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.rv-faq-q::after { content: "+"; font-size: 1.35rem; color: var(--rv-teal); font-weight: 700; flex-shrink: 0; }
.rv-faq-item.is-open .rv-faq-q::after { content: "−"; }
.rv-faq-a { padding: 0 20px 18px; color: var(--rv-muted); display: none; }
.rv-faq-item.is-open .rv-faq-a { display: block; }

/* Calculator & Forms */
.rv-form-card {
  background: var(--rv-white); border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius); padding: 26px; box-shadow: var(--rv-shadow);
}
.rv-field { margin-bottom: 16px; }
.rv-field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--rv-dark); font-size: 0.95rem; }
.rv-field input, .rv-field select, .rv-field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #B7C6C9; border-radius: 8px;
  font: inherit; color: var(--rv-ink); background: var(--rv-white);
}
.rv-calc-result {
  background: var(--rv-dark); color: var(--rv-white);
  border-radius: var(--rv-radius); padding: 24px; margin-top: 20px;
}
.rv-calc-range { font-family: var(--rv-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: #FFD7BA; margin: 6px 0 12px; }

/* CTA Banner */
.rv-cta-band {
  background: var(--rv-dark); color: var(--rv-white);
  border-radius: 14px; padding: 34px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.rv-cta-band h2 { color: var(--rv-white); margin-bottom: 8px; }
.rv-cta-band p { color: #DCE9EC; margin: 0; max-width: 620px; }

/* Map Embed */
.rv-map-frame {
  width: 100%; height: 340px; border: 1px solid var(--rv-border); border-radius: var(--rv-radius);
}

/* Article Typography */
.rv-article h2 { margin-top: 34px; font-size: 1.55rem; }
.rv-article h3 { margin-top: 24px; font-size: 1.22rem; }
.rv-article ul, .rv-article ol { padding-left: 22px; }
.rv-article li { margin-bottom: 8px; }
.rv-meta-line { font-size: 0.9rem; color: var(--rv-muted); margin-bottom: 18px; }

/* Footer */
.rv-footer {
  background: #0B1F23; color: #D5E2E5;
  padding: 46px 0 24px; margin-top: 40px;
}
.rv-footer-grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.rv-footer h3 { color: var(--rv-white); font-size: 1.05rem; margin-bottom: 12px; font-family: var(--rv-sans); }
.rv-footer ul { list-style: none; padding: 0; margin: 0; }
.rv-footer li { margin-bottom: 8px; font-size: 0.93rem; }
.rv-footer a { color: #BFE0E4; text-decoration: none; }
.rv-footer a:hover { color: #FFD7BA; text-decoration: underline; }
.rv-footer-bottom {
  padding-top: 18px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 0.85rem; color: #A0B6BA;
}
.rv-disclaimer-micro {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 10.5px;
  line-height: 1.42;
  color: #889FA4;
}

/* Sticky Mobile Call Bar */
.rv-sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--rv-cta); color: var(--rv-white);
  display: flex; align-items: center; justify-content: center;
  padding: 14px 16px; font-weight: 700; font-size: 1.04rem;
  text-decoration: none; box-shadow: 0 -4px 16px rgba(0,0,0,0.22);
}
.rv-sticky-bar:hover { background: var(--rv-cta-hover); color: var(--rv-white); }
@media (min-width: 768px) { .rv-sticky-bar { display: none; } }
