/**
 * REJŪV — SHA Wellness Luminous Clinical Luxury Design System (v2.0)
 * Canonical Stylesheet for rejuv.mx • Inspired by https://shawellness.com/es/
 *
 * DIRECTIVE:
 * Medicine is light, cleanliness, purity, and trust.
 * Strictly NO dark #050505 backgrounds and NO 3D metallic gold effects.
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=JetBrains+Mono:wght@300;400;500&family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

:root {
  /* SHA Wellness Luminous Surfaces */
  --brand-bg-white: #FFFFFF;
  --brand-bg-light: #F7F6F2;       /* Warm Mediterranean limestone / sand */
  --brand-bg-ice: #EBF2FA;         /* SHA signature soft glacier blue-white */
  --brand-bg-sage: #F1F5F3;        /* Subtle botanical clinical tint */
  --brand-bg-sage-tint: #F1F5F3;
  --brand-bg-frosted: rgba(255, 255, 255, 0.94);

  /* SHA Architectural Charcoal & Stone Typography */
  --brand-text-light: #24282B;     /* SHA primary charcoal ink */
  --brand-text-primary: #24282B;
  --brand-text-secondary: #555555; /* Editorial body copy */
  --brand-text-muted: #8E8E8E;     /* Muted captions, eyebrows & inactive states */

  /* Flat Architectural Accents & Borders (NEVER Metallic) */
  --brand-border: #E5E3DD;
  --brand-border-strong: #D0CDC4;
  --brand-accent-sand: #8C7756;    /* Flat matte warm stone */
  --brand-accent-sand-light: #EAE5DC;
  --brand-accent-clinical: #3A506B;

  /* Typography Stacks */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant Garamond', 'Didot', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Luminous Shadows (Soft, Airy, Clinical) */
  --shadow-subtle: 0 4px 20px rgba(36, 40, 43, 0.04);
  --shadow-card: 0 12px 36px rgba(36, 40, 43, 0.06);
  --shadow-elevated: 0 24px 60px rgba(36, 40, 43, 0.10);

  /* Transitions & Easing (SHA GSAP-like smooth cubic-bezier) */
  --ease-sha: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 240ms var(--ease-sha);
  --transition-smooth: 520ms var(--ease-sha);
  --transition-slow: 850ms var(--ease-sha);

  /* Layout Rhythm */
  --container-max: 1420px;
  --header-height: 84px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
}

/* ==========================================================================
   1. BASE RESET & LUMINOUS DOCUMENT DEFAULTS
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--brand-bg-white);
  color: var(--brand-text-light);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--brand-bg-white);
  color: var(--brand-text-light);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

/* Global Mobile-First SVG & Media Constraint — Prevents Hardcoded SVG Width Blowout */
img,
video,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

svg,
.rejuv-svg,
.svg-pedestal-stage svg,
#studio-svg-viewport svg,
#sanctuary-heritage-seal-slot svg,
#forensic-canonical-seal-slot svg,
#sanctuary-zafir-isotipo-slot svg,
#active-division-lockup-mini svg,
#header-corporate-logo-slot svg,
#offcanvas-logo-slot svg,
#footer-corporate-logo-slot svg {
  max-width: 100%;
  height: auto !important;
  display: block;
}

/* Prevent CSS Grid & Flex Children from Forcing Horizontal Scroll */
.sha-container > *,
.luxury-grid-2 > *,
.luxury-grid-3 > *,
.luxury-grid-5 > *,
.sha-kpi-grid > *,
.tab-links-module > *,
.carrusel-programas-track > * {
  min-width: 0;
  max-width: 100%;
}

::selection {
  background: var(--brand-bg-ice);
  color: var(--brand-text-light);
}

/* Clean Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--brand-bg-light);
}

::-webkit-scrollbar-thumb {
  background: #C9C5BC;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-accent-sand);
}

/* ==========================================================================
   2. SHA WELLNESS TYPOGRAPHY (LIGHT SANS + EDITORIAL ITALIC SERIF)
   ========================================================================== */
h1, h2, h3, h4, .sha-heading {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--brand-text-light);
  line-height: 1.18;
  letter-spacing: 0.04em;
}

/* SHA Signature Italic Emphasis inside Headings */
h1 em, h1 i,
h2 em, h2 i,
h3 em, h3 i,
.sha-heading em,
.sha-italic-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.sha-display-hero {
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.14;
}

.sha-display-hero em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  font-size: 1.08em;
}

.sha-section-title {
  font-size: clamp(1.65rem, 2.8vw, 2.65rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.22;
}

.sha-section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  font-size: 1.08em;
}

