/* ============================================================
   GFM CONTABILIDADE — DESIGN SYSTEM
   Versão 1.0 | Premium Ecommerce Accounting
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:           #06091A;
  --bg-2:         #0B1023;
  --bg-3:         #0E1630;
  --surface:      #111C35;
  --surface-2:    #162040;
  --surface-3:    #1A2850;

  /* Brand Colors */
  --primary:      #1D4ED8;
  --primary-light:#3B82F6;
  --accent:       #10B981;
  --accent-dark:  #059669;
  --accent-glow:  rgba(16, 185, 129, 0.2);
  --gold:         #F59E0B;
  --gold-light:   #FCD34D;

  /* Text */
  --text:         #F1F5F9;
  --text-2:       #94A3B8;
  --text-3:       #64748B;

  /* Borders */
  --border:       rgba(255,255,255,0.07);
  --border-2:     rgba(255,255,255,0.12);
  --border-accent:rgba(16,185,129,0.35);

  /* Shadows */
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.3);
  --shadow-md:    0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:    0 8px 48px rgba(0,0,0,0.5);
  --shadow-accent:0 0 40px rgba(16,185,129,0.2);
  --shadow-blue:  0 0 60px rgba(29,78,216,0.25);

  /* Layout */
  --container:    1200px;
  --section-gap:  120px;
  --section-gap-sm:80px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Transitions */
  --t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.display-1 { font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.display-2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.heading-1 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.3; }
.heading-2 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.35; }
.body-lg   { font-size: 1.125rem; line-height: 1.7; }
.body-md   { font-size: 1rem; line-height: 1.65; }
.body-sm   { font-size: 0.875rem; line-height: 1.6; }
.label     { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.text-accent  { color: var(--accent); }
.text-gold    { color: var(--gold); }
.text-primary { color: var(--primary-light); }
.text-muted   { color: var(--text-2); }

.gradient-text {
  background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--t);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: var(--t);
  border-radius: inherit;
}
.btn:hover::after { opacity: 1; }

.btn--accent {
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(16,185,129,0.35);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(16,185,129,0.5);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(29,78,216,0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(29,78,216,0.5);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  padding-inline: 0;
}
.btn--ghost:hover { gap: 14px; }

.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border-accent);
  background: rgba(16,185,129,0.08);
  color: var(--accent);
  letter-spacing: 0.03em;
}

/* ── SECTION HEADER ──────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .badge { margin-bottom: 20px; }
.section-header h2 { margin-bottom: 20px; }
.section-header p {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-2);
  font-size: 1.0625rem;
}

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  opacity: 0;
  transition: var(--t);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: rgba(16,185,129,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--border-accent);
}
.card__icon svg { width: 24px; height: 24px; color: var(--accent); }

.card__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; }
.card__desc  { color: var(--text-2); font-size: 0.9375rem; line-height: 1.65; }

/* ── TOP BAR ─────────────────────────────────────────────── */
.top-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 0.8125rem;
  color: var(--text-2);
}
.top-bar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.top-bar__left { display: flex; align-items: center; gap: 24px; }
.top-bar__left a {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-2); transition: var(--t);
}
.top-bar__left a:hover { color: var(--accent); }
.top-bar__left svg { width: 14px; height: 14px; }

.top-bar__social { display: flex; align-items: center; gap: 12px; }
.top-bar__social a {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
  color: var(--text-2);
}
.top-bar__social a:hover { background: var(--accent); color: #fff; }
.top-bar__social svg { width: 14px; height: 14px; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6,9,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--t);
}
.navbar.scrolled {
  background: rgba(6,9,26,0.97);
  box-shadow: var(--shadow-md);
}
.navbar .container {
  display: flex; align-items: center; gap: 32px;
  padding-block: 16px;
}
.navbar__logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.navbar__logo .logo-gfm {
  color: var(--accent);
}
.navbar__logo .logo-text {
  color: var(--text);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.navbar__menu a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--t);
  position: relative;
}
.navbar__menu a:hover { color: var(--text); background: var(--surface); }
.navbar__menu a.active { color: var(--accent); }

.navbar__menu .has-dropdown { position: relative; }
.navbar__menu .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: var(--t);
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 8px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--t);
  box-shadow: var(--shadow-lg);
  z-index: 100;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  color: var(--text-2);
}
.dropdown a:hover { background: var(--surface-2); color: var(--accent); }
.dropdown a svg { width: 16px; height: 16px; color: var(--accent); }

