/* ================================================================
   AXYONA — Design System CSS
   Digital Systems & Creative Lab
   ================================================================ */

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

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Colores Axyona */
  --violet:        #7C3AED;
  --violet-bright: #8B5CF6;
  --violet-mid:    #6D28D9;
  --violet-light:  #EDE9FE;
  --violet-pale:   #F5F3FF;
  --carbon:        #111827;
  --carbon-2:      #1F2937;
  --white:         #FFFFFF;

  /* Grises */
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-900: #111827;

  /* Texto */
  --text-primary:   #111827;
  --text-secondary: #4B5563;
  --text-muted:     #9CA3AF;
  --text-white:     #FFFFFF;

  /* Tipografía */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  /* Espaciado (base 8px) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Radios */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-xs:   0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 8px 32px rgba(124,58,237,0.12), 0 0 0 1px rgba(124,58,237,0.15);
  --shadow-button: 0 2px 8px rgba(124,58,237,0.30);
  --shadow-nav:  0 1px 0 rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);

  /* Transiciones */
  --transition-fast:   150ms ease;
  --transition-base:   200ms ease;
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 68px;
}

/* ── DARK MODE TOKENS ───────────────────────────────────────── */
html.dark {
  --white:          #0F0F13;
  --gray-50:        #141418;
  --gray-100:       #1C1C23;
  --gray-200:       #27272F;
  --gray-300:       #3A3A45;
  --gray-400:       #6B6B78;
  --gray-500:       #8E8E9E;
  --gray-600:       #ADADBC;
  --gray-700:       #C8C8D4;
  --gray-900:       #F3F4F6;
  --text-primary:   #F1F1F5;
  --text-secondary: #ADADBC;
  --text-muted:     #6B6B78;
  --violet-light:   #2D1A5C;
  --violet-pale:    #1E1430;
  --shadow-card:    0 1px 3px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
  --shadow-card-hover: 0 8px 32px rgba(124,58,237,0.25), 0 0 0 1px rgba(124,58,237,0.25);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.4), 0 1px 4px rgba(0,0,0,0.2);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-nav:     0 1px 0 rgba(255,255,255,0.04), 0 4px 16px rgba(0,0,0,0.3);
}

/* Nav dark */
html.dark .pill-nav {
  background: rgba(15,15,19,0.88);
  border-color: rgba(255,255,255,0.07);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 1px 4px rgba(0,0,0,0.2);
}
html.dark .pill-nav.scrolled {
  background: rgba(15,15,19,0.96);
}
html.dark .pill-nav-logo { color: var(--text-primary); }
html.dark .pill-nav-logo:hover { background: var(--gray-100); }
html.dark .pill-link { color: var(--text-secondary); }
html.dark .pill-link:hover, html.dark .pill-link.active {
  background: var(--gray-100); color: var(--text-primary);
}
html.dark .pill-sep { background: var(--gray-200); }

/* Bottom nav dark */
html.dark .bottom-nav {
  background: rgba(15,15,19,0.88);
  border-color: rgba(255,255,255,0.07);
}

/* Cards / sections dark */
html.dark .floating-badge { background: var(--gray-100); border-color: var(--gray-200); }
html.dark .service-card, html.dark .card { background: var(--gray-100); border-color: var(--gray-200); }
html.dark .caso-featured { background: var(--gray-100); border-color: var(--gray-200); }
html.dark .pf-case-card { background: var(--gray-100); border-color: var(--gray-200); }
html.dark .pf-service-card { background: var(--gray-100); border-color: var(--gray-200); }
html.dark .pf-coming-card { background: var(--gray-100); border-color: var(--gray-200); }
html.dark .contact-card { background: var(--gray-100); border-color: var(--gray-200); }
html.dark .trust-logo-pill { background: var(--gray-100); border-color: var(--gray-200); }
html.dark .pre-footer-trust { background: var(--gray-100); }
html.dark .section-alt { background: var(--gray-50); }
html.dark input, html.dark textarea, html.dark select {
  background: var(--gray-100); border-color: var(--gray-200); color: var(--text-primary);
}
html.dark input::placeholder, html.dark textarea::placeholder { color: var(--text-muted); }
html.dark .btn-secondary {
  background: var(--gray-100); border-color: var(--gray-200); color: var(--text-primary);
}
html.dark .btn-secondary:hover { background: var(--gray-200); }

/* Hero aurora tint dark */
html.dark .aurora-layer {
  background: conic-gradient(from 200deg at 60% 70%, transparent 10%, rgba(109,40,217,0.18) 25%, transparent 45%);
}

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
  margin-left: 2px;
}
.theme-toggle:hover { background: var(--gray-100); color: var(--text-primary); }
.theme-toggle svg { width: 16px; height: 16px; pointer-events: none; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
html.dark .theme-toggle .icon-sun  { display: block; }
html.dark .theme-toggle .icon-moon { display: none; }

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

@media (min-width: 768px)  { .container { padding: 0 var(--sp-8); } }
@media (min-width: 1280px) { .container { padding: 0 var(--sp-12); } }

.section {
  padding: 56px 0;
}

@media (min-width: 768px) { .section { padding: var(--sp-32) 0; } }

/* ── PILL NAV (desktop) ──────────────────────────────────────── */
.pill-nav {
  position: fixed;
  top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  padding: 6px 8px;
  white-space: nowrap;
  transition: box-shadow var(--transition-smooth), background var(--transition-smooth);
}

.pill-nav.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 6px 32px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06);
}

