:root {
  /* Brand */
  --rb-orange: #EA4E1B;
  --rb-orange-300: #F5A07F;
  --rb-orange-500: #EA4E1B;
  --rb-orange-700: #B53D11;
  --rb-orange-900: #5C1F08;

  /* Light theme — warm cream/slate */
  --rb-bg:        #FAF8F5;
  --rb-surface-1: #F2EEE9;
  --rb-surface-2: #E8E2DB;
  --rb-surface-3: #DBD3CB;

  --rb-text:      #1D1617;
  --rb-text-2:    #3A3232;
  --rb-text-3:    #6B6160;
  --rb-text-4:    #9A918F;

  --rb-border:    rgba(0,0,0,0.08);
  --rb-border-2:  rgba(0,0,0,0.14);

  /* Accent for eyebrows + small text-based brand callouts on light bg.
     Light theme uses orange-700 instead of orange-300 for proper contrast. */
  --rb-accent:    #B53D11;

  --rb-emergency: #DC2626;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;

  --container: 1280px;
  --pad-x: clamp(1.5rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 8vw, 7rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--rb-bg);
  color: var(--rb-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02";
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============================
   TYPE
============================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.625rem); line-height: 1.2; letter-spacing: -0.015em; }
h4 { font-size: 1.0625rem; line-height: 1.3; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rb-accent);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--rb-orange);
}

.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--rb-text-2);
  max-width: 60ch;
  line-height: 1.55;
}

/* ============================
   EMERGENCY BAR
============================ */
.emergency-bar {
  background: var(--rb-emergency);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  padding: 0.625rem var(--pad-x);
  letter-spacing: 0.01em;
}
.emergency-bar a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.emergency-bar .dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse 1.6s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* ============================
   HEADER
============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rb-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand img { height: 44px; width: auto; }
.nav {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}
.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--rb-text-2);
  transition: color 0.18s ease;
  position: relative;
}
.nav a:hover { color: var(--rb-text); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--rb-orange);
  transition: width 0.22s ease;
}
.nav a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--rb-text);
}
.header-phone svg { color: var(--rb-orange); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.menu-toggle span {
  position: relative;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

@media (max-width: 960px) {
  .nav { display: none; }
  .header-phone span { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ============================
   BUTTONS
============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.625rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.005em;
  border-radius: 6px;
  transition: transform 0.16s ease, background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--rb-orange);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 8px 24px -8px rgba(234, 78, 27, 0.55);
}
.btn-primary:hover {
  background: var(--rb-orange-700);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--rb-text);
  border: 1.5px solid var(--rb-border-2);
}
.btn-ghost:hover {
  border-color: var(--rb-text);
  background: rgba(0,0,0,0.04);
}
.btn-emergency {
  background: transparent;
  color: var(--rb-emergency);
  border: 1.5px solid var(--rb-emergency);
}
.btn-emergency:hover {
  background: var(--rb-emergency);
  color: #fff;
}
.btn-arrow svg { transition: transform 0.18s ease; }
.btn-arrow:hover svg { transform: translateX(3px); }

/* ============================
   HERO
============================ */
.hero {
  position: relative;
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(234, 78, 27, 0.10), transparent 50%),
    radial-gradient(ellipse at 20% 100%, rgba(234, 78, 27, 0.06), transparent 55%),
    linear-gradient(180deg, var(--rb-bg) 0%, var(--rb-surface-1) 100%);
  z-index: -1;
}

.hero-inner {
  display: grid;
  gap: 3rem;
  position: relative;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
  align-items: center;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rb-border);
}
.hero-trust-pill {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--rb-text-2);
}
.hero-trust-pill svg {
  flex-shrink: 0;
  color: var(--rb-orange);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.5rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  font-size: 0.8125rem;
  color: var(--rb-text-3);
}
.hero-meta strong { color: var(--rb-text-2); font-weight: 600; }
.hero-stars { color: var(--rb-orange); letter-spacing: 0.05em; }

/* ============================
   SECTIONS
============================ */
section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: 820px;
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}
.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

