/* Generated by referral-site-engine from site.config.js. Edit the palette there, not here. */
:root {
  --ink: #1f1f22;
  --deep: #2b2b2e;
  --accent: #b2392c;
  --accent-dark: #8f2d23;
  --muted: #616166;
  --line: #e3e2e0;
  --tint: #f4f3f1;
  --notice-bg: #f8e4e0;
  --notice-line: #e5b5ac;
  --cta-bg: #e6e5e3;
  --on-dark: #e6e5e3;
  --on-dark-soft: #d0cfcc;
  --highlight: #ef9a85;
  --input-line: #c4c3c0;
  --crumb: #acaba8;
  --footer-text: #c3c2bf;
  --placeholder: #908f8c;
  --highlight-rgb: 239, 154, 133;
  --overlay-rgb: 26, 26, 28;
  --shadow-rgb: 31, 31, 34;
  --stripe-angle: 0deg;
  --stripe-gap: 20px;
  --white: #fff;
  --radius: 6px;
}

/* Shared styles for every referral site. Colours come from the :root block the engine writes above this, built from the site config palette. */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--deep); color: var(--white); }
.btn-dark:hover { background: var(--ink); }
.btn-block { width: 100%; padding: 13px 18px; }

/* Top bar + header */
.topbar {
  background: var(--deep);
  color: var(--on-dark-soft);
  font-size: 12px;
  text-align: center;
  padding: 7px 16px;
}

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { text-decoration: none; display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 21px; }
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero */
.hero {
  background-color: var(--deep);
  background-image: repeating-linear-gradient(
    var(--stripe-angle),
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px var(--stripe-gap)
  );
  color: var(--white);
  padding: 64px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.hero h1 { font-size: 46px; font-weight: 700; letter-spacing: -0.01em; }
.hero .lead { margin-top: 24px; color: var(--on-dark); font-size: 17px; }

.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--on-dark);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--highlight);
  border-bottom: 2px solid var(--highlight);
  transform: rotate(-45deg);
}

/* Form */
.lead-form {
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  padding: 28px 28px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.lead-form h2 { font-size: 24px; margin-bottom: 18px; }
.lead-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin: 14px 0 6px;
}
.lead-form input,
.lead-form select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--input-line);
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
}
.lead-form input:focus,
.lead-form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form .btn-block { margin-top: 20px; }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.form-note a { color: var(--accent); }

/* Sections */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.section h2 { font-size: 32px; font-weight: 700; }
.section-intro {
  margin-top: 12px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { font-size: 17px; font-weight: 600; }
.card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

.steps {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-num {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.signs {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.notice {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  padding: 18px 22px;
  background: var(--notice-bg);
  border: 1px solid var(--notice-line);
  border-radius: var(--radius);
}
.notice svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.notice strong { font-weight: 600; font-size: 15px; }
.notice p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }

/* Price + FAQ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.bullets { margin: 18px 0 0; padding-left: 20px; font-size: 15px; }
.bullets li { margin-bottom: 8px; }
.small { margin-top: 14px; font-size: 14.5px; color: var(--muted); }

.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 500;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "";
  border-left: 7px solid var(--ink);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transition: transform 0.15s;
}
.faq details[open] summary::before { transform: rotate(90deg); }
.faq details p { padding: 0 0 16px 19px; color: var(--muted); font-size: 14.5px; }

/* Areas */
.areas {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.areas li {
  padding: 8px 16px;
  border: 1px solid var(--input-line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14.5px;
}
.areas li.active {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--white);
  font-weight: 600;
}

/* Contractor CTA */
.contractor-cta { background: var(--cta-bg); padding: 40px 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.contractor-cta h2 { font-size: 24px; }
.contractor-cta p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--footer-text);
  padding: 40px 0 48px;
  font-size: 13.5px;
}
.site-footer p { max-width: 640px; margin-top: 14px; }
.footer-brand { color: var(--white); font-weight: 700; font-size: 18px; margin-top: 0 !important; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner,
  .two-col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .signs { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
  .lead-form { padding: 22px 18px; }
  .section { padding: 52px 0; }
  .section h2 { font-size: 26px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .brand-name { font-size: 17px; }
  .btn-phone { padding: 9px 12px; font-size: 14px; }
}

/* Nav */
.site-nav { border-bottom: 1px solid var(--line); background: var(--white); }
.site-nav .container {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  white-space: nowrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.site-nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}
.site-nav a:hover,
.site-nav a[aria-current] { color: var(--accent); }

/* Inner pages */
.page-hero h1 { font-size: 40px; }
.crumbs { font-size: 13px; color: var(--crumb); margin-bottom: 14px !important; }
.crumbs a { color: inherit; }

.two-col.wide-left { grid-template-columns: 3fr 2fr; }
.prose { max-width: 680px; }
.prose h2 { font-size: 26px; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 14px; font-size: 16px; }
.prose a { color: var(--accent); }
.prose .bullets li { margin-bottom: 10px; }

/* Link cards */
.link-cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
a.card { text-decoration: none; display: block; transition: border-color 0.15s, box-shadow 0.15s; }
a.card:hover { border-color: var(--accent); box-shadow: 0 4px 14px rgba(var(--shadow-rgb), 0.08); }
.card .more { display: block; margin-top: 14px; color: var(--accent); font-weight: 600; font-size: 14.5px; }

.region-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.region-grid h3 { color: var(--ink); }
.region-grid .counties {
  margin-top: 6px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.areas a { color: inherit; text-decoration: none; }
.areas li:has(a):hover { border-color: var(--accent); }

/* Form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status:empty { display: none; }
.form-status { margin-top: 12px; font-size: 14px; color: #b42318; }
.form-done { margin-top: 10px; color: var(--muted); }

/* Footer columns */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: var(--white); font-size: 14px; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--footer-text); text-decoration: none; }
.footer-links a:hover { color: var(--white); }

@media (max-width: 860px) {
  .region-grid { grid-template-columns: 1fr 1fr; }
  .two-col.wide-left,
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 32px; }
}
@media (max-width: 600px) {
  .region-grid { grid-template-columns: 1fr; }
}

/* Hero photo */
.hero.has-photo {
  position: relative;
  background-size: cover;
  background-position: center;
}
.hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--overlay-rgb), 0.93) 0%, rgba(var(--overlay-rgb), 0.8) 50%, rgba(var(--overlay-rgb), 0.5) 100%);
}
.hero.has-photo .hero-inner { position: relative; }

