/* ============ Tokens ============ */
:root {
  --ink: #101210;
  --ink-deep: #0A0B0A;
  --paper: #F6FAF6;
  --surface: #FFFFFF;
  --surface-alt: #EBF3EC;
  --text: #16201A;
  --text-muted: #57685E;
  --line: #DCE7DE;
  --brand: #00A300;
  --brand-dark: #017A00;
  --brand-bright: #22DF3E;
  --on-dark: #F6FAF6;
  --on-dark-muted: #A0B0A5;
  --on-dark-line: rgba(246, 250, 246, 0.12);
  --whatsapp: #25D366;
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 4px 6px -1px rgb(11 17 32 / 0.06);
  --shadow-md: 0 10px 15px -3px rgb(11 17 32 / 0.08), 0 4px 6px -4px rgb(11 17 32 / 0.06);
  --shadow-lg: 0 24px 48px -12px rgb(11 17 32 / 0.18);
  --radius: 14px;
  --transition: all 0.25s ease;
}

/* ============ Reset & base ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}
p { max-width: 62ch; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 0.6rem;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(0, 122, 0, 0.4);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -6px rgba(0, 122, 0, 0.45); }
.btn-block { width: 100%; }
.btn-large { padding: 1.05rem 2.25rem; font-size: 1.0625rem; }
.btn-nav { padding: 0.55rem 1.1rem; font-size: 0.875rem; }

/* ============ Navbar ============ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(246, 250, 246, 0.88);
  backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.navbar-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: 0.55rem; }
.logo-mark { height: 32px; width: auto; display: block; }
.logo-text { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.logo-text strong { color: var(--brand); font-weight: 800; }
.navbar-links { display: flex; gap: 2rem; }
.navbar-links a { font-size: 0.9375rem; font-weight: 500; color: var(--text-muted); transition: var(--transition); }
.navbar-links a:hover { color: var(--brand); }

/* ============ Hero ============ */
.hero { position: relative; padding: 6.5rem 0 0; overflow: hidden; background: var(--paper); }
.hero-bg-gradient {
  position: absolute; top: -30%; left: 50%; width: 140%; height: 120%;
  background: radial-gradient(circle, rgba(0, 163, 0, 0.10) 0%, rgba(246, 250, 246, 0) 65%);
  transform: translateX(-50%); z-index: 0; pointer-events: none;
}
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; padding: 2.5rem 0 3rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(0, 122, 0, 0.08); border: 1px solid rgba(0, 122, 0, 0.25);
  color: var(--brand-dark); padding: 0.5rem 1rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; margin-bottom: 1.25rem;
}
.badge-dot { width: 8px; height: 8px; background: var(--brand-bright); border-radius: 50%; animation: pulse 2s ease infinite; box-shadow: 0 0 0 3px rgba(34,223,62,0.18); flex-shrink: 0; }
.hero-text h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
.hero-lead { font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.hero-proof { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; color: var(--text-muted); }
.stars { color: #FBBC05; letter-spacing: 1px; font-size: 1rem; }

.mockup-card {
  background: var(--surface); padding: 1.6rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative;
}
.mockup-card::before {
  content: ""; position: absolute; top: -22px; right: -22px; width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  border-radius: 50%; z-index: -1; filter: blur(42px); opacity: 0.45;
}
.form-header { margin-bottom: 1rem; }
.form-header h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.form-header p { font-size: 0.875rem; color: var(--text-muted); }
.form-row { display: flex; gap: 0.75rem; }
.form-row .input-group { flex: 1; }
.input-group { margin-bottom: 0.75rem; }
.input-group label { display: block; margin-bottom: 0.3rem; font-size: 0.75rem; color: var(--text); font-weight: 600; }
.input-group input, .input-group select {
  width: 100%; padding: 0.6rem 0.875rem; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-size: 0.875rem; font-family: var(--font-body);
  transition: var(--transition); appearance: none;
}
.input-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2356685F'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; }
.input-group input::placeholder { color: #9AA8A0; }
.input-group input:focus-visible, .input-group select:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 163, 0, 0.14); }
.form-disclaimer { margin-top: 0.85rem; font-size: 0.75rem; color: var(--text-muted); text-align: center; }

/* ============ Stats marquee ============ */
.trusted-by { background: var(--surface-alt); padding: 1.1rem 0; border-top: 1px solid var(--line); overflow: hidden; }
.marquee-wrapper { width: 100%; overflow: hidden; position: relative; display: flex; }
.marquee-wrapper::before, .marquee-wrapper::after { content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; }
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--surface-alt) 0%, transparent 100%); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--surface-alt) 0%, transparent 100%); }
.marquee-content { display: flex; align-items: center; gap: 3rem; padding-right: 3rem; animation: scroll-marquee 26s linear infinite; white-space: nowrap; }
.stat-chip { font-size: 0.875rem; font-weight: 600; color: var(--text); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.4rem; }
.stat-chip strong { color: var(--brand); font-weight: 800; }
.stat-chip-google svg { flex-shrink: 0; }

/* ============ Section header ============ */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 2.75rem; }
.section-header h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 0.7rem; }
.section-header p { font-size: 1.0625rem; color: var(--text-muted); margin: 0 auto; }

/* ============ Form success ============ */
.form-success { text-align: center; padding: 1.5rem 0.5rem; }
.form-success svg { color: var(--brand); margin-bottom: 0.75rem; }
.form-success h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.form-success p { color: var(--text-muted); font-size: 0.9375rem; margin: 0 auto; }

