/* Service Pages — shared component styles
   Extends homepage.css (which provides nav, hero, form, locations, reviews, FAQ, CTA, footer)
*/

/* Intro section */
.rbm-svc-intro {
  padding: 60px 0;
  background: white;
}
.rbm-svc-intro p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--rbm-gray-text);
  max-width: 800px;
}

/* Service card grid (6 cards, 3 cols) */
.rbm-svc-section {
  padding: 80px 0;
}
.rbm-svc-section.bg-white { background: white; }
.rbm-svc-section.bg-warm { background: var(--rbm-warm-white); }
.rbm-svc-section.bg-light { background: var(--rbm-gray-light); }
.rbm-svc-section.bg-navy { background: var(--rbm-navy); }

.rbm-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #DDD;
  border-radius: 8px;
  overflow: hidden;
}
.rbm-svc-card {
  background: white;
  padding: 32px 24px;
}
.rbm-svc-card-icon {
  width: 48px; height: 48px;
  background: var(--rbm-gray-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.rbm-svc-card-title {
  font-family: var(--rbm-font-condensed);
  font-size: 16px;
  font-weight: 700;
  color: var(--rbm-navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.rbm-svc-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--rbm-gray-text);
}

/* Image placeholder */
.rbm-svc-img-placeholder {
  width: 100%;
  aspect-ratio: 16/7;
  background: var(--rbm-gray-light);
  border: 2px dashed var(--rbm-gray-mid);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--rbm-gray-text);
  font-style: italic;
  text-align: center;
  padding: 24px;
}

/* 3-column layout */
.rbm-svc-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rbm-svc-col {
  background: var(--rbm-warm-white);
  padding: 32px 24px;
  border-radius: 6px;
  border-top: 3px solid var(--rbm-red);
}
.rbm-svc-col-title {
  font-family: var(--rbm-font-condensed);
  font-size: 18px;
  font-weight: 700;
  color: var(--rbm-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.rbm-svc-col-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rbm-gray-text);
}

/* 2-column list */
.rbm-svc-two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.rbm-svc-two-col-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rbm-svc-two-col-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rbm-gray-light);
  font-size: 15px;
  color: var(--rbm-charcoal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.rbm-svc-two-col-list li::before {
  content: '\2713';
  color: var(--rbm-red);
  font-weight: 700;
  flex-shrink: 0;
}

/* Horizontal cards (4-card row) */
.rbm-svc-horizontal-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.rbm-svc-hcard {
  background: var(--rbm-warm-white);
  padding: 28px 20px;
  border-radius: 6px;
  border-left: 3px solid var(--rbm-red);
}
.rbm-svc-hcard-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.rbm-svc-hcard-title {
  font-family: var(--rbm-font-condensed);
  font-size: 16px;
  font-weight: 700;
  color: var(--rbm-navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.rbm-svc-hcard-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--rbm-gray-text);
}

/* Process steps (4 columns) */
.rbm-svc-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #DDD;
  border-radius: 8px;
  overflow: hidden;
}

/* 2-column comparison */
.rbm-svc-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.rbm-svc-compare-col {
  background: var(--rbm-warm-white);
  padding: 36px 28px;
  border-radius: 6px;
  border-top: 3px solid var(--rbm-red);
}
.rbm-svc-compare-title {
  font-family: var(--rbm-font-condensed);
  font-size: 22px;
  font-weight: 700;
  color: var(--rbm-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.rbm-svc-compare-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--rbm-gray-text);
}

/* Map placeholder */
.rbm-svc-map-placeholder {
  width: 100%;
  min-height: 320px;
  background: var(--rbm-navy-mid);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  text-align: center;
  padding: 40px;
}
.rbm-svc-map-placeholder p {
  color: rgba(255,255,255,0.7);
  font-style: normal;
  font-size: 16px;
  margin-top: 16px;
  font-weight: 600;
}

