.rc-visual-home .hero {
  isolation: isolate;
  min-height: clamp(555px, 48vw, 710px);
  padding: 0;
  border-bottom: 1px solid #402629;
  background: #21191b !important;
}

.rc-visual-home .hero::before,
.rc-visual-home .hero::after {
  position: absolute;
  inset: 0;
  content: "";
  display: block;
  width: auto;
  height: auto;
  opacity: 1;
  right: 0;
  transform: none;
  pointer-events: none;
}

.rc-visual-home .hero::before {
  z-index: -2;
  background: url("/assets/runchuan-home-scene.jpg") center 52% / cover no-repeat;
}

.rc-visual-home .hero::after {
  z-index: -1;
  background: linear-gradient(90deg, #21191b 1%, rgba(33,25,27,.92) 28%, rgba(33,25,27,.66) 47%, rgba(33,25,27,.05) 84%);
}

.rc-visual-home .hero .container {
  width: var(--rc-width);
  z-index: auto;
}

.rc-visual-home .hero-content {
  max-width: 760px;
  padding: clamp(70px, 8vw, 115px) 0;
}

.rc-visual-home .hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  color: #ffdbd1 !important;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .075em;
}
.rc-visual-home .hero .badge::before {
  content: "";
  width: 28px;
  border-bottom: 2px solid #df8c87;
}

.rc-visual-home .hero h1 {
  margin: 0 0 24px;
  color: #fffaf5 !important;
  font-size: clamp(42px, 5.15vw, 76px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.16;
}

.rc-visual-home .hero p {
  max-width: 38em;
  margin: 0;
  color: #f0e2db !important;
  font-size: clamp(16px, 1.48vw, 19px);
  line-height: 1.85;
}

.rc-visual-home .hero .actions {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  width: min(100%, 592px) !important;
  gap: 10px !important;
  margin-top: 30px !important;
}

.rc-visual-home .hero .actions .btn {
  grid-column: span 3;
  min-width: 0;
  min-height: 48px !important;
  padding: 8px !important;
  border: 1px solid rgba(255,239,231,.37) !important;
  border-radius: 6px;
  color: #fff7f1 !important;
  background: rgba(33,25,27,.72) !important;
  font-size: 14px;
  font-weight: 650;
  white-space: normal !important;
  transition: background .18s, border-color .18s;
}
.rc-visual-home .hero .actions .btn:hover {
  background: #573035 !important;
  border-color: #e89a98 !important;
}
.rc-visual-home .hero .actions .btn:focus-visible { outline-color: #ffd1c0 !important; }
.rc-visual-home .hero .actions .btn:nth-of-type(-n+2) {
  grid-column: span 6;
  min-height: 54px !important;
  font-size: 16px;
}
.rc-visual-home .hero .actions .btn-primary {
  background: var(--rc-accent) !important;
  border-color: #c04f53 !important;
}
.rc-visual-home .hero .actions .btn-primary:hover { background: var(--rc-accent-dark) !important; }

@media (max-width: 760px) {
  .rc-visual-home .hero { min-height: 0; }
  .rc-visual-home .hero::before {
    background-position: 67% top;
    background-size: auto clamp(268px, 64vw, 445px);
  }
  .rc-visual-home .hero::after {
    background: linear-gradient(180deg, rgba(33,25,27,0) 6%, rgba(33,25,27,.48) 25%, #21191b 57%);
  }
  .rc-visual-home .hero-content {
    padding: clamp(160px, 40vw, 240px) 0 43px;
  }
  .rc-visual-home .hero .badge { margin-bottom: 13px; font-size: 12px; }
  .rc-visual-home .hero .badge::before { width: 18px; }
  .rc-visual-home .hero h1 {
    margin-bottom: 14px;
    font-size: clamp(31px, 8.3vw, 55px);
    letter-spacing: -.044em;
  }
  .rc-visual-home .hero p { font-size: 15px; line-height: 1.72; }
  .rc-visual-home .hero .actions { margin-top: 22px !important; gap: 8px !important; }
  .rc-visual-home .hero .actions .btn { grid-column: span 6; min-height: 44px !important; }
  .rc-visual-home .hero .actions .btn:nth-of-type(-n+2) { min-height: 46px !important; font-size: 14px; }
  .rc-visual-home .hero .actions .rc-recovery-mobile {
    order: -1;
    grid-column: 1 / -1;
    justify-content: space-between !important;
    padding-inline: 14px !important;
    border-color: #d98786 !important;
    background: #4e272b !important;
  }
  .rc-visual-home .hero .actions .rc-recovery-mobile::after { content: "→"; font-size: 19px; }
}

/* Homepage sections below the hero. Keep these styles separate from service pages. */
body.rc-visual-home :is(#business, #solutions, #products, #region, #faq, #contact) {
  --home-paper: #f6f3ee;
  --home-white: #fffdf9;
  --home-ink: #252120;
  --home-muted: #59524e;
  --home-red: #a8252d;
  --home-rule: #e0d8d0;
  padding: clamp(58px, 8.25vw, 106px) 0 !important;
  background: var(--home-paper) !important;
}

body.rc-visual-home :is(#business, #solutions, #products, #region, #faq, #contact) > .container {
  width: min(1160px, calc(100% - clamp(40px, 8vw, 96px))) !important;
  max-width: none;
}

body.rc-visual-home :is(#business, #solutions, #products, #region, #faq) .section-head {
  max-width: 680px;
  margin: 0 0 clamp(25px, 3.5vw, 44px) !important;
  text-align: left;
}

body.rc-visual-home :is(#business, #solutions, #products, #region, #faq) .section-head h2 {
  margin: 0 0 11px;
  color: var(--home-ink) !important;
  font-size: clamp(29px, 4vw, 50px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.21;
}

body.rc-visual-home :is(#business, #solutions, #products, #region, #faq) .section-head p {
  color: var(--home-muted) !important;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
}

body.rc-visual-home #business .grid {
  gap: 0 !important;
  border-block: 1px solid var(--home-rule);
}

body.rc-visual-home #business .card,
body.rc-visual-home #business .card:hover {
  min-height: 0 !important;
  padding: clamp(23px, 2.5vw, 34px) clamp(16px, 2.4vw, 31px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

body.rc-visual-home #business .card + .card {
  border-left: 1px solid var(--home-rule) !important;
}

body.rc-visual-home #business .card:first-child {
  padding-left: 0 !important;
}

body.rc-visual-home #business .card::before,
body.rc-visual-home #business .icon,
body.rc-visual-home #solutions .solution::after,
body.rc-visual-home #products .rc-service-no {
  display: none !important;
}

body.rc-visual-home #business .card h3,
body.rc-visual-home #solutions .solution h3 {
  margin: 0 0 9px;
  color: var(--home-ink) !important;
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 730;
  line-height: 1.4;
}

