:root {
  --bg: #FFFFFF;
  --bg2: #FBF7F1;
  --surface: #FFFFFF;
  --peach: #F7E8D9;
  --peach-deep: #EFDCC6;
  --accent: #A97C50;
  --peach-muted: rgba(247, 232, 217, 0.5);
  --peach-glow: rgba(247, 232, 217, 0.7);
  --text: #141417;
  --muted: #5A5A60;
  --muted2: #8E8E94;
  --ink: #141417;
  --border: rgba(20, 20, 23, 0.1);
  --border-peach: rgba(169, 124, 80, 0.35);
  --font-head: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--peach); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1.1em; height: 1.1em; flex: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
em {
  font-style: normal;
  background: linear-gradient(to top, var(--peach) 36%, transparent 36%);
  padding: 0 .06em;
}
.muted { color: var(--muted2); font-weight: 400; }

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background .4s;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(255, 255, 255, 0.92); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}
.logo-badge {
  background: var(--peach);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 1px 8px 3px;
  margin-left: 2px;
  border-radius: 4px;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.logo:hover .logo-badge { transform: rotate(-3deg) scale(1.06); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.65,0,.35,1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .3s, color .3s, border-color .3s, box-shadow .3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--ink); color: #FFFFFF; }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(20,20,23,.25); }
.btn-secondary { border-color: rgba(20,20,23,.25); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--ink); background: var(--peach-muted); }
.btn-dark { background: var(--ink); color: var(--peach); }
.btn-dark:hover { box-shadow: 0 10px 30px rgba(20,20,23,.35); }
.btn-outline-dark { border-color: rgba(20,20,23,.35); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { border-color: var(--ink); background: rgba(255,255,255,.4); }
.btn-full { width: 100%; justify-content: center; }
.nav-cta { padding: 10px 22px; font-size: 14px; }

.burger {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  position: relative;
  cursor: pointer;
}
.burger span {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--ink);
  transition: transform .35s, top .35s;
}
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 24px; }
.burger.open span:first-child { top: 19px; transform: rotate(45deg); }
.burger.open span:last-child { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(255,255,255,.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 22px; text-align: center; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  transition: color .25s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mobile-cta { color: var(--accent); font-size: 24px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 32px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 78% 45%, var(--peach-muted), transparent 70%),
    radial-gradient(40% 40% at 15% 15%, rgba(247,232,217,.4), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-title {
  font-size: clamp(44px, 6.2vw, 84px);
  font-weight: 800;
  line-height: 1.04;
  margin-bottom: 26px;
}
.mask-line { display: block; overflow: hidden; padding-bottom: .08em; }
.line-inner { display: inline-block; will-change: transform; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 480px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 24px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--accent); }
html.js.gsap .hero-fade { opacity: 0; }

.hero-robot { position: relative; height: min(72vh, 620px); }
#robot-canvas { width: 100%; height: 100%; display: block; cursor: pointer; position: relative; z-index: 2; }
.robot-glow {
  position: absolute;
  inset: 18% 12%;
  background: radial-gradient(50% 50% at 50% 55%, var(--peach-glow), transparent 72%);
  filter: blur(34px);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { opacity: .5; transform: scale(1);} 50% { opacity: .85; transform: scale(1.06);} }
.robot-hint {
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted2);
  white-space: nowrap;
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg2);
}
.marquee-track { display: inline-flex; animation: marquee 46s linear infinite; }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 12px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: 1280px; margin: 0 auto; padding: 110px 32px; }
.section-title { font-size: clamp(30px, 4vw, 52px); margin-bottom: 18px; max-width: 760px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  transition: gap .3s, color .3s;
}
.link-arrow:hover { gap: 16px; color: var(--ink); }

/* Manifesto chapters */
.chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.chapter {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  transition: transform .4s, border-color .4s, box-shadow .4s;
}
.chapter:hover { transform: translateY(-6px); border-color: var(--border-peach); box-shadow: 0 18px 44px rgba(20,20,23,.07); }
.chapter-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: .2em;
  display: block;
  margin-bottom: 44px;
}
.chapter h3 { font-size: 24px; margin-bottom: 14px; }
.chapter p { color: var(--muted); font-size: 15px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  transition: transform .4s, border-color .4s, box-shadow .4s;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: auto -30% -55% -30%;
  height: 70%;
  background: radial-gradient(50% 60% at 50% 100%, var(--peach-glow), transparent 75%);
  opacity: 0;
  transition: opacity .5s;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--border-peach); box-shadow: 0 22px 50px rgba(20,20,23,.08); }
