/* =============================================================================
   XSP-BASE.CSS
   XSculpt Universal WordPress Template System - Shared Base Styles
   Version: 1.0.0
   Last updated: 2026-05-13

   PURPOSE:
   Single base CSS file loaded via wp_enqueue_style for ALL XSculpt custom pages
   (bio pages, procedure pages, future page types). Contains every shared pattern
   across page types. Page-specific CSS (~300 lines per page) stays inline in
   the WordPress content field.

   WHAT IS NOT HERE:
   - Hero section layouts (50/50 bio hero vs 60/40 procedure hero)
   - Hero photo backgrounds / overlays (different per page)
   - Section-specific layouts unique to one page type
   - @import url() for Google Fonts (loaded via wp_enqueue_style in functions.php)
   - scroll-behavior: smooth on html (handled by JS)
   - Bare global resets (*, html, body, img, a) -- everything scoped to .xsp-page

   FONT LOADING:
   Anton and Roboto are enqueued in functions.php via wp_enqueue_style.
   Do not add @import url() statements to this file.

   CSS LOAD ORDER:
   1. This file (xsp-base.css) via wp_enqueue_style
   2. Page-specific inline <style> in the WordPress content field
   ============================================================================= */


/* =============================================================================
   1. ISOLATION BLOCK
   Scopes all styles to .xsp-page wrapper. Prevents Astra/WordPress theme
   bleed-through. This block MUST remain first.
   ============================================================================= */

.xsp-page,
.xsp-page *,
.xsp-page *::before,
.xsp-page *::after {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
}

.xsp-page {
  font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #3A3A3A !important;
  -webkit-font-smoothing: antialiased !important;
}

.xsp-page img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

.xsp-page a {
  color: inherit;
  text-decoration: none;
  font-size: inherit !important;
}


/* =============================================================================
   2. ASTRA / WORDPRESS THEME OVERRIDES
   Neutralizes Astra theme container constraints and spacing so .xsp-page
   sections can run full-width.
   ============================================================================= */

.entry-content.clear {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ast-article-single {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

#main.site-main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.ast-container {
  max-width: none !important;
  padding: 0 !important;
}


/* =============================================================================
   3. HEADING, PARAGRAPH, AND LIST RESETS
   Scoped resets that override Astra's default heading/paragraph margins.
   ============================================================================= */

.xsp-page h1, .xsp-page h2, .xsp-page h3,
.xsp-page h4, .xsp-page h5, .xsp-page h6 {
  font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1 !important;
}

.xsp-page p {
  margin: 0 !important;
  padding: 0 !important;
}

.xsp-page ul, .xsp-page ol {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.xsp-page button {
  font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
}


/* =============================================================================
   4. GLOBAL UTILITIES
   Container, section backgrounds, eyebrows, typography helpers.
   ============================================================================= */

.xsp-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.xsp-section {
  padding: 80px 0;
}

.xsp-section--dark {
  background-color: #121212;
  color: #DBD9D8;
}

.xsp-section--black {
  background-color: #121212;
  color: #DBD9D8;
}

.xsp-section--light {
  background-color: #FFFFFF;
  color: #3A3A3A;
}

.xsp-section--alt {
  background-color: #F5F5F5;
  color: #3A3A3A;
}

.xsp-eyebrow {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F15A29;
  margin-bottom: 20px !important;
  text-align: center;
}

.xsp-page .xsp-eyebrow {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F15A29;
  margin-bottom: 20px !important;
  text-align: center;
}

.xsp-h2 {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 40px !important;
  text-align: center;
}

.xsp-h2--light {
  color: #DBD9D8;
}

.xsp-h2--dark {
  color: #000000;
}

.xsp-body-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.xsp-body-text--muted {
  color: #AEAEAE;
}

.xsp-num {
  color: #F15A29;
}


/* =============================================================================
   5. ORANGE HYPERLINKS
   Orange color for body-content links. Excludes buttons, nav links, pricing
   CTAs, phone links, and sticky CTA elements.
   ============================================================================= */

.xsp-section a:not(.xsp-btn):not(.xsp-nav__link):not(.xsp-pricing__cta),
.xsp-hero a:not(.xsp-btn):not(.xsp-nav__link),
.xsp-recovery a:not(.xsp-btn),
.xsp-pricing a:not(.xsp-btn):not(.xsp-pricing__cta),
.xsp-gallery-panels a:not(.xsp-btn),
.xsp-gallery-grid a:not(.xsp-btn),
.xsp-mid-cta a:not(.xsp-btn),
.xsp-surgeon-section a:not(.xsp-btn),
.xsp-disclaimer a {
  color: #F15A29;
  text-decoration: none;
}

.xsp-section a:not(.xsp-btn):not(.xsp-nav__link):not(.xsp-pricing__cta):hover,
.xsp-hero a:not(.xsp-btn):not(.xsp-nav__link):hover,
.xsp-recovery a:not(.xsp-btn):hover,
.xsp-pricing a:not(.xsp-btn):not(.xsp-pricing__cta):hover,
.xsp-gallery-panels a:not(.xsp-btn):hover,
.xsp-gallery-grid a:not(.xsp-btn):hover,
.xsp-mid-cta a:not(.xsp-btn):hover,
.xsp-surgeon-section a:not(.xsp-btn):hover,
.xsp-disclaimer a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}


/* =============================================================================
   6. BUTTON SYSTEM
   Primary, ghost, outline-orange, and white button variants with hover states.
   Sharp corners (border-radius: 0px) per brand guidelines.
   ============================================================================= */

.xsp-btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  border-radius: 0px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.xsp-btn:hover {
  transform: translateY(-1px);
}

.xsp-btn:active {
  transform: translateY(0);
}

.xsp-btn--primary {
  background-color: #F15A29 !important;
  color: #000000 !important;
  border: 2px solid #F15A29 !important;
}

.xsp-btn--primary:hover {
  background-color: #F34700 !important;
  border-color: #F34700 !important;
  color: #000000 !important;
}

.xsp-btn--ghost {
  background-color: transparent !important;
  color: #DBD9D8 !important;
  border: 1px solid #DBD9D8 !important;
}

.xsp-btn--ghost:hover {
  background-color: #121212 !important;
  color: #F15A29 !important;
  border-color: #F15A29 !important;
}

.xsp-btn--outline-orange {
  background-color: transparent !important;
  color: #F15A29 !important;
  border: 2px solid #F15A29 !important;
}

.xsp-btn--outline-orange:hover {
  background-color: #F15A29 !important;
  color: #000000 !important;
}

.xsp-btn--white {
  background-color: #FFFFFF !important;
  color: #000000 !important;
  border: 1px solid #F3F3F3 !important;
}

.xsp-btn--white:hover {
  background-color: #000000 !important;
  color: #FF5300 !important;
  border-color: #000000 !important;
}


/* =============================================================================
   7. STICKY SECTION NAV
   Horizontal scrolling navigation bar that sticks below the site header.
   Orange top border, dark background with blur.
   ============================================================================= */

.xsp-nav {
  position: sticky;
  top: 0;
  height: auto;
  min-height: 48px;
  background: rgba(18,18,18,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99;
  border-top: 1px solid #F15A29;
  border-bottom: 1px solid #282828;
}

.xsp-nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.xsp-nav__inner::-webkit-scrollbar {
  display: none;
}

.xsp-nav__link {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #F15A29 !important;
  text-decoration: none;
  padding: 14px 16px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, font-weight 0.2s;
  flex-shrink: 0;
}

.xsp-nav__link:hover {
  color: #FFFFFF !important;
}

.xsp-nav__link--active {
  color: #F15A29;
  font-weight: 700;
  border-bottom-color: #F15A29;
}

.xsp-nav__link--cta {
  color: #F15A29;
  margin-left: auto;
}

.xsp-nav__link--cta:hover {
  color: #F34700;
}

.xsp-nav__link--cta.xsp-nav__link--active {
  color: #F15A29;
  border-bottom-color: #F15A29;
}


/* =============================================================================
   8. MOBILE STICKY CTA
   Fixed bottom bar with phone number and CTA button. Hidden on desktop,
   shown at 768px and below.
   ============================================================================= */

.xsp-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #121212;
  border-top: 1px solid #282828;
  padding: 12px 16px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.4);
}

