/* ==========================================================================
   FUNNEL-IA · EMPLEADO DIGITAL STARTER
   Design System — Premium Dark Mode + Glassmorphism
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@700;800;900&display=swap');

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
  /* Dark Background Palette */
  --bg-deep:        #03050c;
  --bg-dark:        #080e21;
  --bg-card:        rgba(255, 255, 255, 0.04);
  --bg-card-hover:  rgba(255, 255, 255, 0.08);

  /* Neon Accent Colors */
  --cyan:           #00f2fe;
  --cyan-dim:       rgba(0, 242, 254, 0.15);
  --cyan-glow:      rgba(0, 242, 254, 0.25);
  --purple:         #8b5cf6;
  --purple-dim:     rgba(139, 92, 246, 0.15);

  /* WhatsApp */
  --wa-green:       #25d366;
  --wa-green-dark:  #128c7e;
  --wa-green-glow:  rgba(37, 211, 102, 0.3);
  --wa-bubble-in:   #ffffff;
  --wa-bubble-out:  #dcf8c6;
  --wa-bg:          #0a1a1f;
  --wa-header:      #075e54;

  /* Text */
  --text-white:     #f0f4ff;
  --text-muted:     rgba(240, 244, 255, 0.55);
  --text-subtle:    rgba(240, 244, 255, 0.35);

  /* Borders */
  --border-glass:   rgba(255, 255, 255, 0.08);
  --border-cyan:    rgba(0, 242, 254, 0.3);

  /* Gradients */
  --grad-hero:      linear-gradient(135deg, #03050c 0%, #080e21 60%, #0d1635 100%);
  --grad-cyan:      linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --grad-purple:    linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  --grad-wa:        linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  --grad-text:      linear-gradient(135deg, #00f2fe 0%, #8b5cf6 100%);

  /* Typography */
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:   'Montserrat', var(--font-body);

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-card:    0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-phone:   0 40px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(0, 242, 254, 0.08);
  --shadow-btn-wa:  0 8px 30px rgba(37, 211, 102, 0.4);
  --shadow-btn-cyan: 0 8px 30px rgba(0, 242, 254, 0.35);

  /* Transitions */
  --t-fast:   0.2s ease;
  --t-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --t-slow:   0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w: 1160px;
  --max-narrow: 780px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--t-fast);
}

ul { list-style: none; }

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

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

.container--narrow {
  max-width: var(--max-narrow);
}

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

h1 { font-size: clamp(2rem, 6vw, 3.75rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.6rem, 4vw, 2.75rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); margin-bottom: 10px; }

p { color: var(--text-muted); line-height: 1.75; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.kicker::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--grad-cyan);
  border-radius: var(--r-full);
}

.section-label {
  display: inline-block;
  padding: 5px 14px;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: var(--t-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
  border-radius: var(--r-lg);
}

.btn--wa {
  background: var(--grad-wa);
  color: #fff;
  box-shadow: var(--shadow-btn-wa);
  animation: pulse-wa 2.5s infinite;
}

.btn--wa:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 45px rgba(37, 211, 102, 0.55);
}

.btn--wa:active { transform: translateY(0) scale(0.99); }

.btn--wa svg { flex-shrink: 0; }

@keyframes pulse-wa {
  0%, 100% { box-shadow: var(--shadow-btn-wa); }
  50%       { box-shadow: 0 8px 50px rgba(37, 211, 102, 0.65), 0 0 0 8px rgba(37, 211, 102, 0.08); }
}

.btn--outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--border-cyan);
  padding: 14px 28px;
}

.btn--outline:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

/* ==========================================================================
   GLASSMORPHISM CARDS
   ========================================================================== */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--r-xl);
  transition: var(--t-normal);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal--left  { transform: translateX(-36px); }
.reveal.reveal--right { transform: translateX(36px); }
.reveal.reveal--scale { transform: scale(0.92); }

