/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:         #F8F8F6;
  --surface:    #FFFFFF;
  --surface-2:  #F2F2EF;
  --ink:        #111110;
  --ink-2:      #5C5C58;
  --ink-3:      #9B9B97;
  --line:       #E4E4E0;
  --blue:       #1A56DB;
  --blue-soft:  rgba(26, 86, 219, 0.10);
  --blue-dark:  #1245B0;
  --green:      #12A05C;
  --dark:       #0E0E0D;
  --dark-2:     #1C1C1A;
  --white:      #FFFFFF;
  --max:        1180px;
  --r:          10px;
  --r-lg:       16px;
  --sh:         0 1px 3px rgba(0,0,0,.07), 0 4px 12px rgba(0,0,0,.05);
  --sh-lg:      0 4px 24px rgba(0,0,0,.10), 0 1px 4px rgba(0,0,0,.06);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Heebo', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.t-display {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.t-h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.t-h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.t-body { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.t-small { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.t-mono { font-family: 'JetBrains Mono', monospace; }
.t-blue { color: var(--blue); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--lg { padding: 100px 0; }
.section--sm { padding: 48px 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section-head { margin-bottom: 48px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 22px;
  border-radius: 8px;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }

.btn--solid {
  background: var(--blue);
  color: #fff;
}
.btn--solid:hover { background: var(--blue-dark); box-shadow: 0 4px 16px rgba(26,86,219,.35); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--outline:hover { border-color: var(--ink-3); background: var(--surface-2); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  padding: 10px 16px;
}
.btn--ghost:hover { background: var(--surface-2); }

.btn--invert {
  background: #fff;
  color: var(--dark);
}
.btn--invert:hover { background: #f0f0f0; }

.btn--xl { font-size: 17px; padding: 16px 28px; border-radius: 10px; }
.btn--lg { font-size: 16px; padding: 14px 24px; }
.btn--sm { font-size: 14px; padding: 9px 16px; }

.btn__arrow { font-size: 0.95em; transition: transform 0.15s; }
.btn:hover .btn__arrow { transform: translateX(-3px); }
.btn__num { font-family: 'JetBrains Mono', monospace; font-size: 14px; }

/* ============================================================
   CHIPS / BADGES
   ============================================================ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.chip--check::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

/* ============================================================
   NAV / TOPBAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 248, 246, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.topbar__mark {
  width: 36px;
  height: 36px;
  background: var(--dark);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
}
.topbar__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1.2;
}
.topbar__tag {
  font-size: 11px;
  color: var(--ink-3);
  display: block;
  font-weight: 400;
}
.topbar__nav {
  display: flex;
  gap: 6px;
  margin-inline-start: auto;
}
.topbar__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.topbar__nav a:hover { background: var(--surface-2); color: var(--ink); }
.topbar__cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero__bsd {
  position: absolute;
  top: 24px;
  inset-inline-end: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  opacity: 0.6;
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__left { max-width: 580px; }
.hero__eyebrow { margin-bottom: 24px; }
.hero__title {
  font-size: clamp(42px, 6.5vw, 80px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--blue);
  position: relative;
}
.hero__title em::after {
  content: '';
  position: absolute;
  right: 0; left: 0; bottom: 3px;
  height: 8px;
  background: var(--blue-soft);
  z-index: -1;
  border-radius: 4px;
}
.hero__sub {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__right { display: flex; align-items: center; justify-content: center; }

/* Hero visual card */
.hcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--sh-lg);
  padding: 32px;
  width: 100%;
  max-width: 400px;
}
.hcard__logo {
  width: 48px;
  height: 48px;
  background: var(--dark);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 24px;
}
.hcard__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.hcard__sub { font-size: 14px; color: var(--ink-2); margin-bottom: 28px; }
.hcard__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.hcard__row:last-child { padding-bottom: 0; }
.hcard__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  color: var(--blue);
  flex-shrink: 0;
  font-size: 16px;
}
.hcard__label { color: var(--ink-2); flex: 1; }
.hcard__val { font-weight: 700; font-size: 13px; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats {
  background: var(--dark);
  color: var(--white);
  padding: 32px 0;
}
.stats__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats__cell {
  padding: 8px 24px;
  border-inline-start: 1px solid rgba(255,255,255,0.12);
}
.stats__cell:first-child { border-inline-start: none; padding-inline-start: 0; }
.stats__k {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.stats__suf { font-size: 0.65em; color: #FFD60A; }
.stats__v { font-size: 14px; color: rgba(255,255,255,0.55); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 2; pointer-events: none;
}
.marquee::before { right: 0; background: linear-gradient(to left, var(--surface), transparent); }
.marquee::after  { left:  0; background: linear-gradient(to right, var(--surface), transparent); }
.marquee__track {
  display: flex; width: max-content;
  animation: marq 36s linear infinite;
}
.marquee__row {
  display: inline-flex; gap: 20px; align-items: center;
  padding-inline: 10px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
}
.marquee__row span:nth-child(even) {
  color: var(--blue);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* ============================================================
   WHY US (3 CARDS)
   ============================================================ */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh);
}
.why__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-soft);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.why__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.why__body { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* ============================================================
   SERVICES BENTO
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.bento__cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--sh);
  transition: box-shadow 0.2s, border-color 0.2s;
  cursor: default;
}
.bento__cell:hover { box-shadow: var(--sh-lg); border-color: var(--blue); }
.bento__cell--big { grid-column: span 2; background: var(--dark); color: var(--white); }
.bento__icon { font-size: 28px; margin-bottom: 4px; }
.bento__name { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; }
.bento__desc { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.bento__cell--big .bento__desc { color: rgba(255,255,255,0.55); }
.bento__arrow { margin-top: auto; font-size: 20px; color: var(--blue); }
.bento__cell--big .bento__arrow { color: #fff; }

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc { background: var(--surface-2); }
.calc__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.calc__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.ctrl { margin-bottom: 24px; }
.ctrl label { font-size: 15px; font-weight: 600; display: block; margin-bottom: 10px; }
.ctrl__range {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ctrl__range input[type=range] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  outline: none;
}
.ctrl__range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--blue);
  cursor: pointer;
}
.ctrl__val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  min-width: 56px;
  text-align: center;
}
.seg {
  display: flex;
  gap: 4px;
  background: var(--line);
  border-radius: 8px;
  padding: 3px;
  width: fit-content;
}
.seg button {
  font-size: 14px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 6px;
  color: var(--ink-2);
  transition: all 0.15s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.seg button.is-on {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,.10);
}
.calc__result-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--sh);
}
.calc__eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); margin-bottom: 8px; }
.calc__num {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.calc__num span { font-size: 0.45em; color: var(--ink-2); font-weight: 500; }
.calc__hp { font-size: 18px; font-weight: 700; color: var(--blue); margin-bottom: 20px; }
.calc__bar {
  height: 8px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
}
.calc__bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--blue-soft), var(--blue));
  border-radius: 999px;
  transition: width 0.4s ease;
}
.calc__bar-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 20px;
  font-family: 'JetBrains Mono', monospace;
}
.calc__note { font-size: 13px; color: var(--ink-3); line-height: 1.5; margin-bottom: 24px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how__steps { display: flex; flex-direction: column; gap: 0; max-width: 600px; }
.how__step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  position: relative;
}
.how__step + .how__step::before {
  content: '';
  position: absolute;
  top: 0; inset-inline-start: 27px;
  width: 2px; height: 28px;
  background: var(--line);
}
.how__n {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
}
.how__title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.how__body { font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* ============================================================
   CONTACT / CTA SECTION
   ============================================================ */
.contact { background: var(--dark); color: var(--white); padding: 80px 0; }
.contact__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.contact__eyebrow { color: rgba(255,255,255,0.5); }
.contact__eyebrow::before { background: rgba(255,255,255,0.3); }
.contact__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.05;
}
.contact__sub { font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 32px; }
.contact__cards { display: flex; flex-direction: column; gap: 12px; }
.pcard {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.15s, border-color 0.15s;
}
.pcard:hover { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.25); }
.pcard__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.pcard__role { font-size: 12px; color: rgba(255,255,255,0.45); }
.pcard__name { font-size: 16px; font-weight: 700; }
.pcard__num { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: rgba(255,255,255,0.7); }
.pcard__cta { margin-inline-start: auto; font-size: 13px; color: rgba(255,255,255,0.45); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #090908;
  color: rgba(255,255,255,0.35);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.footer__brand { font-weight: 600; color: rgba(255,255,255,0.55); margin-bottom: 4px; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 200;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform 0.15s, box-shadow 0.15s;
}
.float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.6); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__right { display: none; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats__cell { border-inline-start: none; padding: 0; }
  .why__grid { grid-template-columns: 1fr; gap: 12px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--big { grid-column: span 2; }
  .calc__layout { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .topbar__nav { display: none; }
  .how__steps { max-width: 100%; }
}

@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell--big { grid-column: span 1; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .section { padding: 56px 0; }
  .section--lg { padding: 64px 0; }
}