.xsp-sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.xsp-sticky-cta__phone {
  font-size: 14px;
  font-weight: 500;
  color: #DBD9D8;
}

.xsp-sticky-cta__phone a {
  color: #DBD9D8;
}

.xsp-sticky-cta__btn {
  padding: 12px 24px;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  background: #F15A29 !important;
  color: #000000 !important;
  border-radius: 0px;
  white-space: nowrap;
}


/* =============================================================================
   9. MID-CTA STRIPS
   Dark horizontal call-to-action bands that appear between major sections.
   ============================================================================= */

.xsp-mid-cta {
  background: #121212;
  padding: 40px 0;
  border-top: 1px solid #282828;
  border-bottom: 1px solid #282828;
}

.xsp-mid-cta__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}

.xsp-mid-cta__text {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: #DBD9D8;
}


/* =============================================================================
   10. HERO SHARED ELEMENTS
   Elements shared across hero layouts. The hero grid/layout itself
   (50/50 vs 60/40) is page-specific and stays inline.
   ============================================================================= */

.xsp-hero__eyebrow {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #F15A29;
  margin-bottom: 20px;
}

.xsp-page .xsp-hero__eyebrow {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #F15A29;
  margin-bottom: 20px;
}

.xsp-hero__h1 {
  font-family: 'Anton', sans-serif;
  font-size: 52px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.xsp-hero__h1-sub {
  display: block;
  font-size: 26px;
  font-weight: 400;
  color: #AEAEAE;
  margin-top: 16px;
}

.xsp-hero__cta {
  margin-top: 60px;
  margin-bottom: 0;
}

.xsp-hero__image {
  position: relative;
  overflow: hidden;
}

/* Hero trust strip (procedure pages) */
.xsp-hero__trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 44px;
}

.xsp-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #DBD9D8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.xsp-hero__trust-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.xsp-hero__trust-icon svg {
  width: 100%;
  height: 100%;
  fill: #F15A29;
}

/* Hero subheadline (procedure pages) */
.xsp-page .xsp-hero__subheadline {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  color: #AEAEAE;
  margin-bottom: 40px;
  max-width: 620px;
  text-align: left;
}

/* Hero review snippet (procedure pages) */
.xsp-hero__review {
  border-top: 1px solid #282828;
  padding-top: 24px;
  max-width: 480px;
}

.xsp-hero__review-stars {
  color: #F15A29;
  font-size: 16px;
  margin-bottom: 12px !important;
  letter-spacing: 2px;
}

.xsp-page .xsp-hero__review-text {
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  color: #DBD9D8;
  line-height: 1.5;
  margin-bottom: 12px !important;
}

.xsp-hero__review-name {
  font-size: 13px;
  font-weight: 500;
  color: #7A7A7A;
}


/* =============================================================================
   11. TRUST BAR
   Horizontal logo strip below the hero showing media/credential logos.
   ============================================================================= */

.xsp-trust-bar {
  background: #FFFFFF;
  border-top: 1px solid #EDEDED;
  border-bottom: 1px solid #EDEDED;
  padding: 24px 20px;
  overflow: hidden;
}

.xsp-trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.xsp-trust-bar__logo {
  height: 48px;
  width: auto;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.xsp-trust-bar__logo:hover {
  opacity: 0.8;
}


/* =============================================================================
   12. PROBLEM SECTION
   Two-column layout: text content left, image with quote overlay right.
   ============================================================================= */

.xsp-problem {
  background: #FFFFFF;
}

.xsp-problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.xsp-problem__content {
  color: #3A3A3A;
}

.xsp-problem .xsp-eyebrow,
.xsp-problem .xsp-h2,
.xsp-problem .xsp-problem__body {
  text-align: left;
}

.xsp-problem__body {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 28px !important;
  color: #3A3A3A;
}

.xsp-page .xsp-problem__body {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 28px !important;
  color: #3A3A3A;
}

.xsp-problem__image-col {
  position: relative;
}

.xsp-problem__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border: 3px solid #F15A29;
}

.xsp-problem__quote {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  padding: 24px 28px;
  margin: 0;
  border-left: 4px solid #F15A29;
}

.xsp-problem__quote p {
  font-size: 16px;
  line-height: 1.6;
  color: #EDEDED;
  font-style: italic;
  margin: 0 !important;
}


/* =============================================================================
   13. SOLUTION SECTION
   Full-width dark section with background image, overlay, technique list,
   and optional video embed.
   ============================================================================= */

.xsp-solution {
  position: relative;
  overflow: hidden;
}

.xsp-solution__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.xsp-solution__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 1;
}

