/* ─────────────────────────────────────────────────────────────
   LeadForge Studio · stylesheet
   White/black premium, Inter, soft borders, generous space.
   ───────────────────────────────────────────────────────────── */

:root{
  --bg: #ffffff;
  --bg-soft: #f8f8f8;
  --bg-tint: #fafafa;
  --ink: #111111;
  --ink-2: #1a1a1a;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --line: rgba(17,17,17,.08);
  --line-strong: rgba(17,17,17,.14);
  --card: #ffffff;
  --accent: #111111;        /* tweakable */
  --accent-soft: rgba(17,17,17,.06);
  --accent-ink: #ffffff;    /* text on accent */
  --shadow-sm: 0 1px 2px rgba(17,17,17,.04), 0 1px 1px rgba(17,17,17,.03);
  --shadow-md: 0 1px 2px rgba(17,17,17,.04), 0 8px 24px -8px rgba(17,17,17,.08);
  --shadow-lg: 0 1px 2px rgba(17,17,17,.04), 0 24px 48px -16px rgba(17,17,17,.18);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 28px;
  --r-3xl: 36px;
  --container: 1240px;
  --pad: clamp(24px, 4vw, 56px);
  --section-pad: clamp(80px, 9vw, 140px);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

::selection { background: var(--ink); color: #fff; }

/* ─────────  Container  ───────── */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ─────────  Typography  ───────── */
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
h1{
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}
h1 em{ font-style: normal; color: var(--muted); font-weight: 500; }
h2{
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}
h2 em{ font-style: normal; color: var(--muted); font-weight: 500; }
h3{
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p { margin: 0; color: var(--muted); }
p.lead{
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}

.kicker{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
}
.kicker::before{ content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.kicker-inverse{ color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.kicker-inverse::before{ background: #fff; }

.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}
.dot-live{
  width: 7px; height: 7px; border-radius: 50%; background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,.15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16,185,129,.15); }
  50%      { box-shadow: 0 0 0 7px rgba(16,185,129,0); }
}

/* ─────────  Buttons  ───────── */
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px;
  font-family: var(--font); font-size: 14.5px; font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
  user-select: none;
}
.btn-sm{ height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn-lg{ height: 54px; padding: 0 26px; font-size: 15.5px; border-radius: 14px; }
.btn-block{ display: flex; width: 100%; justify-content: center; }
.btn-primary{
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 1px 2px rgba(17,17,17,.16), 0 8px 24px -10px rgba(17,17,17,.4);
}
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 1px 2px rgba(17,17,17,.18), 0 14px 32px -12px rgba(17,17,17,.45); }
.btn-primary svg{ transition: transform .35s cubic-bezier(.2,.7,.2,1.2); }
.btn-primary:hover svg{ transform: translateX(3px); }
.btn-ghost{
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover{ background: var(--bg-soft); transform: translateY(-1px); }
.play-circle{
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-wa{ color: #128c7e; border-color: rgba(18,140,126,.22); }
.btn-wa:hover{ background: rgba(18,140,126,.05); }

/* ─────────  Nav  ───────── */
.nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.7);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled{
  background: rgba(255,255,255,.85);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(17,17,17,.02);
}
.nav-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand{ display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.brand-mark{
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-name{ font-size: 16px; letter-spacing: -.015em; }
.brand-dot{ color: var(--accent); }

.nav-links{ display: flex; gap: 6px; align-items: center; }
.nav-links a{
  font-size: 14px; color: var(--muted);
  padding: 8px 12px; border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover{ color: var(--ink); background: var(--bg-soft); }

.nav-cta{ display: flex; align-items: center; gap: 10px; }
.nav-burger{
  display: none;
  background: transparent; border: 1px solid var(--line-strong);
  width: 38px; height: 38px; border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; cursor: pointer;
}
.nav-burger span{ display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .2s; }

.nav-mobile{
  display: none;
  background: #fff; border-top: 1px solid var(--line);
  padding: 16px var(--pad) 24px;
  flex-direction: column; gap: 4px;
}
.nav-mobile a{
  padding: 10px 8px;
  color: var(--ink);
  border-radius: 8px;
  font-size: 15px;
}
.nav-mobile a.btn-primary{ color: #fff; margin-top: 10px; justify-content: center; }

/* ─────────  Hero  ───────── */
.hero{
  position: relative;
  padding-top: clamp(140px, 14vh, 180px);
  padding-bottom: var(--section-pad);
  overflow: hidden;
}
.bg-gradients{ position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob{
  position: absolute; border-radius: 50%; filter: blur(80px);
  opacity: .55; mix-blend-mode: multiply;
}
.blob-a{
  width: 520px; height: 520px;
  left: -120px; top: -80px;
  background: radial-gradient(circle at 30% 30%, oklch(0.94 0.03 250 / .65), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.blob-b{
  width: 480px; height: 480px;
  right: -100px; top: 80px;
  background: radial-gradient(circle at 60% 40%, oklch(0.94 0.025 80 / .55), transparent 70%);
  animation: drift 22s ease-in-out -6s infinite alternate-reverse;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(40px,30px,0) scale(1.08); }
}

.hero-grid{
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-copy > * + *{ margin-top: 24px; }
.cta-row{ display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row-center{ justify-content: center; }
.trust-row{
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  list-style: none; padding: 0; margin: 0;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.trust-row li{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--muted);
}
.trust-row svg{ color: var(--ink); flex-shrink: 0; }

/* Hero visual */
.hero-visual{
  position: relative;
  aspect-ratio: 5 / 4.4;
  min-height: 460px;
}
.dash{
  position: absolute; inset: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.dash-chrome{
  height: 38px; flex-shrink: 0;
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, #fcfcfc, #f7f7f7);
}
.dash-chrome .dot{ width: 9px; height: 9px; border-radius: 50%; background: #e5e5e5; }
.dash-chrome .d1{ background: #ff5f57; }
.dash-chrome .d2{ background: #febc2e; }
.dash-chrome .d3{ background: #28c840; }
.dash-url{
  flex: 1; text-align: center;
  font: 11px/1 var(--mono);
  color: var(--muted-2);
  padding-right: 50px;
  letter-spacing: .02em;
}
.dash-body{
  padding: 18px;
  display: flex; flex-direction: column;
  gap: 14px;
  flex: 1;
  min-height: 0;
}
.dash-row{ display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.dash-kpi{
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.kpi-label{ font-size: 11px; color: var(--muted); letter-spacing: .01em; }
.kpi-value{
  display: flex; align-items: baseline; gap: 8px;
  font-size: 22px; font-weight: 600; color: var(--ink);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.kpi-delta{
  font-size: 11px; font-weight: 500; font-style: normal;
  color: var(--muted);
  padding: 2px 6px; border-radius: 6px; background: rgba(17,17,17,.04);
}
.kpi-delta.up{ color: #10785a; background: rgba(16,185,129,.1); }

.dash-chart{
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px 10px;
  position: relative;
  flex: 1;
  min-height: 100px;
  display: flex; flex-direction: column;
}
.dash-chart svg{ width: 100%; flex: 1; min-height: 0; }
.chart-line{
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 1.6s ease-out .4s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart-pt, .chart-pt-halo{ opacity: 0; animation: ptFade .6s ease-out 1.6s forwards; }
.chart-pt-halo{ animation: ptHalo 2.4s ease-out 1.6s infinite; }
@keyframes ptFade { to { opacity: 1; } }
@keyframes ptHalo {
  0%   { opacity: .35; r: 4; }
  100% { opacity: 0;   r: 14; }
}
.chart-legend{
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--muted);
}
.chart-legend span{ display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i{ width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.legend-range{ font: 10px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }

.dash-list{ display: flex; flex-direction: column; gap: 6px; }
.dash-item{
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
}
.dash-item-meta{ flex: 1; display: flex; flex-direction: column; }
.dash-item-meta strong{ font-size: 13px; font-weight: 500; color: var(--ink); }
.dash-item-meta span{ font-size: 11.5px; color: var(--muted); }
.pill{
  font-size: 10.5px; font-weight: 500;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(17,17,17,.05); color: var(--ink);
  letter-spacing: .02em;
}
.pill-new{ background: rgba(17,17,17,.92); color: #fff; }
.pill-ok{ background: rgba(16,185,129,.1); color: #10785a; }

.avatar{
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 10.5px; font-weight: 600; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: .02em;
  flex-shrink: 0;
}
.a1{ background: linear-gradient(135deg, #1f2937, #4b5563); }
.a2{ background: linear-gradient(135deg, #475569, #94a3b8); }
.a3{ background: linear-gradient(135deg, #292524, #78716c); }

/* Floating cards over dashboard */
.float-card{
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.float-chat{
  left: -80px; top: 32px;
  width: 250px;
  padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
  animation: floatY 6s ease-in-out infinite;
}
.chat-head{ display: flex; align-items: center; gap: 8px; padding: 0 2px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.chat-avatar{
  width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.chat-meta{ display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.chat-meta strong{ font-size: 11.5px; font-weight: 500; color: var(--ink); }
.chat-meta span{ font-size: 10px; color: var(--muted); }
.chat-pulse{ width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.18); }
.chat-msg{
  font-size: 12px; line-height: 1.4;
  padding: 7px 10px; border-radius: 10px;
  max-width: 90%;
}
.chat-them{ background: var(--bg-soft); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-you{ background: var(--ink); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-success{ display: inline-flex; align-items: center; gap: 6px; color: #10785a; background: rgba(16,185,129,.1); }
.typing-dots{ display: inline-flex; gap: 3px; padding: 4px 2px; }
.typing-dots i{ width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: typing 1.2s ease-in-out infinite; }
.typing-dots i:nth-child(2){ animation-delay: .15s; }
.typing-dots i:nth-child(3){ animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }

.float-stat{
  right: -24px; bottom: 32px;
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 2px;
  animation: floatY 7s ease-in-out -2s infinite;
}
.float-stat-num{ font-size: 28px; font-weight: 600; letter-spacing: -.025em; color: var(--ink); font-variant-numeric: tabular-nums; }
.float-stat-label{ font-size: 11.5px; color: var(--muted); max-width: 130px; line-height: 1.3; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ─────────  Industries  ───────── */
.industries{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  background: var(--bg);
}
.industries-label{
  text-align: center;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.industries-row{
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.ind{
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted);
  font-size: 14px; font-weight: 500;
  letter-spacing: -.005em;
  transition: color .3s ease;
}
.ind:hover{ color: var(--ink); }
.ind svg{ color: var(--ink); opacity: .55; transition: opacity .3s ease; }
.ind:hover svg{ opacity: 1; }

/* ─────────  Stats  ───────── */
.stats{
  padding: var(--section-pad) 0;
}
.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.stat{
  background: var(--bg);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 6px;
}
.stat-num{
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-label{ font-size: 13.5px; color: var(--muted); }

/* ─────────  Section heads  ───────── */
.section-head{
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.section-head-left{
  text-align: left;
  margin: 0;
  align-items: flex-start;
}
.section-sub{
  font-size: 17px;
  color: var(--muted);
  max-width: 56ch;
}

/* ─────────  Services  ───────── */
.services{
  padding: var(--section-pad) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card{
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 26px 24px;
  transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .35s ease, border-color .35s ease;
  display: flex; flex-direction: column;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.svc-icon{
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  margin-bottom: 22px;
  transition: background .3s ease, color .3s ease;
}
.card:hover .svc-icon{ background: var(--ink); color: #fff; }
.svc h3{ margin-bottom: 8px; }
.svc > p{ font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.svc-points{
  list-style: none; padding: 0; margin: 0 0 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.svc-points li{
  font-size: 13.5px; color: var(--muted);
  position: relative; padding-left: 18px;
}
.svc-points li::before{
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px;
  border-left: 1.4px solid var(--ink);
  border-bottom: 1.4px solid var(--ink);
  transform: rotate(-45deg);
  border-radius: 1px;
}
.card-arrow{
  position: absolute; top: 28px; right: 26px;
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .3s ease, transform .3s ease, background .3s ease, color .3s ease;
}
.card:hover .card-arrow{
  opacity: 1; transform: translate(0,0);
  background: var(--ink); color: #fff;
}

/* ─────────  Process / Timeline  ───────── */
.process{ padding: var(--section-pad) 0; }
.timeline{
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.timeline::before{
  content: ""; position: absolute;
  left: 28px; right: 28px; top: 24px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line-strong) 0 6px, transparent 6px 12px);
}
.step{
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px 22px 22px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}
.step:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 14px/1 var(--mono);
  letter-spacing: .04em;
}
.step h3{ margin-top: 4px; }
.step p{ font-size: 14px; color: var(--muted); }
.step-meta{
  margin-top: auto;
  font: 11px/1 var(--mono);
  color: var(--muted-2);
  letter-spacing: .04em;
  text-transform: uppercase;
  padding-top: 8px;
}

/* ─────────  Portfolio  ───────── */
.portfolio{
  padding: var(--section-pad) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.portfolio-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proj{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.2,.6,.2,1), box-shadow .4s ease;
}
.proj:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.proj-media{
  aspect-ratio: 4 / 3;
  position: relative;
  background:
    repeating-linear-gradient(135deg, #ececec 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #f0f0f0, #e9e9e9);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 18px;
  overflow: hidden;
}
.proj-media::after{
  content: attr(data-label);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font: 10.5px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(17,17,17,.32);
  white-space: nowrap;
}
.proj-overlay{ position: relative; z-index: 1; }
.proj-tag{
  display: inline-block;
  font-size: 11px; font-weight: 500;
  padding: 6px 10px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
}
.proj-body{ padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.proj-title{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.proj-title h3{ font-size: 20px; }
.proj-year{ font: 11px/1 var(--mono); color: var(--muted-2); letter-spacing: .04em; }
.proj-media.proj-media-img::after{ display: none; }

.proj p{ font-size: 14px; color: var(--muted); }
.proj-results{
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.proj-results li{ display: flex; flex-direction: column; gap: 2px; }
.proj-results strong{ font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.proj-results span{ font-size: 11px; color: var(--muted); }
.proj-cta{
  margin-top: 4px;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
}
.proj-cta span{ transition: transform .3s ease; }
.proj-cta:hover span{ transform: translate(2px, -2px); }

/* ─────────  Pricing  ───────── */
.pricing{ padding: var(--section-pad) 0; }
.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pricing-grid-2{
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.tier{
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 32px 30px 30px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.tier:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tier header h3{ font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.tier header p{ font-size: 14px; color: var(--muted); }
.tier-price{ display: flex; align-items: baseline; gap: 4px; margin-top: -4px; }
.tier-price .cur{ font-size: 22px; color: var(--muted); font-weight: 500; }
.tier-price .amount{
  font-size: 56px; font-weight: 600; letter-spacing: -.04em; color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tier-price .amount-plus{ font-size: 32px; color: var(--muted); font-weight: 500; }
.tier-note{ font-size: 12px; color: var(--muted); margin-top: -10px; letter-spacing: .02em; }
.tier-list{
  list-style: none; padding: 18px 0 0; margin: 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.tier-list li{
  font-size: 14px; color: var(--ink);
  padding-left: 24px; position: relative;
}
.tier-list li::before{
  content: ""; position: absolute; left: 0; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-soft);
  background-image: linear-gradient(135deg, transparent 0, transparent 100%);
}
.tier-list li::after{
  content: ""; position: absolute; left: 4px; top: 8px;
  width: 6px; height: 3px;
  border-left: 1.4px solid var(--ink);
  border-bottom: 1.4px solid var(--ink);
  transform: rotate(-45deg);
}
.tier-pop{
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: scale(1.02);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 30px 60px -20px rgba(17,17,17,.45);
}
.tier-pop:hover{ transform: translateY(-4px) scale(1.02); }
.tier-pop header h3, .tier-pop header p, .tier-pop .tier-list li, .tier-pop .tier-note{ color: rgba(255,255,255,.7); }
.tier-pop header h3{ color: rgba(255,255,255,.6); }
.tier-pop .tier-list li{ color: #fff; }
.tier-pop .tier-list{ border-top-color: rgba(255,255,255,.12); }
.tier-pop .tier-list li::before{ background: rgba(255,255,255,.1); }
.tier-pop .tier-list li::after{ border-color: #fff; }
.tier-pop .tier-price .cur, .tier-pop .tier-price .amount-plus{ color: rgba(255,255,255,.6); }
.tier-pop .tier-price .amount{ color: #fff; }
.tier-pop .btn-primary{
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px -10px rgba(0,0,0,.4);
}
.tier-pop .btn-primary:hover{ background: #f5f5f5; }
.tier-badge{
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--ink);
  font-size: 11px; font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pricing-foot{
  text-align: center;
  font-size: 13.5px; color: var(--muted);
  margin-top: 32px;
}

/* ─────────  Testimonials  ───────── */
.testimonials{
  padding: var(--section-pad) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quotes{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 26px;
  margin: 0;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.quote:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stars{ display: inline-flex; gap: 2px; color: var(--ink); font-size: 14px; }
.quote blockquote{
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -.005em;
}
.quote figcaption{
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.quote figcaption strong{ display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.quote figcaption span{ font-size: 12px; color: var(--muted); }
.quote .avatar{
  width: 40px; height: 40px; font-size: 12px;
  position: relative;
  border: 1px solid var(--line);
}
.quote .avatar::after{
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font: 8px/1 var(--mono); color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  opacity: 0;
}

/* ─────────  FAQ  ───────── */
.faq{
  padding: var(--section-pad) 0;
}
.faq-wrap{
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq-contact{ margin-top: 10px; }
.faq-list{
  border-top: 1px solid var(--line);
}
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-item summary{
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-size: 17px; font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  transition: color .25s ease;
}
.faq-item summary:hover{ color: #000; }
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-chev{
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .35s ease, background .35s ease, color .35s ease;
  position: relative;
}
.faq-chev::before, .faq-chev::after{
  content: ""; position: absolute;
  width: 11px; height: 1.5px;
  background: var(--ink);
  transition: transform .35s ease;
}
.faq-chev::after{ transform: rotate(90deg); }
.faq-item[open] .faq-chev{ background: var(--ink); }
.faq-item[open] .faq-chev::before, .faq-item[open] .faq-chev::after{ background: #fff; }
.faq-item[open] .faq-chev::after{ transform: rotate(0); }
.faq-body{
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease;
}
.faq-item[open] .faq-body{ max-height: 240px; }
.faq-body p{
  padding: 0 4px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 70ch;
}

/* ─────────  Final CTA  ───────── */
.final-cta{
  padding: 0 0 var(--section-pad);
}
.final-cta-card{
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-3xl);
  padding: clamp(60px, 8vw, 100px) clamp(32px, 6vw, 80px);
  overflow: hidden;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.final-cta-card h2{ color: #fff; }
.final-cta-card > p{
  font-size: 17px; color: rgba(255,255,255,.7);
  max-width: 56ch;
  margin: 0 auto;
}
.final-bg{ overflow: hidden; }
.blob-c{
  position: absolute;
  width: 700px; height: 700px;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,.05), transparent 60%);
  border-radius: 50%;
  filter: blur(40px);
  animation: drift 14s ease-in-out infinite alternate;
}
.final-cta-card .btn-primary{
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 14px 32px -10px rgba(0,0,0,.4);
}
.final-cta-card .btn-primary:hover{ background: #f3f3f3; }
.final-cta-card .btn-ghost{
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.18);
}
.final-cta-card .btn-ghost:hover{ background: rgba(255,255,255,.06); }
.final-cta-card .btn-wa{ color: #fff; border-color: rgba(255,255,255,.18); }
.final-cta-card .btn-wa:hover{ background: rgba(255,255,255,.06); }
.cta-fineprint{
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  margin-top: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
}
.cta-fineprint span{ display: inline-flex; align-items: center; gap: 6px; }
.cta-fineprint svg{ color: rgba(255,255,255,.5); }

/* ─────────  Footer  ───────── */
.footer{ background: var(--bg); border-top: 1px solid var(--line); padding-top: 72px; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand p{ font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 36ch; line-height: 1.55; }
.socials{ display: flex; gap: 8px; margin-top: 22px; }
.socials a{
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.socials a:hover{ background: var(--ink); color: #fff; border-color: var(--ink); }
.footer-col h4{
  font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer-col ul{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span{ font-size: 14px; color: var(--ink); transition: color .2s ease; }
.footer-col a:hover{ color: var(--muted); }
.footer-col span{ color: var(--muted); }
.footer-bottom{
  border-top: 1px solid var(--line);
  padding: 22px 0;
  font-size: 12.5px; color: var(--muted);
}
.footer-bottom .container{ display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a{ color: var(--ink); }

/* ─────────  Floating WhatsApp  ───────── */
.fab-wa{
  position: fixed; bottom: 24px; right: 24px; z-index: 44;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -8px rgba(37,211,102,.5), 0 1px 2px rgba(0,0,0,.18);
  transition: transform .25s ease;
}
.fab-wa:hover{ transform: translateY(-3px) scale(1.04); }
.fab-wa-pulse{
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse{
  0%  { transform: scale(1);   opacity: .5; }
  100%{ transform: scale(1.7); opacity: 0; }
}

/* ─────────  AI Chatbot  ───────── */
.cb-toggle{
  position: fixed; bottom: 86px; right: 24px; z-index: 45;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%); color: #fff;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 0 3px rgba(139,92,246,.25),
    0 0 0 7px rgba(139,92,246,.1),
    0 8px 24px -8px rgba(99,102,241,.55);
  transition: transform .25s ease, background .25s ease;
  animation: cbGlow 2.8s ease-in-out infinite, cbBounce 6s ease-in-out 4s infinite;
}
.cb-toggle:hover{ transform: translateY(-3px) scale(1.06); }
.cb-toggle-open{
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
  box-shadow: 0 8px 24px -8px rgba(17,17,17,.45);
  animation: none;
}
@keyframes cbGlow{
  0%, 100%{
    box-shadow:
      0 0 0 3px rgba(16,185,129,.22),
      0 0 0 7px rgba(16,185,129,.08),
      0 8px 24px -8px rgba(17,17,17,.5);
  }
  50%{
    box-shadow:
      0 0 0 4px rgba(16,185,129,.38),
      0 0 0 10px rgba(16,185,129,.14),
      0 8px 24px -8px rgba(17,17,17,.5);
  }
}
@keyframes cbBounce{
  0%, 70%, 100%{ transform: translateY(0); }
  75%{ transform: translateY(-6px); }
  80%{ transform: translateY(-2px); }
  85%{ transform: translateY(-5px); }
  90%{ transform: translateY(0); }
}
.robot-eye{
  animation: eyeBlink 5s ease-in-out infinite;
}
.robot-eye-r{ animation-delay: .08s; }
@keyframes eyeBlink{
  0%, 85%, 93%, 100%{ transform: scaleY(1); }
  89%{ transform: scaleY(0.08); }
}
.antenna-pulse{
  animation: antennaPulse 2.4s ease-out infinite;
}
@keyframes antennaPulse{
  0%{ transform: scale(1); opacity: .3; }
  100%{ transform: scale(3); opacity: 0; }
}
.cb-panel{
  position: fixed; bottom: 152px; right: 24px; z-index: 45;
  width: 340px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: cbSlideUp .35s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes cbSlideUp{
  from{ opacity: 0; transform: translateY(16px) scale(.97); }
  to  { opacity: 1; transform: none; }
}
.cb-head{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%); color: #fff;
  flex-shrink: 0;
}
.cb-head-info{ display: flex; align-items: center; gap: 10px; }
.cb-avatar{
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 12px/1 var(--font); color: #fff;
  flex-shrink: 0;
}
.cb-head-info strong{ display: block; font-size: 14px; font-weight: 600; }
.cb-head-info span{ display: block; font-size: 11px; color: rgba(255,255,255,.65); }
.cb-close{
  background: rgba(255,255,255,.1); border: none;
  width: 28px; height: 28px; border-radius: 50%;
  color: #fff; cursor: pointer; font-size: 18px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.cb-close:hover{ background: rgba(255,255,255,.22); }
.cb-messages{
  flex: 1;
  max-height: 320px;
  min-height: 200px;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 8px;
  scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.cb-msg{
  max-width: 88%;
  font-size: 13.5px; line-height: 1.5;
  padding: 9px 12px;
  border-radius: 12px;
  animation: msgIn .25s ease both;
  white-space: pre-wrap;
  word-break: break-word;
}
@keyframes msgIn{ from{ opacity:0; transform: translateY(6px); } }
.cb-msg-bot{
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.cb-msg-user{
  background: var(--ink); color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.cb-loading{
  display: inline-flex; gap: 4px; align-items: center;
  padding: 12px 14px;
}
.cb-loading span{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
  animation: cbDot 1.2s ease-in-out infinite;
}
.cb-loading span:nth-child(2){ animation-delay: .15s; }
.cb-loading span:nth-child(3){ animation-delay: .3s; }
@keyframes cbDot{
  0%, 60%, 100%{ transform: translateY(0); opacity:.4; }
  30%{ transform: translateY(-4px); opacity:1; }
}
.cb-input-row{
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.cb-input{
  flex: 1;
  font: 13.5px/1 var(--font);
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 9px 12px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.cb-input::placeholder{ color: var(--muted-2); }
.cb-input:focus{ border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,17,.06); }
.cb-send{
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; border: none;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.cb-send:hover:not(:disabled){ transform: scale(1.08); }
.cb-send:disabled{ background: var(--muted-2); cursor: not-allowed; }
.cb-footer{
  font-size: 10.5px; color: var(--muted-2);
  text-align: center;
  padding: 6px 14px 10px;
  border-top: 1px solid var(--line);
  letter-spacing: .01em;
}

/* ─────────  Reveal animations  ───────── */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal{ opacity: 1; transform: none; transition: none; }
  .blob, .float-card, .fab-wa-pulse, .dot-live, .chart-pt-halo{ animation: none !important; }
}

/* ─────────  Responsive  ───────── */

/* ── Tablet / large tablet (≤ 1080px) ─── */
@media (max-width: 1080px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ min-height: 420px; max-width: 560px; margin: 0 auto; width: 100%; }
  .services-grid, .portfolio-grid, .quotes{ grid-template-columns: repeat(2, 1fr); }
  .timeline{ grid-template-columns: repeat(2, 1fr); }
  .timeline::before{ display: none; }
  .pricing-grid{ grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .tier-pop{ transform: none; }
  .footer-grid{ grid-template-columns: repeat(2, 1fr); }
  .faq-wrap{ grid-template-columns: 1fr; }
}

/* ── Mobile (≤ 720px) ─── */
@media (max-width: 720px){
  /* ─ Root tokens ─ */
  :root{ --section-pad: clamp(52px, 13vw, 80px); }

  /* ─ Typography ─ */
  h1{ font-size: clamp(30px, 8.5vw, 40px); letter-spacing: -0.025em; }
  h2{ font-size: clamp(26px, 7vw, 34px); }
  p.lead{ font-size: 15.5px; line-height: 1.55; }
  .section-sub{ font-size: 15.5px; }
  .section-head{ margin-bottom: 36px; gap: 12px; }

  /* ─ Nav ─ */
  .nav-links{ display: none; }
  .nav-burger{ display: inline-flex; }
  .nav-cta .btn:not(.nav-burger){ display: none; }
  .nav.open .nav-mobile{ display: flex; }
  .nav-inner{ padding: 12px var(--pad); }
  .nav-mobile{ padding: 12px var(--pad) 20px; gap: 2px; }
  .nav-mobile a{
    padding: 13px 10px;
    font-size: 15.5px;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 10px;
  }
  .nav-mobile a:hover{ background: var(--bg-soft); }
  .nav-mobile .btn-primary{
    height: 52px; font-size: 15px;
    margin-top: 10px; justify-content: center; border-radius: 12px;
  }

  /* ─ Hero ─ */
  .hero{ padding-top: clamp(90px, 18vw, 110px); }
  .hero-copy > * + *{ margin-top: 18px; }
  .cta-row{ gap: 10px; }
  .trust-row{ margin-top: 22px; padding-top: 18px; gap: 8px 16px; }
  .trust-row li{ font-size: 12.5px; }

  /* Hide floating cards — prevents overflow & clutter on small screens */
  .float-chat{ display: none; }
  .float-stat{ display: none; }
  /* Shrink dashboard mockup to proportional height */
  .hero-visual{ min-height: 0; aspect-ratio: 5 / 3.6; max-width: 100%; }

  /* ─ Buttons — larger touch targets ─ */
  .btn{
    height: 50px; padding: 0 22px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .btn-sm{ height: 42px; padding: 0 16px; }
  .btn-lg{ height: 56px; padding: 0 28px; }

  /* ─ Industries — 2-col grid ─ */
  .industries{ padding: 28px 0; }
  .industries-row{
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 10px; justify-items: start;
  }
  .ind{ padding: 6px 10px; font-size: 13.5px; }

  /* ─ Stats ─ */
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
  .stat{ padding: 26px 20px; }
  .stat-num{ font-size: clamp(32px, 9vw, 44px); }
  .stat-label{ font-size: 13px; }

  /* ─ Services / Portfolio / Quotes ─ */
  .services-grid, .portfolio-grid, .quotes{ grid-template-columns: 1fr; }
  .card{ padding: 22px 20px 20px; }
  .svc-icon{ margin-bottom: 16px; }

  /* ─ Process ─ */
  .step{ padding: 20px 18px 18px; }

  /* ─ Pricing ─ */
  .pricing-grid-2{ max-width: 100%; }
  .tier{ padding: 26px 22px 24px; }
  .tier-price .amount{ font-size: 48px; }

  /* ─ Testimonials ─ */
  .quote{ padding: 22px 18px; }
  .quote blockquote{ font-size: 15px; }

  /* ─ FAQ ─ */
  .faq-item summary{
    font-size: 15.5px; padding: 18px 4px;
    gap: 14px; min-height: 52px;
  }
  .faq-chev{ width: 28px; height: 28px; flex-shrink: 0; }
  .faq-body p{ font-size: 14.5px; }

  /* ─ Final CTA ─ */
  .final-cta-card{
    border-radius: var(--r-xl);
    padding: clamp(44px, 11vw, 64px) clamp(22px, 6vw, 44px);
  }
  .cta-row-center{ flex-direction: column; align-items: stretch; }
  .cta-row-center .btn{
    width: 100%; max-width: 360px;
    align-self: center; justify-content: center;
  }
  .cta-fineprint{ gap: 12px; font-size: 11.5px; }

  /* ─ Footer ─ */
  .footer{ padding-top: 48px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 40px; }
  .footer-bottom .container{ flex-direction: column; align-items: flex-start; gap: 8px; }

  /* ─ Floating buttons ─ */
  .fab-wa{ bottom: 20px; right: 16px; width: 50px; height: 50px; }
  .cb-toggle{ bottom: 80px; right: 16px; width: 50px; height: 50px; }

  /* ─ Chatbot panel — near full-width on mobile ─ */
  .cb-panel{
    width: calc(100vw - 24px); right: 12px;
    bottom: 144px;
    max-height: calc(100dvh - 176px);
  }
  .cb-messages{ max-height: none; flex: 1; min-height: 160px; }
  /* Prevents iOS auto-zoom when focusing the input */
  .cb-input{ font-size: 16px; }
}

/* ── Small phones (≤ 480px) ─── */
@media (max-width: 480px){
  :root{ --section-pad: clamp(44px, 12vw, 60px); }

  h1{ font-size: clamp(26px, 7.5vw, 32px); }
  h2{ font-size: clamp(22px, 6vw, 28px); }

  /* Trust row: compact 2-col */
  .trust-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

  /* Industries: tighter */
  .industries-row{ gap: 8px; }
  .ind{ font-size: 13px; }

  /* Stats */
  .stat{ padding: 20px 16px; }
  .stat-num{ font-size: clamp(28px, 8vw, 36px); }

  /* Pricing */
  .tier-price .amount{ font-size: 44px; }

  /* Footer: single column */
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }

  /* Hero visual: slightly tighter ratio */
  .hero-visual{ aspect-ratio: 5 / 3.2; }

  /* Chatbot */
  .cb-panel{ width: calc(100vw - 16px); right: 8px; bottom: 140px; }

  /* FAQ */
  .faq-item summary{ font-size: 14.5px; padding: 16px 4px; }
}

/* ── Very small phones (≤ 360px) ─── */
@media (max-width: 360px){
  h1{ font-size: 24px; }
  h2{ font-size: 20px; }
  .hero{ padding-top: 84px; }
  .btn{ height: 48px; padding: 0 18px; font-size: 14px; }
  .stat-num{ font-size: 26px; }
  .tier-price .amount{ font-size: 40px; }
}

/* ── Coarse pointer / touch devices ─── */
@media (pointer: coarse){
  /* Larger tap targets */
  .btn{ touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .nav-mobile a{ min-height: 44px; }
  .ind{ padding: 8px 12px; }
  .socials a{ width: 40px; height: 40px; }
  .cb-send{ width: 40px; height: 40px; }
  /* Disable hover lifts on touch — prevents stuck hover states */
  .card:hover{ transform: none; box-shadow: none; border-color: var(--line); }
  .step:hover{ transform: none; box-shadow: none; }
  .quote:hover{ transform: none; box-shadow: none; }
  .tier:hover{ transform: none; box-shadow: none; }
  .proj:hover{ transform: none; box-shadow: none; }
  .ind:hover{ transform: none; }
}
