/* =========================================================
   ChiBri S.r.l.s. — sito corporate
   Foglio di stile unico. Design dark, committed.
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

/* ---------- Token ---------- */
:root {
  --ink:        #07080B;
  --ink-2:      #0C0E14;
  --surface:    #12151D;
  --surface-2:  #171B25;
  --line:       #232836;
  --line-soft:  #1B1F2A;

  --text:       #EDEFF5;
  --text-2:     #A7AFC2;
  --text-3:     #6F7789;

  --accent:     #4F7CFF;
  --accent-2:   #64E0C8;
  --accent-dim: rgba(79, 124, 255, 0.14);

  --radius:     14px;
  --radius-lg:  22px;

  --wrap:       1180px;
  --gut:        clamp(20px, 5vw, 40px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -0.02em; }
p  { text-wrap: pretty; }

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--text-2);
  line-height: 1.62;
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 9px;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  margin-top: 0.62em;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(100, 224, 200, 0.13);
}

.grad {
  background: linear-gradient(96deg, var(--accent) 0%, var(--accent-2) 92%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s,
              box-shadow 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 26px -10px rgba(79, 124, 255, 0.85);
}
.btn-primary:hover { background: #6B90FF; box-shadow: 0 14px 34px -10px rgba(79,124,255,0.95); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: #39415A; background: rgba(255, 255, 255, 0.07); }

.btn-sm { padding: 10px 18px; font-size: 0.875rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--accent-2); text-decoration: none;
  font-weight: 600; font-size: 0.94rem;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(7, 8, 11, 0.78);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; font-weight: 700; letter-spacing: -0.02em;
  font-size: 1.08rem;
}
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand small {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--text-3); text-transform: uppercase; margin-left: 2px;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
/* il CTA dentro il menu serve solo alla versione mobile */
.nav-links .btn { display: none; }
.nav-links a {
  text-decoration: none; font-size: 0.93rem; font-weight: 500;
  color: var(--text-2); transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1.5px;
  background: var(--accent-2); transition: right 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.6px; background: var(--text);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span + span { margin-top: 4.5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(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(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(9, 11, 16, 0.97);
    backdrop-filter: blur(18px);
    border-block: 1px solid var(--line-soft);
    padding: 8px var(--gut) 22px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-links .btn { display: inline-flex; margin-top: 18px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(120px, 17vh, 170px);
  padding-bottom: clamp(64px, 10vh, 110px);
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  /* fallback statico: resta visibile se il canvas WebGL non parte */
  background:
    radial-gradient(58% 62% at 72% 22%, rgba(79, 124, 255, 0.30) 0%, transparent 62%),
    radial-gradient(48% 55% at 22% 72%, rgba(100, 224, 200, 0.16) 0%, transparent 64%),
    var(--ink);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--ink) 88%);
  pointer-events: none;
}
/* velo scuro sotto la colonna di testo: il contrasto non dipende
   da cosa sta disegnando lo shader in quel fotogramma */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(7,8,11,0.94) 0%, rgba(7,8,11,0.80) 42%,
                    rgba(7,8,11,0.30) 68%, rgba(7,8,11,0) 92%),
    linear-gradient(to bottom, rgba(7,8,11,0.86) 0%, rgba(7,8,11,0) 32%);
}
.hero-inner { position: relative; max-width: 880px; }
.hero h1 { margin: 22px 0 24px; }
.hero .lead { max-width: 58ch; }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px;
}
.hero-meta {
  margin-top: 46px; padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: 0.83rem; color: var(--text-3);
}
.hero-meta span { display: inline-flex; align-items: flex-start; gap: 8px; }
.hero-meta span::before {
  content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%;
  margin-top: 0.66em; background: var(--text-3);
}