.xsp-solution__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.xsp-solution__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.xsp-solution__grid .xsp-eyebrow,
.xsp-solution__grid .xsp-h2 {
  text-align: left;
}

.xsp-solution__content .xsp-eyebrow,
.xsp-solution__content .xsp-h2 {
  text-align: left;
}

.xsp-solution__body {
  font-size: 18px;
  line-height: 1.7;
  color: #AEAEAE;
  margin-bottom: 32px !important;
}

.xsp-page .xsp-solution__body {
  font-size: 18px;
  line-height: 1.7;
  color: #AEAEAE;
  margin-bottom: 32px !important;
}

.xsp-solution__techniques {
  list-style: none;
}

.xsp-solution__techniques li {
  font-size: 19px;
  font-weight: 500;
  color: #DBD9D8;
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.xsp-solution__techniques li:last-child {
  border-bottom: none;
}

.xsp-solution__techniques li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  border: 2px solid #F15A29;
  background: transparent;
}

.xsp-solution__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 3px solid #F15A29;
}

.xsp-solution__video-wrap {
  margin-top: 48px;
}

.xsp-solution__video-label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F15A29;
  margin-bottom: 16px;
}

.xsp-page .xsp-solution__video-label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F15A29;
  margin-bottom: 16px;
}

.xsp-solution__video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #121212;
}

.xsp-solution__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* =============================================================================
   14. DIFFERENTIATORS
   Two-column layout: narrative text left, numbered differentiator list right
   with optional background image and overlay.
   ============================================================================= */

.xsp-diff__grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 60px;
  align-items: start;
}

.xsp-diff__left {
  padding-right: 20px;
}

.xsp-diff__left .xsp-eyebrow,
.xsp-diff__left .xsp-h2 {
  text-align: left;
}

.xsp-diff__narrative {
  font-size: 17px;
  line-height: 1.7;
  color: #AEAEAE;
  margin-bottom: 36px !important;
}

.xsp-page .xsp-diff__narrative {
  font-size: 17px;
  line-height: 1.7;
  color: #AEAEAE;
  margin-bottom: 36px !important;
}

.xsp-diff__accent {
  width: 40px;
  height: 3px;
  background: #F15A29;
  margin-top: 32px;
}

.xsp-diff__section {
  position: relative;
  overflow: hidden;
}

.xsp-diff__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1;
}

.xsp-diff__section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
  z-index: 1;
}

.xsp-diff__list {
  list-style: none;
}

.xsp-diff__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: none;
  align-items: start;
}

.xsp-diff__item:first-child {
  padding-top: 0;
}

.xsp-diff__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.xsp-diff__item-number {
  font-family: 'Roboto', sans-serif;
  font-size: 72px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: rgba(241, 90, 41, 0.75);
  flex-shrink: 0;
  min-width: 80px;
}

.xsp-diff__item-content {
  flex: 1;
}

.xsp-diff__item-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #DBD9D8;
  margin-bottom: 12px !important;
}

.xsp-page .xsp-diff__item-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #DBD9D8;
  margin-bottom: 12px !important;
}

.xsp-diff__item-desc {
  font-size: 14px;
  font-weight: 400;
  color: #AEAEAE;
  line-height: 1.5;
}

/* Legacy thumbnail layout variant (bio pages) */
.xsp-diff__item-thumb {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}


/* =============================================================================
   15. B/A GALLERY - PANEL SLIDER
   Full-width horizontal scrolling before/after gallery with overlay labels.
   ============================================================================= */

.xsp-gallery-panels {
  background: #121212;
  padding: 80px 0 0 0;
  overflow: hidden;
}

.xsp-gallery-panels__header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
  text-align: center;
}

.xsp-gallery-panels__slider {
  display: flex;
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.xsp-gallery-panels__slider::-webkit-scrollbar {
  display: none;
}

.xsp-gallery-panels__panel {
  flex: 0 0 50%;
  position: relative;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  overflow: hidden;
  scroll-snap-align: start;
}

.xsp-gallery-panels__panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.xsp-gallery-panels__panel-title {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  z-index: 2;
  max-width: 60%;
  line-height: 1.3;
}

.xsp-gallery-panels__panel-label {
  position: absolute;
  bottom: 30px;
  left: 30px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.7);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  z-index: 2;
}

.xsp-gallery-panels__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(241, 90, 41, 0.7);
  border: 1px solid rgba(241, 90, 41, 0.9);
  color: #FFFFFF;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border-radius: 0px;
  transition: background 0.2s ease;
}

.xsp-gallery-panels__nav:hover {
  background: rgba(241, 90, 41, 0.9);
}

.xsp-gallery-panels__nav--prev {
  left: 20px;
}

.xsp-gallery-panels__nav--next {
  right: 20px;
}

.xsp-gallery-panels__disclaimer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px 0 20px;
  font-size: 12px;
  font-style: italic;
  color: #7A7A7A;
  text-align: center;
}

.xsp-gallery-panels__counter {
  text-align: center;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #7A7A7A;
  margin-top: 20px;
}

.xsp-gallery-panels__counter-current {
  color: #F15A29;
  font-weight: 700;
}

.xsp-gallery-panels__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.xsp-gallery-panels__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.xsp-gallery-panels__dot--active {
  background: #F15A29;
  border-color: #F15A29;
  transform: scale(1.2);
}


/* =============================================================================
   16. B/A GALLERY - COMPARISON GRID
   Three-column card grid with side-by-side before/after images and captions.
   ============================================================================= */

.xsp-gallery-grid {
  background: #FFFFFF;
  padding: 60px 0 80px 0;
}

.xsp-gallery-grid__cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.xsp-gallery-grid__card {
  border: 1px solid #ededed;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.xsp-gallery-grid__card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.xsp-gallery-grid__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.xsp-gallery-grid__img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.xsp-gallery-grid__img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  max-height: 400px;
}

.xsp-gallery-grid__img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  padding: 4px;
}

.xsp-gallery-grid__caption {
  padding: 12px 16px;
  background: #FFFFFF;
}

.xsp-gallery-grid__grade {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 4px;
}

.xsp-page .xsp-gallery-grid__grade {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 4px;
}

.xsp-gallery-grid__desc {
  font-size: 13px;
  color: #7A7A7A;
  line-height: 1.4;
}

.xsp-gallery-grid__cta {
  text-align: center;
  margin-top: 40px;
}

.xsp-gallery-grid__cta a {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #F15A29;
  border-bottom: 2px solid #F15A29;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.xsp-gallery-grid__cta a:hover {
  color: #F34700;
  border-color: #F34700;
}


