:root {
  --primary: #f8c8dc; /* Pastel Pink */
  --secondary: #d4af37; /* Gold */
  --accent: #e48ab0; /* Deep Pink */
  --bg-light: #fffafa; /* Snow White/Pink hint */
  --text-dark: #4a4a4a;
  --glass: rgba(255, 255, 255, 0.82);
  --glass-dark: rgba(255, 255, 255, 0.95);
  --shadow-premium: 0 30px 60px rgba(248, 200, 220, 0.3);
  --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- SCROLL PROGRESS BAR --- */
#progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 9999;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.1s;
}

/* --- CUSTOM CURSOR (Sólo Desktop) --- */
@media (min-width: 1024px) {
  .cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
  }
  .cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out;
  }
}

/* --- OPTIMIZACIÓN BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- DECORACIÓN FONDO --- */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(248, 200, 220, 0.1) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* --- ANIMACIONES --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.reveal {
  opacity: 0;
}

.reveal.active {
  animation: fadeInUp 1s ease-out forwards;
}

/* --- NAVBAR PREMIUM --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  background: var(--glass);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 2000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(248, 200, 220, 0.3);
}

.navbar.scrolled {
  padding: 10px 8%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  box-shadow: 0 10px 20px rgba(248, 200, 220, 0.3);
  transition: var(--transition);
}

.brand {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(28px, 4vw, 42px);
  background: linear-gradient(45deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

/* MENÚ DESKTOP */
#menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

#menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition);
  position: relative;
}

#menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
}

#menu a:hover::after {
  width: 100%;
}

/* MENÚ MÓVIL OVERLAY */
.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--accent);
  z-index: 3001;
}

@media (max-width: 992px) {
  .navbar { padding: 15px 5%; }
  .logo-img { width: 55px; height: 55px; }
  .brand { font-size: 28px; }
  .menu-icon { display: block; }

  #menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--glass-dark);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 3000;
  }

  #menu.active {
    right: 0;
  }

  #menu a {
    font-size: 24px;
    font-family: 'Great Vibes', cursive;
    text-transform: none;
    letter-spacing: 1px;
    color: var(--accent);
  }
}

/* --- HERO SECTION --- */
.hero {
  min-height: 120vh; /* Aumentamos para dar más presencia */
  padding-top: 120px; 
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(0,0,0,0.2), rgba(255,250,250,1)),
              url('lolipop/EXPERIENCIA DE LUJO SPA LOLIPOP/lujo3.jpg');
  background-size: cover;
  background-position: center center;
  z-index: -1;
  filter: brightness(0.95) saturate(1.1);
}

.hero-content {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 80px 40px; /* Más padding para que no se vea "apretada" */
  border-radius: 60px;
  border: 1px solid rgba(255,255,255,0.8);
  max-width: 900px;
  width: 90%;
  box-shadow: 0 40px 90px rgba(0,0,0,0.12);
  transform: translateY(-20px); /* Ajuste de posición */
}

.hero h2 {
  font-size: clamp(36px, 8vw, 84px); /* Título más grande y audaz */
  font-family: 'Great Vibes', cursive;
  margin-bottom: 25px;
  color: #1a1a1a;
  line-height: 1;
}

.hero p {
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 300;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 50px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* --- BOTONES LUXURY --- */
.btn {
  display: inline-block;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  padding: 18px 45px;
  border-radius: 60px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  box-shadow: 0 15px 35px rgba(248, 200, 220, 0.5);
  transition: var(--transition);
  border: none;
}

.btn:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 45px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  border: 1.5px solid var(--primary);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  background: white;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

/* --- SECCIONES --- */
.section {
  padding: 120px 8% 60px;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-family: 'Great Vibes', cursive;
  text-align: center;
  margin-bottom: 60px;
  color: var(--accent);
  position: relative;
}

h2::after {
  content: "✨";
  display: block;
  font-size: 20px;
  margin-top: 10px;
  opacity: 0.6;
}

/* --- NOSOTROS BOX --- */
.about-box {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 80px 40px;
  border-radius: 40px;
  box-shadow: var(--shadow-premium);
  position: relative;
  border: 1px solid rgba(248, 200, 220, 0.15);
}

.about-box::before {
  content: '"';
  position: absolute;
  top: 20px; left: 40px;
  font-size: 80px;
  color: var(--primary);
  opacity: 0.3;
  font-family: serif;
}

.about-box p {
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  color: #555;
  text-align: center;
}

/* --- GRID Y CARDS ULTRA-LUXURY --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 60px;
  padding: 60px 0;
}

@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 100px 5% 60px; }
}

.card {
  background: white;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.03);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.8);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Efecto Brillo (Shimmer) */
.card::after {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 100%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.8s;
  pointer-events: none;
  z-index: 5;
}

.card:hover::after {
  left: 150%;
}

.card:hover {
  transform: translateY(-25px);
  box-shadow: 0 40px 100px rgba(248, 200, 220, 0.4);
  border-color: var(--primary);
}

.main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.23, 1, 0.32, 1);
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.card:hover .main-img {
  transform: scale(1.1);
}

