@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100;300;400&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #191d2a;
  --surface: #181927;
  --card: #1e2035;
  --border: rgba(255, 255, 255, 0.08);
  --red: #e82c0c;
  --red-lt: #ed563d;
  --orange: #f68b1f;
  --orange-lt: #f97316;
  --yellow: #f59e0b;
  --text: #f0f0f5;
  --muted: #8b8fa8;
  --radius: 10px;
  --font: "Outfit", sans-serif;
}

html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

.header__brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── BANNER ── */
.banner {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--muted);
}
.banner span {
  color: var(--orange-lt);
  font-weight: 600;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 64px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(16, 17, 26, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
}
.nav-logo .brand-main {
  color: var(--text);
}
.nav-logo .divider {
  color: var(--border);
  font-weight: 300;
  font-size: 20px;
}
.nav-logo .brand-product {
  color: var(--orange);
}
.nav-logo .triangle {
  font-size: 18px;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 16px;
  color: var(--text);
}
.nav-links a:hover {
  color: var(--muted);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
#btn-mobile {
  display: none;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn:hover {
  opacity: 0.85;
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-orange {
  background: var(--orange);
  color: #fff;
}
.btn-outline {
  border: 1px solid var(--orange);
  color: var(--orange);
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 96px 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero h1 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .accent {
  color: var(--orange);
}
.hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 420px;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-cta .btn-red {
  display: inline-block;
  width: fit-content;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 30px;
}
.hero-cta .btn-orange {
  display: inline-block;
  width: fit-content;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 30px;
}
.hero-sub {
  font-size: 12px;
  color: var(--muted);
}

/* mock UI */
.mock-ui {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
.mock-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mock-stat {
  text-align: center;
  margin-bottom: 24px;
}
.mock-stat .big {
  font-size: 48px;
  font-weight: 800;
  color: var(--orange);
}
.mock-stat p {
  font-size: 12px;
  color: var(--muted);
  max-width: 500px;
}
.mock-invoices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.invoice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}
.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}
.badge-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}
.badge-yellow {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
}

/* ── SECTION COMMON ── */
section {
  padding: 96px 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-align: center;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 56px;
  line-height: 1.2;
}
.section-title .accent {
  color: var(--orange);
}

/* ── PROBLEMA ── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CÓMO FUNCIONA ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  border-radius: var(--radius);
  padding: 32px 28px;
  color: #fff;
}
.step-1 {
  background: var(--red);
}
.step-2 {
  background: var(--red-lt);
}
.step-3 {
  background: var(--orange);
}
.step-num {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}
.step p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.6;
}

/* ── FEATURES ── */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feat-icon {
  font-size: 24px;
  margin-bottom: 14px;
}

/* ── PRECIOS ── */
#precios {
  text-align: center;
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: left;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
}
.plan.featured {
  border-color: var(--orange);
}
.plan-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.plan-price {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 4px;
}
.plan-price span {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}
.plan-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.plan-features li:last-child {
  border-bottom: none;
}
.plan-features li::before {
  content: "—";
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}
.plan-cta-text {
  font-size: 15px;
  font-weight: 700;
}
.promo-bar {
  background: rgba(232, 93, 4, 0.12);
  border: 1px solid rgba(232, 93, 4, 0.3);
  border-radius: 8px;
  padding: 14px 24px;
  max-width: 760px;
  margin: 0 auto 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange-lt);
}
.promo-bar span {
  margin-right: 6px;
}
.plan-disclaimer {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ── RESPALDO ── */
#respaldo {
  text-align: center;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px 18px;
  align-items: center;
  justify-items: center;
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  gap: 16px;
}
.faq-q .chevron {
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item.open .chevron {
  transform: rotate(180deg);
}
.faq-a {
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 20px;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 200px;
}

/* ── FINAL CTA ── */
.final-cta {
  text-align: center;
  padding: 96px 64px;
  margin: 0 auto;
}
.final-cta h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 36px;
}
.final-cta h2 .accent {
  color: var(--orange);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 28px 64px;
  font-size: 12px;
  color: var(--muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  section {
    scroll-margin-top: 30px;
  }
  .nav-logo {
    font-size: 13px;
  }
  .nav-logo img {
    height: 18px;
  }
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 10px;
    background: var(--surface);
    z-index: 300;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--surface);
    z-index: 200;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    height: 100vh;
    overflow-y: auto;
    padding-top: 80px;
  }
  .nav-links.active {
    transform: translateX(0);
  }
  .nav-links a {
    font-size: 32px;
  }
  .btn-red {
    display: none;
  }
  #btn-mobile {
    display: inline-block;
    font-size: 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
    padding-bottom: 64px;
    padding-left: 24px;
    padding-right: 24px;
    gap: 40px;
  }
  section {
    padding: 64px 24px;
  }
  .cards-3,
  .cards-4,
  .steps,
  .plans {
    grid-template-columns: 1fr;
  }
  .final-cta {
    padding: 64px 24px;
  }
  footer {
    padding: 24px;
  }
}

@media (max-width: 330px) {
  .nav-logo {
    font-size: 12px;
  }
  .nav-logo img {
    height: 16px;
  }
}

@media only screen and (max-width: 576px) {
  .clients .clients__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media only screen and (max-width: 1200px) {
  .clients h2 {
    margin-left: 1rem;
  }

  .clients p {
    padding-left: 1rem;
  }

  .clients .clients__grid {
    padding: 1rem;
  }
}