/* =============================================================================
   17. RECOVERY TIMELINE
   Dark section with background image, numbered recovery steps.
   ============================================================================= */

.xsp-recovery {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.xsp-recovery__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.xsp-recovery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.xsp-recovery__content {
  position: relative;
  z-index: 2;
}

.xsp-recovery__steps {
  margin-top: 48px;
  max-width: 800px;
}

.xsp-recovery__step {
  display: flex;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  align-items: flex-start;
}

.xsp-recovery__step:last-child {
  border-bottom: none;
}

.xsp-recovery__step-number {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 80px;
  font-style: italic;
  line-height: 1;
  color: rgba(255,255,255,0.15);
  flex-shrink: 0;
  min-width: 80px;
}

.xsp-recovery__step--highlight .xsp-recovery__step-number {
  color: #F15A29;
}

.xsp-recovery__step-content {
  padding-top: 16px;
}

.xsp-recovery__step-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.xsp-page .xsp-recovery__step-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.xsp-recovery__step--highlight .xsp-recovery__step-title {
  color: #FFFFFF;
}

.xsp-recovery__step-desc {
  font-size: 15px;
  font-weight: 300;
  color: #AEAEAE;
  line-height: 1.5;
}


/* =============================================================================
   18. PRICING SECTION
   Three-column pricing card layout with featured card, badges, feature lists.
   ============================================================================= */

.xsp-pricing {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #121212;
  color: #DBD9D8;
  padding: 80px 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.xsp-pricing__header {
  text-align: center;
  margin-bottom: 48px;
}

.xsp-pricing__eyebrow {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F15A29;
  margin-bottom: 12px;
}

.xsp-page .xsp-pricing__eyebrow {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F15A29;
  margin-bottom: 12px;
}

.xsp-pricing__title {
  font-size: 48px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  color: #DBD9D8;
  margin-bottom: 16px;
}

.xsp-pricing__subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #AEAEAE;
  line-height: 1.6;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.xsp-page .xsp-pricing__subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #AEAEAE;
  line-height: 1.6;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.xsp-pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.xsp-pricing__card {
  background-color: #111111;
  border: 1px solid #282828;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.xsp-pricing__card--featured {
  background-color: #121212;
  border: 2px solid #F15A29;
  transform: scaleY(1.02);
  z-index: 2;
  padding: 48px 32px 40px;
}

.xsp-pricing__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #F15A29;
  color: #000000;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 20px;
  white-space: nowrap;
}

.xsp-pricing__card-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: 2px;
  color: #DBD9D8;
  margin-bottom: 16px;
}

.xsp-pricing__card--featured .xsp-pricing__card-name {
  font-size: 32px;
}

.xsp-pricing__reg {
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  display: inline-block;
  vertical-align: baseline;
  position: relative;
  top: -15px;
  margin-left: 5px;
}

.xsp-pricing__card-desc {
  font-size: 14px;
  font-weight: 400;
  color: #AEAEAE;
  line-height: 1.5;
  margin-bottom: 28px;
  min-height: 42px;
}

.xsp-page .xsp-pricing__card-desc {
  font-size: 14px;
  font-weight: 400;
  color: #AEAEAE;
  line-height: 1.5;
  margin-bottom: 28px;
  min-height: 42px;
}

.xsp-pricing__ideal {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7A7A7A;
  margin-bottom: 16px;
}

.xsp-page .xsp-pricing__ideal {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7A7A7A;
  margin-bottom: 16px;
}

.xsp-pricing__card--featured .xsp-pricing__ideal {
  color: #F15A29;
}

.xsp-pricing__price {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #282828;
}

.xsp-pricing__price-amount {
  font-size: 36px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  color: #DBD9D8;
}

.xsp-pricing__card--featured .xsp-pricing__price-amount {
  color: #F15A29;
  font-size: 40px;
}

.xsp-pricing__starts-at {
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: #AEAEAE;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.xsp-pricing__price-amount .xsp-pricing__asterisk {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  display: inline-block;
  vertical-align: baseline;
  position: relative;
  top: -19px;
  margin-left: 4px;
}

.xsp-pricing__price-note {
  font-size: 13px;
  font-weight: 400;
  color: #AEAEAE;
  margin-top: 6px;
  line-height: 1.4;
}

.xsp-page .xsp-pricing__price-note {
  font-size: 13px;
  font-weight: 400;
  color: #AEAEAE;
  margin-top: 6px;
  line-height: 1.4;
}

.xsp-pricing__features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.xsp-pricing__features li {
  font-size: 15px;
  font-weight: 400;
  color: #DBD9D8;
  line-height: 1.5;
  padding: 10px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid rgba(40, 40, 40, 0.6);
}

.xsp-pricing__features li:last-child {
  border-bottom: none;
}

.xsp-pricing__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 10px;
  border: 2px solid #F15A29;
  background: transparent;
}

.xsp-pricing__card--featured .xsp-pricing__features li::before {
  background: #F15A29;
}

.xsp-pricing__best-for {
  font-size: 15px;
  font-weight: 400;
  color: #DBD9D8;
  line-height: 1.5;
  margin-bottom: 28px;
  font-style: italic;
  background: #121212;
  border: 2px solid #F15A29;
  padding: 14px 18px;
  border-radius: 4px;
}

.xsp-page .xsp-pricing__best-for {
  font-size: 15px;
  font-weight: 400;
  color: #DBD9D8;
  line-height: 1.5;
  margin-bottom: 28px;
  font-style: italic;
  background: #121212;
  border: 2px solid #F15A29;
  padding: 14px 18px;
  border-radius: 4px;
}

.xsp-pricing__card--featured .xsp-pricing__best-for {
  border-width: 2px;
}

