/* RepairHome service-area pages — scoped frontend and Gutenberg canvas styles. */

.rh-area-page {
  --rh-area-navy: #0b1f3a;
  --rh-area-blue: #1d64d8;
  --rh-area-blue-soft: #edf5ff;
  --rh-area-mint: #ebfbf2;
  --rh-area-green: #13a85b;
  --rh-area-orange: #f59e0b;
  --rh-area-text: #24344d;
  --rh-area-muted: #687b98;
  --rh-area-line: #dce6f2;
  --rh-area-bg: #f7faff;
  --rh-area-shadow: 0 20px 55px rgba(28, 52, 84, .12);
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  background: #fff;
  color: var(--rh-area-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
}

.rh-area-page *,
.rh-area-page *::before,
.rh-area-page *::after {
  box-sizing: border-box;
}

.rh-area-page a {
  color: inherit;
}

.rh-area-page .rh-area-container,
.rh-area-page .rh-area-hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.rh-area-page .rh-area-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 88px;
  background:
    radial-gradient(circle at 82% 18%, rgba(46, 213, 145, .22), transparent 28%),
    radial-gradient(circle at 11% 88%, rgba(245, 158, 11, .18), transparent 25%),
    linear-gradient(135deg, #071a31 0%, #123c69 62%, #155f68 100%);
  color: #fff;
}

.rh-area-page .rh-area-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -130px;
  bottom: -220px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255,255,255,.04), 0 0 0 108px rgba(255,255,255,.03);
}

.rh-area-page .rh-area-hero-inner {
  position: relative;
  z-index: 2;
}

.rh-area-page .rh-area-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 22px;
  color: #cfe0f3;
  font-size: 14px;
  font-weight: 700;
}

.rh-area-page .rh-area-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.rh-area-page .rh-area-eyebrow {
  margin: 0 0 14px;
  color: #9ff2c8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rh-area-page .rh-area-eyebrow--dark {
  color: var(--rh-area-blue);
}

.rh-area-page .rh-area-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.rh-area-page .rh-area-lead {
  max-width: 850px;
  margin: 24px 0 0;
  color: #e2edf8;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.rh-area-page .rh-area-actions {
  gap: 12px;
  margin-top: 30px;
}

.rh-area-page .rh-area-actions .wp-block-button__link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.rh-area-page .rh-area-actions .wp-block-button__link:hover {
  transform: translateY(-2px);
}

.rh-area-page .rh-area-primary-button .wp-block-button__link {
  background: #19ba68;
  color: #fff;
  box-shadow: 0 13px 28px rgba(11, 80, 48, .28);
}

.rh-area-page .rh-area-outline-button .wp-block-button__link {
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.rh-area-page > .rh-area-container {
  padding-top: 72px;
  padding-bottom: 76px;
}

.rh-area-page .rh-area-intro-card,
.rh-area-page .rh-area-services-section,
.rh-area-page .rh-area-steps-section,
.rh-area-page .rh-area-faq-section {
  margin-bottom: 64px;
}

.rh-area-page .rh-area-intro-card {
  border: 1px solid var(--rh-area-line);
  border-radius: 30px;
  background: linear-gradient(110deg, var(--rh-area-blue-soft), var(--rh-area-mint));
  padding: clamp(28px, 5vw, 52px);
}

.rh-area-page h2 {
  margin: 0 0 16px;
  color: var(--rh-area-navy);
  font-size: clamp(31px, 4.3vw, 48px);
  line-height: 1.1;
  letter-spacing: -.038em;
}

.rh-area-page h3 {
  margin: 0 0 8px;
  color: var(--rh-area-navy);
  font-size: 21px;
  line-height: 1.25;
}

.rh-area-page p {
  margin-top: 0;
}

.rh-area-page .rh-area-property-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.rh-area-page .rh-area-property-item {
  margin: 0;
  min-height: 116px;
  border: 1px solid rgba(29, 100, 216, .14);
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  padding: 20px;
}

.rh-area-page .rh-area-property-item strong,
.rh-area-page .rh-area-property-item span {
  display: block;
}

.rh-area-page .rh-area-property-item strong {
  color: var(--rh-area-navy);
  font-size: 19px;
}

.rh-area-page .rh-area-property-item span {
  margin-top: 4px;
  color: var(--rh-area-muted);
  font-size: 14px;
  line-height: 1.45;
}

.rh-area-page .rh-area-services-section > p:not(.rh-area-eyebrow) {
  max-width: 790px;
  color: var(--rh-area-muted);
}

.rh-area-page .rh-area-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.rh-area-page .rh-area-service-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  border: 1px solid var(--rh-area-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 56, 88, .08);
  padding: 26px;
}

.rh-area-page .rh-area-service-card::after {
  content: "";
  position: absolute;
  width: 105px;
  height: 105px;
  right: -46px;
  top: -44px;
  border-radius: 50%;
  background: #eef7ff;
}

.rh-area-page .rh-area-service-icon {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin: 0 0 18px;
  border-radius: 16px;
  background: var(--rh-area-blue-soft);
  font-size: 24px;
}

.rh-area-page .rh-area-service-card > p:not(.rh-area-service-icon):not(.rh-area-service-link) {
  color: var(--rh-area-muted);
  font-size: 15px;
}

