/* ============================================================
   Webnetics.pk — Main Stylesheet
   Theme: Forest Green + Emerald + White
   ============================================================ */

:root {
  /* Pakistan flag greens (fixed brand colors for the wordmark) */
  --pak-green: #01411c;
  --pak-green-bright: #00a651;

  /* Brand palette */
  --green-950: #03231a;
  --green-900: #064e3b;
  --green-800: #065f46;
  --green-700: #047857;
  --green-600: #059669;
  --green-500: #10b981;
  --green-400: #34d399;
  --green-100: #d1fae5;
  --green-50: #ecfdf5;
  --lime: #a3e635;

  /* Neutrals */
  --ink: #0d1b16;
  --slate: #43554d;
  --muted: #6b7f76;
  --line: #e2ece7;
  --bg: #ffffff;
  --bg-soft: #f4faf7;

  /* Type */
  --font-head: "Sora", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Misc */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.08);
  --shadow-md: 0 8px 30px rgba(6, 78, 59, 0.10);
  --shadow-lg: 0 20px 50px rgba(6, 78, 59, 0.16);
  --container: 1180px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* modern thin scrollbar */
* { scrollbar-width: thin; scrollbar-color: #b9cdc4 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #b9cdc4;
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background-color: #8fa89d; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-800); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

.bg-soft { background: var(--bg-soft); }
.bg-dark {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(16, 185, 129, .22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(163, 230, 53, .10), transparent 60%),
    linear-gradient(160deg, var(--green-950), var(--green-900));
  color: #cfe4db;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #ffffff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--green-700), var(--green-500), var(--green-600));
  background-size: 220% 100%;
  color: #fff;
  box-shadow: 0 6px 20px rgba(5, 150, 105, .35);
  position: relative;
  overflow: hidden;
  animation: btnGradient 7s ease infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(5, 150, 105, .45);
  color: #fff;
}
@keyframes btnGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
/* shine sweep on hover */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  left: -70%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-8deg);
  pointer-events: none;
}
.btn-primary:hover::after { animation: btnShine .8s ease; }
@keyframes btnShine {
  from { left: -70%; }
  to { left: 140%; }
}
/* soft breathing glow — use on ONE key CTA per screen */
.btn-pulse { animation: btnGradient 7s ease infinite, btnPulse 2.8s ease-in-out infinite; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(5, 150, 105, .35); }
  50% { box-shadow: 0 8px 32px rgba(16, 185, 129, .60); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-pulse { animation: none; }
  .btn-primary:hover::after { animation: none; }
}
.btn-outline {
  border-color: var(--green-600);
  color: var(--green-700);
  background: transparent;
}
.btn-outline:hover { background: var(--green-50); color: var(--green-800); }
.btn-light {
  background: #fff;
  color: var(--green-800);
}
.btn-light:hover { background: var(--green-50); transform: translateY(-2px); color: var(--green-900); }
.btn-ghost-light {
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(6, 78, 59, .07);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.brand:hover { color: var(--ink); }
.brand .tld { color: var(--green-600); }
/* Wordmark: one word, white with Pakistan-green border + glow */
.brand .bn {
  color: #ffffff;
  -webkit-text-stroke: 1.15px var(--pak-green-bright);
  paint-order: stroke fill;
  text-shadow: 0 2px 10px rgba(0, 166, 81, 0.35);
}
.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a, .nav-item > a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--slate);
  padding: 8px 14px;
  border-radius: 8px;
}
.site-nav > a:hover, .nav-item > a:hover { color: var(--green-700); background: var(--green-50); }
.site-nav > a.active, .nav-item > a.active { color: var(--green-700); font-weight: 600; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a .caret { display: inline-block; margin-left: 4px; font-size: .7em; transition: transform .2s; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .22s ease;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item:hover > a .caret { transform: rotate(180deg); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .92rem;
  color: var(--slate);
  font-weight: 500;
}
.dropdown a svg { width: 16px; height: 16px; flex: none; color: var(--green-600); }
.dropdown a:hover { background: var(--green-50); color: var(--green-700); }
.dropdown .dd-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--green-700); font-weight: 600; }

.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