.service-card:hover::before { opacity: 1; }
.service-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .2em; margin-bottom: 56px; }
.service-card h3 { font-size: 22px; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 14px; flex: 1; }
.card-arrow { margin-top: 22px; color: var(--accent); display: inline-flex; transition: transform .3s; }
.service-card:hover .card-arrow, .blog-card:hover .card-arrow { transform: translateX(6px); }

/* Works */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.work-card { display: block; }
.work-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  background: #F3EDE4;
  transition: box-shadow .4s;
}
.work-card:hover .work-frame { box-shadow: 0 22px 50px rgba(20,20,23,.1); }
.work-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .8s cubic-bezier(.22,1,.36,1), filter .6s;
}
.work-card:hover .work-frame img { transform: scale(1.05); }
.work-meta { display: flex; align-items: baseline; gap: 14px; margin-top: 16px; }
.work-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border-peach);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.work-meta h3 { font-size: 20px; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .4s, border-color .4s, box-shadow .4s;
}
.blog-card:hover { transform: translateY(-6px); border-color: var(--border-peach); box-shadow: 0 18px 44px rgba(20,20,23,.07); }
.blog-date { font-family: var(--font-mono); font-size: 12px; color: var(--muted2); letter-spacing: .12em; margin-bottom: 18px; }
.blog-card h3 { font-size: 19px; margin-bottom: 12px; }
.blog-card p { color: var(--muted); font-size: 14px; flex: 1; }

/* CTA panel */
.cta-panel { background: var(--peach); color: var(--ink); }
.cta-inner { max-width: 1280px; margin: 0 auto; padding: 110px 32px; }
.cta-inner h2 { font-size: clamp(34px, 5vw, 64px); margin-bottom: 16px; }
.cta-inner h2 em {
  background: none;
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.cta-inner p { font-size: 18px; opacity: .7; margin-bottom: 36px; max-width: 520px; }

/* Page hero */
.page-hero { max-width: 1280px; margin: 0 auto; padding: 180px 32px 40px; }
.page-title { font-size: clamp(40px, 6vw, 76px); font-weight: 800; }
.page-sub { color: var(--muted); font-size: 18px; max-width: 640px; margin-top: 22px; }

/* Service rows */
.service-rows { display: flex; flex-direction: column; gap: 90px; }
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-row.reverse .service-row-media { order: 2; }
.service-row-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: #F3EDE4;
}
.service-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.service-row:hover .service-row-media img { transform: scale(1.04); }
.service-row-copy .service-num { display: block; margin-bottom: 20px; }
.service-row-copy h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; }
.service-row-copy > p { color: var(--muted); margin-bottom: 26px; }
.feature-list { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: center; color: var(--text); font-size: 15px; }
.feature-list svg { color: var(--accent); }

/* Team */
.team-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  max-width: 760px;
}
.team-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 1; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 26px; margin: 12px 0 10px; }
.team-card p { color: var(--muted); margin-bottom: 18px; }

/* Portfolio page */
.portfolio { display: flex; flex-direction: column; gap: 90px; }
.project-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.project-head h2 { font-size: clamp(24px, 3vw, 36px); margin: 14px 0 10px; }
.project-head p { color: var(--muted); max-width: 560px; }
.project-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.project-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  aspect-ratio: 16 / 10;
  background: #F3EDE4;
}
.project-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.project-frame:hover img { transform: scale(1.05); }