.eyebrow-institutional,
.sha-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-accent-sand);
}

.mono-clinical {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--brand-text-secondary);
}

.text-muted-editorial {
  color: var(--brand-text-secondary);
  font-weight: 300;
}

/* ==========================================================================
   3. SHA SIGNATURE `.line-title` COMPONENT
   (70px horizontal line that animates scaleX(0) -> scaleX(1) + italic subtitle)
   ========================================================================== */
.line-title {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.08rem, 1.4vw, 1.32rem);
  font-weight: 400;
  color: var(--brand-text-light);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.line-title::before {
  content: '';
  display: inline-block;
  width: 70px;
  height: 1.5px;
  background-color: currentColor;
  opacity: 0.42;
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 0.85s var(--ease-sha), width 0.5s var(--ease-sha);
  flex-shrink: 0;
}

.line-title.is-animating::before {
  transform: scaleX(0);
}

.line-title.is-visible::before {
  transform: scaleX(1);
}

/* ==========================================================================
   4. STICKY 3-ZONE HEADER (`.site-header-sha`) & QUICK DROPDOWNS
   ========================================================================== */
.site-header-sha {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2.5rem;
  background: var(--brand-bg-frosted);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--brand-border);
  color: var(--brand-text-light);
  transition:
    background-color var(--transition-smooth),
    border-color var(--transition-smooth),
    color var(--transition-smooth),
    box-shadow var(--transition-smooth),
    height var(--transition-fast);
}

/* Transparent / Frosted Hero Mode before scroll */
.site-header-sha.is-over-hero {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.site-header-sha.is-scrolled {
  background: var(--brand-bg-frosted);
  border-bottom: 1px solid var(--brand-border);
  color: var(--brand-text-light);
  box-shadow: var(--shadow-subtle);
}

.sha-header-left,
.sha-header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.sha-header-right {
  justify-content: flex-end;
}

.sha-header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* SHA 2-Line Minimalist Hamburger Button */
.sha-hamburger-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: inherit;
}

.sha-hamburger-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: currentColor;
  transition: transform var(--transition-fast), width var(--transition-fast);
}

.sha-hamburger-btn:hover span:last-child {
  width: 17px;
}

.sha-hamburger-btn.is-active span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.sha-hamburger-btn.is-active span:last-child {
  width: 24px;
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Language & SPA Quick Links in Header */
.sha-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
}

.sha-lang-switch button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity var(--transition-fast);
}

.sha-lang-switch button.is-active,
.sha-lang-switch button:hover {
  opacity: 1;
  font-weight: 500;
}

.sha-nav-pills {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: 0.5rem;
}

.sha-nav-link {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
  padding: 0.35rem 0;
  position: relative;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.sha-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--transition-fast);
}

.sha-nav-link:hover,
.sha-nav-link.is-active {
  opacity: 1;
}

.sha-nav-link:hover::after,
.sha-nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Phone & WhatsApp Quick Dropdowns in Header */
.sha-quick-dropdown {
  position: relative;
}

.sha-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.sha-icon-btn:hover {
  border-color: var(--brand-border);
  background: rgba(36, 40, 43, 0.04);
}

.sha-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 250px;
  background: var(--brand-bg-white);
  color: var(--brand-text-light);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  box-shadow: var(--shadow-elevated);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  z-index: 1020;
}

.sha-quick-dropdown:hover .sha-dropdown-panel,
.sha-quick-dropdown:focus-within .sha-dropdown-panel,
.sha-quick-dropdown.is-open .sha-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   5. SHA WELLNESS BUTTONS (`.boton.transparente.negro` & `.boton.primary`)
   ========================================================================== */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.72rem 1.45rem;
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.boton.transparente.negro,
.btn-luxury-outline {
  background: transparent;
  color: var(--brand-text-light);
  border: 1px solid var(--brand-text-light);
}

.site-header-sha.is-over-hero .boton.transparente.negro {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.75);
}

.boton.transparente.negro:hover,
.btn-luxury-outline:hover,
.btn-luxury-outline.is-active {
  background: var(--brand-text-light);
  color: var(--brand-bg-white);
  border-color: var(--brand-text-light);
}

.boton.primary,
.btn-luxury-gold {
  background: var(--brand-text-light);
  color: var(--brand-bg-white);
  border: 1px solid var(--brand-text-light);
}

.boton.primary:hover,
.btn-luxury-gold:hover {
  background: var(--brand-accent-sand);
  border-color: var(--brand-accent-sand);
  color: var(--brand-bg-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-subtle);
}

.boton.sand {
  background: var(--brand-accent-sand);
  color: var(--brand-bg-white);
  border: 1px solid var(--brand-accent-sand);
}

