/* ============================================================
   iTUKcare — Wellness Page Specific Stylesheet (wellness.css)
   Contains ONLY unique components specific to the Wellness page.
   Hero banner layout/typography live in style.css.
   ============================================================ */

/* ============================================================
   1. PLAN DETAILS
   ============================================================ */
.wellness-plans-section{
  /* Plan Details PSD: header #0C534F, BUY NOW #FD572D, body/price ink */
  --plan-header: var(--teal-dark);
  --plan-buy: #fd572d;
  --plan-buy-hover: #e44b26;
  --plan-ink: var(--text-title);
  --plan-copy: var(--text);
  background: var(--cream);
  padding: 48px 0 20px;
  overflow: hidden;
}

.wellness-plans-section > .container{
  position: relative;
  z-index: 1;
}

.wellness-plans-leaf-left{
  top: 50%;
  left: -24px;
  width: 150px;
  max-width: 16vw;
  z-index: 0;
  transform: translateY(20%);
}

.wellness-plans-leaf-left .decor-img{
  transform: rotate(180deg);
  transform-origin: center center;
}

.wellness-plans-leaf-right{
  top: 50%;
  right: -18px;
  width: 150px;
  max-width: 18vw;
  z-index: 0;
  transform: translateY(-50%);
}

.wellness-plans-leaf-right .decor-img{
  transform: rotate(-90deg);
  transform-origin: center center;
}

.wellness-plans-subtitle{
  text-align: center;
  color: var(--plan-copy);
  font-size: 18px;
  font-weight: 500;
  margin: 12px 0 36px;
}

