/*
Theme Name: Restoration Roofing
Theme URI: https://restorationroofinginc.com
Author: Restoration Roofing LLC
Description: Custom Elementor-compatible navy theme for Restoration Roofing LLC. Dayton, Ohio roofing contractor.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: restoration-roofing
Tags: elementor, contractor, dark, business
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Brand palette */
  --color-base:       #021B44;   /* Brand navy — page background */
  --color-muted:      #0B2C5F;   /* Lighter navy — alternate sections */
  --color-deep:       #010F29;   /* Deepest navy — footer */
  --color-primary:    #DB6124;   /* Brand copper-orange — accents, buttons (softened from logo #F85400) */
  --color-primary-dk: #BD531F;
  --color-secondary:  #FF8A3D;   /* Light orange */
  --color-accent:     #4F8FE6;   /* Sky blue */
  --color-card:       #082554;
  --color-border:     #1C3F75;

  /* Text */
  --color-white:      #FFFFFF;
  --color-text-lt:    #C3CDE0;
  --color-text-md:    #8D9BB8;
  --color-text-dk:    #6E80A3;

  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  2rem;      /* 32px */
  --text-4xl:  2.5rem;    /* 40px */
  --text-5xl:  3.25rem;   /* 52px */
  --text-6xl:  4.25rem;   /* 68px */

  /* Layout */
  --container-max: 1200px;
  --section-pad:   90px;
  --section-pad-sm: 60px;
  --nav-height:    84px;
  --radius:        4px;
  --radius-md:     8px;
  --gutter:        30px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-base);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--color-primary-dk); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--color-white);
}

p { color: var(--color-text-lt); line-height: 1.7; }

button { cursor: pointer; border: none; background: none; }

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section--sm {
  padding-top: var(--section-pad-sm);
  padding-bottom: var(--section-pad-sm);
}

.section--dark  { background-color: var(--color-base); }
.section--muted { background-color: var(--color-muted); }
.section--card  { background-color: var(--color-card); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap { display: flex; gap: 16px; }

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-orange  { color: var(--color-primary) !important; }
.text-yellow  { color: var(--color-secondary) !important; }
.text-white   { color: var(--color-white) !important; }
.text-gray    { color: var(--color-text-lt) !important; }

/* ==========================================================================
   SECTION LABEL
   ========================================================================== */

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-dk);
  border-color: var(--color-primary-dk);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-base);
  transform: translateY(-2px);
}

.btn--outline-orange {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline-orange:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   BADGES / CHIPS
   ========================================================================== */

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius);
}

.badge--outline {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.rr-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: var(--color-base);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.rr-header.scrolled {
  box-shadow: 0 2px 20px rgba(1, 15, 41, 0.6);
}

.rr-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.rr-header-logo a {
  display: block;
  text-decoration: none;
}

.rr-logo {
  height: 64px;
  width: auto;
}

/* Nav list */
.rr-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rr-nav-list li { position: relative; }

.rr-nav-list a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rr-nav-list a:hover,
.rr-nav-list li.current-menu-item > a,
.rr-nav-list li.current_page_item > a {
  color: var(--color-primary);
}

/* Phone CTA in header */
.rr-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.rr-phone-link:hover { color: var(--color-primary-dk); }

/* Mobile menu toggle */
.rr-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.rr-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Spacer to push content below fixed nav */
.rr-nav-spacer { height: var(--nav-height); }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.rr-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.rr-hero--page {
  min-height: 380px;
}

.rr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 27, 68, 0.7);
  z-index: 1;
}

.rr-hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.rr-hero h1 {
  font-size: var(--text-6xl);
  line-height: 1.0;
  margin-bottom: 20px;
}

.rr-hero p {
  font-size: var(--text-lg);
  max-width: 520px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
}

/* ==========================================================================
   SECTION HEADINGS (shared pattern)
   ========================================================================== */

.rr-section-heading {
  font-size: var(--text-4xl);
  margin-bottom: 16px;
}

.rr-section-heading--lg {
  font-size: var(--text-5xl);
}

.rr-section-intro {
  font-size: var(--text-base);
  color: var(--color-text-lt);
  max-width: 600px;
  margin-bottom: 48px;
}

/* ==========================================================================
   SERVICE CARDS (home 2x2 grid + services page rows)
   ========================================================================== */

