/* ============================================================
   WebLab — One Page Landing
   Styles
   ============================================================ */

/* ============ 1. DESIGN TOKENS ============ */
:root {
  --primary: #0056a8;
  --primary-700: #003f7d;
  --primary-50: #e6f0fa;
  --secondary: #00a86b;
  --accent: #ff6b35;
  --ink: #0b1220;
  --dark: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --soft: #94a3b8;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-mute: #eef2f7;
  --wa: #25D366;

  --r-sm: .5rem;
  --r-md: .85rem;
  --r-lg: 1.25rem;
  --r-xl: 1.75rem;
  --r-pill: 999px;

  --font-h: 'Poppins', system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-b: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, .06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);
  --shadow-primary: 0 10px 24px -10px rgba(0, 86, 168, .55);

  --t: .28s cubic-bezier(.4, 0, .2, 1);
  --t-slow: .55s cubic-bezier(.16, 1, .3, 1);

  --container: 1180px;
  --nav-h: 72px;
}

/* ============ 2. BASE / RESET ============ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-b);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--t);
}
a:hover { color: var(--primary-700); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-h);
  color: var(--ink);
  margin: 0 0 .6em;
  line-height: 1.18;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(1.85rem, 5.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.8vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.05rem, 2.4vw, 1.25rem); font-weight: 600; }
p  { margin: 0 0 1rem; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--primary); color: #fff; }

/* Skip to content (a11y) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: .65rem 1rem;
  border-radius: var(--r-md);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--t);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ============ 3. LAYOUT HELPERS ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-50);
  padding: .4rem .9rem;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
}
.section-head p {
  color: var(--muted);
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
}

/* ============ 4. BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 1.5rem;
  min-height: 46px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { background: var(--primary-700); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0, 86, 168, .7); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(255, 107, 53, .6);
}
.btn-accent:hover { background: #e85a26; color: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); }

/* ============ 5. NAVBAR ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), padding var(--t);
}
.nav.scrolled {
  padding: .55rem 0;
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}
.brand .logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  display: flex;
  gap: .6rem;
  align-items: center;
}
.nav-cta .btn { padding: .55rem 1.1rem; font-size: .88rem; min-height: 40px; }
.nav-burger {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .35rem .55rem;
  font-size: 1.4rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
}
.nav-burger:hover { border-color: var(--primary); color: var(--primary); }

@media (max-width: 960px) {
  .nav-links, .nav-cta .nav-desktop-only { display: none; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav.open .nav-links a {
    padding: .85rem 1rem;
    border-radius: var(--r-md);
    font-size: 1rem;
  }
  .nav.open .nav-links a:hover,
  .nav.open .nav-links a:focus { background: var(--bg-soft); }
}

/* ============ 6. HERO ============ */
.hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  background:
    radial-gradient(ellipse 800px 600px at 80% -10%, rgba(0, 86, 168, .09), transparent 60%),
    radial-gradient(ellipse 700px 500px at 0% 30%, rgba(0, 168, 107, .07), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.2rem;
}
.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  color: var(--muted);
  font-size: .92rem;
}
.hero-bullets span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.hero-bullets i {
  color: var(--secondary);
  font-size: 1.05rem;
}

/* Browser mockup */
.mock {
  position: relative;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform var(--t-slow);
}
.mock:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1.5deg); }

