/* ==========================================================================
   Alke — stili del sito (si appoggia a bootstrap.min.css compilato)
   ========================================================================== */

/* ---------- Font self-hosted (SIL Open Font License) ---------- */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Token ---------- */
:root {
  --logo-width: 8.25rem; /* 132px — header, footer, pagine semplici */
  /* Palette allineata al logo (simbolo #1b5a7a, testo #111111) */
  --alke-ink: #111111;
  --alke-text: #475966;
  --alke-muted: #5c6d77;
  --alke-primary: #1b5a7a;
  --alke-primary-dark: #143f56;
  --alke-primary-light: #2a7a9e;
  --alke-accent: #38a3c4;
  --alke-violet: #38a3c4;
  --alke-cyan: #6eb8d4;
  --alke-tint: #e8f1f5;
  --alke-tint-2: #f3f8fa;
  --alke-line: #d0dee4;
  --alke-dark: #0d2430;
  --alke-dark-2: #164155;
  --alke-on-dark: #c5dce6;
  --alke-on-dark-accent: #6eb8d4;
  --alke-danger: #b42318;
  --alke-success: #1f7a4d;
  --alke-radius: 1.25rem;
  --alke-radius-lg: 1.5rem;
  --alke-shadow-rgb: 13, 36, 48;
  --alke-primary-rgb: 27, 90, 122;
  --alke-accent-rgb: 56, 163, 196;
  --alke-shadow-sm: 0 1px 2px rgba(var(--alke-shadow-rgb), .07), 0 6px 18px -8px rgba(var(--alke-shadow-rgb), .14);
  --alke-shadow: 0 30px 60px -24px rgba(var(--alke-shadow-rgb), .22), 0 10px 24px -12px rgba(var(--alke-shadow-rgb), .12);
  --alke-shadow-primary: 0 10px 24px -10px rgba(var(--alke-primary-rgb), .45);
  --alke-shadow-header: 0 8px 24px -18px rgba(var(--alke-shadow-rgb), .32);
  --alke-shadow-modal: 0 30px 80px -20px rgba(var(--alke-shadow-rgb), .42);
  --alke-header-h: 76px;
}

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--alke-header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html,
body {
  overflow-x: clip;
}
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, .h1, .h2, .h3, .h4 { letter-spacing: -.015em; }
h1 { font-size: clamp(2.25rem, 1.35rem + 3.6vw, 4rem); line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.75rem); line-height: 1.15; }
h3 { line-height: 1.25; }
.h5, .h6 { font-family: var(--bs-body-font-family); font-weight: 700; letter-spacing: 0; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

main:focus { outline: none; }

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: -.125em;
}

:focus-visible {
  outline: 3px solid var(--alke-primary);
  outline-offset: 3px;
}
.section-dark :focus-visible,
.site-footer :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  padding: .75rem 1.25rem;
  background: var(--alke-ink);
  color: #fff;
  border-radius: .5rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--alke-primary-dark);
}
.eyebrow-light { color: var(--alke-on-dark-accent); }

