/* RE Local Service Design System v1.0
 * WordPress-safe, Gutenberg/Kadence-friendly, scoped to .re-site.
 * Apply the class re-site to the outermost Group block or page wrapper.
 * This file does not change WordPress theme headers or footers globally.
 */
.re-site {
  --re-ink: #1a1a1a;
  --re-gold: #d4af37;
  --re-gold-hover: #edc957;
  --re-text: #333333;
  --re-muted: #595959;
  --re-light: #f8f8f6;
  --re-white: #ffffff;
  --re-line: #e4e4df;
  --re-surface: #f0f0ed;
  --re-focus: #087eae;
  --re-max: 1200px;
  --re-radius: 8px;
  --re-radius-lg: 16px;
  --re-shadow: 0 8px 30px rgb(17 17 17 / 8%);
  --re-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--re-text);
  font-family: var(--re-stack);
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
}
.re-site *, .re-site *::before, .re-site *::after { box-sizing: border-box; }
.re-site :where(h1,h2,h3,h4,h5,h6) { color: var(--re-ink); line-height: 1.18; letter-spacing: -.025em; margin: 0 0 .8em; font-weight: 750; }
.re-site h1 { font-size: clamp(2.15rem, 5vw, 4rem); }
.re-site h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.re-site h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.re-site :where(p,ul,ol) { margin: 0 0 1.25rem; }
.re-site :where(ul,ol) { padding-inline-start: 1.4rem; }
.re-site :where(img,video,svg) { max-width: 100%; }
.re-site img { height: auto; display: block; }
.re-site a { color: inherit; text-underline-offset: .17em; }
.re-site a:focus-visible, .re-site button:focus-visible, .re-site input:focus-visible,
.re-site textarea:focus-visible, .re-site select:focus-visible, .re-site summary:focus-visible {
  outline: 3px solid var(--re-focus); outline-offset: 3px;
}
.re-site .re-container { width: min(100% - 2.5rem, var(--re-max)); margin-inline: auto; }
.re-site .re-section { padding-block: clamp(3rem, 7vw, 6.25rem); }
.re-site .re-section--light { background: var(--re-light); }
.re-site .re-section--dark { background: var(--re-ink); color: var(--re-white); }
.re-site .re-section--dark :where(h1,h2,h3,h4) { color: var(--re-white); }
.re-site .re-eyebrow { display: inline-block; margin-bottom: 1rem; color: #876509; font-size: .8rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 800; }
.re-site .re-lead { max-width: 68ch; font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.65; }
.re-site .re-measure { max-width: 70ch; }
.re-site .re-center { text-align: center; }
.re-site .re-center .re-lead { margin-inline: auto; }
.re-site .re-stack { display: grid; gap: 1.25rem; }
.re-site .re-grid { display: grid; gap: clamp(1.2rem, 2.2vw, 2rem); }
.re-site .re-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.re-site .re-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.re-site .re-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.re-site .re-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.re-site .re-split--reverse > :first-child { order: 2; }
.re-site .re-media { border-radius: var(--re-radius-lg); overflow: hidden; background: var(--re-surface); }
.re-site .re-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Buttons and conversion modules */
.re-site .re-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; }
.re-site .re-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .8rem 1.5rem; border: 2px solid transparent; border-radius: 6px; background: var(--re-gold); color: var(--re-ink); font: inherit; font-weight: 800; text-decoration: none; line-height: 1.25; cursor: pointer; transition: background-color .18s ease, transform .18s ease; }
.re-site .re-btn:hover { background: var(--re-gold-hover); transform: translateY(-1px); }
.re-site .re-btn--outline { background: transparent; border-color: currentColor; color: inherit; }
.re-site .re-btn--outline:hover { background: rgb(0 0 0 / 7%); }
.re-site .re-section--dark .re-btn--outline:hover, .re-site .re-hero .re-btn--outline:hover { background: rgb(255 255 255 / 13%); }
.re-site .re-btn--block { width: 100%; }
.re-site .re-trustbar { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; align-items: center; font-size: .92rem; font-weight: 650; }
.re-site .re-trustbar span { display: inline-flex; align-items: center; gap: .45rem; }
.re-site .re-trustbar span::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--re-gold); flex: none; }

