/* ============================================================
   NEGO — Brand site
   Pure HTML + CSS3, responsive, bilingual (ES/EN via CSS only)
   ============================================================ */

:root {
  --bg:            #001426; /* Deep dark blue  */
  --bg-2:          #04223d; /* Elevated surface */
  --surface:       #ffffff; /* White           */
  --accent:        #97b002; /* Lime green      */
  --accent-border: #326736; /* Forest green    */

  --text:          #eaf1f7;
  --text-muted:    #9db2c4;
  --radius:        16px;
  --radius-sm:     10px;
  --maxw:          1120px;
  --font:          "Belanosima", "Roboto", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   LANGUAGE TOGGLE  (pure CSS — default: Spanish)
   ============================================================ */
.lang-input { position: absolute; opacity: 0; pointer-events: none; }

.en { display: none; }

#lang-en:checked ~ .site .en { display: revert; }
#lang-en:checked ~ .site .es { display: none; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.lang-toggle__btn {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}

#lang-es:checked ~ .site .lang-toggle__es,
#lang-en:checked ~ .site .lang-toggle__en {
  background: var(--accent);
  color: var(--bg);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 20, 38, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 70px;
}

/* --- Brand logo (header) --- */
.brand { display: inline-flex; align-items: center; }
.brand__logo {
  height: 58px;
  width: auto;
  display: block;
}

/* Footer wordmark (text) */
.brand__nego {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--surface);
}
.brand__nego--sm { font-size: 1.6rem; }

/* --- Nav --- */
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav a:hover { color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 72px 0 40px; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--surface);
}
.accent { color: var(--accent); }

.hero__lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent);
  color: var(--bg);
}
.btn--primary:hover { background: #a8c40a; }
.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--surface);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* --- Hero logo --- */
.hero__logo { display: flex; justify-content: center; }
.hero__logo-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.55));
}

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: 20px 0 30px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.stat__num {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: 72px 0; }
.section__kicker {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  margin: 0 0 10px;
}
.section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--surface);
  margin: 0 0 36px;
  max-width: 22ch;
}

/* --- About --- */
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.about__text { font-size: 1.12rem; color: var(--text-muted); margin: 0; }
.about__text strong { color: var(--text); }
.about__text a { color: var(--accent); }
.about__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.about__list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--text);
}
.about__list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--accent);
  font-weight: 700;
}

/* --- Products / cards --- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card--feature {
  border-color: var(--accent-border);
  background:
    linear-gradient(160deg, rgba(151, 176, 2, 0.12), rgba(4, 34, 61, 0) 55%),
    var(--bg-2);
}
.card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex: none;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6);
}
.card__badge {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--bg);
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
}
.card__badge--muted {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.card__title { font-size: 1.45rem; font-weight: 700; color: var(--surface); margin: 0; }
.card__text { color: var(--text-muted); margin: 0; flex: 1; }
.card__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.card__status {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.card__status--live {
  color: var(--accent);
  border-color: var(--accent);
}

/* Google Play button */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--bg);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.7);
}
.btn-store__icon {
  font-size: 1.1rem;
  color: var(--accent-border);
}
.btn-store__text { display: flex; flex-direction: column; line-height: 1.15; }
.btn-store__small { font-size: 0.62rem; letter-spacing: 0.04em; opacity: 0.8; }
.btn-store__big { font-size: 1rem; font-weight: 700; }

/* --- Services --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.service__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(151, 176, 2, 0.15);
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.service__title { font-size: 1.15rem; font-weight: 700; color: var(--surface); margin: 0 0 8px; }
.service__text { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  text-align: center;
}
.cta__inner {
  background:
    radial-gradient(130% 120% at 50% 0%, rgba(151, 176, 2, 0.14), rgba(4, 34, 61, 0) 60%),
    var(--bg-2);
  border: 1px solid var(--accent-border);
  border-radius: 28px;
  padding: 60px 32px;
}
.cta__title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--surface);
  margin: 0 0 14px;
}
.cta__text { color: var(--text-muted); font-size: 1.1rem; margin: 0 0 28px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__note { color: var(--text-muted); margin: 6px 0 0; font-size: 0.92rem; }
.footer__meta { text-align: right; display: flex; flex-direction: column; gap: 6px; }
.footer__meta a { color: var(--accent); font-weight: 600; }
.footer__copy { color: var(--text-muted); font-size: 0.85rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__logo { order: -1; }
  .about__grid { grid-template-columns: 1fr; gap: 28px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .header__inner { min-height: 62px; }
  .brand__logo { height: 46px; }
  .hero { padding: 48px 0 20px; }
  .stats__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__meta { text-align: left; }
}

@media (max-width: 440px) {
  .services__grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .cta__inner { padding: 44px 20px; }
}

/* Accessibility: honour reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
