/* ==========================================================================
   Sensedebelle — Programmes, programme detail (Sense Cellulite / Detox / Glow) and Contact pages
   Built from Sensedebelle-Website.xd ("Web 1920 – 6" to "Web 1920 – 10", 1920px artboards).
   Loads after style.css and reuses its tokens, type scale, bands, buttons, cards, CTA and footer.
   Font sizes follow the home page (style.css), not the XD's larger 92px / 20px values.
   ========================================================================== */

:root {
  --offwhite: #FFFCF9;
  --line: #C9C9C9;
}

/* ---------- Shared bits ---------- */
.pg-text { color: var(--muted); font-size: 16px; line-height: 1.5; margin-top: clamp(14px, 1.3vw, 26px); }
.pg-text p { margin-bottom: 1.2em; }
.pg-text p:last-child { margin-bottom: 0; }
.center .pg-text { margin-inline: auto; max-width: 1088px; }
.pg-copy { max-width: 812px; }
.pg-copy .btn { margin-top: clamp(24px, 2.2vw, 42px); }
.pg-head { margin-bottom: 50px; }   /* heading block → cards, same 50px as the home page */

/* ==========================================================================
   Page hero — blush band with a curved bottom (same as Our Story)
   ========================================================================== */
.pg-hero {
  padding-top: max(12.2vw, 128px);
  padding-bottom: calc(var(--section-y) + var(--curve-pad));
}
.pg-hero__title { max-width: 1088px; margin-inline: auto; }
.pg-hero .btn { margin-top: clamp(24px, 2.2vw, 42px); }

/* ==========================================================================
   "You didn't do anything wrong" — centred statement + arrow down
   ========================================================================== */
.pd-intro .display { max-width: 1226px; margin-inline: auto; }
.pd-down {
  display: inline-flex; margin-top: clamp(28px, 2.6vw, 50px);
  width: clamp(40px, 3vw, 56px); aspect-ratio: 1; color: var(--maroon);
  transition: transform .2s;
}
.pd-down:hover { transform: translateY(4px); }
.pd-down svg { width: 100%; height: 100%; }

/* ==========================================================================
   What does it treat — copy left, photo + circle + play button on the right
   ========================================================================== */
.pd-treat { padding-top: calc(var(--section-y) + 5vw); padding-bottom: var(--section-y); }
.pd-treat .container { position: relative; z-index: 2; }
.pd-treat__visual { position: relative; }
.pd-treat__visual img { position: relative; z-index: 1; width: 100%; }
.pd-treat__circle {
  position: absolute; z-index: 0; left: 22.6%; top: 35.5%; width: 27.2%;
  aspect-ratio: 1; border-radius: 50%; background: var(--terracotta);
}
/* Play button (reuses the Our Story video lightbox) */
.pg-play {
  position: absolute; z-index: 2; left: 9.2%; top: 92%;
  width: clamp(56px, 6.7%, 90px); aspect-ratio: 1; padding: 0;
  transform: translate(-50%, -50%);
  border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer;
  transition: color .2s, transform .2s;
}
.pg-play svg { width: 100%; height: 100%; filter: drop-shadow(0 0 6px rgba(0, 0, 0, .16)); }
.pg-play:hover { color: var(--maroon); transform: translate(-50%, -50%) scale(1.06); }
@media (min-width: 1000px) {
  .pd-treat { min-height: 44vw; display: flex; align-items: center; }
  .pd-treat .container { width: min(var(--container), 100% - 2 * var(--gutter)); }
  .pd-treat .pg-copy { max-width: min(812px, 46%); }
  .pd-treat__visual { position: absolute; left: 50vw; bottom: 0; width: 60vw; pointer-events: none; }   /* ~14% smaller than the XD */
  .pd-treat__visual .pg-play { pointer-events: auto; }
}
@media (max-width: 999px) {
  .pd-treat { padding-bottom: 0; }
  .pd-treat__visual { width: 112%; margin: 32px 0 0 -2%; }
  .pd-treat__visual .pg-play { width: clamp(34px, 10%, 56px); }   /* scales with the photo and stays inside it (like Our Story) */
}

/* ==========================================================================
   Our method — the home page's Signature 3-Step Ritual circles
   ========================================================================== */
