/* ==========================================================
   Quartiere Digitale — stile
   Brand: Poppins · #0F172A · #FFFFFF · accento #38BDF8
   ========================================================== */

:root {
  --bg: #0F172A;
  --bg-deep: #0A1122;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .065);
  --line: rgba(148, 163, 184, .14);
  --line-2: rgba(148, 163, 184, .28);
  --text: #F8FAFC;
  --text-2: #CBD5E1;
  --muted: #94A3B8;
  --accent: #38BDF8;
  --accent-soft: #7DD3FC;
  --ice: #E0F2FE;
  --wa: #25D366;

  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;

  --shadow: 0 40px 80px -40px rgba(2, 6, 23, .95);
  --container: 1200px;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grana leggera, effetto "carta" */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
}
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }

.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.005em;
  font-variant-numeric: lining-nums;
}
.grad {
  background: linear-gradient(110deg, var(--ice) 0%, var(--accent-soft) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: .7rem 1.1rem; border-radius: 999px;
  background: var(--text); color: var(--bg); font-weight: 600;
}
.skip:focus { top: 1rem; }

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

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-weight: 500; font-size: .98rem; line-height: 1;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, border-color .35s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .72rem 1.25rem; font-size: .9rem; }
.btn-light {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--ice) 55%, #BAE6FD 100%);
  color: var(--bg);
  box-shadow: 0 14px 34px -14px rgba(56, 189, 248, .7), inset 0 1px 0 #fff;
}
.btn-light:hover { box-shadow: 0 20px 44px -14px rgba(56, 189, 248, .85), inset 0 1px 0 #fff; }
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-2);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: rgba(125, 211, 252, .55); background: rgba(56, 189, 248, .08); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem .55rem .5rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.header.scrolled .nav,
.header.open .nav {
  background: rgba(15, 23, 42, .72);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, .7);
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  color: var(--text); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em;
  white-space: nowrap;
}
.brand img { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2); }
.brand em {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 1.22em; color: var(--accent-soft); letter-spacing: 0;
}
.nav-links { display: flex; gap: .15rem; }
.nav-links a {
  display: block; padding: .5rem .95rem; border-radius: 999px;
  font-size: .92rem; color: var(--text-2);
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }

.burger {
  display: none; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--surface);
  color: var(--text); cursor: pointer;
}
.burger .ic-close,
.header.open .burger .ic-menu { display: none; }
.header.open .burger .ic-close { display: block; }

.mobile-menu {
  display: none;
  margin-top: .6rem;
  padding: .8rem;
  border-radius: var(--r-lg);
  background: rgba(15, 23, 42, .95);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.mobile-menu a:not(.btn) {
  display: block; padding: .85rem 1rem; border-radius: 16px;
  color: var(--text); font-weight: 500;
}
.mobile-menu a:not(.btn):hover { background: var(--surface-2); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: .5rem; }

/* ---------- Bagliori ---------- */
.glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.glow-a { width: 760px; height: 760px; top: -300px; right: -240px; background: radial-gradient(closest-side, rgba(56, 189, 248, .22), transparent); }
.glow-b { width: 620px; height: 620px; top: 22%; left: -300px; background: radial-gradient(closest-side, rgba(99, 102, 241, .16), transparent); }
.glow-c { width: 900px; height: 600px; top: -200px; left: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(56, 189, 248, .10), transparent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(8rem, 16vh, 11rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.12fr .88fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .45rem 1.05rem .45rem .7rem;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); font-size: .85rem; color: var(--text-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.hero h1 {
  margin: 1.5rem 0;
  font-size: clamp(2.55rem, 5.4vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.hero h1 .serif { font-size: 1.13em; font-weight: 500; letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.18rem); max-width: 35rem; color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.3rem; }
.ticks { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2.2rem; font-size: .9rem; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: .5rem; }
.ticks .ic { width: 18px; height: 18px; color: var(--accent); }

.hero-visual { position: relative; justify-self: end; width: min(100%, 470px); }
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--r-xl) var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  background: var(--bg-deep);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero .arch img { object-position: 42% 50%; }
.arch::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 55%, rgba(15, 23, 42, .5));
}
.arch-ring {
  position: absolute; inset: -16px; pointer-events: none;
  border-radius: 999px 999px 54px 54px;
  border: 1px solid var(--line);
}

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1.15rem .8rem .8rem;
  border-radius: 22px;
  background: rgba(15, 23, 42, .6);
  border: 1px solid rgba(255, 255, 255, .13);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 24px 44px -20px rgba(0, 0, 0, .75);
  color: var(--text); font-size: .92rem; line-height: 1.35;
  animation: float 7s ease-in-out infinite;
}
.float-card strong { font-weight: 600; }
.float-card small { display: block; color: var(--muted); font-size: .76rem; }
.fc-1 { left: -18%; top: 20%; }
.fc-2 { right: -10%; bottom: 11%; animation-delay: -3.5s; }
.fc-icon {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, .28), rgba(56, 189, 248, .06));
  border: 1px solid rgba(56, 189, 248, .32);
  color: var(--accent-soft);
}
.stars { color: #FBBF24; letter-spacing: 2px; font-size: .95rem; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sezioni ---------- */
.section { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; scroll-margin-top: 70px; }
.panel {
  margin-inline: clamp(.5rem, 1.5vw, 1.25rem);
  border-radius: clamp(32px, 4vw, 56px);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(56, 189, 248, .06), transparent 60%),
    var(--bg-deep);
  border: 1px solid var(--line);
  overflow: hidden;
}
.panel > .container { position: relative; z-index: 1; }