/* AI particle-network canvas behind hero content */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Animated gradient keyword in headline */
.grad-text {
  background: linear-gradient(90deg, var(--green-400), var(--lime), var(--green-500), var(--green-400));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradShift 6s linear infinite;
}
@keyframes gradShift { to { background-position: 300% 0; } }

/* Chat mockup: messages type in one by one (JS-driven, loops) */
html.js .chat-anim .chat-row {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
html.js .chat-anim .chat-row.shown { opacity: 1; transform: none; }
.typing-dots { display: inline-flex; gap: 4px; align-items: center; padding: 4px 2px; }
.typing-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cfe4db;
  animation: tdots 1s infinite;
}
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes tdots {
  0%, 100% { opacity: .25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .grad-text { animation: none; }
  html.js .chat-anim .chat-row { opacity: 1; transform: none; transition: none; }
  .hero-canvas { display: none; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero p.lead {
  font-size: 1.15rem;
  margin: 22px 0 34px;
  max-width: 560px;
  color: #b7d4c8;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, .14);
  border: 1px solid rgba(16, 185, 129, .40);
  color: var(--green-400);
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: .04em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 22px rgba(16, 185, 129, .18);
}
/* periodic shine sweep across the badge */
.hero-badge::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  left: -60%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .28), transparent);
  animation: badgeShine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes badgeShine {
  0%, 55% { left: -60%; }
  100% { left: 140%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge::after { animation: none; }
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-400);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); }
  50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero {
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero p.lead {
  font-size: 1.12rem;
  color: #b7d4c8;
  max-width: 680px;
  margin-top: 18px;
}
.breadcrumb {
  font-size: .85rem;
  margin-bottom: 20px;
  color: #8fb3a5;
}
.breadcrumb a { color: var(--green-400); }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }

/* ---------- Section headings ---------- */
.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.bg-dark .eyebrow {
  color: var(--green-400);
  background: rgba(16,185,129,.12);
  border-color: rgba(16,185,129,.3);
}
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-100);
}
.card h3 { margin: 18px 0 10px; }
.card p { font-size: .95rem; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--green-600);
}
.card .card-link:hover { color: var(--green-800); gap: 10px; }
.card .card-link { transition: gap .2s, color .2s; }

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  color: var(--green-700);
  border: 1px solid var(--green-100);
}
.icon-box svg { width: 28px; height: 28px; }

/* Feature list item (small icon + text rows) */
.feature-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-row .icon-box { width: 46px; height: 46px; border-radius: 12px; flex: none; }
.feature-row .icon-box svg { width: 22px; height: 22px; }
.feature-row h4 { font-size: 1.02rem; margin-bottom: 4px; }
.feature-row p { font-size: .92rem; }

/* Checklist */
.checklist { list-style: none; }
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Stats ---------- */
.stats-band { padding: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.stat {
  text-align: center;
  padding: 34px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
}
.stat .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
}
.stat .num .suffix { color: var(--green-400); }
.stat .label {
  font-size: .88rem;
  color: #9dbfb1;
  margin-top: 6px;
}

/* Light stats variant */
.stats-light .stat { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.stats-light .stat .num { color: var(--green-800); }
.stats-light .stat .label { color: var(--muted); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
}
.step .step-num {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--green-600);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .9rem; }

