/* ===================== LiSync — Estilos ===================== */

:root {
  --bg: #0b0714;
  --bg-alt: #120a22;
  --surface: #17102b;
  --surface-2: #1d1435;
  --border: rgba(255,255,255,0.08);
  --text: #f4f2fb;
  --text-dim: #b8b0d1;
  --text-dimmer: #8a7fa8;

  --purple: #8b5cf6;
  --violet: #a855f7;
  --pink: #ec4899;
  --orange: #f97316;
  --amber: #fbbf24;
  --cyan: #22d3ee;
  --green: #22c55e;

  --gradient-1: linear-gradient(135deg, var(--purple), var(--pink) 55%, var(--orange));
  --gradient-2: linear-gradient(135deg, var(--cyan), var(--purple));
  --gradient-text: linear-gradient(90deg, #a855f7, #ec4899 45%, #f97316 90%);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.25);
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; color: var(--text-dim); }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- cursor glow ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.16), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  transition: opacity .3s;
  will-change: transform;
}
@media (max-width: 900px) { .cursor-glow { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-1);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(236, 72, 153, 0.5);
  background-position: 100% 0;
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(11, 7, 20, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  margin-right: auto;
}
.logo span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-desktop {
  display: flex;
  gap: 32px;
}
.nav-desktop a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav-desktop a:hover { color: var(--text); }
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gradient-1);
  transition: width .25s var(--ease);
}
.nav-desktop a:hover::after { width: 100%; }

.nav-cta { margin-left: 8px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 24px;
  background: #0e0919;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 4px;
  font-weight: 500;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.nav-mobile .btn { margin-top: 12px; width: 100%; }

@media (max-width: 860px) {
  .nav-desktop, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: blur(10px);
}
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: .55;
  filter: blur(60px);
  animation: float 16s ease-in-out infinite;
}
.blob-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  top: -120px; left: -100px;
}
.blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--pink), transparent 70%);
  top: 30%; right: -140px;
  animation-delay: -5s;
}
.blob-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--orange), transparent 70%);
  bottom: -160px; left: 30%;
  animation-delay: -10s;
}
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-25px, 25px) scale(0.95); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 40%, transparent 90%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient-1);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  color: var(--text);
}
.text-gradient {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine {
  to { background-position: 200% center; }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}

.scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--border);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--gradient-1);
  border-radius: 4px;
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ---------- sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--text);
}
.section-head p { font-size: 1.05rem; }

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  position: relative;
  padding: 36px 30px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.18);
}
.service-card-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .35;
  transition: opacity .35s;
}
.service-card:hover .service-card-glow { opacity: .6; }
.glow-purple { background: var(--purple); }
.glow-orange { background: var(--orange); }
.glow-pink { background: var(--pink); }

.service-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  border-radius: 16px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.icon-purple { background: rgba(139,92,246,0.18); }
.icon-orange { background: rgba(249,115,22,0.18); }
.icon-pink { background: rgba(236,72,153,0.18); }
.icon-green { background: rgba(34,197,94,0.18); }

.service-card h3 { font-size: 1.35rem; color: var(--text); position: relative; z-index: 1; }
.service-card p { position: relative; z-index: 1; }
.service-list { position: relative; z-index: 1; }
.service-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-dim);
}
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* ---------- NFC section ---------- */
.nfc-section { background: var(--bg-alt); }
.nfc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .nfc-inner { grid-template-columns: 1fr; gap: 48px; }
  .nfc-visual { order: -1; }
}

.nfc-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.review-stand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .4s var(--ease);
}
.nfc-visual:hover .review-stand { transform: translateY(-4px) scale(1.02); }

.review-card-mock {
  width: 100%;
  max-width: 260px;
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 30px 70px rgba(139,92,246,0.35), 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
}
.review-google-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .01em;
}
.g-blue { color: #4285F4; }
.g-red { color: #EA4335; }
.g-yellow { color: #FBBC05; }
.g-green { color: #34A853; }

.review-stars {
  color: #FBBC05;
  font-size: 18px;
  letter-spacing: 3px;
}
.review-text {
  color: #3c3450;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}
.review-qr {
  width: 92px; height: 92px;
  background: #fff;
  border: 2px solid #ede9f7;
  border-radius: 8px;
  padding: 6px;
  margin: 4px 0;
}
.qr-grid {
  width: 100%; height: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 3px;
}
.qr-grid span { background: #241a35; border-radius: 1px; }
.qr-grid span:nth-child(3n+1) { background: #241a35; }
.qr-grid span:nth-child(5n+2) { background: transparent; }
.qr-grid span:nth-child(7n) { background: transparent; }
.qr-grid span:nth-child(1),
.qr-grid span:nth-child(5),
.qr-grid span:nth-child(21),
.qr-grid span:nth-child(25) { background: #8b5cf6; }

.review-nfc-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #8b5cf6;
  background: rgba(139,92,246,0.1);
  padding: 4px 10px;
  border-radius: 999px;
}
.review-business-name {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #9b93b0;
  border-top: 1px dashed #ece7f6;
  padding-top: 10px;
  width: 100%;
  text-align: center;
}

.review-stand-base {
  width: 130px;
  height: 16px;
  background: linear-gradient(180deg, #e8e3f5, #cfc6e8);
  border-radius: 0 0 10px 10px;
  margin-top: -4px;
  box-shadow: 0 14px 24px rgba(0,0,0,0.35);
}
.review-stand-base::before {
  content: '';
  display: block;
  height: 4px;
  background: rgba(0,0,0,0.08);
  border-radius: 4px;
  margin: 0 10px;
}
.nfc-tap-ring {
  position: absolute;
  width: 220px; height: 220px;
  border: 2px solid rgba(139,92,246,0.35);
  border-radius: 50%;
  animation: ring 2.6s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(0.6); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.check-list { margin: 22px 0 30px; }
.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text-dim);
}
.check-list li::before {
  content: '⚡';
  position: absolute;
  left: 0; top: 0;
}

/* ---------- proceso ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  padding: 30px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  transition: transform .3s var(--ease), background .3s;
}
.step:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.05);
}
.step-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; color: var(--text); }
.step p { font-size: 14px; margin-bottom: 0; }

/* ---------- contacto ---------- */
.contact-section { background: var(--bg-alt); overflow: hidden; }
.contact-blob { top: 10%; left: 50%; transform: translateX(-50%); opacity: .35; }

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform .25s var(--ease), border-color .25s;
}
.contact-card:hover {
  transform: translateX(4px);
  border-color: rgba(255,255,255,0.2);
}
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-card h4 { margin: 0 0 2px; font-size: 15px; color: var(--text); }
.contact-card p { margin: 0; font-size: 14px; color: var(--text-dim); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--text-dim); }
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  transition: border-color .2s, background .2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-dimmer); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(139,92,246,0.08);
}
.form-field select option { background: var(--surface); color: var(--text); }

.btn-submit { width: 100%; }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form-status {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
  margin: 0;
}
.form-status.success { color: var(--green); }
.form-status.error { color: var(--pink); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-inner p { margin: 0; font-size: 14px; color: var(--text-dimmer); }
.footer-links { display: flex; gap: 20px; font-size: 14px; }
.footer-links a { color: var(--text-dim); transition: color .2s; }
.footer-links a:hover { color: var(--text); }

/* ---------- whatsapp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 90;
  animation: floatbtn 3s ease-in-out infinite;
}
@keyframes floatbtn {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1.in-view { transition-delay: .08s; }
.delay-2.in-view { transition-delay: .16s; }
.delay-3.in-view { transition-delay: .24s; }
.delay-4.in-view { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