.pill-nav-inner {
  display: flex;
  align-items: center;
  gap: 2px;
}

.pill-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 8px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: var(--text-primary);
  transition: background var(--transition-fast);
  margin-right: 4px;
}
.pill-nav-logo img { height: 24px; width: auto; }
.pill-nav-logo:hover { background: var(--gray-100); }

.pill-sep {
  width: 1px; height: 18px;
  background: var(--gray-200);
  margin: 0 6px;
  flex-shrink: 0;
}

.pill-link {
  padding: 7px 13px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.pill-link:hover, .pill-link.active {
  background: var(--gray-100);
  color: var(--text-primary);
}

.pill-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--violet);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12.5px;
  box-shadow: 0 2px 10px rgba(124,58,237,0.28);
  transition: background 200ms ease, box-shadow 250ms ease, transform 200ms ease;
  margin-left: 4px;
  position: relative;
  z-index: 0;
}
.pill-nav-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet-mid), var(--violet), var(--violet-bright), #A78BFA, var(--violet-mid));
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity 300ms ease;
  animation: violetShift 4s ease infinite;
}
.pill-nav-cta:hover::before { opacity: 1; }
.pill-nav-cta:hover {
  background: var(--violet-mid);
  box-shadow: 0 4px 16px rgba(124,58,237,0.38);
  transform: translateY(-1px);
}

/* ── BOTTOM NAV (mobile) — floating pill ──────────────────────── */
/* ── BOTTOM NAV (mobile floating pill) ─────────────────────── */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 100px;
  padding: 6px;
  align-items: center;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  white-space: nowrap;
}
html.dark .bottom-nav {
  background: rgba(20,20,24,0.92);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
}

.bottom-nav-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 14px;
  border-radius: 100px;
  color: var(--gray-500);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.bottom-nav-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.bottom-nav-item:hover { color: var(--violet); background: var(--violet-pale); }
.bottom-nav-item.active { color: var(--violet); background: var(--violet-pale); }
html.dark .bottom-nav-item { color: var(--gray-400); }
html.dark .bottom-nav-item:hover,
html.dark .bottom-nav-item.active { color: #A78BFA; background: rgba(124,58,237,0.15); }

.bottom-nav-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 16px;
  border-radius: 100px;
  background: var(--violet);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(124,58,237,0.35);
  line-height: 1;
}
.bottom-nav-cta svg { width: 14px; height: 14px; flex-shrink: 0; }
.bottom-nav-cta:hover { background: var(--violet-mid); box-shadow: 0 4px 16px rgba(124,58,237,0.45); }
.bottom-nav-cta:active { transform: scale(0.97); }

/* ── MOBILE DRAWER ──────────────────────────────────────────── */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  transition: opacity 260ms ease;
}
.mobile-drawer-overlay.open { opacity: 1; }

.mobile-drawer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1200;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  padding: 0 0 calc(24px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 40px rgba(0,0,0,0.18);
  transform: translateY(100%);
  transition: transform 320ms cubic-bezier(0.32,0.72,0,1);
  max-height: 80vh;
  overflow-y: auto;
}
html.dark .mobile-drawer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.mobile-drawer.open { transform: translateY(0); }

.mobile-drawer-handle {
  width: 36px; height: 4px;
  background: var(--gray-200);
  border-radius: 100px;
  margin: 12px auto 0;
}
html.dark .mobile-drawer-handle { background: var(--border); }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--gray-100);
}
html.dark .mobile-drawer-header { border-color: var(--border); }

.mobile-drawer-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--text-primary);
}

.mobile-drawer-close {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  color: var(--gray-500);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
}
html.dark .mobile-drawer-close { background: var(--surface2); color: var(--muted); }
.mobile-drawer-close:hover { background: var(--gray-200); color: var(--text-primary); }

.mobile-drawer-nav {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}
.mobile-drawer-link svg { width: 18px; height: 18px; color: var(--gray-400); flex-shrink: 0; }
.mobile-drawer-link:hover { background: var(--violet-pale); color: var(--violet); }
.mobile-drawer-link:hover svg { color: var(--violet); }
.mobile-drawer-link.active { background: var(--violet-pale); color: var(--violet); }
.mobile-drawer-link.active svg { color: var(--violet); }
html.dark .mobile-drawer-link { color: var(--text); }
html.dark .mobile-drawer-link:hover,
html.dark .mobile-drawer-link.active { background: rgba(124,58,237,0.12); color: #A78BFA; }

.mobile-drawer-badge {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-pale);
  border: 1px solid rgba(124,58,237,0.2);
  padding: 2px 8px;
  border-radius: 100px;
}

.mobile-drawer-section {
  padding: 8px 20px 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.mobile-drawer-cta {
  margin: 8px 12px 0;
}

@media (max-width: 767px) {
  .pill-nav { display: none !important; }
  .bottom-nav { display: flex; }
  body { padding-bottom: 0; }
}

/* ── BOTONES ────────────────────────────────────────────────── */
@keyframes violetShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 11px 22px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  z-index: 0;
  transition: background 200ms ease, box-shadow 250ms ease, transform 200ms ease;
}