.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { margin-top: 1.25rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  margin-bottom: 1.1rem;
  font-size: .76rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.center .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h2 .serif { font-size: 1.13em; display: inline-block; }

.icon-chip {
  width: 52px; height: 52px; border-radius: 18px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, .24), rgba(56, 189, 248, .04));
  border: 1px solid rgba(56, 189, 248, .3);
  color: var(--accent-soft);
}
.icon-chip .ic { width: 22px; height: 22px; }

/* Perché */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.feature {
  padding: 1.9rem 1.7rem;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .5s var(--ease), border-color .4s;
}
.feature:hover { transform: translateY(-5px); border-color: var(--line-2); }
.feature .icon-chip { margin-bottom: 1.5rem; }
.feature h3 { font-size: 1.14rem; margin-bottom: .65rem; }
.feature p { font-size: .94rem; line-height: 1.65; color: var(--muted); }

/* Pacchetti */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2.1rem 1.7rem 1.7rem;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s;
}
.plan:hover { transform: translateY(-5px); border-color: var(--line-2); }
.plan.featured {
  background: linear-gradient(180deg, rgba(56, 189, 248, .14), rgba(56, 189, 248, .025));
  border-color: rgba(56, 189, 248, .5);
  box-shadow: 0 34px 70px -34px rgba(56, 189, 248, .45);
}
.badge {
  position: absolute; top: -13px; left: 1.7rem;
  padding: .32rem .85rem; border-radius: 999px;
  background: linear-gradient(135deg, #fff, #BAE6FD);
  color: var(--bg); font-size: .74rem; font-weight: 600; letter-spacing: .02em;
}
.plan h3 { font-size: 1.2rem; }
.plan .desc { margin: .55rem 0 1.5rem; font-size: .92rem; line-height: 1.6; color: var(--muted); min-height: 4.8em; }
.price { display: flex; align-items: baseline; gap: .4rem; color: var(--text); margin-bottom: 1.5rem; }
.price small { font-size: .88rem; color: var(--muted); }
.price strong { font-size: 2.5rem; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.list { display: grid; gap: .75rem; margin-bottom: 2rem; font-size: .92rem; color: var(--text-2); }
.list li { display: flex; align-items: flex-start; gap: .6rem; line-height: 1.45; }
.list .ic { width: 18px; height: 18px; color: var(--accent); margin-top: .05rem; }
.plan .btn { margin-top: auto; justify-content: center; }

.care {
  display: flex; align-items: center; gap: 1.4rem;
  margin-top: 1.1rem;
  padding: 1.6rem 2rem 1.6rem 1.6rem;
  border-radius: var(--r-lg);
  background: linear-gradient(90deg, rgba(56, 189, 248, .08), var(--surface) 60%);
  border: 1px solid var(--line);
}
.care-text { flex: 1; }
.care-text h3 { font-size: 1.14rem; margin-bottom: .3rem; }
.care-text p { font-size: .94rem; color: var(--muted); }
.care-price { margin: 0; white-space: nowrap; }
.care-price strong { font-size: 2.1rem; }
.note { margin-top: 1.6rem; text-align: center; font-size: .85rem; color: var(--muted); }

/* Esempi */
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mock {
  border-radius: 24px; overflow: hidden;
  background: #0B1222;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  transition: transform .6s var(--ease), border-color .4s;
}
.example:hover .mock { transform: translateY(-6px); border-color: rgba(125, 211, 252, .45); }
.mock-bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .7rem .9rem;
  background: rgba(255, 255, 255, .035);
  border-bottom: 1px solid var(--line);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(148, 163, 184, .35); }
.mock-url {
  flex: 1; margin-left: .6rem;
  padding: .22rem .8rem; border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: .72rem; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-screen { position: relative; aspect-ratio: 4 / 3.15; overflow: hidden; }
.mock-screen img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.example:hover .mock-screen img { transform: scale(1.05); }
.mock-screen::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, .45) 0%, rgba(2, 6, 23, .05) 35%, rgba(2, 6, 23, .88) 100%);
}
.mock-ui {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1rem 1.15rem 1.25rem;
}
.mock-nav { display: flex; justify-content: space-between; align-items: center; }
.mock-logo { width: 56px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .9); }
.mock-menu { display: flex; gap: 6px; }
.mock-menu i { width: 18px; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .5); }
.mock-title {
  max-width: 17ch;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.55rem; line-height: 1.08; color: #fff;
}
.mock-btn {
  display: inline-block; margin-top: .75rem;
  padding: .42rem .9rem; border-radius: 999px;
  background: #fff; color: var(--bg);
  font-size: .72rem; font-weight: 600;
}
.example-meta { padding: 1.3rem .35rem 0; }
.sample {
  display: inline-block; margin-bottom: .45rem;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
}
.example-meta h3 { font-size: 1.2rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.tag {
  padding: .26rem .75rem; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: .76rem; color: var(--text-2);
}

/* Metodo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.step {
  position: relative;
  padding: 2rem 1.7rem 1.9rem;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
}
.step-num { display: block; font-size: 3.4rem; line-height: 1; margin-bottom: 1.3rem; }
.step-tag {
  position: absolute; top: 1.7rem; right: 1.5rem;
  padding: .22rem .65rem; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: .72rem; color: var(--text-2);
}
.step h3 { font-size: 1.14rem; margin-bottom: .6rem; }
.step p { font-size: .94rem; line-height: 1.65; color: var(--muted); }

/* Chi sono */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.portrait { position: relative; width: min(100%, 410px); }
.arch-mono {
  display: grid; place-items: center;
  background:
    radial-gradient(90% 60% at 50% 20%, rgba(56, 189, 248, .22), transparent 70%),
    linear-gradient(180deg, #16213A, var(--bg));
}
.arch-mono::after { display: none; }
.monogram {
  font-weight: 700; font-size: clamp(5rem, 11vw, 8rem);
  color: #fff; letter-spacing: -.05em; line-height: 1;
}
.monogram span { color: var(--accent); }
.mini {
  position: absolute; right: -12%; bottom: -7%;
  width: 54%; aspect-ratio: 4 / 3;
  border-radius: 24px; overflow: hidden;
  border: 5px solid var(--bg);
  box-shadow: var(--shadow);
}
.mini img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy p + p { margin-top: 1rem; }
.facts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.facts li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
  font-size: .88rem; color: var(--text);
}
.facts .ic { width: 17px; height: 17px; color: var(--accent); }
.signature { margin-top: 2rem !important; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 2.1rem; color: var(--text); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 110px; }
details {
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
details + details { margin-top: .8rem; }
details[open] { background: var(--surface-2); border-color: var(--line-2); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.3rem 1.25rem 1.6rem;
  list-style: none; cursor: pointer;
  color: var(--text); font-weight: 500; line-height: 1.45;
}
summary::-webkit-details-marker { display: none; }
.plus {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.plus .ic { width: 16px; height: 16px; }
details[open] .plus { transform: rotate(45deg); background: var(--accent); border-color: transparent; color: var(--bg); }
details p { padding: 0 1.6rem 1.45rem; font-size: .95rem; color: var(--muted); }

/* Contatti */
.contact-card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 5rem);
  border-radius: clamp(32px, 4vw, 52px);
  border: 1px solid var(--line-2);
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.contact-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 70% at 50% 110%, rgba(56, 189, 248, .25), transparent 70%),
    linear-gradient(180deg, rgba(15, 23, 42, .78), rgba(15, 23, 42, .93));
}
.contact-card .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.contact-lead { max-width: 34rem; margin: 1.3rem auto 0; color: var(--text-2); }
.contact-options {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem;
  max-width: 880px; margin: 2.8rem auto 0;
}
.contact-tile {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.4rem 1.25rem 1.25rem;
  border-radius: 26px;
  background: rgba(15, 23, 42, .62);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
  transition: transform .45s var(--ease), border-color .35s, background .35s;
}
.contact-tile:hover { transform: translateY(-4px); border-color: rgba(125, 211, 252, .55); background: rgba(15, 23, 42, .75); }
.tile-icon { width: 56px; height: 56px; border-radius: 18px; flex: none; display: grid; place-items: center; }
.tile-icon .ic { width: 26px; height: 26px; }
.wa .tile-icon { background: var(--wa); color: #fff; box-shadow: 0 12px 26px -12px rgba(37, 211, 102, .8); }
.mail .tile-icon { background: linear-gradient(135deg, #fff, #BAE6FD); color: var(--bg); box-shadow: 0 12px 26px -12px rgba(56, 189, 248, .8); }
.tile-text { min-width: 0; }
.tile-label { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tile-value { display: block; color: var(--text); font-weight: 500; line-height: 1.35; overflow-wrap: break-word; }
.tile-arrow { margin-left: auto; color: var(--muted); transition: transform .35s var(--ease), color .3s; }
.contact-tile:hover .tile-arrow { transform: translateX(4px); color: var(--text); }

/* Footer */
.footer { padding: 3.5rem 0 2.5rem; border-top: 1px solid var(--line); margin-top: clamp(2rem, 5vw, 4rem); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.footer-tag { margin-top: .9rem; font-size: .92rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: .92rem; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* WhatsApp flottante */
.wa-float {
  position: fixed; z-index: 60;
  right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem);
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 18px 40px -12px rgba(37, 211, 102, .65);
  transition: transform .35s var(--ease), opacity .3s;
}
.wa-float .ic { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
.wa-float.hide { opacity: 0; transform: scale(.6); pointer-events: none; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa);
  animation: ping 2.8s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* Avviso cookie */
.cookie {
  position: fixed; z-index: 80;
  left: 50%; bottom: clamp(1rem, 2.5vw, 1.5rem);
  width: min(560px, calc(100% - 2rem));
  padding: 1.3rem 1.4rem 1.5rem;
  border-radius: var(--r-lg);
  background: rgba(15, 23, 42, .88);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  opacity: 0;
  transform: translate(-50%, calc(100% + 2rem));
  transition: transform .7s var(--ease), opacity .45s;
}
.cookie.show { opacity: 1; transform: translate(-50%, 0); }
.cookie-head { display: flex; align-items: center; gap: .85rem; margin-bottom: .85rem; }
.cookie-icon {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, .24), rgba(56, 189, 248, .04));
  border: 1px solid rgba(56, 189, 248, .3);
  color: var(--accent-soft);
}
.cookie-title { flex: 1; font-size: 1.08rem; letter-spacing: -.01em; }
.cookie-x {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--surface);
  color: var(--muted); cursor: pointer;
  transition: color .25s, border-color .25s;
}
.cookie-x:hover { color: var(--text); border-color: rgba(125, 211, 252, .55); }
.cookie-x .ic { width: 16px; height: 16px; }
.cookie p { font-size: .9rem; line-height: 1.6; color: var(--text-2); }
.cookie p strong { color: var(--text); font-weight: 500; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
body.cookie-open .wa-float { opacity: 0; transform: scale(.6); pointer-events: none; }

/* Comparsa allo scroll (solo con JS attivo) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Pagina legale ---------- */
.legal { padding: clamp(8rem, 14vh, 10rem) 0 4rem; }
.legal-card {
  max-width: 820px; margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
}
.legal-card h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .6rem; }
.legal-card h2 { font-size: 1.25rem; margin: 2.2rem 0 .7rem; }
.legal-card p, .legal-card li { font-size: .97rem; }
.legal-card ul { list-style: disc; padding-left: 1.2rem; margin-top: .5rem; }
.legal-card li + li { margin-top: .35rem; }
.legal-card a:not(.btn) { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { color: var(--muted); font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .features, .plans, .steps { grid-template-columns: repeat(2, 1fr); }
  .plan .desc { min-height: 0; }
}

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: grid; }
  .header.open .mobile-menu { display: block; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(100%, 420px); margin-top: 1.5rem; }
  .fc-1 { left: -6%; }
  .fc-2 { right: -4%; }

  .examples { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .about { grid-template-columns: 1fr; }
  .portrait { margin-inline: auto; margin-bottom: 2rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; margin-bottom: 1rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: calc(100% - 2rem); }
  .features, .plans, .steps { grid-template-columns: 1fr; }
  .plans { gap: 1.6rem; }
  .actions .btn { width: 100%; justify-content: center; }
  .fc-1 { left: -2%; top: 14%; }
  .fc-2 { right: -2%; }
  .float-card { font-size: .84rem; padding: .65rem .9rem .65rem .65rem; }
  .fc-icon { width: 36px; height: 36px; border-radius: 12px; }
  .care { flex-direction: column; align-items: flex-start; padding: 1.6rem; }
  .contact-options { grid-template-columns: minmax(0, 1fr); }
  .contact-card { padding-inline: 1rem; }
  .contact-card .kicker, .contact-card h2, .contact-lead { padding-inline: .25rem; }
  .contact-tile { gap: .85rem; padding: 1rem; }
  .tile-icon { width: 48px; height: 48px; border-radius: 16px; }
  .tile-arrow { display: none; }
  .tile-value { overflow-wrap: anywhere; }
  .mini { right: -4%; }
  .section-head.center { text-align: left; }
  .center .kicker::after { display: none; }
  .contact-card { text-align: left; }
  .contact-card .kicker::after { display: none; }
  .contact-lead { margin-left: 0; }
  .cookie-actions .btn { flex: 1 1 auto; justify-content: center; }
}

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