/* ============================
   SERVICES
============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  background: var(--rb-surface-1);
  border: 1px solid var(--rb-border);
  padding: 1.75rem 1.5rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card::before {
  /* Background photo, faded */
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--service-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  z-index: -2;
  transition: opacity 0.3s ease;
}
.service-card::after {
  /* Gradient overlay so text stays readable on cream theme */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 248, 245, 0.55) 0%,
    rgba(250, 248, 245, 0.85) 60%,
    rgba(250, 248, 245, 0.95) 100%
  );
  z-index: -1;
}
.service-card:hover {
  border-color: var(--rb-orange);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -16px rgba(0,0,0,0.25);
}
.service-card:hover::before {
  opacity: 0.22;
}
.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(234, 78, 27, 0.12);
  color: var(--rb-orange);
  border-radius: 8px;
  position: relative;
}
.service-card h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--rb-text-3);
  line-height: 1.55;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rb-accent);
  margin-top: 0.5rem;
}
.service-link svg { transition: transform 0.18s ease; }
.service-card:hover .service-link svg { transform: translateX(3px); }

/* ============================
   CREDENTIALS
============================ */
.credentials {
  background: var(--rb-surface-1);
  border-top: 1px solid var(--rb-border);
  border-bottom: 1px solid var(--rb-border);
}
.cred-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .cred-grid { grid-template-columns: 1fr; } }

.cred-text { max-width: 540px; }
.cred-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 600px) { .cred-list { grid-template-columns: 1fr; } }
.cred-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}
.cred-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--rb-orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.cred-check svg { width: 12px; height: 12px; }
.cred-list li strong { display: block; color: var(--rb-text); font-weight: 600; }
.cred-list li span { color: var(--rb-text-3); font-size: 0.875rem; }

.cred-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: var(--rb-bg);
  border: 1px solid var(--rb-border);
  border-radius: 12px;
  padding: 1.75rem;
}
@media (max-width: 480px) { .cred-stats { grid-template-columns: 1fr; gap: 1.5rem; } }

.cred-stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--rb-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.cred-stat .label {
  font-size: 0.8125rem;
  color: var(--rb-text-3);
  letter-spacing: 0.04em;
}

/* ============================
   SEGMENTS — Built for Brooklyn
============================ */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1000px) { .segments-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .segments-grid { grid-template-columns: 1fr; } }

.segment-card {
  background: linear-gradient(180deg, var(--rb-surface-2) 0%, var(--rb-surface-1) 100%);
  border: 1px solid var(--rb-border);
  border-radius: 10px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
  min-height: 280px;
}
.segment-card:hover {
  border-color: var(--rb-orange);
  transform: translateY(-3px);
}
.segment-card::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(234, 78, 27, 0.06);
  letter-spacing: -0.05em;
  pointer-events: none;
}
.segment-card h3 {
  font-size: 1.125rem;
  position: relative;
  z-index: 1;
}
.segment-card p {
  font-size: 0.9rem;
  color: var(--rb-text-3);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  flex: 1;
}
.segment-card .seg-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rb-accent);
  position: relative;
  z-index: 1;
}

/* ============================
   PROJECTS
============================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }

.project-card {
  background: var(--rb-surface-1);
  border: 1px solid var(--rb-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.project-card:hover {
  border-color: var(--rb-orange);
  transform: translateY(-3px);
}
.project-visual {
  aspect-ratio: 4/3;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  overflow: hidden;
}
.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.04) 0%, transparent 40%),
    repeating-linear-gradient(
      135deg,
      transparent 0px,
      transparent 14px,
      rgba(255,255,255,0.025) 14px,
      rgba(255,255,255,0.025) 15px
    );
  pointer-events: none;
}
.project-visual-num {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.10);
  line-height: 0.85;
  position: absolute;
  bottom: 0;
  right: 1rem;
  pointer-events: none;
  user-select: none;
}
.project-visual .project-tag {
  position: relative;
  align-self: flex-start;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
}
.project-visual-meta {
  position: relative;
  display: flex;
  gap: 0.625rem;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.005em;
}
.project-visual-meta span:nth-child(2) { color: rgba(255,255,255,0.35); }
.project-meta {
  padding: 1.25rem 1.25rem 1.5rem;
}
.project-loc {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rb-accent);
  margin-bottom: 0.5rem;
}
.project-meta h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}
.project-meta p {
  font-size: 0.875rem;
  color: var(--rb-text-3);
  line-height: 1.55;
}

/* ============================
   REVIEWS
============================ */
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.reviews-header .section-header { margin-bottom: 0; }
.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.reviews-summary .stars {
  color: var(--rb-orange);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}
