/* ══════════════════════════════════════════════════
   BANAKEY · Sistema de diseño compartido
   ══════════════════════════════════════════════════ */

@font-face {
  font-family: 'Stretch Pro';
  src: url('StretchPro.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --bg-soft: #141414;
  --bg-card: #111111;
  --bg-input: #0f0f0f;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.15);
  --ink: #f4f4f0;
  --ink-soft: rgba(244,244,240,0.72);
  --ink-mute: rgba(244,244,240,0.45);
  --yellow: #DADA00;
  --teal: #2AB5B0;
  --gradient: linear-gradient(115deg, var(--teal) 0%, #7ec850 50%, var(--yellow) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(42,181,176,0.14) 0%, rgba(218,218,0,0.14) 100%);
  --whatsapp: #25D366;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient glows + grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 12%, rgba(42,181,176,0.10) 0%, transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(218,218,0,0.07) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(255,255,255,0.013) 2px, rgba(255,255,255,0.013) 3px);
  pointer-events: none;
  z-index: 1;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}
@media (max-width: 640px) { .container { padding: 0 22px; } }

/* ─── Typography helpers ─── */
.display {
  font-family: 'Stretch Pro', 'Big Shoulders Display', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.heading {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.9;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (max-width: 640px) { .nav-inner { padding: 12px 22px; } }

.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.nav-logo img { height: 30px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--yellow); }

.nav-cta {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--gradient);
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(218,218,0,0.22); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  width: 42px; height: 42px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: 0.25s; }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 22px 26px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 99;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav-links a { padding: 14px 8px; font-size: 14px; border-bottom: 1px solid var(--line); }
  .nav-menu .nav-cta { text-align: center; margin-top: 14px; padding: 16px; font-size: 13px; }
}
@media (min-width: 881px) {
  .nav-menu { display: flex; align-items: center; gap: 24px; }
}

/* ═══════════ BUTTONS ═══════════ */
.btn-primary {
  background: var(--gradient);
  color: #0a0a0a;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 17px 34px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(218,218,0,0.28); }

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-wa {
  background: var(--whatsapp);
  color: #062b13;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 17px 30px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.3); }

/* ═══════════ SECTION SCAFFOLD ═══════════ */
section { padding: 110px 0; position: relative; z-index: 2; }
@media (max-width: 640px) { section { padding: 72px 0; } }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 22px;
}
.section-label::before { content: ''; width: 34px; height: 1px; background: var(--yellow); }

.section-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(42px, 6.5vw, 92px);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
}
.section-intro {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 680px;
  line-height: 1.6;
}
.section-intro strong { color: var(--ink); font-weight: 600; }

.divider { height: 1px; background: var(--line); max-width: var(--maxw); margin: 0 auto; }

/* Eyebrow pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--gradient-soft);
  border: 1px solid rgba(218,218,0,0.3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.pill-dot {
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--yellow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(1.25); } }

/* ═══════════ FOOTER ═══════════ */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; position: relative; z-index: 2; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.footer-logo img { height: 34px; width: auto; margin-bottom: 18px; }
.footer-blurb { font-size: 14px; color: var(--ink-soft); max-width: 320px; line-height: 1.6; }
.footer-col h4 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ═══════════ REVEAL ═══════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