.mock-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1rem;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
}
.mock-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cbd5e1;
}
.mock-bar span:nth-child(1) { background: #ff5f57; }
.mock-bar span:nth-child(2) { background: #febc2e; }
.mock-bar span:nth-child(3) { background: #28c840; }
.mock-url {
  margin-left: .6rem;
  flex: 1;
  background: #fff;
  border-radius: var(--r-pill);
  padding: .35rem .8rem;
  font-size: .75rem;
  color: var(--muted);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  border: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-body {
  padding: 1.25rem;
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.mock-hero {
  height: 140px;
  border-radius: var(--r-md);
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  color: #fff;
  margin-bottom: 1rem;
}
.mock-hero h4 { color: #fff; margin: 0 0 .25rem; font-size: .95rem; font-weight: 600; }
.mock-hero p  { margin: 0; font-size: .75rem; opacity: .9; }
.mock-hero-btn {
  background: rgba(255, 255, 255, .2);
  border-radius: var(--r-pill);
  padding: .35rem .8rem;
  font-size: .75rem;
  font-weight: 500;
}
.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .65rem;
}
.mock-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: .75rem;
}
.mock-card .icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 86, 168, .1);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: .4rem;
  font-size: .9rem;
}
.mock-card .icon.s2 { background: rgba(0, 168, 107, .1); color: var(--secondary); }
.mock-card .icon.s3 { background: rgba(255, 107, 53, .1); color: var(--accent); }
.mock-card h5 {
  font-size: .78rem;
  color: var(--ink);
  margin: 0 0 .15rem;
  font-weight: 600;
  font-family: var(--font-h);
}
.mock-card p { font-size: .68rem; color: var(--muted); margin: 0; }

@media (max-width: 900px) {
  .hero { padding: calc(var(--nav-h) + 2.5rem) 0 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .mock { transform: none; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ============ 7. BENEFITS ============ */
.benefits { background: var(--bg); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit {
  padding: 1.75rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.benefit .b-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 86, 168, .12), rgba(0, 168, 107, .12));
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.benefit h3 { margin-bottom: .5rem; }
.benefit p { color: var(--muted); font-size: .95rem; margin: 0; }

@media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ============ 8. MODULES ============ */
.modules { background: var(--bg-soft); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.module {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.4rem 1.2rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.module::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width var(--t);
}
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.module:hover::before { width: 100%; }
.module .m-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 86, 168, .08);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: .8rem;
}
.module h4 {
  font-size: 1rem;
  font-family: var(--font-h);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .35rem;
}
.module p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.5; }

@media (max-width: 1024px) { .modules-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .modules-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .modules-grid { grid-template-columns: 1fr; } }

/* ============ 9. ADMIN SHOWCASE ============ */
.admin { background: var(--bg); }
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
.admin-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.admin-features li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .9rem 0;
  border-bottom: 1px dashed var(--line);
}
.admin-features li:last-child { border-bottom: none; }
.admin-features i {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 168, 107, .12);
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.admin-features div strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: .2rem;
}
.admin-features div p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
}

.dash {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
  color: #e2e8f0;
}
.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.dash-top h5 {
  margin: 0;
  color: #fff;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1rem;
}
.dash-top .pill {
  background: rgba(0, 168, 107, .2);
  color: #4ade80;
  padding: .25rem .65rem;
  border-radius: var(--r-pill);
  font-size: .75rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.dash-stat {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-md);
  padding: .85rem;
}
.dash-stat .label {
  font-size: .68rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .3rem;
}
.dash-stat .value {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  font-family: var(--font-h);
}
.dash-stat .delta {
  font-size: .72rem;
  color: #4ade80;
  margin-top: .15rem;
}
.dash-chart {
  height: 120px;
  background: rgba(255, 255, 255, .04);
  border-radius: var(--r-md);
  padding: .85rem;
  display: flex;
  align-items: flex-end;
  gap: .4rem;
}
.dash-chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 4px 4px 0 0;
  opacity: .85;
  transition: opacity var(--t);
}
.dash-chart .bar:hover { opacity: 1; }

@media (max-width: 900px) {
  .admin-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============ 10. DEMO CTA ============ */
.demo-section { padding: 2rem 0 3rem; }
.demo-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.demo-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(0, 168, 107, .3), transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(255, 107, 53, .2), transparent 50%);
  pointer-events: none;
}
.demo-cta > * { position: relative; }
.demo-cta h2 { color: #fff; margin-bottom: .75rem; }
.demo-cta p {
  color: rgba(255, 255, 255, .85);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  max-width: 580px;
  margin: 0 auto 2rem;
}
.demo-cta .eyebrow {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}
.demo-cta .btn-ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px);
}
.demo-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, .2);
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}
.cta-buttons {
  display: flex;
  gap: .85rem;
  justify-content: center;
  flex-wrap: wrap;
}
.demo-credentials {
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  background: rgba(0, 0, 0, .22);
  border-radius: var(--r-md);
  display: inline-block;
  text-align: left;
  font-size: .9rem;
  border: 1px solid rgba(255, 255, 255, .12);
  max-width: 100%;
}
.demo-credentials strong {
  color: #fff;
  display: block;
  margin-bottom: .35rem;
  font-family: var(--font-h);
}
.demo-credentials code {
  background: rgba(255, 255, 255, .15);
  padding: .15rem .45rem;
  border-radius: 5px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  color: #fff;
  font-size: .82rem;
  word-break: break-all;
}