.xsp-pricing__best-for strong {
  color: #F15A29;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

.xsp-pricing__cta {
  display: block;
  width: 100%;
  padding: 16px 24px;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid #DBD9D8 !important;
  background-color: transparent !important;
  color: #DBD9D8 !important;
  border-radius: 0px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.xsp-pricing__cta:hover {
  background-color: #121212 !important;
  color: #F15A29 !important;
  border-color: #F15A29 !important;
}

.xsp-pricing__card--featured .xsp-pricing__cta {
  background-color: #F15A29 !important;
  color: #000000 !important;
  border-color: #F15A29 !important;
}

.xsp-pricing__card--featured .xsp-pricing__cta:hover {
  background-color: #F34700 !important;
  border-color: #F34700 !important;
  color: #000000 !important;
}

.xsp-pricing__footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #282828;
}

.xsp-pricing__footer p {
  font-size: 14px;
  font-weight: 400;
  color: #AEAEAE;
  line-height: 1.6;
  margin-bottom: 6px;
}

.xsp-pricing__disclaimer {
  font-size: 12px;
  font-weight: 400;
  color: #7A7A7A;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 16px !important;
  font-style: italic;
  text-align: center;
}

.xsp-page .xsp-pricing__disclaimer {
  font-size: 12px;
  font-weight: 400;
  color: #7A7A7A;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 16px !important;
  font-style: italic;
  text-align: center;
}

.xsp-pricing__footer a {
  color: #F15A29;
  text-decoration: none;
}

.xsp-pricing__footer a:hover {
  text-decoration: underline;
}


/* =============================================================================
   19. CONSULTATION PROCESS
   Three-column step cards with large italic numbers.
   ============================================================================= */

.xsp-consult__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}

.xsp-consult__step {
  text-align: center;
  padding: 32px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.xsp-consult__step:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.xsp-consult__step-number {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 56px;
  font-style: italic;
  color: rgba(0,0,0,0.08);
  line-height: 1;
  margin-bottom: 16px;
}

.xsp-page .xsp-consult__step-number {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 56px;
  font-style: italic;
  color: rgba(0,0,0,0.08);
  line-height: 1;
  margin-bottom: 16px;
}

.xsp-consult__step-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 12px;
}

.xsp-page .xsp-consult__step-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 12px;
}

.xsp-consult__step-desc {
  font-size: 15px;
  color: #3A3A3A;
  line-height: 1.6;
  margin-top: 0 !important;
}

.xsp-page .xsp-consult__step-desc {
  font-size: 15px;
  color: #3A3A3A;
  line-height: 1.6;
  margin-top: 0 !important;
}

.xsp-consult__reassurance {
  text-align: center;
  margin-top: 48px !important;
  font-size: 15px;
  color: #7A7A7A;
  font-style: italic;
}

.xsp-page .xsp-consult__reassurance {
  text-align: center;
  margin-top: 48px !important;
  font-size: 15px;
  color: #7A7A7A;
  font-style: italic;
}


/* =============================================================================
   20. SURGEON TRUST CARDS
   Dark split-panel layout for surgeon bios with photo and text side-by-side.
   Supports reversed layout for alternating panels.
   ============================================================================= */

.xsp-surgeon-section {
  background: #121212;
  padding: 80px 0;
}

.xsp-surgeon-section .xsp-section-title {
  color: #DBD9D8;
}

.xsp-surgeon-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.xsp-surgeon-block--reverse {
  direction: rtl;
}

.xsp-surgeon-block--reverse > * {
  direction: ltr;
}

.xsp-surgeon-block + .xsp-surgeon-block {
  border-top: 1px solid #282828;
}

.xsp-surgeon-text {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.xsp-surgeon-accent {
  width: 40px;
  height: 3px;
  background: #F15A29;
  margin-bottom: 24px;
}

.xsp-surgeon-credentials {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #AEAEAE;
  margin-bottom: 12px;
}

.xsp-page .xsp-surgeon-credentials {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F15A29;
  margin-bottom: 16px;
}

.xsp-surgeon-name {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.xsp-surgeon-bio {
  font-size: 16px;
  font-weight: 400;
  color: #AEAEAE;
  line-height: 1.7;
  margin-bottom: 36px !important;
}

.xsp-page .xsp-surgeon-bio {
  font-size: 16px;
  font-weight: 400;
  color: #AEAEAE;
  line-height: 1.7;
  margin-bottom: 36px !important;
}

.xsp-surgeon-logos {
  margin-top: 8px;
}

.xsp-surgeon-bio-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  border: 2px solid #F15A29;
  background: transparent;
  padding: 14px 32px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.xsp-surgeon-bio-btn:hover {
  background: #F15A29;
  color: #FFFFFF;
}

.xsp-surgeon-photo {
  position: relative;
  overflow: hidden;
}

.xsp-surgeon-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.xsp-surgeon-photo-overlay {
  position: absolute;
  inset: 0;
}

.xsp-surgeon-block:not(.xsp-surgeon-block--reverse) .xsp-surgeon-photo-overlay {
  background: linear-gradient(to right, rgba(26,26,26,0.3) 0%, transparent 50%);
}

.xsp-surgeon-block--reverse .xsp-surgeon-photo-overlay {
  background: linear-gradient(to left, rgba(26,26,26,0.3) 0%, transparent 50%);
}


/* =============================================================================
   21. PATIENT REVIEWS
   Two-column card grid with star ratings, review text, and attribution.
   ============================================================================= */

.xsp-reviews {
  background-color: #FFFFFF;
  padding: 80px 0;
}

.xsp-reviews__header {
  text-align: center;
  margin-bottom: 48px;
}

.xsp-reviews__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.xsp-reviews__card {
  background: #121212;
  border: none;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-left: 3px solid transparent;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.xsp-reviews__card:hover {
  border-left: 3px solid #F15A29;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.xsp-reviews__stars {
  color: #F15A29;
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.xsp-reviews__text {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: #DBD9D8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.xsp-page .xsp-reviews__text {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: #DBD9D8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.xsp-reviews__name {
  font-size: 14px;
  font-weight: 600;
  color: #AEAEAE;
  margin-bottom: 4px;
}

.xsp-page .xsp-reviews__name {
  font-size: 14px;
  font-weight: 600;
  color: #AEAEAE;
  margin-bottom: 4px;
}

.xsp-reviews__source {
  font-size: 12px;
  font-weight: 400;
  color: #7A7A7A;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.xsp-reviews__disclaimer {
  text-align: center;
  margin-top: 32px;
  font-size: 12px;
  font-style: italic;
  color: #7A7A7A;
}

.xsp-page .xsp-reviews__disclaimer {
  text-align: center;
  margin-top: 32px;
  font-size: 12px;
  font-style: italic;
  color: #7A7A7A;
}


/* =============================================================================
   22. FAQ ACCORDION
   Expandable question/answer pairs with + icon rotation.
   ============================================================================= */

.xsp-faq__list {
  max-width: 800px;
  margin: 48px auto 0 auto;
}

.xsp-faq__item {
  border-bottom: 1px solid #282828;
}

.xsp-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  color: #F15A29;
  text-align: left;
  width: 100%;
  background: none;
  border: none;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.xsp-faq__question:hover {
  color: #F34700;
}

.xsp-faq__item.active .xsp-faq__question {
  color: #F15A29;
}

.xsp-faq__icon {
  font-size: 24px;
  font-weight: 300;
  color: #F15A29;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s ease;
}

.xsp-faq__item.active .xsp-faq__icon {
  transform: rotate(45deg);
}

.xsp-faq__answer {
  max-height: 500px;
  transition: max-height 0.3s ease;
}

.xsp-faq__answer-inner {
  padding: 0 0 24px 0;
}

.xsp-faq__answer-bold {
  font-size: 16px;
  font-weight: 600;
  color: #DBD9D8;
  margin-bottom: 12px !important;
  line-height: 1.5;
}

.xsp-page .xsp-faq__answer-bold {
  font-size: 16px;
  font-weight: 600;
  color: #DBD9D8;
  margin-bottom: 12px !important;
  line-height: 1.5;
}

.xsp-faq__answer-detail {
  font-size: 15px;
  font-weight: 400;
  color: #AEAEAE;
  line-height: 1.6;
  margin-top: 8px !important;
}

.xsp-page .xsp-faq__answer-detail {
  font-size: 15px;
  font-weight: 400;
  color: #AEAEAE;
  line-height: 1.6;
  margin-top: 8px !important;
}


/* =============================================================================
   23. GRADES / EDUCATION SECTION
   Educational content about gynecomastia grades with cards, cause lists,
   and symptom boxes.
   ============================================================================= */

.xsp-grades__intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 60px;
}

.xsp-grades__intro-body {
  font-size: 18px;
  line-height: 1.6;
  color: #3A3A3A;
  margin-bottom: 16px !important;
}

.xsp-page .xsp-grades__intro-body {
  font-size: 18px;
  line-height: 1.6;
  color: #3A3A3A;
  margin-bottom: 16px !important;
}

.xsp-grades__causes-title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 24px !important;
  margin-top: 32px !important;
}

.xsp-grades__causes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.xsp-grades__cause-item {
  font-size: 16px;
  color: #3A3A3A;
  padding: 12px 0;
  border-bottom: 1px solid #EDEDED;
}

.xsp-grades__cause-item a {
  color: #F15A29;
}

.xsp-grades__causes-box {
  background: #121212;
  border: 2px solid #F15A29;
  padding: 28px 32px;
}

.xsp-grades__causes-box-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #F15A29;
  margin-bottom: 16px !important;
  letter-spacing: 1px;
}

.xsp-page .xsp-grades__causes-box-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #F15A29;
  margin-bottom: 16px !important;
  letter-spacing: 1px;
}

