/* ═══════════════════════════════════════════════════════════
   CODE & CAPITAL — styles.css
   Palette: Deep slate navy · Emerald accent · Warm white
   Aesthetic: Premium B2B tech firm · Editorial · Commanding
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=DM+Mono:wght@300;400&display=swap');

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  /* Core palette */
  --ink:         #0d1117;       /* deepest bg */
  --ink-2:       #131920;       /* section alt */
  --ink-3:       #1a2332;       /* card surface */
  --ink-4:       #1f2d42;       /* card hover */

  --slate:       #2c3e55;
  --slate-mid:   #3d5068;

  --emerald:     #00c896;       /* primary accent */
  --emerald-dim: #009e76;
  --emerald-glow:rgba(0,200,150,0.15);
  --emerald-line:rgba(0,200,150,0.25);

  --sky:         #4db8ff;       /* secondary accent */
  --sky-dim:     rgba(77,184,255,0.12);

  --white:       #f4f7fb;
  --white-70:    rgba(244,247,251,0.70);
  --white-40:    rgba(244,247,251,0.40);
  --white-15:    rgba(244,247,251,0.07);
  --white-08:    rgba(244,247,251,0.04);

  --border:      rgba(255,255,255,0.07);
  --border-em:   rgba(0,200,150,0.22);

  /* Fonts */
  --f-display: 'Syne', sans-serif;
  --f-body:    'DM Sans', sans-serif;
  --f-mono:    'DM Mono', monospace;

  /* Layout */
  --nav-h: 76px;
  --r:     14px;
  --r-sm:  8px;
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--slate-mid); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--emerald); }
::selection { background: var(--emerald-glow); color: var(--emerald); }

/* ─── NAVBAR ──────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000 !important;
  height: var(--nav-h);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 40px rgba(0,0,0,0.5);
}

#navbar.menu-open {
  background: #070c11 !important;
  border-bottom-color: var(--border) !important;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-logo { object-fit: contain; }

.logo {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo span { color: var(--emerald); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav-links a {
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white-70);
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--white-15);
}
.nav-links a.nav-cta {
  color: var(--emerald);
  border: 1px solid var(--border-em);
  background: transparent;
  margin-left: 0.5rem;
}
.nav-links a.nav-cta:hover {
  background: var(--emerald-glow);
  border-color: var(--emerald);
  color: var(--emerald);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white-70);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 5rem) 2rem 5rem;
  overflow: hidden;

  /* Hero background image — replace with your image */
  background-image: url('img/banner02.jpg');
  background-size: cover;
  background-position: center;
}

/* Layered overlays */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13, 17, 23, 0.78) 0%, rgba(13,17,23,0.78) 55%, rgba(0,200,150,0.05) 100%);
  z-index: 1;
}

/* Glow orb */
.hero::before {
  content: '';
  position: absolute;
  right: 8%; top: 20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 200, 150, 0) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 3;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--emerald);
  background: rgba(0,200,150,0.08);
  border: 1px solid var(--border-em);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  margin-bottom: 2.25rem;
  animation: fadeUp 1s 0.15s cubic-bezier(0.16,1,0.3,1) both;
}
.chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  animation: blink 2.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 2rem;
  word-break: break-word;        /* ← evita que se corte */
  overflow-wrap: break-word;     /* ← respaldo */
  animation: fadeUp 1s 0.25s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--emerald);
  background: linear-gradient(120deg, var(--emerald), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--white-70);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.75rem;
  font-weight: 300;
  animation: fadeUp 1s 0.35s cubic-bezier(0.16,1,0.3,1) both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.45s cubic-bezier(0.16,1,0.3,1) both;
}

.hero-trust {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeUp 1s 0.55s cubic-bezier(0.16,1,0.3,1) both;
}
.trust-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-40);
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--white-70);
  font-weight: 500;
}
.trust-logos span:nth-child(even) { color: var(--white-40); }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-40);
  animation: fadeUp 1s 0.7s cubic-bezier(0.16,1,0.3,1) both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--white-40), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.4); opacity: 0.4; }
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.85rem;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--emerald);
  color: #061a12;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(0,200,150,0.3);
}
.btn-primary:hover {
  background: #05e8ae;
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(0,200,150,0.45);
  color: #061a12;
}

