@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Boxicons sizing */
.bx { line-height: inherit; }
.benefit-icon .bx { font-size: 1.6rem; color: var(--purple); }
.service-icon-sm .bx { font-size: 1.6rem; color: var(--purple); }
.stat-card-icon { font-size: 2rem; color: #a855f7; margin-bottom: 0.5rem; display: block; }
.faq-q-icon { color: var(--purple); margin-right: 6px; }
.client-logo-icon { font-size: 1.4rem; color: var(--purple); margin-bottom: 4px; }

:root {
  --purple:       #6d28d9;
  --purple-light: #9333ea;
  --purple-pale:  #f3eeff;
  --black:        #0a0a0f;
  --black2:       #12101a;
  --white:        #ffffff;
  --gray-light:   #f7f5ff;
  --gray:         #6b7280;
  --border:       #e8e0f7;
  --gradient:     linear-gradient(135deg, #6d28d9, #9333ea);
  --gradient-text:linear-gradient(135deg, #6d28d9 0%, #a855f7 100%);
  --shadow-sm:    0 2px 12px rgba(109,40,217,0.1);
  --shadow-md:    0 8px 32px rgba(109,40,217,0.15);
  --shadow-lg:    0 24px 64px rgba(109,40,217,0.2);
  --pink:         #ec4899;
  --blue:         #3b82f6;
  --glass-bg:     rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-neon:  0 0 25px rgba(109,40,217,0.18);
  --shadow-neon-pink: 0 0 25px rgba(236,72,153,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--black); overflow-x: hidden; line-height: 1.6; }

/* Custom scrollbar only for desktop */
@media (hover: hover) and (pointer: fine) {
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--white); }
  ::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--purple-light); }
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 20px 6%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
nav.scrolled { padding: 13px 6%; box-shadow: var(--shadow-sm); }
.nav-logo {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 800;
  text-decoration: none; color: var(--black); letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo img { height: 32px; width: auto; object-fit: contain; }
.nav-logo span { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--gray); text-decoration: none; font-weight: 500; font-size: 0.93rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--purple); }
.nav-cta {
  background: var(--gradient); color: #fff; border: none;
  padding: 11px 26px; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; text-decoration: none; transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(109,40,217,0.35);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(109,40,217,0.5); }
.lang-flags { display: flex; gap: 10px; align-items: center; margin-right: 15px; }
.flag-link { opacity: 0.6; transition: all 0.3s; border-radius: 4px; overflow: hidden; display: flex; }
.flag-link:hover, .flag-link.active { opacity: 1; transform: scale(1.1); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.flag-link img { width: 26px; height: auto; border-radius: 4px; }
.nav-actions { display: flex; align-items: center; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--purple); transition: 0.3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 6% 80px;
  background: var(--white);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(109,40,217,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -150px; left: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(147,51,234,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  max-width: 1200px; margin: 0 auto; width: 100%; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple-pale); border: 1px solid rgba(109,40,217,0.2);
  padding: 7px 18px; border-radius: 50px; font-size: 0.82rem; color: var(--purple);
  margin-bottom: 1.5rem; font-weight: 600;
  animation: fadeDown 0.7s ease both;
}
.badge-dot { width: 7px; height: 7px; background: var(--purple); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(1.4); } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.hero-text h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem); font-weight: 800; line-height: 1.1;
  margin-bottom: 1.4rem; color: var(--black);
  animation: fadeUp 0.8s 0.1s ease both;
  min-height: 2.2em; /* Prevents height jumping by reserving space for 2 lines */
}
.hero-text h1 .gradient-text {
  background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: inline-block;
  min-height: 1.1em; /* Keeps line height space reserved even if text is empty */
  vertical-align: bottom;
}
.typed-cursor {
  font-weight: 300;
  color: var(--purple-light);
  animation: typedBlink 0.8s infinite;
  margin-left: 3px;
  display: inline-block;
  vertical-align: bottom;
  line-height: 1;
}
@keyframes typedBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero-desc {
  font-size: 1.1rem; color: var(--gray); max-width: 500px;
  margin-bottom: 2.2rem; animation: fadeUp 0.8s 0.25s ease both; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.8s 0.4s ease both; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.55s ease both;
}
.stat { text-align: left; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 800; color: var(--purple);
}
.stat-label { font-size: 0.8rem; color: var(--gray); margin-top: 2px; }