/* ============ Solutions ============ */
.solutions { padding: 4.5rem 0; background: var(--surface); }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.solution-card { background: var(--paper); padding: 1.85rem; border-radius: var(--radius); border: 1px solid var(--line); transition: var(--transition); }
.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(0,163,0,0.2); }
.icon-photo { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; margin-bottom: 1.1rem; border: 3px solid var(--paper); box-shadow: 0 0 0 1px rgba(0,163,0,0.18), var(--shadow-sm); }
.icon-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.solution-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.solution-card p { color: var(--text-muted); font-size: 0.9375rem; }

.avatar-duo { display: flex; margin-bottom: 1.1rem; }
.avatar-duo img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); box-shadow: var(--shadow-sm); }
.avatar-duo img:not(:first-child) { margin-left: -14px; }

/* ============ How it works ============ */
.how-it-works { background: var(--paper); padding: 4.5rem 0; }
.how-it-works-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.1rem; align-items: stretch; max-width: 820px; margin: 0 auto; }
.steps-grid { display: flex; flex-direction: column; gap: 1.1rem; }
.step-card { flex: 1; display: flex; flex-direction: column; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; text-align: center; }
.step-circle {
  width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--brand-bright);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700;
  margin: 0 auto 0.75rem; font-variant-numeric: tabular-nums; font-size: 0.875rem;
}
.step-card h3 { font-size: 0.9375rem; margin-bottom: 0.3rem; }
.step-card p { color: var(--text-muted); font-size: 0.8125rem; margin: 0 auto; }

.cta-intermediate {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden;
}
.cta-intermediate-photo { min-height: 150px; flex: 1; }
.cta-intermediate-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-intermediate-content { padding: 1.35rem 1.5rem 1.5rem; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.cta-intermediate-content h3 { font-size: 1.1875rem; margin-bottom: 0.5rem; }
.cta-intermediate-content p { color: var(--text-muted); font-size: 0.9375rem; margin: 0 0 1.25rem; }

/* ============ Testimonials ============ */
.testimonials { background: var(--surface-alt); padding: 4.5rem 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: var(--surface); padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); position: relative; transition: var(--transition); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-quote { font-family: Georgia, serif; font-size: 2.75rem; color: var(--brand); line-height: 1; margin-bottom: -0.65rem; opacity: 0.35; }
.testimonial-card p { color: var(--text); font-size: 0.9375rem; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.author-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-bright)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8125rem; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.9375rem; }
.testimonial-author span { color: var(--text-muted); font-size: 0.8125rem; }

/* ============ FAQ ============ */
/* ============ Final CTA ============ */
.final-cta { background: var(--ink); color: var(--on-dark); padding: 5rem 0; text-align: center; }
.final-cta-content { max-width: 640px; margin: 0 auto; }
.final-cta h2 { color: var(--on-dark); font-size: clamp(1.85rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
.final-cta p { color: var(--on-dark-muted); font-size: 1.0625rem; margin: 0 auto 1.75rem; }

/* ============ Footer ============ */
footer { background: var(--ink-deep); color: var(--on-dark-muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding: 3rem 1.5rem 2.25rem; }
.footer-col h4 { color: var(--on-dark); font-family: var(--font-display); font-size: 0.9375rem; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.875rem; color: var(--on-dark-muted); margin-bottom: 0.65rem; transition: var(--transition); }
.footer-col a:hover { color: var(--brand-bright); }
.footer-brand .logo-text-footer { color: var(--on-dark); }
.footer-brand p { font-size: 0.875rem; margin: 0.65rem 0 1.1rem; color: var(--on-dark-muted); }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--on-dark-line); color: var(--on-dark); margin: 0; }
.footer-social a:hover { border-color: var(--brand-bright); color: var(--brand-bright); }
.footer-whatsapp:hover { border-color: var(--whatsapp) !important; color: var(--whatsapp) !important; }
.footer-bottom { border-top: 1px solid var(--on-dark-line); padding: 1.25rem 0; text-align: center; font-size: 0.8125rem; }

/* ============ Motion ============ */
@keyframes scroll-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.25); } }
.fade-in-up { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .marquee-content, .badge-dot, .fade-in-up { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============ Legal pages ============ */
.legal-hero { padding: 6.5rem 0 2.5rem; background: var(--paper); text-align: center; }
.legal-hero .eyebrow { display: block; }
.legal-hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 0.6rem; }
.legal-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.legal-content { padding: 1rem 0 5rem; }
.legal-content .container { max-width: 760px; }
.legal-updated { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.25rem; margin: 2.25rem 0 0.75rem; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { max-width: none; color: var(--text-muted); margin-bottom: 1rem; }
.legal-content ul { margin: 0 0 1.25rem; padding: 0; }
.legal-content ul li { position: relative; padding-left: 1.4rem; margin-bottom: 0.6rem; color: var(--text-muted); }
.legal-content ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.legal-content strong { color: var(--text); }
.legal-content a.inline-link { color: var(--brand-dark); font-weight: 600; }
.legal-content a.inline-link:hover { color: var(--brand); }

/* ============ Responsive ============ */
@media (max-width: 992px) {
  .navbar-links { display: none; }
  .hero-content { grid-template-columns: 1fr; gap: 2.25rem; text-align: center; }
  .hero-proof { justify-content: center; }
  .solutions-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .how-it-works-layout { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 640px) {
  .hero { padding: 5.5rem 0 0; }
  .solutions-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-large { width: 100%; }
}