.xsp-grades__causes-list {
  list-style: none;
  padding: 0;
  margin: 0 !important;
}

.xsp-grades__causes-list li {
  font-size: 15px;
  color: #DBD9D8;
  line-height: 1.5;
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.xsp-grades__causes-list li:last-child {
  border-bottom: none;
}

.xsp-grades__causes-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: #F15A29;
}

.xsp-grades__causes-list li a {
  color: #F15A29;
}

.xsp-grades__symptoms-box {
  background: #121212;
  border: 2px solid #F15A29;
  padding: 28px 32px;
  margin-top: 8px;
}

.xsp-grades__symptoms-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #F15A29;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.xsp-page .xsp-grades__symptoms-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #F15A29;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.xsp-grades__symptoms-text {
  font-size: 16px;
  line-height: 1.6;
  color: #DBD9D8;
  margin-bottom: 0 !important;
}

.xsp-page .xsp-grades__symptoms-text {
  font-size: 16px;
  line-height: 1.6;
  color: #DBD9D8;
  margin-bottom: 0 !important;
}

.xsp-grades__symptoms-list {
  list-style: none;
  padding: 0;
  margin: 0 !important;
}

.xsp-grades__symptoms-list li {
  font-size: 15px;
  color: #DBD9D8;
  line-height: 1.5;
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.xsp-grades__symptoms-list li:last-child {
  border-bottom: none;
}

.xsp-grades__symptoms-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: #F15A29;
}

.xsp-grades__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.xsp-grades__card {
  background: #FFFFFF;
  border: 1px solid #EDEDED;
  padding: 32px 24px;
  position: relative;
}

.xsp-grades__card-grade {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F15A29;
  margin-bottom: 8px !important;
}

.xsp-page .xsp-grades__card-grade {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F15A29;
  margin-bottom: 8px !important;
}

.xsp-grades__card-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px !important;
}

.xsp-page .xsp-grades__card-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px !important;
}

.xsp-grades__card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #4B4F58;
  margin-bottom: 0 !important;
}

.xsp-page .xsp-grades__card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #4B4F58;
  margin-bottom: 0 !important;
}