/* Photos */
figure { margin: 0; }
.ba, .photo { margin: 28px 0; }
.ba-grid figure.ba { margin: 0; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.ba-img img, .photo img, .card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(var(--shadow-rgb), 0.85);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ba-tag.ba-after { background: var(--accent); }
figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

.ba-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 28px;
}

.photo img { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.photo-strip {
  margin: 20px 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.photo-strip .photo { margin: 0; }
.photo-strip .photo img { aspect-ratio: 4 / 5; }
.photo-strip figcaption { margin-top: 6px; font-size: 13px; }
.strip-heading { margin-top: 32px; font-size: 18px; }

.card.has-img { padding-top: 0; overflow: hidden; }
.card-img {
  display: block;
  margin: 0 -22px 18px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--line);
}

@media (max-width: 860px) {
  .ba-grid { grid-template-columns: 1fr; }
  .hero.has-photo::before { background: rgba(var(--overlay-rgb), 0.86); }
}

/* Form extras */
.lead-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--input-line);
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
}
.lead-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--placeholder); }
.optional { font-weight: 400; color: var(--muted); }

/* Testimonials */
.testimonials-heading { margin-top: 56px; font-size: 22px; }
.testimonials {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.testimonial blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; }
.testimonial blockquote::before { content: "\201C"; display: block; font-size: 40px; line-height: 1; color: var(--accent); }
.testimonial figcaption { margin-top: 14px; font-size: 14px; color: var(--ink); }
.testimonial figcaption span { display: block; color: var(--muted); font-size: 13px; }

/* Simple pages (privacy, blog index) */
.page-title { font-size: 38px; margin-bottom: 8px; }
.crumbs.dark { color: var(--muted); }
.post-date { margin-top: 18px; font-size: 14px; color: var(--crumb); }
.prose h3 { margin-top: 24px; font-size: 18px; }
article.prose { max-width: 720px; }

.footer-inline-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-inline-links a { color: var(--white); }

/* Sticky call bar on phones */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  }
  body { padding-bottom: 80px; }
}

.req { color: #b42318; font-weight: 600; }

/* Wordmark */
.brand-name { letter-spacing: -0.01em; }
.brand-name .tld { color: var(--accent); }
.footer-brand .tld { color: var(--highlight); }

.blog-group { margin-top: 48px; font-size: 24px; }
.section-intro a { color: var(--accent); }

/* Plain hero, icon cards, area groups */
.hero:not(.has-photo) {
  background-image:
    radial-gradient(ellipse at 85% 0%, rgba(var(--highlight-rgb), 0.16), transparent 55%),
    repeating-linear-gradient(var(--stripe-angle), rgba(255, 255, 255, 0.035) 0 1px, transparent 1px var(--stripe-gap));
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--notice-bg);
  color: var(--accent);
}
.signs .card h3 { display: flex; align-items: center; gap: 10px; }

.area-groups {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.area-groups .card h3 { color: var(--ink); }
.area-groups .counties {
  margin-top: 6px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.area-groups .areas { margin-top: 14px; gap: 8px; }
.area-groups .areas li { padding: 5px 12px; font-size: 14px; }
.area-groups .card.nearby { grid-column: 1 / -1; background: var(--white); }

.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
.footer-links.cols { columns: 2; column-gap: 18px; }

@media (max-width: 860px) {
  .area-groups { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .area-groups { grid-template-columns: 1fr; }
}

/* Site-specific */
.hero:not(.has-photo) {
  background-image:
    radial-gradient(ellipse at 85% 0%, rgba(var(--highlight-rgb), 0.14), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='40'%3E%3Cpath d='M0 .5h72M0 20.5h72M.5 0v20M36.5 20v20' fill='none' stroke='%23fff' stroke-opacity='.06'/%3E%3C/svg%3E");
}
.hero { position: relative; }
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  height: 14px;
  background: var(--deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='14'%3E%3Cpath d='M0 0h48v4H0zM2 0h44v14H2z'/%3E%3C/svg%3E") repeat-x left top;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='14'%3E%3Cpath d='M0 0h48v4H0zM2 0h44v14H2z'/%3E%3C/svg%3E") repeat-x left top;
  pointer-events: none;
  z-index: 2;
}
.hero.has-photo::after { background: var(--ink); }
.hero h1 { text-wrap: balance; }

.brand { padding-left: 34px; position: relative; }
.brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  background: url("favicon.svg") center / contain no-repeat;
}
.brand-sub { color: var(--accent); font-weight: 600; font-size: 10.5px; }

.section > .container > h2::after,
.section .two-col > div > h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-top: 14px;
  background: var(--accent);
}
.card-icon { border-radius: 4px; }
.step-num { font-size: 34px; }

@media (min-width: 601px) and (max-width: 1000px) {
  .link-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .brand { padding-left: 30px; }
  .btn-phone { white-space: nowrap; flex-shrink: 0; }
  .header-inner { gap: 12px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.05em; }
  .brand::before { width: 22px; height: 22px; margin-top: -11px; }
}