.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ==========================================================================
   ① HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Video Background */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.30;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(3, 5, 12, 0.74) 0%,
    rgba(8, 14, 33, 0.68) 50%,
    rgba(3, 5, 12, 0.92) 100%
  );
  z-index: 1;
}

/* Animated mesh gradient fallback / decoration */
.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 242, 254, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 75%, rgba(139, 92, 246, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Hero Content */
.hero__content { max-width: 600px; }

.hero__headline {
  margin-bottom: 24px;
}

.hero__headline span {
  display: block;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.8;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.hero__note {
  font-size: 0.78rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__note::before {
  content: '🔒';
  font-size: 0.9em;
}

/* Hero Visual (Phone side) */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   ② SMARTPHONE MOCKUP WITH WHATSAPP CHAT
   ========================================================================== */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-18px) rotate(0.5deg); }
}

/* Glow halo behind phone */
.phone-wrap::before {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(37, 211, 102, 0.3) 0%, transparent 70%);
  filter: blur(20px);
  border-radius: 50%;
}

.phone {
  width: 290px;
  height: 590px;
  background: #0d1117;
  border: 10px solid #1c2231;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: var(--shadow-phone);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Notch */
.phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #0d1117;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

/* Status bar */
.phone__status {
  background: var(--wa-header);
  padding: 28px 18px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
}

.phone__status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* WA App Header */
.phone__wa-header {
  background: var(--wa-header);
  padding: 8px 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.phone__wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-wa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  position: relative;
}

.phone__wa-avatar::after {
  content: '';
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  background: var(--wa-green);
  border: 2px solid var(--wa-header);
  border-radius: 50%;
}

.phone__wa-info h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1px;
  font-family: var(--font-body);
}

.phone__wa-info p {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.phone__wa-actions {
  margin-left: auto;
  display: flex;
  gap: 14px;
  color: rgba(255,255,255,0.7);
}

/* Chat Area */
.phone__chat {
  flex: 1;
  background: var(--wa-bg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  position: relative;
}

/* WhatsApp pattern background */
.phone__chat::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.wa-bubble {
  max-width: 88%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.45;
  position: relative;
  animation: bubblePop 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bubblePop {
  from { opacity: 0; transform: translateY(10px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-bubble--in {
  background: var(--wa-bubble-in);
  color: #111;
  align-self: flex-start;
  border-top-left-radius: 4px;
}

.wa-bubble--out {
  background: var(--wa-bubble-out);
  color: #111;
  align-self: flex-end;
  border-top-right-radius: 4px;
}

.wa-bubble__time {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
  font-size: 0.6rem;
  color: #666;
  margin-top: 4px;
}

.wa-bubble--out .wa-bubble__time { color: #555; }

.wa-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--wa-bubble-in);
  border-radius: 12px;
  border-top-left-radius: 4px;
  padding: 10px 14px;
  align-self: flex-start;
  animation: bubblePop 0.3s both;
}

.wa-typing span {
  width: 6px;
  height: 6px;
  background: #aaa;
  border-radius: 50%;
  animation: typingDot 1.2s infinite ease-in-out;
}

.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%       { transform: translateY(-4px); opacity: 1; }
}

/* Chat input bar */
.phone__input-bar {
  background: #0f1a1f;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.phone__input-field {
  flex: 1;
  background: #182028;
  border-radius: var(--r-full);
  padding: 8px 14px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  border: none;
  pointer-events: none;
}

.phone__send-btn {
  width: 34px;
  height: 34px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

/* ==========================================================================
   ③ BENEFITS SECTION
   ========================================================================== */
.benefits {
  padding: 100px 0;
  position: relative;
}

.benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.benefits__header {
  text-align: center;
  margin-bottom: 64px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  padding: 40px 32px;
  text-align: center;
}

.benefit-card__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--r-lg);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  position: relative;
}

.benefit-card:nth-child(1) .benefit-card__icon {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.1);
}

.benefit-card:nth-child(2) .benefit-card__icon {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}

.benefit-card:nth-child(3) .benefit-card__icon {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.2);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.1);
}

