/* ═══════════════════════════════════════════════════
   AMITEC · Premium Web Design System
   Colors: #0B132B (navy) · #007BFF (blue)
   Font: Inter
═══════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --navy:        #0B132B;
  --navy-80:     rgba(11,19,43,.82);
  --navy-mid:    #111d3f;
  --navy-lt:     #1a2a55;
  --blue:        #007BFF;
  --blue-lt:     #3d9bff;
  --blue-xlt:    #93c5fd;
  --blue-dk:     #0044CC;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --gray-50:     #f1f5f9;
  --gray-100:    #e2e8f0;
  --gray-300:    #94a3b8;
  --gray-500:    #64748b;
  --gray-700:    #334155;
  --gray-900:    #0f172a;
  --green:       #22c55e;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:   0 24px 64px rgba(0,0,0,.14);
  --shadow-blue: 0 8px 32px rgba(0,123,255,.30);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; user-select: none; -webkit-user-select: none; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--font); color: var(--gray-700); background: var(--white); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; user-select: text; -webkit-user-select: text; }

/* ─── ACCESSIBILITY ─── */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ─── LAYOUT ─── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── TYPOGRAPHY HELPERS ─── */
.gradient-text {
  background: linear-gradient(125deg, var(--blue-lt) 0%, var(--blue) 40%, var(--blue-dk) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200% auto; animation: gradientShift 4s ease-in-out infinite;
}
.gradient-text-lt {
  background: linear-gradient(125deg, #bfdbfe 0%, var(--blue-lt) 50%, var(--white) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200% auto; animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* ─── SECTION HEADERS ─── */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 72px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); background: rgba(0,123,255,.07); border: 1px solid rgba(0,123,255,.18);
  padding: 6px 16px; border-radius: 100px; margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.section-label::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.5) 50%, transparent 100%);
  transform: translateX(-100%); animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}
.section-label--lt { color: var(--blue-xlt); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }
.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.15;
  color: var(--navy); margin-bottom: 20px; letter-spacing: -.025em;
}
.section-desc { font-size: 1.05rem; line-height: 1.8; color: var(--gray-500); }

/* ─── SCROLL REVEAL (disabled) ─── */
.reveal-label, .reveal-title, .reveal-desc, [data-aos] { opacity: 1; transform: none; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem; border-radius: var(--radius-md);
  padding: 14px 28px; transition: var(--transition); white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: rgba(255,255,255,.12); transition: opacity var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dk) 100%);
  color: var(--white); box-shadow: var(--shadow-blue);
  animation: btnGlow 3s ease-in-out infinite;
}
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 8px 32px rgba(0,123,255,.30); }
  50%       { box-shadow: 0 8px 48px rgba(0,123,255,.55); }
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); }
.btn-primary:active { transform: translateY(0) scale(.98); }

.btn-ghost {
  background: rgba(255,255,255,.06); color: var(--white);
  border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); transform: translateY(-2px); }

.btn-xl { padding: 18px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); width: 100%; justify-content: center; }


/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all var(--transition);
}
.header.scrolled {
  background: var(--navy-80); backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(255,255,255,.05), 0 8px 32px rgba(0,0,0,.35);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 32px; }

.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; flex-shrink: 0; }
.logo-img {
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.logo-img--full {
  height: 44px;
  width: auto;
  max-width: 200px;
}
.nav-logo:hover .logo-img { transform: scale(1.04); }
.logo-text { color: var(--white); }
.logo-text--lt { color: var(--white); }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.75);
  padding: 8px 14px; border-radius: var(--radius-sm); transition: var(--transition); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--blue); border-radius: 1px; transition: var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { left: 14px; right: 14px; }
.nav-cta-link {
  background: linear-gradient(135deg, var(--blue), var(--blue-dk));
  color: var(--white) !important; padding: 9px 20px; border-radius: var(--radius-md);
  margin-left: 8px; box-shadow: var(--shadow-blue);
}
.nav-cta-link::after { display: none; }
.nav-cta-link:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,123,255,.5); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }


/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative; min-height: 100svh;
  background: var(--navy); display: flex; align-items: center;
  overflow: hidden; padding: 100px 0 60px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .35; animation: orbFloat 14s ease-in-out infinite;
}
.hero-orb--1 { width: 600px; height: 600px; top: -20%; right: -10%; background: radial-gradient(circle, var(--blue), transparent 70%); animation-delay: 0s; }
.hero-orb--2 { width: 400px; height: 400px; bottom: -10%; left: -5%; background: radial-gradient(circle, var(--blue-dk), transparent 70%); animation-delay: -5s; opacity: .25; }
.hero-orb--3 { width: 300px; height: 300px; top: 50%; left: 35%; background: radial-gradient(circle, var(--blue-lt), transparent 70%); animation-delay: -9s; opacity: .12; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(24px,-36px) scale(1.06); }
  66%       { transform: translate(-18px,18px) scale(.94); }
}
.hero-grid {
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 100%);
}

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

/* Hero badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,123,255,.1); border: 1px solid rgba(0,123,255,.22);
  padding: 8px 18px; border-radius: 100px; margin-bottom: 28px;
  font-size: .82rem; font-weight: 500; color: var(--blue-xlt);
  position: relative; overflow: hidden;
}
.hero-badge::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transform: translateX(-100%); animation: shimmer 2.5s ease-in-out infinite;
}
.badge-pulse {
  width: 8px; height: 8px; background: var(--green); border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

.hero-title { font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 900; line-height: 1.1; letter-spacing: -.03em; color: var(--white); margin-bottom: 24px; }
.hero-desc  { font-size: 1.1rem; line-height: 1.8; color: rgba(255,255,255,.68); margin-bottom: 36px; max-width: 500px; }
.hero-desc strong { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-proof { display: flex; align-items: center; gap: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.proof-item { text-align: center; }
.proof-item strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--white); letter-spacing: -.03em; }
.proof-item span   { font-size: .75rem; color: rgba(255,255,255,.45); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.proof-sep { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* Browser mockup */
.hero-visual { position: relative; }
.browser-frame {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.05);
  backdrop-filter: blur(4px);
}
.browser-chrome { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.06); }
.chrome-dots { display: flex; gap: 6px; }
.cdot { width: 10px; height: 10px; border-radius: 50%; }
.cdot--r { background: #ff5f57; } .cdot--y { background: #febc2e; } .cdot--g { background: #28c840; }
.chrome-addr { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07); border-radius: 6px; padding: 5px 12px; font-size: .74rem; color: rgba(255,255,255,.42); flex: 1; }
.browser-body { padding: 16px; }
.sim-nav { height: 32px; background: rgba(255,255,255,.06); border-radius: 6px; margin-bottom: 16px; }
.sim-hero { display: grid; grid-template-columns: 1fr .9fr; gap: 12px; margin-bottom: 16px; }
.sim-copy { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.sim-h1   { height: 14px; background: rgba(255,255,255,.2); border-radius: 4px; }
.sim-h1--s { width: 70%; }
.sim-p    { height: 8px; background: rgba(255,255,255,.09); border-radius: 4px; }
.sim-p--s { width: 55%; }
.sim-btn  { height: 26px; width: 90px; background: linear-gradient(135deg, var(--blue), var(--blue-dk)); border-radius: 6px; margin-top: 4px; }
.sim-widget { background: rgba(255,255,255,.07); border-radius: 10px; padding: 10px; border: 1px solid rgba(255,255,255,.07); }
.sw-header { height: 18px; background: linear-gradient(135deg,var(--blue),var(--blue-dk)); border-radius: 5px; margin-bottom: 8px; }
.sw-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-bottom: 8px; }
.sw-slot { height: 18px; background: rgba(255,255,255,.08); border-radius: 4px; }
.sw-slot--on { background: linear-gradient(135deg,var(--blue),var(--blue-dk)); }
.sw-cta { height: 22px; background: rgba(255,255,255,.1); border-radius: 5px; }
.sim-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.sim-card { background: rgba(255,255,255,.06); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.sc-icon { width: 20px; height: 20px; background: rgba(0,123,255,.45); border-radius: 5px; }
.sc-line { height: 7px; background: rgba(255,255,255,.11); border-radius: 3px; }
.sc-line--s { width: 65%; }

/* Floating chips */
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(10,18,42,.93); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px); border-radius: var(--radius-md);
  padding: 10px 16px; box-shadow: 0 16px 48px rgba(0,0,0,.4);
  animation: chipFloat 6s ease-in-out infinite;
}
.float-chip--top { top: -22px; right: -22px; animation-delay: 0s; }
.float-chip--bot { bottom: 28px; left: -28px; animation-delay: -3s; }
.float-chip div  { line-height: 1.3; }
.float-chip strong { display: block; font-size: .9rem; font-weight: 700; color: var(--white); }
.float-chip span   { font-size: .72rem; color: rgba(255,255,255,.48); }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Scroll hint */
.hero-scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); }
.scroll-mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.22); border-radius: 11px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-wheel { width: 3px; height: 8px; background: rgba(255,255,255,.5); border-radius: 2px; animation: scrollAnim 2s ease-in-out infinite; }
@keyframes scrollAnim { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }



/* ══════════════════════════════════════
   SERVICIOS
══════════════════════════════════════ */
.services { padding: 120px 0; background: var(--off-white); }

.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; align-items: stretch; }

/* All cards share the same base style */
.svc-card {
  position: relative; background: var(--white);
  border: 1px solid var(--gray-100); border-radius: var(--radius-xl);
  padding: 36px; display: flex; flex-direction: column; gap: 24px;
  overflow: hidden; cursor: default;
  transition: transform .4s cubic-bezier(.2,.8,.4,1), box-shadow .4s cubic-bezier(.2,.8,.4,1), border-color .3s ease;
  transform-style: preserve-3d;
}
.svc-card:hover { transform: translateY(-8px) rotateX(2deg); box-shadow: 0 32px 72px rgba(0,0,0,.12), 0 0 0 1px rgba(0,123,255,.15); border-color: rgba(0,123,255,.2); }
.svc-card:hover .svc-glow { opacity: 1; }

/* Featured card: mismo fondo blanco, solo borde azul animado */
.svc-card--highlight {
  border: 2px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(135deg, var(--blue), var(--blue-dk), var(--blue-lt), var(--blue)) border-box;
  background-size: auto, 300% 300%;
  animation: borderFlow 4s ease infinite;
  box-shadow: 0 0 0 0 rgba(0,123,255,.0), var(--shadow-md);
}
.svc-card--highlight:hover { box-shadow: 0 32px 72px rgba(0,0,0,.12), 0 0 48px rgba(0,123,255,.2); border: 2px solid transparent; transform: translateY(-10px); }
@keyframes borderFlow {
  0%, 100% { background-position: auto, 0% 50%; }
  50%       { background-position: auto, 100% 50%; }
}

.svc-badge {
  position: absolute; top: 22px; right: 22px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dk));
  color: var(--white); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0,123,255,.3);
}

.svc-icon-wrap {
  width: 58px; height: 58px; border-radius: var(--radius-md);
  background: rgba(0,123,255,.07); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  transition: all .35s cubic-bezier(.2,.8,.4,1);
}
.svc-card:hover .svc-icon-wrap {
  background: linear-gradient(135deg, var(--blue), var(--blue-dk));
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(0,123,255,.35);
}

.svc-body { flex: 1; }
.svc-body h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; letter-spacing: -.02em; }
.svc-body p  { font-size: .93rem; line-height: 1.78; color: var(--gray-500); margin-bottom: 20px; }
.svc-body strong { color: var(--navy); font-weight: 600; }

.svc-list { display: flex; flex-direction: column; gap: 10px; }
.svc-list li { font-size: .87rem; color: var(--gray-500); padding-left: 20px; position: relative; font-weight: 500; }
.svc-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }

.svc-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .9rem; font-weight: 600; color: var(--blue);
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
}
.svc-link:hover { gap: 12px; color: var(--blue-dk); }
.svc-link svg { transition: transform var(--transition); }
.svc-link:hover svg { transform: translateX(3px); }

.svc-glow {
  position: absolute; bottom: -80px; right: -80px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,123,255,.12) 0%, transparent 70%);
  opacity: 0; transition: opacity .5s ease; pointer-events: none;
}


/* ══════════════════════════════════════
   PROPUESTA DE VALOR
══════════════════════════════════════ */
.value-sec { padding: 120px 0; background: var(--white); }

.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.value-copy .section-title { text-align: left; }
.value-copy .section-desc  { text-align: left; margin-bottom: 0; }

.value-points { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.vp-item { display: flex; gap: 16px; opacity: 0; transform: translateX(-20px); transition: opacity .6s ease, transform .6s ease; }
.vp-item.is-visible { opacity: 1; transform: none; }
.vp-icon { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; background: rgba(0,123,255,.08); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-top: 2px; transition: var(--transition); }
.vp-item:hover .vp-icon { background: var(--blue); color: var(--white); transform: scale(1.1); }
.vp-item h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.vp-item p  { font-size: .88rem; line-height: 1.7; color: var(--gray-500); }

/* ── Stats panel rediseñado ── */
.stats-panel {
  background: linear-gradient(145deg, #111d42 0%, var(--navy) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 32px 80px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.07);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
}

/* dot pattern overlay */
.stats-panel::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(0,123,255,.1) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .6;
}

.stat-item {
  padding: 40px 36px;
  position: relative;
  z-index: 1;
  transition: background var(--transition);
}
.stat-item:hover { background: rgba(255,255,255,.03); }

/* inner borders between cells */
.stat-item:nth-child(1) { border-right: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.07); }
.stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.07); }

/* blue accent bar at top of each cell */
.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 36px; right: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity var(--transition);
}
.stat-item:hover::before { opacity: 1; }

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 10px;
  line-height: 1;
}
.stat-num {
  font-size: 3.8rem; font-weight: 900; letter-spacing: -.05em;
  background: linear-gradient(135deg, #ffffff 0%, var(--blue-xlt) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: inline-block;
}
.stat-suf {
  font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--blue-lt), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: inline-block;
}
.stat-lbl {
  font-size: .78rem; color: rgba(255,255,255,.42); font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; line-height: 1.5;
}


/* ══════════════════════════════════════
   SHOWCASE
══════════════════════════════════════ */
.showcase { padding: 120px 0; background: var(--off-white); }

.show-tabs-wrap { display: flex; justify-content: center; margin-bottom: 40px; }
.show-tabs { display: inline-flex; gap: 4px; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-md); padding: 5px; box-shadow: var(--shadow-sm); }
.show-tab { font-size: .88rem; font-weight: 600; color: var(--gray-500); padding: 9px 22px; border-radius: 9px; transition: var(--transition); }
.show-tab.is-active { background: var(--navy); color: var(--white); box-shadow: 0 4px 12px rgba(11,19,43,.3); }
.show-tab:hover:not(.is-active) { background: var(--gray-50); color: var(--navy); }

.show-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }

.show-browser { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.show-browser .browser-chrome { background: var(--gray-50); border-bottom: 1px solid var(--gray-100); }
.show-browser .chrome-addr { color: var(--gray-500); background: var(--white); border-color: var(--gray-100); }

.show-panel { display: none; animation: panelFade .35s ease; }
.show-panel.is-active { display: block; }
@keyframes panelFade { from { opacity: 0; transform: scale(.99); } to { opacity: 1; transform: scale(1); } }

/* ─── Demo cursor ─── */
.demo-cursor {
  position: absolute;
  left: 30px; top: 40px;
  pointer-events: none;
  z-index: 20;
  will-change: left, top;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.45));
  transition: transform .13s ease;
}
.demo-cursor.is-clicking { transform: scale(.78) rotate(-5deg); }

.demo-ripple {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(0,123,255,.55);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 19;
  animation: demoRipple .5s ease-out forwards;
}
@keyframes demoRipple { to { width: 38px; height: 38px; opacity: 0; } }