/* ---------- Tech stack ---------- */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.tech-pill {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--green-800);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 22px;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.tech-pill:hover {
  border-color: var(--green-500);
  color: var(--green-600);
  transform: translateY(-2px);
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial .quote { font-size: .98rem; color: var(--slate); font-style: italic; }
.testimonial .stars { color: #f5b301; letter-spacing: 2px; font-size: .95rem; }
.testimonial .person { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex: none;
}
.person .name { font-weight: 700; color: var(--ink); font-size: .95rem; font-family: var(--font-head); }
.person .role { font-size: .82rem; color: var(--muted); }

/* ---------- Portfolio ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 46px;
}
.filter-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate);
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--green-500); color: var(--green-700); }
.filter-btn.active {
  background: var(--green-600);
  border-color: var(--green-600);
  color: #fff;
}

.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-thumb {
  height: 190px;
  display: grid;
  place-items: center;
  position: relative;
}
.project-thumb svg { width: 64px; height: 64px; color: rgba(255,255,255,.92); }
.project-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.project-tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.project-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.project-client { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.project-body p { font-size: .92rem; }
.project-results {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 22px;
}
.project-results .res .val {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-700);
  font-size: 1.05rem;
}
.project-results .res .lbl { font-size: .75rem; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mini-tag {
  font-size: .74rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 6px;
}

/* Gradient thumbs */
.thumb-1 { background: linear-gradient(135deg, #064e3b, #10b981); }
.thumb-2 { background: linear-gradient(135deg, #0f766e, #34d399); }
.thumb-3 { background: linear-gradient(135deg, #065f46, #a3e635); }
.thumb-4 { background: linear-gradient(135deg, #047857, #22d3ee); }
.thumb-5 { background: linear-gradient(135deg, #03231a, #059669); }
.thumb-6 { background: linear-gradient(135deg, #166534, #4ade80); }
.thumb-7 { background: linear-gradient(135deg, #14532d, #86efac); }
.thumb-8 { background: linear-gradient(135deg, #065f46, #fbbf24); }

/* ---------- Pricing ---------- */
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border: 2px solid var(--green-600);
  box-shadow: var(--shadow-md);
}
.price-card .plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: #fff;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
}
.price-card .plan-name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.price-card .plan-price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-800);
  margin: 14px 0 4px;
}
.price-card .plan-price .per { font-size: .95rem; color: var(--muted); font-weight: 500; }
.price-card .plan-desc { font-size: .9rem; margin-bottom: 22px; }
.price-card .checklist { flex: 1; margin-bottom: 26px; }
.price-card .checklist li { font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.faq-q .faq-icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform .25s, background .25s;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--green-600); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a p { padding: 0 24px 22px; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; color: #b7d4c8; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
}
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-800);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 18px;
  font-weight: 500;
}
.form-success.show { display: block; }

/* Spam honeypot — invisible to humans, bots fill it and get silently discarded */
.hp-field {
  position: absolute !important;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Contact info cards */
.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.contact-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: .93rem; }

/* ---------- Team ---------- */
.team-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 24px;
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--green-700), var(--green-400));
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.team-card h3 { font-size: 1.08rem; }
.team-card .role { color: var(--green-600); font-weight: 600; font-size: .85rem; margin: 4px 0 10px; }
.team-card p { font-size: .88rem; }

/* ---------- Value / mission cards ---------- */
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.value-card h4 { margin: 16px 0 8px; font-size: 1.05rem; }
.value-card p { font-size: .92rem; }

/* ---------- Detail page layout ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.detail-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.sidebar-card h4 { font-size: 1rem; margin-bottom: 16px; }
.sidebar-links { list-style: none; }
.sidebar-links li { margin-bottom: 4px; }
.sidebar-links a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--slate);
}
.sidebar-links a:hover { background: #fff; color: var(--green-700); }
.sidebar-links a.active {
  background: var(--green-600);
  color: #fff;
  font-weight: 600;
}
.sidebar-cta {
  background: linear-gradient(160deg, var(--green-950), var(--green-800));
  border: 0;
  color: #cfe4db;
}
.sidebar-cta h4 { color: #fff; }
.sidebar-cta p { font-size: .9rem; margin-bottom: 20px; }

.detail-content h2 { font-size: 1.65rem; margin: 44px 0 18px; }
.detail-content h2:first-child { margin-top: 0; }
.detail-content > p { margin-bottom: 16px; }

/* Hero visual card (home) */
.hero-visual { position: relative; }
.hero-visual .glass {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 26px;
  backdrop-filter: blur(8px);
}
.hero-visual .glass + .glass { margin-top: 18px; }
.chat-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.chat-row:last-child { margin-bottom: 0; }
.chat-bubble {
  background: rgba(255,255,255,.10);
  border-radius: 4px 14px 14px 14px;
  padding: 10px 16px;
  font-size: .88rem;
  color: #dcefe7;
  position: relative;
}
/* While "typing": hide the text (keeps its exact size) and overlay dots */
.chat-row.typing .chat-bubble { color: transparent; }
.chat-row.typing .chat-bubble .typing-dots {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.chat-row.user { flex-direction: row-reverse; }
.chat-row.user .chat-bubble {
  background: var(--green-600);
  color: #fff;
  border-radius: 14px 4px 14px 14px;
}
.chat-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--lime));
  display: grid; place-items: center;
  font-size: .75rem; font-weight: 700; color: var(--green-950);
  font-family: var(--font-head);
  flex: none;
}
.mini-stats { display: flex; gap: 18px; }
.mini-stat { flex: 1; text-align: center; padding: 14px 8px; background: rgba(255,255,255,.05); border-radius: 12px; }
.mini-stat .v { font-family: var(--font-head); font-weight: 700; color: var(--green-400); font-size: 1.3rem; }
.mini-stat .l { font-size: .7rem; color: #9dbfb1; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(160deg, var(--green-950), #052e22);
  color: #9dbfb1;
  padding: 72px 0 0;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 52px;
}
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand .tld { color: var(--green-400); }
.site-footer h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 20px;
  letter-spacing: .02em;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #9dbfb1; }
.footer-links a:hover { color: var(--green-400); }
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--green-400); }
.footer-contact a { color: #9dbfb1; }
.footer-contact a:hover { color: var(--green-400); }
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  color: #cfe4db;
  transition: all .2s;
}
.social-row a:hover { background: var(--green-600); color: #fff; transform: translateY(-2px); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
}
.footer-bottom a { color: #9dbfb1; }
.footer-bottom a:hover { color: var(--green-400); }

/* ---------- Product hero media ---------- */
.product-hero-grid { grid-template-columns: 1fr 1.1fr; gap: 44px; }
.product-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.product-hero-ph {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 96px 30px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.product-hero-ph .icon-box {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.product-hero-ph .ph-name { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.product-hero-ph .ph-tag { color: #9dbfb1; font-size: .9rem; margin-top: 6px; }
.product-side-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Uploaded images ---------- */
.project-thumb.has-img { padding: 0; }
.project-thumb.has-img img { width: 100%; height: 100%; object-fit: cover; }
.team-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 3px solid var(--green-100);
}
.avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

/* ---------- Blog ---------- */
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-cover {
  height: 200px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green-900), var(--green-600));
  overflow: hidden;
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover svg { width: 56px; height: 56px; color: rgba(255,255,255,.9); }
.post-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: .78rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.post-meta .dot-sep { opacity: .5; }
.post-body h3 { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.35; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--green-700); }
.post-body p { font-size: .92rem; flex: 1; }
.post-body .card-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }

/* Blog article page */
.article-wrap { max-width: 800px; margin: 0 auto; }
.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}
.article-cover img { width: 100%; max-height: 420px; object-fit: cover; }
.post-hero-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
  color: #9dbfb1;
  font-size: .88rem;
}
.post-hero-meta .tag-pill {
  background: rgba(16,185,129,.14);
  border: 1px solid rgba(16,185,129,.35);
  color: var(--green-400);
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Markdown prose */
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.18rem; margin: 30px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose blockquote {
  border-left: 4px solid var(--green-500);
  background: var(--bg-soft);
  padding: 16px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0 0 18px;
  font-style: italic;
}
.prose code {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .88em;
}
.prose a { font-weight: 600; }
.prose img { border-radius: var(--radius-sm); margin: 10px 0 18px; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .6); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float .wa-label {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.wa-float:hover .wa-label { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .wnchat-fab, .wnchat-fab::before, .wnchat-fab .spark-mini, .wnchat-fab .spark-main { animation: none; }
}
@media (max-width: 540px) { .wa-float { right: 16px; bottom: 16px; } .wa-float .wa-label { display: none; } }

/* ---------- AI chat widget ---------- */
.wa-float.raised { bottom: 92px; }

.wnchat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  /* living gradient — reads as "AI", not a plain chat button */
  background: linear-gradient(135deg, var(--green-700), var(--green-500), var(--lime), var(--green-400), var(--green-700));
  background-size: 320% 320%;
  animation: aiGradient 7s ease-in-out infinite;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(5, 150, 105, .5);
  transition: transform .2s, opacity .2s;
}
.wnchat-fab:hover { transform: scale(1.08); }
.wnchat-fab.hidden { opacity: 0; pointer-events: none; }
@keyframes aiGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* pulse ring */
.wnchat-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green-500);
  animation: pulseRing 2.2s ease-out infinite;
}
.wnchat-fab.hidden::before { animation: none; }
@keyframes pulseRing {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}
.wnchat-fab svg { width: 30px; height: 30px; }
/* the sparkles twinkle — the "alive" AI touch */
.wnchat-fab .spark-mini,
.wnchat-fab .spark-main {
  transform-box: fill-box;
  transform-origin: center;
}
.wnchat-fab .spark-mini { animation: sparkTwinkle 2.6s ease-in-out infinite; }
.wnchat-fab .spark-main { animation: sparkTwinkle 2.6s ease-in-out infinite 1.3s; }
@keyframes sparkTwinkle {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.45) rotate(45deg); opacity: .35; }
}
/* "AI" corner badge — no ambiguity about what's behind the button */
.wnchat-fab-ai {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, var(--lime), var(--green-400));
  color: var(--green-950);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 999px;
  border: 2px solid #fff;
}

/* teaser pill — invites the first click */
.wnchat-teaser {
  position: fixed;
  right: 90px;
  bottom: 32px;
  z-index: 94;
  border: 1px solid var(--green-100);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  padding: 11px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(6, 78, 59, .22);
  cursor: pointer;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.wnchat-teaser.show { opacity: 1; transform: none; pointer-events: auto; }
.wnchat-teaser:hover { border-color: var(--green-400); }
.wnchat-teaser .tz-spark { color: var(--green-600); margin-right: 2px; }

.wnchat-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120; /* above the sticky site header */
  width: 372px;
  max-width: calc(100vw - 24px);
  height: 540px;
  max-height: calc(100vh - 110px); /* never reaches under the header */
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(6, 78, 59, .35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.wnchat-panel.open { opacity: 1; transform: none; pointer-events: auto; }

.wnchat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
  color: #fff;
  flex: none;
}
.wnchat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: grid;
  place-items: center;
  flex: none;
}
.wnchat-avatar svg { width: 20px; height: 20px; }
.wnchat-title { line-height: 1.25; min-width: 0; }
.wnchat-title b { font-family: var(--font-head); font-size: 1rem; display: block; }
.wnchat-title span { font-size: .72rem; color: #9dbfb1; }
.wnchat-close {
  margin-left: auto;
  background: none;
  border: 0;
  color: #cfe4db;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.wnchat-close:hover { color: #fff; }

.wnchat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wnchat-row { display: flex; }
.wnchat-row.user { justify-content: flex-end; }
.wnchat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  font-size: .9rem;
  line-height: 1.5;
  border-radius: 4px 14px 14px 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--slate);
  white-space: pre-wrap;
  word-wrap: break-word;
}
.wnchat-row.user .wnchat-bubble {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: #fff;
  border: 0;
  border-radius: 14px 4px 14px 14px;
}
.wnchat-bubble .typing-dots i { background: var(--green-600); }

.wnchat-input {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
  background: #fff;
  flex: none;
}
.wnchat-input input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--ink);
  outline: none;
}
.wnchat-input input:focus { border-color: var(--green-500); }
.wnchat-input button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.wnchat-input button svg { width: 18px; height: 18px; }
.wnchat-input button:hover { filter: brightness(1.08); }

.wnchat-foot {
  text-align: center;
  font-size: .68rem;
  color: var(--muted);
  padding: 6px 10px 9px;
  background: #fff;
  flex: none;
}

@media (max-width: 540px) {
  .wnchat-panel { right: 12px; bottom: 12px; width: calc(100vw - 24px); height: 76vh; }
  .wnchat-fab { right: 16px; bottom: 16px; }
  .wnchat-teaser { right: 82px; bottom: 26px; font-size: .82rem; padding: 10px 13px; }
  .wa-float.raised { bottom: 86px; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 520px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-cta { display: none; }
}

@media (max-width: 820px) {
  section { padding: 64px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 22px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    z-index: 99;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav > a, .nav-item > a {
    font-size: 1.05rem;
    padding: 14px 16px;
    border-bottom: 1px solid var(--bg-soft);
    display: block;
  }
  .nav-item .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 18px;
    min-width: 0;
    display: none;
  }
  .nav-item.open .dropdown { display: block; }
  .hero { padding: 72px 0 84px; }
  .cta-band { padding: 48px 26px; }
}

@media (max-width: 540px) {
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