.btn-primary {
  background: var(--violet);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(124,58,237,0.28);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg,
    var(--violet-mid),
    var(--violet),
    var(--violet-bright),
    #A78BFA,
    var(--violet),
    var(--violet-mid)
  );
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity 300ms ease;
  animation: violetShift 4s ease infinite;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  background: var(--violet-mid);
  box-shadow: 0 6px 24px rgba(124,58,237,0.40);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--white);
  color: var(--violet);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), inset 0 0 0 1.5px var(--gray-200);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg,
    var(--violet-mid),
    var(--violet),
    var(--violet-bright),
    #A78BFA,
    var(--violet)
  );
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity 300ms ease;
  animation: violetShift 4s ease infinite;
}

.btn-secondary:hover::before { opacity: 1; }
.btn-secondary:hover {
  background: var(--violet);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(124,58,237,0.36);
  transform: translateY(-2px);
}
.btn-secondary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 11px 16px;
  box-shadow: none;
}
.btn-ghost::before { display: none; }
.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--gray-100);
  transform: none;
  box-shadow: none;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 12px;
}
.btn-lg::before { border-radius: 14px; }

.btn-sm {
  padding: 8px 16px;
  font-size: 12.5px;
  border-radius: 8px;
}
.btn-sm::before { border-radius: 10px; }

.btn-full { width: 100%; justify-content: center; }

.btn-full { width: 100%; justify-content: center; }

/* ── BADGES / EYEBROWS ──────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px 12px;
  background: var(--violet-pale);
  border: 1px solid var(--violet-light);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--violet);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── AURORA KEYFRAME ─────────────────────────────────────────── */
@keyframes aurora {
  from { background-position: 50% 50%, 50% 50%; }
  to   { background-position: 350% 50%, 350% 50%; }
}

/* ── HERO (home) ─────────────────────────────────────────────── */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

/* Aurora container */
.aurora-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.aurora-layer {
  position: absolute;
  inset: -10px;
  background-image:
    repeating-linear-gradient(
      100deg,
      rgba(255,255,255,0.85) 0%,
      rgba(255,255,255,0.85) 7%,
      transparent 10%,
      transparent 12%,
      rgba(255,255,255,0.85) 16%
    ),
    repeating-linear-gradient(
      100deg,
      #6D28D9 10%,
      #A78BFA 15%,
      #8B5CF6 20%,
      #EDE9FE 25%,
      #7C3AED 30%
    );
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(10px) invert(1);
  opacity: 0.45;
  will-change: background-position;
  mask-image: radial-gradient(ellipse at 80% 0%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 0%, black 10%, transparent 70%);
  animation: aurora 60s linear infinite;
}

.aurora-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      100deg,
      rgba(255,255,255,0.85) 0%,
      rgba(255,255,255,0.85) 7%,
      transparent 10%,
      transparent 12%,
      rgba(255,255,255,0.85) 16%
    ),
    repeating-linear-gradient(
      100deg,
      #6D28D9 10%,
      #A78BFA 15%,
      #8B5CF6 20%,
      #EDE9FE 25%,
      #7C3AED 30%
    );
  background-size: 200%, 100%;
  background-attachment: fixed;
  mix-blend-mode: difference;
  animation: aurora 60s linear infinite;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.hero-content { min-width: 0; }

.hero-eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  background: var(--violet-pale);
  border: 1px solid var(--violet-light);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}
.eyebrow-dot-sm {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--violet);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -1.8px;
  color: var(--text-primary);
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.rotate-chip {
  display: inline-flex;
  align-items: center;
  background: var(--violet);
  color: #fff;
  border-radius: 11px;
  padding: 3px 16px 5px;
  min-width: 260px;
  height: 1.15em;
  overflow: hidden;
  position: relative;
  vertical-align: middle;
  box-shadow: 0 3px 14px rgba(124,58,237,0.32);
}

.rotate-text-wrap {
  position: absolute;
  left: 16px; right: 16px;
  top: 0; bottom: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.rotate-char {
  display: inline-block;
  will-change: transform, opacity;
}

.hero-subtitle {
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.35s forwards;
}
.hero-subtitle strong { color: var(--text-primary); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.45s forwards;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp 0.6s ease 0.55s forwards;
}
.trust-avatars { display: flex; }
.trust-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--violet-light);
  margin-left: -7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
  color: var(--violet);
  font-family: var(--font-heading);
}
.trust-avatar:first-child { margin-left: 0; }
.trust-sep-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gray-300);
}

.floating-badge {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.07), 0 1px 6px rgba(0,0,0,0.04);
  display: flex; flex-direction: column; gap: 10px;
  width: 300px; flex-shrink: 0; align-self: center;
  opacity: 0;
  animation: fadeSlideLeft 0.7s ease 0.6s forwards;
}
.badge-row { display: flex; align-items: center; gap: 9px; }
.badge-icon {
  width: 32px; height: 32px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.badge-icon.ti  { background: #EDE9FE; }
.badge-icon.web { background: #E0F2FE; }
.badge-icon.ia  { background: #F0FDF4; }
.badge-icon svg { width: 15px; height: 15px; }
.badge-label {
  font-family: var(--font-heading);
  font-size: 11.5px; font-weight: 700;
  color: var(--text-primary);
}
.badge-sub { font-size: 10.5px; color: var(--text-muted); margin-top: 1px; }
.badge-divider { height: 1px; background: var(--gray-100); }
.badge-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #059669; font-weight: 600;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16,185,129,0.2);
  flex-shrink: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .floating-badge { display: none; }
}
@media (max-width: 640px) {
  .hero-inner { padding: 0 24px; }
  .hero-title-line { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rotate-chip { min-width: 220px; }
}

/* Hero de páginas internas (compacto) */
/* ── PAGE HERO — shader background ──────────────────────────── */
.page-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #F9FAFB;
  border-bottom: 1px solid var(--gray-100);
}

/* Shader canvas — multiply blend sobre fondo blanco */
.page-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  mix-blend-mode: multiply;
  opacity: 0.88;
}

/* Glow radial sutil a la derecha */
.page-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 85% 50%,
    rgba(124,58,237,0.09) 0%,
    rgba(139,92,246,0.04) 45%,
    transparent 70%);
  pointer-events: none;
}

