/* ============================================
   LYMPH LAB — Global Styles
   Premium Luxury Wellness Clinic
   ============================================ */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body { background: #fefcf9; color: #2c2c2c; font-family: 'Jost', system-ui, sans-serif; overflow-x: hidden; }

::selection { background: #e8b4b8; color: #2c2c2c; }

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

/* ---------- Page Loader ---------- */
#page-loader {
  transition: opacity .6s ease, visibility .6s ease;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ---------- Scroll Progress ---------- */
#scroll-progress {
  transition: width .1s linear;
}

/* ---------- Navbar ---------- */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,169,110,0.12);
  box-shadow: 0 4px 24px rgba(44,44,44,0.06);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Nav link underline hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 1px;
  background: #c9a96e;
  transition: width .35s ease;
}
.nav-link:hover::after { width: 60%; }

/* Mobile menu open state */
#mobile-menu.open {
  transform: translateX(0);
}

/* Hamburger active */
#menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
#menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #c9a96e 0%, #e8c99a 50%, #c9a96e 100%);
  background-size: 200% auto;
  color: #fff;
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.7rem;
  padding: 0.75rem 2rem;
  border: none;
  cursor: pointer;
  transition: background-position .4s ease, box-shadow .3s ease, transform .3s ease;
  box-shadow: 0 4px 20px rgba(201,169,110,0.35);
}
.btn-gold:hover {
  background-position: right center;
  box-shadow: 0 8px 32px rgba(201,169,110,0.55);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #c9a96e;
  border: 1px solid rgba(201,169,110,0.5);
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.7rem;
  padding: 0.75rem 2rem;
  cursor: pointer;
  transition: all .3s ease;
}
.btn-outline:hover {
  background: rgba(201,169,110,0.1);
  border-color: #c9a96e;
  transform: translateY(-2px);
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: rgba(255, 253, 249, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 1.5rem;
  box-shadow: 0 8px 40px rgba(44,44,44,0.06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(44,44,44,0.10);
  border-color: rgba(201,169,110,0.35);
}

.glass-card-dark {
  background: rgba(44,44,44,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 1.5rem;
}

/* ---------- Section Labels ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 1rem;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a96e);
}
.section-label::after {
  background: linear-gradient(90deg, #c9a96e, transparent);
}

/* ---------- Section Headings ---------- */
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: #2c2c2c;
}
.section-title em { font-style: italic; color: #c9a96e; }

/* ---------- Floating Blobs ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.blob-gold  { background: rgba(201,169,110,0.15); }
.blob-blush { background: rgba(232,180,184,0.18); }
.blob-cream { background: rgba(245,237,224,0.4); }

/* ---------- Logo Animations ---------- */
.logo-hero {
  border-radius: 50%;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
  box-shadow:
    0 0 0 4px rgba(201,169,110,0.2),
    0 0 0 8px rgba(201,169,110,0.08),
    0 0 40px rgba(201,169,110,0.3),
    0 20px 60px rgba(44,44,44,0.15);
}
.logo-hero:hover {
  box-shadow:
    0 0 0 4px rgba(201,169,110,0.5),
    0 0 0 12px rgba(201,169,110,0.15),
    0 0 60px rgba(201,169,110,0.5),
    0 20px 80px rgba(44,44,44,0.2);
  transition: box-shadow .5s ease;
}

/* Rotating ring around logo */
.logo-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(201,169,110,0.4);
  animation: spin 15s linear infinite;
}
.logo-ring-2 {
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 1px dashed rgba(232,180,184,0.25);
  animation: spin 25s linear infinite reverse;
}

/* ---------- Hero ---------- */
.hero-bg {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232,180,184,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,169,110,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(245,237,224,0.5) 0%, transparent 60%),
    linear-gradient(180deg, #fefcf9 0%, #fdf8f3 100%);
}

/* ---------- Service Cards ---------- */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid rgba(201,169,110,0.1);
  transition: all .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 4px 24px rgba(44,44,44,0.04);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.05) 0%, rgba(232,180,184,0.05) 100%);
  opacity: 0;
  transition: opacity .4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(44,44,44,0.12);
  border-color: rgba(201,169,110,0.3);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(201,169,110,0.1) 0%, rgba(232,180,184,0.1) 100%);
  display: flex; align-items: center; justify-content: center;
  transition: all .4s ease;
}
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, rgba(201,169,110,0.2) 0%, rgba(232,180,184,0.2) 100%);
  transform: scale(1.1) rotate(5deg);
}

/* ---------- Image Hover Zoom ---------- */
.img-zoom-wrap {
  overflow: hidden;
  border-radius: 1rem;
}
.img-zoom-wrap img {
  transition: transform .6s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.img-zoom-wrap:hover img { transform: scale(1.08); }

/* ---------- Gallery Masonry ---------- */
.masonry-grid {
  columns: 3 200px;
  column-gap: 1rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .masonry-grid { columns: 2 160px; }
}
@media (max-width: 480px) {
  .masonry-grid { columns: 1; }
}

/* ---------- Testimonial Swiper ---------- */
.testimonial-card {
  background: rgba(255,253,249,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(201,169,110,0.12);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(44,44,44,0.06);
}
.star-icon { color: #c9a96e; font-size: 1rem; }

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border-bottom: 1px solid rgba(201,169,110,0.15);
  overflow: hidden;
}
.faq-question {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #2c2c2c;
  transition: color .3s ease;
  user-select: none;
}
.faq-question:hover { color: #c9a96e; }
.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .35s ease;
}
.faq-icon svg { transition: transform .35s ease; }
.faq-item.open .faq-icon {
  background: rgba(201,169,110,0.1);
  border-color: #c9a96e;
}
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1), opacity .35s ease;
  opacity: 0;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  opacity: 1;
}
.faq-answer-inner {
  padding-bottom: 1.5rem;
  color: #7a6b5d;
  font-size: 0.925rem;
  line-height: 1.8;
}