/* ─── Demo sites ─── */
.demo { min-height: 340px; overflow: hidden; }
.demo--dark { background: #0d1117; }
.demo--light { background: #f8fafc; }
.demo--warm { background: #1c0c04; }
.demo--crm  { background: #f1f5f9; display: grid; grid-template-columns: 52px 1fr; min-height: 340px; }

.d-nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; gap: 8px; flex-shrink: 0; }
.d-nav--dark  { background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); }
.d-nav--light { background: #fff; border-bottom: 1px solid #e2e8f0; }
.d-nav--warm  { background: rgba(255,210,100,.03); border-bottom: 1px solid rgba(255,255,255,.06); }
.d-logo { width: 68px; height: 11px; background: rgba(255,255,255,.3); border-radius: 3px; flex-shrink: 0; }
.d-logo--blue { background: #007BFF; }
.d-logo--warm { background: #d97706; }
.d-links { display: flex; align-items: center; gap: 6px; }
.d-link  { width: 34px; height: 8px; background: rgba(255,255,255,.15); border-radius: 3px; }
.d-link--dk { background: rgba(0,0,0,.1); }
.d-nbtn { font-size: .58rem; font-weight: 700; padding: 5px 10px; border-radius: 5px; white-space: nowrap; cursor: pointer; transition: transform .14s ease, filter .14s ease; }
.d-nbtn--bar  { background: linear-gradient(135deg,#007BFF,#0044CC); color: #fff; }
.d-nbtn--blue { background: #007BFF; color: #fff; }
.d-nbtn--warm { background: #d97706; color: #fff; }
.d-nbtn.is-press { transform: scale(.88); filter: brightness(.82); }

/* Barbería */
.d-body--barber { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; padding: 14px 16px; align-items: start; }
.d-copy-col { display: flex; flex-direction: column; gap: 7px; padding-top: 4px; }
.d-tag-bar { height: 13px; width: 55%; background: rgba(0,123,255,.4); border-radius: 100px; }
.d-hl-bar { height: 13px; background: rgba(255,255,255,.38); border-radius: 4px; }
.d-hl-bar--s { width: 68%; }
.d-sub-bar { height: 7px; background: rgba(255,255,255,.15); border-radius: 3px; }
.d-sub-bar--s { width: 50%; }
.d-book-widget { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 11px; }
.d-bw-lbl { font-size: .54rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 6px; }
.d-barbers { display: flex; gap: 6px; margin-bottom: 2px; }
.d-barber { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 3px; border-radius: 7px; cursor: pointer; transition: background .2s, outline .2s; }
.d-barber.is-sel { background: rgba(0,123,255,.18); outline: 1.5px solid rgba(0,123,255,.6); }
.d-av { width: 24px; height: 24px; border-radius: 50%; }
.d-av-nm { height: 5px; width: 75%; background: rgba(255,255,255,.18); border-radius: 2px; }
.d-slots { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
.d-slot { height: 19px; border-radius: 5px; font-size: .5rem; font-weight: 600; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, color .2s; }
.d-slot--dk { background: rgba(255,255,255,.08); color: rgba(255,255,255,.42); }
.d-slot--dk.is-sel { background: linear-gradient(135deg,#007BFF,#0044CC); color: #fff; }
.d-slot--dk.is-off { background: rgba(255,255,255,.03); color: rgba(255,255,255,.15); pointer-events: none; }
.d-slot--lt { background: #e9eef5; color: #64748b; }
.d-slot--lt.is-sel { background: #007BFF; color: #fff; }
.d-slot--lt.is-off { background: #f8fafc; color: #cbd5e1; pointer-events: none; }
.d-confirm { margin-top: 9px; height: 24px; background: linear-gradient(135deg,#007BFF,#0044CC); border-radius: 6px; font-size: .59rem; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s; }
.d-confirm.is-ok { background: linear-gradient(135deg,#22c55e,#16a34a) !important; }

/* Clínica */
.d-body--clinic { display: grid; grid-template-columns: .85fr 1.15fr; gap: 12px; padding: 12px 16px; align-items: start; }
.d-doc-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 9px; padding: 12px; display: flex; gap: 10px; align-items: center; }
.d-doc-img  { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,#bfdbfe,#93c5fd); flex-shrink: 0; }
.d-doc-info { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.d-doc-nm   { height: 8px; background: #1e293b; border-radius: 3px; width: 80%; }
.d-doc-spec { height: 6px; background: rgba(0,123,255,.35); border-radius: 2px; width: 58%; }
.d-stars    { width: 44px; height: 7px; background: linear-gradient(90deg,#fbbf24 75%,#e2e8f0 75%); border-radius: 3px; }
.d-appt-widget { background: #fff; border: 1px solid #e2e8f0; border-radius: 9px; padding: 11px; }
.d-appt-ttl { font-size: .62rem; font-weight: 800; color: #0B132B; margin-bottom: 8px; }
.d-specs    { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }
.d-spec     { font-size: .52rem; font-weight: 700; padding: 3px 8px; border-radius: 100px; background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.d-spec.is-sel { background: #007BFF; color: #fff; border-color: #007BFF; }
.d-date-bar { height: 20px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 5px; margin-bottom: 7px; }
.d-appt-btn { margin-top: 8px; height: 23px; background: #007BFF; border-radius: 5px; font-size: .58rem; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s; }
.d-appt-btn.is-ok { background: #22c55e !important; }

/* Restaurante */
.d-menu-sec { padding: 10px 14px 0; }
.d-menu-ttl { height: 9px; width: 38%; background: rgba(255,255,255,.22); border-radius: 3px; margin-bottom: 9px; }
.d-dishes   { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.d-dish     { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 8px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.d-dish--feat { border-color: rgba(217,119,6,.4); background: rgba(217,119,6,.08); }
.d-dish.is-lift    { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.d-dish.is-browsed { transform: translateY(-3px); border-color: rgba(217,119,6,.6); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.d-dish-img  { height: 48px; }
.d-dish-img--a { background: linear-gradient(150deg,#1a0800 0%,#7c3d10 55%,#b86527 100%); }
.d-dish-img--b { background: linear-gradient(135deg,#92400e 0%,#d97706 45%,#fbbf24 100%); }
.d-dish-img--c { background: linear-gradient(150deg,#052e16 0%,#166534 50%,#4ade80 100%); }
.d-dish-body { padding: 6px 7px; }
.d-dish-nm   { height: 7px; background: rgba(255,255,255,.28); border-radius: 2px; margin-bottom: 4px; }
.d-dish-desc { height: 5px; background: rgba(255,255,255,.1); border-radius: 2px; width: 80%; margin-bottom: 5px; }
.d-dish-foot { display: flex; align-items: center; justify-content: space-between; }
.d-dish-px   { height: 7px; width: 26px; background: rgba(255,255,255,.18); border-radius: 2px; }
.d-dish-px--feat { background: #d97706; }
.d-add-btn   { width: 17px; height: 17px; border-radius: 50%; font-size: .62rem; font-weight: 800; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, transform .15s; background: rgba(255,255,255,.12); color: rgba(255,255,255,.5); }
.d-add-btn--feat { background: #d97706; color: #fff; }
.d-add-btn.is-added { background: #22c55e !important; color: #fff !important; transform: scale(1.35) !important; }
.d-res-bar   { display: flex; gap: 6px; align-items: center; padding: 8px 14px; background: rgba(255,255,255,.03); border-top: 1px solid rgba(255,255,255,.06); margin-top: 8px; }
.d-res-f     { flex: 1; height: 20px; background: rgba(255,255,255,.06); border-radius: 4px; border: 1px solid rgba(255,255,255,.08); position: relative; transition: background .35s, border-color .35s; overflow: hidden; }
.d-res-f.is-filling { border-color: rgba(217,119,6,.55); background: rgba(255,255,255,.1); }
.d-res-f.is-filling::after { content: '|'; position: absolute; top: 50%; right: 5px; transform: translateY(-50%); color: rgba(217,119,6,.9); font-size: .6rem; line-height: 1; animation: blink .6s steps(1) infinite; }
.d-res-f.is-filled { background: rgba(255,255,255,.12); border-color: rgba(217,119,6,.4); }
.d-res-text { display: block; font-size: .5rem; color: rgba(255,255,255,.75); padding: 0 6px; line-height: 20px; white-space: nowrap; }
@keyframes blink { 0%,100%{ opacity:1 } 50%{ opacity:0 } }
.d-res-f--sm { flex: .45; }
.d-cart-icon { position: relative; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: .72rem; cursor: pointer; }
.d-cart-count { position: absolute; top: -4px; right: -5px; min-width: 12px; height: 12px; background: #ef4444; border-radius: 100px; font-size: .38rem; font-weight: 800; color: #fff; display: flex; align-items: center; justify-content: center; padding: 0 2px; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .25s cubic-bezier(.36,.07,.19,.97); }
.d-cart-count.is-vis { opacity: 1; transform: scale(1); }
.d-cart-icon.is-bump .d-cart-count { animation: cart-bump .35s cubic-bezier(.36,.07,.19,.97); }
@keyframes cart-bump { 0%,100%{ transform:scale(1) } 50%{ transform:scale(1.6) } }
.d-res-cta   { background: #d97706; color: #fff; padding: 0 10px; height: 20px; border-radius: 4px; font-size: .56rem; font-weight: 700; white-space: nowrap; display: flex; align-items: center; cursor: pointer; transition: background .2s; }
.d-res-cta.is-ok { background: #22c55e !important; }

/* CRM */
.d-sidebar   { background: #0B132B; display: flex; flex-direction: column; align-items: center; padding: 10px 0; gap: 3px; }
.d-sb-logo   { width: 28px; height: 28px; background: linear-gradient(135deg,#007BFF,#0044CC); border-radius: 6px; margin-bottom: 10px; flex-shrink: 0; }
.d-sb-item   { width: 34px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.d-sb-item.is-active { background: rgba(0,123,255,.3); }
.d-sb-icon   { width: 13px; height: 13px; background: rgba(255,255,255,.25); border-radius: 3px; }
.d-sb-item.is-active .d-sb-icon { background: #007BFF; }
.d-crm-main  { padding: 10px 12px; display: flex; flex-direction: column; gap: 9px; background: #f8fafc; overflow: hidden; position: relative; }
.d-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.d-kpi  { background: #fff; border-radius: 7px; padding: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.06); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.d-kpi.is-pulse  { transform: scale(1.06); box-shadow: 0 4px 16px rgba(0,123,255,.2); }
.d-kpi-val.is-flash { animation: kpi-val-flash .65s cubic-bezier(.4,0,.2,1); }
@keyframes kpi-val-flash { 0%,100%{ transform: translateY(0) scale(1); } 40%{ transform: translateY(-4px) scale(1.18); } }
.d-kpi-bars { display: flex; align-items: flex-end; gap: 2px; height: 18px; margin: 3px 0 2px; }
.d-kpi-bars span { flex: 1; background: currentColor; opacity: .18; border-radius: 2px 2px 0 0; transition: height .5s cubic-bezier(.4,0,.2,1); }
.d-kpi-bars span:last-child { opacity: .55; }
.d-kpi-val  { font-size: .82rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.d-kpi-lbl  { height: 6px; background: #e2e8f0; border-radius: 2px; width: 70%; margin-bottom: 3px; }
.d-kpi-trend { font-size: .47rem; font-weight: 700; }
.d-trend-up  { color: #22c55e; }
.d-trend-dn  { color: #f87171; }
.d-ctable { background: #fff; border-radius: 7px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.d-cthd   { display: grid; grid-template-columns: 18px 1fr 58px 34px; gap: 6px; padding: 5px 8px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.d-cthd span { font-size: .45rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .07em; }
.d-crow   { display: grid; grid-template-columns: 18px 1fr 58px 34px; gap: 6px; align-items: center; padding: 6px 8px; border-bottom: 1px solid #f1f5f9; cursor: pointer; transition: background .2s; }
.d-crow.is-sel { background: rgba(0,123,255,.07); border-left: 2px solid #007BFF; }
@keyframes chip-pop { 0%{transform:scale(.8)} 60%{transform:scale(1.12)} 100%{transform:scale(1)} }
@keyframes row-flash-green { 0%,100%{background:rgba(0,123,255,.07)} 40%{background:rgba(34,197,94,.12)} }
.d-detail { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; background: #fff; border-left: 1px solid #e2e8f0; box-shadow: -6px 0 20px rgba(0,0,0,.1); transform: translateX(105%); transition: transform .38s cubic-bezier(.4,0,.2,1), opacity .2s; z-index: 5; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.d-detail.is-open { transform: translateX(0); }
.d-detail.is-switching { opacity: .3; transition: opacity .15s; }
.d-det-hd { display: flex; align-items: center; gap: 7px; padding-bottom: 7px; border-bottom: 1px solid #f1f5f9; }
.d-det-av { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; }
.d-det-meta { flex: 1; min-width: 0; }
.d-det-nm { height: 6px; background: #1e293b; border-radius: 2px; width: 80%; margin-bottom: 4px; }
.d-det-co { height: 5px; background: #cbd5e1; border-radius: 2px; width: 55%; }
.d-det-chip { align-self: flex-start; }
.d-det-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.d-det-stat { background: #f8fafc; border-radius: 5px; padding: 5px 6px; border: 1px solid #e2e8f0; }
.d-det-sval { height: 8px; background: #334155; border-radius: 2px; width: 65%; margin-bottom: 3px; }
.d-det-slbl { height: 4px; background: #e2e8f0; border-radius: 2px; width: 85%; }
.d-det-tl { display: flex; flex-direction: column; gap: 5px; }
.d-det-ev { display: flex; align-items: center; gap: 5px; }
.d-det-dot { width: 5px; height: 5px; border-radius: 50%; background: #007BFF; flex-shrink: 0; }
.d-det-etxt { height: 4px; background: #e2e8f0; border-radius: 2px; flex: 1; }
.d-toast { position: absolute; bottom: 8px; right: 8px; background: #16a34a; color: #fff; padding: 4px 8px; border-radius: 5px; font-size: .45rem; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; pointer-events: none; z-index: 20; white-space: nowrap; }
.d-toast.is-vis { opacity: 1; transform: translateY(0); }
.d-cav    { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; }
.d-cnm    { height: 6px; background: #e2e8f0; border-radius: 3px; }
.d-cval   { height: 6px; background: #e2e8f0; border-radius: 3px; }
.d-cval--s { width: 55%; }
.d-cval--m { width: 75%; }
.d-chip   { font-size: .45rem; font-weight: 700; padding: 2px 5px; border-radius: 100px; text-align: center; cursor: pointer; transition: background .25s, color .25s; }
.d-chip--active  { background: rgba(34,197,94,.15);  color: #16a34a; }
.d-chip--pending { background: rgba(251,191,36,.15);  color: #d97706; }
.d-chip--new     { background: rgba(0,123,255,.12);   color: #007BFF; }
.d-chip--done    { background: rgba(100,116,139,.1);  color: #64748b; }

/* Showcase info panel */
.show-info { position: relative; }
.si-card { display: none; }
.si-card.is-active { display: block; animation: panelFade .35s ease; }
.si-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.si-card h3 { font-size: 1.12rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; letter-spacing: -.02em; }
.si-card p  { font-size: .9rem; line-height: 1.78; color: var(--gray-500); margin-bottom: 20px; }
.si-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.si-tag { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; background: rgba(0,123,255,.07); color: var(--blue); border: 1px solid rgba(0,123,255,.14); }


/* ══════════════════════════════════════
   PROCESO — badge centrado, sin línea
══════════════════════════════════════ */
.process { padding: 120px 0; background: var(--white); }

.proc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.proc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.ps-badge {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dk));
  color: var(--white); font-size: 1.05rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,123,255,.35);
  flex-shrink: 0;
  margin-bottom: 20px;
  transition: transform .4s cubic-bezier(.2,.8,.4,1), box-shadow .4s ease;
  z-index: 1;
}
.proc-step:hover .ps-badge {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,123,255,.5);
}

.ps-card {
  width: 100%;
  background: var(--off-white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 28px 20px;
  transition: transform .4s cubic-bezier(.2,.8,.4,1), box-shadow .4s ease, border-color .3s ease;
  flex: 1;
}
.proc-step:hover .ps-card {
  background: var(--white); box-shadow: var(--shadow-md);
  transform: translateY(-4px); border-color: rgba(0,123,255,.18);
}

.ps-icon {
  width: 44px; height: 44px; background: rgba(0,123,255,.08); color: var(--blue);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; transition: var(--transition);
}
.proc-step:hover .ps-icon { background: var(--blue); color: var(--white); transform: scale(1.08); }
.ps-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: -.01em; }
.ps-card p  { font-size: .87rem; line-height: 1.72; color: var(--gray-500); }


/* ══════════════════════════════════════
   CTA / CONTACTO
══════════════════════════════════════ */
.cta-sec { position: relative; padding: 140px 0; background: var(--navy); overflow: hidden; }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .3; }
.cta-orb--1 { width: 500px; height: 500px; top: -20%; left: -10%; background: radial-gradient(circle,var(--blue),transparent 70%); }
.cta-orb--2 { width: 400px; height: 400px; bottom: -15%; right: -5%; background: radial-gradient(circle,var(--blue-dk),transparent 70%); opacity: .2; }
.cta-grid { 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: 60px 60px; }

.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center; }
.cta-title { font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.15; color: var(--white); margin-bottom: 20px; }
.cta-desc { font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,.62); margin-bottom: 40px; }

.cta-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; }
.cta-form input,
.cta-form select,
.cta-form textarea {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md); padding: 14px 18px; font-size: .95rem;
  color: var(--white); outline: none; transition: var(--transition);
}
.cta-form select option { background: var(--navy-mid); color: var(--white); }
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: rgba(255,255,255,.28); }
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus { border-color: var(--blue); background: rgba(0,123,255,.1); box-shadow: 0 0 0 3px rgba(0,123,255,.22); }
.cta-form textarea { resize: vertical; min-height: 80px; }

.form-success { display: none; align-items: center; justify-content: center; gap: 10px; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25); border-radius: var(--radius-md); padding: 16px; color: #86efac; font-weight: 600; }
.form-success.show { display: flex; }
.cta-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: rgba(255,255,255,.38); margin-top: 16px; }


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--gray-900); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-tagline { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.28); margin: 12px 0 10px; }
.footer-desc { font-size: .87rem; line-height: 1.78; color: rgba(255,255,255,.38); margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.soc-link { width: 36px; height: 36px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.38); transition: var(--transition); }
.soc-link:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 20px rgba(0,123,255,.4); }
.footer-nav h4 { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 20px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: .87rem; color: rgba(255,255,255,.38); transition: color var(--transition); }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; gap: 16px; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.22); }
.footer-credits { font-size: .76rem; color: rgba(255,255,255,.15); }


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* ─── Tablet ─── */
@media (max-width: 1100px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { max-width: 640px; margin: 0 auto; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-desc { max-width: 100%; }
  .value-grid { grid-template-columns: 1fr; gap: 60px; }
  .show-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .proc-steps { grid-template-columns: 1fr 1fr; }
}

/* ─── Mobile ─── */
@media (max-width: 768px) {

  /* ── Nav hamburger ── */
  .nav-toggle { display: flex; }

  /* Clean dropdown panel */
  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 20px 48px rgba(0,0,0,.55);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 20px;
    z-index: 998;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Links */
  .nav-menu > li { width: 100%; }
  .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    padding: 14px 24px;
    width: 100%;
    display: block;
    border-radius: 0;
    transition: color .2s, background .2s;
  }
  .nav-link::after { display: none; }
  .nav-link:hover  { color: var(--white); background: rgba(255,255,255,.04); }

  /* CTA */
  .nav-cta-link {
    display: flex;
    justify-content: center;
    margin: 10px 20px 0;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: .95rem;
    width: calc(100% - 40px);
    margin-left: 20px;
  }

  /* ── Section spacing ── */
  .hero         { padding: 84px 0 60px; min-height: auto; }
  .services-sec { padding: 72px 0; }
  .value-sec    { padding: 72px 0; }
  .showcase     { padding: 72px 0; }
  .process      { padding: 72px 0; }
  .cta-sec      { padding: 72px 0; }
  .footer       { padding: 56px 0 28px; }

  /* ── Hero ── */
  .hero-visual    { display: none; }
  .hero-content   { text-align: left; }
  .hero-actions   { justify-content: flex-start; gap: 12px; }
  .hero-proof     { justify-content: flex-start; flex-wrap: wrap; gap: 0; padding-top: 24px;
                    border-top: 1px solid rgba(255,255,255,.08);
                    display: grid; grid-template-columns: repeat(3, 1fr); }
  .proof-sep      { display: none; }
  .proof-item     { padding: 12px 16px; text-align: center; }
  .proof-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,.08); }
  .hero-title     { font-size: clamp(2.2rem, 8.5vw, 2.8rem); }
  .hero-desc      { font-size: .97rem; margin-bottom: 28px; }
  .hero-badge     { font-size: .76rem; margin-bottom: 22px; }
  .proof-item strong { font-size: 1.5rem; display: block; }
  .proof-item span   { font-size: .65rem; }

  /* ── Section headers ── */
  .section-header { margin-bottom: 44px; }
  .section-title  { font-size: clamp(1.75rem, 6vw, 2.2rem); }

  /* ── Service cards — columna vertical ── */
  .svc-grid { grid-template-columns: 1fr; gap: 16px; }

  /* ── Stats ── */
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .stat-item   { padding: 28px 20px; }
  .stat-num    { font-size: 3rem; }

  /* ── Showcase ── */
  .show-tabs-wrap { margin-bottom: 20px; }
  .show-tabs      { flex-wrap: wrap; gap: 6px; }
  .show-tab       { flex: 1; min-width: 90px; text-align: center; font-size: .82rem; padding: 9px 10px; }
  .show-browser        { display: block; border-radius: 14px; overflow: hidden; }
  .show-browser .browser-chrome { display: none; }
  .show-info      { display: block; margin-top: 16px; }
  .si-card        { display: none; }
  .si-card.is-active { display: block; }
  .si-card        { padding: 20px 18px; border-radius: 14px; }
  .si-card h3     { font-size: 1.1rem; margin-bottom: 10px; }
  .si-card p      { font-size: .9rem; line-height: 1.75; }
  .demo-cursor    { display: none; }
  .d-body--barber,
  .d-body--clinic { grid-template-columns: 1fr; }
  .d-book-widget,
  .d-appt-widget  { margin-top: 10px; }
  .demo           { min-height: auto; }
  .demo--crm      { grid-template-columns: 40px 1fr; min-height: auto; }

  /* ── Process ── */
  .proc-steps { grid-template-columns: 1fr; gap: 14px; }
  .ps-card    { padding: 22px 18px; }
  .ps-badge   { width: 52px; height: 52px; font-size: .95rem; }

  /* ── Value ── */
  .value-grid { gap: 40px; }

  /* ── CTA form ── */
  .form-row  { grid-template-columns: 1fr; }
  .cta-title { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  /* ── Footer ── */
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* ─── Small mobile ─── */
@media (max-width: 480px) {
  .hero-title    { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
  .hero-actions  { flex-direction: column; }
  .btn           { width: 100%; justify-content: center; }
  .proof-item strong { font-size: 1.25rem; }
  .stats-panel   { border-radius: 20px; }
  .stat-num      { font-size: 2.6rem; }
  .nav-link      { font-size: 1.6rem; padding: 15px 0; }
  .nav-menu      { padding: 0 28px 48px; }
}


/* ══════════════════════════════════════
   ANTES / DESPUÉS
══════════════════════════════════════ */
.bef-sec { padding: 120px 0; background: var(--off-white); }

/* Browser wrapper */
.bef-browser {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
}
.bef-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}
.bef-addr {
  flex: 1;
  font-size: .78rem;
  color: var(--gray-500);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  padding: 4px 10px;
  max-width: 280px;
}

/* Stage */
.bef-stage {
  position: relative;
  overflow: hidden;
  height: 520px;
}

/* Sides */
.bef-side {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
.bef-side--new { z-index: 1; background: #111; }
.bef-side--old { z-index: 2; background: #fff; clip-path: inset(0 0% 0 0); transition: clip-path 1s cubic-bezier(.77,0,.18,1); }

/* Scrollbar styling */
.bef-side--new::-webkit-scrollbar { width: 5px; }
.bef-side--new::-webkit-scrollbar-track { background: #0a0a0a; }
.bef-side--new::-webkit-scrollbar-thumb { background: rgba(201,168,76,.4); border-radius: 2px; }
.bef-side--old::-webkit-scrollbar { width: 10px; }
.bef-side--old::-webkit-scrollbar-track { background: #f0f0f0; }
.bef-side--old::-webkit-scrollbar-thumb { background: #c5c5c5; }

/* Both inner sites render at 1200px then scale down via zoom (set by JS) */
.ns, .os { width: 1200px; }

/* ══ DESPUÉS — BarberShop Elite (negro / dorado) ══ */
.ns { background: #111; font-family: 'Inter', sans-serif; overflow: hidden; }

.ns-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 52px;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(201,168,76,.15);
}
.ns-brand { font-size: 1.05rem; font-weight: 800; color: #c9a84c; letter-spacing: .08em; text-transform: uppercase; }
.ns-navlinks { display: flex; align-items: center; gap: 36px; }
.ns-nl { font-size: .84rem; color: rgba(255,255,255,.45); text-decoration: none; cursor: pointer; letter-spacing: .04em; text-transform: uppercase; font-weight: 500; }
.ns-navbtn { background: #c9a84c; color: #111; font-size: .84rem; font-weight: 800; padding: 11px 26px; border-radius: 3px; cursor: pointer; letter-spacing: .06em; text-transform: uppercase; }
.ns-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.ns-hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.7); border-radius: 2px; }

.ns-hero {
  display: grid; grid-template-columns: 1fr 340px; gap: 52px; align-items: center;
  padding: 56px 52px 44px;
  background: #111;
  position: relative; overflow: hidden;
}
.ns-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(201,168,76,.05) 0%, transparent 60%);
  pointer-events: none;
}
.ns-hero-left { position: relative; z-index: 1; }
.ns-hero-right { position: relative; z-index: 1; }

.ns-rating { font-size: .84rem; color: rgba(255,255,255,.45); margin-bottom: 18px; }
.ns-h1 { font-size: 3.4rem; font-weight: 900; color: #fff; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 16px; font-style: italic; }
.ns-desc { font-size: .9rem; color: rgba(255,255,255,.45); line-height: 1.75; margin-bottom: 28px; }
.ns-actions { display: flex; gap: 14px; margin-bottom: 36px; align-items: center; }
.ns-btn-primary { background: #c9a84c; color: #111; font-size: .9rem; font-weight: 800; padding: 14px 30px; border-radius: 3px; cursor: pointer; letter-spacing: .04em; }
.ns-btn-ghost { border: 1px solid rgba(201,168,76,.35); color: rgba(201,168,76,.8); font-size: .9rem; font-weight: 600; padding: 13px 26px; border-radius: 3px; cursor: pointer; }

.ns-proof { display: flex; align-items: center; }
.ns-proof-item { flex: 1; }
.ns-proof-item strong { display: block; font-size: 1.5rem; font-weight: 900; color: #c9a84c; line-height: 1; margin-bottom: 4px; }
.ns-proof-item span { font-size: .7rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .08em; }
.ns-proof-div { width: 1px; height: 36px; background: rgba(255,255,255,.08); flex-shrink: 0; margin: 0 20px; }

.ns-photo {
  height: 260px; border-radius: 4px; overflow: hidden; position: relative;
  border: 1px solid rgba(201,168,76,.18);
  background: linear-gradient(160deg, #1c1a14 0%, #2a2010 40%, #1a1207 100%);
}
.ns-photo::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 100%);
}
.ns-photo-overlay { position: absolute; bottom: 20px; left: 20px; z-index: 2; }
.ns-photo-tag { background: #c9a84c; color: #111; font-size: .72rem; font-weight: 800; padding: 6px 16px; border-radius: 20px; letter-spacing: .06em; text-transform: uppercase; }

.ns-services {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: #0a0a0a;
  border-top: 1px solid rgba(201,168,76,.1);
}
.ns-svc-card { padding: 26px 24px; border-right: 1px solid rgba(255,255,255,.04); display: flex; flex-direction: column; gap: 6px; }
.ns-svc-card:last-child { border-right: none; }
.ns-svc-card--gold { background: rgba(201,168,76,.03); }
.ns-svc-num { font-size: .7rem; color: #c9a84c; font-weight: 800; letter-spacing: .12em; margin-bottom: 6px; }
.ns-svc-name { font-size: .95rem; font-weight: 700; color: #fff; }
.ns-svc-desc { font-size: .76rem; color: rgba(255,255,255,.35); }
.ns-svc-price { font-size: 1.15rem; font-weight: 900; color: #c9a84c; margin-top: 6px; }

/* ══ ANTES — Peluquería Marta (DIY 2022) ══ */
.os { background: #fff; font-family: -apple-system,'Segoe UI',Arial,sans-serif; overflow: hidden; display: flex; flex-direction: column; }

.os-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 36px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.os-logo { font-size: 1rem; font-weight: 700; color: #1f2937; }
.os-links { display: flex; align-items: center; gap: 4px; }
.os-nl { font-size: .84rem; color: #6b7280; text-decoration: none; cursor: pointer; padding: 7px 14px; border-radius: 6px; }
.os-nl--act { color: #2563eb; font-weight: 600; background: rgba(37,99,235,.06); }
.os-contact-btn { background: #2563eb; color: white; font-size: .84rem; font-weight: 600; padding: 9px 20px; border-radius: 7px; cursor: pointer; margin-left: 8px; }

.os-hero {
  display: grid; grid-template-columns: 1fr 280px; align-items: center;
  padding: 44px 36px; gap: 36px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.os-pretitle { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #2563eb; font-weight: 600; margin-bottom: 10px; }
.os-h1 { font-size: 2.2rem; font-weight: 800; color: #111827; margin-bottom: 14px; line-height: 1.2; }
.os-sub { font-size: .88rem; color: #6b7280; line-height: 1.7; margin-bottom: 22px; }
.os-btn { display: inline-block; background: #2563eb; color: white; font-size: .88rem; font-weight: 600; padding: 12px 24px; border-radius: 8px; cursor: pointer; }
.os-hero-img { height: 200px; background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); border-radius: 12px; }

.os-divider { text-align: center; padding: 28px 36px 18px; position: relative; }
.os-divider::before { content: ''; position: absolute; top: 50%; left: 36px; right: 36px; height: 1px; background: #e5e7eb; }
.os-divider span { position: relative; background: #fff; padding: 0 20px; font-size: .8rem; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: .1em; }

.os-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; padding: 8px 36px 28px; }
.os-card { border: 1px solid #e5e7eb; border-radius: 12px; padding: 22px 20px; text-align: center; background: #fff; }
.os-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.os-card-title { font-size: .95rem; font-weight: 700; color: #111827; margin-bottom: 8px; }
.os-card-text { font-size: .8rem; color: #6b7280; line-height: 1.6; margin-bottom: 14px; }
.os-card-link { font-size: .8rem; color: #2563eb; cursor: pointer; font-weight: 500; }

.os-contact-strip {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 36px;
  background: #eff6ff; border-top: 1px solid #bfdbfe;
  gap: 24px;
}
.os-contact-txt { font-size: .88rem; color: #374151; }
.os-contact-cta { background: #2563eb; color: white; font-size: .84rem; font-weight: 600; padding: 11px 22px; border-radius: 7px; cursor: pointer; white-space: nowrap; flex-shrink: 0; }

.os-footer { padding: 18px 36px; background: #f9fafb; font-size: .78rem; color: #9ca3af; border-top: 1px solid #e5e7eb; }

/* Section desc variants */
.bef-desc--mobile { display: none; }

/* Toggle buttons */
.bef-toggle-row { display: flex; gap: 8px; justify-content: center; margin-bottom: 28px; }
.bef-tog {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px;
  border-radius: 10px;
  font-size: .92rem; font-weight: 700;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-500);
  cursor: pointer;
  transition: all .25s ease;
  font-family: var(--font);
}
.bef-tog.is-active { background: var(--navy); border-color: var(--navy); color: white; }

/* ── ns keyframe animations ── */
@keyframes ns-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,.55); }
  50%       { box-shadow: 0 0 0 14px rgba(201,168,76,0); }
}
@keyframes ns-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes ns-shimmer {
  0%   { background-position: -400% center; }
  100% { background-position:  400% center; }
}
@keyframes ns-badge-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .7; }
}

.ns-navbtn { animation: ns-glow-pulse 2.5s ease-in-out infinite; }
.ns-photo-tag { animation: ns-float 3s ease-in-out infinite; }
.ns-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(201,168,76,.07) 50%, transparent 65%);
  background-size: 300% 100%;
  animation: ns-shimmer 4s linear infinite;
  z-index: 1;
}
.ns-svc-card--gold .ns-svc-price { animation: ns-badge-pulse 2s ease-in-out infinite; }

/* ── ns reviews section ── */
.ns-reviews {
  padding: 52px 52px 48px;
  background: #0d0d0d;
}
.ns-sec-label {
  font-size: .75rem; font-weight: 700; color: #c9a84c;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.ns-sec-label::after { content: ''; flex: 1; height: 1px; background: rgba(201,168,76,.2); }
.ns-rev-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ns-rev-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px;
  padding: 28px 24px;
  transition: border-color .3s ease;
}
.ns-rev-card:hover { border-color: rgba(201,168,76,.25); }
.ns-rev-stars { color: #c9a84c; font-size: .95rem; margin-bottom: 14px; letter-spacing: 2px; }
.ns-rev-text { font-size: .87rem; color: rgba(255,255,255,.62); line-height: 1.75; margin-bottom: 18px; font-style: italic; }
.ns-rev-author { font-size: .74rem; color: rgba(255,255,255,.3); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

/* ── ns CTA section ── */
.ns-cta-sec {
  padding: 64px 52px;
  text-align: center;
  background: #111;
  border-top: 1px solid rgba(201,168,76,.12);
  border-bottom: 1px solid rgba(201,168,76,.12);
  position: relative; overflow: hidden;
}
.ns-cta-sec::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,.04) 0%, transparent 70%);
  pointer-events: none;
}
.ns-cta-badge {
  display: inline-block;
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.35);
  color: #c9a84c; font-size: .74rem; font-weight: 700;
  padding: 6px 20px; border-radius: 20px;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 24px;
  animation: ns-glow-pulse 2s ease-in-out infinite;
}
.ns-cta-title { font-size: 2.6rem; font-weight: 900; color: #fff; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 14px; font-style: italic; }
.ns-cta-sub { font-size: .92rem; color: rgba(255,255,255,.4); margin-bottom: 36px; }
.ns-cta-btn {
  display: inline-block; background: #c9a84c; color: #111;
  font-size: .95rem; font-weight: 800;
  padding: 18px 48px; border-radius: 3px; cursor: pointer;
  letter-spacing: .06em;
  animation: ns-glow-pulse 2.5s ease-in-out .5s infinite;
}

/* ── ns footer ── */
.ns-ft {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 52px;
  background: #050505;
  border-top: 1px solid rgba(255,255,255,.05);
}
.ns-ft-brand { font-size: .9rem; font-weight: 800; color: #c9a84c; letter-spacing: .08em; text-transform: uppercase; }
.ns-ft-links { display: flex; gap: 28px; }
.ns-ft-links span { font-size: .74rem; color: rgba(255,255,255,.3); cursor: pointer; letter-spacing: .04em; text-transform: uppercase; }
.ns-ft-copy { font-size: .7rem; color: rgba(255,255,255,.18); }

/* ── os clunky additions ── */
.os-topbar {
  background: #c0392b;
  color: #fff;
  font-size: .78rem; font-weight: 700;
  text-align: center; padding: 7px 16px;
  letter-spacing: .01em;
  border-bottom: 2px solid #922b21;
}
.os-gallery {
  padding: 20px 32px 24px;
  background: #f7f7f7;
  border-top: 3px solid #1a5276;
}
.os-gal-title {
  font-size: .9rem; font-weight: 900; color: #1a5276;
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 2px solid #1a5276;
}
.os-gal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 8px; }
.os-gal-item {
  height: 80px; display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: rgba(0,0,0,.4); font-weight: 700;
  border: 2px dashed #bbb;
}
.os-gal--1 { background: #d5e8d4; } .os-gal--2 { background: #dae8fc; }
.os-gal--3 { background: #fff2cc; } .os-gal--4 { background: #f8cecc; }
.os-gal--5 { background: #e1d5e7; } .os-gal--6 { background: #d5e8d4; }
.os-gal-note { font-size: .7rem; color: #aaa; font-style: italic; }

.os-about { padding: 16px 32px 20px; background: #fff; }
.os-about-table { width: 100%; border-collapse: collapse; border: 1px solid #ccc; font-size: .8rem; color: #333; }
.os-about-table td { padding: 10px 12px; border: 1px solid #ccc; vertical-align: top; line-height: 1.65; }
.os-at-header { background: #1a5276; color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; }
.os-at-img { width: 140px; background: linear-gradient(135deg, #d5e8d4, #a9c4a8); }

.os-counter-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; font-size: .72rem; color: #bbb; }
.os-counter-row b { color: #888; font-family: 'Courier New', monospace; }

/* Key points */
.bef-points {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.bp-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.bp-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(0,123,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.bp-item strong { font-size: .95rem; font-weight: 700; color: var(--navy); }
.bp-item span { font-size: .84rem; line-height: 1.6; color: var(--gray-500); }


/* ══════════════════════════════════════
   TESTIMONIOS
══════════════════════════════════════ */
.testi-sec {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.testi-bg { display: none; }

.testi-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 0;
}

/* Stats strip */
.tstrip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 48px;
  margin-bottom: 52px;
  gap: 0;
}
.tstrip-item { flex: 1; text-align: center; }
.tstrip-item strong {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.04em;
  line-height: 1;
}
.tstrip-item strong span,
.tstrip-item strong small { color: var(--blue); font-size: 1.6rem; }
.tstrip-item em {
  display: block;
  font-style: normal;
  font-size: .82rem;
  color: var(--gray-500);
  margin-top: 6px;
  font-weight: 500;
}
.tstrip-div { width: 1px; height: 52px; background: var(--gray-100); flex-shrink: 0; margin: 0 32px; }

/* Stage */
.testi-stage {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 60px 64px 36px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.testi-qmark {
  position: absolute;
  top: 24px; left: 44px;
  font-size: 18rem;
  font-weight: 900;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: .8;
  color: rgba(0,123,255,.07);
  pointer-events: none;
  user-select: none;
}
.testi-qmark::before { content: '\201C'; }

/* Track + cards */
.testi-track { position: relative; min-height: 220px; }

.tc {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.tc.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.tc-quote {
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  color: var(--gray-700);
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: -.01em;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.tc-quote mark { background: none; color: var(--blue); font-weight: 700; }

.tc-foot { display: flex; align-items: center; gap: 16px; }

.tc-av {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--avc);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  letter-spacing: .02em;
}
.tc-meta { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.tc-meta strong { color: var(--navy); font-size: .96rem; font-weight: 700; }
.tc-meta span { color: var(--gray-500); font-size: .8rem; }
.tc-tag {
  display: inline-block;
  background: rgba(0,123,255,.08);
  border: 1px solid rgba(0,123,255,.18);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: .72rem;
  color: var(--blue);
  margin-top: 4px;
  width: fit-content;
}
.tc-stars { color: #f59e0b; font-size: 1.05rem; letter-spacing: 3px; flex-shrink: 0; align-self: flex-start; }

/* Progress bar */
.testi-prog { margin-top: 32px; height: 3px; background: var(--gray-100); border-radius: 3px; overflow: hidden; }
.testi-prog-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--blue), var(--blue-lt)); border-radius: 3px; }

/* Thumbnail nav */
.testi-nav { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.tn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .25s ease;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.tn:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(0,123,255,.12); transform: translateY(-2px); }
.tn.is-active { background: rgba(0,123,255,.05); border-color: var(--blue); box-shadow: 0 4px 16px rgba(0,123,255,.15); }
.tn-av {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--avc);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; color: white; flex-shrink: 0;
}
.tn-info { display: flex; flex-direction: column; gap: 2px; overflow: hidden; min-width: 0; }
.tn-info strong { color: var(--navy); font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-info span { color: var(--gray-500); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


/* ══════════════════════════════════════
   FORM SUCCESS MODAL
══════════════════════════════════════ */
.fsuccess-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(11,19,43,.85);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fsOverlayIn .4s ease;
}
.fsuccess-overlay[hidden] { display: none; }

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

.fsuccess-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,.4);
  animation: fsCardIn .5s cubic-bezier(.34,1.56,.64,1) .1s both;
}
@keyframes fsCardIn { from { opacity: 0; transform: scale(.88) translateY(20px); } to { opacity: 1; transform: none; } }

.fsuccess-svg {
  width: 72px; height: 72px;
  margin: 0 auto 28px;
  display: block;
}
.fsc-circle {
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: drawFsCircle .7s ease forwards .3s;
}
.fsc-tick {
  stroke-dasharray: 45;
  stroke-dashoffset: 45;
  animation: drawFsTick .45s ease forwards 1s;
}
@keyframes drawFsCircle { to { stroke-dashoffset: 0; } }
@keyframes drawFsTick   { to { stroke-dashoffset: 0; } }

.fsuccess-title {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.fsuccess-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.fsuccess-desc strong { color: var(--navy); }
.fsuccess-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
}
.fsuccess-meta span { font-size: .87rem; color: var(--gray-500); }
.fsuccess-actions { display: flex; gap: 12px; justify-content: center; }
.fsuccess-actions .btn-primary:hover { transform: none; box-shadow: var(--shadow-blue); }
.btn-ghost--lt {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-md);
  font-weight: 600; font-size: .95rem;
  color: var(--gray-500);
  background: transparent;
  cursor: pointer;
  transition: all .25s ease;
  font-family: var(--font);
}
.btn-ghost--lt:hover { border-color: var(--gray-300); color: var(--gray-700); }

/* Submit button loading state */
.btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#submitBtn.is-loading .btn-spinner { display: block; }
#submitBtn.is-loading .btn-arrow   { display: none; }
#submitBtn.is-loading .btn-label   { opacity: .7; }


/* ══════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════ */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: rgba(11,19,43,.97);
  border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  padding: 16px 24px;
  animation: cookieSlideUp .4s cubic-bezier(.4,0,.2,1);
}
.cookie-bar[hidden] { display: none; }
@keyframes cookieSlideUp { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-txt { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 240px; }
.cookie-txt strong { font-size: .9rem; color: var(--white); font-weight: 700; }
.cookie-txt span { font-size: .8rem; color: rgba(255,255,255,.5); }
.cookie-policy-link {
  background: none; border: none; color: var(--blue-lt);
  font-size: .8rem; cursor: pointer; padding: 0;
  font-family: var(--font); text-decoration: underline;
}
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cb-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: .85rem; font-weight: 600;
  cursor: pointer; border: none;
  font-family: var(--font);
  transition: all .2s ease;
}
.cb-btn--sec { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
.cb-btn--sec:hover { background: rgba(255,255,255,.14); color: white; }
.cb-btn--pri { background: var(--blue); color: white; }
.cb-btn--pri:hover { background: var(--blue-lt); transform: translateY(-1px); }


/* ══════════════════════════════════════
   MODAL LEGAL
══════════════════════════════════════ */
.legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(11,19,43,.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fsOverlayIn .3s ease;
}
.legal-overlay[hidden] { display: none; }

.legal-modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
  animation: fsCardIn .4s cubic-bezier(.34,1.56,.64,1) both;
}
.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}
.legal-modal-title { font-size: 1.3rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.legal-close {
  width: 36px; height: 36px;
  border-radius: 50%; border: none;
  background: var(--gray-50);
  color: var(--gray-500);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.legal-close:hover { background: var(--gray-100); color: var(--navy); }
.legal-body {
  padding: 28px 32px;
  overflow-y: auto;
  flex: 1;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--gray-700);
}
.legal-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 24px 0 8px; }
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 12px; }
.legal-body ul { padding-left: 20px; margin-bottom: 12px; }
.legal-body ul li { margin-bottom: 6px; }
.legal-body a { color: var(--blue); }


/* ══════════════════════════════════════
   RESPONSIVE — nuevos componentes
══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Antes/Después — section description swap */
  .bef-desc--desktop { display: none; }
  .bef-desc--mobile  { display: block; }

  /* Antes/Después — stage */
  .bef-sec    { padding: 80px 0; }
  .bef-stage  { height: 500px; }
  .bef-points { grid-template-columns: 1fr; gap: 12px; }

  /* ── ns DESPUÉS — full responsive mobile layout ── */
  .ns { width: 100%; }

  .ns-nav { padding: 16px 20px; }
  .ns-navlinks { display: none; }
  .ns-hamburger { display: flex; }

  .ns-hero {
    grid-template-columns: 1fr;
    padding: 36px 20px 32px;
    gap: 0;
  }
  .ns-hero-right { display: none; }
  .ns-h1 { font-size: 2.5rem; }
  .ns-desc { font-size: .86rem; }
  .ns-actions { flex-direction: column; gap: 10px; margin-bottom: 28px; }
  .ns-btn-primary,
  .ns-btn-ghost  { text-align: center; padding: 14px; display: block; }
  .ns-proof { gap: 0; }
  .ns-proof-item strong { font-size: 1.3rem; }

  .ns-services { grid-template-columns: 1fr 1fr; }
  .ns-svc-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.05); }
  .ns-svc-card:nth-child(2n+1) { border-right: 1px solid rgba(255,255,255,.05) !important; }

  .ns-reviews { padding: 36px 20px; }
  .ns-rev-grid { grid-template-columns: 1fr; gap: 14px; }

  .ns-cta-sec { padding: 40px 20px; }
  .ns-cta-title { font-size: 2rem; }
  .ns-cta-btn { padding: 15px 32px; }

  .ns-ft { flex-direction: column; text-align: center; gap: 12px; padding: 24px 20px; }
  .ns-ft-links { justify-content: center; flex-wrap: wrap; gap: 16px; }

  /* Testimonios: nav (elegir) arriba, stage (cita) abajo */
  .testi-sec .container { display: flex; flex-direction: column; }
  .testi-sec .section-header { order: 1; }
  .tstrip          { order: 2; flex-direction: column; gap: 20px; padding: 24px; }
  .tstrip-div      { width: 60px; height: 1px; }
  .testi-nav       { order: 3; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
  .testi-stage     { order: 4; padding: 36px 24px 28px; }
  .testi-sec       { padding: 80px 0; }
  .testi-qmark     { font-size: 10rem; top: 12px; left: 20px; }
  .testi-track     { min-height: auto; }
  .tc-foot         { flex-wrap: wrap; gap: 12px; }
  .tc-stars        { width: 100%; }
  .tn              { padding: 12px 14px; }

  /* Showcase: browser (demo) arriba, info (explicación) abajo */
  .show-layout     { display: flex; flex-direction: column; }
  .show-browser    { order: 1; }
  .show-info       { order: 2; margin-top: 16px; }

  /* Form success */
  .fsuccess-card   { padding: 40px 28px; }
  .fsuccess-actions { flex-direction: column; }
  .fsuccess-actions .btn,
  .fsuccess-actions .btn-ghost--lt { width: 100%; }

  /* Cookie */
  .cookie-inner    { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie-btns     { width: 100%; }
  .cb-btn          { flex: 1; text-align: center; }

  /* Legal */
  .legal-modal     { max-height: 90vh; border-radius: var(--radius-lg); }
  .legal-head      { padding: 20px 20px 16px; }
  .legal-body      { padding: 20px; }
}
@media (max-width: 480px) {
  .testi-nav       { grid-template-columns: 1fr; }
  .fsuccess-title  { font-size: 1.6rem; }
}