body.rc-visual-home #business .card p,
body.rc-visual-home #solutions .solution p {
  margin: 0;
  padding: 0 !important;
  color: var(--home-muted) !important;
  font-size: 15px;
  line-height: 1.8 !important;
}

body.rc-visual-home :is(#business .card, #faq details) p a {
  color: var(--home-red) !important;
  text-decoration: underline;
  text-underline-offset: .2em;
}

body.rc-visual-home #solutions {
  border-color: var(--home-rule) !important;
  background: #efe9e1 !important;
}

body.rc-visual-home #solutions .solution-grid {
  gap: clamp(10px, 1.5vw, 20px) !important;
}

body.rc-visual-home #solutions .solution {
  min-height: 0 !important;
  padding: clamp(22px, 2.8vw, 36px) !important;
  border: 1px solid var(--home-rule) !important;
  border-radius: 9px !important;
  background: var(--home-white) !important;
  box-shadow: none !important;
}

body.rc-visual-home #products .rc-services-grid {
  gap: clamp(13px, 1.8vw, 24px);
}

body.rc-visual-home #products .rc-service-card {
  --service-accent: #a8252d;
  --service-paper: #fcf2ef;
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 0;
  padding: clamp(23px, 3.1vw, 41px);
  border: 1px solid var(--home-rule);
  border-radius: 12px;
  background: var(--service-paper);
  color: var(--home-ink) !important;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

body.rc-visual-home #products .rc-service-card:nth-child(2) {
  --service-paper: #edf2ec;
  --service-accent: #346046;
}

body.rc-visual-home #products .rc-service-card:nth-child(3) {
  --service-paper: #edf1f5;
  --service-accent: #3b5775;
}

body.rc-visual-home #products .rc-service-card:nth-child(4) {
  --service-paper: #f4ede2;
  --service-accent: #76552d;
}

body.rc-visual-home #products .rc-service-card::before {
  display: none;
}

body.rc-visual-home #products .rc-service-card:is(:hover, :focus-visible) {
  border-color: var(--service-accent);
  box-shadow: 0 12px 29px #3a24240e;
  transform: none;
}

body.rc-visual-home #products .rc-service-top {
  margin-bottom: 12px;
}

body.rc-visual-home #products .rc-service-type {
  color: var(--service-accent);
  font-size: 13px;
  letter-spacing: .09em;
}

body.rc-visual-home #products .rc-service-card h3 {
  margin-bottom: 9px;
  color: var(--home-ink);
  font-size: clamp(21px, 2.55vw, 32px);
  letter-spacing: -.035em;
  line-height: 1.35;
}

body.rc-visual-home #products .rc-service-card p {
  margin-bottom: 17px;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.8;
}

body.rc-visual-home #products .rc-tags {
  gap: 6px;
  margin: 0 0 18px;
}

