/*
Theme Name: Rehance Remedial Studio
Theme URI: https://rehanceremedial.com.au/
Author: Rehance Remedial Studio
Description: A responsive WordPress theme for Rehance mobile remedial massage services. Includes expandable Info sections with treatment descriptions and unchanged pricing.
Version: 1.0.0
Text Domain: rehance
*/

:root{
  --purple:#4f2a91;
  --purple-2:#7650bd;
  --lavender:#f3edff;
  --blue:#58b9d2;
  --teal:#087787;
  --ink:#211a32;
  --muted:#655e70;
  --line:#e5dff0;
  --white:#fff;
  --shadow:0 18px 45px rgba(63,36,107,.12);
  --radius:26px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 10% 3%,rgba(168,119,239,.15),transparent 28%),
    radial-gradient(circle at 90% 8%,rgba(91,190,215,.14),transparent 25%),
    #faf9fd;
}
a{text-decoration:none;color:inherit}
button{font:inherit}
img{max-width:100%;height:auto}
.rh-container{width:min(1180px,calc(100% - 36px));margin:auto}

.rh-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(80,42,145,.08);
}
body.admin-bar .rh-header{top:32px}
.rh-nav{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.rh-brand{display:flex;align-items:center;gap:12px}
.rh-brand-mark{
  width:50px;height:50px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(145deg,#efe5ff,#e3f9ff);
  color:var(--purple);font-size:25px;box-shadow:0 8px 22px rgba(79,42,145,.14)
}
.rh-custom-logo{max-height:62px;width:auto;display:block}
.rh-brand-name{font-family:Georgia,serif;font-size:30px;font-weight:700;color:var(--purple);line-height:1}
.rh-brand-sub{font-size:11px;letter-spacing:3px;margin-top:5px;text-align:center}
.rh-menu{display:flex;gap:25px;font-weight:700;font-size:14px;align-items:center;list-style:none;margin:0;padding:0}
.rh-menu a:hover{color:var(--purple)}
.rh-book-top{
  padding:13px 22px!important;border-radius:999px;color:#fff!important;
  background:linear-gradient(135deg,var(--purple-2),var(--blue));
  box-shadow:0 10px 24px rgba(84,65,159,.25);
}
.rh-mobile-toggle{display:none;border:0;background:none;font-size:26px;color:var(--purple);cursor:pointer}

.rh-hero{padding:56px 0 28px;text-align:center}
.rh-eyebrow{letter-spacing:4px;font-size:12px;font-weight:800;color:var(--purple-2)}
.rh-hero h1{
  font-family:Georgia,serif;font-size:clamp(38px,5vw,64px);line-height:1.05;
  margin:10px 0 12px;color:var(--purple);
}
.rh-hero p{font-size:20px;color:var(--muted);margin:0}
.rh-hero p span{color:var(--blue);font-weight:700}
.rh-services{padding:28px 0 58px}
.rh-service-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);overflow:hidden;margin-bottom:24px;transition:.25s ease;
}
.rh-service-card:hover{transform:translateY(-2px);box-shadow:0 22px 55px rgba(63,36,107,.15)}
.rh-service-summary{display:grid;grid-template-columns:245px 1fr auto;gap:28px;align-items:center;padding:24px}
.rh-service-image{
  height:150px;border-radius:20px;overflow:hidden;position:relative;
  background-size:cover;background-position:center;
}
.rh-service-image:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(39,19,75,.04),rgba(39,19,75,.19));
}
.rh-remedial-img{background-image:url("assets/images/remedial.webp")}
.rh-lymph-img{background-image:url("assets/images/lympathic-massage.webp")}
.rh-relax-img{background-image:url("assets/images/relaxation.png")}
.rh-service-title{font-size:31px;line-height:1.1;margin:0 0 10px;color:var(--purple);font-weight:800}
.rh-service-lead{font-size:18px;margin:0 0 15px;color:#3f3a49}
.rh-service-tags{font-size:14px;color:var(--muted);font-weight:600;line-height:1.65}
.rh-info-btn{
  border:1px solid #d9cfea;background:#fff;color:var(--purple);
  min-width:104px;padding:13px 19px;border-radius:999px;font-weight:800;cursor:pointer;transition:.2s ease;
}
.rh-info-btn:hover,.rh-info-btn[aria-expanded="true"]{
  color:#fff;background:linear-gradient(135deg,var(--purple),var(--purple-2));
  border-color:transparent;box-shadow:0 9px 20px rgba(79,42,145,.25)
}
.rh-info-btn .rh-arrow{display:inline-block;margin-left:6px;transition:.25s}
.rh-info-btn[aria-expanded="true"] .rh-arrow{transform:rotate(180deg)}
.rh-details{max-height:0;overflow:hidden;opacity:0;transition:max-height .55s ease,opacity .35s ease;background:linear-gradient(180deg,#fff,#fcfaff)}
.rh-details.rh-open{opacity:1}
.rh-details-inner{padding:0 24px 28px}
.rh-details-heading{border-top:1px solid var(--line);padding:24px 4px 18px;display:flex;justify-content:space-between;gap:16px;align-items:end}
.rh-details-heading h3{margin:0;color:var(--purple);font-family:Georgia,serif;font-size:28px}
.rh-details-heading p{margin:0;color:var(--muted)}
.rh-price-list{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff}
.rh-price-row{display:grid;grid-template-columns:102px 1fr 110px;gap:24px;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line)}
.rh-price-row:last-child{border-bottom:0}
.rh-price-row.rh-popular{background:linear-gradient(90deg,rgba(118,80,189,.07),rgba(88,185,210,.08))}
.rh-duration{
  width:78px;height:78px;border-radius:50%;border:1.5px dashed currentColor;
  display:grid;place-items:center;text-align:center;color:var(--purple);font-weight:800;line-height:1
}
.rh-duration strong{font-size:27px}
.rh-duration span{font-size:11px;letter-spacing:1px}
.rh-lymphatic .rh-duration,.rh-lymphatic .rh-treatment h4,.rh-lymphatic .rh-price{color:var(--teal)}
.rh-treatment h4{font-size:19px;color:var(--purple);margin:0 0 5px}
.rh-treatment p{margin:0;color:#403a47;line-height:1.5}
.rh-badge{display:inline-block;margin-left:7px;background:var(--purple);color:#fff;font-size:10px;padding:5px 8px;border-radius:999px;vertical-align:3px;letter-spacing:.4px}
.rh-lymphatic .rh-badge{background:var(--teal)}
.rh-price{text-align:right;font-size:30px;font-weight:800;color:var(--purple)}
.rh-bottom-bar{
  display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);
  border-radius:24px;box-shadow:var(--shadow);margin:0 auto 64px;overflow:hidden
}
.rh-benefit{padding:22px 20px;display:flex;gap:13px;align-items:center;border-right:1px solid var(--line)}
.rh-benefit:last-child{border-right:0}
.rh-benefit-icon{font-size:25px}
.rh-benefit strong{display:block;color:var(--purple);font-size:13px}
.rh-benefit span{font-size:12px;color:var(--muted)}
.rh-footer{padding:26px 0 38px;text-align:center;color:var(--muted);font-size:13px}
.rh-page-content{padding:45px 0;min-height:55vh}
.rh-page-content h1,.rh-page-content h2,.rh-page-content h3{color:var(--purple)}

.rh-about-section {
  padding: 70px 0;
}

.rh-about-wrap {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.4fr 1.4fr;
  align-items: center;
  gap: 0;
  position: relative;
}

.rh-about-image-col {
  position: relative;
  z-index: 2;
  margin-right: -70px; /* 让图片轻微 overlap 到右边卡片 */
}

.rh-about-image-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
}

.rh-about-image {
  display: block;
  width: 100%;
  height: auto; /* 这样整张图会完整显示 */
  border-radius: 28px;

  /* 右边渐渐透明 */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 70%,
    rgba(0,0,0,0.75) 82%,
    rgba(0,0,0,0.35) 92%,
    rgba(0,0,0,0) 100%
  );

  mask-image: linear-gradient(
    to right,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 70%,
    rgba(0,0,0,0.75) 82%,
    rgba(0,0,0,0.35) 92%,
    rgba(0,0,0,0) 100%
  );
}

/* 额外加一层柔和白雾，融合更自然 */
.rh-about-image-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(247, 244, 252, 0) 0%,
    rgba(247, 244, 252, 0.45) 55%,
    rgba(247, 244, 252, 0.82) 80%,
    rgba(247, 244, 252, 1) 100%
  );
}