.reviews-summary .num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.reviews-summary .based {
  font-size: 0.8125rem;
  color: var(--rb-text-3);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
  background: var(--rb-surface-1);
  border: 1px solid var(--rb-border);
  border-radius: 10px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-stars { color: var(--rb-orange); font-size: 0.9375rem; letter-spacing: 0.08em; }
.review-card blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--rb-text-2);
  font-style: italic;
  flex: 1;
}
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rb-border);
}
.review-meta .name { font-weight: 600; font-size: 0.9375rem; }
.review-meta .where { font-size: 0.8125rem; color: var(--rb-text-3); }

/* ============================
   NEIGHBORHOODS
============================ */
.hoods {
  background: var(--rb-surface-1);
  border-top: 1px solid var(--rb-border);
  border-bottom: 1px solid var(--rb-border);
}
.hoods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
@media (max-width: 800px) { .hoods-grid { grid-template-columns: 1fr; } }

.hood-group h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rb-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--rb-border);
}
.hood-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hood-list a {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  background: var(--rb-bg);
  border: 1px solid var(--rb-border);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--rb-text-2);
  transition: all 0.18s ease;
}
.hood-list a:hover {
  border-color: var(--rb-orange);
  color: var(--rb-text);
  background: rgba(234, 78, 27, 0.08);
}

/* ============================
   FAQ
============================ */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--rb-border);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.375rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--rb-accent); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--rb-border-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, background 0.18s ease, border-color 0.18s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--rb-orange);
  border-color: var(--rb-orange);
}
.faq-icon svg { width: 12px; height: 12px; }
.faq-body {
  padding: 0 0 1.5rem;
  color: var(--rb-text-2);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 70ch;
}

/* ============================
   QUOTE / CTA
============================ */
.quote-section {
  background: linear-gradient(135deg, var(--rb-surface-1) 0%, var(--rb-surface-2) 100%);
  border-top: 1px solid var(--rb-border);
  border-bottom: 1px solid var(--rb-border);
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 880px) { .quote-grid { grid-template-columns: 1fr; } }

.quote-info-box {
  background: var(--rb-bg);
  border: 1px solid var(--rb-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}
.quote-info-box h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rb-accent);
  margin-bottom: 1rem;
}
.quote-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rb-border);
  font-size: 0.9375rem;
}
.quote-info-row:last-child { border-bottom: none; }
.quote-info-row strong { color: var(--rb-text); font-weight: 600; }
.quote-info-row span { color: var(--rb-text-3); display: block; font-size: 0.8125rem; margin-top: 1px; }

.form-card {
  background: var(--rb-surface-1);
  border: 1px solid var(--rb-border);
  border-radius: 14px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.form-field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rb-text-2);
  letter-spacing: 0.01em;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--rb-bg);
  border: 1px solid var(--rb-border-2);
  border-radius: 7px;
  padding: 0.75rem 0.875rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--rb-text);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--rb-orange);
  background: var(--rb-surface-2);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.form-submit { margin-top: 0.5rem; width: 100%; padding: 1rem 1.5rem; }
.form-disclaimer {
  font-size: 0.75rem;
  color: var(--rb-text-3);
  text-align: center;
  margin-top: 0.875rem;
  line-height: 1.5;
}

/* ============================
   FOOTER
============================ */
.site-footer {
  background: var(--rb-surface-2);
  border-top: 1px solid var(--rb-border);
  padding: clamp(3.5rem, 5vw, 5rem) 0 2rem;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 56px; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--rb-text-3); line-height: 1.6; max-width: 32ch; margin-bottom: 1.25rem; }
.footer-license {
  font-size: 0.75rem;
  color: var(--rb-text-3);
  background: var(--rb-surface-1);
  border: 1px solid var(--rb-border);
  border-radius: 6px;
  padding: 0.625rem 0.875rem;
  display: inline-block;
  letter-spacing: 0.02em;
}

