/* ===================================================================
   GP Creations — Menú de Servicios (landing en subdominio)
   Mismos tokens de marca que gpcreationsusa.com
   =================================================================== */

:root {
  --background: 252 45% 5%;
  --foreground: 40 6% 95%;
  --hero-sub: 40 6% 82%;
  --muted: 250 12% 65%;

  --grad-1: #6366f1; /* indigo */
  --grad-2: #a855f7; /* purple */
  --grad-3: #fcd34d; /* amber */

  --font-body: 'DM Sans', sans-serif;
  --font-heading: 'Clash Grotesk', 'DM Sans', sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.gradient-text {
  font-weight: 600;
  background-image: linear-gradient(to left, var(--grad-1), var(--grad-2), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Fondo del hero ---------- */
.menu-hero-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 20% 15%, rgba(99, 102, 241, 0.35), transparent 60%),
    radial-gradient(55% 45% at 85% 20%, rgba(168, 85, 247, 0.3), transparent 60%),
    radial-gradient(50% 40% at 50% 90%, rgba(252, 211, 77, 0.12), transparent 60%),
    hsl(var(--background));
  background-size: 200% 200%;
  animation: gp-drift 22s ease-in-out infinite;
}

@keyframes gp-drift {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 60%; }
  100% { background-position: 0% 0%; }
}

.menu-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-bg-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 260px;
  background: linear-gradient(to bottom, transparent, hsl(var(--background)) 90%);
  pointer-events: none;
}

/* ---------- Hero ---------- */
.menu-hero {
  position: relative;
  z-index: 10;
  padding-bottom: 110px;
}

.menu-hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 24px 0;
  text-align: center;
}

.menu-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: hsl(var(--foreground) / 0.85);
}

.menu-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-2);
}

.menu-hero-title {
  margin: 26px auto 0;
  max-width: 900px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: hsl(var(--foreground));
}

.menu-hero-subtitle {
  margin: 20px auto 0;
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.6;
  color: hsl(var(--hero-sub) / 0.8);
}

.menu-hero-btn {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 40px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--grad-3), #f59e0b);
  color: #1c1c1e;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 16px 34px rgba(252, 211, 77, 0.3);
  transition: transform 0.2s ease;
}

.menu-hero-btn:hover { transform: translateY(-2px); }

/* ---------- Servicios ---------- */
.menu-services {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.menu-group-label {
  grid-column: 1 / -1;
  margin: 40px 0 4px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--grad-2);
  text-align: center;
}

.menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border-radius: 20px;
  background: linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)), hsl(var(--background));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.menu-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.35);
}

.menu-card-featured {
  background: linear-gradient(160deg, rgba(252, 211, 77, 0.09), rgba(168, 85, 247, 0.12)), hsl(var(--background));
  border-color: rgba(252, 211, 77, 0.32);
}

.menu-card-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: hsl(var(--foreground) / 0.07);
  user-select: none;
}

.menu-card-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--grad-2);
}

.menu-card-tag-new {
  padding: 5px 12px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--grad-3), #f59e0b);
  color: #1c1c1e;
}

.menu-card-title {
  margin: 12px 0 0;
  padding-right: 46px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.42rem;
  line-height: 1.22;
  color: hsl(var(--foreground));
}

.menu-card-tagline {
  margin: 9px 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: hsl(var(--hero-sub) / 0.72);
}

