/* =============================================
   PLANNER DIGITAL — Design System (Light Mode)
   Paleta morada del logo + fondo crema/blanco
   Tipografía: Playfair Display + DM Sans
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,700;1,800&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ── */
:root {
  --primary:        #6B3FA0;
  --primary-light:  #9B6FD4;
  --primary-lighter:#B88FE0;
  --primary-dark:   #4A2880;
  --primary-deeper: #2D1660;

  --bg:             #FDFBFF;
  --bg-2:           #F5F0FC;
  --bg-3:           #EDE5F8;
  --bg-card:        #FFFFFF;
  --bg-card-hover:  #F9F5FF;

  --dark:           #1A0F2E;
  --dark-2:         #2D1E4A;
  --text-body:      #4B3D6B;
  --text-muted:     #8B7AAA;
  --text-heading:   #1A0F2E;

  --border:         rgba(107,63,160,0.12);
  --border-strong:  rgba(107,63,160,0.28);
  --border-glow:    rgba(107,63,160,0.45);

  --gradient-primary: linear-gradient(135deg, #6B3FA0 0%, #9B6FD4 100%);
  --gradient-soft:    linear-gradient(135deg, #EDE5F8 0%, #F9F5FF 100%);
  --gradient-hero:    linear-gradient(160deg, #F9F5FF 0%, #EDE5F8 40%, #F5F0FC 100%);
  --gradient-text:    linear-gradient(90deg, #6B3FA0, #9B6FD4, #6B3FA0);

  --font-heading:   'Playfair Display', serif;
  --font-body:      'DM Sans', sans-serif;

  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      22px;
  --radius-xl:      32px;
  --radius-full:    100px;

  --shadow-sm:      0 2px 12px rgba(107,63,160,0.08);
  --shadow-md:      0 6px 28px rgba(107,63,160,0.13);
  --shadow-lg:      0 12px 48px rgba(107,63,160,0.18);
  --shadow-glow:    0 0 40px rgba(107,63,160,0.22);
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.15;
}

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

/* ── UTILITY ── */
.text-gradient {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s linear infinite;
}
@keyframes shimmerText {
  to { background-position: 200% center; }
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107,63,160,0.08);
  border: 1px solid rgba(107,63,160,0.2);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  color: var(--text-heading);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Divider line */
.section-divider {
  width: 60px; height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  margin: 0 auto 2rem;
}

/* ── BUTTONS ── */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(107,63,160,0.35);
  font-family: var(--font-body);
}
.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s;
}
.btn-primary-custom:hover::before { left: 100%; }
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(107,63,160,0.5);
  color: #fff;
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--primary);
  padding: 13px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(107,63,160,0.35);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-outline-custom:hover {
  background: rgba(107,63,160,0.06);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ── CARD ── */
.card-custom {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card-custom:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  background: var(--bg-card-hover);
}

/* ────────────────────────────────
   NAVBAR
──────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(253,251,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  font-family: var(--font-body);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1200;  /* above mobile-menu overlay */
  position: relative;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(253,251,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 0 2rem;
}
.mobile-menu.open { display: flex; opacity: 1; }

.mobile-menu-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
  width: 40px; height: 40px;
  background: rgba(107,63,160,0.08);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}
.mobile-menu-close:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-heading);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--primary); }

/* ────────────────────────────────
   HERO
──────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 80px;
}

/* Blobs decorativos */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  animation: blobFloat 7s ease-in-out infinite;
}
.hero-blob-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(155,111,212,0.18) 0%, transparent 70%);
  top: -120px; left: -80px;
}
.hero-blob-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(107,63,160,0.14) 0%, transparent 70%);
  bottom: -60px; right: -40px;
  animation-delay: 2.5s;
}
.hero-blob-3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(184,143,224,0.2) 0%, transparent 70%);
  top: 40%; left: 50%;
  animation-delay: 5s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(18px, -18px) scale(1.04); }
  66%       { transform: translate(-12px, 12px) scale(0.96); }
}

/* Decorative dots pattern */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(107,63,160,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107,63,160,0.1);
  border: 1px solid rgba(107,63,160,0.22);
  color: var(--primary);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}

.hero-headline {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--text-heading);
  font-family: var(--font-heading);
}
.hero-headline em {
  font-style: italic;
  color: var(--primary);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 490px;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
}
.hero-stat .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-dashboard {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(107,63,160,0.1);
  animation: floatDashboard 4.5s ease-in-out infinite;
}
.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(107,63,160,0.15);
}
.hero-venue-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-photo-wrap:hover .hero-venue-photo { transform: scale(1.04); }

.hero-photo-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: rgba(253,251,255,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.hero-photo-badge i {
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
}
.hero-photo-badge strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-heading);
  font-family: var(--font-heading);
}
.hero-photo-badge span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ────────────────────────────────
   PAIN SECTION
──────────────────────────────── */
#problema {
  background: var(--bg);
  padding: 100px 0;
  position: relative;
}
#problema::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.pain-item:hover {
  background: #FFF5F5;
  border-color: rgba(220,60,60,0.18);
}
.pain-icon {
  width: 42px; height: 42px;
  background: rgba(220,60,60,0.08);
  border: 1px solid rgba(220,60,60,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #D94848;
  font-size: 1rem;
}
.pain-text strong {
  display: block;
  color: var(--text-heading);
  font-size: 0.93rem;
  margin-bottom: 3px;
  font-weight: 600;
}
.pain-text span {
  font-size: 0.83rem;
  color: var(--text-muted);
}
.pain-close {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: italic;
  color: var(--text-heading);
}

/* ────────────────────────────────
   SOLUTION
──────────────────────────────── */
#solucion {
  padding: 100px 0;
  background: var(--bg-2);
  position: relative;
}
#solucion::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.solution-reveal {
  background: linear-gradient(135deg, #fff 0%, var(--bg-2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.solution-reveal::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(107,63,160,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.solution-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 7px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 2rem;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
}

.solution-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  margin-bottom: 1.25rem;
  color: var(--text-heading);
  font-family: var(--font-heading);
}
.solution-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.not-just {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.not-just .strike {
  padding: 9px 20px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.87rem;
  text-decoration: line-through;
  opacity: 0.7;
}
.not-just .is {
  padding: 9px 24px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.87rem;
  font-weight: 700;
}

/* ────────────────────────────────
   FEATURES
──────────────────────────────── */
#features {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}
#features::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.feature-card { padding: 2rem; height: 100%; }

.feature-icon-wrap {
  width: 52px; height: 52px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
  color: var(--primary);
  transition: var(--transition);
}
.card-custom:hover .feature-icon-wrap {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(107,63,160,0.35);
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}
.feature-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  color: var(--primary);
  margin-top: 1rem;
  font-weight: 600;
  opacity: 0.8;
}

/* ────────────────────────────────
   HOW IT WORKS
──────────────────────────────── */
#como-funciona {
  padding: 100px 0;
  background: var(--bg-2);
  position: relative;
}
#como-funciona::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.steps-timeline {
  position: relative;
  padding-left: 60px;
}
.steps-timeline::before {
  content: '';
  position: absolute;
  left: 20px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-lighter), rgba(107,63,160,0.1));
}

.step-item {
  position: relative;
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.step-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  left: -62px; top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 0 0 5px rgba(107,63,160,0.12), var(--shadow-sm);
}
.step-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
}
.step-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Steps photo panel */
.steps-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.steps-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.steps-photo-wrap:hover .steps-photo { transform: scale(1.04); }

