/* ============================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ============================================ */
:root {
  /* Paleta de colores Voelkeep */
  --magenta-oscuro: #8B1E5A;
  --rosa-fuerte: #C94C7C;
  --rosa-medio: #E88BA0;
  --rosa-claro: #F7C1D0;
  --rosa-pastel: #FCE4EC;
  
  /* Colores auxiliares */
  --blanco: #FFFFFF;
  --gris-claro: #F5F5F5;
  --gris-medio: #E0E0E0;
  --texto-oscuro: #2C2C2C;
  --texto-gris: #666666;
  
  /* Sombras */
  --shadow-sm: 0 2px 10px rgba(139, 30, 90, 0.08);
  --shadow-md: 0 8px 30px rgba(139, 30, 90, 0.12);
  --shadow-lg: 0 12px 40px rgba(139, 30, 90, 0.18);
  --shadow-xl: 0 20px 60px rgba(139, 30, 90, 0.25);
  
  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   RESET Y ESTILOS BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--texto-oscuro);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   BOTÓN FLOTANTE DE WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-10px);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--texto-oscuro);
  color: var(--blanco);
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--texto-oscuro);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

/* ============================================
   HERO SECTION CON ANIMACIÓN 3D
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--magenta-oscuro) 0%, var(--rosa-fuerte) 50%, var(--rosa-medio) 100%);
  overflow: hidden;
  color: var(--blanco);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.3;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.circle-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: float 15s ease-in-out infinite;
}

.circle-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  animation: float 20s ease-in-out infinite reverse;
}

.circle-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 30%;
  animation: float 25s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-30px) translateX(20px);
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 20px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 300;
  opacity: 0.95;
  font-family: 'Montserrat', sans-serif;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  opacity: 0.9;
  line-height: 1.7;
  font-family: 'Montserrat', sans-serif;
}

.cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--blanco);
  color: var(--magenta-oscuro);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  background: var(--rosa-pastel);
}


/* Banner Span  */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}



/* ============================================
   ANIMACIÓN 3D DE LA GIFT CARD
   ============================================ */
.hero-card-container {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.giftcard-3d {
  position: relative;
  width: 100%;
  max-width: 500px;
  transform-style: preserve-3d;
  animation: rotateCard 20s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

@keyframes rotateCard {
  0%, 100% {
    transform: rotateY(-15deg) rotateX(10deg);
  }
  25% {
    transform: rotateY(5deg) rotateX(5deg);
  }
  50% {
    transform: rotateY(15deg) rotateX(-10deg);
  }
  75% {
    transform: rotateY(-5deg) rotateX(-5deg);
  }
}

.giftcard-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  display: block;
}

/* ============================================
   ANIMACIONES FADE-IN
   ============================================ */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }
.fade-in:nth-child(4) { animation-delay: 0.8s; }
.fade-in:nth-child(5) { animation-delay: 1s; }

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 20px;
  color: var(--magenta-oscuro);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--rosa-fuerte), var(--rosa-medio));
  margin: 20px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--texto-gris);
  margin-bottom: 50px;
}

/* ============================================
   CÓMO FUNCIONA
   ============================================ */
.how-it-works {
  background: var(--gris-claro);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 35px;
}

.step-card {
  position: relative;
  background: var(--blanco);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 30px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--rosa-fuerte), var(--rosa-medio));
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(201, 76, 124, 0.4);
}

.step-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.step-card h3 {
  color: var(--magenta-oscuro);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.step-card p {
  color: var(--texto-gris);
  line-height: 1.7;
}

/* ============================================
   TRATAMIENTOS DISPONIBLES
   ============================================ */
.treatments-section {
  background: var(--blanco);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-bottom: 60px;
}

.treatment-card {
  position: relative;
  background: linear-gradient(135deg, var(--rosa-pastel) 0%, var(--blanco) 100%);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.treatment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--magenta-oscuro), var(--rosa-fuerte), var(--rosa-medio));
}

.treatment-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.treatment-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--rosa-fuerte);
  color: var(--blanco);
  padding: 5px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(201, 76, 124, 0.3);
}