.menu-card-price {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-card-amount {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
  background-image: linear-gradient(135deg, var(--grad-3), #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.menu-card-period {
  font-size: 0.95rem;
  font-weight: 600;
}

.menu-card-note {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: hsl(var(--hero-sub) / 0.6);
}

.menu-card-desc {
  margin: 20px 0 0;
  font-size: 0.9rem;
  line-height: 1.62;
  color: hsl(var(--hero-sub) / 0.82);
}

.menu-card-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-card-list li {
  position: relative;
  padding-left: 27px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: hsl(var(--foreground) / 0.88);
}

.menu-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
}

.menu-card-featured .menu-card-list li::before {
  background: linear-gradient(135deg, var(--grad-3), #f59e0b);
}

.menu-card-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 9px;
  height: 9px;
  background: #ffffff;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.menu-card-featured .menu-card-list li::after { background: #1c1c1e; }

.menu-card-highlight {
  margin: 18px 0 0;
  padding: 11px 14px;
  border-radius: 11px;
  background: rgba(252, 211, 77, 0.1);
  border: 1px solid rgba(252, 211, 77, 0.28);
  font-size: 0.8rem;
  line-height: 1.45;
  color: hsl(var(--foreground) / 0.9);
}

.menu-card-btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 14px 30px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.87rem;
  box-shadow: 0 12px 26px rgba(139, 92, 246, 0.3);
  transition: transform 0.2s ease;
}

.menu-card-btn:hover { transform: translateY(-2px); }

.menu-card-btn-amber {
  background: linear-gradient(135deg, var(--grad-3), #f59e0b);
  color: #1c1c1e;
  box-shadow: 0 12px 26px rgba(252, 211, 77, 0.3);
}

/* ---------- CTA final ---------- */
.menu-cta-section {
  position: relative;
  z-index: 1;
  padding: 60px 24px 90px;
}

.menu-cta {
  max-width: 660px;
  margin: 0 auto;
  padding: 44px 30px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.22), rgba(168, 85, 247, 0.22));
  border: 1px solid rgba(168, 85, 247, 0.3);
  text-align: center;
}

.menu-cta-heading {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  color: hsl(var(--foreground));
}

.menu-cta-subtitle {
  margin: 14px auto 0;
  max-width: 46ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: hsl(var(--hero-sub) / 0.85);
}

.menu-cta-btn {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--grad-3), #f59e0b);
  color: #1c1c1e;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 16px 34px rgba(252, 211, 77, 0.3);
  transition: transform 0.2s ease;
}

.menu-cta-btn svg { width: 20px; height: 20px; }
.menu-cta-btn:hover { transform: translateY(-2px); }

.menu-cta-phone {
  margin: 16px 0 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: hsl(var(--foreground) / 0.9);
}

/* ---------- Footer ---------- */
.menu-footer {
  padding: 0 24px 46px;
  text-align: center;
}

.menu-footer-link {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: hsl(var(--foreground) / 0.45);
  transition: color 0.2s ease;
}

.menu-footer-link:hover { color: hsl(var(--foreground) / 0.8); }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.wa-float-btn:hover { transform: translateY(-3px); }
.wa-float-btn-icon { width: 34px; height: 34px; }

/* ---------- Saltos de línea por breakpoint ---------- */
.title-break-desktop { display: block; }
.title-break-mobile { display: none; }

/* ---------- Animación de aparición ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  filter: blur(5px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .hero-bg-gradient { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .menu-services { grid-template-columns: 1fr; max-width: 560px; }
  .menu-card-title { padding-right: 40px; }
}

@media (max-width: 767px) {
  .title-break-desktop { display: none; }
  .title-break-mobile { display: block; }

  .menu-hero-content { padding: 44px 20px 0; }
  .menu-hero-title { font-size: 34px; line-height: 1.12; }
  .menu-hero-subtitle { font-size: 0.95rem; margin-top: 16px; }
  .menu-hero-btn { margin-top: 32px; padding: 16px 34px; }
  .menu-hero { padding-bottom: 60px; }

  .hero-bg-fade { height: 160px; }

  .menu-services { padding: 0 20px 30px; gap: 20px; }
  .menu-group-label { margin-top: 28px; }

  /* Más aire antes de "TRÁFICO Y CONVERSIÓN" (el segundo grupo) */
  .menu-group-label ~ .menu-group-label { margin-top: 72px; }
  .menu-card { padding: 28px 22px 26px; }
  .menu-card-num { font-size: 34px; top: 18px; right: 20px; }
  .menu-card-title { font-size: 1.24rem; padding-right: 34px; }
  .menu-card-btn { width: 100%; }

  .menu-cta-section { padding: 40px 20px 70px; }
  .menu-cta { padding: 34px 22px; border-radius: 20px; }
  .menu-cta-btn { width: 100%; }

  .wa-float-btn { right: 16px; bottom: 16px; width: 62px; height: 62px; }
  .wa-float-btn-icon { width: 31px; height: 31px; }
}