/* Dot grid concentrado a la derecha */
.page-hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(124,58,237,0.11) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 80% at 75% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

/* Contenido del hero — alineado a la izquierda */
.page-hero-inner {
  position: relative;
  z-index: 10;
  max-width: 620px;
}

.page-hero-eyebrow { margin-bottom: var(--sp-6); }

.page-hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(36px, 5.5vw, 68px);
  letter-spacing: -2px;
  line-height: 1.03;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}

.page-hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: var(--sp-8);
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--sp-10);
}

.page-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.page-hero-trust-pill svg {
  width: 13px; height: 13px;
  color: var(--violet);
  flex-shrink: 0;
}

/* Variante más compacta para páginas con mucho contenido debajo */
.contact-hero {
  min-height: 62vh;
}

@media (max-width: 768px) {
  .page-hero { min-height: auto; padding-top: 100px; padding-bottom: 60px; align-items: flex-start; }
  .page-hero-canvas { opacity: 0.5; }
  .contact-hero { min-height: auto; }
}

/* ── TRUST — Infinite Slider + Sparkles ──────────────────────── */
@keyframes infiniteScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trust-new {
  position: relative;
  padding: 32px 0 0;
  background: var(--white);
  overflow: hidden;
}

/* Header */
.trust-new-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 0 var(--sp-6);
}
.trust-new-eyebrow {
  font-family: var(--font-heading);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--sp-3);
}
.trust-new-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  line-height: 1.2;
}
.trust-new-accent { color: var(--violet); }

/* Slider viewport */
.trust-slider-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 72px;
  display: flex; align-items: center;
}

/* Progressive blur left/right */
.trust-slider-blur {
  position: absolute;
  top: 0; bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}
.trust-blur-left {
  left: 0;
  background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}
.trust-blur-right {
  right: 0;
  background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.trust-slider-viewport {
  width: 100%;
  overflow: hidden;
}

.trust-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: infiniteScroll 28s linear infinite;
}
.trust-track:hover { animation-play-state: paused; }

.trust-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: border-color 250ms, box-shadow 250ms, transform 200ms;
  cursor: default;
  height: 72px;
  min-width: 140px;
}
.trust-logo-card img {
  width: 130px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) opacity(0.55);
  transition: filter 300ms ease, transform 300ms ease;
  display: block;
}
.trust-logo-card:hover {
  border-color: var(--violet-light);
  box-shadow: 0 4px 16px rgba(124,58,237,0.10);
  transform: translateY(-2px);
}
.trust-logo-card:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

/* Sparkle zone */
.trust-sparkle-zone {
  position: relative;
  height: 100px;
  margin-top: 24px;
  overflow: hidden;
}

.trust-sparkle-bg {
  position: absolute;
  inset: 0;
}
.trust-sparkle-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(124,58,237,0.18) 0%, transparent 70%);
}

.trust-sparkles-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, black 0%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, black 0%, transparent 85%);
}

/* Curva blanca que tapa la parte inferior */
.trust-curve {
  position: absolute;
  bottom: -2px; left: -20%; right: -20%;
  height: 100px;
  background: var(--white);
  border-radius: 100% 100% 0 0;
}

.trust-logo-item:hover { color: var(--text-secondary); }

/* ── SECTION HEADERS ────────────────────────────────────────── */
.section-header {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-header.left {
  text-align: left;
  margin: 0 0 36px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--sp-4);
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--violet);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

.section-title .accent { color: var(--violet); }

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

/* ── CARDS DE FEATURES / PILARES ────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: box-shadow var(--transition-smooth), border-color var(--transition-smooth), transform var(--transition-smooth);
  position: relative;
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(124,58,237,0.2);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--violet-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
}

.card-icon svg { width: 22px; height: 22px; }

.card-badge {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  padding: 3px 10px;
  background: var(--violet);
  color: var(--white);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}

.card-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.card-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet);
  flex-shrink: 0;
  margin-top: 7px;
}

.card-cta {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--gray-100);
}

/* ── VALOR / PROPUESTA ──────────────────────────────────────── */
.value-section {
  background: var(--gray-50);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .value-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
}

.value-text { max-width: 520px; }

.value-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}

.value-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.value-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.value-list li .check-icon {
  width: 20px;
  height: 20px;
  background: var(--violet-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-list li .check-icon svg { width: 11px; height: 11px; }

.value-quote {
  background: var(--carbon);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  position: relative;
  overflow: hidden;
}

.value-quote::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(124,58,237,0.25), transparent 70%);
  pointer-events: none;
}

.value-quote-mark {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 800;
  color: var(--violet);
  line-height: 1;
  margin-bottom: var(--sp-4);
  opacity: 0.8;
}

.value-quote-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--white);
  line-height: 1.5;
  margin-bottom: var(--sp-5);
}

.value-quote-author {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* ── ESTADÍSTICAS ───────────────────────────────────────────── */
.stats-section {
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: var(--sp-16) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
  text-align: center;
}

@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item { padding: var(--sp-4); }

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--violet);
  margin-bottom: var(--sp-2);
  display: block;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ── PROCESO ────────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--sp-6) 0;
  position: relative;
}

