/*
Theme Name: GymVibes
Theme URI: https://gymvibes.app
Author: GymVibes
Description: Tema oficial de GymVibes
Version: 1.1
*/

/* ═══════════════════════════════════════════
   BASE (de index.html)
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --lime: #a3e635;
  --lime-dim: rgba(163,230,53,0.12);
  --lime-glow: rgba(163,230,53,0.25);
  --teal: #1D9E75;
  --teal-dim: rgba(29,158,117,0.15);
  --bg: #080808;
  --surface: #111111;
  --surface-2: #181818;
  --surface-3: #222222;
  --border: rgba(255,255,255,0.06);
  --border-bright: rgba(255,255,255,0.12);
  --text: #f0f0f0;
  --text-dim: #888888;
  --text-muted: #444444;
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; line-height: 1.1; letter-spacing: -0.03em; }
h1 { font-family: 'Outfit', sans-serif; font-size: clamp(3rem, 7vw, 7rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; }
p { font-size: clamp(1rem, 1.5vw, 1.125rem); color: var(--text-dim); font-weight: 300; }

.gradient-text {
  background: linear-gradient(135deg, var(--lime) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 15px;
  cursor: pointer; text-decoration: none; transition: all 0.25s ease; border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--lime); color: #080808;
  box-shadow: 0 0 0 0 var(--lime-glow);
}
.btn-primary:hover {
  background: #b5f542;
  box-shadow: 0 0 30px var(--lime-glow), 0 0 60px rgba(163,230,53,0.12);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-bright);
}
.btn-ghost:hover {
  border-color: var(--lime); color: var(--lime);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 36px; font-size: 17px; border-radius: 12px; }

/* ─── PILL BADGE ─── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--lime-dim); border: 1px solid rgba(163,230,53,0.25);
  color: var(--lime); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: pulse-dot 2s infinite; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}
nav.scrolled {
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
/* For inner pages, nav is always scrolled style */
nav.nav-solid {
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  object-fit: contain;
}
.nav-logo-text { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-dim); font-size: 14px; font-weight: 400;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 22px; height: 1.5px; background: var(--text); display: block; transition: all 0.3s; }

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
}

/* Mesh gradient background */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(29,158,117,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(163,230,53,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 80%, rgba(163,230,53,0.04) 0%, transparent 50%);
  animation: mesh-drift 12s ease-in-out infinite alternate;
}
@keyframes mesh-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-20px, -15px) scale(1.03); }
}

/* Animated grid */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
}

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

.hero-left {}
.hero-eyebrow {
  display: flex; align-items: center; gap: 8px;
  color: var(--lime); font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 28px; font-family: 'DM Sans', sans-serif; line-height: 1;
}
.hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--lime); flex-shrink: 0; }
.hero-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-headline em { font-style: normal; color: var(--lime); }
.hero-claim {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 700; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 20px; line-height: 1.2;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 480px;
  color: var(--text-dim); margin-bottom: 40px; font-weight: 300;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust { margin-top: 48px; display: flex; align-items: center; gap: 12px; }
.trust-avatars { display: flex; }
.trust-avatars span {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg);
  background: var(--surface-3); display: flex; align-items: center; justify-content: center;
  font-size: 13px; margin-left: -8px; color: var(--text-dim);
}
.trust-avatars span:first-child { margin-left: 0; }
.trust-text { font-size: 13px; color: var(--text-dim); }
.trust-text strong { color: var(--text); }

/* Floating stats cards */
.hero-right { position: relative; height: 500px; }

.float-card {
  position: absolute;
  background: rgba(17,17,17,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.float-card-main {
  top: 40px; right: 0; width: 260px;
  animation: float1 6s ease-in-out infinite;
}
.float-card-checkin {
  bottom: 80px; right: 40px; width: 220px;
  animation: float2 5.5s ease-in-out infinite 0.5s;
}
.float-card-alert {
  top: 160px; left: 0; width: 200px;
  animation: float3 7s ease-in-out infinite 1s;
}
.float-card-revenue {
  top: 20px; left: 30px; width: 180px;
  animation: float4 6.5s ease-in-out infinite 0.3s;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes float4 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(0deg); }
}

.card-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 6px; }
.card-value { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 700; color: var(--text); line-height: 1; }
.card-value.lime { color: var(--lime); }
.card-sub { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.card-change { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: #4ade80; background: rgba(74,222,128,0.1); padding: 2px 8px; border-radius: 999px; margin-top: 6px; }
.card-change.negative { color: #f87171; background: rgba(248,113,113,0.1); }

/* Mini bar chart inside card */
.mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin-top: 12px; }
.mini-bar { flex: 1; border-radius: 3px 3px 0 0; background: var(--surface-3); min-width: 8px; }
.mini-bar.active { background: var(--lime); }

/* Checkin list */
.checkin-list { margin-top: 12px; }
.checkin-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.checkin-item:last-child { border-bottom: none; }
.checkin-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.checkin-name { font-size: 12px; color: var(--text-dim); flex: 1; }
.checkin-time { font-size: 11px; color: var(--text-muted); }

/* Alert card */
.alert-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(251,191,36,0.15); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.alert-count { font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 700; color: #fbbf24; line-height: 1; }
.alert-label { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

/* ════════════════════════════════════════════
   SECTORES
════════════════════════════════════════════ */
#sectores { padding: 100px 0; border-bottom: 1px solid var(--border); }
.sectores-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.sector-item {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 28px 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 32px;
  transition: all 0.25s ease;
  cursor: default;
}
.sector-item:hover {
  border-color: rgba(163,230,53,0.25);
  background: var(--surface-2);
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(163,230,53,0.07);
}
.sector-item span {
  font-size: 13px; font-weight: 500;
  color: var(--text-dim); text-align: center; line-height: 1.3;
}
@media (max-width: 900px) {
  .sectores-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sectores-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════
   PROBLEM
════════════════════════════════════════════ */
#problema { padding: 120px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 72px; }
.section-header p { margin-top: 16px; font-size: 1.1rem; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.problem-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.35s ease;
}
.problem-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}
.problem-card:hover {
  border-color: rgba(163,230,53,0.25);
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(163,230,53,0.07);
}
.problem-number {
  font-family: 'Outfit', sans-serif; font-size: 80px; font-weight: 800;
  color: rgba(255,255,255,0.03); line-height: 1;
  position: absolute; top: 12px; right: 20px;
}
.problem-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
  background: var(--surface-3);
}
.problem-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--text); }
.problem-card p { font-size: 0.95rem; }

.problem-stat {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 6px;
}
.stat-val { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 700; color: #f87171; }
.stat-label { font-size: 12px; color: var(--text-dim); }

/* ════════════════════════════════════════════
   PILARES
════════════════════════════════════════════ */
#pilares { padding: 120px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pilares-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.pilar-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 48px 40px;
  position: relative; overflow: hidden;
  transition: all 0.35s ease;
}
.pilar-card:hover {
  border-color: rgba(163,230,53,0.25);
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(163,230,53,0.07);
}
.pilar-number {
  font-family: 'Outfit', sans-serif; font-size: 100px; font-weight: 800;
  color: rgba(163,230,53,0.06); line-height: 1;
  position: absolute; top: 8px; right: 16px;
}
.pilar-icon {
  font-size: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--lime-dim);
  border: 1px solid rgba(163,230,53,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  margin-bottom: 24px;
}
.pilar-card h3 {
  font-size: 1.3rem; margin-bottom: 16px; color: var(--text);
  border-bottom: 1px solid var(--border); padding-bottom: 16px;
}
.pilar-card p { font-size: 0.95rem; line-height: 1.75; }
@media (max-width: 900px) {
  .pilares-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   FEATURES
════════════════════════════════════════════ */
#caracteristicas { padding: 120px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 64px; }

.feature-card {
  background: var(--surface); padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: all 0.3s ease;
  cursor: default;
}
.feature-card:hover { background: var(--surface-2); z-index: 1; transform: scale(1.015); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(163,230,53,0.07); }
.feature-card::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid transparent;
  border-radius: 0;
  transition: border-color 0.3s ease;
  pointer-events: none;
}
.feature-card:hover::after { border-color: var(--lime-glow); }

.feature-card:first-child { border-radius: var(--radius) 0 0 0; }
.feature-card:nth-child(3) { border-radius: 0 var(--radius) 0 0; }
.feature-card:nth-child(4) { border-radius: 0 0 0 var(--radius); }
.feature-card:last-child { border-radius: 0 0 var(--radius) 0; }

.feature-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; position: relative;
  background: var(--surface-3); border: 1px solid var(--border);
  font-size: 24px;
  transition: all 0.3s ease;
}
.feature-card:hover .feature-icon-wrap {
  background: var(--lime-dim);
  border-color: rgba(163,230,53,0.3);
  box-shadow: 0 0 20px var(--lime-glow);
}