.btn-ghost {
  background: var(--white-15);
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--white-08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--emerald);
  border: 1px solid var(--border-em);
}
.btn-outline:hover {
  background: var(--emerald-glow);
  border-color: var(--emerald);
  transform: translateY(-2px);
  color: var(--emerald);
}

.btn-wa {
  background: #128c7e;
  color: #fff;
  box-shadow: 0 4px 20px rgba(18,140,126,0.35);
}
.btn-wa:hover {
  background: #25d366;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  color: #fff;
}

.btn-lg { padding: 1rem 2.25rem; font-size: 0.9rem; }

/* ─── STATS BAR ───────────────────────────────────────────── */
.stats-bar {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  flex: 1;
  min-width: 130px;
}
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--emerald);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-lbl {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-40);
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── SECTION COMMONS ─────────────────────────────────────── */
.section {
  padding: 7rem 2rem;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-header {
  max-width: 520px;
  margin-bottom: 4rem;
}
.section-header.center {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 1rem;
  padding: 0.25rem 0;
  position: relative;
}
.section-tag::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--emerald);
  margin-top: 0.4rem;
}
.section-header.center .section-tag::after {
  margin: 0.4rem auto 0;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.section-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--emerald);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--white-70);
  line-height: 1.8;
  font-weight: 300;
}

.mt-cta { margin-top: 3.5rem; }
.text-center { text-align: center; }
.ms-1 { margin-left: 0.25rem; }
.me-2 { margin-right: 0.5rem; }
.mt-cta { margin-top: 3.5rem; }

/* ─── BENEFITS ────────────────────────────────────────────── */
.benefits-section {
  background: var(--ink);
}

.benefits-section::before {
  content: '';
  position: absolute;
  right: 0; top: 20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s,
              box-shadow 0.4s;
}
.benefit-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--sky));
  opacity: 0;
  transition: opacity 0.3s;
}
.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-em);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,200,150,0.1);
}
.benefit-card:hover::after { opacity: 1; }

.bc-num {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--white-40);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.bc-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--emerald-glow);
  border: 1px solid var(--emerald-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--emerald);
  margin-bottom: 1.5rem;
  transition: background 0.3s, color 0.3s;
}
.benefit-card:hover .bc-icon {
  background: rgba(0,200,150,0.18);
  color: #05e8ae;
}

.benefit-card h3 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.benefit-card p {
  font-size: 0.88rem;
  color: var(--white-70);
  line-height: 1.75;
  font-weight: 300;
}

/* ─── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-section {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tcard {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2.5rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.4s;
}
.tcard::before {
  content: '\201C';
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--f-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--emerald);
  opacity: 0.08;
  pointer-events: none;
}
.tcard:hover {
  transform: translateY(-5px);
  border-color: var(--border-em);
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
}

.tcard-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--emerald);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}

.tcard-text {
  font-size: 0.93rem;
  color: var(--white-70);
  line-height: 1.85;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 2rem;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tcard-avatar {
  width: 100px;
  height: 52px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--border-em);
  background: var(--ink-4);
  flex-shrink: 0;
}
.tcard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.tcard-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.tcard-author span {
  font-size: 0.75rem;
  color: var(--white-40);
  letter-spacing: 0.03em;
}

/* ─── PROCESS ─────────────────────────────────────────────── */
.process-section {
  background: var(--ink);
  position: relative;
}
.process-section::before {
  content: '';
  position: absolute;
  left: 5%; top: 30%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0,200,150,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.process-grid {
  display: grid;
  gap: 1.25rem;
}

.pstep {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: start;
  gap: 0;
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.4s;
}
.pstep:hover {
  transform: translateX(8px);
  border-color: var(--border-em);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), -4px 0 0 var(--emerald);
}

.pstep-num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--emerald);
  background: rgba(0,200,150,0.06);
  border-right: 1px solid var(--border);
  padding: 2rem 0;
  letter-spacing: 0.05em;
}

