/* ============================================================
   EB MARKETING — Elia Baratella
   Design tokens: dark control-room base + cyan signal + amber highlight
   ============================================================ */

:root {
  /* ---- color: neutrals ---- */
  --ink: #0b0c0d;
  --charcoal: #333334;
  --panel: #1b1c1e;
  --panel-2: #232427;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* ---- color: text ---- */
  --paper: #f5f6f5;
  --paper-dim: #9ba0a3;
  --paper-faint: #8a8f92;

  /* ---- color: signal (accents) ---- */
  --cyan: #47cccf;
  --cyan-strong: #6fe0e2;
  --cyan-glow: rgba(71, 204, 207, 0.22);
  --amber: #ffcc33;
  --amber-strong: #ffdd66;
  --amber-glow: rgba(255, 204, 51, 0.25);
  --amber-ink: #2b1c02;
  --violet: #9b5cff;
  --violet-strong: #c9a3ff;
  --violet-glow: rgba(155, 92, 255, 0.3);
  --green: #4ade80;
  --red: #f87171;

  /* ---- type ---- */
  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* ---- layout ---- */
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  color-scheme: dark;
}

/* ============================================================
   RESET
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.only-mobile { display: none; }

/* ============================================================
   TYPE HELPERS
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
  flex: none;
}
.eyebrow.eyebrow-amber { color: var(--amber); }
.eyebrow.eyebrow-amber::before { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-glow); }
.eyebrow.eyebrow-violet { color: var(--violet-strong); }
.eyebrow.eyebrow-violet::before { background: var(--violet); box-shadow: 0 0 0 3px var(--violet-glow); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.mark {
  position: relative;
  display: inline-block;
  color: var(--ink);
  padding: 0 0.14em;
}
.mark::before {
  content: "";
  position: absolute;
  inset: 10% -1% 8% 0%;
  background: var(--amber);
  transform: rotate(-1deg);
  transform-origin: 0% 60%;
  z-index: -1;
  border-radius: 6px;
}

.mark-cyan { color: var(--ink); }
.mark-cyan::before { background: var(--cyan); transform: rotate(1deg); transform-origin: 100% 40%; }

.mono-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cyan);
  color: #05292a;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px var(--cyan-glow);
  background: var(--cyan-strong);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--paper);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

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

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(11, 12, 13, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.topbar.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 12, 13, 0.85);
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand-mark { height: 30px; width: auto; flex: none; }
.brand span { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--paper-dim);
}
.nav-links a { transition: color 0.2s ease; position: relative; }
.nav-links a:hover { color: var(--paper); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-dim);
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
}
.status-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 var(--cyan-glow); }
  50% { box-shadow: 0 0 0 5px transparent; }
}

.lang-switch {
  display: flex;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px;
}
.lang-switch a {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: var(--paper-faint);
  transition: all 0.2s ease;
}
.lang-switch a.is-active { background: var(--cyan); color: #05292a; }
.lang-switch a:not(.is-active):hover { color: var(--paper); }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  color: var(--paper);
}
.menu-btn svg { width: 18px; height: 18px; }

/* sticky bottom CTA (mobile-first persistent action) */
.sticky-cta {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 140%);
  z-index: 90;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sticky-cta.is-visible { transform: translate(-50%, 0); }
.sticky-cta.is-near-footer { transform: translate(-50%, 140%); }
.sticky-cta .btn-primary {
  box-shadow: 0 14px 34px -10px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
}

.whatsapp-fab {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #0b0c0d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.55), 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-fab svg { width: 26px; height: 26px; }
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 38px -8px rgba(37, 211, 102, 0.7), 0 0 0 1px rgba(255,255,255,0.08); }
@media (max-width: 560px) {
  .whatsapp-fab { width: 46px; height: 46px; left: 14px; bottom: 14px; }
  .whatsapp-fab svg { width: 22px; height: 22px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 0;
  padding: 170px var(--pad) 90px;
  background:
    radial-gradient(ellipse 900px 500px at 82% -10%, rgba(71,204,207,0.14), transparent 60%),
    linear-gradient(180deg, var(--charcoal) 0%, var(--ink) 78%);
  overflow: hidden;
}

.hero-arc {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 340px;
  z-index: -1;
  pointer-events: none;
}

.floaters {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.floater {
  position: absolute;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  cursor: grab;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  padding: 9px 15px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--paper-dim);
  white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.55);
  animation: floater-idle 5s ease-in-out infinite;
}
.floater:hover { color: var(--paper); border-color: var(--cyan); }
.floater.floater-violet { border-color: rgba(160, 107, 255, 0.35); }
.floater.floater-violet:hover { border-color: var(--violet); }
.floater.is-dragging {
  animation: none;
  cursor: grabbing;
  color: var(--paper);
  border-color: var(--cyan);
  box-shadow: 0 20px 44px -12px rgba(0, 0, 0, 0.7), 0 0 0 3px var(--cyan-glow);
  z-index: 10;
}
@keyframes floater-idle {
  0%, 100% { transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) translateY(-9px); }
}
@media (max-width: 980px) {
  .floaters { display: none; }
}

