/* ── Tokens ── */
:root {
  --ink: #0B0F14;
  --ink-soft: #0E141A;
  --text: #141A1E;
  --text-2: #1B2226;
  --body-muted: #4C555C;
  --muted: #5B636B;
  --muted-soft: #9AA0A6;
  --paper: #ECEEEA;
  --paper-band: #E5E8E2;
  --white: #FFFFFF;
  --line: #D5D8D2;
  --line-soft: #E2E4DE;
  --border-btn: #B7BBB2;
  --accent: #0B7A5E;
  --accent-bright: #34D7A8;
  --radius: 6px;
  --radius-btn: 4px;
  --radius-img: 8px;
  --shadow-featured: 0 30px 60px -34px rgba(11,15,20,0.28);
  --shadow-hero-img: 0 40px 70px -34px rgba(11,15,20,0.5);
  --shadow-dropdown: 0 24px 50px rgba(11,15,20,0.16);
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ── Container ── */
.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 62px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  background: rgba(236, 238, 234, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-height: 44px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--text);
  border-radius: var(--radius-btn);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav a {
  text-decoration: none;
  padding: 10px 4px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 150ms ease;
}

.nav a:hover { color: var(--accent); }
.nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.lang-switch {
  padding: 5px 10px !important;
  min-height: auto !important;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
}

.header-cta {
  min-height: 44px;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: var(--radius-btn);
}

.header-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ── Availability Badge ── */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--white);
}

.availability-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ── Menu Toggle ── */
.menu-toggle {
  display: none;
  place-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--text);
  border-radius: var(--radius-btn);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
}

/* ── Kicker (section label) ── */
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.kicker-on-dark { color: rgba(255, 255, 255, 0.86); }

.kicker-marker {
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

.kicker-marker-bright { background: var(--accent-bright); }

/* ── Buttons ── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  text-decoration: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: transform 150ms ease, filter 150ms ease, border-color 150ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.button-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.button-primary:hover { filter: brightness(1.07); }

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-btn);
}

.button-secondary:hover { border-color: var(--ink); }

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 12px;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 138px 0 96px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.045;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 392px), 1fr));
  gap: 54px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.4rem);
  line-height: 1.0;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.hero-copy {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--body-muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 50px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-stats div {
  background: var(--paper);
  padding: 18px;
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-stats dd {
  margin: 7px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Hero Figure (window chrome) ── */
.hero-figure { margin: 0; }

.hero-window {
  border: 1px solid #C2C5BD;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-hero-img);
}

.hero-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chrome-dots {
  display: flex;
  gap: 7px;
}

.chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3A4149;
}

.chrome-filename {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

.chrome-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.chrome-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.hero-figure figcaption {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ── Intro Band (Posizionamento) ── */
.intro-band {
  background: var(--ink);
  color: #fff;
}

.intro-grid {
  padding: 64px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 48px;
  align-items: start;
}

.intro-band .kicker { color: rgba(255, 255, 255, 0.86); }

.intro-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 1rem + 2vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #fff;
}

.intro-band p:not(.kicker) {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

/* ── Sections ── */
.section {
  padding: 104px 0;
  scroll-margin-top: 80px;
}

.section-band { background: var(--paper-band); }

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.section-heading p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--body-muted);
  font-size: 1.02rem;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 42px;
  align-items: end;
}

.section-heading.split > p { margin: 0; }

/* ── Service Cards ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.service-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted-soft);
}

.service-card h3 {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.34rem;
  line-height: 1.18;
  color: var(--ink);
}

.service-card p {
  margin: 0;
  color: var(--body-muted);
  font-size: 0.98rem;
}

.service-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ── Readiness Grid ── */
.readiness-section { background: var(--white); }

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.readiness-grid article {
  background: var(--white);
  padding: 26px 24px;
  min-height: 230px;
}

.readiness-index {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.readiness-grid h3 {
  margin: 30px 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.16rem;
  line-height: 1.22;
  color: var(--ink);
}

.readiness-grid p {
  margin: 0;
  color: var(--body-muted);
  font-size: 0.95rem;
}

/* ── About ── */
.about-section { background: var(--paper); }

.about-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 58px;
  align-items: start;
}

.about-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 1.1rem + 2vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.about-copy p {
  margin: 22px 0 0;
  color: var(--body-muted);
  font-size: 1.04rem;
}

.about-copy p + p { margin-top: 18px; }

.about-panel {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.about-panel div {
  padding: 22px 24px;
  background: var(--white);
}

.about-panel span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-panel strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.3;
}

.about-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ── Case Studies ── */
.case-list {
  display: grid;
  gap: 16px;
}

