@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* ===== Myriad Pro — locally hosted ===== */
@font-face {
  font-family: "Myriad Pro";
  src: url('../../assets/fonts/myriad-pro/MyriadPro-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Myriad Pro";
  src: url('../../assets/fonts/myriad-pro/MYRIADPRO-REGULAR.OTF') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Myriad Pro";
  src: url('../../assets/fonts/myriad-pro/MYRIADPRO-SEMIBOLD.OTF') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Myriad Pro";
  src: url('../../assets/fonts/myriad-pro/MYRIADPRO-SEMIBOLDIT.OTF') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Myriad Pro";
  src: url('../../assets/fonts/myriad-pro/MYRIADPRO-BOLD.OTF') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Myriad Pro";
  src: url('../../assets/fonts/myriad-pro/MYRIADPRO-BOLDIT.OTF') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Myriad Pro Condensed variants */
@font-face {
  font-family: "Myriad Pro Condensed";
  src: url('../../assets/fonts/myriad-pro/MYRIADPRO-COND.OTF') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Myriad Pro Condensed";
  src: url('../../assets/fonts/myriad-pro/MYRIADPRO-CONDIT.OTF') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Myriad Pro Condensed";
  src: url('../../assets/fonts/myriad-pro/MYRIADPRO-BOLDCOND.OTF') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Myriad Pro Condensed";
  src: url('../../assets/fonts/myriad-pro/MYRIADPRO-BOLDCONDIT.OTF') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ===== Wellness Specialists (front-end) ===== */

.wellness-specialists-block {
  max-width: 100%;
  margin: 0 auto 80px;
  padding: 40px 0 0;
  text-align: center;
  background-color: #f9f8f6;
  padding: 76px 0 93px !important;
}

.wellness-specialists-block .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.wellness-specialists-block .container.mobile-padding {
  /* padding: 0 24px; */
}

.wellness-carousel {
  position: relative;
}

.wellness-specialists-carousel {
  position: relative;
  min-height: 260px;
}

.wellness-specialist-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  position: absolute;
  width: 100%;
}



.wellness-specialist-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.wellness-specialists-heading {
  margin-bottom: 49px;
  font-family: 'FFAcanthus';
  font-weight: 400;
  font-style: Regular;
  font-size: 52px;
  leading-trim: NONE;
  line-height: 62px;
  letter-spacing: 0.5%;
  text-align: center;
  color: #3D4E4A;
}

.wellness-specialist-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  column-gap: 56px;
  align-items: start;
  text-align: left;
  margin-bottom: 40px;
}

.wellness-specialist-photo-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

/* Desktop only */
@media (min-width: 769px) {
  .wellness-specialist-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    column-gap: 80px;
    align-items: start;
    margin-bottom: 32px;
  }
}

@media (min-width: 769px) {
  .wellness-specialist-photo-wrap {
    margin-top: 25px;
  }
}

.wellness-specialist-photo {
  width: 295px;
  height: 295px;
  border-radius: 221px;
  object-fit: cover;
  display: block;
  opacity: 1;
}

@media (min-width: 992px) {
  .caps-header {
    font-size: 20px !important;
  }
}

.wellness-specialist-name.caps-header {

  color: #3D4E4A;
  margin-bottom: 14px;
  font-family: Lato;
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 32px;
  letter-spacing: 16%;
  text-transform: uppercase;
  margin-left: 0px !important;
}

.wellness-specialist-role {
  margin: 0 0 14px;
  color: #5f6858;
  font-family: Myriad Pro;
  font-weight: 600;
  font-style: Semibold;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 32px;


}

.wellness-specialist-bio {
  letter-spacing: 0.05em;
  margin: 0;
  color: #000000;
  font-family: Myriad Pro;
  font-weight: 300;
  font-style: Light;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 32px;
}

/* Carousel controls */
.wellness-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.wellness-carousel-prev,
.wellness-carousel-next {
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #778F76;
}

.wellness-carousel-dots {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 30px;
}


@media (min-width: 769px) {
  .wellness-carousel-dots {
    margin-left: calc(320px + 85px);
  }
}