/* Home 2x2 preview cards */
.rr-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.rr-service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background-color: var(--color-card);
}

.rr-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rr-service-card:hover img { transform: scale(1.05); }

.rr-service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,15,41,0.85) 0%, rgba(2,27,68,0.2) 60%, transparent 100%);
}

.rr-service-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
}

.rr-service-card .badge {
  margin-bottom: 8px;
}

.rr-service-card h3 {
  font-size: var(--text-xl);
  color: var(--color-white);
}

/* Services page alternating rows */
.rr-service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
}

.rr-service-row--reverse { direction: rtl; }
.rr-service-row--reverse > * { direction: ltr; }

.rr-service-row-img {
  overflow: hidden;
  background-color: var(--color-card);
}

.rr-service-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rr-service-row-body {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-card);
}

.rr-service-row-body h2 {
  font-size: var(--text-3xl);
  margin-bottom: 16px;
}

.rr-service-row-body p {
  margin-bottom: 24px;
}

.rr-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.rr-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--color-text-lt);
}

.rr-feature-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */

.rr-stats {
  background-color: var(--color-muted);
  padding: 80px 0;
}

.rr-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  text-align: center;
}

.rr-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.rr-stat-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-lt);
}

.rr-stat-divider {
  width: 1px;
  background-color: var(--color-border);
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */

.rr-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.rr-review-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.rr-review-stars {
  color: var(--color-primary);
  font-size: var(--text-lg);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.rr-review-text {
  font-size: var(--text-sm);
  color: var(--color-text-lt);
  line-height: 1.7;
  margin-bottom: 16px;
}

.rr-review-author {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
}

.rr-review-location {
  font-size: var(--text-xs);
  color: var(--color-text-md);
  margin-top: 2px;
}

/* ==========================================================================
   CTA SECTIONS (full-width text + optional form)
   ========================================================================== */

.rr-cta {
  background-color: var(--color-muted);
  padding: var(--section-pad) 0;
}

.rr-cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.rr-cta h2 {
  font-size: var(--text-5xl);
  line-height: 1.05;
  margin-bottom: 16px;
}

.rr-cta p {
  margin-bottom: 32px;
}

.rr-cta-centered {
  text-align: center;
}

.rr-cta-centered h2 {
  font-size: var(--text-5xl);
  margin-bottom: 12px;
}

.rr-cta-centered p {
  max-width: 540px;
  margin: 0 auto 36px;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.rr-form .form-group {
  margin-bottom: 16px;
}

.rr-form label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-lt);
  margin-bottom: 6px;
}

.rr-form input,
.rr-form textarea,
.rr-form select {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: border-color 0.2s ease;
  outline: none;
}

.rr-form input:focus,
.rr-form textarea:focus {
  border-color: var(--color-primary);
}

.rr-form input::placeholder,
.rr-form textarea::placeholder {
  color: var(--color-text-dk);
}

.rr-form textarea {
  resize: vertical;
  min-height: 120px;
}

.rr-form .btn {
  width: 100%;
  justify-content: center;
}

/* WPForms overrides to match theme */
.wpforms-form .wpforms-field input,
.wpforms-form .wpforms-field textarea,
.wpforms-form .wpforms-field select {
  background-color: var(--color-base) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius) !important;
  color: var(--color-white) !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-sm) !important;
  padding: 12px 16px !important;
}

/* Dropdown: custom copper arrow (native arrow is hidden by appearance:none); dark option list */
.wpforms-form .wpforms-field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  height: auto !important;
  padding-right: 44px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23DB6124' stroke-width='2'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 12px 8px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  line-height: 1.4 !important;
  cursor: pointer;
}
/* Open option list: many browsers (macOS especially) draw it natively on white and ignore option
   backgrounds, while WPForms forces options to inherit the field's white text — white on white.
   Explicit dark-on-white is readable whether or not the browser honors option styling. */
div.wpforms-container-full .wpforms-form .wpforms-field-select select > option {
  background-color: #FFFFFF !important;
  color: var(--color-base) !important;
}