/* Hero image side */
.hero-visual { position: relative; animation: fadeUp 0.9s 0.3s ease both; padding: 28px 0; }
.hero-mockup {
  width: 100%; aspect-ratio: 4/3;
  background: var(--gray-light); border-radius: 20px;
  border: 2px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-mockup img { width: 100%; height: 100%; object-fit: cover; }
.hero-mockup-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--gray); font-size: 0.9rem;
}
.floating-badge {
  position: absolute; background: var(--white); border-radius: 14px;
  padding: 10px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600;
  z-index: 10; border: 1px solid var(--border);
  animation: floatBadge 3s ease-in-out infinite;
}
.floating-badge.b1 { top: 4px; right: 12px; animation-delay: 0s; }
.floating-badge.b2 { bottom: 4px; left: 12px; animation-delay: 1.5s; }
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gradient); color: #fff; border: none;
  padding: 14px 36px; border-radius: 50px; font-weight: 700; font-size: 0.97rem;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s; box-shadow: 0 6px 24px rgba(109,40,217,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(109,40,217,0.55); }
.btn-secondary {
  background: transparent; color: var(--black); border: 2px solid var(--border);
  padding: 12px 34px; border-radius: 50px; font-weight: 600; font-size: 0.97rem;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--purple); color: var(--purple); }

/* ── SECTIONS GENERAL ── */
section { padding: 100px 6%; position: relative; }
.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--purple); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.2; color: var(--black);
}
.section-subtitle { color: var(--gray); font-size: 1.05rem; max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 4rem; }
.centered { text-align: center; }
.centered .section-subtitle { margin: 0 auto; }

/* ── BENEFITS ── */
.benefits { background: var(--gray-light); }
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.benefit-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem; transition: all 0.35s;
  position: relative; overflow: hidden;
  flex: 0 1 300px;
  min-width: 240px;
  max-width: 360px;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(109,40,217,0.3); }
.benefit-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--purple-pale); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem; border: 1px solid rgba(109,40,217,0.15);
}
.benefit-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--black); }
.benefit-card p { color: var(--gray); font-size: 0.92rem; line-height: 1.65; }

/* ── SERVICES ── */
.services { background: var(--white); }

/* Services grid: horizontal scrollable carousel on ALL screen sizes */
.services-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.4rem;
  padding-bottom: 16px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(109,40,217,0.25) transparent;
}
.services-grid::-webkit-scrollbar { height: 4px; }
.services-grid::-webkit-scrollbar-track { background: transparent; }
.services-grid::-webkit-scrollbar-thumb { background: rgba(109,40,217,0.25); border-radius: 4px; }

.services-grid .service-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
}
.services-grid .services-cta {
  flex: 0 0 320px;
  scroll-snap-align: start;
  margin-top: 0;
}

.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; transition: all 0.35s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(109,40,217,0.3); }
.service-img-slot {
  width: 100%; height: 160px; background: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 0.85rem; border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden; cursor: pointer;
}
.service-img-slot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.service-img-slot .img-label { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.service-img-slot .img-icon { font-size: 2rem; }
.service-body { padding: 1.4rem; }
.service-icon-sm { font-size: 1.8rem; margin-bottom: 0.8rem; }
.service-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--black); }
.service-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* ── WHY WEB MATTERS ── */
.stats-section { background: var(--black); padding: 90px 6%; }
.stats-section .section-title { color: var(--white); }
.stats-section .section-label { color: #c084fc; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.stat-card {
  text-align: center; padding: 2.2rem;
  background: #1a1025; border: 1px solid rgba(109,40,217,0.25); border-radius: 18px;
  transition: all 0.35s;
}
.stat-card:hover { transform: translateY(-5px); border-color: var(--purple); box-shadow: 0 0 30px rgba(109,40,217,0.2); }
.stat-card .big-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 2.8rem; font-weight: 800;
  background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-card p { color: #9ca3af; margin-top: 8px; font-size: 0.9rem; line-height: 1.5; }

/* ── WIDE IMAGE SLOT (benefits) ── */
.img-slot-wide {
  width: 100%; height: 220px;
  background: var(--white); border: 2px dashed rgba(109,40,217,0.25);
  border-radius: 20px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  color: var(--gray); font-size: 0.88rem;
}
.img-slot-wide .bx { font-size: 2.5rem; color: rgba(109,40,217,0.3); }
.img-slot-wide small { font-size: 0.75rem; opacity: 0.5; font-family: monospace; }
.img-slot-wide img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }

/* ── PROCESS IMAGE SLOT ── */
.process-img-slot {
  width: 100%; height: 120px;
  background: var(--gray-light); border: 1px dashed rgba(109,40,217,0.2);
  border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  color: var(--gray); font-size: 0.8rem; margin: 1rem 0;
}
.process-img-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }

/* ── PROCESS ── */
.process { background: var(--gray-light); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.process-step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem; text-align: center; transition: all 0.35s;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 800; color: #fff;
  margin: 0 auto 1.3rem; box-shadow: 0 6px 20px rgba(109,40,217,0.4);
}
.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--black); }
.process-step p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }

/* ── CLIENTS SLIDER ── */
.clients { background: var(--white); overflow: hidden; }
.clients-track-wrapper { overflow: hidden; position: relative; margin-top: 1rem; }
.clients-track-wrapper::before,
.clients-track-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.clients-track-wrapper::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.clients-track-wrapper::after  { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }
.clients-track { display: flex; gap: 1.5rem; padding: 0.5rem 0; animation: slideClients 28s linear infinite; width: max-content; }
.clients-track:hover { animation-play-state: paused; }
@keyframes slideClients { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-logo {
  min-width: 175px; height: 85px;
  background: var(--gray-light); border: 1px solid var(--border);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  text-decoration: none; padding: 1rem 1.5rem;
  transition: all 0.3s; flex-direction: column; gap: 4px;
}
.client-logo:hover { border-color: var(--purple); box-shadow: var(--shadow-sm); transform: translateY(-4px); background: var(--white); }
.client-logo-name {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.97rem;
  background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.client-logo-sub { font-size: 0.68rem; color: var(--gray); }

/* ── FAQ ── */
.faq { background: var(--gray-light); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; color: var(--black);
  padding: 1.3rem 1.6rem; text-align: left; font-size: 0.97rem; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: 'Inter', sans-serif; transition: color 0.2s;
}
.faq-question:hover { color: var(--purple); }
.faq-icon { font-size: 1.2rem; color: var(--purple); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 1.6rem 1.3rem; color: var(--gray); line-height: 1.7; font-size: 0.93rem; }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--black); text-align: center; padding: 110px 6%;
  position: relative; overflow: hidden;
}
#ctaStars {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; color: var(--white);
  margin-bottom: 1rem;
}
.cta-section p { color: #9ca3af; font-size: 1.1rem; margin-bottom: 2.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: var(--white); color: var(--purple); border: none;
  padding: 14px 36px; border-radius: 50px; font-weight: 700; font-size: 0.97rem;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,255,255,0.2); }
