/* rooftarp.com — single stylesheet.
   Palette carried over from the live site's Elementor globals so the rebuild
   keeps the same brand identity:
     primary #18230F  secondary #27391C  accent #1F7D53
     alert   #D20000  text      #252525
   Type is a system stack rather than the original's Arial-only rule: it renders
   closer to the intended weight on every platform and costs no webfont request. */

:root {
  --ink: #18230F;
  --ink-2: #27391C;
  --accent: #1F7D53;
  --accent-dark: #17603F;
  --alert: #D20000;
  --alert-dark: #A80000;
  --text: #252525;
  --muted: #5c6357;
  --line: #dfe3da;
  --paper: #ffffff;
  --cream: #f6f8f4;
  --radius: 10px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent-dark); }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.accent-text { color: var(--accent); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 .8em;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- header */

.announcement {
  background: var(--ink);
  color: #e8ede4;
  font-size: .85rem;
}
.announcement .container {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px;
}
.announce-cta { color: #fff; font-weight: 700; text-decoration: none; }
.announce-cta:hover { color: var(--accent); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  font-size: 1.4rem; font-weight: 800; color: var(--ink);
  text-decoration: none; letter-spacing: -.02em; margin-right: auto;
}
.brand-mark { color: var(--accent); }

.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--accent); border-bottom-color: var(--accent); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-block; padding: 13px 24px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; font-size: .96rem;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s;
}
.btn-emergency { background: var(--alert); color: #fff; }
.btn-emergency:hover { background: var(--alert-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.header-cta { padding: 10px 18px; font-size: .9rem; }

/* ------------------------------------------------------------------ hero */

.hero {
  background: linear-gradient(140deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #f2f5ee;
  padding: 72px 0 80px;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: #8fd6ae; }
.hero-lead { font-size: 1.12rem; max-width: 62ch; color: #dfe6d8; }
.hero-copy { max-width: 780px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 0; }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); }
.hero-points {
  list-style: none; padding: 0; margin: 30px 0 0;
  display: grid; gap: 10px 26px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  font-size: .95rem; color: #dfe6d8;
}
.hero-points li { padding-left: 26px; position: relative; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
}

.sub-hero { background: var(--cream); padding: 48px 0 52px; border-bottom: 1px solid var(--line); }
.sub-hero h1 { margin-bottom: .4em; }
.sub-hero-intro { font-size: 1.08rem; color: var(--muted); max-width: 72ch; }
.sub-hero-intro p { margin-bottom: .6em; }
.post-hero { background: var(--cream); }

/* -------------------------------------------------------------- sections */

.section { padding: 64px 0; }
.section-alt { background: var(--cream); }
.section-intro { max-width: 70ch; color: var(--muted); font-size: 1.04rem; }
.section-more { margin-top: 28px; }

.service-link { font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.service-link:hover { color: var(--ink); }

/* ----------------------------------------------------------------- cards */

.service-grid {
  display: grid; gap: 20px; margin-top: 34px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.section-alt .service-card { background: var(--paper); }
.service-num {
  font-size: .76rem; font-weight: 800; color: var(--accent);
  letter-spacing: .1em; margin-bottom: 10px;
}
.service-card h3 { margin-bottom: .5em; }
.service-card h3 a { color: var(--ink); text-decoration: none; }
.service-card h3 a:hover { color: var(--accent); }
.service-card p { color: var(--muted); font-size: .96rem; }

.link-grid {
  display: grid; gap: 18px; margin-top: 34px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.link-card {
  display: block; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px 20px;
  text-decoration: none; color: inherit; transition: border-color .15s, transform .15s;
}
.link-card:hover { border-color: var(--accent); transform: translateY(-2px); color: inherit; }
.link-card h3 { margin-bottom: .35em; }
.link-card p { color: var(--muted); font-size: .94rem; margin-bottom: .9em; }
.card-county { font-size: .8rem !important; text-transform: uppercase; letter-spacing: .07em; color: var(--accent) !important; margin-bottom: .5em !important; }
.post-date { font-size: .78rem; color: var(--muted); letter-spacing: .05em; }

.process-grid, .feature-grid {
  display: grid; gap: 20px; margin-top: 34px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.process-step, .feature {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
}
.section-alt .process-step, .section-alt .feature { background: var(--paper); }
.step-num {
  display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.process-step p, .feature p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

/* ----------------------------------------------------------- breadcrumbs */

.breadcrumbs { background: var(--paper); border-bottom: 1px solid var(--line); font-size: .85rem; }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none;
  margin: 0; padding: 12px 0;
}
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- layout */

.content-layout {
  display: grid; gap: 44px;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.9em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--cream); font-weight: 700; }
.prose blockquote {
  margin: 0 0 1.3em; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent); color: var(--muted);
}

.sidebar { position: sticky; top: 92px; display: grid; gap: 18px; }
.sidebar-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; background: var(--paper);
}
.sidebar-card h3 { font-size: 1.02rem; }
.sidebar-card p { font-size: .92rem; color: var(--muted); }
.sidebar-cta { background: var(--ink); border-color: var(--ink); }
.sidebar-cta h3 { color: #fff; }
.sidebar-cta p { color: #cdd6c5; }
.sidebar-cta .btn { width: 100%; text-align: center; }
.sidebar-list { list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.sidebar-list li { border-bottom: 1px solid var(--line); }
.sidebar-list li:last-child { border-bottom: 0; }
.sidebar-list a { display: block; padding: 9px 0; color: var(--ink); text-decoration: none; }
.sidebar-list a:hover { color: var(--accent); }

/* ------------------------------------------------------------------ FAQs */

.faq-section { padding: 60px 0; background: var(--cream); }
.faq-list { margin-top: 28px; max-width: 900px; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer; padding: 16px 20px; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.02rem; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--accent); line-height: 1; flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 20px 16px; }
.faq-answer p { margin: 0; color: var(--muted); font-size: .96rem; }

/* -------------------------------------------------------------- CTA band */

.cta-band {
  background: linear-gradient(140deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff; padding: 56px 0; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dfe6d8; max-width: 60ch; margin: 0 auto 6px; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ------------------------------------------------------------------ form */

.callback-form label {
  display: block; font-size: .85rem; font-weight: 600;
  margin: 12px 0 5px; color: var(--ink);
}
.callback-form input, .callback-form textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: .94rem;
  border: 1px solid var(--line); border-radius: 7px; background: var(--paper);
}
.callback-form input:focus, .callback-form textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.callback-form .btn { width: 100%; margin-top: 16px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.form-status { font-size: .88rem; margin: 10px 0 0; color: var(--alert-dark); font-weight: 600; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: #c8d2bf; padding: 56px 0 28px; font-size: .93rem; }
.site-footer .brand { color: #fff; display: inline-block; margin-bottom: 14px; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 1em; }
.site-footer a { color: #c8d2bf; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid {
  display: grid; gap: 34px;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-phone a { color: #fff; font-size: 1.16rem; font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 36px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a { display: block; padding: 12px 0; border-bottom: 0; }
  .hero { padding: 52px 0 58px; }
  .section, .faq-section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .link-card { transition: none; }
}