.wellness-carousel-dots .dot {
  background: transparent;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 2px solid rgba(119, 143, 118, 0.6);
  cursor: pointer;
  transition: background-color 220ms ease, border-color 220ms ease;
  flex-shrink: 0;
}

.wellness-carousel-dots .dot.is-active {
  background: radial-gradient(circle, #778F76 0%, #778F76 35%, transparent 70%);
  border-color: #778F76;
}

/* Benefits Section */
.benefits-title {
  font-family: 'FFAcanthus';
  font-weight: 400;
  font-style: Regular;
  font-size: 52px;
  leading-trim: NONE;
  line-height: 62px;
  letter-spacing: 0.5%;
  text-align: center;
  color: #3D4E4A;
  margin-top: 61px;
}

.contrast-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 55px;
  /* padding-bottom: 40px; */
  text-align: center;
}

.contrast-item-outer {
  perspective: 1000px;
  cursor: pointer;
  margin-top: 0 !important;
}

/* Wrapper handles the 3D rotation */
.contrast-item-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.contrast-item-outer.is-flipped .contrast-item-wrapper {
  transform: rotateY(180deg);
}

.contrast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 220px;
  border-radius: 50%;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  box-sizing: border-box;
}

/* Back panel rotated by default */
.contrast-item-back {
  transform: rotateY(180deg);
  overflow: hidden;
  padding: 28px 24px;
  justify-content: center;
}

.contrast-item-back .description {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
}

.contrast-circle {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  overflow: hidden;
  border-radius: 50%;
}

.wellness-specialists-block .contrast-circle img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  /* filter: brightness(0) saturate(100%); */
  opacity: 0.8;
}

.contrast-label {
  font-family: "Lato", Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3d4636;
  /* padding: 0 16px; */
}

.contrast-item-back .description {
  text-align: center;
  padding: 0 20px;
}

.contrast-item-back .description p {
  margin: 0;
  line-height: 1.4;
}

/* Spacing before benefits section */
.wellness-specialists-block+.contrast-therapy-section {
  margin-top: 72px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .wellness-specialists-block {
    padding: 32px 0 0;
  }
  .wellness-specialist-role{
    font-family: Myriad Pro;
    font-weight: 600;
    font-style: Semibold;
    font-size: 17px;
    leading-trim: NONE;
    line-height: 29px;
    letter-spacing: 3%;
    margin-bottom: 12px;
  }
  .wellness-carousel-dots{
    margin-top: 26px;
  }

  .wellness-specialists-block .container {
    /* padding: 0 18px; */
  }

  .wellness-specialists-block {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }

  .wellness-specialists-heading {
    margin-bottom: 24px;
    font-family: 'FFAcanthus';
    font-weight: 400;
    font-style: Regular;
    font-size: 36px;
    leading-trim: NONE;
    line-height: 40px;
    letter-spacing: 0.5%;
    text-align: center;
  }

  .wellness-specialist-bio {
    font-family: Myriad Pro;
    font-weight: 300;
    font-style: Light;
    font-size: 17px;
    leading-trim: NONE;
    line-height: 29px;
    letter-spacing: 5%;
  }

  .wellness-specialist-layout {
    grid-template-columns: 1fr;
    row-gap: 24px;
    text-align: center;
    margin-bottom: 40px;
  }

  .wellness-specialist-content {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    /* gap: 24px; */
  }

  .wellness-specialist-name.caps-header {
    font-family: Lato;
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 28px;
    letter-spacing: 16%;
    text-transform: uppercase;
    margin-bottom: 12px;
    margin-top: 34px;
  }

  .wellness-carousel-dots {
    justify-content: center;
    margin-left: 0;
  }

  .wellness-specialist-photo {
    width: 270px;
    height: 270px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .contrast-items {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 44px;
  }

  .benefits-title {
    font-family: 'FFAcanthus';
    font-weight: 400;
    font-style: Regular;
    font-size: 36px;
    leading-trim: NONE;
    line-height: 40px;
    letter-spacing: 0.5%;
    text-align: center;
    margin-top: 111px;

  }
}