/* Header/navbar classes for custom templates. Let the theme manage its own header otherwise. */
.re-site .re-header { background: var(--re-ink); color: white; }
.re-site .re-header__inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 84px; }
.re-site .re-brand { font-size: 1.35rem; font-weight: 850; line-height: 1.15; color: white; text-decoration: none; }
.re-site .re-brand__accent { color: var(--re-gold); }
.re-site .re-nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.re-site .re-nav a { text-decoration: none; color: white; font-weight: 650; display: inline-flex; min-height: 44px; align-items: center; padding: .4rem .25rem; }
.re-site .re-nav a:hover { color: var(--re-gold); }

/* Hero supports a real poster image and optional muted decorative video. */
.re-site .re-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(740px, 82svh); display: flex; align-items: center; padding-block: clamp(5rem, 10vw, 9rem); background: var(--re-ink); color: white; }
.re-site .re-hero__media, .re-site .re-hero__media :where(img,video) { position: absolute; inset: 0; width: 100%; height: 100%; }
.re-site .re-hero__media { z-index: -2; }
.re-site .re-hero__media :where(img,video) { object-fit: cover; }
.re-site .re-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 10 10 / 87%) 0%, rgb(10 10 10 / 62%) 55%, rgb(10 10 10 / 40%) 100%); }
.re-site .re-hero__content { max-width: 820px; }
.re-site .re-hero h1 { color: white; max-width: 19ch; margin-bottom: 1.25rem; }
.re-site .re-hero p { color: #f5f5f4; max-width: 61ch; }
.re-site .re-hero .re-eyebrow { color: var(--re-gold); }
.re-site .re-hero .re-actions { margin-top: 2rem; }
.re-site .re-hero .re-trustbar { margin-top: 2.2rem; }

/* Homepage hub cards, supporting modules */
.re-site .re-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--re-line); border-radius: var(--re-radius-lg); background: white; box-shadow: 0 2px 12px rgb(0 0 0 / 3%); }
.re-site .re-card:hover { box-shadow: var(--re-shadow); }
.re-site .re-card__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.re-site .re-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(1.25rem, 2.5vw, 2rem); }
.re-site .re-card__body p { color: var(--re-muted); }
.re-site .re-card__body a:last-child { margin-top: auto; font-weight: 750; }
.re-site .re-card__body a:hover { color: #7b5900; }
.re-site .re-kicker { color: #886407; text-transform: uppercase; letter-spacing: .09em; font-size: .77rem; font-weight: 800; }
.re-site .re-feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.re-site .re-feature-list li { display: flex; align-items: flex-start; gap: .7rem; }
.re-site .re-feature-list li::before { content: ""; width: .65rem; height: .65rem; margin-top: .5rem; background: var(--re-gold); border-radius: 50%; flex: none; }
.re-site .re-steps { counter-reset: re-step; }
.re-site .re-step { counter-increment: re-step; padding: 1.8rem; border: 1px solid var(--re-line); border-radius: var(--re-radius-lg); background: white; }
.re-site .re-step::before { content: counter(re-step, decimal-leading-zero); display: inline-block; margin-bottom: 1rem; font-size: 2rem; line-height: 1; color: #886407; font-weight: 800; }
.re-site .re-location-list { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; padding: 0; }
.re-site .re-location-list a { display: inline-block; padding: .55rem .85rem; border: 1px solid var(--re-line); border-radius: 6px; background: white; font-weight: 650; text-decoration: none; }
.re-site .re-location-list a:hover { border-color: #93711b; }
.re-site .re-cta { border-radius: var(--re-radius-lg); padding: clamp(1.75rem, 5vw, 4rem); background: var(--re-ink); color: white; }
.re-site .re-cta :where(h2,h3) { color: white; }

/* Inner pages: breadcrumbs, content hub, article, sidebar, FAQs */
.re-site .re-pagehead { padding-block: clamp(2.5rem, 6vw, 5rem); background: var(--re-light); border-bottom: 1px solid var(--re-line); }
.re-site .re-pagehead h1 { max-width: 23ch; }
.re-site .re-breadcrumbs { font-size: .875rem; margin-bottom: 1rem; color: var(--re-muted); }
.re-site .re-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .65rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.re-site .re-breadcrumbs li:not(:last-child)::after { content: "/"; padding-inline-start: .65rem; color: #8d8d8d; }
.re-site .re-breadcrumbs a:hover { color: #80600d; }
.re-site .re-content-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(240px, .9fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.re-site .re-article :where(h2,h3,h4) { scroll-margin-top: 110px; margin-top: 1.7em; }
.re-site .re-article :where(p,li) { max-width: 77ch; }
.re-site .re-article :where(ul,ol) { padding-inline-start: 1.45rem; }
.re-site .re-article :where(blockquote) { border-left: 4px solid var(--re-gold); padding: .5rem 1.25rem; margin: 2rem 0; background: var(--re-light); }
.re-site .re-sidebar { border: 1px solid var(--re-line); border-radius: var(--re-radius-lg); padding: 1.5rem; background: var(--re-light); }
.re-site .re-sidebar h2, .re-site .re-sidebar h3 { font-size: 1.2rem; margin-top: 0; }
.re-site .re-sidebar ul { list-style: none; padding: 0; margin: 0; }
.re-site .re-sidebar li + li { border-top: 1px solid var(--re-line); }
.re-site .re-sidebar li a { display: block; padding: .7rem 0; font-weight: 600; }
.re-site .re-sidebar a:hover { color: #886407; }
.re-site .re-faq { border-block: 1px solid var(--re-line); }
.re-site .re-faq + .re-faq { border-top: none; }
.re-site .re-faq summary { padding: 1.25rem .35rem; font-weight: 750; cursor: pointer; }
.re-site .re-faq__answer { padding: 0 .35rem 1rem; }
.re-site .re-post-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .88rem; color: var(--re-muted); margin-bottom: 1.25rem; }
.re-site .re-procon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-block: 2rem; }
.re-site .re-procon__panel { background: var(--re-light); border: 1px solid var(--re-line); border-top: 4px solid #34744a; border-radius: var(--re-radius); padding: 1.4rem; }
.re-site .re-procon__panel--cons { border-top-color: #b04435; }
.re-site .re-procon__panel h3 { font-size: 1.2rem; }

/* Form styling; assumes a real server-side form handler/plugin. */
.re-site .re-form { display: grid; gap: 1rem; }
.re-site .re-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.re-site .re-field { display: grid; gap: .35rem; }
.re-site .re-field label { font-weight: 700; font-size: .94rem; }
.re-site .re-field :where(input,select,textarea) { width: 100%; min-height: 48px; border: 1px solid #8b8b87; border-radius: 6px; padding: .65rem .8rem; color: var(--re-ink); background: white; font: inherit; }
.re-site .re-field textarea { min-height: 140px; resize: vertical; }
.re-site .re-help { color: var(--re-muted); font-size: .875rem; }
.re-site .re-error { color: #8c2219; font-size: .9rem; }

/* Custom footer, only if built inside the scoped design system. */
.re-site .re-footer { background: var(--re-ink); color: #dedbd4; padding-block: 4rem 2rem; }
.re-site .re-footer :where(h2,h3,h4) { color: white; font-size: 1.08rem; }
.re-site .re-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.re-site .re-footer ul { list-style: none; padding: 0; margin: 0; }
.re-site .re-footer li + li { margin-top: .6rem; }
.re-site .re-footer a { color: #dedbd4; }
.re-site .re-footer a:hover { color: var(--re-gold); }
.re-site .re-footer__bottom { border-top: 1px solid #444; margin-top: 3rem; padding-top: 1.5rem; font-size: .86rem; }

@media (max-width: 960px) {
  .re-site .re-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .re-site .re-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .re-site .re-split { grid-template-columns: 1fr; }
  .re-site .re-split--reverse > :first-child { order: 0; }
  .re-site .re-content-grid { grid-template-columns: 1fr; }
  .re-site .re-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .re-site .re-container { width: min(100% - 2rem, var(--re-max)); }
  .re-site .re-grid--2, .re-site .re-grid--3, .re-site .re-grid--4, .re-site .re-form__row, .re-site .re-procon, .re-site .re-footer__grid { grid-template-columns: 1fr; }
  .re-site .re-hero { min-height: 540px; padding-block: 5rem; }
  .re-site .re-hero::before { background: linear-gradient(90deg, rgb(10 10 10 / 83%), rgb(10 10 10 / 65%)); }
  .re-site .re-actions { flex-direction: column; align-items: stretch; }
  .re-site .re-actions .re-btn { width: 100%; }
  .re-site .re-header__inner { min-height: 70px; flex-wrap: wrap; padding-block: .8rem; }
  .re-site .re-nav { width: 100%; }
  .re-site .re-nav ul { gap: .15rem .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .re-site .re-btn { transition: none; }
  .re-site .re-btn:hover { transform: none; }
  .re-site .re-hero__media video { display: none; }
}