.treatment-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;
}

.treatment-card h3 {
  color: var(--magenta-oscuro);
  font-size: 1.6rem;
  margin-bottom: 15px;
  text-align: center;
}

.treatment-name {
  color: var(--texto-gris);
  font-size: 1rem;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.6;
}

.treatment-benefits {
  list-style: none;
  margin-bottom: 30px;
}

.treatment-benefits li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--texto-oscuro);
  font-size: 0.95rem;
}

.treatment-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rosa-fuerte);
  font-weight: 700;
  font-size: 1.2rem;
}

.treatment-cta {
  display: block;
  text-align: center;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--magenta-oscuro), var(--rosa-fuerte));
  color: var(--blanco);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all var(--transition-normal);
}

.treatment-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(139, 30, 90, 0.3);
}

/* ============================================
   GIFT CARD PERSONALIZADA
   ============================================ */
.custom-giftcard {
  background: linear-gradient(135deg, var(--magenta-oscuro), var(--rosa-fuerte));
  padding: 50px;
  border-radius: 25px;
  text-align: center;
  color: var(--blanco);
  box-shadow: var(--shadow-xl);
}

.custom-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--blanco);
}

.custom-content p {
  font-size: 1.15rem;
  margin-bottom: 15px;
  opacity: 0.95;
}

.custom-note {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.85;
  margin-bottom: 30px;
}

.cta-button-secondary {
  display: inline-block;
  padding: 18px 50px;
  background: var(--blanco);
  color: var(--magenta-oscuro);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
  background: var(--rosa-pastel);
}

/* ============================================
   BENEFICIOS DE REGALAR
   ============================================ */
.benefits-section {
  background: var(--gris-claro);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 35px;
}

.benefit-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--blanco);
  border-radius: 15px;
  transition: all var(--transition-normal);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.benefit-item h3 {
  color: var(--magenta-oscuro);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.benefit-item p {
  color: var(--texto-gris);
  line-height: 1.7;
}

/* ============================================
   CTA FINAL
   ============================================ */
.final-cta {
  background: var(--blanco);
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--rosa-pastel) 0%, var(--rosa-claro) 100%);
  padding: 60px 40px;
  border-radius: 30px;
  box-shadow: var(--shadow-xl);
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--magenta-oscuro);
  margin-bottom: 20px;
}

.cta-box > p {
  font-size: 1.2rem;
  color: var(--texto-gris);
  margin-bottom: 35px;
}

.cta-button-large {
  display: inline-block;
  padding: 20px 60px;
  background: linear-gradient(135deg, var(--magenta-oscuro), var(--rosa-fuerte));
  color: var(--blanco);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 10px 30px rgba(139, 30, 90, 0.3);
}

.cta-button-large:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(139, 30, 90, 0.4);
}

.cta-note {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--texto-gris);
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, var(--magenta-oscuro) 0%, #6B1545 100%);
  color: var(--blanco);
  padding: 60px 0 30px;
}

.footer-content {
  margin-bottom: 40px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-brand h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
  color: var(--blanco);
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.8;
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--rosa-claro);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--blanco);
  opacity: 0.8;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-column a:hover {
  opacity: 1;
  color: var(--rosa-claro);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--rosa-fuerte);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  margin: 30px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-credits {
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: right;
}

.footer-credits strong {
  color: var(--rosa-claro);
  font-weight: 600;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-badge,
  .cta-button {
    align-self: center;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-links {
    justify-items: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    min-height: auto;
    padding: 60px 0;
  }
  
  .hero-container {
    padding: 40px 20px;
  }
  
  .steps-grid,
  .treatments-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .custom-giftcard {
    padding: 40px 30px;
  }
  
  .cta-box {
    padding: 40px 30px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-credits {
    text-align: center;
  }
  
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .cta-button,
  .cta-button-secondary,
  .cta-button-large {
    padding: 15px 35px;
    font-size: 1rem;
  }
  
  .treatment-card {
    padding: 30px 20px;
  }
  
  .custom-giftcard {
    padding: 30px 20px;
  }
  
  .cta-box {
    padding: 30px 20px;
  }
}