.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .eyebrow { margin-bottom: 22px; }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  margin-bottom: 26px;
}

.hero-lede {
  font-size: 21px;
  line-height: 1.6;
  color: var(--paper-dim);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}

.scroll-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-faint);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.scroll-hint svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---- radar / intercept visual ---- */
.radar {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.radar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.radar-ring.r2 { inset: 15%; }
.radar-ring.r3 { inset: 30%; }
.radar-ring.r4 { inset: 45%; border-style: dashed; border-color: var(--line-strong); }

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--cyan-glow), transparent 26%);
  animation: sweep 4.5s linear infinite;
  mix-blend-mode: screen;
}
@keyframes sweep { to { transform: rotate(360deg); } }

.radar-core {
  position: absolute;
  inset: 47%;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px var(--cyan-glow), 0 0 40px 6px var(--cyan-glow);
}

.blip {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(255, 204, 51, 0.22);
  animation: blip-in 3.2s ease-in-out infinite;
}
.blip span {
  position: absolute;
  top: 50%; left: 130%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
  color: var(--paper-dim);
  background: rgba(11,12,13,0.7);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.blip:hover span { opacity: 1; }
.blip.blip-violet { background: var(--violet); box-shadow: 0 0 0 5px var(--violet-glow); }
.blip.b1 { top: 18%; left: 62%; animation-delay: 0s; }
.blip.b2 { top: 62%; left: 20%; animation-delay: 1.1s; }
.blip.b3 { top: 72%; left: 68%; animation-delay: 2.2s; }
@keyframes blip-in {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  15%, 60% { opacity: 1; transform: scale(1); }
}

/* ---- ticker strip ---- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.ticker-row {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ticker-item { display: flex; flex-direction: column; gap: 4px; }
.ticker-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.ticker-item:nth-child(2) .ticker-num { color: var(--violet-strong); }
.ticker-item:nth-child(3) .ticker-num { color: var(--amber); }
.ticker-label {
  font-size: 15px;
  color: var(--paper-dim);
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
section { position: relative; }
.section {
  padding: 110px var(--pad);
}
.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .section-note {
  font-size: 15px;
  font-style: italic;
  color: var(--paper-faint);
  margin-top: 12px;
  margin-bottom: 0;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
}
.section-head p {
  margin: 16px auto 0;
  color: var(--paper-dim);
  font-size: 19px;
  line-height: 1.6;
  max-width: 56ch;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2,0.7,0.2,1), transform 0.7s cubic-bezier(0.2,0.7,0.2,1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ============================================================
   LOGO STRIP
   ============================================================ */
.logos-section { padding: 70px var(--pad); border-bottom: 1px solid var(--line); }
.logos-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin-bottom: 34px;
}
.logo-marquee {
  max-width: var(--maxw);
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: logo-scroll 32s linear infinite;
}
.logo-track:hover { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}
.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  width: 270px;
  flex: none;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  padding: 20px 26px;
  --aura: rgba(71, 204, 207, 0.55);
  box-shadow: 0 18px 30px -10px var(--aura);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.logo-chip.aura-violet { --aura: rgba(155, 92, 255, 0.55); }
.logo-chip:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 26px 44px -8px var(--aura), 0 0 0 1px var(--aura);
}
.logo-chip img {
  max-height: 78px;
  max-width: 100%;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.35s ease;
}
.logo-chip:hover img { transform: scale(1.06); }

/* ============================================================
   CHI SONO
   ============================================================ */