.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text); }
.feature-card p { font-size: 0.9rem; line-height: 1.65; }

.feature-tag {
  display: inline-block; margin-top: 20px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.05em;
  background: var(--lime-dim); color: var(--lime); border: 1px solid rgba(163,230,53,0.2);
}

.feature-stat {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 6px;
}
.feature-stat-val {
  font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800;
  color: var(--lime); line-height: 1;
}
.feature-stat-label { font-size: 11px; color: var(--text-dim); line-height: 1.4; }

/* ════════════════════════════════════════════
   DASHBOARD PREVIEW
════════════════════════════════════════════ */
#dashboard { padding: 120px 0; background: var(--surface); }
.dashboard-label { text-align: center; margin-bottom: 60px; }
.dashboard-label p { margin-top: 12px; }

.dashboard-frame {
  max-width: 1000px; margin: 0 auto;
  border-radius: 20px;
  border: 1px solid var(--border-bright);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(163,230,53,0.05),
    0 40px 120px rgba(0,0,0,0.8),
    0 0 60px rgba(163,230,53,0.04);
  position: relative;
}
.dashboard-frame::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  pointer-events: none; z-index: 10;
}

/* Browser chrome */
.browser-bar {
  background: var(--surface-2); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.bd-red { background: #ff5f57; }
.bd-yellow { background: #ffbd2e; }
.bd-green { background: #28c840; }
.browser-url {
  flex: 1; background: var(--surface-3); border-radius: 6px;
  padding: 5px 12px; font-size: 11px; color: var(--text-dim); text-align: center;
}

/* Dashboard layout */
.db-layout { display: flex; min-height: 480px; background: var(--bg); }

.db-sidebar {
  width: 180px; background: var(--surface); border-right: 1px solid var(--border);
  padding: 20px 0; flex-shrink: 0;
}
.db-logo {
  padding: 0 16px 20px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border); margin-bottom: 16px;
}
.db-logo-mark {
  width: 26px; height: 26px; border-radius: 6px;
  object-fit: contain;
}
.db-logo-name { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; }
.db-nav-item {
  padding: 8px 16px; font-size: 12px; color: var(--text-dim);
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  transition: all 0.2s; border-left: 2px solid transparent;
}
.db-nav-item.active { color: var(--lime); border-left-color: var(--lime); background: var(--lime-dim); }
.db-nav-item:hover:not(.active) { color: var(--text); background: rgba(255,255,255,0.03); }
.db-nav-icon { font-size: 14px; }

.db-main { flex: 1; padding: 20px; overflow: hidden; }
.db-topbar {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.db-title { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; }
.db-actions { display: flex; gap: 8px; }
.db-btn {
  padding: 6px 14px; border-radius: 7px; font-size: 11px; font-weight: 500; cursor: pointer;
}
.db-btn-primary { background: var(--lime); color: #080808; border: none; }
.db-btn-ghost { background: transparent; color: var(--text-dim); border: 1px solid var(--border); }

/* Stats row */
.db-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.db-stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px;
}
.db-stat-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.db-stat-value { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; color: var(--text); margin: 4px 0 2px; }
.db-stat-change { font-size: 9px; }
.db-stat-change.up { color: #4ade80; }
.db-stat-change.down { color: #f87171; }
.db-stat-change.warn { color: #fbbf24; }

/* Charts row */
.db-charts { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; margin-bottom: 16px; }
.db-chart-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px;
}
.db-chart-title { font-size: 11px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.db-chart-sub { font-size: 9px; color: var(--text-dim); }

/* Bar chart */
.css-bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.css-bar { flex: 1; background: var(--surface-3); border-radius: 3px 3px 0 0; min-width: 12px; position: relative; }
.css-bar.lime-bar { background: var(--lime); opacity: 0.85; }
.css-bar.teal-bar { background: var(--teal); opacity: 0.85; }
.css-bar-month { font-size: 8px; color: var(--text-muted); text-align: center; margin-top: 4px; }

/* Donut chart (CSS) */
.css-donut-wrap { display: flex; align-items: center; gap: 12px; }
.css-donut {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--lime) 0% 58%, var(--teal) 58% 80%, var(--surface-3) 80% 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.css-donut::after {
  content: '';
  position: absolute; width: 48px; height: 48px; border-radius: 50%; background: var(--surface);
}
.donut-labels { flex: 1; }
.donut-item { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.donut-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.donut-text { font-size: 10px; color: var(--text-dim); }

/* Member table */
.db-table-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.db-table-header {
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.db-table-title { font-size: 11px; font-weight: 600; color: var(--text); }
.db-table-link { font-size: 10px; color: var(--lime); }
.db-table table { width: 100%; border-collapse: collapse; }
.db-table th { padding: 8px 14px; font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); text-align: left; border-bottom: 1px solid var(--border); }
.db-table td { padding: 8px 14px; font-size: 10px; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.db-table tr:last-child td { border-bottom: none; }
.db-table tr:hover td { background: rgba(255,255,255,0.02); }
.db-badge {
  display: inline-block; padding: 2px 7px; border-radius: 999px; font-size: 9px; font-weight: 500;
}
.badge-active { background: rgba(74,222,128,0.12); color: #4ade80; }
.badge-expiring { background: rgba(251,191,36,0.12); color: #fbbf24; }
.badge-expired { background: rgba(248,113,113,0.12); color: #f87171; }

/* ════════════════════════════════════════════
   MOBILE APP
════════════════════════════════════════════ */
#app-movil { padding: 120px 0; }
.app-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.app-text h2 { margin-bottom: 20px; }
.app-text p { margin-bottom: 32px; }
.app-features { display: flex; flex-direction: column; gap: 16px; }
.app-feature { display: flex; align-items: flex-start; gap: 14px; }
.app-feature-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--lime-dim); border: 1px solid rgba(163,230,53,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.app-feature-text h4 { font-size: 14px; font-family: 'Syne', sans-serif; font-weight: 700; margin-bottom: 2px; }
.app-feature-text p { font-size: 13px; color: var(--text-dim); }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; perspective: 1200px; }
.phone {
  width: 290px;
  border-radius: 56px;
  border: 3px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(145deg, rgba(255,255,255,0.25), rgba(255,255,255,0.06) 40%, rgba(255,255,255,0.14) 70%, rgba(255,255,255,0.22)) border-box;
  overflow: hidden;
  box-shadow:
    0 50px 120px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 50px rgba(163,230,53,0.06);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.phone::before {
  content: '';
  position: absolute; left: -5px; top: 100px;
  width: 3px; height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
  border-radius: 2px 0 0 2px;
  box-shadow: 0 44px 0 rgba(255,255,255,0.1), 0 80px 0 rgba(255,255,255,0.08);
}
.phone::after {
  content: '';
  position: absolute; right: -5px; top: 120px;
  width: 3px; height: 60px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
  border-radius: 0 2px 2px 0;
}
.phone-notch {
  height: 36px; background: #000;
  display: flex; align-items: center; justify-content: center;
}
.notch {
  width: 110px; height: 30px; background: #000;
  border-radius: 0 0 20px 20px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.dynamic-island {
  width: 90px; height: 22px;
  background: #000;
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 8px; gap: 5px;
}
.di-camera {
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a3a5c, #0a1520);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.8), inset 0 0 3px rgba(100,150,255,0.2);
}
.di-light {
  width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle, rgba(163,230,53,0.6), rgba(163,230,53,0.1));
}

.phone-screen { padding: 16px; background: var(--bg); }

.ps-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ps-greeting { font-size: 11px; color: var(--text-dim); }
.ps-name { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; }
.ps-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #080808; }

.ps-card {
  background: linear-gradient(135deg, var(--teal) 0%, rgba(29,158,117,0.6) 100%);
  border-radius: 16px; padding: 16px; margin-bottom: 14px;
}
.ps-card-label { font-size: 10px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; }
.ps-card-plan { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; margin: 4px 0; }
.ps-card-days { font-size: 11px; opacity: 0.8; }
.ps-progress-bar { height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; margin-top: 10px; }
.ps-progress-fill { height: 100%; background: var(--lime); border-radius: 2px; width: 72%; }

.ps-section-title { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 8px; }
.ps-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.ps-stat-box { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.ps-stat-num { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; color: var(--lime); }
.ps-stat-lbl { font-size: 9px; color: var(--text-dim); margin-top: 2px; }

.ps-class-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px;
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.ps-class-color { width: 4px; align-self: stretch; border-radius: 2px; }
.ps-class-info { flex: 1; }
.ps-class-name { font-size: 11px; font-weight: 600; color: var(--text); }
.ps-class-time { font-size: 10px; color: var(--text-dim); }
.ps-class-spots { font-size: 9px; color: var(--lime); }

.phone-home-bar {
  height: 20px; background: var(--bg); display: flex; align-items: center; justify-content: center;
}
.home-indicator { width: 80px; height: 3px; background: rgba(255,255,255,0.15); border-radius: 2px; }

/* ════════════════════════════════════════════
   PROFESORES SECTION
════════════════════════════════════════════ */
.prof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.prof-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 32px;
  transition: all 0.3s ease;
}
.prof-card:hover {
  border-color: rgba(163,230,53,0.25);
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(163,230,53,0.07);
}
.prof-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--text); }
.prof-card p { font-size: 0.9rem; line-height: 1.65; }
.prof-card .feature-icon-wrap { margin-bottom: 20px; }
@media (max-width: 900px) {
  .prof-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════ */
#numeros {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-header { text-align: center; margin-bottom: 60px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.stat-block {
  padding: 40px 32px; text-align: center; position: relative;
  border-right: 1px solid var(--border);
}
.stat-block:last-child { border-right: none; }
.stat-counter {
  font-family: 'Outfit', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; color: var(--lime); line-height: 1; display: block;
}
.stat-suffix { font-family: 'Outfit', sans-serif; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 800; color: var(--lime); }
.stat-name { font-size: 14px; color: var(--text-dim); margin-top: 8px; display: block; }

/* ════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════ */
#como-funciona { padding: 120px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute; top: 28px; left: calc(16.67% + 20px); right: calc(16.67% + 20px);
  height: 1px; background: linear-gradient(90deg, var(--lime), var(--teal));
}
.step { text-align: center; padding: 0 20px; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 28px;
  border: 1px solid var(--lime); color: var(--lime);
  font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); position: relative; z-index: 1;
  box-shadow: 0 0 20px rgba(163,230,53,0.15);
}
.step h3 { font-size: 1.2rem; margin-bottom: 12px; }
.step p { font-size: 0.9rem; }

/* ════════════════════════════════════════════
   PRICING
════════════════════════════════════════════ */
#precios { padding: 120px 0; background: var(--surface); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.pricing-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 1100px; margin-left: auto; margin-right: auto; }

.pricing-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 52px 48px;
  transition: all 0.35s ease; position: relative;
}
.pricing-card:hover { transform: translateY(-4px); }

.pricing-card.featured {
  border-color: var(--lime);
  box-shadow: 0 0 0 1px rgba(163,230,53,0.2), 0 20px 60px rgba(163,230,53,0.08);
}
.pricing-card.featured::before {
  content: 'Más popular';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--lime); color: #080808;
  font-size: 11px; font-weight: 600; padding: 4px 14px; border-radius: 999px;
  white-space: nowrap;
}

.pricing-tier { font-size: 16px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text); font-weight: 700; margin-bottom: 16px; text-align: center; }
.pricing-price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px;
}
.price-currency { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 700; color: var(--text-dim); }
.price-amount { font-family: 'Outfit', sans-serif; font-size: 64px; font-weight: 800; color: var(--text); line-height: 1; }
.price-period { font-size: 15px; color: var(--text-dim); }
.pricing-desc { font-size: 15px; color: var(--text); margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }

.pricing-note { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; font-style: italic; }
.pricing-features { list-style: none; margin-bottom: 20px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 16px; color: var(--text-dim); }
.pricing-features li::before { content: '✓'; color: var(--lime); font-weight: 600; font-size: 15px; flex-shrink: 0; margin-top: 2px; }
.pricing-features li.disabled { opacity: 0.35; }
.pricing-features li.disabled::before { content: '×'; color: var(--text-muted); }
.pricing-features li.feat-category {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text); font-weight: 600;
  padding: 18px 0 4px; border-top: 1px solid var(--border);
}
.pricing-features li.feat-category:first-child { border-top: none; padding-top: 4px; }
.pricing-features li.feat-category::before { display: none; }

/* ── Currency toggle ── */
.pricing-toggle-wrap {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 0 auto 48px; margin-top: 16px;
}
.currency-toggle-track {
  width: 52px; height: 28px; border-radius: 14px;
  background: var(--surface-3); border: 1px solid var(--border-bright);
  position: relative; cursor: pointer; transition: background 0.25s, border-color 0.25s;
  flex-shrink: 0;
}
.currency-toggle-track.usd { background: var(--lime-dim); border-color: rgba(163,230,53,0.35); }
.currency-toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--text); transition: transform 0.25s, background 0.25s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.currency-toggle-track.usd .currency-toggle-thumb { transform: translateX(24px); background: var(--lime); }
.currency-label {
  font-size: 14px; font-weight: 500; color: var(--text-dim);
  cursor: pointer; transition: color 0.2s; user-select: none;
  display: flex; align-items: center; gap: 6px;
}
.currency-label.active { color: var(--text); }
.price-display.hidden { display: none; }

/* ════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════ */
#testimonios { padding: 120px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }

.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  transition: all 0.3s ease; position: relative;
}
.testimonial-card:hover { border-color: rgba(163,230,53,0.25); transform: translateY(-4px) scale(1.015); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(163,230,53,0.07); }
.testimonial-card::before { content: '"'; font-family: 'Outfit', sans-serif; font-size: 80px; color: var(--lime); opacity: 0.15; position: absolute; top: 16px; right: 24px; line-height: 1; }

.stars { display: flex; gap: 3px; margin-bottom: 20px; }
.star { color: var(--lime); font-size: 14px; }

.testimonial-text { font-size: 15px; color: var(--text-dim); line-height: 1.7; margin-bottom: 28px; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; color: #080808; flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 600; color: var(--text); }
.author-gym { font-size: 12px; color: var(--text-dim); }

/* ════════════════════════════════════════════
   FAQ
════════════════════════════════════════════ */
#faq { padding: 100px 0; }
.faq-list { max-width: 800px; margin: 64px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-trigger {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; text-align: left; gap: 16px;
}
.faq-trigger h3 {
  font-size: 1.05rem; font-weight: 600; color: var(--text);
  margin: 0; font-family: 'Outfit', sans-serif; letter-spacing: -0.01em;
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  color: var(--lime); font-size: 18px; transition: transform 0.3s ease;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-body { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.faq-answer { padding: 0 40px 24px 0; }
.faq-answer p { font-size: 0.97rem; color: var(--text-dim); line-height: 1.75; margin: 0; }
.faq-more { text-align: center; margin-top: 48px; }
.faq-more a { font-size: 14px; color: var(--text-dim); text-decoration: none; border-bottom: 1px solid var(--border-bright); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.faq-more a:hover { color: var(--lime); border-color: var(--lime); }

/* ════════════════════════════════════════════
   FINAL CTA
════════════════════════════════════════════ */
#cta-final {
  padding: 140px 0;
  background: linear-gradient(135deg, rgba(29,158,117,0.2) 0%, rgba(163,230,53,0.1) 50%, rgba(29,158,117,0.15) 100%);
  border-top: 1px solid rgba(163,230,53,0.1);
  border-bottom: 1px solid rgba(163,230,53,0.1);
  position: relative; overflow: hidden;
}
#cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(163,230,53,0.08) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 20px; }
.cta-inner p { font-size: 1.1rem; margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: 13px; color: var(--text-muted); }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--text-dim); margin-top: 16px; max-width: 240px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 0; text-decoration: none; }
.footer-logo-mark { width: 32px; height: 32px; border-radius: 8px; object-fit: contain; }
.footer-logo-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px; color: var(--text); }
.footer-col h5 { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { text-decoration: none; color: var(--text-dim); font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--lime); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-socials { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 16px; color: var(--text-dim);
  transition: all 0.2s ease;
}
.social-link:hover { border-color: var(--lime); color: var(--lime); background: var(--lime-dim); }

/* ── Dashboard screens ── */
.db-screen { display: none; height: 100%; overflow: auto; }
.db-screen.active { display: block; animation: dbFadeIn 0.22s ease; }
@keyframes dbFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Shared screen utilities */
.db-screen-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.db-screen-title { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; color: var(--text); }
.db-screen-sub { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* Generic table used across screens */
.dbs-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.dbs-table th { text-align: left; padding: 8px 10px; font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.dbs-table td { padding: 9px 10px; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.dbs-table tr:last-child td { border-bottom: none; }
.dbs-table tr:hover td { background: rgba(255,255,255,0.02); }

/* Badge variants */
.db-badge.activo   { background: rgba(74,222,128,0.15);  color: #4ade80; }
.db-badge.por-vencer { background: rgba(251,191,36,0.15); color: #fbbf24; }
.db-badge.vencido  { background: rgba(248,113,113,0.15); color: #f87171; }
.db-badge.pagado   { background: rgba(74,222,128,0.15);  color: #4ade80; }
.db-badge.pendiente { background: rgba(251,191,36,0.15); color: #fbbf24; }
.db-badge.habilitado { background: rgba(74,222,128,0.15); color: #4ade80; font-size: 9px; }
.db-badge.no-habilitado { background: rgba(248,113,113,0.15); color: #f87171; font-size: 9px; }

/* Search bar */
.dbs-search-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.dbs-search { flex: 1; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 7px 12px; font-size: 11px; color: var(--text); outline: none; }
.dbs-search::placeholder { color: var(--text-muted); }

/* Filter tabs */
.dbs-filters { display: flex; gap: 4px; margin-bottom: 12px; }
.dbs-filter { padding: 4px 10px; border-radius: 6px; font-size: 10px; cursor: pointer; border: 1px solid var(--border); color: var(--text-dim); background: transparent; transition: all 0.15s; }
.dbs-filter.active { background: var(--lime-dim); border-color: rgba(163,230,53,0.3); color: var(--lime); }

/* Card container */
.dbs-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.dbs-card-header { padding: 10px 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.dbs-card-title { font-size: 11px; font-weight: 600; color: var(--text); }

/* Summary cards row */
.dbs-summary-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.dbs-summary-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.dbs-summary-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 4px; }
.dbs-summary-value { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; color: var(--text); }
.dbs-summary-sub { font-size: 9px; color: var(--text-muted); margin-top: 2px; }
.dbs-summary-card.green .dbs-summary-value { color: #4ade80; }
.dbs-summary-card.yellow .dbs-summary-value { color: #fbbf24; }
.dbs-summary-card.red .dbs-summary-value { color: #f87171; }

/* KPI cards */
.dbs-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.dbs-kpi-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; text-align: center; }
.dbs-kpi-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 6px; }
.dbs-kpi-value { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; color: var(--text); }
.dbs-kpi-sub { font-size: 9px; color: var(--text-muted); margin-top: 2px; }
.dbs-kpi-card.good .dbs-kpi-value { color: #4ade80; }
.dbs-kpi-card.warn .dbs-kpi-value { color: #fbbf24; }
.dbs-kpi-card.bad .dbs-kpi-value { color: #f87171; }

/* Checkin list */
.dbs-checkin-list { display: flex; flex-direction: column; gap: 0; }
.dbs-checkin-item { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--border); }
.dbs-checkin-item:last-child { border-bottom: none; }
.dbs-checkin-time { font-size: 10px; color: var(--text-muted); width: 36px; flex-shrink: 0; }
.dbs-checkin-name { font-size: 11px; color: var(--text); flex: 1; }
.dbs-checkin-plan { font-size: 9px; color: var(--text-muted); width: 70px; flex-shrink: 0; }

/* Clases list */
.dbs-class-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.dbs-class-item:last-child { border-bottom: none; }
.dbs-class-stripe { width: 4px; height: 32px; border-radius: 2px; flex-shrink: 0; }
.dbs-class-info { flex: 1; }
.dbs-class-name { font-size: 11px; font-weight: 600; color: var(--text); }
.dbs-class-meta { font-size: 9px; color: var(--text-muted); margin-top: 2px; }
.dbs-class-slots { font-size: 10px; color: var(--text-dim); width: 52px; text-align: right; flex-shrink: 0; }
.dbs-class-btn { padding: 4px 10px; border-radius: 6px; font-size: 9px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); cursor: pointer; flex-shrink: 0; }
.dbs-day-nav { display: flex; align-items: center; gap: 8px; }
.dbs-day-arrow { width: 22px; height: 22px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 11px; cursor: pointer; color: var(--text-dim); }

/* Actividades cards */
.dbs-act-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dbs-act-new-btn { background: #a3e635; color: #000; border: none; border-radius: 7px; padding: 5px 10px; font-size: 9px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.dbs-act-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dbs-act-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.dbs-act-card-header { display: flex; align-items: flex-start; gap: 8px; }
.dbs-act-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.dbs-act-name { font-size: 11px; font-weight: 700; color: var(--text); }
.dbs-act-instructors { font-size: 9px; color: var(--text-muted); margin-top: 1px; }
.dbs-act-price { font-size: 9px; color: var(--text-dim); margin-top: 1px; }
.dbs-act-slot { display: flex; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.dbs-act-slot:last-child { border-bottom: none; }
.dbs-act-slot-bar { width: 3px; height: 24px; border-radius: 2px; flex-shrink: 0; }
.dbs-act-slot-info { flex: 1; font-size: 9px; color: var(--text-dim); line-height: 1.3; }
.dbs-act-slot-count { font-size: 9px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.dbs-act-actions { display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.dbs-act-btn { flex: 1; padding: 5px 6px; border-radius: 6px; font-size: 9px; font-weight: 600; cursor: pointer; border: 1px solid var(--border); background: var(--surface); color: var(--text-dim); text-align: center; }
.dbs-act-btn-green { background: rgba(163,230,53,0.15); border-color: #a3e635; color: #a3e635; }
.dbs-act-icon-btn { width: 24px; height: 24px; border-radius: 5px; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 10px; cursor: pointer; flex-shrink: 0; }
.dbs-act-icon-del { border-color: rgba(239,68,68,0.4); }

/* Config form */
.dbs-form-section { margin-bottom: 14px; }
.dbs-form-section-title { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.dbs-form-row { display: flex; gap: 8px; margin-bottom: 7px; }
.dbs-form-field { flex: 1; }
.dbs-form-label { font-size: 9px; color: var(--text-muted); margin-bottom: 3px; }
.dbs-form-input { width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; font-size: 10px; color: var(--text-dim); box-sizing: border-box; }
.dbs-plan-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; background: var(--surface-2); border-radius: 7px; margin-bottom: 5px; }
.dbs-plan-name { font-size: 10px; color: var(--text); }
.dbs-plan-detail { font-size: 9px; color: var(--text-muted); }
.dbs-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); }
.dbs-toggle-row:last-child { border-bottom: none; }
.dbs-toggle-label { font-size: 10px; color: var(--text-dim); }
.dbs-toggle { width: 28px; height: 16px; border-radius: 8px; background: var(--lime); position: relative; flex-shrink: 0; cursor: pointer; }
.dbs-toggle.off { background: var(--surface-3); }
.dbs-toggle::after { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; top: 2px; right: 2px; transition: right 0.2s; }
.dbs-toggle.off::after { right: auto; left: 2px; }

/* Insights block */
.dbs-insight { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.dbs-insight-tag { font-size: 8px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime); font-weight: 700; margin-bottom: 4px; }
.dbs-insight-text { font-size: 10px; color: var(--text-dim); line-height: 1.5; }

/* ─── MOBILE RESPONSIVE ─── */
@media (max-width: 900px) {
  section { padding: 80px 0; }
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  .hero-content { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-left { order: 1; }
  .hero-right { order: 2; height: 400px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .float-card-main { right: 0; top: 20px; }
  .float-card-revenue { left: 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(3) { border-radius: 0; }
  .feature-card:nth-child(4) { border-radius: 0; }
  .dashboard-frame { border-radius: 14px; }
  .db-sidebar { width: 120px; }
  .db-stats { grid-template-columns: repeat(2, 1fr); }
  .db-charts { grid-template-columns: 1fr; }
  .app-layout { grid-template-columns: 1fr; text-align: center; }
  .app-features { align-items: center; }
  .phone-wrap { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block { border-right: none; border-bottom: 1px solid var(--border); }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  .hero-right { height: 360px; }
  .float-card-main { width: 220px; }
  .float-card-checkin { width: 180px; }
  .float-card-alert { width: 160px; }
  .float-card-revenue { width: 150px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .db-sidebar { display: none; }
}

/* ── WhatsApp flotante ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9998;
  width: 58px; height: 58px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  color: #fff; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: rgba(37,211,102,0.25);
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { opacity: 0; }
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }
.wa-float-tooltip {
  position: absolute; right: 68px;
  background: rgba(10,11,18,0.92); color: #fff;
  font-size: 13px; font-weight: 500; font-family: 'DM Sans', sans-serif;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
  border: 1px solid rgba(255,255,255,0.08);
}
.wa-float:hover .wa-float-tooltip { opacity: 1; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(8,8,8,0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 700; color: var(--text); text-decoration: none; transition: color 0.2s; }
.mobile-menu a:hover { color: var(--lime); }
.mobile-menu-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; cursor: pointer; color: var(--text-dim);
  font-size: 24px; padding: 8px;
}

/* ─── SVG ICON ADAPTATIONS ─── */
.feature-icon-wrap,
.problem-icon,
.app-feature-icon,
.alert-icon { font-size: 0; }

/* Pilar icon → contenedor con fondo lime (regla única en línea ~428) */

/* Dashboard sidebar nav icon */
.db-nav-icon {
  font-size: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  flex-shrink: 0;
}

/* Color de SVGs en cada contenedor */
.feature-icon-wrap svg { color: var(--text-dim); transition: color 0.3s; }
.feature-card:hover .feature-icon-wrap svg { color: var(--lime); }
.problem-icon svg { color: var(--text-dim); }
.app-feature-icon svg { color: var(--lime); }
.alert-icon svg { color: #fbbf24; }
.db-nav-item svg { opacity: 0.6; transition: opacity 0.2s; }
.db-nav-item.active svg { opacity: 1; color: var(--lime); }

/* ════════════════════════════════════════════
   PAGES EXTRA CSS (FAQ, Nosotros, Contacto, Legal)
════════════════════════════════════════════ */

/* FAQ page */
.faq-hero { padding: 160px 0 80px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.faq-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 20% 60%, rgba(29,158,117,0.06) 0%, transparent 60%), radial-gradient(ellipse 40% 60% at 80% 30%, rgba(163,230,53,0.04) 0%, transparent 60%); }
.faq-hero-content { position: relative; z-index: 1; max-width: 700px; }
.faq-hero h1 { margin-bottom: 20px; font-size: clamp(2.5rem, 5vw, 5rem); }
.faq-hero p { font-size: 1.15rem; max-width: 560px; }

.faq-page { padding: 80px 0 120px; }
.faq-category { margin-bottom: 64px; }
.faq-category-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--lime); font-weight: 600; font-family: 'DM Sans', sans-serif;
  margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
}
.faq-category-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.faq-cta { padding: 80px 0; border-top: 1px solid var(--border); text-align: center; }
.faq-cta h2 { margin-bottom: 16px; }
.faq-cta p { margin-bottom: 36px; }
.faq-cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Nosotros page */
.about-hero {
  padding: 160px 0 100px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.about-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 60%, rgba(29,158,117,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 85% 25%, rgba(163,230,53,0.05) 0%, transparent 60%);
}
.about-hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
}
.about-hero-content { position: relative; z-index: 1; max-width: 820px; }
.about-hero-eyebrow {
  display: flex; align-items: center; gap: 8px;
  color: var(--lime); font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 28px; font-family: 'DM Sans', sans-serif; line-height: 1;
}
.about-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--lime); flex-shrink: 0; }
.about-hero h1 { margin-bottom: 28px; font-size: clamp(2.8rem, 6vw, 6rem); }
.about-hero-sub { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--text-dim); font-weight: 300; max-width: 680px; line-height: 1.7; }

#story { padding: 100px 0; }
.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.story-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--lime); font-weight: 500; margin-bottom: 20px; }
.story-left h2 { margin-bottom: 32px; }
.story-text p { color: var(--text-dim); font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
.story-text p:last-child { margin-bottom: 0; }
.story-text strong { color: var(--text); font-weight: 500; }
.story-right { padding-top: 8px; }
.story-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: all 0.3s ease; }
.story-stat:hover { border-color: rgba(163,230,53,0.2); transform: translateY(-3px); }
.story-stat-val { font-family: 'Outfit', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--lime); line-height: 1; margin-bottom: 8px; }
.story-stat-label { font-size: 13px; color: var(--text-dim); line-height: 1.4; }
.story-quote { margin-top: 24px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--lime); border-radius: var(--radius); padding: 28px 28px 28px 32px; }
.story-quote p { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--text); line-height: 1.5; font-style: italic; margin: 0; }
@media (max-width: 900px) { .story-layout { grid-template-columns: 1fr; gap: 48px; } }

#valores { padding: 100px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 36px; position: relative; overflow: hidden; transition: all 0.3s ease; }
.value-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--lime), var(--teal)); opacity: 0; transition: opacity 0.3s ease; }
.value-card:hover { border-color: rgba(163,230,53,0.2); transform: translateY(-4px); }
.value-card:hover::before { opacity: 1; }
.value-icon { font-size: 2.2rem; margin-bottom: 20px; display: block; }
.value-card h3 { margin-bottom: 14px; color: var(--text); font-size: 1.2rem; }
.value-card p { font-size: 0.95rem; line-height: 1.7; }
@media (max-width: 800px) { .values-grid { grid-template-columns: 1fr; } }

#equipo { padding: 100px 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.team-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-left: auto; margin-right: auto; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; text-align: center; transition: all 0.3s ease; }
.team-card:hover { border-color: rgba(163,230,53,0.2); transform: translateY(-4px); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 20px; background: var(--surface-3); border: 2px solid var(--border-bright); display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--lime); }
.team-name { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--lime); font-weight: 500; margin-bottom: 14px; }
.team-bio { font-size: 0.9rem; color: var(--text-dim); line-height: 1.6; }
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; } }

#latam { padding: 100px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.latam-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.latam-left h2 { margin-bottom: 24px; }
.latam-left p { margin-bottom: 16px; }
.latam-countries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.country-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--border-bright); font-size: 13px; color: var(--text-dim); font-weight: 400; }
.country-chip.active { background: var(--lime-dim); border-color: rgba(163,230,53,0.3); color: var(--lime); }
.latam-right { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px 40px; }
.latam-roadmap-item { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.latam-roadmap-item:last-child { border-bottom: none; padding-bottom: 0; }
.roadmap-phase { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime); font-weight: 600; font-family: 'DM Sans', sans-serif; white-space: nowrap; padding-top: 3px; min-width: 60px; }
.roadmap-phase.dim { color: var(--text-muted); }
.roadmap-text { font-size: 0.95rem; color: var(--text-dim); line-height: 1.5; }
.roadmap-text strong { color: var(--text); font-weight: 500; }
@media (max-width: 900px) { .latam-layout { grid-template-columns: 1fr; gap: 48px; } }

#about-cta { padding: 120px 0; }

/* Contacto page */
.contact-hero { padding: 160px 0 80px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.contact-hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 60% 60% at 10% 50%, rgba(163,230,53,0.06) 0%, transparent 60%), radial-gradient(ellipse 50% 60% at 90% 30%, rgba(29,158,117,0.05) 0%, transparent 60%); }
.contact-hero-grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%); }
.contact-hero-content { position: relative; z-index: 1; max-width: 720px; }
.contact-hero-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--lime); font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 28px; font-family: 'DM Sans', sans-serif; line-height: 1; }
.contact-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--lime); flex-shrink: 0; }
.contact-hero h1 { margin-bottom: 24px; font-size: clamp(2.8rem, 6vw, 6rem); }
.contact-hero-sub { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-dim); font-weight: 300; max-width: 560px; line-height: 1.7; }