.benefit-card h3 {
  color: var(--text-white);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   ④ PRICING / OFERTA SECTION
   ========================================================================== */
.pricing {
  padding: 100px 0;
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.pricing__header {
  text-align: center;
  margin-bottom: 56px;
}

.pricing__header h2 { margin-bottom: 12px; }
.pricing__header p { max-width: 520px; margin: 0 auto; }

.pricing__card {
  max-width: 680px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-xl);
  box-shadow: 0 0 0 1px rgba(139,92,246,0.15), var(--shadow-card);
}

/* Glowing top border */
.pricing__card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--wa-green));
}

.pricing__card-inner {
  padding: 48px 44px;
}

@media (max-width: 600px) {
  .pricing__card-inner { padding: 36px 24px; }
}

.pricing__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(0,242,254,0.1));
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: var(--r-full);
  padding: 5px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}

.pricing__name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-white);
  margin-bottom: 8px;
}

.pricing__sub {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.pricing__price-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}

.pricing__currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}

.pricing__amount {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-white);
}

.pricing__period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing__note {
  font-size: 0.82rem;
  color: var(--text-subtle);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing__note::before { content: '➕'; }

.pricing__divider {
  height: 1px;
  background: var(--border-glass);
  margin-bottom: 32px;
}

.pricing__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.pricing__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pricing__feature-check {
  width: 22px;
  height: 22px;
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing__feature-check svg {
  width: 12px;
  height: 12px;
  stroke: var(--wa-green);
  stroke-width: 2.5;
}

.pricing__feature-text {
  font-size: 0.95rem;
  color: var(--text-white);
  line-height: 1.5;
}

.pricing__feature-text span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pricing__guarantee {
  background: rgba(37,211,102,0.06);
  border: 1px solid rgba(37,211,102,0.15);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 36px;
}

.pricing__guarantee-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.pricing__guarantee-text strong {
  display: block;
  color: var(--wa-green);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.pricing__guarantee-text p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   ⑤ FINAL CTA
   ========================================================================== */
.final-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37,211,102,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.final-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.final-cta h2 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  margin-bottom: 18px;
}

.final-cta p {
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   ⑥ FOOTER
   ========================================================================== */
.footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-glass);
  padding: 48px 0 32px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
}

.footer__logo-accent { color: var(--cyan); }

.footer__tagline {
  font-size: 0.82rem;
  color: var(--text-subtle);
  margin-top: 4px;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
}

.footer__legal-links a {
  font-size: 0.78rem;
  color: var(--text-subtle);
  transition: color var(--t-fast);
}

.footer__legal-links a:hover { color: var(--cyan); }

.footer__legal-links a:not(:last-child)::after {
  content: '|';
  margin-left: 20px;
  color: var(--border-glass);
}

.footer__legal-text {
  max-width: 680px;
  font-size: 0.73rem;
  color: var(--text-subtle);
  line-height: 1.7;
  text-align: center;
}

.footer__copy {
  font-size: 0.72rem;
  color: var(--text-subtle);
  border-top: 1px solid var(--border-glass);
  width: 100%;
  padding-top: 24px;
  margin-top: 8px;
  text-align: center;
}

/* ==========================================================================
   HEADER (FIXED NAV)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(3, 5, 12, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--t-normal);
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
}

.header-logo__accent { color: var(--cyan); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.btn--header-wa {
  background: var(--grad-wa);
  color: #fff;
  padding: 9px 20px;
  font-size: 0.85rem;
  border-radius: var(--r-md);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  transition: var(--t-normal);
}

.btn--header-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
}

@media (max-width: 480px) {
  .btn--header-wa span.btn-label { display: none; }
}

/* ==========================================================================
   DEMO SECTION (standalone phone showcase)
   ========================================================================== */
.demo {
  padding: 100px 0;
  position: relative;
}

.demo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.demo__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 900px) {
  .demo__inner { grid-template-columns: 1fr 1fr; }
}

.demo__content { max-width: 520px; }
.demo__content h2 { margin-bottom: 16px; }
.demo__content p  { margin-bottom: 28px; }