.about-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: 110px;
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  padding: 26px;
  overflow: hidden;
}
.about-portrait-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.about-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 12, 13, 0.88) 0%, rgba(11, 12, 13, 0.15) 45%, transparent 65%);
}
.portrait-caption {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-dim);
  line-height: 1.5;
}
.portrait-caption strong { color: var(--paper); display: block; font-size: 15px; margin-bottom: 4px; }

.about-body p {
  font-size: 20px;
  line-height: 1.65;
  color: var(--paper-dim);
  margin-bottom: 20px;
}
.about-body p strong { color: var(--paper); font-weight: 600; }

.about-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 8px;
}
.about-bullet {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  opacity: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.about-bullet:hover { background: rgba(255, 255, 255, 0.035); border-color: var(--line); }
.about-bullets.is-in .about-bullet { animation: bullet-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.about-bullets.is-in .about-bullet:nth-child(1) { animation-delay: 0s; }
.about-bullets.is-in .about-bullet:nth-child(2) { animation-delay: 0.14s; }
.about-bullets.is-in .about-bullet:nth-child(3) { animation-delay: 0.28s; }
.about-bullets.is-in .about-bullet:nth-child(4) { animation-delay: 0.42s; }
@keyframes bullet-in {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}
.bullet-icon {
  width: 34px; height: 34px; flex: none;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan-glow);
  color: var(--cyan);
}
.bullet-icon svg { width: 18px; height: 18px; }
.bullet-icon.violet { background: var(--violet-glow); color: var(--violet-strong); }
.bullet-icon.amber { background: var(--amber-glow); color: var(--amber); }
.about-bullet p { font-size: 18px; line-height: 1.55; color: var(--paper-dim); margin: 0; padding-top: 5px; }
.about-bullet p strong { color: var(--paper); font-weight: 700; }

.about-path {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}
.path-chip {
  font-family: var(--font-mono);
  font-size: 13.5px;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--paper-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.path-chip b { color: var(--cyan); font-weight: 700; }
.path-chip:nth-child(1) { border-color: rgba(255, 204, 51, 0.35); color: var(--amber); }
.path-chip:nth-child(2) { border-color: rgba(71, 204, 207, 0.4); color: var(--cyan); }
.path-chip:nth-child(3) { border-color: rgba(155, 92, 255, 0.35); color: var(--violet-strong); }
.path-chip:nth-child(4) { border-color: rgba(255, 204, 51, 0.35); color: var(--amber); }

.motto-line {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  margin: 12px 0 8px;
  line-height: 1.25;
}

/* ============================================================
   SERVIZI (stacked rows)
   ============================================================ */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
  display: grid;
  grid-template-columns: 90px 1.1fr 1.4fr;
  gap: 30px;
  align-items: start;
  transition: background 0.3s ease;
}
.service-row:hover { background: rgba(255,255,255,0.02); }
.service-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--paper-faint);
  padding-top: 4px;
}
.service-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-desc { color: var(--paper-dim); font-size: 18.5px; line-height: 1.55; }
.service-tag {
  display: inline-flex;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--amber);
  border: 1px solid rgba(255,204,51,0.35);
  background: rgba(255,204,51,0.08);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}
.service-icon {
  width: 22px; height: 22px; flex: none;
  color: var(--cyan);
}

/* ============================================================
   LIVE PANEL (device mockup w/ notifications) — Milato-inspired
   ============================================================ */
.livepanel-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.device {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 16px;
}
.device-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.device-url {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper-faint);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  flex: 1;
}
.notif-stack { display: flex; flex-direction: column; gap: 12px; min-height: 260px; }
.notif {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  animation: notif-in 0.5s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
.notif-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex: none; font-size: 16px;
  background: var(--cyan-glow);
}
.notif-icon.amber { background: rgba(255,204,51,0.18); }
.notif-title { font-weight: 700; font-size: 14.5px; }
.notif-sub { font-size: 13px; color: var(--paper-dim); margin-top: 2px; }
.notif-time { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--paper-faint); white-space: nowrap; }
@keyframes notif-in { to { opacity: 1; transform: translateY(0) scale(1); } }

/* ============================================================
   DEMO CRM (kanban)
   ============================================================ */
.crm-demo { border-top: 1px solid var(--line); }

.crm-app {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 208px 1fr;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
}