.wpforms-form .wpforms-field input:focus,
.wpforms-form .wpforms-field textarea:focus,
.wpforms-form .wpforms-field select:focus {
  border-color: var(--color-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(219, 97, 36, 0.2) !important;
}

.wpforms-form .wpforms-field label {
  color: var(--color-text-lt) !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-xs) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.wpforms-form .wpforms-submit-container button[type=submit],
.wpforms-form button[type=submit] {
  background-color: var(--color-primary) !important;
  border: 2px solid var(--color-primary) !important;
  color: var(--color-white) !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-sm) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  padding: 14px 28px !important;
  border-radius: var(--radius) !important;
  width: 100% !important;
  transition: background-color 0.2s ease !important;
  cursor: pointer !important;
}

.wpforms-form .wpforms-submit-container button[type=submit]:hover {
  background-color: var(--color-primary-dk) !important;
  border-color: var(--color-primary-dk) !important;
}

/* ==========================================================================
   GALLERY (CPT + Isotope)
   ========================================================================== */

.rr-gallery-wrap { width: 100%; }

.rr-gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.rr-filter-btn {
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-lt);
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
}

.rr-filter-btn:hover,
.rr-filter-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.rr-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}

/* Isotope requires float-based layout; override grid for isotope */
.isotope-grid {
  display: block;
  margin: -15px;
}

.isotope-item {
  width: calc(50% - 30px);
  margin: 15px;
  float: left;
}

.rr-gallery-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rr-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(1, 15, 41, 0.6);
}

.rr-gallery-img {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-muted);
  overflow: hidden;
}

/* Subtle dark gradient at bottom so badge stays readable */
.rr-gallery-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,15,41,0.6) 0%, transparent 50%);
  z-index: 1;
  transition: background 0.25s ease;
}

.rr-gallery-card:hover .rr-gallery-img-overlay {
  background: linear-gradient(to top, rgba(2, 27, 68, 0.7) 0%, rgba(219, 97, 36,0.08) 100%);
}

/* Badge sits bottom-left over the gradient */
.rr-gallery-img .badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
}

.rr-gallery-body {
  padding: 20px 24px 24px;
}

.rr-gallery-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 8px;
}

/* Category · Date meta line */
.rr-gallery-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-md);
  margin-bottom: 12px;
}

.rr-gallery-meta-cat  { color: var(--color-primary); }
.rr-gallery-meta-sep  { color: var(--color-text-dk); }
.rr-gallery-meta-date { display: flex; align-items: center; gap: 5px; }
.rr-gallery-meta-date i { color: var(--color-primary); font-size: 10px; }

.rr-gallery-excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-lt);
  line-height: 1.6;
}

.rr-gallery-excerpt p { margin: 0; }

/* Clearfix for Isotope */
.isotope-grid::after {
  content: '';
  display: table;
  clear: both;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.rr-about-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: center;
}

.rr-about-img-wrap {
  position: relative;
}

.rr-about-img-wrap img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.rr-about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background-color: var(--color-primary);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
}

.rr-about-badge .number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.rr-about-badge .label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
}

/* Core Values grid */
.rr-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.rr-value-item {
  text-align: center;
}

.rr-value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-primary);
  font-size: 24px;
}

.rr-value-title {
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 8px;
}

.rr-value-desc {
  font-size: var(--text-sm);
  color: var(--color-text-lt);
  line-height: 1.6;
}

/* Credentials section */
.rr-credentials-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.rr-cred-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rr-cred-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-text-lt);
}

.rr-cred-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rr-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rr-mini-stat {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.rr-mini-stat .number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.rr-mini-stat .label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-lt);
}

/* ==========================================================================
   SERVICE AREA PAGE
   ========================================================================== */

.rr-map-split {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 60px;
  align-items: center;
}

.rr-map-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-muted);
}

.rr-map-img img {
  width: 100%;
  display: block;
}

.rr-check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rr-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-text-lt);
}

.rr-check-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
}

/* Areas We Serve county grid */
.rr-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin-top: 48px;
}

.rr-county-block {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.rr-county-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.rr-county-name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
}

.rr-county-cities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rr-county-cities li {
  font-size: var(--text-sm);
  color: var(--color-text-lt);
  padding-left: 12px;
  position: relative;
}

.rr-county-cities li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-text-dk);
}

.rr-areas-note {
  text-align: center;
  margin-top: 36px;
  font-size: var(--text-sm);
  color: var(--color-text-md);
  font-style: italic;
}

.rr-areas-note a {
  color: var(--color-primary);
  font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.rr-footer {
  background-color: var(--color-deep);
  padding: 70px 0 0;
  border-top: 1px solid var(--color-border);
}

.rr-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
}

.rr-footer-logo {
  height: 96px;
  width: auto;
  margin-bottom: 16px;
}

.rr-footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-lt);
  line-height: 1.7;
  margin-bottom: 16px;
}

.rr-footer-license {
  font-size: var(--text-xs);
  color: var(--color-text-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rr-footer-col-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.rr-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rr-footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-lt);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rr-footer-links a:hover { color: var(--color-primary); }

.rr-footer-availability {
  font-size: var(--text-xs);
  color: var(--color-text-md);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.rr-footer-phone {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.rr-footer-phone:hover { color: var(--color-primary-dk); }

.rr-footer-cta-btn {
  display: block;
  text-align: center;
}

/* Footer bottom bar */
.rr-footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
}

.rr-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.rr-footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-dk);
}

.rr-footer-legal {
  display: flex;
  gap: 20px;
}

.rr-footer-legal a {
  font-size: var(--text-xs);
  color: var(--color-text-dk);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rr-footer-legal a:hover { color: var(--color-primary); }

/* ==========================================================================
   ELEMENTOR OVERRIDES
   ========================================================================== */

/* Remove Elementor default padding on canvas/full-width pages */
.elementor-page .entry-content,
.elementor-page article {
  padding: 0;
  margin: 0;
}

body.elementor-page { overflow-x: hidden; }

/* Ensure Elementor sections use full width */
.elementor-section.elementor-section-full_width {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Constrain inner content to container width regardless of section content-width setting.
   Section backgrounds remain full-bleed; only the inner content wrapper is limited. */
.elementor-container {
  max-width: var(--container-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Theme defaults for Elementor heading widgets. Specificity beats Elementor's global
   defaults but loses to per-widget Style-tab settings, so editors can still override. */
body .elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--color-white);
}

/* Elementor text editor respects theme body defaults */
.elementor-widget-text-editor {
  font-family: var(--font-body);
  color: var(--color-text-lt);
  line-height: 1.7;
}

/* Section label when used as a text widget above a heading */
.elementor-widget-text-editor .section-label,
.elementor-widget-text-editor p.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* Two-tone heading accents — wrap words in <span class="accent"> in Elementor HTML */
.elementor-heading-title .accent      { color: var(--color-primary)   !important; }
.elementor-heading-title .accent-yellow { color: var(--color-secondary) !important; }
.elementor-heading-title .text-orange { color: var(--color-primary)   !important; }

/* Icon widget defaults */
.elementor-widget-icon .elementor-icon {
  color: var(--color-primary);
}

/* Divider widget — match theme border color */
.elementor-widget-divider .elementor-divider-separator {
  border-color: var(--color-border);
}

/* ==========================================================================
   ICON CIRCLE — used in Core Values, Service cards, etc.
   Usage: <div class="rr-icon-circle"><i class="fa-solid fa-shield"></i></div>
   ========================================================================== */

.rr-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(219, 97, 36, 0.10);
  border: 1px solid rgba(219, 97, 36, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 22px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.rr-icon-circle--sm {
  width: 42px;
  height: 42px;
  font-size: 16px;
  margin-bottom: 0;
}

.rr-icon-circle--lg {
  width: 76px;
  height: 76px;
  font-size: 28px;
}

/* Core values reuses .rr-value-icon — ensure FA icons render at the right size */
.rr-value-icon i { font-size: 22px; }

/* ==========================================================================
   STATS FEATURES LIST — bullet list below the 4-number stats grid
   Usage: <ul class="rr-stats-features">
   ========================================================================== */

.rr-stats-features {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  padding-top: 36px;
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 40px;
}

.rr-stats-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-text-lt);
}

.rr-stats-features li i {
  color: var(--color-primary);
  font-size: 12px;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

/* ==========================================================================
   COUNTY BLOCK ICON — map pin inside county header on Service Area page
   Usage: <span class="rr-county-icon"><i class="fa-solid fa-location-dot"></i></span>
   ========================================================================== */

.rr-county-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   FEATURE / CHECK LISTS — support both CSS pseudo and FA icons
   ========================================================================== */

/* When FA icon <i> is the first child, suppress the CSS ::before fallback */
.rr-feature-list li:has(> i:first-child)::before { display: none; }
.rr-feature-list li > i:first-child {
  color: var(--color-primary);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.rr-check-list li:has(> i:first-child)::before { display: none; }
.rr-check-list li > i:first-child {
  color: var(--color-primary);
  font-size: 14px;
  flex-shrink: 0;
}

.rr-cred-list li:has(> i:first-child)::before { display: none; }
.rr-cred-list li > i:first-child {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   UTILITIES — SPACING
   ========================================================================== */

.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
  :root {
    --section-pad: 70px;
  }
  .rr-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  :root {
    --text-6xl: 3.25rem;
    --text-5xl: 2.5rem;
    --section-pad: 60px;
  }
  .rr-nav { display: none; }
  .rr-menu-toggle { display: flex; }
  .rr-hero h1 { font-size: var(--text-5xl); }
  .rr-service-grid { grid-template-columns: 1fr; }
  .rr-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .rr-stats-features { grid-template-columns: repeat(2, 1fr); }
  .rr-reviews-grid { grid-template-columns: 1fr 1fr; }
  .rr-cta-split { grid-template-columns: 1fr; gap: 40px; }
  .rr-service-row { grid-template-columns: 1fr; min-height: auto; }
  .rr-service-row--reverse { direction: ltr; }
  .rr-service-row-img { min-height: 300px; }
  .rr-service-row-body { padding: 40px 32px; }
  .rr-about-split { grid-template-columns: 1fr; }
  .rr-credentials-split { grid-template-columns: 1fr; }
  .rr-map-split { grid-template-columns: 1fr; }
  .rr-areas-grid { grid-template-columns: repeat(2, 1fr); }
  .rr-values-grid { grid-template-columns: repeat(2, 1fr); }
  .isotope-item { width: calc(50% - 30px); }
}

@media (max-width: 768px) {
  :root {
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --section-pad: 50px;
  }
  .rr-header-cta { display: none; }
  .rr-reviews-grid { grid-template-columns: 1fr; }
  .rr-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .rr-footer-bottom-inner { flex-direction: column; text-align: center; }
  .rr-areas-grid { grid-template-columns: 1fr; }
  .isotope-item { width: calc(100% - 30px); }
  .rr-gallery-img { height: 240px; }
  .rr-feature-list { grid-template-columns: 1fr; }
  .rr-mini-stats { grid-template-columns: 1fr; }
  .rr-stats-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .rr-hero--page { min-height: 260px; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .rr-stats-grid { grid-template-columns: 1fr 1fr; }
  .rr-values-grid { grid-template-columns: 1fr; }
}

/* Mobile nav open state */
.rr-nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-base);
  z-index: 999;
  padding: 20px;
  overflow-y: auto;
}

.rr-nav.is-open .rr-nav-list {
  flex-direction: column;
  gap: 0;
}

.rr-nav.is-open .rr-nav-list a {
  font-size: var(--text-lg);
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}

/* Menu toggle animation */
.rr-menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rr-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.rr-menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   AOS ANIMATION OVERRIDES (ensure dark background doesn't flash)
   ========================================================================== */

[data-aos] { backface-visibility: hidden; }

/* ==========================================================================
   CONTENT COMPONENTS (v1.2) — opt-in via Elementor "CSS Classes" (Advanced tab).
   All text, icons, colors and links stay editable in Elementor; these classes
   only add card chrome, hover motion and decorative accents.
   ========================================================================== */

/* Eyebrow label above section headings — heading widget, class rr-eyebrow */
body .rr-eyebrow .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-primary);
}
body .rr-eyebrow .elementor-heading-title::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-primary);
}
body .rr-eyebrow.elementor-align-center .elementor-heading-title::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-primary);
}