.pd-ritual {
  margin-top: clamp(20px, 2vw, 38px);
  font-family: var(--font-label); font-weight: 700; color: var(--maroon); font-size: var(--fs-title);
}
@media (min-width: 1450px) {
  /* XD: 434px circles, 118px apart, the middle one 253px lower */
  .pd-method .method__steps { max-width: 1538px; margin-inline: auto; column-gap: 7.67%; }
  .pd-method .step { padding: 24% 18% 0; }        /* text column = 64% of the circle */
  .pd-method .step__num { font-size: 33.6cqw; }   /* ≈21.5% of the circle, as in the XD */
  .pd-method .step__title { font-size: 8.7cqw; }
  .pd-method .step p { font-size: 5.6cqw; line-height: 1.6; }
  .pd-method .step--2 { margin-top: 14vw; }
  /* Arrows measured from the reference: #1 in the gap between 01 and 02, #2 beside 02's lower right, under 03 */
  .pd-method .method__arrow--1 { left: 32.8%; top: 10.8vw; width: 5.2vw; }
  .pd-method .method__arrow--2 {  width: 5.6vw; }
}

/* ==========================================================================
   Areas / focus — white cards on the blush band
   ========================================================================== */
.pd-areas { padding-top: calc(var(--section-y) + 4vw); padding-bottom: var(--section-y); }
.area-grid {
  --cols: 4; --gap: var(--card-gap);   /* same card spacing as the home page */
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap);
}
.area-grid > li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.area-card {
  height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  padding: clamp(28px, 3.6vw, 69px) clamp(20px, 2.3vw, 44px) clamp(28px, 3vw, 56px);
}
.area-card__photo {
  width: min(100%, 274px); aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: clamp(5px, .42vw, 8px) solid var(--coral);
}
.area-card__icon { width: clamp(80px, 6.35vw, 122px); margin-top: clamp(0px, 1.4vw, 40px); }
.area-card__title {
  margin-top: clamp(16px, 1.3vw, 24px);
  font-family: var(--font-label); font-weight: 700; color: var(--coral);
  font-size: var(--fs-title); line-height: 1.33;
}
.area-card__concern { margin: clamp(16px, 1.3vw, 24px) 0 0; }
.area-card__concern + .area-card__title { margin-top: 10px; }
.area-grid--photos .area-card { padding-top: clamp(28px, 3.6vw, 69px); }
@media (max-width: 1099px) { .area-grid { --cols: 2; } }
@media (max-width: 520px) { .area-grid { --cols: 1; } }

/* ==========================================================================
   Technology cards (4-up, centred) and related-journey cards (3-up)
   ========================================================================== */
.pd-tech .pg-head .lead, .pd-related .pg-head .lead { max-width: 1088px; }
.tech-cards .media-card { text-align: center; }
.tech-cards .media-card__img { aspect-ratio: 398 / 260; }
.tech-cards .media-card__body { padding: clamp(22px, 2.9vw, 55px) clamp(20px, 2.3vw, 44px) clamp(28px, 2.6vw, 50px); }
.tech-cards .media-card__title { line-height: 1.33; }
.tech-cards .media-card__body p { line-height: 1.444; }
@media (min-width: 521px) { .tech-cards--2 > li { flex-basis: min(398px, calc((100% - var(--gap)) / 2)); } }

.related-cards .media-card { text-align: center; }
.related-cards .media-card__img { aspect-ratio: 532 / 348; }
.related-cards .media-card__body {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 2.6vw, 50px) clamp(24px, 3.1vw, 59px) clamp(28px, 2.6vw, 50px);
}
.related-cards .media-card__body p { margin: 0 0 clamp(12px, 1vw, 18px); line-height: 1.444; }
.related-cards .media-card__title { margin: 0; text-transform: none; }

/* ==========================================================================
   Your journey — four white circles on a blush band (arch top, curved bottom)
   ========================================================================== */
.pd-journey { padding-top: var(--section-y); padding-bottom: calc(var(--section-y) + var(--curve-pad)); }   /* flat top, curved bottom (XD) */
.journey-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 1.6vw, 30px); }   /* a little breathing room between the circles */
.journey-steps li {
  aspect-ratio: 1; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 11%;
  container-type: inline-size;
}
.journey-steps img { width: 21.4cqw; margin-bottom: 4cqw; }
.journey-steps h3 { font-family: var(--font-label); font-weight: 700; color: var(--coral); font-size: max(1rem, 7.7cqw); line-height: 1.33; }
.journey-steps p { margin: 2cqw 0 0; font-size: max(.875rem, 5.8cqw); line-height: 1.444; }
@media (max-width: 999px) {
  .journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: auto; gap: 24px; }
}
@media (max-width: 460px) {
  .journey-steps { grid-template-columns: 1fr; max-width: 300px; }
}

/* ==========================================================================
   Proof — two before / after pairs
   ========================================================================== */
.proof-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--card-gap); }
.proof-pair {
  display: grid; grid-template-columns: 1fr 1fr; margin: 0;
  border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); background: var(--white);
}
.proof-pair img { width: 100%; height: 100%; aspect-ratio: 400 / 543; object-fit: cover; }
@media (max-width: 760px) { .proof-pairs { grid-template-columns: 1fr; } }