.crm-sidebar {
  background: var(--ink);
  border-right: 1px solid var(--line);
  padding: 22px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.crm-sidebar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14.5px;
  padding: 2px 10px 20px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.crm-sidebar-brand .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
  flex: none;
}
.crm-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--paper-dim);
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  background: none;
  border: none;
  font-family: var(--font-body);
  text-align: left;
  width: 100%;
  cursor: pointer;
}
.crm-nav-item svg { width: 16px; height: 16px; flex: none; }
.crm-nav-item:hover { background: rgba(255, 255, 255, 0.05); color: var(--paper); }
.crm-nav-item.is-active { background: var(--violet-glow); color: var(--violet-strong); }

.crm-main { padding: 24px; min-width: 0; overflow-x: auto; }
.crm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.crm-topbar-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.crm-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper-dim);
}

@media (max-width: 900px) {
  .crm-app { grid-template-columns: 1fr; }
  .crm-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 12px;
  }
  .crm-sidebar-brand { display: none; }
}

/* ---- pannelli demo CRM (Dashboard, Commerciali, Calendario, Task, Creatività, Landing, Chatbot) ---- */
.crm-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.crm-stat-tile {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.crm-stat-num { font-family: var(--font-mono); font-size: 24px; font-weight: 700; }
.crm-stat-num.cyan { color: var(--cyan); }
.crm-stat-num.violet { color: var(--violet-strong); }
.crm-stat-num.amber { color: var(--amber); }
.crm-stat-label { font-size: 12.5px; color: var(--paper-dim); }
.crm-channels { display: flex; flex-direction: column; gap: 12px; }
.crm-channel-row { display: grid; grid-template-columns: 90px 1fr 40px; align-items: center; gap: 12px; font-size: 13px; color: var(--paper-dim); }
.crm-bar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.crm-bar span { display: block; height: 100%; border-radius: 4px; }
.crm-channel-pct { font-family: var(--font-mono); font-size: 12px; color: var(--paper-dim); text-align: right; }

.crm-people-list, .crm-landing-list { display: flex; flex-direction: column; gap: 10px; }
.crm-person-row, .crm-landing-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}
.crm-avatar-lg {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--paper-dim);
}
.crm-person-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.crm-person-info strong { font-size: 14.5px; }
.crm-person-info span { font-size: 12.5px; color: var(--paper-dim); }
.crm-person-metric { font-size: 13px; color: var(--paper-dim); }
.crm-person-rate { font-family: var(--font-mono); font-weight: 700; font-size: 14px; }
.crm-person-rate.cyan { color: var(--cyan); }
.crm-person-rate.violet { color: var(--violet-strong); }
.crm-person-rate.amber { color: var(--amber); }

.crm-agenda { display: flex; flex-direction: column; gap: 10px; }
.crm-agenda-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 18px;
}
.crm-agenda-day {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cyan);
  border: 1px solid rgba(71, 204, 207, 0.3);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  flex: none;
}
.crm-agenda-info { display: flex; flex-direction: column; gap: 2px; }
.crm-agenda-info strong { font-size: 14px; }
.crm-agenda-info span { font-size: 12.5px; color: var(--paper-dim); }

.crm-task-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.crm-task-head { font-family: var(--font-mono); font-size: 12px; color: var(--paper-dim); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.crm-task-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  margin-bottom: 10px;
}
.crm-task-card.is-done { color: var(--paper-faint); text-decoration: line-through; }

.crm-creative-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.crm-creative-card { display: flex; flex-direction: column; gap: 6px; }
.crm-creative-card strong { font-size: 13.5px; margin-top: 4px; }
.crm-creative-card span { font-size: 11.5px; color: var(--paper-dim); }
.crm-creative-thumb { height: 76px; border-radius: var(--radius-sm); }
.crm-creative-thumb.cyan { background: linear-gradient(135deg, rgba(71,204,207,0.35), rgba(71,204,207,0.08)); }
.crm-creative-thumb.amber { background: linear-gradient(135deg, rgba(255,204,51,0.35), rgba(255,204,51,0.08)); }
.crm-creative-thumb.violet { background: linear-gradient(135deg, rgba(155,92,255,0.35), rgba(155,92,255,0.08)); }

.crm-status-badge { font-family: var(--font-mono); font-size: 11px; padding: 5px 11px; border-radius: var(--radius-pill); flex: none; }
.crm-status-badge.is-live { color: var(--cyan); background: var(--cyan-glow); }
.crm-status-badge.is-test { color: var(--amber); background: var(--amber-glow); }