/* Card — column class rr-card */
.rr-card > .elementor-widget-wrap {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 34px 30px !important;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.rr-card > .elementor-widget-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.rr-card:hover > .elementor-widget-wrap {
  transform: translateY(-6px);
  border-color: rgba(219, 97, 36, 0.45);
  box-shadow: 0 18px 40px rgba(1, 15, 41, 0.55);
}
.rr-card:hover > .elementor-widget-wrap::before { transform: scaleX(1); }
.rr-card--accent > .elementor-widget-wrap::before { transform: scaleX(1); }
.rr-card--muted > .elementor-widget-wrap { background: var(--color-muted); }

/* Feature icon boxes — icon-box widget, class rr-feature */
.rr-feature .elementor-icon {
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.rr-card:hover .rr-feature .elementor-icon,
.rr-feature:hover .elementor-icon { transform: rotate(-8deg) scale(1.08); }
body .rr-feature .elementor-icon-box-title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.rr-feature .elementor-icon-box-description { color: var(--color-text-lt); line-height: 1.7; }

/* Process steps — inner section class rr-step; number heading class rr-step-num */
.rr-steps { counter-reset: none; }
.rr-step > .elementor-container { position: relative; align-items: stretch; }
.rr-step .rr-step-col-num > .elementor-widget-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* vertical connector line between steps */
.rr-step .rr-step-col-num > .elementor-widget-wrap::after {
  content: "";
  position: absolute;
  top: 96px;
  bottom: -40px;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), rgba(219, 97, 36, 0));
}
.rr-step--last .rr-step-col-num > .elementor-widget-wrap::after { display: none; }
body .rr-step-num .elementor-heading-title {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 2.25rem;
  box-shadow: 0 0 0 8px rgba(219, 97, 36, 0.15);
}
.rr-step-body > .elementor-widget-wrap {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 30px 34px !important;
}

