/* Negobi public site for the Dominican Republic. Brand tokens from the Negobi brand manual. */
:root {
  --menta: #06D481;
  --on-menta: #013841;
  --dark: #013841;
  --fondo: #FAFCFF;
  --hundida: #F2F5F5;
  --borde: #D0DADC;
  --texto: #013841;
  --suave: #536B6F;
  --enlace: #067548;
  --sobre-oscuro: #C9DADD;
  --display: 'Space Grotesk', Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: #fff; color: var(--texto); font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.5; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); }

.wrap { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.anchor { scroll-margin-top: 24px; }
.grow { flex: 1; }
.mint { color: var(--menta); }

/* Dark band and glow */
.dark { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.glow { position: absolute; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(6,212,129,.28), rgba(132,114,189,.15) 46%, rgba(1,56,65,0) 70%); }

/* Buttons */
.btn { display: inline-block; background: var(--menta); color: var(--on-menta); font-weight: 700; font-size: 17px; padding: 16px 28px; border-radius: 10px; white-space: nowrap; transition: filter .15s; }
.btn:hover { filter: brightness(.95); }
.btn-sm { font-size: 15px; padding: 11px 16px; border-radius: 8px; }
.btn-ghost { display: inline-block; border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 600; font-size: 17px; padding: 16px 24px; border-radius: 10px; transition: background .15s; }
.btn-ghost:hover { background: rgba(255,255,255,.05); }
a:focus-visible { outline: 2px solid #8472BD; outline-offset: 3px; border-radius: 6px; }

/* Header */
.topbar { position: relative; display: flex; align-items: center; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.logo { height: 34px; width: auto; }
.nav { display: none; gap: 28px; }
.nav a, .signin { font-size: 15px; color: var(--sobre-oscuro); transition: color .15s; }
.nav a:hover, .signin:hover { color: #fff; }
.signin { color: #fff; font-weight: 500; }
@media (min-width: 900px) { .nav { display: flex; } .topbar { gap: 32px; } }

/* Hero */
.hero-body { position: relative; display: grid; gap: 28px; padding-top: 64px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.link { color: var(--enlace); }
.hero h1 { max-width: 900px; font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.03; letter-spacing: -.02em; text-wrap: balance; }
.lead { max-width: 680px; font-size: 18px; line-height: 1.65; color: var(--sobre-oscuro); }
@media (min-width: 768px) { .hero-body { padding-top: 72px; } .lead { font-size: 20px; } }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.trial { font-size: 14px; color: #9DB4B8; }
.devices { position: relative; margin-top: 28px; }
.desktop { display: none; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-bottom: 0; border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 -10px 60px rgba(0,0,0,.35); }
.desktop img { width: 100%; height: clamp(240px, 38vw, 520px); object-fit: cover; object-position: left top; }
.phone { position: relative; width: min(300px, 82%); margin: 0 auto 40px; overflow: hidden; border: 8px solid #0B1F24; border-radius: 30px; background: #fff; box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.phone img { width: 100%; object-fit: cover; object-position: top; }
@media (min-width: 640px) {
  .devices { padding-right: min(12vw, 150px); }
  .desktop { display: block; }
  .phone { position: absolute; right: 0; bottom: 36px; margin: 0; width: clamp(140px, 19vw, 240px); }
  .phone img { height: clamp(280px, 38vw, 470px); }
}

/* Strip */
.strip { background: var(--fondo); border-bottom: 1px solid rgba(208,218,220,.6); }
.strip-body { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding-top: 20px; padding-bottom: 20px; font-size: 15px; color: var(--suave); }
.strip-body b { color: var(--texto); font-weight: 600; }

/* Sections */
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; line-height: 1.1; text-wrap: balance; }
h2.big { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.015em; }
.body { font-size: 17px; line-height: 1.65; color: var(--suave); }
.body.lg { font-size: 18px; }
.small { font-size: 15px; color: var(--suave); }
.band-alt { background: var(--hundida); }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
.split.reverse { flex-wrap: wrap-reverse; }
.split .text { display: grid; gap: 16px; flex: 1 1 380px; min-width: 0; }
.split .shot { flex: 1.3 1 520px; min-width: 0; }
@media (max-width: 640px) { .split { gap: 36px; padding-top: 64px; padding-bottom: 64px; } .split .shot, .split .text { flex-basis: 100%; } }
@media (min-width: 768px) { .split { padding-top: 96px; padding-bottom: 96px; } }
.shot { overflow: hidden; border: 1px solid var(--borde); border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(1,56,65,.10); }
.shot img { width: 100%; }

/* Check list */
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--suave); line-height: 1.6; }
.checks b { color: var(--texto); font-weight: 600; }
.checks i { width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--menta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l3 3 6-6.6' fill='none' stroke='%23013841' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }

/* Connected */
.connected { display: grid; gap: 36px; padding-top: 96px; padding-bottom: 40px; }
.connected .intro { display: grid; gap: 14px; max-width: 760px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.steps li { border: 1px solid var(--borde); border-radius: 12px; padding: 20px; }
.steps span { font-size: 13px; color: var(--suave); }
.steps b { display: block; margin-top: 6px; font-size: 18px; }
.steps p { margin-top: 4px; font-size: 15px; color: var(--suave); }
.steps .last { background: var(--menta); border-color: var(--menta); color: var(--on-menta); }
.steps .last span, .steps .last p { color: var(--on-menta); }

/* Bank stat */
.stat { display: flex; align-items: baseline; gap: 16px; border-top: 1px solid var(--borde); padding-top: 16px; }
.stat b { font-family: var(--display); font-size: 44px; font-weight: 700; white-space: nowrap; }
.stat span { font-size: 15px; color: var(--suave); }

/* Payroll card (illustration in brand style) */
.payroll-card { display: grid; gap: 18px; padding: 28px; }
.pc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--display); font-size: 22px; font-weight: 600; }
.pc-head em { font-family: Inter, sans-serif; font-style: normal; font-size: 13px; font-weight: 600; color: var(--enlace); border: 1px solid var(--borde); border-radius: 999px; padding: 4px 12px; }
.pc-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pc-steps span { font-size: 13px; color: var(--suave); border: 1px solid var(--borde); border-radius: 10px; padding: 10px 12px; }
.pc-steps span::before { content: '✓ '; color: var(--enlace); font-weight: 700; }
.pc-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.pc-kpis div { border: 1px solid var(--borde); border-radius: 10px; padding: 12px 14px; }
.pc-kpis small { display: block; font-size: 12px; color: var(--suave); }
.pc-kpis b { font-family: var(--display); font-size: 20px; }

/* Sell cards */
.sell { display: grid; gap: 32px; padding-top: 96px; padding-bottom: 96px; }
.sell h2 { max-width: 760px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cards div, .support div { display: grid; align-content: start; gap: 8px; border: 1px solid var(--borde); border-radius: 12px; padding: 24px; }
.cards h3 { font-size: 19px; font-weight: 600; }
.cards p { font-size: 15px; line-height: 1.65; color: var(--suave); }

/* Accountants */
h2.on-dark { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; }
.ally { flex: 1 1 380px; min-width: 0; display: grid; gap: 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 32px; }
.ally b { font-family: var(--display); font-size: 64px; line-height: 1; color: var(--menta); }
.ally p { font-size: 17px; line-height: 1.65; color: #E8F0F1; }
.ally .btn { justify-self: start; font-size: 16px; padding: 14px 24px; }
#contadores .split { padding-top: 96px; padding-bottom: 96px; }

/* Support */
.support { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding-top: 96px; padding-bottom: 96px; }
.support div { gap: 12px; border-radius: 16px; padding: 32px; }
.support h3 { font-size: 24px; font-weight: 600; }
.support p { line-height: 1.65; color: var(--suave); }
@media (max-width: 640px) { .support { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; } .support div { padding: 24px; } }

/* FAQ */
.faq { max-width: 900px; display: grid; gap: 14px; padding-top: 80px; padding-bottom: 80px; }
.faq h2 { margin-bottom: 10px; }
.faq div { display: grid; gap: 6px; background: #fff; border: 1px solid var(--borde); border-radius: 12px; padding: 20px 24px; }
.faq h3 { font-family: Inter, sans-serif; font-size: 17px; font-weight: 600; }
.faq p { line-height: 1.65; color: var(--suave); }

/* Closing */
.closing-body { position: relative; display: grid; gap: 20px; padding-top: 96px; padding-bottom: 48px; }
h2.huge { max-width: 820px; font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; line-height: 1.05; }
.contacts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 8px; }
.contacts a { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--sobre-oscuro); }
.contacts a:hover { color: #fff; }
.contacts svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.contacts svg[fill='none'] { fill: none; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; color: #9DB4B8; }
.footer img { height: 28px; width: auto; }
.footer .links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a:hover { color: #fff; }

/* Illustrations in the brand's style (e-CF, bank reconciliation, payroll) */
.split .illus { flex: 1.3 1 520px; min-width: 0; display: grid; place-items: center; background: var(--hundida); border-radius: 20px; padding: clamp(20px, 4vw, 48px); }
.band-alt .illus { background: #fff; border: 1px solid var(--borde); }
.receipt, .recon, .illus .payroll-card { width: 100%; max-width: 560px; background: #fff; border: 1px solid var(--borde); border-radius: 14px; box-shadow: 0 18px 40px rgba(1,56,65,.10); }
.illus .payroll-card { max-width: 600px; }
.receipt { padding: 24px; display: grid; gap: 16px; font-size: 14px; }
.r-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.r-head small { display: block; font-size: 12px; color: var(--suave); }
.r-head b { font-family: var(--display); font-size: 19px; }
.ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--enlace); border: 1px solid var(--borde); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.ok::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--menta); }
.r-client { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); color: var(--suave); }
.r-client span:first-child { color: var(--texto); font-weight: 600; }
.r-lines { width: 100%; border-collapse: collapse; }
.r-lines td { padding: 6px 0; color: var(--suave); }
.r-lines td:first-child { color: var(--texto); }
.r-lines td:nth-child(2) { text-align: center; width: 48px; }
.r-lines td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.r-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--borde); }
.qr { width: 84px; height: 84px; flex: none; fill: var(--dark); }
.r-foot dl { display: grid; grid-template-columns: auto auto; gap: 4px 20px; text-align: right; font-variant-numeric: tabular-nums; }
.r-foot dt { color: var(--suave); }
.r-foot .t { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--texto); }
.recon { overflow: hidden; font-size: 13px; }
.rc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 16px 20px; border-bottom: 1px solid var(--borde); }
.rc-head b { font-family: var(--display); font-size: 16px; }
.rc-head span { color: var(--suave); }
.recon table { width: 100%; border-collapse: collapse; }
.recon td { padding: 10px 8px; border-bottom: 1px solid #E7EDEE; color: var(--texto); vertical-align: middle; }
.recon tr:last-child td { border-bottom: 0; }
.recon td:first-child { padding-left: 20px; color: var(--suave); white-space: nowrap; }
.recon td:last-child { padding-right: 20px; text-align: right; }
.recon .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.recon .neg { color: #B42318; }
.recon em { font-style: normal; font-size: 12px; font-weight: 600; white-space: nowrap; border-radius: 999px; padding: 3px 9px; border: 1px solid var(--borde); }
.recon em.m { color: var(--enlace); }
.recon em.p { color: #9A5B00; border-color: #F1D3A6; }
@media (max-width: 640px) {
  .split .illus { flex-basis: 100%; padding: 12px; }
  .recon td:nth-child(2) { font-size: 12px; }
  .recon td:first-child { display: none; }
  .recon td:nth-child(2) { padding-left: 14px; }
  .recon td:last-child { padding-right: 14px; }
  .receipt { padding: 18px; }
  .qr { width: 64px; height: 64px; }
}
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .pc-kpis { grid-template-columns: .7fr 1fr 1fr; } }
.pc-steps span { white-space: nowrap; }
.pc-kpis b { display: block; font-size: 18px; white-space: nowrap; }
.pc-rows { width: 100%; border-collapse: collapse; font-size: 14px; }
.pc-rows td { padding: 10px 0; border-top: 1px solid #E7EDEE; vertical-align: middle; }
.pc-rows small { display: block; font-size: 12px; color: var(--suave); }
.pc-rows td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.r-foot dt, .r-foot dd { white-space: nowrap; }
@media (max-width: 640px) {
  .r-foot .t { font-size: 16px; }
  .r-foot dl { gap: 4px 12px; font-size: 13px; }
  .recon em { font-size: 0; padding: 0; border: 0; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--menta); }
  .recon em.p { background: #E8A33D; }
  .recon td { padding: 10px 6px; }
  .rc-head span { font-size: 12px; }
  .pc-head { font-size: 18px; }
  .pc-kpis { grid-template-columns: 1fr 1fr; }
  .pc-kpis div:first-child { display: none; }
  .pc-kpis b { font-size: 16px; }
  .payroll-card { padding: 20px; }
}
.recon em { vertical-align: middle; }
@media (max-width: 640px) { .pc-steps span { white-space: normal; } .pc-steps { gap: 6px; } .pc-steps span { padding: 8px 10px; } }
@media (max-width: 640px) { .pc-kpis { grid-template-columns: 1fr; } .pc-kpis div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } }
