/* =========================================================
   My Consulting — Stylesheet
   Design system "sartoriale": editoriale, pulito, professionale.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --ink: #15151b;
  --ink-soft: #3a3a44;
  --muted: #6f6f7a;
  --bg: #ffffff;
  --paper: #f6f3ef;
  --dark: #121216;
  --dark-soft: #1c1c22;

  --accent: #ff4438;
  --accent-d: #e2352a;

  --line: rgba(21, 21, 27, 0.12);
  --line-strong: rgba(21, 21, 27, 0.22);
  --line-invert: rgba(255, 255, 255, 0.16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.25s var(--ease);
  --t-med: 0.45s var(--ease);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
ul,
ol {
  list-style: none;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

/* Disabilita lo smooth scroll nativo quando guida Lenis */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

/* ---------- Accessibilità ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  transition: top var(--t-fast);
}
.skip-link:focus {
  top: 16px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(72px, 10vw, 150px);
  position: relative;
}
.section--paper {
  background: var(--paper);
}
.section--dark {
  background: var(--dark);
  color: #f3f1ee;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-index {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.section-index--invert {
  color: var(--accent);
}
.section-title {
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem);
}

em {
  font-style: italic;
}

/* =========================================================
   Logo
   ========================================================= */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
}
.logo__mark {
  width: 44px;
  height: 34px;
  flex: none;
  overflow: visible;
}
.logo__mark circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.logo__text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  gap: 0.18em;
}
.logo__my {
  color: var(--ink);
}
.logo__consulting {
  color: var(--accent);
  font-weight: 500;
}
.section--dark .logo__my,
.footer .logo__my {
  color: #fff;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --btn-pad-y: 0.95rem;
  --btn-pad-x: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast),
    border-color var(--t-fast), transform var(--t-fast);
  will-change: transform;
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  --btn-pad-y: 0.6rem;
  --btn-pad-x: 1.1rem;
  font-size: 0.85rem;
}
.btn--block {
  width: 100%;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-d);
}
.btn--line {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--line:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.section--dark .btn--line {
  border-color: var(--line-invert);
  color: #fff;
}
.section--dark .btn--line:hover {
  background: #fff;
  color: var(--ink);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================================================
   Preloader
   ========================================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--bg);
}
.preloader__mark {
  width: 110px;
  height: auto;
  overflow: visible;
}
.preloader__mark circle {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
}
.preloader__mark circle:last-child {
  stroke: var(--accent);
}
body.is-loaded .preloader {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}

/* =========================================================
   Header / Nav
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--t-med), box-shadow var(--t-med),
    border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__list {
  display: flex;
  gap: clamp(1.2rem, 2.4vw, 2.4rem);
}
.nav__list a {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color var(--t-fast);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.nav__list a:hover,
.nav__list a.is-active {
  color: var(--ink);
}
.nav__list a:hover::after,
.nav__list a.is-active::after {
  transform: scaleX(1);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.6px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.6s var(--ease);
  pointer-events: none;
}
.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 44px) 44px);
  pointer-events: auto;
}
body.no-scroll {
  overflow: hidden;
}
/* Header sopra il menu mobile aperto: logo e hamburger in chiaro */
body.no-scroll .header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
body.no-scroll .logo__my {
  color: #fff;
}
body.no-scroll .nav-toggle {
  border-color: var(--line-invert);
}
body.no-scroll .nav-toggle span {
  background: #fff;
}
.mobile-menu__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
}
.mobile-menu__nav a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
}
.mobile-menu__nav a span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__circles {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(58vw, 720px);
  height: auto;
  opacity: 0.5;
}
.hero__circles circle {
  fill: none;
  stroke-width: 1.2;
}
.hero__circles circle:nth-child(1) {
  stroke: var(--line-strong);
}
.hero__circles circle:nth-child(2) {
  stroke: var(--line);
}
.hero__circles circle:nth-child(3) {
  stroke: var(--accent);
  opacity: 0.55;
}
.hero__inner {
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-size: clamp(2.6rem, 1.3rem + 6.2vw, 6rem);
  line-height: 1;
  max-width: 14ch;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line__inner {
  display: block;
}
.hero__title em {
  color: var(--accent);
}
.hero__lead {
  max-width: 48ch;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--ink-soft);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}