#contacto { padding: 80px 0 120px; }
.contact-center { max-width: 800px; margin: 0 auto; text-align: center; }

.response-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; margin-bottom: 56px; background: var(--lime-dim); border: 1px solid rgba(163,230,53,0.2); border-radius: 999px; }
.response-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex-shrink: 0; animation: pulse-dot 2s infinite; }
.response-text { font-size: 13px; color: var(--lime); font-weight: 500; }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }

.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 36px; text-align: left; text-decoration: none; display: flex; flex-direction: column; gap: 0; transition: all 0.3s ease; position: relative; overflow: hidden; }
.contact-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; opacity: 0; transition: opacity 0.3s ease; }
.contact-card.wa::before { background: linear-gradient(90deg, #25d366, #128c4a); }
.contact-card.email::before { background: linear-gradient(90deg, var(--lime), var(--teal)); }
.contact-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.12); }
.contact-card:hover::before { opacity: 1; }
.contact-card-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 24px; }
.contact-card.wa .contact-card-icon { background: rgba(37,211,102,0.12); color: #25d366; }
.contact-card.email .contact-card-icon { background: var(--lime-dim); color: var(--lime); }
.contact-card h3 { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.contact-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; margin-bottom: 28px; flex: 1; }
.contact-card-cta { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s ease; }
.contact-card.wa .contact-card-cta { color: #25d366; }
.contact-card.email .contact-card-cta { color: var(--lime); }
.contact-card:hover .contact-card-cta { gap: 10px; }

.faq-strip { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; }
.faq-strip h4 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.faq-strip p { font-size: 14px; color: var(--text-dim); }
.faq-strip a { font-size: 14px; font-weight: 500; color: var(--text-dim); text-decoration: none; white-space: nowrap; transition: color 0.2s; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.faq-strip a:hover { color: var(--lime); }
@media (max-width: 640px) { .faq-strip { flex-direction: column; gap: 16px; } }

/* Legal pages */
.legal-hero { padding: 140px 0 64px; border-bottom: 1px solid var(--border); }
.legal-hero-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--lime); font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 20px; font-family: 'DM Sans', sans-serif; }
.legal-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--lime); flex-shrink: 0; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; margin-bottom: 16px; }
.legal-hero-meta { font-size: 14px; color: var(--text-muted); }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; padding: 64px 0 120px; align-items: start; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } }

.legal-index { position: sticky; top: 100px; }
.legal-index-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); font-weight: 600; margin-bottom: 16px; }
.legal-index ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.legal-index ul li a { font-size: 13px; color: var(--text-dim); text-decoration: none; padding: 6px 12px; border-radius: 6px; display: block; transition: all 0.2s ease; border-left: 2px solid transparent; }
.legal-index ul li a:hover { color: var(--text); border-left-color: var(--lime); background: var(--lime-dim); }
@media (max-width: 900px) { .legal-index { display: none; } }

.legal-content { max-width: 760px; }
.legal-section { margin-bottom: 56px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 { font-family: 'Syne', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.legal-section h2 span { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); margin-right: 10px; font-family: 'DM Sans', sans-serif; }
.legal-section p { font-size: 15px; color: var(--text-dim); line-height: 1.8; margin-bottom: 16px; font-weight: 300; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong { color: var(--text); font-weight: 500; }
.legal-section ul { list-style: none; margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.legal-section ul li { font-size: 15px; color: var(--text-dim); line-height: 1.7; font-weight: 300; padding-left: 20px; position: relative; }
.legal-section ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); opacity: 0.6; }
.legal-highlight { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--lime); border-radius: var(--radius-sm); padding: 20px 24px; margin: 20px 0; }
.legal-highlight p { font-size: 14px; margin: 0; }