.btn-outline-white {
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.25);
  padding: 12px 34px; border-radius: 50px; font-weight: 600; font-size: 0.97rem;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s;
}
.btn-outline-white:hover { border-color: #fff; }

/* ── FOOTER ── */
footer { background: #07050f; border-top: 1px solid rgba(109,40,217,0.2); padding: 60px 6% 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 8px; }
.footer-brand .logo img { height: 36px; width: auto; object-fit: contain; }
.footer-brand .logo span { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-brand p { color: #6b7280; font-size: 0.88rem; margin-top: 0.8rem; line-height: 1.6; max-width: 260px; }
.footer-socials { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.social-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: #1a1025; border: 1px solid rgba(109,40,217,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  text-decoration: none; color: #6b7280; transition: all 0.3s;
}
.social-icon:hover { border-color: var(--purple); color: #c084fc; }
.footer-col h4 { font-weight: 700; margin-bottom: 1rem; font-size: 0.9rem; color: var(--white); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { color: #6b7280; text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: #c084fc; }
.footer-bottom {
  border-top: 1px solid rgba(109,40,217,0.15); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  color: #4b5563; font-size: 0.83rem;
}

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  width: 62px; height: 62px; border-radius: 50%;
  background: #25D366; box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all 0.3s;
  animation: waPulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 10px 36px rgba(37,211,102,0.65); animation: none; }
.wa-float .bx { font-size: 2.2rem; color: #fff; }
.wa-tooltip {
  position: absolute; right: 72px; background: var(--white);
  border: 1px solid var(--border); color: var(--black);
  padding: 7px 14px; border-radius: 10px; font-size: 0.83rem; font-weight: 600;
  white-space: nowrap; opacity: 0; transform: translateX(8px); transition: all 0.3s; pointer-events: none;
  box-shadow: var(--shadow-sm);
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* WhatsApp Mobile Optimization */
@media (max-width: 768px) {
  .wa-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  }
  .wa-float:hover {
    transform: scale(1.05);
  }
  .wa-float .bx {
    font-size: 1.85rem;
  }
  .wa-tooltip {
    display: none !important; /* Prevent tooltip clipping/touch bugs on mobile */
  }
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { gap: 2rem; }
  .nav-links { gap: 1.2rem; }
}

@media (max-width: 900px) {
  nav { padding: 15px 5%; }
  nav.scrolled { padding: 10px 5%; }
  .nav-logo { font-size: 1.3rem; }
  .nav-logo img { height: 26px; }
  .nav-links { display: none; }
  .hamburger { display: flex; margin-left: 10px; }
  .nav-actions { gap: 10px; }
  .lang-flags { margin-right: 0; }
  
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--white);
    padding: 2rem; border-bottom: 1px solid var(--border); gap: 1.5rem;
    box-shadow: var(--shadow-md); text-align: center;
  }

  .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-stats { justify-content: center; gap: 2rem; }
  .hero-ctas { justify-content: center; }
  .hero-text h1 { font-size: clamp(2.2rem, 6vw, 3rem); min-height: 3.3em; /* 3 lines reserved */ }
  .hero-desc { margin: 0 auto 2rem; }
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .floating-badge { display: none; }
  .nav-cta { display: none; } /* Ocultar botón de contacto arriba en móviles pequeños para evitar desbordamiento */
  .hero { padding: 110px 5% 60px; }
}

@media (max-width: 480px) {
  section { padding: 60px 5%; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer-brand p { margin: 0.8rem auto; }
  .footer-socials { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
  
  .section-title { font-size: 1.8rem; }
  .hero-text h1 { min-height: 4.4em; } /* 4 lines reserved on small mobile */
  .stat-card .big-num { font-size: 2.2rem; }
  .cta-section h2 { font-size: 1.8rem; }
  
  .hero-ctas { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .pricing-card { padding: 2.2rem 1.4rem; }
}

/* ==========================================================================
   💎 PREMIUM STYLING UPGRADES: GLASSMORPHISM, BLOBS, & COMP-PRICING
   ========================================================================== */

/* ── FLOATING BACKGROUND BLOBS ── */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  -webkit-filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: initial;
}
.bg-shape-purple {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.2) 0%, transparent 70%);
  animation: floatBlobPurple 15s ease-in-out infinite alternate;
}
.bg-shape-pink {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
  animation: floatBlobPink 20s ease-in-out infinite alternate;
}
.bg-shape-blue {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  animation: floatBlobPurple 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatBlobPurple {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -60px) scale(1.15); }
  100% { transform: translate(-50px, 70px) scale(0.9); }
}
@keyframes floatBlobPink {
  0% { transform: translate(0, 0) scale(1.1); }
  50% { transform: translate(-70px, 80px) scale(0.85); }
  100% { transform: translate(60px, -45px) scale(1.05); }
}

/* ── GLASSMORPHISM CARD UPGRADES ── */
.benefit-card, .service-card, .process-step {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.benefit-card:hover, .service-card:hover, .process-step:hover {
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: 0 20px 40px rgba(109, 40, 217, 0.12), 0 0 20px rgba(109, 40, 217, 0.18) !important;
  border-color: rgba(147, 51, 234, 0.45) !important;
}

/* ── SVG CURVE SECTION DIVIDERS ── */
.curve-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
  pointer-events: none;
}
.curve-divider-top {
  top: -1px;
}
.curve-divider-bottom {
  bottom: -1px;
}
.curve-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
}
.curve-fill-gray-light { fill: var(--gray-light); }
.curve-fill-white { fill: var(--white); }
.curve-fill-black { fill: var(--black); }

/* Extra spacing for sections containing curves */
section.benefits, section.process, section.faq {
  position: relative;
  padding-top: 130px;
  padding-bottom: 130px;
}

/* ── INTERACTIVE COMPARATIVE PRICING SECTION ── */
.pricing {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2.2rem;
  align-items: stretch;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}
.pricing-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(109, 40, 217, 0.2);
}
.pricing-card.popular {
  border: 2.5px solid transparent;
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), var(--gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 15px 40px rgba(109, 40, 217, 0.15);
}
.pricing-card.popular:hover {
  box-shadow: 0 25px 50px rgba(109, 40, 217, 0.22), 0 0 30px rgba(147, 51, 234, 0.2);
}
.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(109, 40, 217, 0.4);
  white-space: nowrap;
  animation: shineBadge 3s infinite;
}
@keyframes shineBadge {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2) drop-shadow(0 0 8px rgba(147, 51, 234, 0.5)); }
}
.pricing-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--black);
}
.pricing-price {
  margin: 1.6rem 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-price .amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}