.crm-chat-badge {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--violet-strong);
  background: var(--violet-glow);
  border: 1px solid rgba(155, 92, 255, 0.3);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.crm-chat { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.crm-chat-bubble { padding: 11px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; max-width: 80%; }
.crm-chat-bubble.is-bot { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.crm-chat-bubble.is-lead { align-self: flex-end; background: var(--cyan); color: #05292a; border-bottom-right-radius: 4px; }

@media (max-width: 700px) {
  .crm-stat-grid { grid-template-columns: 1fr 1fr; }
  .crm-task-board { grid-template-columns: 1fr; }
  .crm-creative-grid { grid-template-columns: 1fr 1fr; }
}

.kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 680px;
}
@media (max-width: 900px) {
  .kanban { min-width: 560px; }
}
.kanban-col {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kanban-col-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--paper-dim);
  margin-bottom: 2px;
}
.kanban-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.kanban-count {
  margin-left: auto;
  background: rgba(255,255,255,0.06);
  color: var(--paper-faint);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}
.kanban-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.kanban-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.kanban-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.kanban-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--paper-dim);
}
.kanban-source {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--paper-faint);
}
.kanban-name { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.kanban-meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--paper-faint); }
.kanban-ai-badge {
  display: inline-flex;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--violet-strong);
  background: rgba(160, 107, 255, 0.12);
  border: 1px solid rgba(160, 107, 255, 0.3);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}
.kanban-won-badge {
  display: inline-flex;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--amber-strong);
  background: rgba(255, 204, 51, 0.1);
  border: 1px solid rgba(255, 204, 51, 0.3);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}
.kanban-card.is-won { opacity: 0.9; }

/* ============================================================
   METODO (5 phases flow)
   ============================================================ */
.method-flow {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.method-flow::before {
  content: "";
  position: absolute;
  top: 22px; left: 4%; right: 4%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px);
}
.method-step {
  padding: 0 16px;
  position: relative;
}
.method-index {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.method-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.method-step p { font-size: 16.5px; line-height: 1.5; color: var(--paper-dim); }

/* ============================================================
   FACCIAMO SQUADRA? (fit / no-fit)
   ============================================================ */
.fit-section {
  background: linear-gradient(180deg, var(--ink), var(--charcoal) 120%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fit-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.fit-card {
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  border: 1px solid var(--line);
}
.fit-yes { background: rgba(34, 197, 94, 0.06); border-color: rgba(34, 197, 94, 0.28); }
.fit-no { background: rgba(239, 68, 68, 0.06); border-color: rgba(239, 68, 68, 0.28); }
.fit-title {
  font-size: 22px;
  margin-bottom: 22px;
}
.fit-yes .fit-title { color: var(--green); }
.fit-no .fit-title { color: var(--red); }
.fit-list { display: flex; flex-direction: column; gap: 16px; }
.fit-list li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--paper-dim);
}
.fit-list li strong { color: var(--paper); font-weight: 700; }
.fit-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
}
.fit-yes .fit-list li::before { content: "✓"; color: var(--green); }
.fit-no .fit-list li::before { content: "✕"; color: var(--red); }

