/* Lexy Essence — tema compartido: rosas, animaciones, responsive */

:root {
  --lexy-rose-50: #fdf2f8;
  --lexy-rose-100: #fce7f3;
  --lexy-rose-200: #fbcfe8;
  --lexy-rose-300: #f9a8d4;
  --lexy-blush: rgba(253, 242, 248, 0.92);
  --lexy-pink-glow: rgba(236, 72, 153, 0.12);
}

html {
  scroll-behavior: smooth;
}

body.lexy-site {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #faf9f6;
  background-image:
    radial-gradient(ellipse 130% 90% at 50% -25%, rgba(252, 231, 243, 0.65), transparent 52%),
    radial-gradient(ellipse 80% 50% at 100% 40%, rgba(251, 207, 232, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 45% at 0% 70%, rgba(252, 231, 243, 0.4), transparent 48%);
  background-attachment: fixed;
}

main.lexy-main-animate section {
  opacity: 0;
  animation: lexy-section-in 0.88s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

main.lexy-main-animate section:nth-of-type(1) { animation-delay: 0.04s; }
main.lexy-main-animate section:nth-of-type(2) { animation-delay: 0.1s; }
main.lexy-main-animate section:nth-of-type(3) { animation-delay: 0.16s; }
main.lexy-main-animate section:nth-of-type(4) { animation-delay: 0.22s; }
main.lexy-main-animate section:nth-of-type(5) { animation-delay: 0.28s; }
main.lexy-main-animate section:nth-of-type(6) { animation-delay: 0.34s; }
main.lexy-main-animate section:nth-of-type(7) { animation-delay: 0.4s; }
main.lexy-main-animate section:nth-of-type(8) { animation-delay: 0.46s; }
main.lexy-main-animate section:nth-of-type(9) { animation-delay: 0.52s; }
main.lexy-main-animate section:nth-of-type(10) { animation-delay: 0.58s; }
main.lexy-main-animate section:nth-of-type(11) { animation-delay: 0.64s; }
main.lexy-main-animate section:nth-of-type(12) { animation-delay: 0.7s; }

@keyframes lexy-section-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lexy-nav-rose {
  border-bottom: 1px solid rgba(251, 207, 232, 0.55);
  box-shadow:
    0 4px 28px rgba(190, 24, 93, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.lexy-link-hover {
  transition: color 0.35s ease, transform 0.35s ease;
}

.lexy-link-hover:hover {
  color: #db2777;
}

.lexy-card-lift {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.lexy-card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px -12px rgba(190, 24, 93, 0.15);
}

.lexy-shimmer-btn {
  position: relative;
  overflow: hidden;
}

.lexy-shimmer-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: lexy-shimmer 2.8s ease-in-out infinite;
}

@keyframes lexy-shimmer {
  0% { transform: translateX(-120%); }
  60%, 100% { transform: translateX(120%); }
}

.lexy-float-soft {
  animation: lexy-float 5s ease-in-out infinite;
}

@keyframes lexy-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

details.lexy-mobile-nav summary {
  list-style: none;
}

details.lexy-mobile-nav summary::-webkit-details-marker {
  display: none;
}

details.lexy-mobile-nav[open] summary {
  color: #be185d;
}

.parallax-bg {
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .parallax-bg {
    background-attachment: scroll !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.lexy-site {
    background-attachment: scroll;
  }

  main.lexy-main-animate section {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }

  .lexy-shimmer-btn::after {
    animation: none !important;
  }

  .lexy-float-soft {
    animation: none !important;
  }
}
