/* =========================================================
   Fisher.digital — Design System
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --canvas: #FAFAFA;
  --surface: #FFFFFF;
  --surface-2: #F4F4F6;
  --ink: #101014;
  --ink-2: #35353E;
  --muted: #6E6E78;
  --line: rgba(16, 16, 20, 0.09);
  --line-2: rgba(16, 16, 20, 0.055);
  --accent: #2B37FF;
  --accent-ink: #1B23D6;
  --accent-tint: #EEF0FF;
  --accent-glow: rgba(43, 55, 255, 0.24);

  --shadow-sm: 0 1px 2px rgba(16,16,20,.05), 0 1px 1px rgba(16,16,20,.03);
  --shadow-md: 0 12px 34px -14px rgba(16,16,20,.16), 0 4px 12px -6px rgba(16,16,20,.07);
  --shadow-lg: 0 34px 70px -24px rgba(16,16,20,.24), 0 14px 26px -14px rgba(16,16,20,.12);
  --shadow-accent: 0 14px 34px -10px rgba(43,55,255,.42);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --w: 1220px;
  --pad: clamp(20px, 5vw, 44px);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  --fs-hero: clamp(2.55rem, 6.2vw, 5.15rem);
  --fs-h2: clamp(1.95rem, 3.9vw, 3.1rem);
  --fs-h3: clamp(1.12rem, 1.5vw, 1.35rem);
  --fs-lead: clamp(1.06rem, 1.35vw, 1.28rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-feature-settings: 'cv05' 1, 'cv11' 1, 'ss01' 1, 'kern' 1, 'calt' 1;
  background: var(--canvas);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--w); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Accessibility ---------- */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--accent); z-index: 120;
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width .08s linear;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.nav.scrolled {
  padding: 9px 0;
  background: rgba(250, 250, 250, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px -18px rgba(16,16,20,.4);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 640; letter-spacing: -0.02em; font-size: 1.08rem; }
.brand-mark { display: inline-flex; }
.brand-mark svg { display: block; border-radius: 8px; }
.brand-dot { color: var(--muted); font-weight: 560; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-pill); font-size: .94rem; font-weight: 500; color: var(--ink-2);
  position: relative; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(16,16,20,.045); }

.nav-actions { display: flex; align-items: center; }

/* Mobile toggle */
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  transition: background .2s var(--ease);
}
.nav-toggle:hover { background: rgba(16,16,20,.05); }
.nav-toggle span { width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px var(--pad) 20px;
  background: rgba(250,250,250,.9);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
  animation: menuDown .3s var(--ease-out);
}
/* Honour the [hidden] attribute (author display:flex would otherwise override it) */
.mobile-menu[hidden] { display: none; }
/* The mobile menu never shows on desktop — only the hamburger (≤860px) opens it */
@media (min-width: 861px) { .mobile-menu { display: none !important; } }
.mobile-menu a { padding: 14px 8px; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--line-2); }
.mobile-menu a:last-child { border-bottom: none; margin-top: 12px; justify-content: center; }
@keyframes menuDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--r-pill);
  font-size: .98rem; font-weight: 560; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; padding: 16px 24px; }

.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md), 0 8px 20px -10px rgba(16,16,20,.5); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(16,16,20,.18); box-shadow: var(--shadow-md); }
.btn-ghost:active { transform: translateY(0); }

.btn-arrow { transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* =========================================================
   SECTION PRIMITIVES
   ========================================================= */
.section { padding-block: clamp(72px, 9vw, 130px); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 66px); }
.section-eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 18px;
}
.section-title { font-size: var(--fs-h2); font-weight: 680; line-height: 1.06; letter-spacing: -0.03em; }
.section-lead { margin-top: 18px; font-size: var(--fs-lead); color: var(--muted); line-height: 1.55; max-width: 60ch; }
.section-lead a { color: var(--accent-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

.accent-serif { font-family: var(--font-serif); font-style: italic; font-weight: 480; color: var(--accent); letter-spacing: -0.01em; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: clamp(130px, 17vw, 180px); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.glow-1 { width: 620px; height: 620px; top: -280px; right: -160px; background: radial-gradient(circle, var(--accent-glow), transparent 66%); }
.glow-2 { width: 520px; height: 520px; top: 120px; left: -240px; background: radial-gradient(circle, rgba(43,55,255,.11), transparent 68%); }
.grid-fade {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 78%);
  opacity: .7;
}

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { max-width: 620px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: .84rem; font-weight: 540; color: var(--ink-2); box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: relative; }
.pulse-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(3); opacity: 0; } }

.hero-title { font-size: var(--fs-hero); font-weight: 700; line-height: 1.02; letter-spacing: -0.042em; }
.hero-sub { margin-top: 26px; font-size: clamp(1.08rem, 1.4vw, 1.28rem); color: var(--muted); line-height: 1.55; max-width: 52ch; }