/* Compact horizontal step chips (home page teaser) — column class rr-step-chip */
.rr-step-chip > .elementor-widget-wrap { text-align: center; padding: 10px 8px !important; }
body .rr-step-chip .rr-step-num .elementor-heading-title {
  width: 64px; height: 64px; font-size: 1.6rem; margin: 0 auto;
}

/* County / area cards — column class rr-card plus icon-list inside */
.rr-area-list .elementor-icon-list-text { color: var(--color-text-lt); }

/* Trust strip — section class rr-trust */
.rr-trust { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.rr-trust .elementor-icon-list-items.elementor-inline-items { justify-content: center; row-gap: 10px; }

/* Pull quote — heading widget class rr-quote */
body .rr-quote .elementor-heading-title {
  font-family: var(--font-heading);
  text-transform: none;
  font-weight: 500;
  border-left: 4px solid var(--color-primary);
  padding: 6px 0 6px 26px;
  line-height: 1.3;
}

/* Hero helpers — section class rr-hero-el */
.rr-hero-el .elementor-background-overlay { pointer-events: none; }
body .rr-hero-el h1.elementor-heading-title { text-shadow: 0 4px 24px rgba(1, 15, 41, 0.6); }

/* Highlight badge (e.g. "Home Base") — heading widget class rr-badge */
body .rr-badge .elementor-heading-title {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
}

/* Star rating centered helper */
.rr-stars .elementor-star-rating i::before { color: var(--color-primary); }

/* Elementor buttons: subtle lift on hover */
.elementor-widget-button .elementor-button { transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; }
.elementor-widget-button .elementor-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(219, 97, 36, 0.25); }

/* Testimonial widget on dark */
.rr-review > .elementor-widget-wrap .elementor-testimonial-content { color: var(--color-text-lt); font-style: italic; line-height: 1.75; }
.rr-review .elementor-testimonial-name { color: var(--color-white) !important; font-family: var(--font-heading); text-transform: uppercase; }
.rr-review .elementor-testimonial-job { color: var(--color-primary) !important; }

@media (max-width: 767px) {
  .rr-step .rr-step-col-num > .elementor-widget-wrap::after { display: none; }
  .rr-step-body > .elementor-widget-wrap { padding: 24px 22px !important; }
  body .rr-step-num .elementor-heading-title { width: 64px; height: 64px; font-size: 1.6rem; margin-bottom: 14px; }
}

/* ==========================================================================
   v1.2 — links, paragraphs, forms, Atlas catalog
   ========================================================================== */