.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 32px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(-100%);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}

/* =========================================================
   Intro / Stats
   ========================================================= */
.intro__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.intro__statement {
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  line-height: 1.18;
  margin-bottom: 1.6rem;
}
.intro__statement em {
  color: var(--accent);
}
.intro__body {
  color: var(--ink-soft);
  max-width: 60ch;
}
.stats {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.stat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  line-height: 1;
  color: var(--ink);
}
.stat__label {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 30ch;
}

/* =========================================================
   About
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}
.about__col p {
  color: var(--ink-soft);
}
.about__col p + p {
  margin-top: 1.2rem;
}
.about strong {
  color: var(--ink);
  font-weight: 700;
}
.about em {
  color: var(--accent);
  font-style: normal;
}

.pull-quote {
  margin-top: clamp(48px, 7vw, 90px);
  text-align: center;
  position: relative;
}
.pull-quote__line {
  display: block;
  width: 1px;
  height: 48px;
  margin: 0 auto 1.6rem;
  background: var(--accent);
  transform-origin: top;
}
.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem);
  line-height: 1.25;
  max-width: 22ch;
  margin-inline: auto;
}
.pull-quote cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   Services
   ========================================================= */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--bg);
  padding: clamp(28px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  transition: background var(--t-med);
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}
.service-card:hover {
  background: var(--paper);
}
.service-card:hover::after {
  transform: scaleX(1);
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.service-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--accent);
  transition: border-color var(--t-fast), transform var(--t-med);
}
.service-card:hover .service-card__icon {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-size: 1.4rem;
  margin-top: 0.2rem;
}
.service-card p {
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.service-card--accent {
  background: var(--ink);
  color: #f3f1ee;
}
.service-card--accent .service-card__num {
  color: rgba(255, 255, 255, 0.5);
}
.service-card--accent .service-card__icon {
  border-color: var(--line-invert);
}
.service-card--accent p {
  color: rgba(243, 241, 238, 0.75);
}
.service-card--accent:hover {
  background: var(--dark-soft);
}

/* =========================================================
   Software / CRMOFFICINE
   ========================================================= */
.software__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.software__body {
  color: var(--ink-soft);
  max-width: 50ch;
  margin-bottom: 2rem;
}
.software__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2rem;
  margin-bottom: 2.4rem;
}
.software__features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
}
.software__feat-ic {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--accent);
}
.software__feat-ic svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.software__features h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}
.software__features p {
  font-size: 0.9rem;
  color: var(--muted);
}
.software__cta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.software__login {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.software__login:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Browser mockup */
.browser {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 60px -28px rgba(21, 21, 27, 0.28);
  overflow: hidden;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.browser__dots {
  display: flex;
  gap: 6px;
}
.browser__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.browser__dots i:first-child {
  background: var(--accent);
}
.browser__url {
  flex: 1;
  max-width: 60%;
  font-size: 0.78rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.25rem 0.8rem;
}
.browser__body {
  display: grid;
  grid-template-columns: 54px 1fr;
  min-height: 240px;
}
.ui-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-right: 1px solid var(--line);
  background: var(--paper);
}
.ui-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}
.ui-navitem {
  width: 22px;
  height: 6px;
  border-radius: 3px;
  background: var(--line-strong);
  opacity: 0.5;
}
.ui-navitem.is-active {
  background: var(--accent);
  opacity: 1;
}
.ui-main {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ui-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ui-kpi {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ui-kpi__n {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
}
.ui-kpi__l {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.ui-kpi--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.ui-kpi--accent .ui-kpi__l {
  color: rgba(255, 255, 255, 0.82);
}
.ui-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 110px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.ui-chart span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(var(--accent), #ff7a70);
  border-radius: 5px 5px 0 0;
  opacity: 0.9;
}
.ui-chart span:nth-child(even) {
  background: var(--line-strong);
  opacity: 0.5;
}

/* =========================================================
   Method (dark)
   ========================================================= */
.method__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.method__lead {
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  line-height: 1.4;
  color: rgba(243, 241, 238, 0.8);
}
.method__steps {
  display: flex;
  flex-direction: column;
}
.method__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line-invert);
}
.method__steps li:last-child {
  border-bottom: 1px solid var(--line-invert);
}
.method__step-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
}
.method__steps h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.method__steps p {
  color: rgba(243, 241, 238, 0.7);
  font-size: 0.97rem;
}