.steps-photo-card {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: rgba(253,251,255,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.4;
  box-shadow: var(--shadow-md);
}
.steps-photo-card i {
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .steps-photo { height: 320px; }
}
@media (max-width: 768px) {
  .steps-photo { height: 240px; }
}

/* Use-case photo cards */
.use-case-photo {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  overflow: hidden;
}
.use-case-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,10,40,0.28) 0%,
    rgba(20,10,40,0.72) 100%
  );
  z-index: 0;
}
.use-case-photo .use-case-icon,
.use-case-photo .use-case-name,
.use-case-photo .use-case-desc {
  position: relative;
  z-index: 1;
}
.use-case-photo .use-case-icon {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.use-case-photo .use-case-name { color: #fff; }
.use-case-photo .use-case-desc { color: rgba(255,255,255,0.78); }
.use-case-photo:hover .use-case-icon {
  background: rgba(255,255,255,0.28);
  box-shadow: none;
}


#comparativo {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}
#comparativo::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare-table thead tr th {
  padding: 1.1rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
}
.compare-table thead .th-old {
  background: #F5F5F8;
  color: var(--text-muted);
}
.compare-table thead .th-new {
  background: var(--gradient-primary);
  color: #fff;
}
.compare-table tbody tr td {
  padding: 0.95rem 1.5rem;
  font-size: 0.88rem;
  border-top: 1px solid var(--border);
}
.compare-table tbody tr:nth-child(even) td { background: rgba(107,63,160,0.025); }
.compare-table tbody .td-feature { color: var(--text-muted); font-weight: 500; }
.compare-table tbody .td-old { color: #CC3333; }
.compare-table tbody .td-new { color: #2E8B57; font-weight: 600; }
.compare-table tbody .td-old::before { content: '✗  '; }
.compare-table tbody .td-new::before { content: '✓  '; }

/* ────────────────────────────────
   USE CASES
──────────────────────────────── */
#casos {
  padding: 100px 0;
  background: var(--bg-2);
  position: relative;
}
#casos::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.25rem;
}
.use-case-card {
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: default;
}
.use-case-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(107,63,160,0.12), rgba(155,111,212,0.08));
  border: 1px solid rgba(107,63,160,0.22);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}
.card-custom:hover .use-case-icon {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(107,63,160,0.35);
}
.use-case-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
}
.use-case-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ────────────────────────────────
   SOCIAL PROOF
──────────────────────────────── */
#social-proof {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}
#social-proof::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.counter-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.counter-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.counter-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card { padding: 2rem; }
.testimonial-stars {
  color: #F59E0B;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.93rem;
  color: var(--text-body);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  color: #fff;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  color: var(--text-heading);
  font-size: 0.88rem;
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ────────────────────────────────
   SOUVENIRS / MERCH / CONCEPTOS — Bento Grid
──────────────────────────────── */
#souvenirs {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}
#souvenirs::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* Bento container */
.extras-bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.bento-col-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Base card */
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

/* Large card (concepto) */
.bento-concept {
  min-height: 480px;
}

/* Small cards (souvenirs, merch) */
.bento-small {
  flex-direction: row;
  min-height: 220px;
}

/* Photo wrapper */
.bento-photo-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Full-width photo for large card */
.bento-concept .bento-photo-wrap {
  height: 220px;
}

/* Half photo for small cards */
.bento-photo-half {
  width: 42%;
}

.bento-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.bento-card:hover .bento-photo {
  transform: scale(1.06);
}

/* Gradient overlay over photos */
.bento-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(107,63,160,0.25) 100%
  );
}
.bento-small .bento-photo-overlay {
  background: linear-gradient(
    to right,
    transparent 50%,
    rgba(107,63,160,0.18) 100%
  );
}

/* Content area */
.bento-content {
  padding: 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bento-content-sm {
  padding: 1.25rem 1.5rem;
  justify-content: center;
}

/* Icon badge */
.bento-icon-badge {
  width: 40px; height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 14px rgba(107,63,160,0.35);
  flex-shrink: 0;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.bento-concept .bento-title {
  font-size: 1.35rem;
}

.bento-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.bento-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}
.bento-pills span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(107,63,160,0.07);
  border: 1px solid rgba(107,63,160,0.18);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.73rem;
  font-weight: 600;
  white-space: nowrap;
}
.bento-pills span i { font-size: 0.65rem; }

/* CTA row */
.extras-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
}
.extras-cta-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.extras-cta-text i { color: var(--primary); flex-shrink: 0; }