.rh-about-card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.88);
  border: 1px solid #e6ddf5;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(78,45,130,.10);
  padding: 48px 42px 48px 96px; /* 左边多留一点，接图片更顺 */
}

.rh-about-eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  font-weight: 800;
  color: #7b5fd1;
  margin-bottom: 12px;
}

.rh-about-card h2 {
  margin: 0 0 20px;
  font-size: 56px;
  line-height: 1.05;
  color: #5633a2;
  font-weight: 800;
}

.rh-about-card p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.75;
  color: #2c2140;
}


/* Main about design */
.rh-about {
  padding: 58px 0 28px;
}

.rh-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(570px, 1.18fr);
  align-items: center;
}

.rh-photo {
  position: relative;
  min-height: 595px;
  overflow: hidden;
  border-radius: 34px 0 0 34px;
  background: #e8ded5;
  box-shadow: var(--rh-shadow);
}

.rh-photo img {
  width: 100%;
  height: 595px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.035);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 72%, rgba(0,0,0,.64) 89%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 72%, rgba(0,0,0,.64) 89%, transparent 100%);
}

.rh-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 61%, rgba(251,250,255,.16) 79%, #fbfaff 100%);
}

.rh-about-card {
  position: relative;
  z-index: 2;
  margin-left: -71px;
  padding: 39px 48px 28px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 34px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--rh-shadow);
}