/* Comparison table */
.rbm-svc-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
}
.rbm-svc-table th {
  background: var(--rbm-navy);
  color: white;
  font-family: var(--rbm-font-condensed);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 20px;
  text-align: left;
}
.rbm-svc-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--rbm-charcoal);
  border-bottom: 1px solid var(--rbm-gray-light);
  background: white;
}
.rbm-svc-table tr:nth-child(even) td {
  background: var(--rbm-warm-white);
}
.rbm-svc-table td:first-child {
  font-family: var(--rbm-font-condensed);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--rbm-navy);
}

/* Internal links section */
.rbm-svc-internal-links {
  background: var(--rbm-gray-light);
  padding: 48px 0;
}
.rbm-svc-internal-links .rbm-section-title {
  color: var(--rbm-navy);
}
.rbm-svc-internal-links-title {
  font-family: var(--rbm-font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rbm-gray-text);
  margin-bottom: 16px;
}
.rbm-svc-internal-links-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.rbm-svc-internal-links-grid a {
  background: white;
  padding: 12px 20px;
  border-radius: 4px;
  font-family: var(--rbm-font-condensed);
  font-size: 14px;
  font-weight: 700;
  color: var(--rbm-navy);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
  border: 1px solid var(--rbm-gray-mid);
}
.rbm-svc-internal-links-grid a:hover {
  background: var(--rbm-red);
  color: white;
  border-color: var(--rbm-red);
}

/* Override location card colors when used inside internal links (light bg) */
.rbm-svc-internal-links .rbm-location-card {
  background: white;
  border: 1px solid var(--rbm-gray-mid);
  border-radius: 6px;
}
.rbm-svc-internal-links .rbm-loc-name {
  color: var(--rbm-navy);
}
.rbm-svc-internal-links .rbm-loc-tag {
  color: var(--rbm-gray-text);
}
.rbm-svc-internal-links .rbm-loc-arrow {
  color: var(--rbm-red);
}
.rbm-svc-internal-links .rbm-location-card:hover {
  background: var(--rbm-red);
  border-color: var(--rbm-red);
}
.rbm-svc-internal-links .rbm-location-card:hover .rbm-loc-name,
.rbm-svc-internal-links .rbm-location-card:hover .rbm-loc-tag,
.rbm-svc-internal-links .rbm-location-card:hover .rbm-loc-arrow {
  color: white;
}
/* Locations grid inside internal links: use gap instead of bg-color trick */
.rbm-svc-internal-links .rbm-locations-grid {
  background: transparent;
  gap: 12px;
}