/* ==========================================================================
   Who is this for — photo on the left sitting on the band's bottom, copy right
   ========================================================================== */
.pd-who { padding-top: calc(var(--section-y) + 4vw); padding-bottom: var(--section-y); }
.pd-who .container { position: relative; z-index: 2; }
.pd-who__visual img { width: 100%; }
@media (min-width: 1000px) {
  .pd-who { min-height: 49vw; display: flex; align-items: center; }
  .pd-who .pg-copy { margin-left: 55%; max-width: min(812px, 45%); }   /* photo's visible edge ends ~50vw; copy now starts ~54vw */
  .pd-who__visual { position: absolute; z-index: 1; left: -11.25vw; bottom: 0; width: 66.9vw; pointer-events: none; }
  .pd-who__visual--sm { width: 60.8vw; }
}
@media (max-width: 999px) {
  /* Like the home page's story section: copy first, photo underneath sitting on the band's bottom */
  .pd-who { padding-bottom: 0; display: flex; flex-direction: column-reverse; }
  .pd-who__visual { width: 112%; margin: 40px 0 0 -6%; }
}

/* ==========================================================================
   FAQ — lined accordion left, photo right, on off-white
   ========================================================================== */
.pd-faq { background: var(--offwhite); }
.pd-faq__grid { display: grid; grid-template-columns: 812fr 808fr; gap: clamp(36px, 4.5vw, 88px); align-items: center; }
.pd-faq__photo { width: 100%; aspect-ratio: 808 / 795; object-fit: cover; border-radius: var(--radius-card); }
.qa { margin-top: clamp(24px, 2.4vw, 46px); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  position: relative; list-style: none; cursor: pointer;
  padding: clamp(14px, 1.1vw, 20px) 40px clamp(10px, .8vw, 14px) 0;
  font-family: var(--font-label); font-weight: 700; color: var(--maroon);
  font-size: clamp(0.9375rem, 0.85rem + 0.25vw, 1.1875rem); line-height: 1.35;   /* matches the home FAQ */
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--maroon); border-bottom: 2px solid var(--maroon);
  transform: rotate(45deg); transition: transform .25s, margin-top .25s;
}
.qa details[open]:not(.is-closing) summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa summary:hover { color: var(--ink); }
.qa details > p { margin: 0; padding: 4px 0 clamp(18px, 1.6vw, 30px) clamp(24px, 3.44vw, 66px); max-width: calc(674px + 66px); }
@media (max-width: 899px) {
  .pd-faq__grid { grid-template-columns: 1fr; }
  .pd-faq__photo { max-width: 560px; margin-inline: auto; order: 2; }
}

/* ==========================================================================
   Final CTA — the home page's .cta, with the portrait trial model
   ========================================================================== */
.pd-cta .cta__visual img { transform: none; }
.pd-cta .cta__circle--a { background: var(--terracotta); width: 38.3%; left: 78%; top: 57.2%; }
.pd-cta .cta__circle--b { background: var(--coral-soft); width: 38%; left: 5.4%; top: 78.8%; }
.pd-cta .cta__text { margin-bottom: clamp(22px, 1.9vw, 36px); }
@media (min-width: 900px) {
  /* Same height as the home page's CTA model (57.5cu); portrait image is 555 × 987, so width = 57.5 / 1.778 */
  .pd-cta .cta__visual { right: 0; width: calc(32.3 * var(--cu)); }
  /* She rises ~6cu above the band — keep the section above clear of her head */
  .pd-related { padding-bottom: calc(var(--section-y) + 6 * min(1vw, 100svh / 56, 19.2px)); }
}
@media (max-width: 899px) {
  .pd-cta .cta__visual { width: min(70%, 360px); }
}

/* ==========================================================================
   Programmes — six journey cards (one white card: photo flush across the top, text below)
   ========================================================================== */