@media (min-width: 768px) {
  .process-step { padding: var(--sp-6); }
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 34px;
    right: calc(-1 * var(--sp-3));
    width: calc(var(--sp-6) + 2px);
    height: 2px;
    background: var(--violet-light);
  }
}

.process-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--violet-pale);
  border: 2px solid var(--violet-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--violet);
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}

.process-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}

.process-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── LÍMITES DE MARCA ───────────────────────────────────────── */
.limits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

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

.limit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
}

.limit-x {
  width: 22px;
  height: 22px;
  background: #FEE2E2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  color: #DC2626;
  line-height: 1;
}

.limit-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.4;
  padding-top: 2px;
}

/* ── TESTIMONIOS — 3 columnas scroll vertical ────────────────── */
@keyframes tc-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.tc-section {
  overflow: hidden;
  background: var(--bg-primary);
}

.tc-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.tc-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 4px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Wrapper con máscara vertical */
.tc-columns-wrap {
  padding: 0 16px;
}

.tc-cols {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-height: 700px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  margin-top: 40px;
}

/* Columna */
.tc-col {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 300px;
}
.tc-col--md { display: none; }
.tc-col--lg { display: none; }

/* Track animado */
.tc-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 24px;
  animation: tc-scroll var(--tc-dur, 15s) linear infinite;
}
.tc-col:hover .tc-track { animation-play-state: paused; }

/* Card */
.tc-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(124,58,237,0.07), 0 1px 4px rgba(0,0,0,0.04);
  flex-shrink: 0;
}

.tc-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.tc-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tc-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--av-bg, var(--violet));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.tc-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.tc-role {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.4;
  margin-top: 2px;
}

/* Responsive: mostrar columnas adicionales */
@media (min-width: 768px) {
  .tc-col--md { display: flex; }
  .tc-col { width: 280px; }
}
@media (min-width: 1024px) {
  .tc-col--lg { display: flex; }
  .tc-col { width: 300px; }
}

/* ── CASO FEATURED (index) ───────────────────────────────────── */
.caso-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 32px rgba(124,58,237,0.06), 0 1px 4px rgba(0,0,0,0.04);
  margin-bottom: 32px;
}

.caso-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet);
  margin-bottom: 12px;
}
.caso-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--violet);
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}

.caso-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.caso-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.caso-services {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.caso-service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.caso-service-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--violet-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--violet);
}
.caso-service-icon svg { width: 16px; height: 16px; }
.caso-service-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.caso-service-desc {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 2px;
  line-height: 1.4;
}

.caso-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.caso-stat {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.caso-stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--violet);
  letter-spacing: -0.03em;
  line-height: 1;
}
.caso-stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.caso-soporte-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--violet-pale);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 14px;
  padding: 16px 18px;
}
.caso-soporte-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--violet);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.caso-soporte-icon svg { width: 16px; height: 16px; }
.caso-soporte-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--violet);
  line-height: 1.3;
}
.caso-soporte-sub {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}
.caso-soporte-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  margin-left: auto;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 2s ease infinite;
}

.caso-cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .caso-featured { grid-template-columns: 1fr; padding: 28px; gap: 32px; }
  .caso-title { font-size: 28px; }
}

/* ── PORTAFOLIO PAGE ─────────────────────────────────────────── */
.pf-case-section { background: var(--bg-primary); }

.pf-case-header {
  text-align: center;
  margin-bottom: 48px;
}
.pf-case-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet);
  margin-bottom: 20px;
}
.pf-case-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--violet);
  animation: pulse 2s ease infinite;
}
.pf-case-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.pf-case-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: none;
}
.pf-case-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.pf-case-subtitle {
  font-size: 16px;
  color: var(--text-tertiary);
}

/* Resumen ejecutivo */
.pf-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.pf-summary-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}
.pf-summary-text p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.pf-summary-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pf-service-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--violet-pale);
  border: 1px solid rgba(124,58,237,0.12);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--violet);
}
.pf-service-tag svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Detalle de servicios */
.pf-services-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.pf-service-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pf-service-card:hover {
  box-shadow: 0 8px 32px rgba(124,58,237,0.1);
  transform: translateY(-2px);
}
.pf-service-num {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  letter-spacing: -0.04em;
  padding-top: 4px;
}
.pf-service-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.pf-service-icon-lg {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--violet-pale);
  color: var(--violet);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pf-service-icon-lg svg { width: 20px; height: 20px; }
.pf-service-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.pf-service-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.pf-service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pf-service-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.pf-service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--violet);
  font-weight: 700;
  font-size: 12px;
}

/* Soporte TI strip */
.pf-soporte-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--violet-pale), #f5f0ff);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 20px;
  padding: 32px 36px;
}
.pf-soporte-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--violet);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pf-soporte-icon svg { width: 22px; height: 22px; }
.pf-soporte-text { flex: 1; }
.pf-soporte-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.pf-soporte-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.pf-soporte-badge-num {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--violet);
  letter-spacing: -0.04em;
  opacity: 0.25;
  flex-shrink: 0;
}

/* Próximamente */
.pf-coming-section { background: var(--gray-50); }
.pf-coming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.pf-coming-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px;
}
.pf-coming-tag {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--violet);
  background: var(--violet-pale);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.pf-coming-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.pf-coming-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}