/* =========================================================
   Partners
   ========================================================= */
.partners__inner {
  max-width: 880px;
}
.partners__title {
  font-size: clamp(1.8rem, 1.3rem + 2.4vw, 3rem);
  margin-bottom: 1.4rem;
}
.partners__body {
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 2rem;
}

/* =========================================================
   News
   ========================================================= */
.news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 260px;
  transition: border-color var(--t-fast), transform var(--t-med);
}
.news-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.news-card__tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid currentColor;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
}
.news-card h3 {
  font-size: 1.45rem;
}
.news-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  flex: 1;
}
.news-card__meta {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* =========================================================
   Contact
   ========================================================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact__body {
  color: var(--ink-soft);
  margin: 1.4rem 0 2rem;
  max-width: 46ch;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.contact__info li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.contact__info-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__info a {
  font-size: 1.1rem;
  font-weight: 600;
  transition: color var(--t-fast);
}
.contact__info a:hover {
  color: var(--accent);
}

.contact__form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color var(--t-fast), background var(--t-fast);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--accent);
}
.field__error {
  font-size: 0.8rem;
  color: var(--accent);
  min-height: 1em;
}
.field__check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}
.field__check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex: none;
}
.contact__feedback {
  font-size: 0.92rem;
  min-height: 1.2em;
}
.contact__feedback.is-success {
  color: #1c7a3e;
}
.contact__feedback.is-error {
  color: var(--accent);
}

/* =========================================================
   Reserved (dark)
   ========================================================= */
.reserved__inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.reserved__body {
  color: rgba(243, 241, 238, 0.75);
  max-width: 46ch;
  margin-top: 1.4rem;
}
.reserved__card {
  background: var(--dark-soft);
  border: 1px solid var(--line-invert);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.reserved__badge {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid currentColor;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}
.reserved__card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}
.reserved__card .field label {
  color: rgba(243, 241, 238, 0.7);
}
.reserved__card .field input {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-invert);
  color: #fff;
}
.reserved__card-body {
  color: rgba(243, 241, 238, 0.72);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.reserved__note {
  font-size: 0.82rem;
  color: rgba(243, 241, 238, 0.5);
  text-align: center;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--dark);
  color: rgba(243, 241, 238, 0.75);
  padding-top: clamp(60px, 7vw, 96px);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.logo--footer {
  color: #fff;
  margin-bottom: 1.2rem;
}
.footer__claim {
  max-width: 36ch;
  font-size: 0.95rem;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 241, 238, 0.5);
  margin-bottom: 1.1rem;
}
.footer__nav li,
.footer__contacts li {
  margin-bottom: 0.6rem;
}
.footer__nav a:hover,
.footer__contacts a:hover {
  color: #fff;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.8rem;
  border-top: 1px solid var(--line-invert);
  font-size: 0.85rem;
  color: rgba(243, 241, 238, 0.5);
}
.footer__bottom a:hover {
  color: #fff;
}

/* =========================================================
   Animazioni — stati iniziali (JS aggiunge .is-ready)
   ========================================================= */
.js [data-animate],
.js [data-animate-lines],
.js .reveal-up,
.js .hero__title .line__inner {
  opacity: 0;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .nav {
    display: none;
  }
  .header__actions .btn--ghost {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .intro__grid,
  .about__grid,
  .software__grid,
  .method__grid,
  .contact__grid,
  .reserved__inner {
    grid-template-columns: 1fr;
  }
  .reserved__inner {
    gap: 32px;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 110px;
  }
  .hero__scroll {
    display: none;
  }
  .field--row {
    grid-template-columns: 1fr;
  }
  .software__features {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
  }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-animate],
  .js [data-animate-lines],
  .js .reveal-up,
  .js .hero__title .line__inner {
    opacity: 1 !important;
    transform: none !important;
  }
}