.prog { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.prog-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  overflow: hidden;   /* photo picks up the card's rounded top corners */
  color: var(--ink); text-decoration: none;
}
.prog-card__img { width: 100%; aspect-ratio: 520 / 324; object-fit: cover; }
.prog-card__body { flex: 1; padding: clamp(22px, 2.4vw, 46px) clamp(22px, 2.6vw, 50px) clamp(28px, 2.6vw, 50px); }
.prog-card .card__title { line-height: 1.5; }
.prog-card p { margin: 0; }
.prog-card__more {
  display: inline-block; margin-top: clamp(14px, 1.2vw, 22px);
  font-family: var(--font-label); font-weight: 700; color: var(--coral); text-transform: uppercase; font-size: var(--fs-btn);
}
@media (max-width: 1099px) {
  .prog__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prog-card__body { padding-top: 34px; }   /* a little more room between the photo and the icon */
}
@media (max-width: 680px) { .prog__cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact — visit block (home page .visit) + "Let's talk" form band
   ========================================================================== */
.ct-visit { padding-top: var(--section-y); }
.ct-talk { padding-top: calc(var(--section-y) + 4vw); padding-bottom: var(--section-y); }
.ct-talk__dot { left: calc(18.4vw - var(--d) / 2); top: calc(2.44vw - var(--d) / 2); }
.ct-talk__grid { display: grid; grid-template-columns: 812fr 812fr; gap: clamp(36px, 4.5vw, 88px); align-items: center; }
.ct-form {
  background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  padding: clamp(28px, 3.6vw, 70px) clamp(24px, 2.8vw, 54px) clamp(32px, 3.6vw, 70px);
}
.ct-field { display: flex; align-items: flex-end; gap: 14px; margin-bottom: clamp(24px, 2.4vw, 46px); }
.ct-field label {
  flex: none; min-width: 5.2em; padding-bottom: 8px;
  font-family: var(--font-label); font-weight: 700; color: var(--coral); font-size: clamp(1rem, .9rem + .3vw, 1.3125rem);
}
.ct-field input, .ct-field textarea {
  flex: 1; min-width: 0; padding: 8px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--ink); font: inherit; resize: vertical;
}
.ct-field textarea { min-height: 44px; }
.ct-field input:focus, .ct-field textarea:focus { outline: 0; border-bottom-color: var(--coral); }
.ct-field--area { align-items: flex-start; }
.ct-field--area label { padding-top: 8px; padding-bottom: 0; min-width: 7.6em; }
.ct-form__actions { display: flex; justify-content: flex-end; }
.ct-form__actions .btn { cursor: pointer; }   /* otherwise identical to the home page buttons */
@media (max-width: 899px) {
  .ct-talk__grid { grid-template-columns: 1fr; }
  .ct-field { flex-direction: column; align-items: stretch; gap: 0; }
  .ct-field label { padding-bottom: 0; }
}

/* ==========================================================================
   Video lightbox (same as Our Story)
   ========================================================================== */
.video-modal {
  width: min(1100px, 92vw); padding: 0; border: 0; border-radius: 16px;
  background: #000; overflow: visible;
}
.video-modal::backdrop { background: rgba(30, 20, 20, .78); }
.video-modal__frame { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; }
.video-modal__frame iframe, .video-modal__frame video { display: block; width: 100%; height: 100%; border: 0; }
.video-modal__close {
  position: absolute; right: 0; top: -48px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: var(--white); color: var(--ink);
  font-size: 26px; line-height: 1; cursor: pointer;
}

/* ==========================================================================
   Blog — all articles (the home page's journal cards, 3-up)
   ========================================================================== */
.blog-list .journal__cards { margin-top: 0; }

/* ==========================================================================
   Blog article
   ========================================================================== */
.article-hero { padding-top: max(10vw, 128px); padding-bottom: calc(var(--section-y) + var(--curve-pad)); }
.article-hero__title { max-width: 14em; margin-inline: auto; }

.article__wrap { max-width: 900px; margin-top: calc(-1 * clamp(60px, 9vw, 170px)); position: relative; z-index: 2; }
.article__cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.article__body { max-width: 720px; margin: clamp(36px, 4vw, 64px) auto 0; font-size: 17px; line-height: 1.75; }
.article__body p { margin: 0 0 1.25em; }
.article__lead { font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.6; color: var(--ink); }
.article__body h2 {
  margin: 1.8em 0 .6em; font-family: var(--font-display); font-weight: 600; color: var(--maroon);
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2.125rem); line-height: 1.2;
}
.article__body ul { margin: 0 0 1.4em; }
.article__body li { position: relative; padding-left: 1.6em; margin-bottom: .55em; }
.article__body li::before { content: ""; position: absolute; left: .3em; top: .7em; width: .45em; height: .45em; border-radius: 50%; background: var(--coral); }
.article__quote {
  margin: 1.8em 0; padding: 4px 0 4px clamp(20px, 2vw, 32px); border-left: 3px solid var(--coral);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1.1rem + .7vw, 1.875rem); line-height: 1.35; color: var(--ink);
}
.article__cta {
  margin-top: clamp(36px, 4vw, 56px); padding: clamp(28px, 3vw, 44px); border-radius: var(--radius-card);
  background: var(--blush); text-align: center;
}
.article__cta h2 { margin-top: 0; }
.article__cta p { color: var(--muted); }
.article__back { display: inline-block; margin: clamp(36px, 4vw, 56px) 0 0; font-family: var(--font-label); font-weight: 600; color: var(--maroon); text-decoration: none; }
.article__back:hover { color: var(--ink); }
.article-more { padding-top: var(--section-y); }

