/* ============================================================================
   RETURNIA LANDING PAGE — ESTILOS PRINCIPALES
   Paleta: Verde esmeralda (#10b981) + blanco/gris claro
   Tipografía: Inter + Bricolage Grotesque
   ============================================================================ */

/* ---- RESET & VARIABLES ---- */
:root {
  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-light: #d1fae5;
  --emerald-subtle: #ecfdf5;
  --emerald-glow: rgba(16, 185, 129, 0.15);

  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;

  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-gray: #f3f4f6;

  --border-light: #e5e7eb;
  --border-medium: #d1d5db;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.10), 0 4px 10px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.07);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;

  --max-width: 1200px;
  --nav-height: 68px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ============================================================================
   NAVEGACIÓN
   ============================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.logo-icon-sm {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--emerald-dark);
  background-color: var(--emerald-subtle);
}

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline-nav {
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-medium);
  color: var(--text-secondary);
  background: transparent;
}
.btn-outline-nav:hover {
  border-color: var(--emerald);
  color: var(--emerald-dark);
  background: var(--emerald-subtle);
}

.btn-primary-nav {
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.btn-primary-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border-light);
  padding: 16px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
.mobile-drawer.open {
  display: flex;
}
.mobile-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.mobile-link:hover { background: var(--bg-light); }
.w-full { width: 100%; }
.mt-2 { margin-top: 8px; }

/* ============================================================================
   LAYOUT
   ============================================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-white { background: var(--bg-white); }
.section-light { background: var(--bg-light); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--emerald-dark);
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-light);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

/* Background animated shapes */
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  bottom: -50px; left: -50px;
  animation: floatShape 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: floatShape 12s ease-in-out infinite;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-10px, 15px) scale(0.98); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 24px 60px;
  position: relative;
  z-index: 1;
}

/* Hero Content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--emerald-dark);
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-light);
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--emerald);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-dark));
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-hero-primary {
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  font-weight: 700;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.45);
}

.btn-hero-secondary {
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-medium);
  font-weight: 600;
}
.btn-hero-secondary:hover {
  border-color: var(--emerald);
  color: var(--emerald-dark);
  background: var(--emerald-subtle);
}

.btn-light {
  background: rgba(255,255,255,0.15) !important;
  border: 1.5px solid rgba(255,255,255,0.4) !important;
  color: white !important;
}
.btn-light:hover {
  background: rgba(255,255,255,0.25) !important;
}

/* Trust row */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-avatars {
  display: flex;
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid white;
  background: var(--emerald-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-left: -8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.avatar:first-child { margin-left: 0; }

.trust-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ============================================================================
   PHONE MOCKUP + WALLET CARD
   ============================================================================ */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  z-index: 2;
}

.phone-shell {
  width: 280px;
  background: #1c1c1e;
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1) inset,
    0 30px 60px rgba(0,0,0,0.3),
    0 10px 20px rgba(0,0,0,0.2);
}