.demo__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.demo__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.demo__tag--green {
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.25);
  color: var(--wa-green);
}

.demo__tag--cyan {
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
}

.demo__tag--purple {
  background: var(--purple-dim);
  border: 1px solid rgba(139,92,246,0.25);
  color: var(--purple);
}

.demo__visual { display: flex; justify-content: center; }

/* Larger phone for demo section */
.demo .phone {
  width: 300px;
  height: 610px;
}

/* ==========================================================================
   PROCESS STEPS (How it works)
   ========================================================================== */
.process {
  padding: 100px 0;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.process__header { text-align: center; margin-bottom: 64px; }

.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .process__steps { grid-template-columns: repeat(3, 1fr); }
}

.process-step {
  padding: 36px 28px;
  text-align: center;
  position: relative;
}

.process-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--bg-deep);
  margin: 0 auto 20px;
}

.process-step h3 { color: var(--text-white); margin-bottom: 10px; }
.process-step p  { font-size: 0.88rem; color: var(--text-muted); }

/* Connector line between steps (desktop) */
@media (min-width: 640px) {
  .process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -12px;
    top: 44px;
    font-size: 1.4rem;
    color: var(--text-subtle);
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE TWEAKS
   ========================================================================== */
@media (max-width: 480px) {
  .hero { padding: 100px 0 60px; }
  .btn--lg { padding: 16px 28px; font-size: 0.95rem; }
  .phone  { width: 260px; height: 530px; }
  .demo .phone { width: 260px; height: 530px; }
  .pricing__amount { font-size: 3rem; }
}

/* ==========================================================================
   CGP TECHNOLOGY SECTION
   ========================================================================== */
.cgp-tech {
  padding: 100px 0;
  position: relative;
}
.cgp-tech::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}
.cgp-tech__header {
  text-align: center;
  margin-bottom: 60px;
}
.cgp-tech__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .cgp-tech__grid { grid-template-columns: repeat(2, 1fr); }
}
.cgp-card {
  padding: 40px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.cgp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}
.cgp-card h3 {
  color: var(--text-white);
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.cgp-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.cgp-tech__footer {
  text-align: center;
  margin-top: 60px;
  font-size: 1.1rem;
  color: var(--text-white);
  line-height: 1.5;
}
.cgp-tech__footer strong {
  color: var(--cyan);
}

/* CGP Glow Hover */
.cgp-glow-hover {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cgp-glow-hover:hover {
  box-shadow: 0 0 40px rgba(0, 242, 254, 0.25), 0 0 80px rgba(139, 92, 246, 0.2);
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 242, 254, 0.4);
  z-index: 10;
}
.cgp-card:hover .cgp-card__icon svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.6));
}
.cgp-card__icon svg {
  transition: all 0.4s ease;
}

/* ==========================================================================
   STORIES SECTION
   ========================================================================== */