/* Paragraph rhythm inside Elementor text blocks */
.elementor-widget-text-editor p { margin: 0 0 1em; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Inline text links (incl. automatic links on Atlas mentions) */
.elementor-widget-text-editor a,
.elementor-icon-box-description a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.elementor-widget-text-editor a:hover,
.elementor-icon-box-description a:hover { color: var(--color-white); }

/* Linked headings / icon boxes / list items: keep their color, add an orange hover */
.elementor-widget-heading .elementor-heading-title a { color: inherit; transition: color 0.2s ease; }
.elementor-widget-heading .elementor-heading-title a:hover,
.elementor-widget-icon-box .elementor-icon-box-title a:hover { color: var(--color-primary); }
.elementor-widget-icon-list a:hover .elementor-icon-list-text { text-decoration: underline; text-underline-offset: 3px; }

/* WPForms on navy: full-width fields and readable placeholders */
.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field textarea,
.wpforms-container .wpforms-field select { max-width: 100% !important; width: 100% !important; }
.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder { color: var(--color-text-md) !important; opacity: 1; }

/* Atlas product catalog (cross-origin iframe).
   Sits inside the standard content container with an orange frame. Atlas does
   not report its content height, so the frame is sized to the viewport (minus
   the header and some breathing room) and scrolls internally — no clipped
   content, no double scrollbars. "Browse the Catalog" jumps to #catalog. */
.rr-atlas-section { scroll-margin-top: var(--nav-height); padding-top: 60px !important; }
.rr-atlas-frame iframe,
#atlas-web-injector {
  display: block;
  width: 100% !important;
  height: calc(100vh - var(--nav-height) - 60px) !important;
  height: calc(100dvh - var(--nav-height) - 60px) !important;
  min-height: 600px !important;
  border: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 6px rgba(219, 97, 36, 0.15), 0 24px 60px rgba(1, 15, 41, 0.6);
  background: #fff;
}
.rr-atlas-section .elementor-widget-text-editor { padding-top: 22px; }

/* Closing CTA band — navy with a soft orange glow beneath the top accent line */
.rr-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(219, 97, 36, 0.16), transparent 70%);
  pointer-events: none;
}
.rr-cta-band > .elementor-container { position: relative; z-index: 1; }

/* Hearth financing — calculator embed (fixed 320×771 card drawn by Hearth's script) and banner */
/* Pin the frame to the card's real size (Elementor's `.elementor iframe { width:100%; margin:0 }`
   loads after this file and was stretching it to the column, leaving the card off-center with
   only its left corners rounded). Content is 772px tall, 1px more than Hearth's height attribute. */
.rr-hearth-calc iframe {
  display: block;
  width: 320px !important;
  max-width: 100% !important;
  height: 772px !important;
  margin: 0 auto !important;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(1, 15, 41, 0.45);
}
.rr-hearth-banner img { box-shadow: 0 14px 34px rgba(1, 15, 41, 0.5); transition: transform 0.25s ease; }
.rr-hearth-banner a:hover img { transform: translateY(-3px); }

/* Side-by-side (inline) buttons: line them up.
   Elementor gives every widget except the last a 20px bottom gap, which pushes the first of two
   inline buttons up when the column is vertically centered; outline buttons are also 4px taller
   because of their 2px border. Zero the gap and give every button a matching transparent border. */
.elementor-widget-wrap > .elementor-widget-button.elementor-widget__width-auto { margin-block-end: 0 !important; margin-bottom: 0 !important; }
.elementor-widget-button .elementor-button { border: 2px solid transparent; }

/* ==========================================================================
   COMING SOON (template-coming-soon.php) — standalone pre-launch page
   ========================================================================== */
.rr-cs-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.rr-cs-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rr-cs-footer {
  background: var(--color-deep);
  border-top: 1px solid var(--color-border);
  padding: 22px 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-md);
}
.rr-cs-footer a { color: var(--color-primary); }
@media (max-width: 767px) {
  .rr-cs-header { position: relative; background: var(--color-deep); }
  .rr-cs-header .rr-phone-link { font-size: var(--text-sm); }
}
.rr-coming-soon .rr-cs-header .rr-logo { height: 96px; width: auto; }
@media (max-width: 767px) { .rr-coming-soon .rr-cs-header .rr-logo { height: 72px; } }

/* Legal pages (Privacy Policy) — readable line length and real bullets */
.rr-legal > .elementor-container { max-width: 880px !important; }
.rr-legal .elementor-widget-text-editor ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.rr-legal .elementor-widget-text-editor li { margin-bottom: 6px; }
.rr-legal .elementor-widget-text-editor li::marker { color: var(--color-primary); }
.rr-legal .elementor-widget-text-editor h4 { font-family: var(--font-heading); text-transform: uppercase; color: var(--color-white); font-size: 1.05rem; margin: 18px 0 8px; }
.rr-legal .elementor-widget-text-editor strong { color: var(--color-white); }