.xsp-grades__card-weight {
  font-size: 13px;
  font-weight: 500;
  color: #AEAEAE;
  margin-top: 16px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.xsp-page .xsp-grades__card-weight {
  font-size: 13px;
  font-weight: 500;
  color: #AEAEAE;
  margin-top: 16px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.xsp-grades__cta {
  text-align: center;
  margin-top: 48px;
}

.xsp-grades__cta-text {
  font-size: 16px;
  color: #4B4F58;
  margin-top: 12px !important;
}

.xsp-page .xsp-grades__cta-text {
  font-size: 16px;
  color: #4B4F58;
  margin-top: 12px !important;
}


/* =============================================================================
   24. VIDEO EMBED
   Responsive 16:9 video container with optional caption.
   ============================================================================= */

.xsp-video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #121212;
  max-width: 800px;
  margin: 0 auto;
}

.xsp-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.xsp-video-caption {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: #7A7A7A;
  margin-top: 20px !important;
  font-style: italic;
}


/* =============================================================================
   25. FINAL CTA SECTION
   Full-width dark call-to-action with heading, subtext, button, phone, and
   optional pull quote.
   ============================================================================= */

.xsp-final-cta {
  text-align: center;
  padding: 100px 20px;
  background: #121212;
  position: relative;
}

.xsp-final-cta__accent {
  width: 60px;
  height: 4px;
  background: #F15A29;
  margin: 0 auto 36px auto;
}

.xsp-final-cta__heading {
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 32px !important;
}

.xsp-final-cta__sub {
  font-size: 18px;
  font-weight: 300;
  color: #AEAEAE;
  margin-bottom: 48px !important;
}

.xsp-page .xsp-final-cta__sub {
  font-size: 18px;
  font-weight: 300;
  color: #AEAEAE;
  margin-bottom: 48px !important;
}

.xsp-final-cta__btn {
  margin-bottom: 28px;
}

.xsp-final-cta__phone {
  font-size: 16px;
  color: #7A7A7A;
}

.xsp-final-cta__phone a {
  color: #AEAEAE;
  border-bottom: 1px solid #282828;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.xsp-final-cta__phone a:hover {
  color: #F15A29;
  border-color: #F15A29;
}

.xsp-final-cta__quote {
  font-size: 26px;
  font-weight: 500;
  font-style: italic;
  color: #DBD9D8;
  margin-top: 40px !important;
  margin-bottom: 48px !important;
  padding: 32px 0;
  border-top: 1px solid #282828;
  border-bottom: 1px solid #282828;
  max-width: 720px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
  line-height: 1.4;
}

.xsp-page .xsp-final-cta__quote {
  font-size: 26px;
  font-weight: 500;
  font-style: italic;
  color: #DBD9D8;
  margin-top: 40px !important;
  margin-bottom: 48px !important;
  padding: 32px 0;
  border-top: 1px solid #282828;
  border-bottom: 1px solid #282828;
  max-width: 720px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
  line-height: 1.4;
}


/* =============================================================================
   26. MEDICAL DISCLAIMER
   Small-print legal text at the bottom of every page.
   ============================================================================= */

.xsp-disclaimer {
  background: #121212;
  padding: 40px 0;
  border-top: 1px solid #282828;
}

.xsp-disclaimer__text {
  font-size: 12px;
  color: #7A7A7A;
  line-height: 1.7;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.xsp-page .xsp-disclaimer__text {
  font-size: 12px;
  color: #7A7A7A;
  line-height: 1.7;
  text-align: center;
  max-width: 700px;
  margin: 0 auto !important;
}

.xsp-disclaimer__byline {
  font-size: 12px;
  color: #7A7A7A;
  text-align: center;
  margin-bottom: 8px;
}

.xsp-page .xsp-disclaimer__byline {
  font-size: 12px;
  color: #7A7A7A;
  text-align: center;
  margin-bottom: 8px !important;
}


/* =============================================================================
   27. SCROLL ANIMATION CLASSES
   Intersection Observer-driven entrance animations. Elements start hidden
   and offset, then transition to visible when .xsp-visible is added by JS.
   ============================================================================= */

.xsp-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.xsp-animate.xsp-visible {
  opacity: 1;
  transform: translateY(0);
}

.xsp-animate--fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.xsp-animate--fade-up.xsp-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =============================================================================
   28. RESPONSIVE: TABLET (max-width: 992px)
   ============================================================================= */

@media (max-width: 992px) {

  /* -- Utilities -- */
  .xsp-h2 {
    font-size: 34px;
  }

  /* -- Hero shared -- */
  .xsp-hero__h1 {
    font-size: 38px;
  }

  .xsp-hero__h1-sub {
    font-size: 20px;
  }

  /* -- Problem -- */
  .xsp-problem__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* -- Solution -- */
  .xsp-solution__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* -- Differentiators -- */
  .xsp-diff__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .xsp-diff__left {
    padding-right: 0;
  }

  .xsp-diff__item-number {
    font-size: 56px;
    min-width: 60px;
  }

  /* -- Grades -- */
  .xsp-grades__intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .xsp-grades__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* -- Gallery -- */
  .xsp-gallery-grid__cards {
    grid-template-columns: 1fr 1fr;
  }

  /* -- Consultation -- */
  .xsp-consult__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* -- Pricing -- */
  .xsp-pricing__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 480px;
    margin: 0 auto;
  }

  .xsp-pricing__card--featured {
    transform: none;
  }

  .xsp-pricing__title {
    font-size: 36px;
  }

  /* -- Recovery -- */
  .xsp-recovery__step-number {
    font-size: 60px;
    min-width: 60px;
  }

  /* -- Surgeon -- */
  .xsp-surgeon-name {
    font-size: 34px;
  }

  .xsp-surgeon-text {
    padding: 48px 40px;
  }

  /* -- Final CTA -- */
  .xsp-final-cta__heading {
    font-size: 34px;
  }
}


/* =============================================================================
   29. RESPONSIVE: SMALL TABLET (max-width: 768px)
   ============================================================================= */

@media (max-width: 768px) {

  /* -- Global -- */
  .xsp-page {
    line-height: 1.7 !important;
  }

  .xsp-section {
    padding: 60px 0;
  }

  .xsp-page {
    padding-bottom: 70px;
  }

  /* -- Sticky CTA shows -- */
  .xsp-sticky-cta {
    display: block;
  }

  /* -- Utilities -- */
  .xsp-h2 {
    font-size: 28px;
  }

  /* -- Hero shared -- */
  .xsp-hero__h1 {
    font-size: 32px;
  }

  .xsp-hero__h1-sub {
    font-size: 17px;
  }

  .xsp-hero__subheadline {
    font-size: 17px;
  }

  .xsp-hero__trust-strip {
    gap: 16px;
  }

  .xsp-hero__trust-item {
    font-size: 11px;
  }

  /* -- Body text margin reductions -- */
  .xsp-page .xsp-problem__body,
  .xsp-page .xsp-solution__body,
  .xsp-page .xsp-diff__narrative,
  .xsp-page .xsp-pricing__card-desc,
  .xsp-page .xsp-faq__answer-detail,
  .xsp-page .xsp-grades__intro-body {
    margin-bottom: 20px !important;
  }

  /* -- Grades -- */
  .xsp-grades__causes-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  /* -- Mid CTA -- */
  .xsp-mid-cta__inner {
    flex-direction: column;
    gap: 16px;
  }

  .xsp-mid-cta__text {
    font-size: 17px;
  }

  /* -- Gallery panels -- */
  .xsp-gallery-panels__slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .xsp-gallery-panels__panel {
    flex: 0 0 85vw;
    scroll-snap-align: start;
  }

  .xsp-gallery-panels__nav {
    display: none;
  }

  /* -- Gallery grid -- */
  .xsp-gallery-grid__cards {
    grid-template-columns: 1fr;
  }

  /* -- Reviews -- */
  .xsp-reviews__grid {
    grid-template-columns: 1fr;
  }

  /* -- Recovery -- */
  .xsp-recovery__step {
    gap: 20px;
  }

  .xsp-recovery__step-number {
    font-size: 50px;
    min-width: 50px;
  }

  /* -- Surgeon -- */
  .xsp-surgeon-block,
  .xsp-surgeon-block--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: auto;
  }

  .xsp-surgeon-block--reverse > * {
    direction: ltr;
  }

  .xsp-surgeon-photo {
    height: 350px;
    order: -1;
  }

  .xsp-surgeon-text {
    padding: 40px 20px;
  }

  .xsp-surgeon-name {
    font-size: 30px;
  }

  /* -- Trust bar -- */
  .xsp-trust-bar__inner {
    gap: 28px;
  }

  .xsp-trust-bar__logo {
    height: 36px;
  }

  /* -- Disclaimer text bump -- */
  .xsp-gallery-panels__disclaimer,
  .xsp-page .xsp-pricing__disclaimer,
  .xsp-page .xsp-reviews__disclaimer {
    font-size: 14px;
    margin-top: 32px;
    margin-bottom: 32px;
    text-align: center;
  }

  .xsp-disclaimer__text,
  .xsp-disclaimer__byline {
    font-size: 14px;
  }
}


/* =============================================================================
   30. RESPONSIVE: MOBILE (max-width: 544px)
   ============================================================================= */

@media (max-width: 544px) {

  /* -- Global -- */
  .xsp-section {
    padding: 48px 0;
  }

  .xsp-container {
    padding: 0 24px;
  }

  /* -- Utilities -- */
  .xsp-h2 {
    font-size: 26px;
  }

  /* -- Hero shared -- */
  .xsp-hero__content {
    padding: 32px 20px;
  }

  .xsp-hero__h1 {
    font-size: 28px;
  }

  .xsp-hero__h1-sub {
    font-size: 15px;
  }

  .xsp-hero__trust-strip {
    flex-direction: column;
    gap: 10px;
  }

  /* -- Buttons -- */
  .xsp-btn {
    padding: 16px 28px;
    font-size: 16px;
    width: 100%;
  }

  /* -- Differentiators -- */
  .xsp-diff__item {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .xsp-diff__item-number {
    font-size: 36px;
    min-width: 40px;
  }

  /* -- Grades -- */
  .xsp-grades__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .xsp-grades__card {
    padding: 24px 20px;
  }

  .xsp-grades__causes-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .xsp-grades__intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .xsp-grades__symptoms-box {
    padding: 20px 24px;
  }

  .xsp-grades__cta {
    margin-top: 32px;
  }

  /* -- Gallery grid -- */
  .xsp-gallery-grid__img-wrap {
    min-height: auto;
  }

  .xsp-gallery-grid__img-wrap img {
    max-height: none;
  }

  /* -- Recovery -- */
  .xsp-recovery__step {
    flex-direction: column;
    gap: 8px;
  }

  .xsp-recovery__step-number {
    font-size: 40px;
  }

  /* -- Pricing -- */
  .xsp-pricing {
    padding: 40px 16px;
  }

  .xsp-pricing__title {
    font-size: 28px;
  }

  .xsp-pricing__card {
    padding: 32px 24px;
  }

  .xsp-pricing__card--featured {
    padding: 40px 24px 32px;
  }

  .xsp-pricing__card-name {
    font-size: 24px;
    margin-bottom: 16px !important;
  }

  .xsp-pricing__card--featured .xsp-pricing__card-name {
    font-size: 28px;
  }

  .xsp-page .xsp-pricing__card-desc {
    margin-bottom: 24px !important;
  }

  .xsp-page .xsp-pricing__best-for {
    margin-bottom: 24px;
    margin-top: 8px;
  }

  .xsp-page .xsp-pricing__ideal {
    margin-bottom: 12px;
  }

  .xsp-page .xsp-pricing__price-amount {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .xsp-pricing__card--featured .xsp-pricing__price-amount {
    font-size: 32px;
  }

  .xsp-page .xsp-pricing__price-note {
    margin-bottom: 24px;
  }

  .xsp-pricing__features li {
    padding: 10px 0;
    padding-left: 24px;
  }

  /* -- Solution video -- */
  .xsp-solution__video-wrap {
    margin-top: 32px;
  }

  /* -- Problem quote -- */
  .xsp-problem__quote {
    position: relative;
    margin-top: 24px;
  }

  /* -- FAQ -- */
  .xsp-faq__question {
    font-size: 20px;
  }

  /* -- Trust bar -- */
  .xsp-trust-bar {
    padding: 20px 16px;
  }

  .xsp-trust-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    align-items: center;
    justify-items: center;
  }

  .xsp-trust-bar__logo {
    height: 36px;
    max-width: 100%;
  }

  /* -- Surgeon -- */
  .xsp-surgeon-section {
    padding: 60px 0;
  }

  .xsp-surgeon-photo {
    height: 280px;
  }

  .xsp-surgeon-photo-bg {
    background-size: cover;
    background-position: center 25%;
  }

  .xsp-surgeon-name {
    font-size: 26px;
  }

  .xsp-surgeon-bio {
    font-size: 15px;
  }

  /* -- Final CTA -- */
  .xsp-final-cta {
    padding: 60px 20px 100px 20px;
  }

  .xsp-final-cta__heading {
    font-size: 26px;
    margin-bottom: 24px !important;
  }

  .xsp-page .xsp-final-cta__sub {
    font-size: 16px;
    margin-bottom: 24px !important;
  }

  .xsp-page .xsp-final-cta__quote {
    font-size: 18px;
    padding: 20px 0;
    margin-top: 24px !important;
    margin-bottom: 32px !important;
    line-height: 1.5;
  }

  .xsp-final-cta__phone a {
    border-bottom: none;
  }

  /* -- Disclaimers -- */
  .xsp-gallery-panels__disclaimer,
  .xsp-page .xsp-pricing__disclaimer,
  .xsp-page .xsp-reviews__disclaimer {
    font-size: 14px;
    margin-top: 32px;
    margin-bottom: 32px;
    text-align: center;
  }

  .xsp-disclaimer__text,
  .xsp-disclaimer__byline {
    font-size: 14px;
  }
}


/* =============================================================================
   31. ACCESSIBILITY
   Keyboard focus styles and reduced motion preferences.
   ============================================================================= */

.xsp-btn:focus-visible,
.xsp-nav__link:focus-visible,
.xsp-faq__question:focus-visible,
.xsp-gallery-panels__nav:focus-visible {
  outline: 2px solid #F15A29;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .xsp-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .xsp-animate--fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .xsp-page * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