/* Cookie table */
.cookie-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.cookie-table th { text-align: left; padding: 10px 14px; background: var(--surface); color: var(--text); font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border-bright); }
.cookie-table td { padding: 12px 14px; color: var(--text-dim); border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; }
.tag-func { background: rgba(29,158,117,0.15); color: var(--teal); }
.tag-analytics { background: rgba(59,130,246,0.12); color: #60a5fa; }
.tag-marketing { background: rgba(239,68,68,0.12); color: #f87171; }

.browser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
@media (max-width: 600px) { .browser-grid { grid-template-columns: 1fr; } }
.browser-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; }
.browser-card strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.browser-card span { font-size: 13px; color: var(--text-dim); }

/* ════════════════════════════════════════════
   BLOG ARCHIVE & SINGLE POST
════════════════════════════════════════════ */
.blog-archive { padding: 140px 0 80px; }
.blog-archive h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 16px; }
.blog-archive-sub { font-size: 1.1rem; color: var(--text-dim); margin-bottom: 64px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.3s ease;
  display: flex; flex-direction: column;
}
.blog-card:hover { border-color: rgba(163,230,53,0.25); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(163,230,53,0.07); }

.blog-card-image {
  width: 100%; height: 200px; object-fit: cover;
  background: var(--surface-3);
}
.blog-card-image-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}

