/* SkinXcel: treatment, area and policy pages in the main site design.
   Loaded after site.css. Everything is scoped to main.gp so the homepage is untouched. */
.gp {
  --white: #FFFFFF;
  --gold: var(--accent);
  --gold-light: var(--accent);
  --gold-pale: var(--tint);
  --sage: var(--tint);
  --border: var(--line);
  display: block;
}
.gp section { padding-block: 64px; }
.gp .section-inner { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.gp .section-label { font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); font-weight: 500; margin: 0 0 12px; }
.gp .section-title { font-family: var(--display); font-weight: 400; color: var(--ink); font-size: var(--fs-h2); line-height: 1.12; margin: 0; text-wrap: balance; }
.gp .section-title em { font-style: normal; color: inherit; }
.gp .divider { width: 48px; height: 1px; background: var(--accent); margin: 20px 0 22px; }
.gp p { margin: 0 0 14px; }
.gp p:last-child { margin-bottom: 0; }
.gp section p a:not([class]) { color: var(--accent-text); text-underline-offset: 3px; }

/* Page intro, matching the Treatments and FAQs pages */
.gp .page-hero { background: var(--dark); color: var(--on-dark); text-align: center; padding: 64px 0 56px; position: relative; }
.gp .page-hero .hero-bg { display: none; }
.gp .page-hero .crumbs { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mid); margin-bottom: 18px; }
.gp .page-hero .crumbs a { color: var(--on-dark-mid); text-decoration: none; border-bottom: 1px solid rgba(242,238,229,.3); }
.gp .page-hero .section-label { color: var(--accent); }
.gp .page-hero h1.section-title { color: var(--on-dark); font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; max-width: 20ch; margin: 0 auto; }
.gp .page-hero .divider { margin: 22px auto; }
.gp .page-hero .lead { max-width: 60ch; margin: 0 auto; }
.gp .page-hero .lead p { color: var(--on-dark-mid); font-size: var(--fs-base); }
.gp .hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Buttons from the old pages, drawn like the main site's buttons */
.gp .btn-book, .gp .btn-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 2px; font-family: var(--body); font-size: var(--fs-sm); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.gp .btn-book { background: var(--btn); color: var(--on-dark); border: 1px solid var(--btn); }
.gp .btn-book:hover { background: var(--btn-hover); }
.gp .btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.gp .page-hero .btn-book, .gp .cta-band .btn-book { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.gp .page-hero .btn-book:hover, .gp .cta-band .btn-book:hover { background: #fff; }
.gp .page-hero .btn-outline { color: var(--on-dark); border-color: rgba(242,238,229,.55); }
.gp .page-hero .btn-outline:hover { border-color: var(--on-dark); }

/* Who it helps and what to expect */
.gp .info-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; }
.gp .tick-list, .gp .steps { list-style: none; padding: 0; margin: 24px 0 0; }
.gp .tick-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); }
.gp .tick-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 6px; border-left: 1.5px solid var(--accent-text); border-bottom: 1.5px solid var(--accent-text); transform: rotate(-45deg); }
.gp .steps { counter-reset: step; }
.gp .steps li { position: relative; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--line); counter-increment: step; }
.gp .steps li::before { content: counter(step); position: absolute; left: 0; top: 13px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-text); font-size: var(--fs-xs); display: grid; place-items: center; }
.gp .steps strong { color: var(--ink); font-weight: 500; }

/* Treatments and prices, drawn like the main treatment menu */
.gp .treatments { background: var(--bg-alt); }
.gp .treatment-grid { display: block; margin-top: 28px; border-top: 1px solid rgba(0,0,0,.1); }
.gp .treatment-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 36px; padding: 24px 0; border-bottom: 1px solid rgba(0,0,0,.1); background: none; box-shadow: none; border-radius: 0; transform: none; }
.gp .treatment-card::before { display: none; }
.gp .treatment-name { grid-column: 1; font-family: var(--display); font-size: var(--fs-h3); line-height: 1.2; color: var(--ink); margin: 0; font-weight: 400; }
.gp .treatment-desc { grid-column: 1; color: var(--mid); font-size: var(--fs-sm); max-width: 62ch; }
.gp .consult-note { grid-column: 1; font-size: var(--fs-sm); color: var(--ink); background: rgba(255,255,255,.6); border-left: 2px solid var(--accent); padding: 10px 14px; margin: 4px 0 0; }
.gp .treatment-meta { grid-column: 2; grid-row: 1 / span 2; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.gp .treatment-duration { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--mid); display: inline-flex; align-items: center; gap: 6px; }
.gp .treatment-price { font-family: var(--display); font-size: var(--fs-h3); color: var(--ink); }
.gp .book-treatment-btn { grid-column: 1; justify-self: start; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 3px; margin-top: 6px; }
.gp .book-treatment-btn:hover { color: var(--accent-text); }
.gp .sx-voucher-btns { grid-column: 1; display: flex; gap: 22px; flex-wrap: wrap; }
.gp .sx-icon { width: 1em; height: 1em; }