/* Responsive bento */
@media (max-width: 991px) {
  .extras-bento { grid-template-columns: 1fr; }
  .bento-concept { min-height: auto; }
  .bento-small { min-height: 180px; }
}
@media (max-width: 576px) {
  .bento-small { flex-direction: column; }
  .bento-photo-half { width: 100%; height: 160px; }
  .extras-cta-row { flex-direction: column; align-items: flex-start; }
}


/* ────────────────────────────────
   CTA FINAL
──────────────────────────────── */
#cta-final {
  padding: 120px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}
#cta-final::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(155,111,212,0.25) 0%, transparent 65%);
  pointer-events: none;
}
#cta-final::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(155,111,212,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.cta-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  position: relative; z-index: 2;
  font-family: var(--font-heading);
}
.cta-headline em { font-style: italic; color: var(--primary-lighter); }
.cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
  position: relative; z-index: 2;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative; z-index: 2;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary-dark);
  padding: 14px 36px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  font-family: var(--font-body);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  color: var(--primary-dark);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
  color: #fff;
}

/* ────────────────────────────────
   FOOTER
──────────────────────────────── */
footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo img { height: 30px; filter: brightness(0) invert(1); }
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-lighter); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ────────────────────────────────
   SCROLL TO TOP
──────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--gradient-primary);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 900;
}
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ────────────────────────────────
   CONTACTO
──────────────────────────────── */
#contacto {
  padding: 100px 0;
  background: var(--bg-2);
  position: relative;
}
#contacto::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* Info column */
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem 0;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}
.contact-info-icon {
  width: 48px; height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(107,63,160,0.3);
}
.contact-info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 3px;
  font-family: var(--font-body);
}
.contact-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
  font-family: var(--font-body);
  transition: var(--transition);
}
a.contact-info-value:hover { color: var(--primary); }

/* Form card */
.contact-form-card {
  padding: 2.5rem;
}

/* Form status alert */
.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.form-status.success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.28);
  color: #15803d;
}
.form-status.error {
  background: rgba(220,60,60,0.07);
  border: 1px solid rgba(220,60,60,0.22);
  color: #b91c1c;
}

/* Field groups */
.contact-field-group {
  margin-bottom: 1.35rem;
}
.contact-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}
.contact-label i {
  color: var(--primary);
  margin-right: 4px;
}
.required { color: var(--primary); }

.contact-input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-heading);
  transition: var(--transition);
  outline: none;
  resize: none;
}
.contact-input::placeholder { color: var(--text-muted); opacity: 0.75; }
.contact-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107,63,160,0.12);
  background: #fff;
}
.contact-textarea { min-height: 110px; }

/* Submit button full-width */
.contact-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.97rem;
  margin-top: 0.5rem;
}
.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* ────────────────────────────────
   RESPONSIVE
──────────────────────────────── */
@media (max-width: 991px) {
  .counter-grid { grid-template-columns: repeat(3, 1fr); }
  .pain-grid    { grid-template-columns: 1fr; }
  .hero-phone   { width: 120px; right: -10px; bottom: -20px; }
}
@media (max-width: 768px) {
  #hero { padding: 110px 0 60px; }
  .hero-visual  { margin-top: 3rem; }
  .hero-phone   { display: none; }
  .nav-links, .nav-cta { display: none; }
  .hamburger    { display: flex; }
  .counter-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pain-grid    { grid-template-columns: 1fr; }
  .steps-timeline { padding-left: 48px; }
  .step-number  { left: -54px; width: 36px; height: 36px; font-size: 0.88rem; }
  .solution-reveal { padding: 40px 24px; }
  .compare-table thead th,
  .compare-table tbody td { padding: 0.7rem 1rem; font-size: 0.8rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .contact-form-card { padding: 1.75rem; }
  .contact-info-wrap  { padding: 1rem 0; }
}
@media (max-width: 480px) {
  .hero-headline   { font-size: 2.4rem; }
  .hero-ctas       { flex-direction: column; }
  .btn-primary-custom,
  .btn-outline-custom { justify-content: center; }
  .hero-stats      { gap: 1.5rem; }
  .cta-buttons     { flex-direction: column; align-items: center; }
  .use-case-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* WOW.js */
.wow { visibility: hidden; }