.stories {
  padding: 100px 0;
  position: relative;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(139, 92, 246, 0.04) 0%, transparent 80%);
}
.stories::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}
.stories__header {
  text-align: center;
  margin-bottom: 60px;
}
.stories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .stories__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.story-card {
  padding: 28px 32px;
  border-left: 3px solid transparent;
  transition: border-color var(--t-fast);
}
.story-card:hover {
  border-left-color: var(--purple);
}
.story-card__time {
  display: block;
  font-size: 0.8rem;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 8px;
}
.story-card p {
  color: var(--text-white);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.story-card__result {
  margin-top: 16px !important;
  color: var(--cyan) !important;
  font-weight: 600;
}
.stories__footer {
  text-align: center;
  margin-top: 60px;
  font-size: 1.1rem;
  color: var(--text-white);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq {
  padding: 100px 0;
  position: relative;
}
.faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}
.faq__header {
  text-align: center;
  margin-bottom: 50px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq__item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq__item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}
.faq__item.active {
  border-color: rgba(139, 92, 246, 0.3);
}
.faq__question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: var(--text-white);
  font-size: 1.05rem;
  font-family: inherit;
}
.faq__icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  transition: all 0.3s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq__icon::before {
  width: 14px;
  height: 2px;
}
.faq__icon::after {
  width: 2px;
  height: 14px;
}
.faq__item.active .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq__item.active .faq__icon::before {
  background: var(--cyan);
}
.faq__item.active .faq__question {
  color: var(--cyan);
}
.faq__answer {
  padding: 0 24px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq__item.active .faq__answer {
  max-height: 1000px;
  padding: 0 24px 24px;
}
.faq__answer p {
  margin: 0;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  padding: 100px 0;
  position: relative;
  text-align: center;
}
.final-cta__wrapper {
  background: radial-gradient(circle at top, rgba(139, 92, 246, 0.15) 0%, rgba(3, 5, 12, 0) 70%), 
              linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: 80px 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.final-cta__wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
  opacity: 0.8;
}
.final-cta__content {
  position: relative;
  z-index: 2;
}
.final-cta__text {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: 32px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta__hook {
  font-size: 1.35rem;
  color: var(--text-white);
  font-weight: 700;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.4;
  font-family: var(--font-display);
}
.cgp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .cgp__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .cgp__grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.cgp__header { text-align: center; max-width: 700px; margin: 0 auto; }
.cgp-card__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
}
.cgp__badge-large {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-xl);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 24px 0;
}
.cgp__badge-large small { display: block; font-size: 0.75rem; color: var(--purple); margin-top: 4px; letter-spacing: 0.1em; text-transform: uppercase; }
.cgp__footer { text-align: center; margin-top: 60px; }
.cgp__powerful-phrase { font-size: 1.6rem; line-height: 1.4; color: var(--text-white); }
.micro-badge {
  display: inline-block;
  font-size: 0.7rem;
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple);
  padding: 4px 10px;
  border-radius: var(--r-full);
  margin-bottom: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.hero__cgp-micro { font-size: 0.8rem; color: var(--text-subtle); margin: -10px 0 30px; letter-spacing: 0.05em; }

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (TULIO)
   ========================================================================== */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-green, #16C784) !important;
    color: var(--color-white, #FFFFFF) !important;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 25px rgba(22, 199, 132, 0.4) !important;
    z-index: 999999 !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    overflow: visible !important;
    padding: 0 !important;
    border: none !important;
}

.floating-wa-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-green, #16C784);
    border-radius: 50%;
    z-index: -1;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1.3); opacity: 0; }
}

.floating-wa-btn svg {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s ease !important;
    display: block !important;
    margin: 0 auto !important;
    fill: currentColor !important;
}

.floating-wa-btn:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(22, 199, 132, 0.6) !important;
}

.floating-wa-btn:hover svg {
    transform: scale(1.1) !important;
}