/* Questions */
.gp .faq { margin: 12px 0 0; max-width: 860px; }
.gp .faq details p { color: var(--text); max-width: 70ch; padding-bottom: 22px; }

/* Closing band */
.gp .cta-band { background: var(--dark); color: var(--on-dark); text-align: center; }
.gp .cta-band .section-label { color: var(--accent) !important; }
.gp .cta-band .section-title { color: var(--on-dark); margin: 0 auto; }
.gp .cta-band .divider { margin: 22px auto; }
.gp .cta-band p { color: var(--on-dark-mid); max-width: 60ch; margin: 0 auto 28px; }
.gp .cta-band p a { color: var(--on-dark) !important; }

/* More treatments */
.gp .related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.gp .related a { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); border: 1px solid rgba(0,0,0,.18); padding: 10px 16px; border-radius: 2px; }
.gp .related a:hover { border-color: var(--ink); }

/* Results photos */
.gp .result-figure { margin: 28px 0 0; }
.gp .result-figure img { border-radius: 2px; }
.gp .result-figure figcaption { font-size: var(--fs-sm); color: var(--mid); margin-top: 10px; }

/* Reveal: old pages use .visible, the main site uses .in */
.js .gp .reveal.visible { opacity: 1; transform: none; }

/* Read more on long descriptions (phones) */
@media (max-width: 768px) {
  .gp .treatment-desc.sx-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .gp .sx-more { grid-column: 1; justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); cursor: pointer; }
}
.gp .sx-more { display: none; }
.gp .sx-more.sx-show { display: inline-block; }

/* Privacy and 404 */
.gp .pv { max-width: 820px; margin: 0 auto; }
.gp .pv h2 { font-size: var(--fs-h3x); margin: 40px 0 12px; }
.gp .pv h3 { font-size: var(--fs-h3); margin: 28px 0 10px; }
.gp .pv ul { padding-left: 20px; margin: 0 0 14px; }
.gp .pv li { margin-bottom: 6px; }
.gp .pv .updated { color: var(--mid); font-size: var(--fs-sm); }
.gp .table-wrap { overflow-x: auto; margin: 16px 0 20px; }
.gp .table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.gp .table-wrap th, .gp .table-wrap td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.gp .table-wrap th { font-weight: 500; color: var(--ink); background: var(--bg-alt); }
.gp .contact-box { background: var(--bg-alt); padding: 24px 28px; margin-top: 28px; border-radius: 2px; }

@media (max-width: 860px) {
  .gp section { padding-block: 48px; }
  .gp .page-hero { padding: 44px 0 40px; }
  .gp .info-grid { grid-template-columns: 1fr; gap: 40px; }
  .gp .treatment-card { grid-template-columns: 1fr; }
  .gp .treatment-meta { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; text-align: left; order: -1; }
  .gp .treatment-name { order: -2; }
  .gp .hero-actions .btn-book, .gp .hero-actions .btn-outline { width: 100%; }
}

/* Privacy tables stack into cards on phones */
@media (max-width: 640px) {
  .gp .table-wrap { overflow: visible; }
  .gp .table-wrap table, .gp .table-wrap tbody, .gp .table-wrap tr, .gp .table-wrap td { display: block; width: 100%; }
  .gp .table-wrap thead { display: none; }
  .gp .table-wrap tr { background: var(--bg-alt); padding: 14px 16px; margin-bottom: 12px; border-radius: 2px; }
  .gp .table-wrap td { border: 0; padding: 4px 0; }
  .gp .table-wrap td::before { content: attr(data-label); display: block; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); font-weight: 500; margin-bottom: 2px; }
  .gp .table-wrap td:first-child { font-weight: 500; color: var(--ink); }
}
