:root {
  --color-primario: #c9a15a;
  --color-secundario: #2b2b2b;
  --color-fondo: #0f0f10;
  --color-fondo-alterno: #161617;
  --color-texto: #f5f0e6;
  --color-texto-suave: #b9b3a6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  background: var(--color-fondo);
  color: var(--color-texto);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  margin-top: 0;
}

a { color: inherit; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: rgba(15, 15, 16, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.nav.nav-scrolled {
  background: rgba(15, 15, 16, 0.75);
  border-bottom-color: rgba(255,255,255,0.08);
  padding: 0.75rem 1.5rem;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.logo-punto { color: var(--color-primario); }

.btn-nav { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem 5rem;
  overflow: hidden;
}

.hero-fondo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: flotar 16s ease-in-out infinite;
}

.blob-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--color-primario), transparent 70%);
  top: -10%; left: -8%;
}

.blob-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #7a5fc9, transparent 70%);
  top: 30%; right: -10%;
  animation-delay: -5s;
  animation-duration: 20s;
}

.blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #c95f7a, transparent 70%);
  bottom: -15%; left: 30%;
  animation-delay: -10s;
  animation-duration: 18s;
}

@keyframes flotar {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.08); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}

.confeti {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.5;
  animation: caer 12s linear infinite;
}

.c1 { left: 12%; top: -10%; animation-delay: 0s; font-size: 1.8rem; }
.c2 { left: 85%; top: -10%; animation-delay: -3s; font-size: 1.3rem; }
.c3 { left: 45%; top: -10%; animation-delay: -6s; font-size: 1.5rem; }
.c4 { left: 70%; top: -10%; animation-delay: -9s; font-size: 1.4rem; }
.c5 { left: 25%; top: -10%; animation-delay: -1.5s; font-size: 1.6rem; }

@keyframes caer {
  0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(110vh) rotate(220deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(201, 161, 90, 0.12);
  border: 1px solid rgba(201, 161, 90, 0.4);
  color: var(--color-primario);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.resaltado {
  color: var(--color-primario);
  position: relative;
  white-space: nowrap;
}

.hero-subtitulo {
  font-size: 1.15rem;
  color: var(--color-texto-suave);
  max-width: 600px;
  margin: 0 auto 2.2rem;
}

.hero-scroll {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

.hero-scroll span {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(245, 240, 230, 0.35);
  border-radius: 999px;
  position: relative;
  display: block;
}

.hero-scroll span::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--color-primario);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scrollear 1.8s ease-in-out infinite;
}

@keyframes scrollear {
  0% { top: 8px; opacity: 1; }
  60% { top: 20px; opacity: 0; }
  100% { top: 20px; opacity: 0; }
}

/* ---------- Botones ---------- */

.botones-hero, .botones-contacto {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primario {
  background: var(--color-primario);
  color: #16140f;
}

.btn-primario:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(201, 161, 90, 0.55);
}

.btn-secundario {
  background: transparent;
  color: var(--color-texto);
  border: 1px solid var(--color-primario);
}

.btn-secundario:hover {
  background: rgba(201, 161, 90, 0.1);
  transform: translateY(-2px);
}

.btn-grande { padding: 1rem 2rem; font-size: 1.05rem; }

.btn-whatsapp {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 2.2rem;
  border-radius: 999px;
  background: #25d366;
  color: #06210f;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp-pulso {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #25d366;
  animation: pulso 2.4s ease-out infinite;
  z-index: -1;
}

@keyframes pulso {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- Layout general ---------- */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.seccion {
  padding: 5.5rem 0;
  text-align: center;
}

.seccion h2 {
  color: var(--color-primario);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin-bottom: 0.8rem;
}

.seccion-subtitulo {
  color: var(--color-texto-suave);
  max-width: 560px;
  margin: 0 auto 3rem;
}

.seccion-alterna {
  background: var(--color-fondo-alterno);
  margin: 0 calc(50% - 50vw);
  padding-left: calc(50vw - 50% + 1.5rem);
  padding-right: calc(50vw - 50% + 1.5rem);
}

/* ---------- Mockups de telefono ---------- */

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

.mockup-card { text-align: center; }

.phone-frame {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  padding: 10px;
  background: #1a1a1a;
  box-shadow: 0 25px 50px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mockup-card:hover .phone-frame {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 32px 60px -18px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.1);
}

.phone-tap-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  pointer-events: none;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 45%;
  height: 18px;
  background: #1a1a1a;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.mockup-etiqueta {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-texto-suave);
}

.mockup-plan {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primario);
}

.mockup-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-texto);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.mockup-link:hover {
  color: var(--color-primario);
  border-color: var(--color-primario);
}

/* ---------- Como funciona ---------- */

.grid-pasos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  text-align: left;
  position: relative;
}

.paso { position: relative; }

.paso-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--color-primario);
  color: #16140f;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 20px -6px rgba(201, 161, 90, 0.5);
}

.paso h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.paso p { color: var(--color-texto-suave); margin: 0; }

/* ---------- Features ---------- */

.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.feature {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.6rem;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.feature:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(201, 161, 90, 0.35);
}

.feature-icono {
  font-size: 1.8rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.feature:hover .feature-icono { transform: scale(1.15) rotate(-4deg); }

.feature h3 { font-size: 1.1rem; margin: 0.8rem 0 0.5rem; }
.feature p { color: var(--color-texto-suave); margin: 0; font-size: 0.95rem; }
.feature p em { display: block; margin-top: 0.4rem; font-style: normal; font-size: 0.8rem; color: var(--color-primario); opacity: 0.9; }

/* ---------- Marquee de tipos de evento ---------- */

.seccion-tipos h2 { margin-bottom: 3rem; }

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 0.8rem;
  width: max-content;
  animation: desplazar 26s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes desplazar {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tipo-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---------- Precios ---------- */

.grid-precios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 161, 90, 0.35);
}

.plan-destacado {
  background: rgba(201, 161, 90, 0.06);
  border-color: rgba(201, 161, 90, 0.5);
}

.plan-etiqueta-destacado {
  position: absolute;
  top: -0.8rem;
  left: 1.75rem;
  background: var(--color-primario);
  color: #16140f;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  margin: 0;
}

.plan-nombre {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0.3rem 0 0.2rem;
  color: var(--color-primario);
}

.plan-precio {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
}

.plan-asterisco { color: var(--color-primario); }

.plan-ideal {
  color: var(--color-texto-suave);
  font-size: 0.9rem;
  margin: 0 0 1.4rem;
}

.plan-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex-grow: 1;
}

.plan-lista li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: var(--color-texto);
}

.plan-lista li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primario);
  font-weight: 800;
}

.plan-btn {
  align-self: flex-start;
}

.plan-nota {
  max-width: 700px;
  margin: 2rem auto 0;
  font-size: 0.85rem;
  color: var(--color-texto-suave);
  text-align: center;
}

/* ---------- Contacto ---------- */

.contacto-subtitulo {
  color: var(--color-texto-suave);
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ---------- Footer ---------- */

.footer {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-texto-suave);
  font-size: 0.9rem;
}

.logo-footer {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .blob, .confeti, .marquee-track, .hero-scroll span::before, .btn-whatsapp-pulso {
    animation: none !important;
  }
}

@media (max-width: 720px) {
  .solo-desktop { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 1.5rem 1rem 3.5rem; min-height: 85vh; }
  .seccion { padding: 3.5rem 0; }
  .nav { padding: 0.9rem 1rem; }
}