.pf-coming-status {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pf-coming-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}
.pf-coming-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.pf-coming-cta p {
  font-size: 16px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .pf-summary { grid-template-columns: 1fr; padding: 24px; }
  .pf-service-card { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .pf-service-num { font-size: 32px; }
  .pf-coming-grid { grid-template-columns: 1fr; }
  .pf-soporte-strip { flex-direction: column; text-align: center; padding: 24px; }
  .pf-case-title { font-size: 36px; }
}

/* ── GRID PATTERN (portafolio hero) ─────────────────────────── */
.pf-grid-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.pf-grid-svg {
  position: absolute;
  /* Extiende 30% arriba y abajo, igual al demo original */
  top: -30%;
  left: 0;
  width: 100%;
  height: 160%;
  /* Sesgo como en el componente (skew-y-12 = 12deg) */
  transform: skewY(12deg);
  transform-origin: center center;
  /* Máscara radial: visible hacia el centro-derecha, fade en bordes */
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 65% 50%, white 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 65% 70% at 65% 50%, white 20%, transparent 80%);
}

/* ── CTA BANNER ─────────────────────────────────────────────── */
/* ── PRE-FOOTER TRUST ───────────────────────────────────────── */
.pre-footer-trust {
  background: var(--violet-pale);
  border-top: 1px solid var(--violet-light);
  padding: var(--sp-12) 0 var(--sp-16);
  text-align: center;
}

.pft-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--sp-8);
}

.pft-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 4px;
  margin-bottom: var(--sp-10);
}

.pft-logo-item {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(124,58,237,0.15);
  background: rgba(255,255,255,0.7);
}

.pft-sep {
  color: rgba(124,58,237,0.25);
  font-size: 18px;
  line-height: 1;
}

.pft-quote {
  font-family: var(--font-body);
  font-size: clamp(17px, 2.2vw, 22px);
  font-style: italic;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .pft-sep { display: none; }
  .pft-logos { gap: 8px; }
}

/* ── FORMULARIO ─────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.form-label .required { color: var(--violet); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: var(--sp-1);
}

.form-error {
  font-size: 12px;
  color: #DC2626;
  margin-top: var(--sp-1);
  display: none;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.10);
}

.form-group.has-error .form-error { display: block; }

/* Estado de éxito del form */
.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-10);
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-lg);
}

.form-success.visible { display: block; }
.form-success-icon { font-size: 40px; margin-bottom: var(--sp-4); }
.form-success-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: #065F46;
  margin-bottom: var(--sp-2);
}
.form-success-text { font-size: 14px; color: #047857; }

/* ── CONTACTO INFO CARDS ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: var(--sp-12); } }

.contact-info { display: flex; flex-direction: column; gap: var(--sp-4); }

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  transition: box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.contact-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(124,58,237,0.2);
}

.contact-icon {
  width: 44px; height: 44px;
  background: var(--violet-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-label {
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}

.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-value a:hover { color: var(--violet); }

.contact-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Diagnóstico card especial */
.diag-card {
  background: var(--carbon);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  margin-top: var(--sp-2);
}

.diag-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(124,58,237,0.3), transparent 70%);
  pointer-events: none;
}

.diag-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.diag-text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: var(--sp-5);
}

/* ── PRICING WITH CHART ──────────────────────────────────────── */
.pricing-section {
  background: #fff;
  position: relative;
}
.pricing-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(124,58,237,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-board {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
  position: relative;
}
@media (min-width: 768px) {
  .pricing-board { grid-template-columns: 5fr 7fr; }
}

/* Left — Proyecto Único */
.pricing-left {
  padding: 40px 36px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
@media (min-width: 768px) {
  .pricing-left { border-bottom: none; border-right: 1px solid var(--border); }
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-pale);
  border: 1px solid var(--violet-light);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 12px;
}

.pricing-plan-name {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 32px; font-weight: 800;
  color: var(--violet);
  line-height: 1;
  margin-bottom: 6px;
}
.pricing-price-sub {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.pricing-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.pricing-check {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--violet);
  margin-top: 1px;
}

/* Right — Alianza Mensual */
.pricing-right {
  padding: 40px 36px;
  display: grid;
  gap: 32px;
  background: var(--violet-pale);
}
@media (min-width: 1024px) {
  .pricing-right { grid-template-columns: 1fr 1fr; }
}

.pricing-right-top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.pricing-highlighted-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff;
  background: var(--violet);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 12px;
}

/* Chart card */
.pricing-chart-card {
  background: #fff;
  border: 1px solid var(--violet-light);
  border-radius: 14px;
  overflow: hidden;
}
.pricing-chart-header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}
.pricing-chart-title {
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 700;
  color: var(--text-primary);
}
.pricing-chart-subtitle {
  font-size: 11px; color: var(--text-muted); margin-top: 2px;
}
.pricing-chart-body {
  padding: 12px;
  height: 160px;
}