.wellness-plan-row{
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(0, 2.15fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 22px;
}

.wellness-plan-intro{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wellness-plan-intro-copy{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.wellness-plan-intro-icon{
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

.wellness-plan-intro-copy h3{
  margin: 4px 0 4px;
  color: var(--plan-header);
  font-size: 22px;
  font-weight: 800;
  font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
}

.wellness-plan-intro-copy p{
  margin: 0;
  color: var(--plan-copy);
  font-size: 14px;
  line-height: 1.45;
  max-width: 240px;
}

.wellness-plan-intro-photo{
  width: 100%;
  height: auto;
  max-height: 280px;
  display: block;
  object-fit: contain;
  object-position: left bottom;
  margin-top: auto;
}

.wellness-plan-intro-photo-wide{
  max-height: 220px;
}

.wellness-plan-bundle{
  min-width: 0;
  background: var(--white);
  border: 1.5px solid var(--sand-border);
  border-radius: 16px;
  overflow: hidden;
}

.wellness-plan-tiers{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wellness-plan-head{
  background: var(--plan-header);
  color: var(--white);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 8px;
  line-height: 1.3;
}

.wellness-plan-tier + .wellness-plan-tier .wellness-plan-head,
.wellness-plan-tier + .wellness-plan-tier .wellness-plan-body{
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.wellness-plan-tier + .wellness-plan-tier .wellness-plan-body{
  border-left-color: var(--sand-border);
}

.wellness-plan-body{
  background: #fefaf1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10px 18px;
  gap: 8px;
  min-height: 168px;
}

.wellness-plan-price-label{
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.wellness-plan-price{
  color: var(--plan-ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
}

.wellness-plan-buy,
.wellness-plan-more{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-decoration: none;
}

.wellness-plan-buy{
  background: var(--plan-buy);
  color: var(--white);
  border: 0;
}

.wellness-plan-buy:hover{
  background: var(--plan-buy-hover);
  color: var(--white);
}

.wellness-plan-more{
  background: #fefaf1;
  color: var(--plan-header);
  border: 1.5px solid var(--plan-header);
}

.wellness-plan-more:hover{
  background: var(--teal-light);
  color: var(--plan-header);
}

.wellness-plan-benefits{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  background: #fefcf6;
  border-top: 1.5px solid var(--sand-border);
  padding: 14px 12px 16px;
}

.wellness-plan-benefit{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--plan-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.wellness-plan-benefit img{
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.wellness-surgi-panel{
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.4fr);
  background: #fefaf1;
  border: 1.5px solid var(--sand-border);
  border-radius: 16px;
  overflow: hidden;
}

.wellness-surgi-actions .wellness-plan-head{
  border-radius: 0;
}

.wellness-surgi-body{
  min-height: 148px;
  justify-content: center;
  gap: 10px;
}

.wellness-surgi-benefits{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  align-content: center;
  padding: 18px 20px;
  border-left: 1.5px solid var(--sand-border);
}

/* ============================================================
   2. HIGHLIGHT CARDS SECTION (4 Cards - Unified with .feature-card from style.css)
   ============================================================ */
.wellness-highlights-section{
  background: var(--cream);
  padding: 55px 0 35px;
}

.feature-card-icon .wellness-card-icon-img{
  width: 90px !important;
  height: 90px !important;
  object-fit: contain;
  transition: transform var(--transition);
}

.feature-card:hover .wellness-card-icon-img{
  transform: scale(1.08);
}

/* ============================================================
   3. WHY CHOOSE ITUKCARE WELLNESS
   ============================================================ */
.wellness-why-section{
  background: var(--cream);
  padding: 45px 0 45px;
  /* overflow: hidden; */
}

.decor-why-right{
  position: absolute;
  top: -20px;
  right: 10px;
  width: 140px;
  max-width: 16vw;
  z-index: 9;
  pointer-events: none;
  transform: rotate(90deg) !important;
}

.decor-why-right .decor-img{
  animation: floatLeafAbout 5.5s ease-in-out infinite alternate;
  will-change: transform;
}

.wellness-why-strip{
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 20px 0 10px;
  margin-top: 45px;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.wellness-why-item{
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 22px;
  position: relative;
}

.wellness-why-item:not(:last-child)::after{
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 72px;
  width: 1.5px;
  background: #cfdbd7;
}

.wellness-why-badge{
  width: 86px;
  height: 86px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wellness-why-icon-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}

.wellness-why-item:hover .wellness-why-icon-img{
  transform: scale(1.06);
}

.wellness-why-label{
  font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.22;
  letter-spacing: -0.3px;
  white-space: normal;
}

/* ============================================================
   4. OUR WELLNESS PROGRAMS (5 Cards)
   ============================================================ */
.wellness-programs-section{
  background: var(--cream);
  padding: 40px 0 45px;
  overflow: hidden;
}

.decor-programs-left{
  position: absolute;
  top: 0px;
  left: -15px;
  width: 120px;
  max-width: 16vw;
  z-index: 1;
  pointer-events: none;
}

.decor-programs-left .decor-img{
  animation: floatLeafIncludedLeft 5.2s ease-in-out infinite alternate;
  will-change: transform;
}

.wellness-title-bar{
  width: 150px;
  height: 4px;
  background: var(--coral);
  border-radius: 10px;
  margin: 24px auto 46px;
}

.wellness-programs-grid{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  z-index: 2;
}

.wellness-program-card{
  flex: 1 1 0;
  min-width: 0;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  border: 1.5px solid var(--sand-border);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.wellness-program-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(17, 88, 88, 0.12);
}

.wellness-program-img-wrap{
  width: 100%;
  aspect-ratio: 348 / 620;
  overflow: hidden;
  background: #f4ece2;
}

.wellness-program-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.wellness-program-card:hover .wellness-program-img{
  transform: scale(1.05);
}

.wellness-program-info{
  padding: 16px 16px 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.wellness-program-title{
  font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.25;
}

.wellness-program-link{
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition), transform var(--transition);
}

.wellness-program-link:hover{
  color: var(--coral-dark);
  transform: translateX(4px);
}

/* ============================================================
   5. START YOUR WELLNESS JOURNEY BANNER
   ============================================================ */
.wellness-banner-section{
  background: var(--cream);
  padding: 40px 0 45px;
  /* overflow: hidden; */
}

.decor-journey-right{
  position: absolute;
  top: -100px;
  right: -10px;
  width: 145px;
  max-width: 16vw;
  z-index: 1;
  pointer-events: none;
}

.decor-journey-right .decor-img{
  animation: floatLeafAbout 5.5s ease-in-out infinite alternate;
  will-change: transform;
}

.wellness-journey-card{
  background: #fef3e9;
  border: 1.5px solid var(--sand-border);
  border-radius: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  z-index: 2;
  min-height: 280px;
}

.wellness-journey-photo-col{
  flex: 0 0 280px;
  height: 280px;
  position: relative;
  overflow: hidden;
}

.wellness-journey-woman-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.wellness-journey-content{
  flex: 1;
  padding: 30px 40px;
  position: relative;
  z-index: 2;
}

.wellness-journey-title{
  font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  line-height: 1.15;
}

.wellness-journey-sub{
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 26px;
  font-weight: 500;
}

.wellness-journey-gold-leaves{
  position: absolute;
  right: 20px;
  bottom: 0px;
  width: 220px;
  height: auto;
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
}

.wellness-gold-leaves-img{
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   6. FREQUENTLY ASKED QUESTIONS SECTION
   ============================================================ */
.wellness-faq-section{
  background: var(--cream);
  padding: 40px 0 80px;
  position: relative;
  overflow: hidden;
}

.decor-faq-left{
  position: absolute;
  top: auto;
  bottom: 25px;
  left: -15px;
  width: 130px;
  max-width: 15vw;
  z-index: 1;
  pointer-events: none;
}

.decor-faq-left .decor-img{
  animation: floatLeafServicesLeft 5s ease-in-out infinite alternate;
  will-change: transform;
}

.decor-faq-right{
  position: absolute;
  top: 300px;
  right: -10px;
  width: 100px;
  max-width: 12vw;
  z-index: 1;
  pointer-events: none;
}

.decor-faq-right .decor-img{
  animation: floatLeafAbout 5.5s ease-in-out infinite alternate;
  will-change: transform;
}

.wellness-faq-wrapper{
  margin: 36px auto 0;
  position: relative;
  z-index: 2;
  width: 100%;
}

.wellness-accordion{
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wellness-faq-item{
  background: #ffffff;
  border: 1.2px solid #e0d8c8 !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(17, 88, 88, 0.03);
  transition: all 0.25s ease;
}

.wellness-faq-item:hover{
  border-color: #c9bcab !important;
  box-shadow: 0 4px 14px rgba(17, 88, 88, 0.06);
}

.wellness-faq-item .accordion-button{
  background-color: #fffaf2 !important;
  color: #111111 !important;
  font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  padding: 16px 22px;
  box-shadow: none !important;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 16px !important;
}

.wellness-faq-item .accordion-button:not(.collapsed){
  padding-bottom: 6px;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.wellness-faq-item .faq-num{
  font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
  font-weight: 700;
  color: #111111;
  font-size: 15.5px;
  flex-shrink: 0;
}

.wellness-faq-item .faq-question{
  font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
  font-weight: 700;
  color: #111111;
  font-size: 15.5px;
  flex: 1;
}

.wellness-faq-body{
  padding: 4px 22px 18px 22px;
  font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
  font-size: 14px;
  color: #555555;
  line-height: 1.55;
  background-color: #ffffff;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.wellness-faq-prefix{
  font-weight: 700;
  color: var(--coral);
  margin-right: 4px;
}

/* ============================================================
   PLAN PDF VIEWER PAGE (view only — no download)
   ============================================================ */
.wellness-pdf-view{
  background: var(--cream);
  padding: 56px 0 48px;
}

.wellness-pdf-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.wellness-pdf-back{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.wellness-pdf-back:hover{
  color: var(--teal-dark);
}

.wellness-pdf-title{
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--teal);
  font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
}

.wellness-pdf-body{
  position: relative;
  min-height: 70vh;
  padding: 20px 12px 28px;
  background: var(--white);
  border: 1.5px solid var(--sand-border);
  border-radius: var(--radius-lg);
}

.wellness-pdf-status{
  margin: 48px 16px;
  text-align: center;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.wellness-pdf-status.is-error{
  color: var(--coral);
}

.wellness-pdf-pages{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.wellness-pdf-page{
  display: block;
  max-width: 100%;
  height: auto;
  background: var(--white);
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-select: none;
}

/* ============================================================
   PLAN PDF VIEWER — MOBILE / RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 767.98px) {
  .wellness-pdf-view {
    padding: 24px 0 32px;
  }

  /* Stack back-link above title on narrow screens */
  .wellness-pdf-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
  }

  .wellness-pdf-title {
    font-size: 18px;
  }

  /* Horizontal scroll container — PDF renders at full width */
  .wellness-pdf-body {
    padding: 12px 0 18px;
    min-height: 40vh;
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth momentum scroll on iOS */
  }

  .wellness-pdf-pages {
    /* Do NOT constrain width — let canvases determine width naturally */
    width: max-content;
    min-width: 100%;
    overflow-x: visible;
    gap: 10px;
    align-items: flex-start;
  }

  /* Canvas keeps its JS-rendered pixel width; body scrolls around it */
  .wellness-pdf-page {
    display: block;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .wellness-pdf-body {
    padding: 8px 0 12px;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
}