/* ---------- Sezioni ---------- */
.section { padding-block: clamp(72px, 11vw, 130px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-head h2 { margin: 18px 0 20px; }

.rule { height: 1px; background: var(--line-soft); border: 0; }

/* ---------- Servizi ---------- */
.services { display: grid; gap: 18px; }
.svc {
  position: relative;
  background: linear-gradient(168deg, var(--surface) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 42px);
  transition: border-color 0.35s, transform 0.45s var(--ease);
  overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 260px at var(--mx, 50%) var(--my, 0%),
              rgba(79, 124, 255, 0.10), transparent 70%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.svc:hover { border-color: #2E3547; transform: translateY(-3px); }
.svc:hover::before { opacity: 1; }

.svc-num {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--text-3);
}
.svc-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--accent-dim);
  border: 1px solid rgba(79, 124, 255, 0.28);
  color: var(--accent);
}
.svc-icon svg { width: 22px; height: 22px; }
.svc h3 { margin-bottom: 12px; }
.svc p { color: var(--text-2); font-size: 0.98rem; }

.svc-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.svc-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 0.94rem; color: var(--text-2);
}
.svc-list li::before {
  content: ""; flex: none; width: 15px; height: 15px; margin-top: 5px;
  border-radius: 50%;
  background: var(--accent-2); opacity: 0.9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* servizio di punta */
.svc-lead {
  border-color: rgba(79, 124, 255, 0.34);
  background:
    radial-gradient(120% 130% at 88% 0%, rgba(79, 124, 255, 0.13) 0%, transparent 58%),
    linear-gradient(168deg, var(--surface-2) 0%, var(--ink-2) 100%);
}
.svc-lead .svc-body { display: grid; gap: clamp(24px, 4vw, 54px); align-items: start; }
.badge {
  display: inline-block; padding: 5px 12px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  background: rgba(100, 224, 200, 0.12); color: var(--accent-2);
  border: 1px solid rgba(100, 224, 200, 0.26);
}
@media (min-width: 900px) {
  .svc-lead .svc-body { grid-template-columns: 1.05fr 0.95fr; }
  .services-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* ---------- Metodo ---------- */
.steps { display: grid; gap: 1px; background: var(--line-soft);
         border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--ink-2); padding: clamp(24px, 3vw, 34px); }
.step-n {
  font-size: 2.3rem; font-weight: 800; letter-spacing: -0.05em;
  line-height: 1; margin-bottom: 16px;
  background: linear-gradient(150deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.05rem; margin-bottom: 9px; }
.step p { font-size: 0.92rem; color: var(--text-2); }

/* ---------- SempliCo ---------- */
.case {
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(100, 224, 200, 0.10) 0%, transparent 55%),
    linear-gradient(170deg, var(--surface) 0%, var(--ink-2) 100%);
  padding: clamp(28px, 4vw, 54px);
  display: grid; gap: clamp(28px, 4vw, 50px);
}
@media (min-width: 940px) { .case { grid-template-columns: 1fr 0.92fr; align-items: center; } }
.case h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 16px 0 18px; }
.case-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }

.case-facts { display: grid; gap: 12px; }
.fact {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 15px 17px;
}
.fact-k {
  font-weight: 700; font-size: 0.92rem; color: var(--text); flex: none; min-width: 108px;
}
.fact-v { font-size: 0.9rem; color: var(--text-2); }

/* ---------- Progetti dimostrativi ---------- */
.demos { display: grid; gap: 20px; }
@media (min-width: 760px)  { .demos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .demos { grid-template-columns: repeat(4, 1fr); } }

.demo {
  display: flex; flex-direction: column;
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  background: var(--ink-2); overflow: hidden; text-decoration: none;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s;
}
.demo:hover { transform: translateY(-6px); border-color: #2E3547;
              box-shadow: 0 30px 60px -40px rgba(0,0,0,.9); }
.demo-prev { aspect-ratio: 16/11; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.demo-prev svg { width: 100%; height: 100%; }
.demo-b { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.demo-b .tag {
  font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3);
}
.demo-b h3 { font-size: 1.08rem; margin: 9px 0 8px; }
.demo-b p { font-size: .88rem; color: var(--text-2); flex: 1; }
.demo-b .fx {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft);
  font-size: .78rem; color: var(--accent-2); display: flex; align-items: center; gap: 8px;
}
.demo-b .fx svg { width: 13px; height: 13px; flex: none; transition: transform .3s var(--ease); }
.demo:hover .fx svg { transform: translateX(4px); }

.demo-note {
  margin-top: 26px; font-size: .84rem; color: var(--text-3);
  display: flex; gap: 10px; align-items: flex-start; max-width: 74ch;
}
.demo-note::before {
  content: ""; flex: none; width: 3px; align-self: stretch; border-radius: 2px;
  background: var(--line); min-height: 100%;
}