.case-study {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-study.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-featured);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.case-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-badge-active {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-color: var(--accent) !important;
  color: var(--ink) !important;
}

.case-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.case-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
  align-items: start;
}

.case-study h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.42rem;
  line-height: 1.16;
  color: var(--ink);
}

.case-title-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 150ms ease;
}

.case-title-link:hover { color: var(--accent); }

.case-study p {
  margin: 0;
  color: var(--body-muted);
  font-size: 0.98rem;
}

.case-proof {
  border-left: 3px solid #C2C5BD;
  padding-left: 18px;
}

.case-proof-accent { border-left-color: var(--accent); }

.case-proof strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.case-proof span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ── Case Study Detail ── */
.case-hero { padding-bottom: 88px; }

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.architecture-flow article {
  position: relative;
  min-height: 240px;
  padding: 28px 24px;
  background: var(--white);
}

.architecture-flow article::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -9px;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: rotate(45deg);
  background: var(--white);
}

.architecture-flow article:last-child::after { display: none; }

.architecture-flow span {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.architecture-flow h3 {
  margin: 42px 0 12px;
  font-family: var(--font-display);
  font-size: 1.24rem;
  line-height: 1.18;
  color: var(--ink);
}

.architecture-flow p {
  margin: 0;
  color: var(--body-muted);
  font-size: 0.96rem;
}

.system-map {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.system-map div {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 14px;
  background: var(--ink-soft);
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

.proof-grid article {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.22;
  color: var(--ink);
}

.proof-grid p {
  margin: 12px 0 0;
  color: var(--body-muted);
  font-size: 0.96rem;
}

.stack-groups-dark article {
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--ink-soft);
}

.stack-groups-dark p { color: rgba(255, 255, 255, 0.68); }

/* ── Stack ── */
.stack-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 54px;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 96px;
}

.stack-groups {
  display: grid;
  gap: 14px;
}

.stack-groups article {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stack-groups h3 {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.stack-groups p {
  margin: 0;
  color: #3A434A;
  font-size: 0.98rem;
}

/* ── Dark Section (Metodo) ── */
.dark-section {
  background: var(--ink);
  color: #fff;
}

.dark-section .section-heading h2 { color: #fff; }

.dark-section .section-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.process-list li {
  min-height: 240px;
  padding: 26px 24px;
  background: var(--ink-soft);
}

.process-number {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--accent-bright);
}

.process-list strong {
  display: block;
  margin: 28px 0 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
}

.process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

/* ── Contact ── */
.contact-section {
  padding: 96px 0;
  background: var(--paper-band);
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 42px;
  align-items: center;
}

.contact-layout h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 1rem + 2vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.contact-layout p {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--body-muted);
  font-size: 1.04rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.contact-alt {
  font-size: 0.95rem;
}

.contact-actions-inline {
  margin-top: 24px;
}

.contact-alt a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact-alt a:hover { border-bottom-color: var(--accent); }

/* ── Contact form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--body-muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field textarea { resize: vertical; min-height: 96px; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted-soft); }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 122, 94, 0.14);
}

.contact-form .button { width: 100%; }

.contact-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: #B4362E; }

/* ── Footer ── */
.site-footer {
  padding: 26px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-social a:hover { color: var(--accent-bright); }
.footer-social a:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .availability-badge,
  .header-cta { display: none; }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 62px;
    left: 16px;
    right: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: var(--shadow-dropdown);
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 14px;
    min-height: 44px;
  }

  .sticky-heading { position: static; }

  .hero { padding: 120px 0 64px; }

  .architecture-flow article::after { display: none; }

  .system-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .readiness-grid article,
  .process-list li { min-height: auto; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }

  .hero { padding: 100px 0 48px; }

  .hero h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  .hero-actions,
  .contact-actions { flex-direction: column; }

  .button { width: 100%; }

  .hero-stats { grid-template-columns: 1fr; }

  .system-map { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .footer-meta { flex-direction: column; gap: 6px; }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent);
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::before { content: "\2212"; }
.faq-item p {
  margin: 0;
  padding: 0 0 1.25rem 1.9rem;
  color: var(--body-muted);
  line-height: 1.65;
  max-width: 68ch;
}

/* ---------- Header: niente wrap su brand e CTA ---------- */
.brand { flex-shrink: 0; }
.brand-name { white-space: nowrap; }
.header-cta { white-space: nowrap; flex-shrink: 0; }

/* Nav piu compatta a larghezze intermedie (case study con voci lunghe) */
@media (min-width: 901px) and (max-width: 1220px) {
  .nav { gap: 14px; }
  .header-right { gap: 12px; }
  .availability-badge { display: none; }
}