.phone-notch {
  width: 80px; height: 24px;
  background: #1c1c1e;
  border-radius: 12px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: #f2f2f7;
  border-radius: 32px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

/* Wallet Card on phone */
.wallet-card {
  background: linear-gradient(135deg, #1a4a3a, #0d3329);
  border-radius: 18px;
  padding: 16px;
  color: white;
  position: relative;
  overflow: hidden;
}

.wallet-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(16,185,129,0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.wallet-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.wallet-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-logo {
  width: 28px; height: 28px;
  background: var(--emerald);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.wallet-merchant-name {
  font-size: 0.75rem;
  font-weight: 700;
}

.wallet-label {
  font-size: 0.55rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.apple-wallet-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  opacity: 0.7;
}

.wallet-stamps-row {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.stamp {
  font-size: 1.2rem;
  opacity: 0.3;
}
.stamp.filled { opacity: 1; }
.stamp.reward { font-size: 1rem; opacity: 0.5; }

.wallet-progress {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  opacity: 0.7;
  margin-bottom: 10px;
}
.progress-value { font-weight: 700; }

.wallet-member {
  display: flex;
  gap: 8px;
  font-size: 0.62rem;
  margin-bottom: 10px;
}
.member-label { opacity: 0.6; }
.member-name { font-weight: 700; }

.wallet-qr {
  display: flex;
  justify-content: center;
  margin: 4px 0;
}

/* Push Notification */
.push-notif {
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  animation: slideInPush 3s ease 1s both;
}

@keyframes slideInPush {
  0% { transform: translateX(100%); opacity: 0; }
  15%, 85% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

.push-icon { font-size: 1.1rem; }
.push-app {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.push-msg {
  font-size: 0.68rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}

/* Stat Badges (floating) */
.stat-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  animation: float 4s ease-in-out infinite;
}

.stat-badge-1 {
  left: -40px;
  top: 20%;
  animation-delay: 0s;
}

.stat-badge-2 {
  right: -30px;
  bottom: 25%;
  animation-delay: 1.5s;
}

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

.stat-icon { font-size: 1.4rem; }
.stat-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================================
   LOGOS STRIP
   ============================================================================ */
.logos-strip {
  padding: 32px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.logos-scroll {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logos-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scrollLogos 25s linear infinite;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.biz-logo {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  padding: 8px 20px;
  background: white;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* ============================================================================
   STEPS / CÓMO FUNCIONA
   ============================================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.step-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-light);
}

.step-number {
  position: absolute;
  top: -14px; left: 24px;
  width: 28px; height: 28px;
  background: var(--emerald);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.step-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon-emerald { background: var(--emerald-subtle); color: var(--emerald-dark); }
.step-icon-blue { background: #eff6ff; color: #3b82f6; }
.step-icon-purple { background: #f5f3ff; color: #7c3aed; }

.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-arrow {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--emerald);
  font-weight: 700;
  z-index: 1;
}

.step-card-last .step-arrow { display: none; }

.demo-cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-light);
  border-radius: var(--radius-xl);
  padding: 28px 40px;
}

.demo-cta-bar p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--emerald-dark);
}

.btn-primary {
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: white;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* ============================================================================
   PRODUCT SECTION
   ============================================================================ */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.feature-item:last-child { margin-bottom: 0; }

.feature-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.fi-emerald {
  background: var(--emerald-subtle);
  color: var(--emerald-dark);
}

.feature-item h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Product Wallet Visuals */
.product-visual {
  position: relative;
}

.wallet-visual-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wallet-preview {
  border-radius: 18px;
  padding: 20px;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wallet-preview:hover {
  transform: translateY(-4px);
}

.apple-preview {
  background: linear-gradient(135deg, #1a4a3a, #0d3329);
  box-shadow: 0 8px 30px rgba(13, 51, 41, 0.35);
}

.google-preview {
  background: linear-gradient(135deg, #1e3a5f, #0f2340);
  box-shadow: 0 8px 30px rgba(15, 35, 64, 0.35);
}

.wallet-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.wph-brand { font-size: 0.9rem; font-weight: 700; }

.wph-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}

.apple-badge {
  background: rgba(255,255,255,0.15);
}

.google-badge {
  background: rgba(255,255,255,0.15);
}

.wallet-preview-stamps {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.wp-stamp {
  font-size: 1.3rem;
  opacity: 0.3;
  transition: opacity 0.3s;
}
.wp-stamp.filled { opacity: 1; }
.wp-stamp.reward-stamp { font-size: 1.1rem; opacity: 0.5; }

.wallet-preview-info {
  display: flex;
  gap: 20px;
}

.wpi-label {
  font-size: 0.6rem;
  font-weight: 600;
  opacity: 0.55;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.wpi-value {
  font-size: 0.85rem;
  font-weight: 700;
}

/* Points Preview */
.wallet-preview-points { margin-bottom: 14px; }

.points-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}

.points-big {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.points-unit {
  font-size: 0.85rem;
  opacity: 0.7;
  font-weight: 600;
}

.points-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  opacity: 0.65;
  margin-bottom: 6px;
}

.points-bar-bg {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
}

.points-bar-fill {
  height: 100%;
  background: var(--emerald);
  border-radius: 3px;
  transition: width 1s ease;
}

/* ============================================================================
   SECTORS
   ============================================================================ */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.sector-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s ease;
}

.sector-card:hover {
  border-color: var(--emerald-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sector-emoji {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.sector-card h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.sector-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.sector-use-case {
  font-size: 0.78rem;
  color: var(--emerald-dark);
  font-weight: 600;
  background: var(--emerald-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

.sectors-cta {
  text-align: center;
}

.sectors-cta p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */
.testimonials-section {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.testimonial-featured {
  border-color: var(--emerald);
  box-shadow: 0 0 0 1px var(--emerald-light), var(--shadow-md);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-biz {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald-dark);
  background: var(--emerald-subtle);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--emerald-light);
}

/* ============================================================================
   PRECIOS
   ============================================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
}

.pricing-card {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.pricing-featured {
  border-color: var(--emerald);
  background: linear-gradient(180deg, #f0fdf4 0%, white 40%);
  box-shadow: 0 0 0 1px var(--emerald), var(--shadow-lg);
  transform: scale(1.02);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.price-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-billing {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.check {
  color: var(--emerald);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.x {
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
}

.muted { color: var(--text-muted); }

.btn-outline-plan {
  font-size: 0.93rem;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-medium);
  color: var(--text-secondary);
  background: white;
  font-weight: 600;
  text-align: center;
}
.btn-outline-plan:hover {
  border-color: var(--emerald);
  color: var(--emerald-dark);
  background: var(--emerald-subtle);
}

.btn-plan-featured {
  font-size: 0.93rem;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: white;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}
.btn-plan-featured:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.pricing-note {
  text-align: center;
}

.pricing-note p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px 28px;
  display: inline-block;
}

/* ============================================================================
   DEMO FORM
   ============================================================================ */
.demo-section {
  background: linear-gradient(135deg, #064e3b, #065f46, #047857);
  color: white;
}

.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-tag-white {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.2);
}

.demo-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}

.demo-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 28px;
}

.demo-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-perks li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

/* Form Card */
.demo-form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  background: var(--bg-light);
  transition: all 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald);
  background: white;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.form-gdpr input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--emerald);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-gdpr label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
}

.form-gdpr a { color: var(--emerald-dark); text-decoration: underline; }

.form-error {
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 12px;
  background: #fef2f2;
  border-radius: var(--radius-sm);
  border-left: 3px solid #dc2626;
}

.form-success {
  color: var(--emerald-dark);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 16px;
  background: var(--emerald-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--emerald-light);
  text-align: center;
}

.btn-demo-submit {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: white;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-demo-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
}

.btn-demo-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================================
   FAQ
   ============================================================================ */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:has(.open) {
  border-color: var(--emerald-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
  transition: background 0.2s ease;
}

.faq-question:hover { background: var(--bg-light); }

.faq-icon {
  font-size: 1.4rem;
  color: var(--emerald);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 400px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================================
   FINAL CTA
   ============================================================================ */
.final-cta-section {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  padding: 96px 0;
}

.final-cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.final-cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-hero-primary.final-btn {
  background: white;
  color: var(--emerald-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.final-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer .logo-text { color: white; }

.footer-tagline {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.65;
  margin: 12px 0 16px;
  max-width: 280px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact a {
  font-size: 0.85rem;
  color: #64748b;
  transition: color 0.2s;
}

.footer-contact a:hover { color: var(--emerald); }

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e2e8f0;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--emerald); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: #475569;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 500;
  transition: all 0.3s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

/* ============================================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
    padding: 60px 24px;
  }

  .hero-badge, .hero-actions, .hero-trust {
    justify-content: center;
  }

  .hero-subtitle { max-width: none; }

  .hero-visual { justify-content: center; }

  .phone-shell { width: 260px; }

  .stat-badge-1 { left: -10px; }
  .stat-badge-2 { right: -10px; }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto 48px;
  }

  .step-arrow {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .testimonial-card.testimonial-featured {
    order: -1;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto 32px;
  }

  .pricing-featured {
    transform: none;
    order: -1;
  }

  .demo-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links-group {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================================================ */
@media (max-width: 640px) {
  :root {
    --nav-height: 62px;
  }

  .section { padding: 72px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-title { letter-spacing: -0.5px; }

  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }

  .phone-shell { width: 240px; }
  .stat-badge { display: none; }

  .demo-cta-bar { flex-direction: column; text-align: center; gap: 14px; }

  .sectors-grid { grid-template-columns: 1fr 1fr; }

  .pricing-grid { max-width: none; }

  .form-row { grid-template-columns: 1fr; }

  .final-cta-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary.btn-light { width: 100%; justify-content: center; }

  .footer-links-group { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .wallet-visual-container { max-width: 340px; margin: 0 auto; }
}