.floating-wa-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background-color: var(--color-obsidian, #02050D);
    color: var(--color-white, #FFFFFF);
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

.floating-wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--color-obsidian, #02050D);
}

.theme-dark .floating-wa-tooltip {
    background-color: var(--color-paper, #F7F8FA);
    color: var(--color-ink, #101114);
}

.theme-dark .floating-wa-tooltip::after {
    border-color: transparent transparent transparent var(--color-paper, #F7F8FA);
}

.floating-wa-btn:hover .floating-wa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
    .floating-wa-tooltip {
        display: none !important;
    }
    .floating-wa-btn {
        bottom: 20px !important;
        right: 20px !important;
    }
}


/* ==========================================================================
   TULIO EN ACCIÓN — 2026 REFRESH
   ========================================================================== */
.tulio-explainer {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background:
    radial-gradient(circle at 76% 35%, rgba(0,242,254,.10), transparent 30%),
    radial-gradient(circle at 18% 78%, rgba(139,92,246,.10), transparent 34%),
    var(--bg-deep);
}
.tulio-explainer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  pointer-events: none;
}
.tulio-explainer__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}
.tulio-explainer__copy p { max-width: 650px; }
.tulio-explainer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 24px;
}
.tulio-explainer__actions span {
  padding: 9px 14px;
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-full);
  background: rgba(0,242,254,.07);
  color: var(--text-white);
  font-size: .86rem;
  font-weight: 700;
}
.tulio-explainer__note {
  font-size: .9rem;
  color: var(--text-dim);
  border-left: 2px solid var(--cyan);
  padding-left: 14px;
}
.tulio-explainer__media { display:flex; justify-content:center; }
.tulio-explainer__frame {
  position: relative;
  width: min(100%, 390px);
  padding: 10px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.025));
  box-shadow: 0 35px 90px rgba(0,0,0,.45), 0 0 70px rgba(0,242,254,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.tulio-explainer__frame video {
  display:block;
  width:100%;
  aspect-ratio: 9 / 16;
  object-fit:cover;
  border-radius: 24px;
  background:#02050d;
}
.tulio-explainer__badge {
  position:absolute;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  width:max-content;
  max-width:calc(100% - 40px);
  padding:8px 14px;
  border-radius:var(--r-full);
  background:rgba(3,5,12,.82);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.04em;
  backdrop-filter:blur(12px);
}
.phone__wa-avatar img { display:block; }

@media (max-width: 860px) {
  .tulio-explainer { padding: 84px 0; }
  .tulio-explainer__grid { grid-template-columns: 1fr; }
  .tulio-explainer__copy { text-align:center; }
  .tulio-explainer__copy p { margin-left:auto; margin-right:auto; }
  .tulio-explainer__actions { justify-content:center; }
  .tulio-explainer__note { text-align:left; }
}
@media (max-width: 560px) {
  .hero__cta-group { display:grid; grid-template-columns:1fr; gap:12px; }
  .hero__cta-group .btn { width:100%; margin-left:0 !important; }
  .tulio-explainer__frame { width:min(86vw, 360px); }
}

/* ==========================================================================
   PRICE ANCHOR + EVOLUCIÓN DIGITAL CTA — 2026-10-01
   ========================================================================== */
.pricing__anchor {
  margin: 30px 0 34px;
  padding: 26px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(139,92,246,0.11), rgba(0,242,254,0.06));
  border: 1px solid rgba(0,242,254,0.16);
}

.pricing__anchor-label {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing__maintenance {
  margin: 12px 0 6px;
  color: var(--text-white);
  font-size: 1rem;
}

.pricing__anchor .pricing__note {
  margin: 0;
  max-width: 580px;
  line-height: 1.55;
}

.btn--evolution {
  background: linear-gradient(135deg, var(--purple), #4b7cff 52%, var(--cyan));
  color: #fff;
  box-shadow: 0 12px 34px rgba(89, 92, 246, 0.28);
}

.btn--evolution:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 18px 44px rgba(0, 210, 230, 0.22), 0 10px 28px rgba(139,92,246,0.28);
}

@media (max-width: 600px) {
  .pricing__anchor { padding: 22px 20px; }
  .pricing__amount { font-size: 3.2rem; }
  .btn--evolution { width: 100%; }
}

/* ==========================================================================
   PREMIUM NAVIGATION + HERO VIDEO — 2026-10-01
   ========================================================================== */

html { scroll-padding-top: 92px; }
body.menu-open { overflow: hidden; }

.site-header__inner { gap: 24px; }

.header-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.5vw, 28px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  color: rgba(255,255,255,0.66);
  font-size: 0.77rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color .22s ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), #5b7cfa);
  transition: right .26s cubic-bezier(.16,1,.3,1);
}

.site-nav a:hover,
.site-nav a.is-active { color: var(--text-white); }

.site-nav a:hover::after,
.site-nav a.is-active::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.header-action--tulio {
  padding: 9px 16px !important;
  font-size: .78rem !important;
  white-space: nowrap;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  color: #fff;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.menu-toggle:hover {
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.24);
}