.boton.sand:hover {
  background: var(--brand-text-light);
  border-color: var(--brand-text-light);
}

/* ==========================================================================
   6. SLIDE-OUT MULTI-LEVEL OFF-CANVAS MENU (`.off-canvas-menu`)
   ========================================================================== */
.off-canvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(36, 40, 43, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.off-canvas-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.off-canvas-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(460px, 92vw);
  background: var(--brand-bg-white);
  border-right: 1px solid var(--brand-border);
  z-index: 1150;
  padding: 2.5rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  overflow-y: auto;
  box-shadow: var(--shadow-elevated);
}

.off-canvas-menu.is-open {
  transform: translateX(0);
}

.off-canvas-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 2rem 0;
}

.off-canvas-nav-item {
  border-bottom: 1px solid var(--brand-border);
  padding: 0.9rem 0;
}

.off-canvas-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--brand-text-light);
  cursor: pointer;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.off-canvas-nav-link:hover {
  transform: translateX(10px);
  color: var(--brand-accent-sand);
}

/* ==========================================================================
   7. SHA HORIZONTAL PROGRAM & PROTOCOL CAROUSEL (`.carrusel-programas-card`)
   ========================================================================== */
.sha-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.filter-button {
  padding: 0.55rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-text-secondary);
  background: transparent;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--brand-text-light);
  color: var(--brand-bg-white);
  border-color: var(--brand-text-light);
}

.carrusel-programas-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.75rem;
}

.carrusel-programas-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--brand-bg-light);
  border: 1px solid var(--brand-border);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.65rem;
  color: #FFFFFF;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.carrusel-programas-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.carrusel-programas-card .card-media-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 1.1s var(--ease-out-quart);
}

.carrusel-programas-card:hover .card-media-bg {
  transform: scale(1.06);
}

.carrusel-programas-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(24, 28, 32, 0.28) 0%,
    rgba(24, 28, 32, 0.12) 40%,
    rgba(24, 28, 32, 0.78) 100%
  );
  z-index: 1;
  transition: opacity var(--transition-smooth);
}

.carrusel-programas-card .card-top-badge {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.carrusel-programas-card .sha-icon-badge-40 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-subtle);
}

.carrusel-programas-card .card-bottom-content {
  position: relative;
  z-index: 2;
}

.carrusel-programas-card .card-category {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.4rem;
  display: block;
}

.carrusel-programas-card .card-title {
  font-family: var(--font-sans);
  font-size: 1.32rem;
  font-weight: 300;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 0.55rem;
}

.carrusel-programas-card .card-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* ==========================================================================
   8. SHA SPLIT-SCREEN `.tab-links-module` (THE INTEGRATIVE METHOD)
   ========================================================================== */
.tab-links-module {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: stretch;
  background: var(--brand-bg-light);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 3.5rem;
}

.tab-links-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tab-link-item {
  border-bottom: 1px solid var(--brand-border);
  padding: 1.45rem 0;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  text-align: left;
  width: 100%;
  transition: all var(--transition-smooth);
}

.tab-link-item .tab-link-heading {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--brand-text-muted);
  transition: transform var(--transition-smooth), color var(--transition-smooth);
}

.tab-link-item:hover .tab-link-heading,
.tab-link-item.is-active .tab-link-heading {
  transform: translateX(20px);
  color: var(--brand-text-light);
}

.tab-link-item.is-active .tab-link-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brand-accent-sand);
}

.tab-link-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-left: 20px;
  color: var(--brand-text-secondary);
  font-size: 0.94rem;
  transition: max-height var(--transition-smooth), opacity var(--transition-smooth), margin-top var(--transition-smooth);
}

.tab-link-item.is-active .tab-link-body {
  max-height: 340px;
  opacity: 1;
  margin-top: 0.85rem;
}

.tab-links-visual-stage {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--brand-bg-white);
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-card);
}

.tab-visual-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
  background-size: cover;
  background-position: center;
}

.tab-visual-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

/* ==========================================================================
   9. LUMINOUS CLINICAL CARDS, KPI BLOCKS & SPA VIEW CONTAINERS
   ========================================================================== */
.sha-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  background: var(--brand-bg-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.sha-kpi-item {
  border-right: 1px solid var(--brand-border);
  padding-right: 1.25rem;
}

.sha-kpi-item:last-child {
  border-right: none;
  padding-right: 0;
}

.sha-kpi-number {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 200;
  color: var(--brand-text-light);
  line-height: 1.05;
  margin-bottom: 0.45rem;
}

.sha-kpi-number span {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brand-accent-sand);
}