.pstep-body {
  padding: 2rem 2.25rem;
}
.pstep-body h3 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.pstep-body p {
  font-size: 0.88rem;
  color: var(--white-70);
  line-height: 1.75;
  font-weight: 300;
}

/* ─── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 50%, rgba(0,200,150,0.07) 0%, transparent 65%),
    radial-gradient(ellipse at 30% 80%, rgba(77,184,255,0.05) 0%, transparent 55%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}
.cta-text { max-width: 560px; }
.cta-text h2 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.cta-text h2 em {
  font-style: italic;
  color: var(--emerald);
}
.cta-text p {
  font-size: 0.95rem;
  color: var(--white-70);
  line-height: 1.8;
  font-weight: 300;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: #070c11;
  border-top: 1px solid var(--border);
  padding: 5rem 2rem 2rem;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
}

.footer-logo {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.footer-logo span { color: var(--emerald); }

.footer-brand-col p {
  font-size: 0.85rem;
  color: var(--white-40);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  font-weight: 300;
}
.footer-ruc {
  font-size: 0.78rem !important;
  color: var(--white-40) !important;
}
.footer-ruc strong { color: var(--white-70) !important; }

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--white-70);
  transition: all 0.2s;
}
.footer-socials a:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: var(--emerald-glow);
}

.footer-col h4 {
  font-family: var(--f-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col ul a {
  font-size: 0.83rem;
  color: var(--white-40);
  transition: color 0.2s;
  font-weight: 300;
}
.footer-col ul a:hover { color: var(--emerald); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--white-40);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 0.75rem;
  color: var(--white-40);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--emerald); }

/* ─── LEGAL MODAL ─────────────────────────────────────────── */
.legal-modal {
  position: fixed;
  inset: 0;
  background: rgba(7,12,17,0.85);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.legal-modal-box {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  color: var(--white-70);
  font-size: 0.9rem;
  line-height: 1.8;
}
.legal-modal-box h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.legal-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--white-15);
  border: none;
  color: var(--white-70);
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.legal-modal-close:hover { background: var(--white-08); color: var(--white); }

/* ─── WHATSAPP FLOAT ──────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 28px rgba(37,211,102,0.4);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.wa-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.55);
  color: #fff;
}

/* ─── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--d, 0ms);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */

/* ── 1280px — Large tablets / small laptops ── */
@media (max-width: 1280px) {
  .nav-container { padding: 0 1.5rem; }
  .hero-title { font-size: clamp(2.8rem, 6vw, 5.5rem); }
}