.map-embed {
  display: block;
  width: 100%;
  border: 1px solid var(--rb-border);
  border-radius: 10px;
  background: var(--rb-surface-1);
}
.map-embed--footer { height: 180px; margin-top: 1.25rem; }
.map-embed--page { height: 420px; }
@media (max-width: 600px) {
  .map-embed--page { height: 320px; }
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rb-text);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a {
  color: var(--rb-text-3);
  font-size: 0.875rem;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--rb-accent); }

.footer-contact-line {
  display: flex; align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--rb-text-2);
  margin-bottom: 0.625rem;
  line-height: 1.45;
}
.footer-contact-line svg { color: var(--rb-orange); margin-top: 2px; flex-shrink: 0; }
.footer-contact-line strong { display: block; font-weight: 600; color: var(--rb-text); }

.footer-bottom {
  border-top: 1px solid var(--rb-border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--rb-text-4);
}
.footer-bottom .legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom a { color: var(--rb-text-3); }
.footer-bottom a:hover { color: var(--rb-accent); }

/* ============================
   UTILS / ANIMATION
============================ */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fade 0.7s ease forwards;
}
.fade-in.delay-1 { animation-delay: 0.08s; }
.fade-in.delay-2 { animation-delay: 0.16s; }
.fade-in.delay-3 { animation-delay: 0.24s; }
.fade-in.delay-4 { animation-delay: 0.32s; }
@keyframes fade {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================
   INNER PAGES — shared
============================ */
.page-hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3.5rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, var(--rb-surface-1) 0%, var(--rb-bg) 100%);
  border-bottom: 1px solid var(--rb-border);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(234, 78, 27, 0.16), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(234, 78, 27, 0.06), transparent 50%);
  z-index: -1;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
@media (max-width: 880px) { .page-hero-grid { grid-template-columns: 1fr; } }
.page-hero h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  margin-bottom: 1.25rem;
}
.page-hero .lead {
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  max-width: 56ch;
}
.page-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--rb-text-3);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.crumb a { color: var(--rb-text-3); transition: color 0.18s ease; }
.crumb a:hover { color: var(--rb-accent); }
.crumb .sep { opacity: 0.5; }
.crumb .here { color: var(--rb-text-2); }

/* Stat strip used in inner-page hero */
.hero-stat-strip {
  background: var(--rb-bg);
  border: 1px solid var(--rb-border);
  border-radius: 10px;
  padding: 1.5rem;
}
.hero-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rb-border);
  font-size: 0.875rem;
}
.hero-stat-row:last-child { border-bottom: none; }
.hero-stat-row .label { color: var(--rb-text-3); }
.hero-stat-row .val { font-weight: 600; color: var(--rb-text); font-family: var(--font-display); letter-spacing: -0.01em; }
.hero-stat-row .val.orange { color: var(--rb-orange); }

/* Article body — used in service detail / segment / guide pages */
.article-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 5vw, 4.5rem);
}
.article-body > section { padding: 0; }
.article-body h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  margin-bottom: 1rem;
}
.article-body h3 {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  margin-bottom: 0.625rem;
}
.article-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--rb-text-2);
  margin-bottom: 1rem;
}
.article-body p strong { color: var(--rb-text); font-weight: 600; }
.article-body ul:not(.bare) {
  list-style: none;
  margin: 0.5rem 0 1.25rem;
  padding: 0;
}
.article-body ul:not(.bare) li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.625rem;
  color: var(--rb-text-2);
  line-height: 1.6;
}
.article-body ul:not(.bare) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px; height: 6px;
  background: var(--rb-orange);
  border-radius: 50%;
}

.tw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 760px) { .tw-grid { grid-template-columns: 1fr; } }

.spec-card {
  background: var(--rb-surface-1);
  border: 1px solid var(--rb-border);
  border-radius: 10px;
  padding: 1.5rem;
}
.spec-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.spec-card h3 svg { color: var(--rb-orange); flex-shrink: 0; }
.spec-card p {
  font-size: 0.9375rem;
  color: var(--rb-text-3);
  line-height: 1.6;
  margin: 0;
}

