/*
 * Elena Med Spas — Global Stylesheet
 * Covers: brand tokens, reset, typography, buttons, gold line,
 *         section base, header-top, header, CTA band, footer
 * Linked by every page on the site.
 */

/* ══════════════════════════════════════════
   BRAND TOKENS
══════════════════════════════════════════ */
:root {
  --charcoal:     #0E0E0E;
  --gold:         #E7AA51;
  --gold-warm:    #DEA052;
  --gold-light:   #FFE499;
  --gold-dark:    #AC7031;
  --silver:       #B5B4B6;
  --silver-light: #E7E4EF;
  --silver-mid:   #858489;
  --silver-dark:  #696969;
  --warm-sand:    #E9E1D6;
  --ivory:        #F5F2EC;
  --white:        #FFFFFF;
  --text-dark:    #0E0E0E;
  --text-mid:     #3a3635;
  --text-muted:   #696969;
  --radius:       2px;
  --transition:   0.35s ease;
  --header-total-height: 176px;
}

.dark-light { color: var(--gold-light); }

/* ══════════════════════════════════════════
   RESET
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-mid);
  background: var(--white);
  line-height: 1.75;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ══════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.85rem;
}
.eyebrow-light { color: var(--gold); }

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.85;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  border-radius: 100px;
}
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); box-shadow: 0 6px 24px rgba(231,170,81,0.35); }
.btn-outline-gold { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--charcoal); }
.btn-outline-white { background: transparent; border: 1px solid rgba(255,255,255,0.6); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--charcoal); }
.btn-charcoal { background: var(--charcoal); color: var(--white); }
.btn-charcoal:hover { background: var(--gold); color: var(--charcoal); }

/* ══════════════════════════════════════════
   GOLD LINE
══════════════════════════════════════════ */
.gold-line {
  display: block;
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  margin: 1.1rem 0;
}
.gold-line.centered { margin: 1.1rem auto; }

/* ══════════════════════════════════════════
   SECTION BASE
══════════════════════════════════════════ */
.section { padding: 6.5rem 2.5rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0.75rem auto 0; }
.section-header.centered .gold-line { margin: 1rem auto; }

/* ══════════════════════════════════════════
   SCROLL REVEAL (shared)
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  border-radius: 6px;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════
   HEADER TOP
══════════════════════════════════════════ */
#header-top {
  position: relative;
  z-index: 1000;
  background: #000000;
  border-bottom: 1px solid rgba(231,170,81,0.16);
  height: 56px;
}
.header-top-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-top-left {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-width: 0;
}
.header-top-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition);
}
.header-top-item:hover { color: var(--gold-light); }
.header-top-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  transition: background var(--transition);
}
.header-top-item:hover .header-top-icon { background: rgba(255,255,255,0.2); }
.header-top-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.header-top-divider {
  width: 1px;
  height: 13px;
  background: rgba(231,170,81,0.25);
  flex-shrink: 0;
}
.header-top-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.header-top-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.52);
  transition: background var(--transition), color var(--transition);
}
.header-top-social svg { width: 15px; height: 15px; }
.header-top-social:hover { background: rgba(255,255,255,0.22); color: var(--gold-light); }

@media (max-width: 640px) {
  .header-top-left .header-top-item:first-child { display: none; }
  .header-top-left .header-top-divider { display: none; }
}
@media (max-width: 420px) {
  .header-top-inner { padding: 0 1.2rem; }
}

/* ══════════════════════════════════════════
   MAIN HEADER
══════════════════════════════════════════ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(14,14,14,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(231,170,81,0.18);
  transition: box-shadow var(--transition);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.6rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-img { height: 100px; width: auto; display: block; }

/* Desktop nav */
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--gold); }

/* Dropdown */
.nav-item-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.nav-dropdown-trigger:hover { color: var(--gold); }
.nav-dropdown-chevron {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.nav-item-dropdown:hover .nav-dropdown-chevron,
.nav-item-dropdown:focus-within .nav-dropdown-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1001;
  min-width: 200px;
  background: rgba(14,14,14,0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(231,170,81,0.2);
  box-shadow: 0 18px 45px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav-dropdown-menu a:hover { color: var(--gold); background: rgba(231,170,81,0.06); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 1.3rem; margin-left: 1.6rem; }
.nav-cta { white-space: nowrap; font-weight: 700; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(14,14,14,0.98);
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(231,170,81,0.15);
}
.mobile-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .btn { margin-top: 1.2rem; width: 100%; text-align: center; }
.mobile-nav.open { display: flex; }
.mobile-nav-group { border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-nav-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0.75rem 0;
  transition: color var(--transition);
}
.mobile-nav-group summary::-webkit-details-marker { display: none; }
.mobile-nav-group summary:hover { color: var(--gold); }
.mobile-nav-group summary .nav-dropdown-chevron {
  width: 8px;
  height: 8px;
  transition: transform var(--transition);
}
.mobile-nav-group[open] summary .nav-dropdown-chevron { transform: rotate(180deg); }
.mobile-nav-group .mobile-nav-sub {
  padding: 0 0 0.5rem 1rem;
  display: flex;
  flex-direction: column;
}
.mobile-nav-group .mobile-nav-sub a {
  border-bottom: none;
  padding: 0.55rem 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
}
.mobile-nav-call {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav-call svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }
}

/* ══════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════ */
#cta-band {
  background: url("/assets/cta-bg.png") no-repeat center / cover;
  border-top: 1px solid rgba(231,170,81,0.3);
  border-bottom: 1px solid rgba(231,170,81,0.3);
  text-align: center;
  padding: 5rem 2.5rem;
  position: relative;
  overflow: hidden;
}
#cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}
#cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(231,170,81,0.1) 0%, transparent 70%);
  z-index: 1;
}
#cta-band > * { position: relative; z-index: 2; }
#cta-band .eyebrow { color: var(--gold-light); }
#cta-band h2 { color: var(--white); max-width: 700px; margin: 0 auto 1rem; }
#cta-band h2 span { font-size: clamp(2rem, 3.8vw, 4rem); }
#cta-band p {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
#site-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(231,170,81,0.12);
  padding: 5rem 2.5rem 2.5rem;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-logo-img { height: 100px; width: auto; display: block; margin-bottom: 1.2rem; }
.footer-brand p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.52);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-bottom p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(231,170,81,0.65); }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