.navbar__cta { flex-shrink: 0; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.navbar__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero__glow-1 {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
  top: -200px; left: -200px;
  border-radius: 50%;
}
.hero__glow-2 {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(29,78,216,0.15) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__content { }

.hero__badge { margin-bottom: 28px; }

.hero__title {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__title .line-accent {
  background: linear-gradient(135deg, #10B981 0%, #3B82F6 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-2);
}
.hero__trust-item svg { width: 16px; height: 16px; color: var(--accent); }

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card-main {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 32px;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero__card-main::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(16,185,129,0.4), rgba(29,78,216,0.3), transparent);
  z-index: -1;
}

.hero__card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,185,129,0.1);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-full);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero__card-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero__card-value {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__card-label {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-bottom: 24px;
}
.hero__card-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}
.hero__card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.875rem;
}
.hero__card-item span:first-child { color: var(--text-2); }
.hero__card-item .positive { color: var(--accent); font-weight: 600; }
.hero__card-item .negative { color: #F87171; font-weight: 600; }

.hero__floating-card {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.hero__floating-card .icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero__floating-card .icon.green { background: rgba(16,185,129,0.2); }
.hero__floating-card .icon.blue  { background: rgba(59,130,246,0.2); }
.hero__floating-card svg { width: 16px; height: 16px; }
.hero__floating-card .fc-label { font-size: 0.7rem; color: var(--text-3); font-weight: 500; }
.hero__floating-card .fc-value { font-size: 0.875rem; font-weight: 700; color: var(--text); }

.fc-1 { bottom: 20px; left: -40px; animation: float 3s ease-in-out infinite; }
.fc-2 { top: 20px; right: -30px; animation: float 3.5s ease-in-out infinite 0.5s; }

/* ── HERO PLATFORMS ──────────────────────────────────────── */
.hero-platforms {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  overflow: hidden;
}
.hero-platforms .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-platforms__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
.platforms-track {
  display: flex;
  align-items: center;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.platforms-track::-webkit-scrollbar { display: none; }

.platform-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  transition: var(--t);
  flex-shrink: 0;
}
.platform-pill:hover {
  border-color: var(--border-accent);
  color: var(--accent);
}
.platform-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.dot-yellow { background: #FFBE00; }
.dot-orange { background: #FF6900; }
.dot-blue   { background: #1565C0; }
.dot-red    { background: #EF4444; }
.dot-pink   { background: #EE1D52; }
.dot-green  { background: #95BF47; }
.dot-purple { background: #6366F1; }
.dot-teal   { background: #10B981; }

/* ── STATS ───────────────────────────────────────────────── */
.stats { padding: 80px 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--surface);
  padding: 40px 32px;
  text-align: center;
  transition: var(--t);
}
.stat-item:hover { background: var(--surface-2); }
.stat-number {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-2);
  font-weight: 500;
}

/* ── PAIN POINTS ─────────────────────────────────────────── */
.pain {
  padding: var(--section-gap) 0;
  position: relative;
  overflow: hidden;
}
.pain::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(29,78,216,0.04) 50%, transparent 100%);
  pointer-events: none;
}
.pain .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.pain__content {}
.pain__pre {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.pain__pre-line {
  width: 32px; height: 2px;
  background: var(--accent);
}
.pain__pre-text {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.pain__title { margin-bottom: 20px; }
.pain__subtitle { color: var(--text-2); margin-bottom: 36px; }
.pain__list { display: flex; flex-direction: column; gap: 16px; }
.pain__item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: var(--t);
}
.pain__item:hover {
  border-color: rgba(248,113,113,0.3);
  background: var(--surface-2);
}
.pain__item-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(248,113,113,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pain__item-icon svg { width: 18px; height: 18px; color: #F87171; }
.pain__item-text { font-size: 0.9375rem; color: var(--text-2); line-height: 1.5; }
.pain__item-text strong { color: var(--text); font-weight: 600; }

.pain__solution {
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.pain__solution::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
}
.pain__solution-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pain__solution-sub {
  color: var(--text-2);
  font-size: 0.9375rem;
  margin-bottom: 28px;
}
.solution-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.solution-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9375rem;
}
.solution-item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* ── SERVICES ────────────────────────────────────────────── */
.services { padding: var(--section-gap) 0; background: var(--bg-2); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  transform: scaleX(0);
  transition: var(--t);
  transform-origin: left;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}
.service-card--featured {
  background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, rgba(29,78,216,0.08) 100%);
  border-color: var(--border-accent);
}
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  position: relative;
}
.service-card__icon svg { width: 28px; height: 28px; }
.icon-green { background: rgba(16,185,129,0.12); color: var(--accent); }
.icon-blue  { background: rgba(59,130,246,0.12); color: var(--primary-light); }
.icon-gold  { background: rgba(245,158,11,0.12); color: var(--gold); }
.icon-purple{ background: rgba(139,92,246,0.12); color: #A78BFA; }
.icon-red   { background: rgba(248,113,113,0.12); color: #F87171; }
.icon-teal  { background: rgba(20,184,166,0.12); color: #2DD4BF; }
.icon-indigo{ background: rgba(99,102,241,0.12); color: #818CF8; }

.service-card__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; }
.service-card__desc  { color: var(--text-2); font-size: 0.9rem; line-height: 1.6; flex: 1; margin-bottom: 24px; }
.service-card__link  {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--accent);
  transition: var(--t);
  margin-top: auto;
}
.service-card__link svg { width: 16px; height: 16px; transition: var(--t); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ── DIFFERENTIALS ───────────────────────────────────────── */
.differentials { padding: var(--section-gap) 0; }
.differentials .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.diff__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.diff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: var(--t);
}
.diff-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.diff-card:nth-child(odd) { margin-top: 24px; }
.diff-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.diff-card__icon svg { width: 20px; height: 20px; }
.diff-card__title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 6px; }
.diff-card__text  { font-size: 0.8125rem; color: var(--text-2); line-height: 1.5; }

.diff__content {}
.diff__title { margin-bottom: 20px; }
.diff__subtitle { color: var(--text-2); font-size: 1rem; margin-bottom: 40px; }
.diff__list { display: flex; flex-direction: column; gap: 20px; }
.diff__item {
  display: flex; align-items: flex-start; gap: 16px;
}
.diff__item-icon {
  width: 44px; height: 44px;
  background: rgba(16,185,129,0.1);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.diff__item-icon svg { width: 20px; height: 20px; color: var(--accent); }
.diff__item-title { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.diff__item-text  { font-size: 0.875rem; color: var(--text-2); line-height: 1.55; }

/* ── PLATFORMS SECTION ───────────────────────────────────── */
.platforms { padding: var(--section-gap) 0; background: var(--bg-2); }
.platforms__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
}
.platform-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  transition: var(--t);
}
.platform-card:hover {
  border-color: var(--border-accent);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.platform-card .p-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── HOW IT WORKS ────────────────────────────────────────── */
.how { padding: var(--section-gap) 0; }
.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px;
}
.how__steps::before {
  content: '';
  position: absolute;
  top: 40px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light), var(--accent));
  z-index: 0;
}
.how__step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.how__step-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  position: relative;
  box-shadow: var(--shadow-accent);
}
.how__step-num::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgba(16,185,129,0.08);
}
.how__step-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.how__step-text  { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }

/* ── TAX EXPERTISE ───────────────────────────────────────── */
.tax {
  padding: var(--section-gap) 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.tax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(29,78,216,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.tax .container { position: relative; }
.tax__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}
.tax__items { display: flex; flex-direction: column; gap: 16px; }
.tax-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: var(--t);
}
.tax-item:hover {
  border-color: var(--border-accent);
  background: var(--surface-2);
  transform: translateX(4px);
}
.tax-item__badge {
  padding: 4px 10px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--r-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.tax-item__content {}
.tax-item__title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 4px; }
.tax-item__text  { font-size: 0.8125rem; color: var(--text-2); line-height: 1.55; }

.tax__cta-box {
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tax__cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
}
.tax__cta-icon {
  width: 72px; height: 72px;
  background: rgba(16,185,129,0.1);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.tax__cta-icon svg { width: 32px; height: 32px; color: var(--accent); }
.tax__cta-title  { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.tax__cta-text   { color: var(--text-2); font-size: 0.9375rem; margin-bottom: 32px; line-height: 1.65; }
.tax__cta-note   { font-size: 0.8125rem; color: var(--text-3); margin-top: 16px; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials { padding: var(--section-gap) 0; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: var(--t);
  position: relative;
}
.testimonial-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--border-accent);
  font-weight: 900;
}
.testimonial-stars {
  display: flex; gap: 4px;
  margin-bottom: 16px;
}
.testimonial-stars svg { width: 16px; height: 16px; color: var(--gold); fill: var(--gold); }
.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-name { font-size: 0.9rem; font-weight: 700; }
.testimonial-role { font-size: 0.8rem; color: var(--text-3); }

/* ── BLOG ────────────────────────────────────────────────── */
.blog { padding: var(--section-gap) 0; background: var(--bg-2); }
.blog__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.blog-card__img {
  aspect-ratio: 16/9;
  background: var(--surface-3);
  position: relative;
  overflow: hidden;
}
.blog-card:first-child .blog-card__img { aspect-ratio: 16/10; }
.blog-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.blog-card__content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(16,185,129,0.1);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  border: 1px solid var(--border-accent);
}
.blog-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}
.blog-card:first-child .blog-card__title { font-size: 1.25rem; }
.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 0.8rem;
  color: var(--text-3);
}
.blog-card__date { display: flex; align-items: center; gap: 6px; }
.blog-card__date svg { width: 14px; height: 14px; }
.blog-card__read { color: var(--accent); font-weight: 600; }

/* ── SOCIAL CTA ──────────────────────────────────────────── */
.social-cta {
  padding: var(--section-gap) 0;
  background: linear-gradient(135deg, rgba(16,185,129,0.06) 0%, rgba(29,78,216,0.06) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.social-cta .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.social-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}
.social-box:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}
.social-box__header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.social-box__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.social-box__icon.instagram { background: linear-gradient(135deg, #E1306C, #F77737, #FCAF45); }
.social-box__icon.youtube   { background: #FF0000; }
.social-box__icon svg { width: 28px; height: 28px; color: #fff; }
.social-box__name { font-weight: 700; font-size: 1.0625rem; }
.social-box__handle { font-size: 0.875rem; color: var(--text-2); }
.social-box__desc { color: var(--text-2); font-size: 0.9375rem; line-height: 1.65; margin-bottom: 24px; flex: 1; }
.social-box .btn { align-self: flex-start; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { padding: var(--section-gap) 0; }
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.faq__content { }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: var(--t);
}
.faq-item.open { border-color: var(--border-accent); }
.faq-item__question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--t);
  user-select: none;
}
.faq-item__question:hover { color: var(--accent); }
.faq-item.open .faq-item__question { color: var(--accent); }
.faq-item__icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--t);
}
.faq-item.open .faq-item__icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}
.faq-item__icon svg { width: 12px; height: 12px; }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-item__answer { max-height: 400px; }
.faq-item__answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 0;
}