/* Right features column */
.pricing-right-features {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.pricing-features-label {
  font-family: var(--font-heading);
  font-size: 12px; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.pricing-right-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 480px) {
  .pricing-right-actions { grid-template-columns: 1fr; }
  .pricing-left, .pricing-right { padding: 28px 20px; }
}

/* ── FOOTER CINEMATOGRÁFICO ──────────────────────────────────── */

/* Curtain reveal: wrapper en flujo normal, footer fixed adentro */
.footer-curtain {
  position: relative;
  height: 100vh;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.cinematic-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 100vh;
  background: var(--carbon);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* Aurora */
.cf-aurora {
  position: absolute;
  left: 50%; top: 50%;
  width: 80vw; height: 60vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%,
    rgba(124,58,237,0.20) 0%,
    rgba(109,40,217,0.10) 40%,
    transparent 70%);
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none; z-index: 0;
  animation: cfBreathe 8s ease-in-out infinite alternate;
}
@keyframes cfBreathe {
  0%   { transform: translate(-50%,-50%) scale(1);    opacity: 0.55; }
  100% { transform: translate(-50%,-50%) scale(1.18); opacity: 1; }
}

/* Grid */
.cf-grid {
  position: absolute; inset: 0;
  background-size: 56px 56px;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
  pointer-events: none; z-index: 0;
}

/* Giant background text */
.cf-giant-text {
  position: absolute;
  bottom: -3vh; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 26vw; font-weight: 900;
  letter-spacing: -0.05em; line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.055);
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  -webkit-background-clip: text; background-clip: text;
  white-space: nowrap;
  pointer-events: none; z-index: 0; user-select: none;
  will-change: transform, opacity;
}

/* Marquee diagonal */
.cf-marquee-wrap {
  position: absolute;
  top: 40px; left: 0; right: 0;
  overflow: hidden;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: rotate(-1.5deg) scaleX(1.06);
  z-index: 5;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.cf-marquee-track {
  display: flex;
  width: max-content;
  animation: cfMarquee 38s linear infinite;
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.cf-marquee-item {
  display: flex; align-items: center;
  gap: 28px; padding: 0 28px;
}
.cf-marquee-item .cf-sep { color: var(--violet-bright); opacity: 0.6; font-size: 13px; }
@keyframes cfMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Center content */
.cf-center {
  position: relative; z-index: 10;
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0 24px;
  margin-top: 60px;
  gap: 32px;
}

.cf-heading {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  text-align: center;
  line-height: 1;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(255,255,255,0.08));
  will-change: transform, opacity;
}
.cf-heading .cf-accent {
  background: linear-gradient(135deg, var(--violet-bright) 0%, var(--violet-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pills */
.cf-pills {
  display: flex; flex-direction: column;
  align-items: center; gap: 14px; width: 100%;
  will-change: transform, opacity;
}
.cf-pills-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 12px;
}

/* cf-pill hereda el sistema de .btn — mismos border-radius, glow y transiciones */
.cf-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font-heading); font-size: 14px; font-weight: 700;
  letter-spacing: 0.01em; white-space: nowrap;
  cursor: pointer; text-decoration: none; border: none;
  position: relative; z-index: 1;
  transition: background 200ms ease, box-shadow 250ms ease, transform 200ms ease, color 200ms ease;
  will-change: transform;
  /* base: secondary oscuro */
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.75);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.14);
}
.cf-pill::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg,
    var(--violet-mid), var(--violet), var(--violet-bright), #A78BFA, var(--violet), var(--violet-mid)
  );
  background-size: 300% 300%;
  z-index: -1; opacity: 0;
  transition: opacity 300ms ease;
  animation: violetShift 4s ease infinite;
}
.cf-pill:hover::before { opacity: 1; }
.cf-pill:hover {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.45);
  transform: translateY(-2px);
  z-index: 10;
}
.cf-pill:active { transform: translateY(0); }
.cf-pill svg { width: 16px; height: 16px; flex-shrink: 0; transition: opacity 0.2s; }

/* Primary — violeta sólido, igual que .btn-primary */
.cf-pill-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 2px 12px rgba(124,58,237,0.40);
}
.cf-pill-primary:hover {
  background: var(--violet-mid);
  box-shadow: 0 6px 28px rgba(124,58,237,0.55);
}

/* Secondary — igual que .btn-secondary pero en oscuro */
.cf-pill-secondary {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.75);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.14);
}

/* Small — links de pie */
.cf-pill-sm {
  padding: 9px 18px;
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.4);
  border-radius: 8px;
}
.cf-pill-sm::before { border-radius: 10px; }
.cf-pill-sm:hover {
  color: rgba(255,255,255,0.85);
  background: rgba(124,58,237,0.25);
  box-shadow: none;
  transform: none;
}