/* ---------- Contact Form ---------- */
.form-group { position: relative; }
.form-input {
  width: 100%;
  padding: 1.25rem 1.25rem 0.5rem;
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 0.75rem;
  background: rgba(255,253,249,0.7);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: #2c2c2c;
  transition: border-color .3s ease, box-shadow .3s ease;
  outline: none;
}
.form-input:focus {
  border-color: #c9a96e;
  box-shadow: 0 0 0 3px rgba(201,169,110,0.1), 0 4px 20px rgba(201,169,110,0.15);
}
.form-label {
  position: absolute;
  top: 0.875rem;
  left: 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a6b5d;
  pointer-events: none;
  transition: all .3s ease;
}
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: 0.35rem;
  font-size: 0.65rem;
  color: #c9a96e;
}

/* ---------- Counter ---------- */
.counter-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: #c9a96e;
  line-height: 1;
}

/* ---------- Review Cards (Google) ---------- */
.review-track {
  display: flex;
  gap: 1.5rem;
  animation: reviewScroll 40s linear infinite;
  width: max-content;
}
.review-track:hover { animation-play-state: paused; }
@keyframes reviewScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-card {
  flex-shrink: 0;
  width: 320px;
  background: rgba(255,253,249,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(201,169,110,0.12);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(44,44,44,0.05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44,44,44,0.1);
}

/* ---------- Instagram Grid ---------- */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
@media (max-width: 640px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}
.insta-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.75rem;
  position: relative;
  cursor: pointer;
}
.insta-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.insta-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201,169,110,0);
  transition: background .3s ease;
  border-radius: 0.75rem;
}
.insta-item:hover img { transform: scale(1.1); }
.insta-item:hover::after { background: rgba(201,169,110,0.25); }
.insta-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 2;
}
.insta-item:hover .insta-overlay { opacity: 1; }

/* ---------- Before/After Slider ---------- */
.before-after-container {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  cursor: col-resize;
  user-select: none;
}
.before-after-handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: white;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.handle-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(44,44,44,0.2);
  font-size: 0.75rem;
  color: #2c2c2c;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(232,180,184,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(201,169,110,0.07) 0%, transparent 50%),
    linear-gradient(180deg, #fefcf9 0%, #fdf8f3 100%);
  position: relative;
  overflow: hidden;
}

/* ---------- Swiper customization ---------- */
.swiper-pagination-bullet { background: #c9a96e !important; }
.swiper-pagination-bullet-active { background: #c9a96e !important; width: 20px !important; border-radius: 9999px !important; }
.swiper-button-prev, .swiper-button-next {
  color: #c9a96e !important;
  background: rgba(255,253,249,0.9);
  width: 44px !important; height: 44px !important;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(44,44,44,0.1);
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 14px !important; font-weight: 700; }

/* ---------- Dividers ---------- */
.divider-gold {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, #c9a96e, transparent);
  margin: 1.5rem auto;
}

/* ---------- Gradient Text ---------- */
.text-gradient {
  background: linear-gradient(135deg, #c9a96e 0%, #e8b4b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Utility animations ---------- */
@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 20px rgba(201,169,110,.4); }
  50%      { box-shadow: 0 0 50px rgba(201,169,110,.8), 0 0 80px rgba(232,180,184,.4); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ---------- Mouse glow ---------- */
.mouse-glow {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform .05s linear;
}

/* ---------- Responsive Spacing ---------- */
.section-py { padding-top: clamp(4rem, 8vw, 8rem); padding-bottom: clamp(4rem, 8vw, 8rem); }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid #c9a96e; outline-offset: 3px; }

/* Hide mobile sticky on desktop bottom padding */
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
}
@media (max-width: 1023px) {
  body { padding-bottom: 72px; }
}

/* ---------- Treatment Timeline ---------- */
.timeline-item { position: relative; padding-left: 3rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 11px; top: 32px; bottom: -16px;
  width: 1px;
  background: linear-gradient(180deg, #c9a96e, rgba(201,169,110,0));
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  position: absolute;
  left: 0; top: 6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a96e, #e8b4b8);
  box-shadow: 0 0 0 4px rgba(201,169,110,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  color: white;
  font-weight: 600;
}

/* ---------- Trust Badges ---------- */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(201,169,110,0.06);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #7a6b5d;
  transition: all .3s ease;
}
.trust-badge:hover {
  background: rgba(201,169,110,0.12);
  border-color: rgba(201,169,110,0.35);
  transform: translateY(-2px);
}
.trust-badge svg { color: #c9a96e; flex-shrink: 0; }

/* ---------- Booking Banner ---------- */
.booking-banner {
  background: linear-gradient(135deg, #2c2c2c 0%, #3d3530 50%, #2c2c2c 100%);
  position: relative;
  overflow: hidden;
}
.booking-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,169,110,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(232,180,184,0.1) 0%, transparent 60%);
}