/* Neighborhoods list */
.rbm-neighborhoods-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rbm-neighborhoods-list li {
  font-size: 15px;
  color: var(--rbm-charcoal);
  padding: 12px 0;
  border-bottom: 1px solid var(--rbm-gray-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rbm-neighborhoods-list li::before {
  content: '\2713';
  color: var(--rbm-red);
  font-weight: 700;
  flex-shrink: 0;
}

/* Testimonials grid */
.rbm-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Contact page */
.rbm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}
.rbm-contact-info-card {
  background: var(--rbm-navy);
  border-radius: 8px;
  padding: 40px 32px;
}
.rbm-contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rbm-contact-detail:last-child { border-bottom: none; }
.rbm-contact-detail-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.rbm-contact-detail-label {
  font-family: var(--rbm-font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.rbm-contact-detail-value {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
}
a.rbm-contact-detail-value:hover { color: white; }
.rbm-contact-form-card {
  background: white;
  border-radius: 8px;
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border-top: 4px solid var(--rbm-red);
}
/* Style CF7 form fields to match RBM design */
.rbm-contact-form-card .wpcf7-form-control-wrap input[type="text"],
.rbm-contact-form-card .wpcf7-form-control-wrap input[type="email"],
.rbm-contact-form-card .wpcf7-form-control-wrap textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #DDD;
  border-radius: 4px;
  font-family: var(--rbm-font-body);
  font-size: 14px;
  color: var(--rbm-navy);
  background: var(--rbm-warm-white);
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 14px;
}
.rbm-contact-form-card .wpcf7-form-control-wrap input:focus,
.rbm-contact-form-card .wpcf7-form-control-wrap textarea:focus {
  border-color: var(--rbm-red);
}
.rbm-contact-form-card .wpcf7-form-control-wrap textarea {
  min-height: 120px;
  resize: vertical;
}
.rbm-contact-form-card .wpcf7-submit {
  width: 100%;
  background: var(--rbm-red);
  color: white;
  font-family: var(--rbm-font-condensed);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}
.rbm-contact-form-card .wpcf7-submit:hover { background: var(--rbm-red-dark); }
/* Fallback form textarea */
.rbm-form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #DDD;
  border-radius: 4px;
  font-family: var(--rbm-font-body);
  font-size: 14px;
  color: var(--rbm-navy);
  background: var(--rbm-warm-white);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  min-height: 120px;
}
.rbm-form-group textarea:focus { border-color: var(--rbm-red); }

/* Privacy policy */
.rbm-privacy-content {
  background: white;
  padding: 64px 0 80px;
}
.rbm-privacy-body {
  max-width: 760px;
  margin: 0 auto;
}
.rbm-privacy-body h1,
.rbm-privacy-body h2,
.rbm-privacy-body h3,
.rbm-privacy-body h4,
.rbm-privacy-body h5,
.rbm-privacy-body h6 {
  font-family: var(--rbm-font-condensed);
  color: var(--rbm-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 32px;
  margin-bottom: 12px;
}
.rbm-privacy-body h1 { font-family: var(--rbm-font-display); font-size: 36px; }
.rbm-privacy-body h3 { font-size: 16px; font-weight: 700; }
.rbm-privacy-body h5 { font-size: 18px; font-weight: 700; margin-top: 28px; }
.rbm-privacy-body p,
.rbm-privacy-body span,
.rbm-privacy-body li {
  font-family: var(--rbm-font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--rbm-gray-text);
}
.rbm-privacy-body a {
  color: var(--rbm-red);
  text-decoration: underline;
}
.rbm-privacy-body a:hover { color: var(--rbm-red-dark); }
.rbm-privacy-body ul,
.rbm-privacy-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.rbm-privacy-body li {
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
  .rbm-neighborhoods-list { grid-template-columns: repeat(2, 1fr); }
  .rbm-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .rbm-contact-grid { grid-template-columns: 1fr; }
  .rbm-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .rbm-svc-horizontal-cards { grid-template-columns: repeat(2, 1fr); }
  .rbm-svc-process-steps { grid-template-columns: repeat(2, 1fr); }
  .rbm-svc-columns { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .rbm-svc-grid { grid-template-columns: 1fr; }
  .rbm-svc-horizontal-cards { grid-template-columns: 1fr; }
  .rbm-svc-process-steps { grid-template-columns: 1fr; }
  .rbm-svc-two-col-list { grid-template-columns: 1fr; }
  .rbm-svc-comparison { grid-template-columns: 1fr; }
  .rbm-svc-img-placeholder { aspect-ratio: 16/9; }
  .rbm-neighborhoods-list { grid-template-columns: 1fr; }
  .rbm-testimonials-grid { grid-template-columns: 1fr; }

}


/* =============================
   Blog listing
   ============================= */
.rbm-blog-listing {
  padding: 80px 0;
  background: #f7f7f7;
}
.rbm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rbm-blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.rbm-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.rbm-blog-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e8e8e8;
}
.rbm-blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rbm-blog-card-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #ccc;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}
.rbm-blog-card-body {
  padding: 24px 28px 28px;
}
.rbm-blog-card-date {
  display: block;
  font-family: var(--rbm-font-body, 'Barlow', sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999;
  margin-bottom: 8px;
}
.rbm-blog-card-title {
  font-family: var(--rbm-font-display, 'Bebas Neue', sans-serif);
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 12px;
}
.rbm-blog-card-title a {
  color: var(--rbm-navy, #0b1a2b);
  text-decoration: none;
}
.rbm-blog-card-title a:hover {
  color: var(--rbm-red, #c0392b);
}
.rbm-blog-card-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 16px;
}
.rbm-blog-card-link {
  font-family: var(--rbm-font-body, 'Barlow', sans-serif);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rbm-red, #c0392b);
  text-decoration: none;
}
.rbm-blog-card-link:hover {
  text-decoration: underline;
}

/* Blog empty state */
.rbm-blog-empty {
  text-align: center;
  padding: 80px 20px;
}
.rbm-blog-empty h2 {
  font-family: var(--rbm-font-display, 'Bebas Neue', sans-serif);
  font-size: 48px;
  color: var(--rbm-navy, #0b1a2b);
  margin: 0 0 16px;
}
.rbm-blog-empty p {
  font-size: 17px;
  color: #555;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Blog pagination */
.rbm-blog-pagination {
  margin-top: 48px;
  text-align: center;
}
.rbm-blog-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.rbm-blog-pagination li {
  display: inline-block;
}
.rbm-blog-pagination a,
.rbm-blog-pagination span {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--rbm-font-body, 'Barlow', sans-serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--rbm-navy, #0b1a2b);
  text-decoration: none;
  background: #fff;
  border: 1px solid #ddd;
}
.rbm-blog-pagination a:hover {
  background: var(--rbm-red, #c0392b);
  color: #fff;
  border-color: var(--rbm-red, #c0392b);
}
.rbm-blog-pagination .current {
  background: var(--rbm-navy, #0b1a2b);
  color: #fff;
  border-color: var(--rbm-navy, #0b1a2b);
}

@media (max-width: 1024px) {
  .rbm-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rbm-blog-grid { grid-template-columns: 1fr; gap: 24px; }
  .rbm-blog-listing { padding: 48px 0; }
  .rbm-blog-card-title { font-size: 22px; }
}


/* =============================
   About Us page
   ============================= */
.rbm-about-story {
  padding: 80px 0;
  background: #fff;
}
.rbm-about-story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.rbm-about-h2 {
  font-family: var(--rbm-font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.05;
  color: var(--rbm-navy, #0b1a2b);
  margin: 0 0 24px;
}
.rbm-about-story-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 16px;
}
.rbm-about-photo-placeholder,
.rbm-about-team-placeholder {
  background: linear-gradient(135deg, #e8e8e8, #d4d4d4);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  font-family: var(--rbm-font-body, 'Barlow', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: #999;
  letter-spacing: 0.04em;
  margin-top: 32px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rbm-about-trust-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.rbm-about-stat {
  background: var(--rbm-navy, #0b1a2b);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
}
.rbm-about-stat-num {
  font-family: var(--rbm-font-display, 'Bebas Neue', sans-serif);
  font-size: 48px;
  line-height: 1;
  color: var(--rbm-red, #c0392b);
  margin-bottom: 8px;
}
.rbm-about-stat-label {
  font-family: var(--rbm-font-body, 'Barlow', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Values section */
.rbm-about-values {
  padding: 80px 0;
  background: #f7f7f7;
}
.rbm-about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.rbm-about-value-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.rbm-about-value-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.rbm-about-value-card h3 {
  font-family: var(--rbm-font-display, 'Bebas Neue', sans-serif);
  font-size: 28px;
  color: var(--rbm-navy, #0b1a2b);
  margin: 0 0 12px;
}
.rbm-about-value-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Equipment section */
.rbm-about-equipment {
  padding: 80px 0;
  background: #fff;
}
.rbm-about-equipment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.rbm-about-equipment-grid p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 16px;
}

/* Blog card red top border */
.rbm-blog-card {
  border-top: 4px solid var(--rbm-red, #c0392b);
}

@media (max-width: 1024px) {
  .rbm-about-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .rbm-about-equipment-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .rbm-about-story { padding: 48px 0; }
  .rbm-about-values { padding: 48px 0; }
  .rbm-about-equipment { padding: 48px 0; }
  .rbm-about-values-grid { grid-template-columns: 1fr; gap: 20px; }
  .rbm-about-trust-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .rbm-about-stat-num { font-size: 36px; }
  .rbm-about-h2 { font-size: 36px; }
}