/* Bottom bar */
.cf-bottom {
  position: relative; z-index: 10;
  padding: 20px 40px 32px;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cf-copy {
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.22);
}
.cf-made {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: default;
}
.cf-made span {
  font-family: var(--font-heading); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.cf-made .cf-brand { color: rgba(255,255,255,0.75); }
.cf-made .cf-heart {
  color: var(--violet-bright); font-size: 13px;
  animation: cfHeartbeat 2s cubic-bezier(0.25,1,0.5,1) infinite;
  filter: drop-shadow(0 0 5px rgba(139,92,246,0.7));
}
@keyframes cfHeartbeat {
  0%,100% { transform: scale(1);   filter: drop-shadow(0 0 4px rgba(139,92,246,0.5)); }
  15%,45%  { transform: scale(1.35); filter: drop-shadow(0 0 10px rgba(139,92,246,0.9)); }
  30%      { transform: scale(1); }
}

.cf-socials { display: flex; gap: 8px; align-items: center; }
.cf-social {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.32); cursor: pointer; text-decoration: none;
  transition: all 0.3s ease; will-change: transform;
}
.cf-social:hover { color: #fff; border-color: rgba(124,58,237,0.45); background: rgba(124,58,237,0.16); }
.cf-social svg { width: 15px; height: 15px; }

.cf-top-btn {
  width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.04); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,0.38);
  transition: all 0.3s ease; will-change: transform;
}
.cf-top-btn:hover { color: #fff; background: rgba(124,58,237,0.2); border-color: rgba(124,58,237,0.45); }
.cf-top-btn svg { width: 17px; height: 17px; transition: transform 0.3s ease; }
.cf-top-btn:hover svg { transform: translateY(-3px); }

@media (max-width: 640px) {
  .cf-bottom { padding: 16px 20px 28px; justify-content: center; text-align: center; }
  .cf-marquee-wrap { top: 28px; }
  .cf-pill { font-size: 13px; padding: 13px 22px; }
}

/* ── ANIMACIONES ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.10s; }
.delay-3 { transition-delay: 0.15s; }
.delay-4 { transition-delay: 0.20s; }
.delay-5 { transition-delay: 0.25s; }
.delay-6 { transition-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── UTILIDADES ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-violet { color: var(--violet); }
.text-muted  { color: var(--text-muted); }
.font-heading { font-family: var(--font-heading); }

.mt-0  { margin-top: 0; }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }

.divider {
  height: 1px;
  background: var(--gray-100);
  margin: var(--sp-16) 0;
}

/* Scroll margin para anclas con nav fija */
section[id], div[id] { scroll-margin-top: calc(var(--nav-height) + 24px); }


/* ── CONTACT HERO FLOATING SHAPES ───────────────────────────── */
.cs-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cs-shape-pos {
  position: absolute;
  opacity: 0;
  animation: csEntry 2.4s cubic-bezier(0.23,1,0.32,1) forwards;
}

.cs-shape-anim {
  animation: csFloat var(--cs-float-dur, 12s) ease-in-out infinite;
}

@keyframes csEntry {
  from {
    opacity: 0;
    transform: translateY(-150px) rotate(inherit);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(inherit);
  }
}

@keyframes csFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(var(--cs-float-y, 15px)); }
}


/* ── JOURNEY STEPS (¿Cómo funciona?) ────────────────────────── */
.journey-step {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.journey-number {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--violet), var(--violet-bright));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800; font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(124,58,237,0.35);
}
.journey-content h3 {
  font-family: var(--font-heading);
  font-size: 15px; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.journey-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── PRICING OPTIONS (¿Qué puedo contratar?) ────────────────── */
.pricing-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.option-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.option-card:hover {
  border-color: var(--violet);
  box-shadow: 0 6px 24px rgba(124,58,237,0.10);
}
.option-card--featured {
  border-color: var(--violet);
  background: var(--violet-pale);
  box-shadow: 0 4px 20px rgba(124,58,237,0.12);
}
.option-card-title {
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 800;
  color: var(--text-primary);
}
.option-card-ideal {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}
.option-card-list {
  list-style: none;
  padding: 0; margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 7px;
}
.option-card-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}
.option-card-list li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--violet); font-size: 12px;
  font-weight: 700;
}
.option-card-bottom {
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
  margin-top: 4px;
}
.option-card--featured .option-card-bottom {
  border-color: var(--violet-light);
}

@media (max-width: 768px) {
  .pricing-options { grid-template-columns: 1fr; }
  .journey-step { gap: 14px; }
  .journey-number { width: 36px; height: 36px; font-size: 14px; }
}

/* ── Blog Content ── */
.blog-content h2 { font-family: var(--font-heading); font-weight: 800; font-size: 22px; letter-spacing: -0.3px; margin: 2em 0 0.6em; color: var(--text-primary); }
.blog-content h3 { font-family: var(--font-heading); font-weight: 700; font-size: 18px; margin: 1.5em 0 0.5em; color: var(--text-primary); }
.blog-content p { margin-bottom: 1.2em; }
.blog-content ul, .blog-content ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.blog-content li { margin-bottom: 0.4em; }
.blog-content a { color: var(--violet); text-decoration: underline; }
.blog-content blockquote { border-left: 3px solid var(--violet); padding: 12px 20px; margin: 1.5em 0; background: var(--violet-pale); border-radius: 0 10px 10px 0; font-style: italic; }
.blog-content img { max-width: 100%; border-radius: 10px; margin: 1em 0; }
.blog-content pre { background: var(--gray-100); padding: 16px; border-radius: 10px; overflow-x: auto; font-size: 14px; margin: 1.2em 0; }
.blog-content code { background: var(--gray-100); padding: 2px 6px; border-radius: 4px; font-size: 13px; }

/* ── Divider ── */
.divider { padding: 0; }
.divider .container { height: 1px; background: var(--gray-100); }

/* ── Process Grid ── */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: var(--sp-12); }
.process-step { text-align: center; padding: 24px 16px; }
.process-num { font-family: var(--font-heading); font-weight: 800; font-size: 36px; color: var(--violet); opacity: 0.3; line-height: 1; margin-bottom: 12px; }
.process-title { font-family: var(--font-heading); font-weight: 700; font-size: 15px; margin-bottom: 8px; color: var(--text-primary); }
.process-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ── Limits Grid ── */
.limits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.limit-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 10px; }
.limit-x { color: var(--text-muted); font-size: 16px; font-weight: 700; flex-shrink: 0; }
.limit-text { font-size: 14px; color: var(--text-secondary); }

/* ── Site Footer (WordPress) ── */
.site-footer {
  background: var(--carbon, #111827);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
  font-size: 14px;
}
.footer-inner {
  max-width: var(--container-max, 1120px);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin: 0;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
}