.pricing-card.popular .pricing-price .amount {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.6rem;
}
.pricing-price .period {
  color: var(--gray);
  font-size: 0.88rem;
  font-weight: 500;
}
.pricing-desc {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.4;
}
.pricing-features li .bx {
  font-size: 1.2rem;
  margin-top: 1px;
  flex-shrink: 0;
}
.pricing-features li .bx-check-circle {
  color: #10b981;
}
.pricing-features li .bx-x-circle {
  color: #ef4444;
}
.pricing-features li .bx-info-circle {
  color: #f59e0b;
}
.pricing-cta {
  width: 100%;
  text-align: center;
  padding: 13px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  box-sizing: border-box;
}
.pricing-card:not(.popular) .pricing-cta {
  background: transparent;
  color: var(--gray);
  border: 2px solid var(--border);
}
.pricing-card:not(.popular) .pricing-cta:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(109, 40, 217, 0.04);
}
.pricing-card.popular .pricing-cta {
  background: var(--gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 18px rgba(109, 40, 217, 0.35);
}
.pricing-card.popular .pricing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(109, 40, 217, 0.5);
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 3.5rem auto 0;
  }
}

.secure-pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  align-self: flex-start;
}
.secure-pay-badge i {
  font-size: 0.95rem;
}

/* ── RESPONSIVE MOBILE 2-COLUMN GRID OPTIMIZATION (CELLULAR RESOLUTION) ── */
@media (max-width: 600px) {
  /* Grids: Show cards 2-by-2 */
  .process-steps, .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  /* Benefits Grid: 2 columns, centered last item on mobile */
  .benefits-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
  }
  .benefits-grid .benefit-card {
    flex: 0 0 calc(50% - 6px) !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  /* Services Section: Mobile adjustments (inherit horizontal scroll from base, just tweak card widths) */
  .services-grid {
    gap: 10px !important;
    padding-bottom: 10px !important;
    scrollbar-width: none !important;
  }
  .services-grid::-webkit-scrollbar {
    display: none !important;
  }
  .services-grid .service-card {
    flex: 0 0 78% !important;
    scroll-snap-align: start !important;
  }
  .services-grid .services-cta {
    flex: 0 0 88% !important;
    scroll-snap-align: start !important;
    margin-top: 0 !important;
  }
  .services-grid .services-cta-card {
    padding: 1.2rem !important;
    height: 100% !important;
    justify-content: center !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .services-grid .services-cta-card h4 {
    font-size: 1rem !important;
  }
  .services-grid .services-cta-card p {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
  }
  .services-grid .services-cta-card .btn-primary {
    padding: 8px 18px !important;
    font-size: 0.8rem !important;
    width: auto !important;
    margin: 0.2rem auto 0 !important;
  }

  /* Hero Stats Single Horizontal Line on Mobile */
  .hero-inner .hero-stats {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
    margin-top: 2rem !important;
  }
  .hero-inner .stat {
    flex: 1 !important;
    text-align: center !important;
    margin: 0 !important;
  }
  .hero-inner .stat-num {
    font-size: 1.45rem !important;
  }
  .hero-inner .stat-label {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
  }


  /* Benefit Card Mobile Scale */
  .benefit-card {
    border-radius: 14px !important;
    padding: 14px 10px 18px !important;
  }
  .benefit-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    margin-bottom: 0.6rem !important;
  }
  .benefit-icon .bx {
    font-size: 1.1rem !important;
  }
  .benefit-card h3 {
    font-size: 0.88rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.3rem !important;
  }
  .benefit-card p {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }

  /* Service Card Mobile Scale */
  .service-card {
    border-radius: 14px !important;
  }
  .service-img-slot {
    height: 100px !important;
  }
  .service-body {
    padding: 10px 10px 14px !important;
  }
  .service-icon-sm {
    font-size: 1.2rem !important;
    margin-bottom: 0.4rem !important;
  }
  .service-card h3 {
    font-size: 0.88rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.3rem !important;
  }
  .service-card p {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }

  /* Process Card Mobile Scale */
  .process-step {
    border-radius: 14px !important;
    padding: 14px 10px 18px !important;
  }
  .step-num {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.6rem !important;
    box-shadow: 0 4px 12px rgba(109,40,217,0.3) !important;
  }
  .process-img-slot {
    height: 70px !important;
    margin: 0.5rem 0 !important;
    border-radius: 8px !important;
  }
  .process-img-slot img {
    border-radius: 7px !important;
  }
  .process-step h3 {
    font-size: 0.88rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.3rem !important;
  }
  .process-step p {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }

  /* Stat Card Mobile Scale */
  .stat-card {
    border-radius: 14px !important;
    padding: 14px 10px 18px !important;
  }
  .stat-card-icon {
    font-size: 1.3rem !important;
    margin-bottom: 0.3rem !important;
  }
  .stat-card .big-num {
    font-size: 1.8rem !important;
  }
  .stat-card p {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
    margin-top: 4px !important;
  }
}


