/* =========================
   BOTONES
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;

  padding: 0.85rem 1.8rem;

  border-radius: 999px;
  /* 👈 totalmente redondeado */
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;

  transition: 0.3s ease;
}

/* PRIMARY */
.btn--primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 15px 35px rgba(238, 43, 108, 0.25);
}

.btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

/* OUTLINE */
.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

@keyframes selectBounce {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.12);
  }

  70% {
    transform: scale(0.98);
  }

  100% {
    transform: scale(1.05);
  }
}

/* CTA en navegación */
.nav-cta {
  padding: 0.65rem 1.4rem;
  font-size: 0.85rem;
}

.logo-modern {
  display: flex;
  align-items: center;
}

.logo__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

/* SVG como imagen */
.logo__icon {
  width: 34px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(238, 43, 108, 0.25));
}

/* Texto */
.logo__text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.logo__text strong {
  color: var(--color-primary);
}

/* =========================
   BADGES
   ========================= */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  background-color: var(--color-highlight);
  color: #ffffff;
  width: fit-content;
  max-width: max-content;
  margin-bottom: 0.65rem;
  animation: badgePulse 4s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    opacity: 0.9;
  }

  50% {
    opacity: 1;
  }
}

/* =========================
   CARDS BASE (REUTILIZABLES)
   ========================= */

.packages-modern {
  padding: 8rem 0;
}

.packages-category {
  margin-top: 5rem;
}

.packages-category__title {
  text-align: center;
  font-size: 1rem;
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  text-transform: uppercase;
  color: #2d2d2d;
}

.packages-category__title::before,
.packages-category__title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: rgba(238, 43, 108, 0.3);
}

.packages-category__title::before {
  left: 0;
}

.packages-category__title::after {
  right: 0;
}

/* GRID */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.packages-category:last-child .packages-grid {
  max-width: 450px;
}
/* CARD */
.package-card {
  border-radius: 24px;
  padding: 2.5rem 2rem;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg,
      #ffffff 0%,
      #faf7f9 100%);
  border: 1px solid rgba(238, 43, 108, 0.08);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(238, 43, 108, 0.05);
}

.package-card:hover {
  box-shadow: var(--shadow-strong);
}

/* DESTACADO */
.package-card--featured {
  border: 2px solid var(--color-primary);
  box-shadow: 0 10px 30px rgba(238, 43, 108, 0.2);
}

.package-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 1px;
}

/* TÍTULO */
.package-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

/* PRECIO */
.package-price {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg,
      #ee2b6c,
      #ff6fa3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.package-price span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #888;
}

.feature-group li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
}

.feature-group li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ee2b6c;
  font-size: .9rem;
  font-weight: 600;
}

/* BOTONES */
.package-card button {
  margin-top: auto;
}

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.package-card .btn {
  margin-top: auto;
}

.package-card--featured .badge {
  margin-bottom: 0.75rem;
}

.package-card::before {
  content: "";
  display: block;
  height: 1.6rem;
}

/* Hover elegante */
.package-card:hover,
.demo-card:hover,
.section-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
}

/* =========================
   TEXTO EN CARDS
   ========================= */

.package-card h3,
.demo-card h3 {
  margin-bottom: 0.6rem;
}

.package-card p,
.demo-card p {
  margin-bottom: 1.6rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.package-card .btn{
margin-top: 28px;
}

.package-card li{
  margin-bottom: 12px;
  font-size: .9rem;
  line-height: 1.4;
}

/* Nota de paquete */
.package-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 1.4rem;
}

.package-modern {
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.package-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.package-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.package-price-old {
  font-size: 1rem;
  color: rgba(0,0,0,0.4);
  position: relative;
}

.package-price-old::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 50%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #ee2b6c,
    transparent
  );
  transform: rotate(-5deg);
}