/* ---------- Differenziatori ---------- */
.grid-3 { display: grid; gap: 18px; }
@media (min-width: 820px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.pt {
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px); background: var(--ink-2);
  transition: border-color 0.3s;
}
.pt:hover { border-color: #2E3547; }
.pt h3 { font-size: 1.06rem; margin-bottom: 11px; }
.pt p { font-size: 0.94rem; color: var(--text-2); }
.pt .svc-icon { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 18px; }
.pt .svc-icon svg { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 22px 44px 22px 0; position: relative;
  font-weight: 600; font-size: 1.03rem; letter-spacing: -0.015em;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-2); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 8% 24px 0; color: var(--text-2); font-size: 0.97rem; }

/* ---------- Contatti ---------- */
.contact {
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 100% at 0% 0%, rgba(79, 124, 255, 0.12) 0%, transparent 58%),
    var(--ink-2);
  padding: clamp(28px, 4vw, 56px);
  display: grid; gap: clamp(30px, 4vw, 54px);
}
@media (min-width: 900px) { .contact { grid-template-columns: 0.85fr 1fr; } }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--text-2); }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent); background: rgba(79, 124, 255, 0.06); outline: none;
}
.field textarea { resize: vertical; min-height: 118px; }
.form-note { font-size: 0.8rem; color: var(--text-3); margin-top: 14px; line-height: 1.55; }
.form-note a { color: var(--text-2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--text-2); }
.check input { width: auto; margin-top: 3px; accent-color: var(--accent); }

.contact-side ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.contact-side li { font-size: 0.92rem; color: var(--text-2); }
.contact-side li strong { display: block; color: var(--text); font-size: 0.86rem; margin-bottom: 3px; }
.contact-side a { color: var(--accent-2); text-decoration: none; }
.contact-side a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(44px, 6vw, 68px) 34px;
  background: var(--ink);
}
.footer-top { display: grid; gap: 34px; margin-bottom: 40px; }
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-top p { font-size: 0.9rem; color: var(--text-2); max-width: 42ch; margin-top: 16px; }
.footer-col h4 {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 16px; font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: var(--text-2); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-legal {
  border-top: 1px solid var(--line-soft); padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between;
  font-size: 0.79rem; color: var(--text-3);
}
.footer-legal a { color: var(--text-3); text-decoration: none; }
.footer-legal a:hover { color: var(--text-2); }

/* ---------- Animazioni allo scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Pagine interne ---------- */
.page-hero {
  padding-top: clamp(112px, 15vh, 156px);
  padding-bottom: clamp(34px, 5vw, 56px);
  border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(70% 100% at 76% 0%, rgba(79, 124, 255, 0.14) 0%, transparent 60%);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin: 18px 0 20px; }

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 46px 0 16px; }
.prose h3 { font-size: 1.1rem; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--text-2); font-size: 0.99rem; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; display: grid; gap: 9px; }
.prose a { color: var(--accent-2); }
.prose strong { color: var(--text); }
.prose hr { margin: 44px 0; }

.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem;
             color: var(--text-3); text-decoration: none; }
.back-link:hover { color: var(--text-2); }

.callout {
  border: 1px solid var(--line-soft); border-left: 3px solid var(--accent);
  background: rgba(79, 124, 255, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin: 28px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Barra del consenso cookie ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(12, 14, 20, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  animation: cookie-su 0.45s var(--ease) both;
}
@keyframes cookie-su { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .cookie-bar { animation: none; } }

.cookie-bar-in {
  max-width: var(--wrap); margin: 0 auto;
  padding: 18px var(--gut);
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.cookie-txt {
  flex: 1 1 380px;
  color: var(--text-2); font-size: 0.88rem; line-height: 1.55;
}
.cookie-txt strong { color: var(--text); }
.cookie-txt a { color: var(--accent-2); }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-actions .btn { min-width: 118px; justify-content: center; }

@media (max-width: 620px) {
  .cookie-bar-in { gap: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; min-width: 0; }
}

/* ---------- Blocco locale / griglia zone servite ---------- */
.zone {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px; margin: 26px 0 8px; padding: 0; list-style: none;
}
.zone li {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--surface); padding: 13px 16px;
  color: var(--text-2); font-size: 0.9rem;
}
.zone li strong { color: var(--text); display: block; font-size: 0.95rem; margin-bottom: 2px; }