/* Before/After slider */
.ba-slider {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  max-width: 960px;
  box-shadow: 0 22px 50px rgba(20,20,23,.08);
  --pos: 50%;
}
.ba-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  pointer-events: none;
}
.ba-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  background: var(--ink);
  transform: translateX(-1px);
}
.ba-handle span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(20,20,23,.35);
}
.ba-handle svg { width: 22px; height: 22px; }
.ba-label {
  position: absolute;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.ba-label-before { left: 16px; color: var(--muted); }
.ba-label-after { right: 16px; color: var(--accent); }

/* Reviews / products */
.review-cta {
  background: var(--bg2);
  border: 1px solid var(--border-peach);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.review-cta h2 { font-size: 28px; margin-bottom: 10px; }
.review-cta p { color: var(--muted); max-width: 480px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .4s, border-color .4s, box-shadow .4s;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--border-peach); box-shadow: 0 18px 44px rgba(20,20,23,.07); }
.product-card h3 { font-size: 22px; }
.product-card p { color: var(--muted); font-size: 15px; flex: 1; }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.fefeweb-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 18px 44px rgba(20,20,23,.05);
}
.field { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.field-row { display: flex; gap: 18px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.field input, .field textarea, .field select {
  background: #FAF6F0;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(169,124,80,.15);
}
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-side {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
}
.form-side h3 { font-size: 22px; margin-bottom: 24px; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 34px; }
.steps li { display: flex; gap: 16px; align-items: baseline; color: var(--muted); font-size: 15px; }
.steps span { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.side-contacts { border-top: 1px solid var(--border); padding-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.side-contacts p { font-size: 13px; color: var(--muted2); }
.side-contacts a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; transition: color .25s; }
.side-contacts a:hover { color: var(--accent); }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.contact-list svg { color: var(--accent); }
.contact-list a { transition: color .25s; }
.contact-list a:hover { color: var(--accent); }

/* Blog single */
.post-content { max-width: 760px; color: var(--muted); font-size: 17px; }
.post-content h1, .post-content h2, .post-content h3, .post-content h4 { color: var(--text); margin: 36px 0 16px; }
.post-content p { margin-bottom: 18px; }
.post-content img { border-radius: 14px; margin: 24px 0; }
.post-content a { color: var(--accent); text-decoration: underline; }
.post-content ul, .post-content ol { margin: 0 0 18px 22px; }
.post-content pre, .post-content code { background: #FAF6F0; border-radius: 8px; padding: 2px 6px; font-size: 14px; }
.post-content pre { padding: 18px; overflow-x: auto; margin-bottom: 18px; }
.pagination { margin-top: 56px; display: flex; gap: 20px; justify-content: center; }
.pagination a, .pagination span { color: var(--muted); font-weight: 600; }
.pagination a:hover { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg2); }
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px 50px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p { color: var(--muted); font-size: 14px; margin: 18px 0 22px; max-width: 340px; }
.social-link {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  transition: color .3s, border-color .3s, transform .3s;
}
.social-link:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted2); margin-bottom: 22px; font-weight: 500; }
.footer-contacts { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-contacts li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.footer-contacts svg { color: var(--accent); }
.footer-contacts a:hover { color: var(--accent); }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 14px; color: var(--muted); transition: color .25s; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted2);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 80;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(20,20,23,.3);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.whatsapp-float:hover { transform: scale(1.12) rotate(6deg); }
.whatsapp-float svg { width: 26px; height: 26px; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 26px; bottom: 26px;
  z-index: 85;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  display: none;
  gap: 16px;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(20,20,23,.18);
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 13px; color: var(--muted); }
.cookie-banner .btn { align-self: flex-start; padding: 10px 22px; font-size: 13px; }

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 120px);
  z-index: 200;
  background: var(--surface);
  border: 1px solid var(--border-peach);
  color: var(--text);
  padding: 16px 26px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 16px 50px rgba(20,20,23,.18);
  transition: transform .5s cubic-bezier(.22,1,.36,1);
  max-width: 90vw;
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); }
.toast.error { border-color: #D96A4F; }

/* Reveal gestito via JS (gsap fromTo) */
.nav-links li, .mobile-menu li, .footer-nav li { list-style: none; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-robot { height: 420px; order: -1; }
  .hero { padding-top: 120px; }
  .chapters { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .section { padding: 72px 22px; }
  .page-hero { padding: 140px 22px 30px; }
  .hero { padding: 110px 22px 50px; }
  .works-grid, .blog-grid, .product-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 30px; }
  .service-row.reverse .service-row-media { order: 0; }
  .form-layout { grid-template-columns: 1fr; }
  .fefeweb-form { padding: 28px; }
  .field-row { flex-direction: column; gap: 22px; }
  .team-card { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 60px 22px 40px; }
  .cookie-banner { left: 16px; right: 90px; bottom: 16px; max-width: none; }
  .whatsapp-float { right: 16px; bottom: 16px; }
}