.card-body {
  padding: 50px 40px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(to bottom, #fff, #fffafa);
}

/* Insignia Dorada */
.card::before {
  content: "DELUXE EXPERIENCE";
  position: absolute;
  top: 30px; left: 30px;
  background: linear-gradient(45deg, var(--secondary), #f9e29f);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  z-index: 10;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
  transition: var(--transition);
}

.card:hover::before {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 15px 25px rgba(212, 175, 55, 0.5);
}

.card h3 {
  font-size: 30px;
  margin-bottom: 20px;
  color: #222;
  font-family: 'Great Vibes', cursive; /* Títulos de tarjeta en cursiva elegante */
  background: linear-gradient(45deg, #333, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.desc {
  font-size: 16px;
  color: #666;
  font-weight: 300;
  margin-bottom: 35px;
  line-height: 1.8;
  letter-spacing: 0.5px;
}

/* --- LEER MÁS EXPANSION --- */
.card-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s;
  opacity: 0;
  background: #fff9fb;
  border-radius: 25px;
  border: 1px dashed var(--primary);
  margin-top: 0;
}

.card.expanded .card-details {
  max-height: 2000px;
  opacity: 1;
  padding: 25px;
  margin-top: 20px;
  box-shadow: inset 0 0 20px rgba(248, 200, 220, 0.2);
}

.details-list {
  list-style: none;
  margin: 15px 0;
}

.details-list li {
  margin-bottom: 12px;
  font-size: 14.5px;
  color: #666;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.4;
}

.details-list li::before {
  content: "🎀";
  font-size: 14px;
  filter: drop-shadow(0 2px 4px rgba(228, 138, 176, 0.3));
}

.btn-read-more {
  background: white;
  border: 1px solid var(--primary);
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 30px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(248, 200, 220, 0.2);
}

.btn-read-more:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.btn-read-more i {
  font-size: 16px;
  transition: transform 0.4s;
}

.card.expanded .btn-read-more i {
  transform: rotate(180deg);
}

/* --- CONTACTO --- */
.testimonials {
  background: white;
  padding: 100px 8%;
}

.testi-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 10px 50px;
  scrollbar-width: none; /* Ocultar scroll en Firefox */
}

.testi-grid::-webkit-scrollbar { display: none; } /* Ocultar en Chrome */

.testi-card {
  min-width: 320px;
  background: #fff5f8;
  padding: 40px;
  border-radius: 40px 40px 40px 5px;
  box-shadow: 0 15px 30px rgba(248, 200, 220, 0.15);
  border: 1px solid rgba(248, 200, 220, 0.3);
  position: relative;
  transition: var(--transition);
}

.testi-card:hover {
  transform: translateY(-10px);
  background: white;
}

.stars {
  color: var(--secondary);
  font-size: 14px;
  margin-bottom: 15px;
}

.testi-text {
  font-style: italic;
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.testi-author {
  font-weight: 600;
  color: var(--accent);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- INSTAGRAM FEED STYLE --- */
.social-feed {
  padding: 100px 8%;
  background: var(--bg-light);
  text-align: center;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.insta-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.insta-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(228, 138, 176, 0.7); /* Accent Color Overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: white;
  font-size: 24px;
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

.insta-item:hover img {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .testi-card { min-width: 280px; padding: 30px; }
  .insta-grid { gap: 10px; }
}

/* --- CONTACTO --- */
.contacto {
  background: linear-gradient(to bottom, #fffafa, #fff0f5);
  border-radius: 120px 120px 0 0;
  text-align: center;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.icon {
  width: 80px; height: 80px;
  padding: 20px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  border: 1px solid var(--primary);
  transition: var(--transition);
}

.icon:hover {
  transform: rotate(-10deg) scale(1.15);
  background: var(--primary);
}

/* --- BOTÓN FLOTANTE --- */
.whatsapp {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 80px; height: 80px;
  z-index: 10000;
  transition: var(--transition);
  animation: float 4s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp:hover {
  transform: scale(1.1);
}

.whatsapp-icon {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(37, 211, 102, 0.3));
}

/* --- FOOTER --- */
footer {
  padding: 60px 5%;
  background: white;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
}

footer p {
  color: #bbb;
  font-size: 13px;
  letter-spacing: 1px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

/* MOBIL REFINEMENTS */
@media (max-width: 768px) {
  .hero-content { padding: 40px 20px; }
  .about-box { padding: 40px 20px; }
  .about-box p { font-size: 18px; }
  .card-body { padding: 30px 20px; }
  .main-img { height: 350px; }
  .whatsapp { width: 65px; height: 65px; bottom: 20px; right: 20px; }
}

/* --- TOQUES FINALES GLITTER --- */
.glitter {
  position: absolute;
  width: 10px; height: 10px;
  background: white;
  border-radius: 50%;
  opacity: 0.6;
  filter: blur(2px);
  animation: sparkle 3s infinite ease-in-out;
  pointer-events: none;
}

@keyframes sparkle {
  0%, 100% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1); opacity: 0.8; }
}

#nosotros h2, #catalogo h2, #contacto h2 {
  text-shadow: 0 4px 10px rgba(248, 200, 220, 0.4);
}

.card:hover h3 {
  color: var(--accent);
}