/* ============ 11. FEATURES (non-tech) ============ */
.features { background: var(--bg-soft); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: #fff;
  padding: 1.6rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform var(--t), box-shadow var(--t);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature-card .t-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  margin: 0 auto .9rem;
}
.feature-card h4 { font-size: 1rem; margin: 0 0 .3rem; color: var(--ink); }
.feature-card p { font-size: .85rem; color: var(--muted); margin: 0; }

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .features-grid { grid-template-columns: 1fr; } }

/* ============ 12. PRICING ============ */
.pricing { background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.featured {
  border-color: var(--primary);
  position: relative;
  box-shadow: 0 20px 50px -20px rgba(0, 86, 168, .4);
}
.plan.featured::before {
  content: "Más popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: .3rem .9rem;
  border-radius: var(--r-pill);
  letter-spacing: .05em;
  white-space: nowrap;
}
.plan h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.plan .plan-desc {
  color: var(--muted);
  font-size: .88rem;
  margin: 0;
}
.plan .price {
  font-family: var(--font-h);
  font-size: clamp(1.85rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  margin: .5rem 0 .15rem;
  line-height: 1;
}
.plan .price small {
  font-size: .85rem;
  color: var(--muted);
  font-weight: 500;
}
.plan .price-sub {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.plan ul li {
  padding: .5rem 0;
  font-size: .92rem;
  color: var(--text);
  display: flex;
  gap: .55rem;
  align-items: flex-start;
}
.plan ul li i {
  color: var(--secondary);
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 3px;
}
.plan .btn { width: 100%; }
.pricing-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: .9rem;
}

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

/* ============ 13. FAQ ============ */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: .85rem;
  overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-h);
  font-weight: 600;
  color: var(--ink);
  font-size: clamp(.95rem, 1.6vw, 1rem);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\F282";
  font-family: "bootstrap-icons";
  color: var(--primary);
  font-size: 1.1rem;
  transition: transform var(--t);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .answer {
  padding: 0 1.4rem 1.2rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

/* ============ 14. CONTACT ============ */
.contact {
  background: linear-gradient(135deg, var(--ink), var(--dark));
  color: #fff;
  text-align: center;
}
.contact h2 { color: #fff; }
.contact p {
  color: rgba(255, 255, 255, .75);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.contact .eyebrow {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}
.contact-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-options .btn {
  font-size: 1rem;
  padding: .95rem 1.6rem;
}

/* ============ 15. FOOTER ============ */
.footer {
  background: #0a1019;
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer .brand { color: #fff; margin-bottom: .85rem; }
.footer h5 {
  color: #fff;
  font-family: var(--font-h);
  font-size: .95rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: .04em;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .55rem; }
.footer a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .82rem;
  color: #64748b;
}
.footer-bottom a { color: #cbd5e1; display: inline; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ============ 16. WHATSAPP FLOATING ============ */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 4px 10px rgba(0, 0, 0, .15);
  text-decoration: none;
  transition: transform var(--t), box-shadow var(--t);
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  color: #fff;
  box-shadow: 0 14px 36px rgba(37, 211, 102, .55);
}
.wa-float i { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .15)); }
.wa-tooltip {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--ink);
  padding: .55rem .9rem;
  border-radius: var(--r-md);
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
}
.wa-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #fff;
}
.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 0 0 0   rgba(37, 211, 102, .5); }
  70%  { box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 0 0 0   rgba(37, 211, 102, 0); }
}

@media (max-width: 560px) {
  .wa-float {
    width: 56px;
    height: 56px;
    font-size: 1.65rem;
    bottom: 1rem;
    right: 1rem;
  }
  .wa-tooltip { display: none; }
}

/* ============ 17. REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mock { transform: none !important; }
  .wa-float { animation: none; }
}

/* ============ 18. PRINT ============ */
@media print {
  .nav, .wa-float, .hero-cta, .cta-buttons { display: none !important; }
  body { background: #fff; color: #000; }
  section { padding: 1rem 0; page-break-inside: avoid; }
}