/* ── 1024px — Tablets landscape ── */
@media (max-width: 1024px) {
  .benefits-grid      { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .cta-inner          { flex-direction: column; text-align: center; }
  .cta-text           { max-width: 100%; }
  .cta-actions        { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .footer-top         { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .section            { padding: 6rem 1.75rem; }
}

/* ── 768px — Tablets portrait / large phones ── */
@media (max-width: 768px) {
  /* NAVBAR */
  .nav-toggle { display: flex; }
  .theme-toggle { width: 34px; height: 34px; font-size: 0.9rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    /* Fondo sólido con color directo Y filter propio */
    background-color: #070c11;
    background-image: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    /* Necesario para romper la herencia del blur del padre */
    isolation: isolate;
    will-change: opacity;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0.25rem;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    z-index: 9998;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; padding: 0.85rem 1rem; border-radius: var(--r-sm); }
  .nav-links a.nav-cta { 
    margin-left: 0; 
    margin-top: 0.5rem; 
    text-align: center; 
    justify-content: center; 
    display: flex; 
  }


  /* HERO */
  .hero { padding: calc(var(--nav-h) + 2.5rem) 1.25rem 4rem; min-height: 100svh; }
  .hero-title { font-size: clamp(2.4rem, 9vw, 3.5rem); line-height: 1; }
  .hero-subtitle { font-size: 0.92rem; max-width: 100%; }
  .hero-chip { font-size: 0.65rem; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .hero-scroll { display: none; }

  /* STATS */
  .stats-bar   { padding: 2.5rem 1.25rem; }
  .stats-inner { gap: 1.5rem; justify-content: center; }
  .stat-divider { display: none; }
  .stat-item   { min-width: 100px; flex: 0 0 calc(50% - 1rem); }

  /* SECTIONS */
  .section       { padding: 4.5rem 1.25rem; }
  .container     { padding: 0; }
  .section-header { margin-bottom: 2.5rem; }
  .section-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }

  /* BENEFITS */
  .benefits-grid { grid-template-columns: 1fr; gap: 1rem; }
  .benefit-card  { padding: 2rem; }

  /* TESTIMONIALS */
  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }
  .tcard { padding: 2rem; }

  /* PROCESS */
  .pstep { grid-template-columns: 56px 1fr; }
  .pstep:hover { transform: none; box-shadow: none; }
  .pstep-num { font-size: 0.72rem; padding: 1.5rem 0; }
  .pstep-body { padding: 1.5rem; }
  .pstep-body h3 { font-size: 1rem; }

  /* CTA */
  .cta-section   { padding: 5rem 1.25rem; }
  .cta-actions   { flex-direction: column; width: 100%; }
  .cta-actions .btn { justify-content: center; width: 100%; }
  .cta-text h2   { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* FOOTER */
  .site-footer   { padding: 4rem 1.25rem 2rem; }
  .footer-top    { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-legal  { flex-wrap: wrap; gap: 1rem; }

  /* MODALS */
  .legal-modal   { padding: 1rem; }
  .legal-modal-box { padding: 1.75rem; }

  /* WHATSAPP FLOAT */
  .wa-float { bottom: 1.25rem; right: 1.25rem; width: 48px; height: 48px; font-size: 1.3rem; }
}

/* ── 480px — Phones ── */
@media (max-width: 480px) {
  :root { --nav-h: 68px; }

  /* NAVBAR */
  .nav-container { padding: 0 1rem; }
  .nav-logo      { height: 36px !important; }
  .logo          { font-size: 1.1rem; }

  /* HERO */
  .hero-chip     { font-size: 0.6rem; padding: 0.35rem 0.8rem; }
  .hero-title { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .hero { overflow-x: hidden; }

  /* STATS */
  .stats-bar     { padding: 2rem 1rem; }
  .stat-item     { flex: 0 0 calc(50% - 0.75rem); }
  .stat-num      { font-size: clamp(1.8rem, 8vw, 2.4rem); }

  /* SECTIONS */
  .section       { padding: 3.5rem 1rem; }
  .section-title { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .section-desc  { font-size: 0.88rem; }

  /* CARDS */
  .benefit-card  { padding: 1.5rem; }
  .tcard         { padding: 1.5rem; }
  .bc-icon       { width: 44px; height: 44px; font-size: 1.1rem; }

  /* PROCESS */
  .pstep         { grid-template-columns: 48px 1fr; }
  .pstep-body    { padding: 1.25rem; }

  /* CTA */
  .cta-section   { padding: 4rem 1rem; }

  /* FOOTER */
  .site-footer   { padding: 3rem 1rem 2rem; }
  .footer-logo   { font-size: 1.3rem; }
  .footer-top    { gap: 1.75rem; }
  .footer-legal  { gap: 0.75rem; }
  .footer-legal a { font-size: 0.7rem; }

  /* BUTTONS */
  .btn    { font-size: 0.82rem; padding: 0.8rem 1.5rem; }
  .btn-lg { font-size: 0.85rem; padding: 0.9rem 1.75rem; }
}

/* ── 360px — Small phones ── */
@media (max-width: 360px) {
  .hero-title   { font-size: 1.9rem; }
  .logo         { font-size: 1rem; }
  .nav-logo     { height: 30px !important; }
  .section      { padding: 3rem 0.875rem; }
  .benefit-card, .tcard { padding: 1.25rem; }
  .stat-item    { flex: 0 0 100%; }
}

/* ── FIX DEFINITIVO MENU MOVIL ── */
@media (max-width: 768px) {
  #navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  #navbar.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(7, 12, 17, 0.97) !important;
  }

  .nav-links.open {
    background: #070c11 !important;
  }
}