body.rc-visual-home #products .rc-tags span {
  padding: 3px 9px;
  border-color: #30231d21;
  border-radius: 5px;
  background: #fff8;
  color: var(--service-accent);
  font-size: 12px;
  line-height: 1.65;
}

body.rc-visual-home #products .rc-service-card strong {
  position: static;
  margin-top: auto;
  color: var(--service-accent);
  font-size: 15px;
}

body.rc-visual-home #region.region {
  border: 0;
  background: #272323 !important;
}

body.rc-visual-home #region .section-head h2 {
  color: #fbf4ed !important;
}

body.rc-visual-home #region .section-head p {
  color: #d6cdc6 !important;
}

body.rc-visual-home #region .region-list {
  justify-content: start;
  gap: 9px !important;
}

body.rc-visual-home #region .region-list span,
body.rc-visual-home #region .region-list span:hover {
  padding: 8px 15px !important;
  border: 1px solid #655b57 !important;
  border-radius: 5px !important;
  background: #342e2d !important;
  color: #f7eee8 !important;
  font-size: 14px;
  transform: none;
}

body.rc-visual-home #faq .faq {
  max-width: none !important;
  margin: 0;
  border-top: 1px solid var(--home-rule);
}

body.rc-visual-home #faq details {
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--home-rule) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none;
}

body.rc-visual-home #faq details:hover,
body.rc-visual-home #faq details[open] {
  background: #fffdf9 !important;
  box-shadow: none;
}

body.rc-visual-home #faq summary {
  padding: 19px 52px 19px 15px !important;
  color: var(--home-ink) !important;
  font-size: clamp(15px, 1.65vw, 18px) !important;
}

body.rc-visual-home #faq summary::after {
  right: 16px;
  border-radius: 5px;
  background: #f0e4de;
  color: var(--home-red);
}

body.rc-visual-home #faq summary:focus-visible {
  outline: 2px solid var(--home-red);
  outline-offset: -3px;
}

body.rc-visual-home #faq details p {
  max-width: 720px;
  padding: 0 18px 20px 15px !important;
  color: var(--home-muted) !important;
  font-size: 15px;
}

body.rc-visual-home #contact {
  padding-top: 0 !important;
}

body.rc-visual-home #contact .cta {
  padding: clamp(28px, 5.3vw, 66px) !important;
  border-radius: 13px !important;
  background: #79262c !important;
  text-align: left;
  box-shadow: none !important;
}

body.rc-visual-home #contact .cta::after {
  display: none;
}

body.rc-visual-home #contact .cta h2 {
  margin: 0 0 21px !important;
  font-size: clamp(28px, 3.8vw, 45px) !important;
  line-height: 1.2;
  letter-spacing: -.04em;
}

body.rc-visual-home #contact .rc-contact-stack {
  max-width: none !important;
  margin: 0 0 20px !important;
}

body.rc-visual-home #contact .rc-contact-stack > * {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: start;
  align-items: baseline !important;
  min-height: 48px;
  padding: 12px !important;
  border-color: #ffffff52 !important;
  border-radius: 6px !important;
  background: #ffffff14 !important;
}

body.rc-visual-home #contact .rc-contact-stack a:hover {
  background: #ffffff26 !important;
}

body.rc-visual-home #contact .rc-contact-stack a:focus-visible {
  outline-color: #fff4ed !important;
}

body.rc-visual-home #contact .rc-contact-stack span {
  color: #ffe3dd !important;
  font-size: 14px;
}

body.rc-visual-home #contact .rc-contact-stack strong {
  overflow-wrap: anywhere;
  font-size: 15px !important;
  font-weight: 650 !important;
}

body.rc-visual-home #contact .rc-contact-address,
body.rc-visual-home #contact .rc-contact-note {
  margin: 8px 0 0 !important;
  color: #ffefe9 !important;
  opacity: 1;
  font-size: 14px !important;
  line-height: 1.7;
}

@media (max-width: 900px) {
  body.rc-visual-home #business .card:nth-child(odd) {
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  body.rc-visual-home #business .card:nth-child(n+3) {
    border-top: 1px solid var(--home-rule) !important;
  }
}

@media (max-width: 560px) {
  body.rc-visual-home #business .card {
    padding: 20px 0 !important;
    border-left: 0 !important;
  }

  body.rc-visual-home #business .card + .card {
    border-top: 1px solid var(--home-rule) !important;
    border-left: 0 !important;
  }

  body.rc-visual-home #solutions .solution-grid,
  body.rc-visual-home #products .rc-services-grid {
    grid-template-columns: 1fr;
  }

  body.rc-visual-home #contact .rc-contact-stack > * {
    display: grid !important;
    grid-template-columns: 3.5em minmax(0, 1fr) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.rc-visual-home #products .rc-service-card {
    transition: none;
  }
}