.faq__sidebar {
  position: sticky;
  top: 100px;
}
.faq__cta-box {
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(29,78,216,0.08));
  border: 1px solid var(--border-accent);
  border-radius: var(--r-xl);
  padding: 40px;
  text-align: center;
  margin-bottom: 20px;
}
.faq__cta-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.faq__cta-icon svg { width: 28px; height: 28px; color: var(--accent); }
.faq__cta-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.faq__cta-text  { font-size: 0.9rem; color: var(--text-2); margin-bottom: 24px; line-height: 1.6; }

/* ── FINAL CTA ───────────────────────────────────────────── */
.final-cta {
  padding: var(--section-gap) 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(16,185,129,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta .container { position: relative; text-align: center; }
.final-cta__label { margin-bottom: 20px; }
.final-cta__title { margin-bottom: 16px; }
.final-cta__sub { color: var(--text-2); font-size: 1.0625rem; margin-bottom: 40px; max-width: 560px; margin-inline: auto; }
.final-cta__sub:last-of-type { margin-bottom: 40px; }
.final-cta__btns {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.final-cta__note { font-size: 0.8125rem; color: var(--text-3); }
.final-cta__note svg { width: 14px; height: 14px; display: inline; vertical-align: middle; color: var(--accent); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #04060F;
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.footer__brand-name {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.footer__brand-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer__social {
  display: flex; gap: 8px; margin-bottom: 24px;
}
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
  color: var(--text-2);
}
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer__social svg { width: 16px; height: 16px; }
.footer__crc { font-size: 0.8125rem; color: var(--text-3); }

.footer__col-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: var(--text);
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: var(--t);
  display: flex; align-items: center; gap: 6px;
}
.footer__links a:hover { color: var(--accent); padding-left: 4px; }

.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; color: var(--text-2);
}
.footer__contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer__contact-item a:hover { color: var(--accent); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8125rem; color: var(--text-3);
  flex-wrap: wrap; gap: 12px;
}
.footer__bottom a { color: var(--accent); }

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.whatsapp-float__btn {
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--t);
  position: relative;
}
.whatsapp-float__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.65);
}
.whatsapp-float__btn svg { width: 32px; height: 32px; color: #fff; }
.whatsapp-float__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: wapulse 2s ease-out infinite;
}
.whatsapp-float__tooltip {
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-md);
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--t);
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ── MOBILE MENU ─────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  padding: 100px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: var(--t-slow);
}
.mobile-menu.open { transform: translateX(0); display: block; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 40px; }
.mobile-menu__links a {
  display: block;
  padding: 16px;
  border-radius: var(--r-md);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid transparent;
  transition: var(--t);
}
.mobile-menu__links a:hover {
  background: var(--surface);
  border-color: var(--border);
  color: var(--accent);
}
.mobile-menu__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}
@keyframes wapulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── DIVIDERS & UTILITIES ────────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
  margin: 0;
}