.rh-area-page .rh-area-service-link {
  margin: 18px 0 0;
  font-weight: 850;
}

.rh-area-page .rh-area-service-link a {
  color: var(--rh-area-blue);
  text-decoration: none;
}

.rh-area-page .rh-area-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 64px;
}

.rh-area-page .rh-area-content-card {
  border: 1px solid var(--rh-area-line);
  border-radius: 28px;
  background: var(--rh-area-bg);
  padding: clamp(26px, 4vw, 40px);
}

.rh-area-page .rh-area-content-card h2 {
  font-size: clamp(28px, 3.5vw, 38px);
}

.rh-area-page .rh-area-check-list,
.rh-area-page .rh-area-location-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.rh-area-page .rh-area-check-list li,
.rh-area-page .rh-area-location-list li {
  position: relative;
  margin: 0;
  padding: 11px 0 11px 32px;
  border-bottom: 1px solid var(--rh-area-line);
}

.rh-area-page .rh-area-check-list li:last-child,
.rh-area-page .rh-area-location-list li:last-child {
  border-bottom: 0;
}

.rh-area-page .rh-area-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcf8e8;
  color: #08763c;
  font-size: 13px;
  font-weight: 900;
}

.rh-area-page .rh-area-location-list li::before {
  content: "📍";
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 16px;
}

.rh-area-page .rh-area-steps-section {
  border-radius: 30px;
  background: #0b213e;
  color: #dbe8f7;
  padding: clamp(30px, 5vw, 52px);
}

.rh-area-page .rh-area-steps-section h2,
.rh-area-page .rh-area-steps-section h3 {
  color: #fff;
}

.rh-area-page .rh-area-steps-section .rh-area-eyebrow {
  color: #8fe8bb;
}

.rh-area-page .rh-area-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.rh-area-page .rh-area-step-card {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  padding: 24px;
}

.rh-area-page .rh-area-step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 0 16px;
  border-radius: 14px;
  background: var(--rh-area-orange);
  color: #142039;
  font-weight: 900;
}

.rh-area-page .rh-area-step-card > p:last-child {
  margin-bottom: 0;
  color: #c8d8eb;
  font-size: 15px;
}

.rh-area-page .rh-area-faq-section details {
  margin: 14px 0;
  border: 1px solid var(--rh-area-line);
  border-radius: 18px;
  background: #fff;
  padding: 0 20px;
}

.rh-area-page .rh-area-faq-section summary {
  cursor: pointer;
  padding: 20px 36px 20px 0;
  color: var(--rh-area-navy);
  font-weight: 850;
}

.rh-area-page .rh-area-faq-section details p {
  margin-bottom: 20px;
  color: var(--rh-area-muted);
}

.rh-area-page .rh-area-cta-wrap {
  padding: 0 0 80px;
  background: #fff;
}

.rh-area-page .rh-area-cta {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(125deg, #0e2b4e, #17624f);
  color: #fff;
  padding: clamp(32px, 6vw, 62px);
}

.rh-area-page .rh-area-cta::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -95px;
  bottom: -155px;
  border-radius: 50%;
  background: rgba(245,158,11,.23);
}

.rh-area-page .rh-area-cta > * {
  position: relative;
  z-index: 1;
}

.rh-area-page .rh-area-cta h2 {
  max-width: 780px;
  color: #fff;
}

.rh-area-page .rh-area-cta > p:not(.rh-area-eyebrow) {
  max-width: 740px;
  color: #d8e8f5;
}

@media (max-width: 900px) {
  .rh-area-page .rh-area-property-types,
  .rh-area-page .rh-area-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rh-area-page .rh-area-two-column {
    grid-template-columns: 1fr;
  }

  .rh-area-page .rh-area-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .rh-area-page {
    font-size: 16px;
  }

  .rh-area-page .rh-area-container,
  .rh-area-page .rh-area-hero-inner {
    width: min(100% - 28px, 1180px);
  }

  .rh-area-page .rh-area-hero {
    padding: 58px 0 62px;
  }

  .rh-area-page .rh-area-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .rh-area-page > .rh-area-container {
    padding-top: 46px;
    padding-bottom: 52px;
  }

  .rh-area-page .rh-area-property-types,
  .rh-area-page .rh-area-service-grid {
    grid-template-columns: 1fr;
  }

  .rh-area-page .rh-area-actions,
  .rh-area-page .rh-area-actions .wp-block-button,
  .rh-area-page .rh-area-actions .wp-block-button__link {
    width: 100%;
  }

  .rh-area-page .rh-area-intro-card,
  .rh-area-page .rh-area-content-card,
  .rh-area-page .rh-area-steps-section,
  .rh-area-page .rh-area-cta {
    border-radius: 24px;
  }
}

/* Version 1.5.2: normal underlines for all text links, including mobile. */
.rh-area-page a:not(.wp-block-button__link),
.rh-area-page a:not(.wp-block-button__link):hover,
.rh-area-page a:not(.wp-block-button__link):focus-visible {
  text-decoration: underline !important;
  text-decoration-thickness: auto !important;
  text-underline-offset: auto !important;
  text-decoration-skip-ink: auto;
}

.rh-area-page .wp-block-button__link,
.rh-area-page .wp-block-button__link:hover,
.rh-area-page .wp-block-button__link:focus-visible {
  text-decoration: none !important;
}
