/* ==========================================================================
   EQUINOX AESTHETIC & WELLNESS CENTRE — WORLD-CLASS LUXURY DESIGN SYSTEM
   Inspired by top global aesthetic institutions (Mayfair, Zurich, Beverly Hills)
   Harmonized with authentic 3D embossed gold sun & half-moon brand mark
   ========================================================================== */

@font-face {
  font-family: 'Sorts Mill Goudy';
  src: url('/fonts/goudy-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/source-sans-3-var.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Royal Palette: Imperial Gold, Warm Alabaster, and Deep Sovereign Noir */
  --gold-primary: #D4AF37;
  --gold-light: #F7DC99;
  --gold-deep: #B38628;
  --gold-champagne: #FAF4E8;
  --gold-glow: rgba(212, 175, 55, 0.28);
  --gold-border: rgba(212, 175, 55, 0.32);
  --gold-border-bright: rgba(212, 175, 55, 0.65);
  
  --bg-deep: #0e0514;
  --bg-noir: #14071c;
  --bg-surface: #1a0a24;
  --bg-card: rgba(26, 10, 36, 0.85);
  --bg-card-hover: rgba(38, 15, 52, 0.95);
  --bg-glass: rgba(18, 7, 26, 0.78);

  --text-primary: #FFFFFF;
  --text-ivory: #FBF1E6;
  --text-body: #E5D5E8;
  --text-muted: #B8A1BD;
  --text-subtle: #8E7794;

  --wa-emerald: #10B981;
  --wa-emerald-glow: rgba(16, 185, 129, 0.35);

  --serif: "Sorts Mill Goudy", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 0.5rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.25rem;
  --radius-pill: 9999px;

  --max-width: 78rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--bg-deep);
  color: var(--text-body);
  font-family: var(--sans);
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 50% 0%, #2a0e38 0%, #12051a 50%, #0a030f 100%);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 1.05rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #FFFFFF;
  text-shadow: 0 0 12px var(--gold-glow);
}

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  color: var(--text-ivory);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 2rem + 3vw, 4.2rem);
  color: #FFFFFF;
  text-shadow: 0 4px 28px rgba(212, 175, 55, 0.25);
}

h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.8rem);
}

h3 {
  font-size: clamp(1.35rem, 1.15rem + 1vw, 1.85rem);
}

p {
  margin: 0 0 1.2em;
  max-width: 68ch;
}

.container {
  width: 100%;
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  padding-inline: var(--gutter);
  margin-inline: auto;
}

/* Luxury Shimmer Gradient on Headings */
.gold-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8E3B6 35%, #D4AF37 70%, #AA7B20 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Pill Badges */
.luxury-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.12);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   MASTER LUXURY HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(14, 5, 20, 0.82);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  transition: all 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.4rem;
  gap: 1.5rem;
}

.brand-master {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-emblem-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-border-bright);
  box-shadow: 0 0 18px var(--gold-glow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.brand-master:hover .brand-emblem-wrap {
  transform: scale(1.05) rotate(5deg);
}

.brand-emblem-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.16em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.15rem;
}

/* Nav Menu */
.header-nav {
  display: none;
}

@media (min-width: 66em) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
}

.header-nav li {
  margin: 0;
}

.header-nav a {
  color: var(--text-ivory);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color 0.2s ease;
}

.header-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--gold-primary);
  transition: transform 0.25s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--gold-light);
}

.header-nav a:hover::after,
.header-nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.clinic-telemetry-badge {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 650;
  color: #34D399;
}

@media (min-width: 52em) {
  .clinic-telemetry-badge {
    display: inline-flex;
  }
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: pulsePulse 2s infinite ease-in-out;
}

@keyframes pulsePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 650;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(179, 134, 40, 0.5) 100%);
  border: 1px solid var(--gold-border-bright);
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.2);
  transition: all 0.25s ease;
}

.header-cta-btn:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.45) 0%, rgba(179, 134, 40, 0.75) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

@media (min-width: 66em) {
  .mobile-nav-toggle {
    display: none;
  }
}

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 650;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(179, 134, 40, 0.65) 100%);
  border: 1px solid var(--gold-border-bright);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.25);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-gold:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.5) 0%, rgba(179, 134, 40, 0.85) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--gold-light) !important;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-outline-gold:hover {
  border-color: var(--gold-light);
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}

.btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 650;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 6px 24px var(--wa-emerald-glow);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.55);
}

/* ==========================================================================
   WORLD-CLASS CLINICAL SERVICES SHOWCASE (Replacing boring text directory)
   ========================================================================== */
.services-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

@media (min-width: 48em) {
  .services-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 72em) {
  .services-editorial-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-luxury-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

.service-luxury-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-luxury-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-border-bright);
  transform: translateY(-6px);
  box-shadow: 0 22px 50px -10px rgba(212, 175, 55, 0.18), 0 0 30px rgba(0, 0, 0, 0.8);
}

.service-luxury-card:hover::before {
  opacity: 1;
}

.card-num-badge {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-category-tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  color: var(--gold-light);
}

.service-luxury-card h3 {
  color: #FFFFFF;
  margin-bottom: 0.65rem;
  font-size: 1.45rem;
}

.service-luxury-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.service-card-meta strong {
  color: var(--text-ivory);
}

.service-card-link {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.2s ease;
}

.service-luxury-card:hover .service-card-link {
  color: #FFFFFF;
  gap: 0.75rem;
}

/* ==========================================================================
   HIGH-END FLOATING CONCIERGE (Replacing ugly full-width bottom bar)
   ========================================================================== */
.floating-concierge {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.concierge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(18, 7, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border-bright);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px var(--gold-glow);
  padding: 0.65rem 1.25rem 0.65rem 0.75rem;
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  font-family: var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.concierge-pill:hover {
  background: rgba(28, 11, 40, 0.98);
  border-color: #FFFFFF;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 35px var(--gold-glow);
  color: #FFFFFF !important;
}

.concierge-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 0 14px var(--wa-emerald-glow);
}

.concierge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.concierge-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.concierge-sub {
  font-size: 0.74rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  .floating-concierge {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .concierge-pill {
    padding: 0.55rem 1rem 0.55rem 0.65rem;
  }
}

/* ==========================================================================
   PAGE HEROES & COMMON INNER PAGE STRUCTURE
   ========================================================================== */
.inner-hero {
  padding-block: 4.5rem 3.5rem;
  position: relative;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  background: radial-gradient(circle at 50% 0%, #2e103c 0%, #12051a 75%);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--gold-primary);
}

.breadcrumbs .current {
  color: var(--gold-light);
  font-weight: 600;
}

.split-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 58em) {
  .split-hero-layout {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
  }
}

.hero-highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.hero-highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-primary), transparent);
}

.doctor-quote-banner {
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--text-ivory);
  font-size: 1.05rem;
}

/* ==========================================================================
   CLINICAL PROTOCOL & ROADMAP STEPS
   ========================================================================== */
.protocol-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (min-width: 50em) {
  .protocol-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 72em) {
  .protocol-steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.protocol-step-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  position: relative;
}

.step-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.protocol-step-box h4 {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 0.45rem;
}

.protocol-step-box p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 0;
}

/* ==========================================================================
   CLINICAL FAQ ACCORDION
   ========================================================================== */
.clinical-faq-wrap {
  border-top: 1px solid var(--gold-border);
  margin-top: 2rem;
}

.clinical-faq-wrap details {
  border-bottom: 1px solid var(--gold-border);
  transition: all 0.2s ease;
}

.clinical-faq-wrap summary {
  padding: 1.35rem 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--text-ivory);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.clinical-faq-wrap summary::-webkit-details-marker {
  display: none;
}

.clinical-faq-wrap summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-primary);
  line-height: 1;
}

.clinical-faq-wrap details[open] summary::after {
  content: "−";
  color: var(--gold-light);
}

.clinical-faq-wrap .faq-answer {
  padding-bottom: 1.5rem;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.65;
}

/* ==========================================================================
   MASTER LUXURY FOOTER
   ========================================================================== */
.site-footer-master {
  background: #09030c;
  border-top: 2px solid var(--gold-primary);
  padding-block: 5rem 3rem;
  color: var(--text-muted);
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 52em) {
  .footer-top-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-nav-col h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding-bottom: 0.5rem;
}

.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-col a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-nav-col a:hover {
  color: var(--gold-light);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-subtle);
}