/* Pricing table for cost guide */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--rb-surface-1);
  border: 1px solid var(--rb-border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.9375rem;
}
.price-table thead { background: var(--rb-surface-2); }
.price-table th, .price-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--rb-border);
}
.price-table th {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rb-text-2);
}
.price-table tr:last-child td { border-bottom: none; }
.price-table td { color: var(--rb-text-2); }
.price-table .price { font-family: var(--font-display); font-weight: 600; color: var(--rb-text); letter-spacing: -0.005em; }
.price-table tbody tr:hover { background: rgba(234, 78, 27, 0.04); }

/* Steps / process numbered */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  counter-reset: step;
}
.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  background: var(--rb-surface-1);
  border: 1px solid var(--rb-border);
  border-radius: 10px;
  padding: 1.5rem;
  align-items: start;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.04em;
  color: var(--rb-orange);
  line-height: 0.9;
}
.step-card h3 { margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9375rem; color: var(--rb-text-3); margin: 0; line-height: 1.6; }

/* Inline emergency CTA banner */
.inline-cta {
  background: linear-gradient(135deg, rgba(234, 78, 27, 0.15) 0%, rgba(234, 78, 27, 0.04) 100%);
  border: 1px solid rgba(234, 78, 27, 0.3);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.inline-cta-text h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.inline-cta-text p {
  font-size: 0.9375rem;
  color: var(--rb-text-3);
  margin: 0;
}

/* TOC for guide */
.toc {
  background: var(--rb-surface-1);
  border: 1px solid var(--rb-border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
}
.toc h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rb-accent);
  margin-bottom: 1rem;
}
.toc ol { padding-left: 1.25rem; counter-reset: toc; list-style: none; }
.toc ol li {
  counter-increment: toc;
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.9375rem;
}
.toc ol li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: -1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--rb-orange);
  top: 0.5rem;
}
.toc a { color: var(--rb-text-2); transition: color 0.18s ease; }
.toc a:hover { color: var(--rb-accent); }

/* Compact related-services strip */
.related-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.875rem;
  margin-top: 1.5rem;
}
.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--rb-surface-1);
  border: 1px solid var(--rb-border);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--rb-text-2);
  transition: all 0.18s ease;
}
.related-link:hover {
  border-color: var(--rb-orange);
  background: var(--rb-surface-2);
  color: var(--rb-text);
}
.related-link svg { color: var(--rb-accent); flex-shrink: 0; }


/* ============================
   PROJECT CAROUSEL
============================ */
.carousel {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--rb-surface-2);
}
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Caption / project-tag overlay sits above the slides */
.carousel-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 50%,
    rgba(0,0,0,0.55) 92%,
    rgba(0,0,0,0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.25rem 3.25rem;
}
.carousel-overlay .project-tag {
  align-self: flex-start;
  position: static;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.12);
}
.carousel-meta {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: #fff;
  letter-spacing: -0.005em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.carousel-meta span:nth-child(2) { color: rgba(255,255,255,0.5); }

/* Arrow controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.18s ease, background 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}
.carousel-arrow:hover {
  background: var(--rb-orange);
  border-color: var(--rb-orange);
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-prev:hover { transform: translateY(-50%) translateX(-2px); }
.carousel-next:hover { transform: translateY(-50%) translateX(2px); }
.carousel:hover .carousel-arrow,
.carousel:focus-within .carousel-arrow { opacity: 1; }

/* Dot indicators */
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s ease, width 0.22s ease;
}
.carousel-dot.is-active {
  background: var(--rb-orange);
  width: 22px;
  border-radius: 4px;
}
.carousel-dot:hover { background: rgba(255,255,255,0.7); }
.carousel-dot.is-active:hover { background: var(--rb-orange); }

/* Hide nav controls when only one slide */
.carousel[data-single] .carousel-arrow,
.carousel[data-single] .carousel-dots { display: none; }

/* Hover lift on the parent card — keep behaviour from before */
.project-card {
  background: var(--rb-surface-1);
  border: 1px solid var(--rb-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: block;
}
.project-card:hover {
  border-color: var(--rb-orange);
  transform: translateY(-3px);
}
.project-card .project-meta {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Touch/mobile: arrows stay visible (no hover state on touch) */
@media (hover: none) {
  .carousel-arrow { opacity: 1; }
}

/* Reduced motion: instant transitions */
@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}