.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 995;
  background:
    radial-gradient(circle at 82% 10%, rgba(0,242,254,.09), transparent 31%),
    radial-gradient(circle at 10% 90%, rgba(139,92,246,.10), transparent 36%),
    rgba(3,5,12,.975);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .28s ease, transform .35s cubic-bezier(.16,1,.3,1), visibility .28s;
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu__inner {
  width: min(100% - 40px, 680px);
  margin: 0 auto;
  padding: 36px 0 max(40px, env(safe-area-inset-bottom));
}

.mobile-menu__eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: 24px;
}

.mobile-menu__nav { display: grid; }

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.075);
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -.03em;
}

.mobile-menu__nav a span {
  min-width: 22px;
  color: var(--text-subtle);
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.mobile-menu__actions {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.hero__video-wrap {
  background:
    linear-gradient(rgba(3,5,12,.16), rgba(3,5,12,.16)),
    url('assets/images/funnelia-empleado-digital-tulio-loop-poster-v1.jpg') center/cover no-repeat;
}

.hero__video-wrap video {
  opacity: .30;
  object-position: 56% center;
  filter: saturate(.88) contrast(.94) brightness(.9);
}

section[id] { scroll-margin-top: 92px; }

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .site-header__inner { justify-content: space-between; }
}

@media (max-width: 680px) {
  .site-header {
    height: 66px;
    padding: 0 14px;
  }

  .mobile-menu { inset: 66px 0 0; }

  .header-logo img { height: 30px; }
  .header-action { display: none !important; }
  .header-actions { margin-left: auto; }
  .menu-toggle { width: 42px; height: 42px; }
  .hero { padding-top: 92px; }

  .hero__video-wrap video {
    opacity: .28;
    object-position: 58% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video-wrap video { display: none !important; }
  .mobile-menu,
  .menu-toggle span,
  .site-nav a::after { transition: none !important; }
}


/* ==========================================================================
   2026-10-01 · HERO SINGLE-PROTAGONIST + TULIO CANONICAL SCOPE
   ========================================================================== */

/* The hero background video is now the visual protagonist.
   Hide the duplicate phone mockup that competed with Tulio in the footage. */
.hero__visual {
  display: none !important;
}

.hero__inner {
  grid-template-columns: minmax(0, 760px);
  justify-content: start;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 760px);
    justify-content: start;
  }
}

.hero__content {
  max-width: 760px;
}

/* Directional contrast keeps the copy readable while leaving Tulio visible. */
.hero__overlay {
  background:
    linear-gradient(90deg,
      rgba(3,5,12,.96) 0%,
      rgba(3,5,12,.90) 34%,
      rgba(3,5,12,.70) 58%,
      rgba(3,5,12,.46) 100%),
    linear-gradient(to bottom,
      rgba(3,5,12,.36) 0%,
      rgba(3,5,12,.12) 48%,
      rgba(3,5,12,.82) 100%);
}

.hero__video-wrap video {
  opacity: .30;
  object-position: 66% center;
  filter: saturate(.9) contrast(.96) brightness(.92);
}

/* Audio control: visible, small and reversible. */
.hero-audio-control {
  position: absolute;
  z-index: 4;
  right: clamp(92px, 7vw, 118px);
  bottom: clamp(18px, 3vw, 34px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text-white);
  background: rgba(3,5,12,.58);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font: 700 .78rem/1 var(--font-body);
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, opacity .25s ease;
}

.hero-audio-control:hover,
.hero-audio-control:focus-visible {
  transform: translateY(-2px);
  background: rgba(8,14,33,.82);
  border-color: rgba(0,242,254,.5);
  outline: none;
}

.hero-audio-control.is-playing {
  border-color: rgba(37,211,102,.55);
  background: rgba(3,28,20,.72);
}

/* Canonical capability flow */
.capability-flow {
  margin-top: 46px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,.09);
  background:
    linear-gradient(135deg, rgba(0,242,254,.055), rgba(139,92,246,.055)),
    rgba(255,255,255,.025);
}

.capability-flow__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 22px;
}

.capability-flow__intro .section-label {
  margin-bottom: 0;
}

