/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --olive: #7B8060;
  --olive-dark: #5C6048;
  --sage: #A8B0A0;
  --gold: #B58B5B;
  --gold-light: #D4A76A;
  --champagne: #DCC7A1;
  --sand: #F8F5EF;
  --aqua: #BFD4CF;
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --text-dark: #3D4030;
  --text-body: #5A5D4F;
  --text-light: #8A8D7F;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--champagne);
  color: var(--text-dark);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--sand);
}
::-webkit-scrollbar-thumb {
  background: var(--sage);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--olive);
}

/* ===== LUXURY CURSOR (desktop only) ===== */
@media (pointer: fine) {
  .cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle, rgba(181, 139, 91, 0.04) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
  }
}

/* ===== NAVIGATION ===== */
.nav-glass {
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(168, 176, 160, 0.15);
}

.nav-scrolled {
  background: rgba(250, 248, 244, 0.95) !important;
  box-shadow: 0 1px 30px rgba(91, 96, 72, 0.06);
}

.nav-link {
  position: relative;
  transition: color 0.3s var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.4s var(--transition-luxury);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ===== HERO ===== */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 8s var(--transition-luxury);
}

.hero-loaded .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(61, 64, 48, 0.95) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(91, 96, 72, 0.75) 0%, transparent 50%),
    linear-gradient(135deg, rgba(61, 64, 48, 0.5) 0%, rgba(61, 64, 48, 0.15) 50%, rgba(91, 96, 72, 0.3) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Animated particles */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(220, 199, 161, 0.3);
  animation: float-particle linear infinite;
  pointer-events: none;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) translateX(50px); opacity: 0; }
}

/* ===== GOLD BUTTON ===== */
.btn-gold {
  position: relative;
  background: var(--gold);
  color: var(--white);
  overflow: hidden;
  transition: all 0.4s var(--transition-luxury);
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-101%);
  transition: transform 0.5s var(--transition-luxury);
}

.btn-gold:hover::before {
  transform: translateX(0);
}

.btn-gold:hover {
  box-shadow: 0 8px 30px rgba(181, 139, 91, 0.3);
  transform: translateY(-2px);
}

.btn-gold span {
  position: relative;
  z-index: 1;
}

/* ===== OUTLINE BUTTON ===== */
.btn-outline {
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  overflow: hidden;
  transition: all 0.4s var(--transition-luxury);
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-101%);
  transition: transform 0.5s var(--transition-luxury);
}

.btn-outline:hover::before {
  transform: translateX(0);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-outline span {
  position: relative;
  z-index: 1;
}

/* ===== OLIVE BUTTON ===== */
.btn-olive {
  position: relative;
  background: var(--olive);
  color: var(--white);
  overflow: hidden;
  transition: all 0.4s var(--transition-luxury);
}

.btn-olive::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--olive-dark);
  transform: translateX(-101%);
  transition: transform 0.5s var(--transition-luxury);
}

.btn-olive:hover::before {
  transform: translateX(0);
}

.btn-olive:hover {
  box-shadow: 0 8px 30px rgba(123, 128, 96, 0.3);
  transform: translateY(-2px);
}

.btn-olive span {
  position: relative;
  z-index: 1;
}

/* ===== DECORATIVE LINE ===== */
.deco-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  position: relative;
}

.deco-line::before,
.deco-line::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.deco-line::before { left: -3px; }
.deco-line::after { right: -3px; }

/* ===== SERVICE CARD ===== */
.service-card {
  background: var(--white);
  border: 1px solid rgba(168, 176, 160, 0.15);
  transition: all 0.5s var(--transition-luxury);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--transition-luxury);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(91, 96, 72, 0.1);
  border-color: rgba(181, 139, 91, 0.2);
}

.service-card .card-icon {
  transition: all 0.5s var(--transition-luxury);
}

.service-card:hover .card-icon {
  transform: scale(1.1);
  color: var(--gold);
}

/* ===== BENEFIT ITEM ===== */
.benefit-item {
  transition: all 0.4s var(--transition-luxury);
}

.benefit-item:hover {
  transform: translateY(-4px);
}

.benefit-item:hover .benefit-icon {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}

.benefit-icon {
  transition: all 0.4s var(--transition-luxury);
}

/* ===== GALLERY ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  transition: transform 0.8s var(--transition-luxury);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(61, 64, 48, 0);
  transition: all 0.5s var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(61, 64, 48, 0.35);
}

.gallery-overlay i {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s var(--transition-luxury);
}

.gallery-item:hover .gallery-overlay i {
  opacity: 1;
  transform: scale(1);
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(168, 176, 160, 0.12);
  transition: all 0.5s var(--transition-luxury);
}

.testimonial-card:hover {
  box-shadow: 0 20px 50px rgba(91, 96, 72, 0.08);
  transform: translateY(-4px);
}

/* Stars shimmer */
.star-shimmer {
  color: var(--gold);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  border-bottom: 1px solid rgba(168, 176, 160, 0.2);
  transition: all 0.3s ease;
}

.faq-question {
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  transition: transform 0.4s var(--transition-luxury);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition-luxury), opacity 0.4s ease, padding 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.4s var(--transition-luxury);
  animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
  animation: none;
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 35px rgba(37, 211, 102, 0.6); }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 105px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--olive);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(91, 96, 72, 0.25);
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--transition-luxury);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--olive-dark);
  transform: translateY(-3px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--transition-luxury);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-close:hover {
  color: var(--gold);
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

@media (max-width: 1023px) {
  .hamburger { display: flex; }
  .desktop-nav { display: none; }
}

/* ===== TRUST BADGE ===== */
.trust-badge {
  transition: all 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-3px);
}

.trust-badge:hover .trust-icon {
  color: var(--gold);
}

/* ===== SECTION TRANSITIONS ===== */
.section-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition-luxury), transform 0.8s var(--transition-luxury);
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== DIVIDER ===== */
.section-divider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: rgba(168, 176, 160, 0.15);
}

/* ===== IMAGE WRAPPER ===== */
.img-luxury {
  position: relative;
  overflow: hidden;
}

.img-luxury::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(181, 139, 91, 0.1);
  pointer-events: none;
}

.img-luxury img {
  transition: transform 0.8s var(--transition-luxury);
}

.img-luxury:hover img {
  transform: scale(1.04);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('massage-3.jpeg') center/cover;
  filter: brightness(0.3);
  z-index: 0;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

/* ===== FOOTER ===== */
.footer-link {
  position: relative;
  transition: color 0.3s ease;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--champagne);
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: var(--champagne);
}

.footer-link:hover::after {
  width: 100%;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(220, 199, 161, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--champagne);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--champagne);
  color: var(--olive-dark);
  border-color: var(--champagne);
  transform: translateY(-3px);
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  position: relative;
  display: inline-flex;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(168, 176, 160, 0.3);
}

.lang-toggle button {
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-light);
}

.lang-toggle button.active {
  background: var(--olive);
  color: var(--white);
}

.lang-toggle button:not(.active):hover {
  color: var(--olive);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-bg {
    background-position: center center;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== LOADING STATE ===== */
.loading {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid var(--sage);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