.highlight-box {
  background: rgba(16,185,129,0.06);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 0.9rem;
}
.highlight-box strong { color: var(--accent); }

.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }

  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { display: none; }
  .hero__title { font-size: clamp(2.2rem, 5vw, 3.2rem); }
  .hero__subtitle { max-width: 100%; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .pain .container     { grid-template-columns: 1fr; gap: 48px; }
  .differentials .container { grid-template-columns: 1fr; gap: 48px; }
  .diff__visual { order: -1; }

  .tax__grid           { grid-template-columns: 1fr; gap: 48px; }
  .services__grid      { grid-template-columns: repeat(2, 1fr); }
  .how__steps          { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .how__steps::before  { display: none; }
  .testimonials__grid  { grid-template-columns: repeat(2, 1fr); }
  .blog__grid          { grid-template-columns: 1fr 1fr; }
  .blog__grid > :first-child { grid-column: 1 / -1; }
  .social-cta .container { grid-template-columns: 1fr; }
  .faq__grid           { grid-template-columns: 1fr; }
  .faq__sidebar        { position: static; }
  .footer__grid        { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-gap: 60px; }

  .top-bar { display: none; }
  .navbar__menu { display: none; }
  .navbar__cta  { display: none; }
  .navbar__toggle { display: flex; }
  .mobile-menu { display: block; }

  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__trust { flex-direction: column; gap: 12px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item   { padding: 28px 20px; }

  .services__grid    { grid-template-columns: 1fr; }
  .how__steps        { grid-template-columns: 1fr; }
  .testimonials__grid{ grid-template-columns: 1fr; }
  .blog__grid        { grid-template-columns: 1fr; }
  .footer__grid      { grid-template-columns: 1fr; }

  .final-cta__btns { flex-direction: column; align-items: center; }
  .final-cta__btns .btn { width: 100%; max-width: 320px; justify-content: center; }

  .whatsapp-float { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .container { padding-inline: 16px; }
  .card, .service-card, .testimonial-card { padding: 24px; }
}

/* ── PAGE HEADER (service pages) ─────────────────────────── */
.page-header {
  padding: 140px 0 80px;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 30% 50%, rgba(16,185,129,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .container { position: relative; max-width: 800px; }
.page-header .badge { margin-bottom: 20px; }
.page-header h1 { margin-bottom: 20px; }
.page-header p { color: var(--text-2); font-size: 1.0625rem; line-height: 1.75; margin-bottom: 32px; }
.page-header__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BLOG PAGE ───────────────────────────────────────────── */
.blog-page { padding: var(--section-gap) 0; }
.blog-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-categories {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 48px;
}
.blog-cat-pill {
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-2);
  transition: var(--t);
  cursor: pointer;
}
.blog-cat-pill:hover,
.blog-cat-pill.active {
  background: rgba(16,185,129,0.1);
  border-color: var(--border-accent);
  color: var(--accent);
}

@media (max-width: 768px) {
  .blog-page__grid { grid-template-columns: 1fr; }
  .page-header { padding: 120px 0 60px; }
  .page-header__btns { flex-direction: column; }
  .page-header__btns .btn { justify-content: center; }
}