.luxury-glass-panel,
.sha-clinical-card {
  background: var(--brand-bg-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 2rem;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.luxury-glass-panel:hover,
.sha-clinical-card:hover {
  border-color: var(--brand-border-strong);
  box-shadow: var(--shadow-card);
}

.svg-pedestal-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--brand-bg-light);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  transition: background-color var(--transition-fast);
}

.svg-pedestal-stage.is-dark-preview {
  background: #24282B;
  color: #FFFFFF;
}

.badge-niza-class,
.sha-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-text-light);
  background: var(--brand-bg-light);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-pill);
  max-width: 100%;
}

/* SPA View Switching */
.spa-view-section {
  display: none;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  animation: shaFadeIn 0.55s var(--ease-sha) forwards;
}

.spa-view-section.is-active {
  display: block;
}

@keyframes shaFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   10. MOBILE FIXED BOTTOM BAR (`.mobile-fixed-ctas`) & RESPONSIVE UTILITIES
   ========================================================================== */
.mobile-fixed-ctas {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--brand-bg-frosted);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--brand-border);
  z-index: 1050;
  grid-template-columns: 1fr 1fr;
}

.mobile-fixed-ctas .mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.mobile-fixed-ctas .mobile-cta-contact {
  background: var(--brand-bg-white);
  color: var(--brand-text-light);
  border-right: 1px solid var(--brand-border);
}

.mobile-fixed-ctas .mobile-cta-book {
  background: var(--brand-text-light);
  color: var(--brand-bg-white);
}

/* Layout Containers & Grids */
.luxury-container,
.sha-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.luxury-section,
.sha-section {
  padding: 6rem 0;
}

.luxury-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.luxury-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.luxury-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 1120px) {
  .sha-nav-pills {
    display: none;
  }
  .tab-links-module {
    grid-template-columns: minmax(0, 1fr);
    padding: 2rem;
    gap: 2rem;
  }
  .sha-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .luxury-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .luxury-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  body {
    padding-bottom: 64px;
  }
  .site-header-sha {
    padding: 0 0.85rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.5rem;
  }
  .sha-lang-switch {
    display: none;
  }
  .sha-header-left,
  .sha-header-right {
    gap: 0.35rem;
  }
  .sha-header-center {
    min-width: 0;
    overflow: hidden;
  }
  #header-corporate-logo-slot {
    width: 100%;
    max-width: 142px;
    margin: 0 auto;
  }
  .sha-header-right .boton {
    display: none;
  }
  .sha-dropdown-panel {
    position: fixed;
    top: calc(var(--header-height) + 6px);
    left: 0.85rem;
    right: 0.85rem;
    min-width: 0;
    width: auto;
  }
  .mobile-fixed-ctas {
    display: grid;
  }
  .off-canvas-menu {
    padding: 1.5rem 1.25rem;
    width: min(360px, 88vw);
  }
  .luxury-container,
  .sha-container {
    padding: 0 1rem;
  }
  .luxury-section,
  .sha-section {
    padding: 3.25rem 0;
  }
  .line-title {
    gap: 10px;
    font-size: 1rem;
    flex-wrap: wrap;
  }
  .line-title::before {
    width: 32px;
  }
  .boton {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    padding: 0.68rem 1rem;
    max-width: 100%;
  }
  .badge-niza-class,
  .sha-pill-badge {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }
  .sha-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
    margin-bottom: 1.5rem;
    scrollbar-width: none;
  }
  .sha-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-button {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
  }
  .tab-links-module {
    padding: 1.25rem;
    gap: 1.5rem;
  }
  .tab-link-item {
    padding: 1rem 0;
  }
  .tab-link-item:hover .tab-link-heading,
  .tab-link-item.is-active .tab-link-heading {
    transform: none;
  }
  .tab-link-body {
    padding-left: 0;
  }
  .tab-links-visual-stage {
    min-height: 290px;
  }
  .tab-visual-slide {
    padding: 1.25rem;
  }
  .luxury-glass-panel,
  .sha-clinical-card,
  .svg-pedestal-stage,
  .sha-kpi-grid {
    padding: 1.25rem;
  }
  .carrusel-programas-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .carrusel-programas-card {
    aspect-ratio: 4 / 5;
    padding: 1.25rem;
  }
  .sha-kpi-grid,
  .luxury-grid-2,
  .luxury-grid-3,
  .luxury-grid-5 {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .sha-kpi-item {
    border-right: none;
    border-bottom: 1px solid var(--brand-border);
    padding-right: 0;
    padding-bottom: 1rem;
  }
  .sha-kpi-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}