.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 13px; }
.hero-trust {
  margin-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: .88rem; color: var(--muted); font-weight: 500;
}
.hero-trust i { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

/* Floating mockups */
.hero-visual { position: relative; height: 100%; min-height: 420px; }
.float-stack { position: relative; width: 100%; height: 100%; perspective: 1400px; }
.browser {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 0 14px; height: 34px;
  background: linear-gradient(var(--surface), var(--surface-2));
  border-bottom: 1px solid var(--line-2);
}
.browser-bar .d, .browser-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #E1E1E6; }
.browser-bar .d:nth-child(1) { background: #FF5F57; opacity: .55; }
.browser-bar .d:nth-child(2) { background: #FEBC2E; opacity: .55; }
.browser-bar .d:nth-child(3) { background: #28C840; opacity: .55; }
.browser-url {
  margin-left: 10px; font-size: .72rem; color: var(--muted); font-weight: 500;
  background: var(--canvas); padding: 3px 12px; border-radius: var(--r-pill);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid var(--line-2);
}
.browser-shot { line-height: 0; }
.browser-shot img { width: 100%; }

.browser-front {
  position: absolute; right: -2%; top: 8%; width: 90%;
  transform: rotateY(-9deg) rotateX(3deg) rotate(1.4deg);
  z-index: 2;
}
.browser-back {
  position: absolute; left: -6%; top: -14%; width: 74%; opacity: .92;
  transform: rotateY(-9deg) rotateX(3deg) rotate(-2deg);
  z-index: 1;
}
.tilt-float { animation: floaty 7s ease-in-out infinite; }
.browser-back.tilt-float { animation-delay: -3.5s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* =========================================================
   STATS
   ========================================================= */
.stats { border-block: 1px solid var(--line); padding-block: clamp(38px, 5vw, 56px); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 4px; text-align: center; position: relative; }
.stat:not(:last-child)::after { content: ''; position: absolute; right: -12px; top: 12%; height: 76%; width: 1px; background: var(--line); }
.stat-num { font-size: clamp(2.1rem, 3.6vw, 2.9rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-text { color: var(--accent); }
.stat-label { font-size: .86rem; color: var(--muted); font-weight: 500; letter-spacing: -0.005em; }

/* =========================================================
   WORK
   ========================================================= */
.work-card {
  display: block; position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.work-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(16,16,20,.14); }
.work-card .browser { border: none; border-radius: 0; box-shadow: none; background: transparent; }
.work-card .browser-bar { background: var(--surface-2); }
.work-card .browser-shot { position: relative; overflow: hidden; }
.work-card .browser-shot img { transition: transform .8s var(--ease-out); }
.work-card:hover .browser-shot img { transform: scale(1.03); }

.work-info { padding: clamp(22px, 2.4vw, 30px); }
.work-tags { display: flex; gap: 7px; margin-bottom: 14px; }
.chip {
  font-size: .72rem; font-weight: 560; letter-spacing: .01em; color: var(--ink-2);
  padding: 4px 11px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line-2);
}
.work-title { font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 660; letter-spacing: -0.025em; }
.work-desc { margin-top: 8px; color: var(--muted); font-size: .98rem; line-height: 1.5; max-width: 46ch; }
.work-visit {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-size: .92rem; font-weight: 560; color: var(--accent-ink);
}
.work-visit svg { transition: transform .3s var(--ease); }
.work-card:hover .work-visit svg { transform: translate(2px, -2px); }

/* Featured layout */
.work-featured { display: grid; grid-template-columns: 1.5fr 1fr; align-items: stretch; margin-bottom: 22px; }
.work-featured .browser { height: 100%; display: flex; flex-direction: column; }
.work-featured .browser-shot { flex: 1; }
.work-featured .browser-shot img { height: 100%; object-fit: cover; object-position: top; }
.work-featured .work-info { display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line-2); }
.work-featured .work-desc { font-size: 1.04rem; }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { padding-block: clamp(56px, 8vw, 108px); }
.manifesto-line {
  font-size: clamp(1.5rem, 3.4vw, 2.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.03em;
  max-width: 20ch; margin-inline: auto; text-align: center; text-wrap: balance;
}
.manifesto-line .accent-serif { font-weight: 460; }

/* =========================================================
   SERVICES
   ========================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 2.4vw, 32px); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(16,16,20,.13); }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px;
  background: var(--accent-tint); color: var(--accent-ink); border: 1px solid rgba(43,55,255,.12);
}
.feature-title { font-size: 1.14rem; font-weight: 640; letter-spacing: -0.02em; }
.feature-text { margin-top: 9px; color: var(--muted); font-size: .96rem; line-height: 1.55; }

/* =========================================================
   PROCESS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.step-num { font-size: .84rem; font-weight: 640; letter-spacing: .08em; color: var(--accent-ink); }
.step-body { margin-top: 14px; }
.step-title { font-size: 1.22rem; font-weight: 640; letter-spacing: -0.022em; }
.step-text { margin-top: 9px; color: var(--muted); font-size: .96rem; line-height: 1.55; max-width: 34ch; }
.step::before { content: ''; position: absolute; top: -2px; left: 0; width: 42px; height: 2px; background: var(--accent); transition: width .5s var(--ease-out); }
.step.is-visible::before { width: 64px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.faq-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-size: 1.08rem; font-weight: 560; letter-spacing: -0.018em;
  list-style: none; cursor: pointer; transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-ink); }
.faq-icon { position: relative; width: 15px; height: 15px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--ink-2); border-radius: 2px; transition: transform .35s var(--ease), background .2s var(--ease); }
.faq-icon::before { top: 6.5px; left: 0; width: 15px; height: 2px; }
.faq-icon::after { left: 6.5px; top: 0; width: 2px; height: 15px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg) scaleX(0); }
.faq-item[open] summary { color: var(--ink); }
.faq-answer { overflow: hidden; }
.faq-answer p { padding: 0 4px 24px; color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 60ch; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.contact-copy .section-title { margin-top: 0; }
.contact-details { margin-top: 34px; display: flex; flex-direction: column; gap: 4px; }
.contact-details li { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-size: 1rem; font-weight: 500; }
.cd-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.contact-details a { transition: color .2s var(--ease); }
.contact-details a:hover { color: var(--accent-ink); }

.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 560; margin-bottom: 8px; color: var(--ink-2); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-md);
  background: var(--canvas); border: 1px solid var(--line); color: var(--ink);
  font-size: .98rem; font-family: inherit; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #A6A6AE; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.field textarea { resize: vertical; min-height: 108px; }
.field input.invalid, .field textarea.invalid { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,.1); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#submit-btn { margin-top: 6px; }
#submit-btn.loading { pointer-events: none; opacity: .75; }
.form-status { margin-top: 14px; font-size: .92rem; font-weight: 500; min-height: 1px; }
.form-status.ok { color: #178a4c; }
.form-status.err { color: #E5484D; }
.form-fineprint { margin-top: 14px; font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 76px); padding-bottom: 30px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; padding-bottom: clamp(36px, 5vw, 56px); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-tag { color: var(--muted); font-size: .96rem; line-height: 1.55; max-width: 34ch; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-contact a { color: var(--ink-2); font-size: .95rem; font-weight: 500; transition: color .2s var(--ease); width: fit-content; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent-ink); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-base {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--line-2);
  font-size: .85rem; color: var(--muted);
}

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px); z-index: 90;
  display: inline-flex; align-items: center; gap: 0;
  width: 58px; height: 58px; border-radius: var(--r-pill);
  background: #25D366; color: #fff; overflow: hidden;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.5), var(--shadow-md);
  transition: width .4s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: waIn .5s var(--ease-out) .8s both;
}
.wa-float svg { flex-shrink: 0; width: 58px; }
.wa-tip { white-space: nowrap; font-size: .95rem; font-weight: 600; opacity: 0; transition: opacity .25s var(--ease); padding-right: 20px; }
.wa-float:hover { width: 210px; transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(37,211,102,.6); }
.wa-float:hover .wa-tip { opacity: 1; }
.wa-float::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: waPulse 2.8s var(--ease-out) infinite;
}
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
@keyframes waIn { from { transform: scale(0) translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-copy { max-width: 640px; }
  .faq-inner { grid-template-columns: 1fr; gap: 8px; }
  .faq-head { position: static; margin-bottom: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .work-featured { grid-template-columns: 1fr; }
  .work-featured .browser-shot img { height: auto; }
  .work-featured .work-info { border-left: none; border-top: 1px solid var(--line-2); }
}

@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .stat:nth-child(2)::after { display: none; }
  .stat { text-align: left; align-items: flex-start; }
}

@media (max-width: 620px) {
  :root { --pad: 20px; }
  .work-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta .btn { width: 100%; }
  .stat:not(:last-child)::after { display: none; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .stats-inner { grid-template-columns: 1fr; gap: 22px; text-align: left; }
  .stat { text-align: left; align-items: flex-start; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .tilt-float, .browser-front, .browser-back { transform: none !important; }
  .float-stack { perspective: none; }
}

/* Dark-mode nav readability guard (site is intentionally light) */
@media (prefers-color-scheme: dark) {
  .nav.scrolled { background: rgba(250,250,250,.82); }
}