.blog-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card-category {
  display: inline-block; margin-bottom: 12px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  background: var(--lime-dim); color: var(--lime); border: 1px solid rgba(163,230,53,0.2);
}
.blog-card-title {
  font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700;
  color: var(--text); margin-bottom: 12px; line-height: 1.3;
  letter-spacing: -0.02em;
}
.blog-card-title a,
.blog-card-title a:visited {
  color: var(--text);
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--lime); }
.blog-card-excerpt { font-size: 14px; color: var(--text-dim); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.blog-card-date { font-size: 12px; color: var(--text-muted); }
.blog-card-read { font-size: 12px; color: var(--text-muted); }
.blog-card-link {
  font-size: 14px; font-weight: 600; color: var(--lime);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s ease;
}
.blog-card-link:hover { gap: 10px; }

.blog-no-posts { text-align: center; padding: 80px 0; }
.blog-no-posts h2 { color: var(--text); margin-bottom: 16px; }

/* Single post */
.single-post { padding: 140px 0 80px; }
.single-post-inner { max-width: 760px; margin: 0 auto; }
.single-post-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dim); text-decoration: none; margin-bottom: 40px; transition: color 0.2s; }
.single-post-back:hover { color: var(--lime); }
.single-post-category { display: inline-block; margin-bottom: 20px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; background: var(--lime-dim); color: var(--lime); border: 1px solid rgba(163,230,53,0.2); }
.single-post-title { font-family: 'Outfit', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 24px; color: var(--text); }
.single-post-meta { display: flex; align-items: center; gap: 20px; margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.single-post-meta-item { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

.single-post-content { font-size: 1.05rem; line-height: 1.8; color: var(--text-dim); }
.single-post-content h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; color: var(--text); margin: 48px 0 16px; letter-spacing: -0.02em; }
.single-post-content h3 { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--text); margin: 36px 0 12px; }
.single-post-content p { margin-bottom: 24px; }
.single-post-content a { color: var(--lime); }
.single-post-content strong { color: var(--text); font-weight: 500; }
.single-post-content ul, .single-post-content ol { margin: 16px 0 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.single-post-content li { line-height: 1.7; }
.single-post-content blockquote { border-left: 3px solid var(--lime); padding: 16px 24px; margin: 32px 0; background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.single-post-content blockquote p { margin: 0; font-style: italic; }

.single-post-footer { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border); }

/* Blog card image wrap */
.blog-card-image-wrap { display: block; overflow: hidden; }
.blog-card-image-wrap .blog-card-image { transition: transform 0.4s ease; }
.blog-card:hover .blog-card-image-wrap .blog-card-image { transform: scale(1.04); }

/* Single post CTA */
.single-post-cta {
  background: var(--surface);
  border: 1px solid rgba(163,230,53,0.2);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  margin: 56px 0 40px;
  box-shadow: 0 0 40px rgba(163,230,53,0.05);
}
.single-post-cta h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.single-post-cta p {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Blog pagination */
.blog-pagination { margin-top: 64px; text-align: center; }
.blog-pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 14px; text-decoration: none;
  transition: all 0.2s ease;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current { background: var(--lime); color: #000; border-color: var(--lime); font-weight: 700; }

/* Single post — hero */
.single-post-hero {
  padding: 140px 0 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.single-post-meta-top {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.single-post-date { font-size: 13px; color: var(--text-muted); }
.single-post-excerpt {
  font-size: 1.15rem; color: var(--text-dim);
  line-height: 1.7; max-width: 680px;
  margin-top: 20px;
}

/* Single post — featured image */
.single-post-featured-img { padding: 40px 0 0; }
.single-post-thumb {
  width: 100%; max-height: 480px;
  object-fit: cover; border-radius: var(--radius);
  display: block;
}

/* Single post — body */
.single-post-body { padding: 64px 0; }
.single-post-body .container { max-width: 760px; }

/* Single post — tags */
.single-post-tags { margin-bottom: 20px; font-size: 13px; color: var(--text-muted); }
.tag-label { font-weight: 600; color: var(--text-dim); margin-right: 4px; }
.single-post-tags a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.single-post-tags a:hover { color: var(--lime); }

/* Single post — share */
.single-post-share {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--text-dim);
}
.single-post-share a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-dim); transition: all 0.2s ease;
}
.single-post-share a:hover { background: var(--lime); color: #000; border-color: var(--lime); }

/* Single post — navigation prev/next */
.single-post-nav {
  display: flex; gap: 16px; justify-content: space-between;
  margin-top: 48px; flex-wrap: wrap;
}
.post-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-dim); text-decoration: none;
  font-size: 14px; flex: 1; min-width: 200px;
  transition: all 0.2s ease;
}
.post-nav-link:hover { border-color: rgba(163,230,53,0.3); color: var(--text); }
.post-nav-next { justify-content: flex-end; text-align: right; }
.post-nav-arrow { font-size: 18px; color: var(--lime); flex-shrink: 0; }

/* Single post — back to blog */
.single-post-back { margin-top: 32px; }

/* footer for inner pages (surface background) */
footer.surface-bg {
  background: var(--surface);
}