.rh-eyebrow {
  display: inline-block;
  color: #9a7dd5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
}

.rh-about-card h1 {
  margin: 12px 0 13px;
  color: #855fc9;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(39px, 3.7vw, 58px);
  font-weight: 500;
  line-height: 1.03;
}

.rh-title-rule {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
}

.rh-title-rule::before {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(157,119,218,.55), rgba(157,119,218,.22));
}

.rh-title-rule span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b99be8;
}

.rh-feather {
  width: 76px;
  height: 76px;
  position: absolute;
  top: 35px;
  right: 39px;
  opacity: .2;
  fill: #9a71d8;
  transform: rotate(-5deg);
}

.rh-about-card p {
  margin: 0 0 14px;
  color: #423e56;
  font-size: 14.5px;
  line-height: 1.65;
}

.rh-about-card .rh-lead {
  color: #8153c5;
  font-weight: 700;
}

.rh-about-card strong { color: #6e43b3; }

.rh-benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 20px;
  padding-top: 21px;
  border-top: 1px solid var(--rh-line);
}

.rh-benefit {
  min-height: 82px;
  padding: 2px 11px;
  text-align: center;
  border-right: 1px solid var(--rh-line);
}

.rh-benefit:last-child { border-right: 0; }

.rh-benefit-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 8px;
  color: #9c75de;
}

.rh-benefit-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rh-benefit strong {
  display: block;
  color: #332d50;
  font-size: 11.5px;
  line-height: 1.35;
}

/* Bottom strip */
.rh-info-strip {
  padding: 0 0 66px;
}

.rh-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px 18px;
  border: 1px solid rgba(119,82,185,.08);
  border-radius: 28px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--rh-shadow);
}

.rh-strip-item {
  min-height: 93px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 30px;
  border-right: 1px solid var(--rh-line);
}

.rh-strip-item:last-child { border-right: 0; }

.rh-strip-icon {
  width: 63px;
  height: 63px;
  flex: 0 0 63px;
  display: grid;
  place-items: center;
  color: #7547bc;
  border-radius: 50%;
  background: linear-gradient(145deg, #eee6ff, #f3f8ff);
}

.rh-strip-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rh-strip-copy strong {
  display: block;
  margin-bottom: 6px;
  color: #8152c6;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.rh-strip-copy span {
  display: block;
  color: #39364d;
  font-size: 13.5px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .rh-about-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rh-about-image-col {
    margin-right: 0;
  }

  .rh-about-image {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .rh-about-image-wrap::after {
    display: none;
  }

  .rh-about-card {
    padding: 28px 22px;
  }

  .rh-about-card h2 {
    font-size: 38px;
  }

  .rh-about-card p {
    font-size: 16px;
  }
}

@media(max-width:850px){
  .rh-service-summary{grid-template-columns:160px 1fr auto;gap:18px}
  .rh-service-image{height:125px}
  .rh-service-title{font-size:25px}
  .rh-service-lead{font-size:16px}
  .rh-bottom-bar{grid-template-columns:1fr 1fr}
  .rh-benefit:nth-child(2){border-right:0}
  .rh-benefit:nth-child(-n+2){border-bottom:1px solid var(--line)}
}
@media(max-width:760px){
  body.admin-bar .rh-header{top:46px}
  .rh-mobile-toggle{display:block}
  .rh-menu{
    display:none;position:absolute;left:0;right:0;top:70px;background:#fff;
    flex-direction:column;align-items:stretch;padding:18px;box-shadow:var(--shadow)
  }
  .rh-menu.rh-show{display:flex}
  .rh-menu li,.rh-menu a{width:100%;display:block}
  .rh-book-top{text-align:center}
}
@media(max-width:650px){
  .rh-container{width:min(100% - 22px,1180px)}
  .rh-nav{min-height:70px}
  .rh-brand-name{font-size:24px}
  .rh-brand-mark{width:42px;height:42px}
  .rh-hero{padding-top:36px}
  .rh-hero p{font-size:17px}
  .rh-service-summary{grid-template-columns:1fr;padding:16px}
  .rh-service-image{height:180px}
  .rh-info-btn{width:100%}
  .rh-details-inner{padding:0 14px 18px}
  .rh-details-heading{display:block;padding-top:18px}
  .rh-details-heading p{margin-top:6px}
  .rh-price-row{grid-template-columns:66px 1fr 72px;gap:12px;padding:16px 12px}
  .rh-duration{width:62px;height:62px}
  .rh-duration strong{font-size:22px}
  .rh-treatment h4{font-size:16px}
  .rh-treatment p{font-size:13px}
  .rh-badge{display:block;width:max-content;margin:6px 0 0}
  .rh-price{font-size:24px}
  .rh-bottom-bar{grid-template-columns:1fr}
  .rh-benefit{border-right:0!important;border-bottom:1px solid var(--line)}
  .rh-benefit:last-child{border-bottom:0}
}