@media (max-width: 820px) {
  .fit-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CASI STUDIO
   ============================================================ */
.case-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.case-card {
  flex: 1 1 360px;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.case-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.case-sector {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
}
.case-sector.cyan { color: var(--cyan); border-color: rgba(71, 204, 207, 0.35); background: rgba(71, 204, 207, 0.08); }
.case-sector.violet { color: var(--violet-strong); border-color: rgba(155, 92, 255, 0.35); background: rgba(155, 92, 255, 0.08); }
.case-sector.amber { color: var(--amber); border-color: rgba(255, 204, 51, 0.35); background: rgba(255, 204, 51, 0.08); }
.case-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.case-desc {
  color: var(--paper-dim);
  font-size: 15.5px;
  line-height: 1.6;
  flex: 1;
}
.case-desc strong { color: var(--paper); font-weight: 600; }
.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.case-stat { display: flex; flex-direction: column; gap: 4px; }
.case-stat-num { font-family: var(--font-mono); font-size: 21px; font-weight: 700; }
.case-stat-num.cyan { color: var(--cyan); }
.case-stat-num.violet { color: var(--violet-strong); }
.case-stat-num.amber { color: var(--amber); }
.case-stat-label { font-size: 12px; color: var(--paper-faint); line-height: 1.3; }
.case-cta {
  text-align: center;
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.case-cta p { color: var(--paper-dim); font-size: 17px; }

@media (max-width: 700px) {
  .case-card { flex-basis: 100%; max-width: 100%; }
}

/* ============================================================
   RECENSIONI
   ============================================================ */
.reviews-carousel {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.reviews-track {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 16px;
  flex: 1;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-arrow {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.reviews-arrow svg { width: 18px; height: 18px; }
.reviews-arrow:hover { border-color: var(--cyan); color: var(--cyan); }
.reviews-arrow:active { transform: scale(0.94); }
.reviews-arrow:disabled { opacity: 0.35; cursor: default; pointer-events: none; }

.review-card {
  flex: 0 0 clamp(280px, 32vw, 400px);
  scroll-snap-align: start;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 28px;
  background: rgba(255,255,255,0.015);
  display: flex;
  flex-direction: column;
}
.review-card.is-real { border-style: solid; border-color: var(--line); }
.review-quote p { margin-bottom: 12px; }
.review-quote p:last-child { margin-bottom: 0; }
.review-stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 16px; font-size: 15px; }
.review-quote-wrap { position: relative; margin-bottom: 6px; }
.review-quote-wrap.is-clamped { max-height: 148px; overflow: hidden; }
.review-quote-wrap.is-clamped::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--ink) 92%);
  pointer-events: none;
}
.review-quote { color: var(--paper-dim); font-size: 18px; line-height: 1.55; font-style: italic; }
.review-more-btn {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 0;
  margin-bottom: 18px;
  cursor: pointer;
}
.review-more-btn:hover { color: var(--cyan-strong); }
.review-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--paper-faint);
}
.review-name { font-size: 13.5px; font-weight: 600; }
.review-role { font-size: 12px; color: var(--paper-faint); }
.review-placeholder-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--paper-faint);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
@media (max-width: 620px) {
  .reviews-arrow { display: none; }
}

/* ============================================================
   CONTATTI
   ============================================================ */
.contact-section {
  background: linear-gradient(180deg, var(--charcoal), var(--ink));
}
.contact-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}
.contact-info h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 18px; }
.contact-info p { color: var(--paper-dim); margin-bottom: 30px; max-width: 40ch; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--paper-dim);
  margin-bottom: 14px;
}
.contact-detail svg { color: var(--cyan); flex: none; }

.form-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.field input, .field select, .field textarea {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: var(--paper-faint); opacity: 1; }
.form-note { font-size: 12px; color: var(--paper-faint); margin-top: 16px; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(71,204,207,0.1);
  border: 1px solid rgba(71,204,207,0.3);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-top: 18px;
  font-size: 14px;
}
.form-success.is-visible { display: flex; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px var(--pad) 34px;
  border-top: 1px solid var(--line);
}
.footer-top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--paper-dim);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--paper-faint);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ============================================================
   COOKIE BANNER (placeholder, Iubenda wiring documented in JS)
   ============================================================ */
.cookie-banner {
  position: fixed;
  right: 18px; bottom: 18px; left: auto;
  width: min(380px, calc(100vw - 36px));
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  z-index: 200;
  display: none;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 50px -14px rgba(0,0,0,0.6);
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner { flex-direction: column; align-items: stretch; }
.cookie-text { font-size: 13px; color: var(--paper-dim); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; justify-content: center; }
.cookie-actions .btn { padding: 10px 18px; font-size: 13px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1240px) {
  .status-pill { display: none; }
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-right .btn-primary { display: none; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .radar { margin-top: 40px; max-width: 320px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { position: static; aspect-ratio: 3/4; max-height: 480px; }
  .service-row { grid-template-columns: 50px 1fr; }
  .service-row .service-desc { grid-column: 2; }
  .livepanel-wrap { grid-template-columns: 1fr; }
  .method-flow { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .method-flow::before { display: none; }
  .review-card { flex-basis: 78vw; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ticker-row { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 560px) {
  .only-mobile { display: block; }
  .hero { padding-top: 130px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section { padding: 80px var(--pad); }
  .footer-top { flex-direction: column; }
}