.text-gradient {
  color: var(--alke-primary-dark);
  background: linear-gradient(90deg, var(--alke-primary) 0%, var(--alke-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
.btn-primary { box-shadow: var(--alke-shadow-primary); }
.btn-outline-primary { --bs-btn-bg: #fff; border-width: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: color-mix(in srgb, var(--alke-tint) 88%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--alke-line);
  box-shadow: var(--alke-shadow-header);
}
.site-header .navbar { min-height: var(--alke-header-h); }
.navbar-brand { padding: 0; display: inline-flex; min-height: 44px; align-items: center; }
.navbar-brand img,
.footer-logo,
.simple-page img[src*="logo-alke"] {
  display: block;
  width: var(--logo-width);
  height: auto;
}
.navbar-toggler { min-width: 48px; min-height: 48px; border: 0; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler:focus-visible { outline: 3px solid var(--alke-primary); }
.nav-link {
  font-weight: 500;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-link.active { color: var(--alke-primary-dark); }
.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--alke-ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--alke-primary-dark); }
.nav-phone .icon { color: var(--alke-primary); }

@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-phone { display: none; }
  .navbar-expand-lg .navbar-nav .nav-link { padding-inline: .6rem; }
}
@media (max-width: 991.98px) {
  .navbar-collapse { padding: .5rem 0 1.25rem; }
  .navbar-nav .nav-link { padding-block: .65rem; border-bottom: 1px solid var(--alke-line); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: .75rem; margin-top: 1rem; }
  .nav-phone { justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 0;
  background: linear-gradient(to bottom, var(--alke-tint) 0, var(--alke-tint) calc(100% - 200px), #fff calc(100% - 200px));
  overflow: hidden;
}
.hero > .container { position: relative; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.hero-bg::before {
  width: 520px; height: 520px;
  left: -220px; top: 120px;
  background: radial-gradient(circle at 60% 40%, rgba(var(--alke-primary-rgb), .14), rgba(var(--alke-primary-rgb), 0) 70%);
}
.hero-bg::after {
  width: 620px; height: 620px;
  right: -260px; top: -160px;
  background: radial-gradient(circle at 40% 60%, rgba(var(--alke-accent-rgb), .16), rgba(var(--alke-accent-rgb), 0) 70%);
}
.hero-copy { max-width: 920px; }
.hero h1 { margin-bottom: 1.25rem; }
.hero-lead {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  color: var(--alke-text);
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .875rem; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.75rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--alke-ink);
}
.hero-points li {
  display: inline-flex;
  align-items: flex-start;
  gap: .45rem;
  text-align: left;
}
.hero-points .icon {
  color: var(--alke-success);
  font-size: 1.125rem;
  margin-top: .15rem;
}
@media (max-width: 575.98px) {
  .hero-ctas .btn { width: 100%; }
}
@media (max-width: 767.98px) {
  .hero-points {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
}

/* Mockup */
.hero-visual {
  position: relative;
  max-width: 1000px;
  margin: clamp(2.5rem, 2rem + 2vw, 4rem) auto 0;
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}
.mockup {
  position: relative;
  background: #fff;
  border: 1px solid var(--alke-line);
  border-radius: var(--alke-radius-lg);
  box-shadow: var(--alke-shadow);
  overflow: hidden;
  font-size: .9375rem;
  text-align: left;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--alke-line);
  background: #fff;
}
.mockup-dots { display: inline-flex; gap: .4rem; }
.mockup-dots i { width: 10px; height: 10px; border-radius: 50%; background: #c5d8e0; }
.mockup-title { font-weight: 600; color: var(--alke-ink); }
.mockup-tag {
  margin-left: auto;
  padding: .2rem .65rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--alke-primary-dark);
  background: var(--alke-tint);
  border-radius: 999px;
}
.mockup-body { display: grid; grid-template-columns: 230px 1fr; min-height: 360px; }
.mockup-side { padding: 1.25rem; background: var(--alke-tint-2); border-right: 1px solid var(--alke-line); }
.mockup-label {
  margin: 0 0 .65rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--alke-muted);
}
.mockup-sources { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.mockup-sources li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .65rem;
  margin-bottom: .35rem;
  background: #fff;
  border: 1px solid var(--alke-line);
  border-radius: .65rem;
  font-size: .875rem;
  color: var(--alke-ink);
}
.mockup-sources .icon { color: var(--alke-primary); }
.mockup-sources .status { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #2fb67c; box-shadow: 0 0 0 3px rgba(47, 182, 124, .18); }
.mockup-role { display: flex; gap: .6rem; align-items: flex-start; font-size: .875rem; color: var(--alke-ink); line-height: 1.35; }
.mockup-role .icon { color: var(--alke-violet); margin-top: .15rem; }
.mockup-role small { color: var(--alke-muted); }
.mockup-chat { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.msg { max-width: 88%; padding: .85rem 1.1rem; line-height: 1.5; }
.msg p { margin-bottom: .6rem; }
.msg-user {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(135deg, var(--alke-primary), var(--alke-primary-dark));
  border-radius: 18px 18px 4px 18px;
}
.msg-ai {
  align-self: flex-start;
  background: var(--alke-tint-2);
  border: 1px solid var(--alke-line);
  border-radius: 18px 18px 18px 4px;
  color: var(--alke-ink);
}
.mockup-rows {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .4rem 1rem;
  align-items: center;
  padding: .75rem .9rem;
  margin-bottom: .6rem;
  background: #fff;
  border: 1px solid var(--alke-line);
  border-radius: .75rem;
  font-size: .8125rem;
}
.mockup-rows span:nth-child(3n+1) { font-weight: 600; font-variant-numeric: tabular-nums; }
.mockup-rows .pill { padding: .1rem .55rem; border-radius: 999px; background: #fff4e5; color: #8a4b00; font-size: .75rem; font-weight: 600; }
.mockup-cite { display: flex; align-items: center; gap: .4rem; margin: 0 !important; font-size: .75rem; color: var(--alke-muted); }
.msg-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.1rem;
  border: 1.5px dashed rgba(var(--alke-primary-rgb), .4);
  border-radius: 14px;
  font-size: .875rem;
  color: var(--alke-ink);
  line-height: 1.4;
}
.msg-action strong { color: var(--alke-primary-dark); }
.msg-action-btns { display: flex; gap: .5rem; flex-shrink: 0; }
.fake-btn {
  padding: .4rem .85rem;
  border-radius: .55rem;
  border: 1px solid var(--alke-line);
  font-size: .8125rem;
  font-weight: 600;
  background: #fff;
}
.fake-btn-primary { background: var(--alke-primary); border-color: var(--alke-primary); color: #fff; }

.float-card {
  position: absolute;
  display: none;
  align-items: center;
  gap: .75rem;
  width: 240px;
  padding: .9rem 1rem;
  background: #fff;
  border: 1px solid var(--alke-line);
  border-radius: 1rem;
  box-shadow: var(--alke-shadow);
  font-size: .875rem;
  line-height: 1.35;
  color: var(--alke-ink);
  text-align: left;
}
.float-card small { display: block; color: var(--alke-muted); font-size: .8125rem; }
.float-card-doc { left: -200px; top: 46%; }
.float-card-flow { right: -200px; top: 24%; }
.float-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: .75rem;
  background: var(--alke-tint);
  color: var(--alke-primary);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.float-icon-alt { background: #dceef5; color: var(--alke-primary); }
@media (min-width: 1400px) {
  .float-card { display: flex; }
}
@media (max-width: 767.98px) {
  .mockup-body { grid-template-columns: 1fr; min-height: 0; }
  .mockup-side { display: none; }
  .mockup-chat { padding: 1rem; }
  .msg { max-width: 100%; }
  .msg-action { flex-direction: column; align-items: flex-start; }
  .mockup-tag { font-size: .6875rem; }
}
@media (max-width: 420px) {
  .mockup-title { display: none; }
  .mockup-rows { grid-template-columns: auto 1fr; }
  .mockup-rows .pill { display: none; }
}

/* ---------- Sezioni ---------- */
.section { position: relative; padding: clamp(4rem, 3rem + 4vw, 7rem) 0; }
.section-tint { background: var(--alke-tint-2); }
.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.section-intro { font-size: 1.0625rem; color: var(--alke-text); }
.section-head .section-intro { margin-bottom: 0; }

/* Confronto */
.compare-card { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--alke-radius); }
.compare-card h3 { margin-bottom: 1.25rem; }
.compare-card-muted { background: var(--alke-tint-2); border: 1px solid var(--alke-line); }
.compare-card-strong {
  background: #fff;
  border: 2px solid rgba(var(--alke-primary-rgb), .32);
  box-shadow: var(--alke-shadow);
}
.compare-list { list-style: none; margin: 0; padding: 0; }
.compare-list li { display: flex; gap: .75rem; padding: .55rem 0; }
.compare-list .icon { font-size: 1.15rem; margin-top: .2rem; }
.compare-card-muted .icon { color: #8a93ad; }
.compare-card-strong .icon { color: var(--alke-primary); }
.compare-card-strong li { color: var(--alke-ink); }

/* Servizi */
.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--alke-line);
  border-radius: var(--alke-radius);
  box-shadow: var(--alke-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--alke-shadow); }
.service-card h3 { font-size: 1.5rem; margin: 1.25rem 0 .75rem; }
.service-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--alke-tint), #dceef5);
  color: var(--alke-primary);
  font-size: 1.5rem;
}
.check-list { list-style: none; margin: .25rem 0 1.5rem; padding: 0; }
.check-list li { position: relative; padding: .35rem 0 .35rem 1.75rem; color: var(--alke-ink); }
.check-list li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .72rem;
  width: .8rem;
  height: .45rem;
  border-left: 2px solid var(--alke-primary);
  border-bottom: 2px solid var(--alke-primary);
  transform: rotate(-45deg);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
}
.service-link .icon { transition: transform .2s ease; }
.service-link:hover .icon { transform: translateX(4px); }

/* Integrazioni (sezione scura) */
.section-dark {
  color: var(--alke-on-dark);
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(var(--alke-primary-rgb), .2), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(var(--alke-accent-rgb), .14), transparent 60%),
    var(--alke-dark);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-intro { color: var(--alke-on-dark); }
.tech-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.35rem; }
.tech-list li { display: flex; gap: 1rem; }
.tech-list .icon { font-size: 1.35rem; color: var(--alke-on-dark-accent); margin-top: .1rem; }
.tech-list h3 { margin-bottom: .3rem; }
.tech-list p { margin: 0; font-size: .9375rem; }

.diagram {
  padding: clamp(1rem, .5rem + 2vw, 2rem);
  border: 1px solid rgba(var(--alke-accent-rgb), .22);
  border-radius: var(--alke-radius-lg);
  background: rgba(255, 255, 255, .03);
}
.diagram-svg { display: block; width: 100%; height: auto; font-family: var(--bs-body-font-family); }
.diagram-links path { stroke: rgba(var(--alke-accent-rgb), .35); stroke-width: 2; fill: none; }
.diagram-flow path { stroke: var(--alke-accent); stroke-width: 2; fill: none; stroke-dasharray: 6 14; stroke-linecap: round; }
.diagram-tags text { fill: var(--alke-on-dark-accent); font-size: 13px; font-weight: 600; text-anchor: middle; }
.diagram-ring { fill: rgba(27, 90, 122, .12); stroke: var(--alke-primary-light); stroke-width: 1.5; stroke-dasharray: 5 5; }
.diagram-ring-label { fill: var(--alke-on-dark); font-size: 12px; font-weight: 500; text-anchor: middle; }
.diagram-hub { fill: var(--alke-primary); }
.diagram-hub-title { fill: #fff; font-size: 18px; font-weight: 700; text-anchor: middle; }
.diagram-hub-sub { fill: #b8d4e0; font-size: 13px; text-anchor: middle; }
.diagram-nodes rect { fill: var(--alke-dark-2); stroke: var(--alke-primary-light); stroke-width: 1.5; }
.diagram-nodes text { fill: #fff; font-size: 14px; font-weight: 600; text-anchor: middle; }
.diagram-caption { margin: 1rem 0 0; font-size: .8125rem; color: var(--alke-on-dark); text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .diagram-flow path { animation: flow 2.4s linear infinite; }
}
@keyframes flow { to { stroke-dashoffset: -40; } }

/* Casi d'uso */
.usecases { display: grid; gap: 1.25rem; }
.usecase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  background: #fff;
  border: 1px solid var(--alke-line);
  border-radius: var(--alke-radius);
  box-shadow: var(--alke-shadow-sm);
}
.usecase-head { display: flex; gap: 1rem; align-items: center; }
.usecase-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--alke-tint);
  color: var(--alke-primary);
  font-size: 1.35rem;
}
.usecase-kicker { margin: 0 0 .15rem; font-size: .8125rem; font-weight: 600; color: var(--alke-muted); }
.usecase h3 { margin: 0; font-size: 1.375rem; }
.usecase-flow { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin: 0; }
.flow-step { position: relative; padding: 1rem 1.15rem; border-radius: 1rem; background: var(--alke-tint-2); }
.flow-step dt {
  display: inline-block;
  margin-bottom: .5rem;
  padding: .15rem .65rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.flow-step dd { margin: 0; font-size: .9375rem; color: var(--alke-ink); }
.flow-problem dt { background: #fdecea; color: var(--alke-danger); }
.flow-solution dt { background: var(--alke-tint); color: var(--alke-primary-dark); }
.flow-benefit dt { background: #e7f6ee; color: var(--alke-success); }
.flow-benefit { background: #f4fbf7; }
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.05rem;
  width: .6rem;
  height: .6rem;
  border-right: 2px solid var(--alke-accent);
  border-bottom: 2px solid var(--alke-accent);
  transform: translateX(-50%) rotate(45deg);
}
@media (min-width: 992px) {
  .usecase { grid-template-columns: 250px 1fr; align-items: center; gap: 2rem; }
  .usecase-head { flex-direction: column; align-items: flex-start; }
  .usecase-flow { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .flow-step:not(:last-child)::after {
    left: auto;
    right: -1.2rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
  }
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--alke-radius-lg);
  background: linear-gradient(120deg, var(--alke-tint) 0%, #dceef5 100%);
  border: 1px solid var(--alke-line);
}
.cta-band h3 { font-family: var(--bs-headings-font-family, inherit); }
@media (max-width: 575.98px) { .cta-band .btn { width: 100%; } }

/* Metodo */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  counter-reset: none;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--alke-line);
  border-radius: var(--alke-radius);
  box-shadow: var(--alke-shadow-sm);
}
.step-num {
  display: block;
  margin-bottom: 1rem;
  font-family: "Fraunces Variable", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
  color: var(--alke-primary-dark);
  background: linear-gradient(90deg, var(--alke-primary), var(--alke-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step h3 { margin-bottom: .5rem; }
.step p { margin: 0; font-size: .9375rem; }

/* Perché Alke */
.why-list {
  list-style: none;
  margin: 0;
  padding: .5rem clamp(1.25rem, 1rem + 1vw, 2rem);
  background: #fff;
  border: 1px solid var(--alke-line);
  border-radius: var(--alke-radius-lg);
  box-shadow: var(--alke-shadow);
}
.why-list li { display: flex; gap: 1rem; padding: 1.25rem 0; }
.why-list li + li { border-top: 1px solid var(--alke-line); }
.why-list h3 { margin-bottom: .25rem; color: var(--alke-ink); }
.why-list p { margin: 0; font-size: .9375rem; }
.why-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: .85rem;
  background: var(--alke-tint);
  color: var(--alke-primary);
  font-size: 1.2rem;
}

/* FAQ */
.faq { max-width: 860px; }
.faq .accordion-item { margin-bottom: .75rem; border: 1px solid var(--alke-line); border-radius: 1rem !important; overflow: hidden; background: #fff; }
.faq .accordion-button { font-weight: 600; color: var(--alke-ink); font-size: 1.0625rem; line-height: 1.4; min-height: 56px; }
.faq .accordion-button:not(.collapsed) { box-shadow: none; }
.faq .accordion-body { padding-top: .25rem; }
.faq .accordion-header { font-family: var(--bs-body-font-family); }

/* Contatti */
.section-contact { background: linear-gradient(to bottom, #fff 0%, var(--alke-tint) 100%); }
.next-steps { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 1.1rem; }
.next-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.next-steps li > span {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--alke-primary);
  color: #fff;
  font-weight: 700;
}
.next-steps strong { color: var(--alke-ink); }
.contact-direct { padding-top: 1.5rem; border-top: 1px solid var(--alke-line); }
.contact-direct-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 48px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--alke-ink);
  text-decoration: none;
}
.contact-phone .icon { color: var(--alke-primary); }
.contact-phone:hover { color: var(--alke-primary-dark); }
.contact-whatsapp .icon { color: #128c7e; }
.contact-whatsapp:hover { color: #0d6e63; }

.form-card {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: #fff;
  border: 1px solid var(--alke-line);
  border-radius: var(--alke-radius-lg);
  box-shadow: var(--alke-shadow);
}
.req { color: var(--alke-danger); }
.optional { font-weight: 400; color: var(--alke-muted); }
.form-control, .form-select { min-height: 48px; }
.form-hint { margin: .4rem 0 0; font-size: .875rem; color: var(--alke-muted); }
.field-error { margin: .4rem 0 0; font-size: .875rem; font-weight: 500; color: var(--alke-danger); }
.field-error:empty { display: none; }
.form-check { display: flex; gap: .75rem; padding-left: 0; }
.form-check .form-check-input { float: none; margin: .2rem 0 0; width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.form-note { font-size: .875rem; color: var(--alke-muted); }
.form-alert {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: .85rem;
  border: 1px solid #f5c2bd;
  background: #fdecea;
  color: #7a1b12;
  font-size: .9375rem;
}
.form-alert a { color: #7a1b12; font-weight: 600; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

#submitBtn { position: relative; min-width: 220px; }
.btn-spinner {
  display: none;
  width: 1.1rem; height: 1.1rem;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
}
#submitBtn.is-loading .btn-spinner { display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { padding: 2rem 1rem; text-align: center; }
.form-success:focus { outline: none; }
.success-icon {
  display: inline-grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #e7f6ee;
  color: var(--alke-success);
  font-size: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 4rem 0 2rem;
  background: var(--alke-dark);
  color: var(--alke-on-dark);
  font-size: .9375rem;
}
.site-footer a, .site-footer .link-button { color: #fff; }
.footer-logo { margin-bottom: 1rem; }
.footer-title {
  margin-bottom: 1rem;
  font-family: var(--bs-body-font-family);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.footer-text { color: var(--alke-on-dark); }
.footer-address { font-style: normal; line-height: 1.9; }
.footer-address strong { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .25rem; }
.footer-links a, .footer-links .link-button { display: inline-flex; align-items: center; min-height: 32px; }
.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(var(--alke-accent-rgb), .22);
  font-size: .8125rem;
}

/* ---------- Banner consenso cookie ---------- */
.consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  max-width: 600px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--alke-line);
  border-radius: var(--alke-radius);
  box-shadow: var(--alke-shadow-modal);
  font-size: .9375rem;
}
.consent h2 { font-size: 1.25rem; margin-bottom: .5rem; }
.consent p { margin-bottom: 1rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent-actions .btn { flex: 1 1 140px; min-height: 44px; padding: .55rem 1rem; }
.consent-prefs { margin: 0 0 1rem; padding: 1rem; border-radius: .85rem; background: var(--alke-tint-2); }
.consent-prefs .form-check { margin-bottom: .75rem; }
.consent-prefs .form-check:last-child { margin-bottom: 0; }
.consent-prefs small { display: block; color: var(--alke-muted); }

/* ---------- Pagine legali ---------- */
.legal { padding: clamp(3rem, 2rem + 3vw, 5rem) 0; }
.legal-content { max-width: 820px; }
.legal-content h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); margin-bottom: 1.5rem; }
.legal-content h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal-notice {
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  border-left: 4px solid #d98a00;
  border-radius: .5rem;
  background: #fff7e6;
  color: #5c3b00;
}
.placeholder-text { padding: 0 .25rem; background: #fff1c2; color: #5c3b00; border-radius: .25rem; font-weight: 600; }
.legal-table { width: 100%; margin-bottom: 1.5rem; border-collapse: collapse; font-size: .9375rem; }
.legal-table th, .legal-table td { padding: .65rem .75rem; border: 1px solid var(--alke-line); vertical-align: top; text-align: left; }
.legal-table th { background: var(--alke-tint-2); color: var(--alke-ink); }
.simple-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }

/* ---------- Animazioni ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
  .float-card-doc { animation: bob 7s ease-in-out infinite; }
  .float-card-flow { animation: bob 8s ease-in-out -3s infinite; }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .service-card:hover { transform: none; }
}