.capability-flow__intro h3 {
  margin: 0;
  color: var(--text-white);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.capability-flow__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.capability-flow__steps span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--text-white);
  border: 1px solid rgba(0,242,254,.18);
  background: rgba(0,242,254,.055);
  font-size: .84rem;
  font-weight: 700;
}

.capability-flow__note {
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.7;
}

/* Three canonical memory layers, compact by design */
.memory-band {
  margin-top: 44px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.025);
}

.memory-band__header {
  margin-bottom: 24px;
}

.memory-band__header h3 {
  margin: 12px 0 0;
  color: var(--text-white);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.memory-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.memory-band__item {
  min-height: 150px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.075);
  background: rgba(255,255,255,.025);
}

.memory-band__item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-white);
  font-size: .98rem;
}

.memory-band__item span {
  color: var(--text-muted);
  font-size: .87rem;
  line-height: 1.65;
}

.memory-band__note {
  margin: 18px 0 0;
  color: var(--text-subtle);
  font-size: .82rem;
  line-height: 1.65;
}

@media (max-width: 780px) {
  .hero__content { max-width: 100%; }
  .hero__overlay {
    background:
      linear-gradient(to bottom,
        rgba(3,5,12,.78) 0%,
        rgba(3,5,12,.70) 44%,
        rgba(3,5,12,.94) 100%);
  }
  .hero__video-wrap video {
    opacity: .25;
    object-position: 60% center;
  }
  .hero-audio-control {
    right: 84px;
    bottom: 18px;
  }
  .hero-audio-control__label {
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
  }
  .memory-band__grid {
    grid-template-columns: 1fr;
  }
  .memory-band__item {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-audio-control {
    display: none !important;
  }
}

\n\n/* ==========================================================================\n   V5 HERO FIX — SINGLE PROTAGONIST + RELIABLE AUDIO CTA\n   ========================================================================== */\n\n/* The hero video is now the only visual protagonist. */\n.hero__inner {\n  grid-template-columns: minmax(0, 780px) !important;\n  justify-content: start;\n  gap: 0;\n}\n\n@media (min-width: 900px) {\n  .hero__inner {\n    grid-template-columns: minmax(0, 780px) !important;\n  }\n}\n\n.hero__content {\n  max-width: 780px;\n}\n\n/* Safety: if old markup is still cached temporarily, never render the second Tulio/phone in hero. */\n.hero > .container .hero__visual,\n.hero .hero__visual {\n  display: none !important;\n}\n\n.hero__video-wrap video {\n  opacity: .30;\n  object-position: 68% center;\n}\n\n/* Audio control belongs to the content flow so it is always visible. */\n.hero-audio-control {\n  position: static !important;\n  right: auto !important;\n  bottom: auto !important;\n  margin-top: 2px;\n  align-self: flex-start;\n  min-height: 44px;\n  padding: 10px 16px;\n  border-radius: 999px;\n  border: 1px solid rgba(0,242,254,.28);\n  color: var(--text-white);\n  background: rgba(3,5,12,.72);\n  -webkit-backdrop-filter: blur(12px);\n  backdrop-filter: blur(12px);\n  font: 700 .8rem/1 var(--font-body);\n  letter-spacing: .01em;\n  cursor: pointer;\n  box-shadow: 0 10px 30px rgba(0,0,0,.22);\n}\n\n.hero-audio-control.is-hinting:not(.is-playing) {\n  animation: audioHint 1.7s ease-in-out 2;\n}\n\n@keyframes audioHint {\n  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,.22); transform: translateY(0); }\n  50% { box-shadow: 0 0 0 5px rgba(0,242,254,.08), 0 12px 36px rgba(0,242,254,.16); transform: translateY(-1px); }\n}\n\n@media (max-width: 780px) {\n  .hero__video-wrap video {\n    opacity: .24;\n    object-position: 64% center;\n  }\n  .hero-audio-control {\n    margin-top: 4px;\n  }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .hero-audio-control {\n    display: inline-flex !important;\n    animation: none !important;\n  }\n}\n