.package-save {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ee2b6c;
  background: rgba(238,43,108,0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

.package-desc{
font-size:.9rem;
opacity:.75;
margin-bottom:14px;
}

.package-card ul{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.package-card li{
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.package-note{
font-size:.85rem;
opacity:.7;
margin-top:10px;
line-height:1.5;
}

.btn:focus-visible {
  outline: 2px solid var(--color-action);
  outline-offset: 3px;
}

.floating-socials--top,
.floating-socials--top * {
  transform: none !important;
}

/* =========================
   BOTONES FLOTANTES – TOP
   ========================= */
/* CONTENEDOR */
.floating-socials--top {
  position: fixed;
  top: calc(90px + env(safe-area-inset-top));
  right: calc(20px + env(safe-area-inset-right));
  z-index: 9999;
  pointer-events: auto;
  isolation: isolate;

  display: flex;
  /* 👈 FALTABA */
  flex-direction: column;
  /* 👈 vertical */
  gap: 14px;
  /* 👈 espacio entre botones */
}

/* BOTÓN */
.social-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  /* fallback */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.social-btn img {
  width: 45px;
  height: auto;
  max-width: 45px;
  max-height: 45px;
  object-fit: contain;
  display: block;
}

/* Colores */
.social-btn.whatsapp {
  background: #25d366;
}

.social-btn.instagram {
  background: #e1306c;
}

.social-btn.facebook {
  background: #1877f2;
}

/* =====================================================
   FOOTER 
   ===================================================== */
footer {
  position: relative;
  background: url("../img/hero.png") center/cover no-repeat;
  color: #000;
  padding: 3.2rem 0 1.6rem;
  overflow: hidden;

  animation: footerFade 0.8s ease forwards;
}

@keyframes footerFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer .container {
  position: relative;
  z-index: 1;
}

/* Línea decorativa */

.footer__divider {
  width: 64px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  margin: 0 auto 2rem;
}

/* GRID PRINCIPAL */

.footer__content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- MARCA ---------- */

.footer__brand {
  max-width: 420px;
}

.footer__brand h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.footer__description {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #000
}

.footer__trust {
  font-size: 0.75rem;
  margin-top: 0.4rem;
  color: #000
}

/* ---------- CENTRO · REDES ---------- */

.footer__socials {
  text-align: center;
}

.footer__socials-title {
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  color: #000
}

.footer__social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 0.8rem;
}

.footer__social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s ease,
    transform 0.3s ease;

  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__social-icons a[href*="facebook"] {
  background: #1877f2;
}

.footer__social-icons a[href*="instagram"] {
  background: #e1306c;
}

.footer__social-icons a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.footer__social-icons img {
  width: 18px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* WhatsApp */

.footer__whats {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 👈 centra todo */
  gap: 0.6rem;
}

.footer__whats a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 👈 centra icono + texto */
  gap: 10px;

  font-size: 0.9rem;
  font-weight: 400;
  /* 👈 sin negrita */
  color: #000;
  text-decoration: none;
}

.footer__social-icons a img {
  pointer-events: none;
}

.footer__whats img {
  width: 36px;
  height: 36px;

  background: #25d366;
  padding: 8px;
  border-radius: 50%;
}

.footer__whats img:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ---------- CTA ---------- */

.footer__cta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}

.footer__cta .btn {
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(255, 0, 120, 0.25);
}

.footer::before {
  background: linear-gradient(to top,
      rgba(25, 18, 60, 0.92),
      rgba(60, 35, 110, 0.75));
}

/* ---------- BOTTOM ---------- */
.footer__bottom {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.particles-rose {
  position: relative;
  overflow: hidden;
}

.particles-rose::before,
.particles-rose::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particles-rose::before {
  background-image:
    radial-gradient(rgba(225, 23, 208, 0.6) 4px, transparent 1px),
    radial-gradient(rgba(190, 115, 169, 0.4) 3px, transparent 1px);

  background-size: 120px 120px, 180px 180px;
  animation: driftSlow 45s linear infinite;
  opacity: 0.5;
}

.particles-rose::after {
  background-image:
    radial-gradient(rgba(49, 152, 109, 0.25) 3px, transparent 3px),
    radial-gradient(rgba(229, 17, 165, 0.18) 4px, transparent 4px);

  background-size: 260px 260px, 340px 340px;
  animation: driftSlowReverse 70s linear infinite;
  opacity: 0.4;
}

@keyframes driftSlow {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 1200px, 0 800px; }
}

@keyframes driftSlowReverse {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 -1000px, 0 -700px; }
}