/* ========================================================================
   SMBeMore — Design System
   ======================================================================== */

:root {
  /* Brand palette — derived from logo */
  --navy: #1b3f73;
  --navy-deep: #122a52;
  --navy-soft: #2a558f;

  --green-deep: #0e7a3d;
  --green: #1e9a4d;
  --green-spring: #5bba42;
  --green-bright: #7fd35f;

  --orange: #f39c20;
  --orange-warm: #ed7b1f;
  --orange-soft: #fbd28a;

  /* Neutrals */
  --ink: #0b1f3a;
  --ink-2: #2b3c58;
  --ink-3: #59657c;
  --ink-4: #9aa3b4;

  --cream: #faf8f2;
  --paper: #fafbf7;
  --paper-2: #f3f5ee;
  --paper-3: #e9ede0;
  --line: #e2e7d8;
  --line-strong: #c9d1bd;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 2px 6px rgba(11, 31, 58, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 31, 58, 0.08), 0 12px 32px rgba(11, 31, 58, 0.06);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.12), 0 8px 16px rgba(11, 31, 58, 0.06);
  --shadow-glow: 0 0 0 1px rgba(30, 154, 77, 0.18), 0 18px 48px rgba(30, 154, 77, 0.18);

  /* Gradients */
  --grad-growth: linear-gradient(135deg, #0e7a3d 0%, #1e9a4d 35%, #5bba42 70%, #f39c20 100%);
  --grad-logo: linear-gradient(135deg, #1b3f73 0%, #0e7a3d 45%, #5bba42 80%, #f39c20 100%);
  --grad-cream: linear-gradient(180deg, #faf8f2 0%, #f3f5ee 100%);
  --grad-navy: linear-gradient(160deg, #122a52 0%, #1b3f73 60%, #0e7a3d 130%);

  /* Type */
  --font-display: "Bricolage Grotesque", "Inter Tight", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--green-deep);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 7.4vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.h-display .accent-green {
  background: linear-gradient(120deg, var(--green-deep), var(--green-spring) 70%, var(--orange) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h-display .accent-orange {
  color: var(--orange-warm);
  font-style: italic;
  font-weight: 500;
}

.h-1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.h-2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.h-3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 1.7vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.012em;
}
.lede {
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 60ch;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
  position: relative;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--green-deep);
  color: white;
  box-shadow: 0 6px 18px rgba(14, 122, 61, 0.28);
}
.btn-accent:hover {
  background: var(--green);
  box-shadow: 0 10px 28px rgba(14, 122, 61, 0.36);
}
.btn-orange {
  background: var(--orange-warm);
  color: white;
  box-shadow: 0 6px 18px rgba(243, 156, 32, 0.32);
}
.btn-orange:hover {
  background: var(--orange);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--paper-2);
}
.btn-whatsapp {
  background: #25d366;
  color: white;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
}
.btn-whatsapp:hover {
  background: #20c059;
}
.btn-lg {
  padding: 18px 28px;
  font-size: 16px;
}

/* ---------- Cards ---------- */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 247, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-nav.scrolled {
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
}
.nav-logo img {
  height: 38px;
  width: auto;
}
.nav-logo .lo-smb {
  color: var(--navy);
}
.nav-logo .lo-e {
  color: var(--green-spring);
  font-style: italic;
}
.nav-logo .lo-more {
  color: var(--green-deep);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--paper-2);
}
.nav-links a.current {
  color: var(--green-deep);
}
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ---- Hamburger button (mobile only, hidden on desktop) ---- */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  color: var(--ink);
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.nav-hamburger:hover { background: var(--paper-2); }

/* ---- Mobile full-screen menu (hidden on desktop) ---- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  flex-direction: column;
  padding: 80px 32px 48px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}
.mobile-nav-links a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 7vw, 36px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav-links a:first-child { border-top: 1px solid var(--line); }
.mobile-nav-links a:hover,
.mobile-nav-links a.current { color: var(--green-deep); padding-left: 10px; }

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav-cta .btn { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 80px 0 32px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(91, 186, 66, 0.22), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--green-bright);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-brand .logo-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: white;
}
.footer-brand .logo-line .lo-e {
  color: var(--green-spring);
  font-style: italic;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  max-width: 28ch;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 450ms; }

/* ---------- Chip ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.chip-green {
  background: rgba(91, 186, 66, 0.12);
  border-color: rgba(91, 186, 66, 0.3);
  color: var(--green-deep);
}
.chip-orange {
  background: rgba(243, 156, 32, 0.14);
  border-color: rgba(243, 156, 32, 0.32);
  color: #b56a0c;
}
.chip-navy {
  background: rgba(27, 63, 115, 0.1);
  border-color: rgba(27, 63, 115, 0.22);
  color: var(--navy);
}
.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Section header pattern ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
  max-width: 720px;
}
.section-head .lede {
  margin-top: 4px;
}

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  body { font-size: 16px; }
  .container, .container-wide { padding: 0 20px; }
  .nav-inner { padding: 0 20px; height: 64px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
