/* ============================================================
   ComproOro24.it — Design system "Lingotto"
   Vault navy + oro come materiale metallico.
   Display: Fraunces · UI/Dati: Inter
   ============================================================ */

:root {
  /* ---- Palette ---- */
  --ink:        #0A1428;   /* vault midnight (sfondo scuro) */
  --ink-2:      #0C1731;   /* pannelli scuri */
  --ink-soft:   #15244A;   /* card su scuro */
  --ink-hair:   rgba(246,227,161,.14); /* hairline oro su scuro */

  --gold:       #D4AF37;
  --gold-hi:    #F6E3A1;   /* champagne / highlight */
  --gold-lo:    #A87B1C;   /* oro antico / ombra */
  --gold-deep:  #7C5A12;

  --cream:      #FBF8F1;   /* sfondo chiaro caldo */
  --paper:      #FFFFFF;
  --line:       #E9E3D5;   /* hairline su chiaro */
  --line-2:     #DED7C6;

  --text:       #1A2333;   /* testo su chiaro */
  --muted:      #6B7280;
  --text-d:     #ECF1FB;   /* testo su scuro */
  --muted-d:    #93A0BE;

  --up:         #1FB47A;   /* prezzo in salita */
  --down:       #E5604D;   /* prezzo in discesa */

  /* ---- Materiali ---- */
  --grad-gold:  linear-gradient(135deg, #F6E3A1 0%, #E6C760 30%, #D4AF37 55%, #A87B1C 100%);
  --grad-gold-soft: linear-gradient(135deg, #F3DE9C, #C9A24B);
  --grad-vault: radial-gradient(120% 90% at 78% -10%, #1A2C57 0%, #0E1B38 38%, #0A1428 72%);
  --sheen:      linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);

  /* ---- Forma & ombre ---- */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(10,20,40,.05), 0 4px 14px rgba(10,20,40,.06);
  --shadow-2: 0 10px 30px rgba(10,20,40,.10), 0 2px 8px rgba(10,20,40,.06);
  --shadow-gold: 0 10px 34px rgba(168,123,28,.28);
  --shadow-dark: 0 24px 60px rgba(3,8,20,.55);

  /* ---- Tipografia ---- */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* tokens */

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

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

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

img, svg { max-width: 100%; display: block; }

a { color: var(--gold-deep); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--gold-lo); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--ink); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
strong { font-weight: 700; color: inherit; }

::selection { background: var(--gold-hi); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.4rem; }
.section { padding: clamp(3.5rem, 2rem + 6vw, 6rem) 0; position: relative; }
.section--tight { padding: clamp(2.6rem, 2rem + 3vw, 4rem) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--text-d); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-d); }
.text-center { text-align: center; }
.eyebrow {
  font-family: var(--sans);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-lo);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad-gold); display: inline-block; }
.section--dark .eyebrow { color: var(--gold-hi); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 56ch; }
.section--dark .lead { color: var(--muted-d); }
.section-head { max-width: 64ch; margin-bottom: 2.6rem; }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin: .7rem 0 .6rem; }

/* gold text */
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .92rem; --pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--sans); font-weight: 700; font-size: .98rem;
  border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; }

.btn-primary { background: var(--grad-gold); color: #2A1E05; box-shadow: var(--shadow-gold); border-color: rgba(124,90,18,.3); }
.btn-primary:hover { color: #2A1E05; box-shadow: 0 14px 40px rgba(168,123,28,.4); }

.btn-dark { background: var(--ink); color: var(--text-d); }
.btn-dark:hover { background: var(--ink-soft); color: #fff; }

.btn-ghost { background: rgba(255,255,255,.06); color: var(--text-d); border-color: var(--ink-hair); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(246,227,161,.12); color: var(--gold-hi); border-color: rgba(246,227,161,.4); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); background: #fff; }
.section--dark .btn-outline { color: var(--text-d); border-color: var(--ink-hair); }
.section--dark .btn-outline:hover { color: var(--gold-hi); border-color: var(--gold); }

.btn-wa { background: #25D366; color: #073d1e; }
.btn-wa:hover { background: #1ebe5a; color: #073d1e; }

.btn-block { width: 100%; }
.btn-lg { --pad-y: 1.1rem; --pad-x: 1.9rem; font-size: 1.05rem; }
.btn-sm { --pad-y: .62rem; --pad-x: 1rem; font-size: .86rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,20,40,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--ink-hair);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.logo { display: inline-flex; align-items: baseline; gap: .04em; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1; }
.logo .logo-mark { width: 30px; height: 30px; margin-right: .5rem; align-self: center; }
.logo-light { color: var(--text-d); }
.logo-gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo:hover { text-decoration: none; }

.main-nav { display: flex; align-items: center; gap: 1.7rem; }
.main-nav a { color: var(--muted-d); font-family: var(--sans); font-weight: 600; font-size: .94rem; position: relative; padding: .3rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--grad-gold); transition: right .25s var(--ease); border-radius: 2px; }
.main-nav a:hover, .main-nav a.active { color: var(--text-d); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-cta { display: inline-flex; gap: .6rem; align-items: center; }

.menu-toggle { display: none; background: none; border: 1px solid var(--ink-hair); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; color: var(--gold-hi); align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-vault); color: var(--text-d); overflow: hidden; padding: clamp(3rem, 1.5rem + 6vw, 5.5rem) 0 clamp(3.5rem,2rem+6vw,6rem); }
.hero::before { /* grana sottile */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
.hero::after { /* anelli moneta sfumati */
  content: ""; position: absolute; right: -12%; top: -22%; width: 720px; height: 720px; pointer-events: none;
  background: radial-gradient(circle, transparent 38%, rgba(246,227,161,.07) 38.5%, transparent 40%),
              radial-gradient(circle, transparent 52%, rgba(246,227,161,.05) 52.5%, transparent 54%),
              radial-gradient(circle, transparent 66%, rgba(246,227,161,.04) 66.5%, transparent 68%);
  filter: blur(.3px);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(246,227,161,.08); border: 1px solid var(--ink-hair);
  color: var(--gold-hi); font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  padding: .42rem .85rem; border-radius: var(--r-pill); margin-bottom: 1.4rem;
}
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.05rem); font-weight: 600; line-height: 1.02; color: var(--text-d); letter-spacing: -.022em; }
.hero h1 em { font-style: italic; font-weight: 500; }
.hero-sub { font-size: clamp(1.05rem, .98rem + .5vw, 1.25rem); color: var(--muted-d); max-width: 50ch; margin: 1.3rem 0 1.9rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; margin-top: 1.9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted-d); }
.hero-trust .tick { color: var(--gold); flex: none; }

/* live ticker (sotto headline) */
.ticker { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.7rem; }
.ticker-chip {
  display: inline-flex; flex-direction: column; gap: .15rem;
  background: rgba(255,255,255,.035); border: 1px solid var(--ink-hair);
  border-radius: 12px; padding: .55rem .8rem; min-width: 104px;
}
.ticker-chip .k { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); font-weight: 600; }
.ticker-chip .v { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.ticker-chip .d { font-size: .68rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ticker-chip .d.up { color: var(--up); } .ticker-chip .d.down { color: var(--down); }

/* ---------- Calcolatore (signature) ---------- */
.calc {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--ink-hair); border-radius: var(--r-lg);
  padding: 1.7rem; box-shadow: var(--shadow-dark);
  backdrop-filter: blur(8px);
}
.calc::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); padding: 1px;
  background: linear-gradient(135deg, rgba(246,227,161,.5), rgba(246,227,161,0) 40%, rgba(246,227,161,0) 60%, rgba(246,227,161,.28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.calc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; gap: 1rem; }
.calc-head h3 { color: var(--text-d); font-size: 1.18rem; }
.calc-live { display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-hi); }
.calc-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(31,180,122,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(31,180,122,.55);} 70%{box-shadow:0 0 0 8px rgba(31,180,122,0);} 100%{box-shadow:0 0 0 0 rgba(31,180,122,0);} }

.calc-tabs { display: flex; gap: .4rem; background: rgba(0,0,0,.25); padding: .3rem; border-radius: var(--r-pill); margin-bottom: 1.2rem; }
.calc-tab { flex: 1; border: none; background: transparent; color: var(--muted-d); font-family: var(--sans); font-weight: 700; font-size: .9rem; padding: .6rem; border-radius: var(--r-pill); cursor: pointer; transition: all .2s var(--ease); }
.calc-tab.active { background: var(--grad-gold); color: #2A1E05; }

.calc-field { margin-bottom: 1.05rem; }
.calc-field > label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted-d); margin-bottom: .5rem; letter-spacing: .01em; }
.karats { display: flex; flex-wrap: wrap; gap: .45rem; }
.karat { border: 1px solid var(--ink-hair); background: rgba(255,255,255,.03); color: var(--text-d); border-radius: 10px; padding: .5rem .7rem; font-family: var(--sans); font-weight: 700; font-size: .86rem; cursor: pointer; transition: all .18s var(--ease); }
.karat small { display: block; font-weight: 500; font-size: .66rem; color: var(--muted-d); margin-top: .1rem; }
.karat:hover { border-color: rgba(246,227,161,.4); }
.karat.active { background: rgba(246,227,161,.14); border-color: var(--gold); color: var(--gold-hi); }
.karat.active small { color: var(--gold-hi); }

.grams-row { display: flex; align-items: center; gap: .8rem; }
.grams-input { position: relative; flex: 0 0 132px; }
.grams-input input { width: 100%; background: rgba(0,0,0,.28); border: 1px solid var(--ink-hair); border-radius: 12px; color: var(--text-d); font-family: var(--sans); font-weight: 700; font-size: 1.25rem; padding: .7rem 2.2rem .7rem .9rem; text-align: right; -moz-appearance: textfield; }
.grams-input input::-webkit-outer-spin-button, .grams-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.grams-input input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.18); }
.grams-input .unit { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted-d); font-weight: 600; font-size: .95rem; }
.grams-slider { flex: 1; }
input[type="range"].range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) 0%, var(--gold) var(--p,30%), rgba(255,255,255,.12) var(--p,30%)); cursor: pointer; }
input[type="range"].range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--grad-gold); border: 2px solid #2A1E05; box-shadow: 0 2px 8px rgba(0,0,0,.4); cursor: pointer; }
input[type="range"].range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 2px solid #2A1E05; cursor: pointer; }

.calc-result { margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px dashed var(--ink-hair); }
.calc-result .rlabel { font-size: .82rem; color: var(--muted-d); margin-bottom: .25rem; }
.calc-value { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 1.6rem + 4vw, 3.6rem); line-height: 1; letter-spacing: -.02em; position: relative; display: inline-block;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.calc-value .cur { font-size: .6em; vertical-align: top; margin-right: .06em; }
.calc-note { font-size: .8rem; color: var(--muted-d); margin-top: .7rem; line-height: 1.5; }
.calc-cta { margin-top: 1.2rem; }

/* sheen sweep on the figure once */
.sheen-once { position: relative; overflow: hidden; }
.sheen-once::after { content: ""; position: absolute; inset: 0; background: var(--sheen); background-size: 220% 100%; background-position: 200% 0; pointer-events: none; }
.sheen-once.run::after { animation: sheen 1.1s var(--ease) .2s 1; }
@keyframes sheen { to { background-position: -120% 0; } }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--ink-2); border-top: 1px solid var(--ink-hair); border-bottom: 1px solid var(--ink-hair); }
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: .8rem; color: var(--text-d); }
.trust-item .ic { flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgba(246,227,161,.1); display: grid; place-items: center; color: var(--gold-hi); }
.trust-item .ic svg { width: 20px; height: 20px; }
.trust-item b { font-size: .96rem; display: block; line-height: 1.2; }
.trust-item span { font-size: .8rem; color: var(--muted-d); }

/* ---------- Quotazioni table ---------- */
.quote-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem,1rem+3vw,3rem); align-items: start; }
.quote-table { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-1); }
.quote-table .qhead, .quote-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 1rem; align-items: center; padding: .95rem 1.3rem; }
.quote-table .qhead { background: var(--ink); color: var(--gold-hi); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.quote-row { border-top: 1px solid var(--line); transition: background .15s var(--ease); }
.quote-row:hover { background: var(--cream); }
.quote-row .metal { font-family: var(--serif); font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.quote-row .metal small { display: block; font-family: var(--sans); font-weight: 500; font-size: .76rem; color: var(--muted); }
.quote-row .purity { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; font-size: .92rem; }
.quote-row .price { font-weight: 800; font-size: 1.12rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.quote-row .price .u { font-weight: 600; font-size: .78rem; color: var(--muted); }
.quote-row .go { justify-self: end; }
.quote-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.3rem; background: var(--cream); border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.quote-meta .live { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--gold-deep); }
.quote-meta .live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: pulse 2s infinite; }

.quote-side .card-soft { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow-1); }
.quote-side h3 { margin-bottom: .7rem; }
.quote-side p { color: var(--muted); font-size: .96rem; margin-bottom: 1rem; }
.disclaimer { font-size: .82rem; color: var(--muted); background: var(--cream); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: .85rem 1rem; margin-top: 1.2rem; line-height: 1.55; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: s; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem 1.6rem 1.6rem; box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.step .num { font-family: var(--serif); font-weight: 600; font-size: 2.6rem; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; margin-bottom: .6rem; }
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .98rem; }
.step .line { position: absolute; top: 2.7rem; right: -.8rem; width: 1.6rem; height: 1px; background: var(--line-2); display: none; }

/* ---------- Request / lead form ---------- */
.request-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.8rem,1rem+4vw,3.6rem); align-items: center; }
.request-text h2 { margin-bottom: 1rem; }
.request-text p { font-size: 1.06rem; margin-bottom: 1.3rem; }
.section--dark .request-text p { color: var(--muted-d); }
.check-list { list-style: none; display: grid; gap: .7rem; margin: 1.4rem 0; }
.check-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: 1rem; }
.check-list .tick { flex: none; width: 22px; height: 22px; border-radius: 6px; background: rgba(246,227,161,.14); color: var(--gold-hi); display: grid; place-items: center; margin-top: .12rem; }
.section:not(.section--dark) .check-list .tick { background: var(--cream); color: var(--gold-deep); border: 1px solid var(--line); }

.form-card { background: var(--paper); color: var(--text); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2.2rem); box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.form-card h3 { margin-bottom: .35rem; }
.form-card .form-intro { color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }
.form-group { margin-bottom: 1.05rem; }
.form-group label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: .42rem; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--text);
  padding: .82rem 1rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.16); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #aab0bb; }
.form-group small { display: block; margin-top: .35rem; font-size: .82rem; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* file dropzone */
.file-field input[type="file"] { display: none; }
.file-label { display: flex; align-items: center; gap: .7rem; border: 1.5px dashed var(--line-2); border-radius: var(--r-sm); padding: .9rem 1rem; cursor: pointer; color: var(--muted); font-size: .92rem; transition: border-color .15s var(--ease), background .15s var(--ease); }
.file-label:hover { border-color: var(--gold); background: var(--cream); }
.file-label .ic { color: var(--gold-deep); flex: none; }
.file-label b { color: var(--text); }
.file-names { margin-top: .5rem; font-size: .82rem; color: var(--gold-deep); }

.privacy-check { display: flex; align-items: flex-start; gap: .6rem; }
.privacy-check input { width: auto; margin-top: .2rem; accent-color: var(--gold-lo); }
.privacy-check label { margin: 0; font-weight: 400; font-size: .9rem; color: var(--muted); }
.form-note { margin-top: .9rem; font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.form-note .ic { color: var(--up); }

/* ---------- Shop cards (featured) ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; margin-bottom: 2.2rem; }
.shop-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease); display: flex; flex-direction: column; }
.shop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.shop-thumb { height: 132px; background: var(--grad-vault); position: relative; display: grid; place-items: center; overflow: hidden; }
.shop-thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(246,227,161,.16), transparent 55%); }
.shop-thumb .crest { width: 54px; height: 54px; color: var(--gold-hi); position: relative; z-index: 1; }
.shop-thumb .city-tag { position: absolute; left: .9rem; bottom: .8rem; z-index: 2; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-hi); background: rgba(10,20,40,.55); border: 1px solid var(--ink-hair); padding: .25rem .6rem; border-radius: var(--r-pill); }
.shop-body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.shop-body h3 { font-size: 1.16rem; margin-bottom: .3rem; }
.shop-rating { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; color: var(--muted); margin-bottom: .55rem; }
.shop-rating .stars { color: var(--gold); letter-spacing: .06em; }
.shop-meta { color: var(--muted); font-size: .9rem; margin-bottom: .9rem; display: flex; align-items: flex-start; gap: .4rem; }
.shop-meta .ic { color: var(--gold-deep); flex: none; margin-top: .15rem; }
.shop-services { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.shop-services span { background: var(--cream); border: 1px solid var(--line); color: var(--ink); padding: .26rem .65rem; border-radius: var(--r-pill); font-size: .74rem; font-weight: 600; }
.shop-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: auto; }

/* ---------- Shop list (negozi page) ---------- */
.search-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; box-shadow: var(--shadow-1); margin-bottom: 1.8rem; }
.search-panel .row { display: flex; gap: .7rem; }
.search-field { position: relative; flex: 1; }
.search-field .ic { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field input { width: 100%; padding: .9rem 1rem .9rem 2.7rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 1rem; }
.search-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.16); }
.result-count { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.result-count b { color: var(--ink); }

.shop-list { display: grid; gap: 1rem; }
.shop-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-1); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.shop-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.shop-row-icon { width: 60px; height: 60px; border-radius: 14px; background: var(--grad-vault); display: grid; place-items: center; color: var(--gold-hi); flex: none; }
.shop-row-icon svg { width: 28px; height: 28px; }
.shop-row-info h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.shop-row-info .meta { color: var(--muted); font-size: .9rem; }
.shop-row-info .meta b { color: var(--text); font-weight: 600; }
.shop-row-info .dist { display: inline-block; margin-top: .35rem; font-size: .78rem; font-weight: 700; color: var(--gold-deep); background: var(--cream); border: 1px solid var(--line); padding: .15rem .55rem; border-radius: var(--r-pill); }
.shop-row-actions { display: flex; gap: .55rem; }
.no-results { text-align: center; padding: 3.5rem 1rem; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--r); }
.no-results .ic { color: var(--gold); margin-bottom: .8rem; }
.no-results h3 { margin-bottom: .5rem; }
.no-results p { color: var(--muted); }
.hidden { display: none !important; }

/* ---------- Page hero (interne) ---------- */
.page-hero { background: var(--grad-vault); color: var(--text-d); padding: clamp(3rem,2rem+4vw,4.5rem) 0 clamp(2.5rem,2rem+3vw,3.5rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(246,227,161,.08), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: var(--muted-d); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted-d); } .breadcrumb a:hover { color: var(--gold-hi); }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.1rem); color: var(--text-d); margin-bottom: .6rem; }
.page-hero p { color: var(--muted-d); max-width: 56ch; font-size: 1.08rem; }

/* ---------- Shop detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.8rem,1rem+4vw,3.4rem); align-items: start; }
.detail-info h1 { font-size: clamp(1.8rem,1.4rem+2vw,2.5rem); margin-bottom: .5rem; }
.detail-info .rating { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .92rem; margin-bottom: 1.1rem; }
.detail-info .rating .stars { color: var(--gold); }
.detail-meta { display: grid; gap: .7rem; margin-bottom: 1.4rem; }
.detail-meta .mrow { display: flex; align-items: flex-start; gap: .65rem; color: var(--text); }
.detail-meta .mrow .ic { color: var(--gold-deep); flex: none; margin-top: .15rem; }
.detail-meta .mrow a { color: var(--text); font-weight: 600; }
.detail-info .description { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.6rem; }
.detail-info h3 { font-size: 1.2rem; margin: 1.6rem 0 .7rem; }
.serv-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.serv-list li { background: var(--cream); border: 1px solid var(--line); color: var(--ink); padding: .4rem .8rem; border-radius: var(--r-pill); font-size: .86rem; font-weight: 600; }
.map-embed { margin-top: .8rem; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); height: 240px; background: var(--cream); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }

.detail-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem,1rem+1.5vw,2rem); box-shadow: var(--shadow-2); position: sticky; top: 92px; }
.detail-form h2 { font-size: 1.45rem; margin-bottom: .3rem; }
.detail-form .form-intro { color: var(--muted); font-size: .94rem; margin-bottom: 1.3rem; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; margin-bottom: 1.4rem; color: var(--gold-deep); }
.back-link:hover { gap: .6rem; }

/* ---------- Why / trust columns ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.why-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-1); }
.section--dark .why-card { background: var(--ink-soft); border-color: var(--ink-hair); }
.why-card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); color: var(--gold-deep); display: grid; place-items: center; margin-bottom: 1.1rem; }
.section--dark .why-card .ic { background: rgba(246,227,161,.1); border-color: var(--ink-hair); color: var(--gold-hi); }
.why-card .ic svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.why-card p { color: var(--muted); font-size: .96rem; }
.section--dark .why-card p { color: var(--muted-d); }
.section--dark .why-card h3 { color: var(--text-d); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.stat { text-align: center; }
.stat .n { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem,1.4rem+2vw,2.9rem); line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.stat .l { color: var(--muted-d); font-size: .92rem; margin-top: .5rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.review .stars { color: var(--gold); letter-spacing: .1em; margin-bottom: .8rem; }
.review p { font-size: 1.02rem; color: var(--text); margin-bottom: 1.1rem; flex: 1; }
.review .who { display: flex; align-items: center; gap: .7rem; }
.review .av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-gold); color: #2A1E05; display: grid; place-items: center; font-weight: 800; font-family: var(--serif); flex: none; }
.review .who b { font-size: .92rem; display: block; }
.review .who span { font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: .8rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.faq-item[open] { box-shadow: var(--shadow-1); border-color: var(--line-2); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-deep); transition: transform .25s var(--ease); }
.faq-item[open] summary .chev { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.4rem 1.25rem; color: var(--muted); font-size: .98rem; line-height: 1.6; }

/* ---------- Zone / città links ---------- */
.zones { display: flex; flex-wrap: wrap; gap: .6rem; }
.zone-chip { display: inline-flex; align-items: center; gap: .45rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .6rem 1.05rem; font-weight: 600; font-size: .92rem; color: var(--ink); box-shadow: var(--shadow-1); transition: all .18s var(--ease); }
.zone-chip:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.zone-chip .ic { color: var(--gold-deep); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-vault); border-radius: var(--r-lg); padding: clamp(2.2rem,1.5rem+3vw,3.4rem); text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-dark); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% -20%, rgba(246,227,161,.14), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--text-d); margin-bottom: .7rem; }
.cta-band p { color: var(--muted-d); max-width: 54ch; margin: 0 auto 1.6rem; font-size: 1.08rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-d); padding: clamp(3rem,2rem+3vw,4rem) 0 1.6rem; border-top: 1px solid var(--ink-hair); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2.4rem; }
.footer-brand p { margin: 1rem 0 1.2rem; font-size: .94rem; max-width: 34ch; }
.footer-contacts { display: grid; gap: .5rem; font-size: .92rem; }
.footer-contacts a { color: var(--muted-d); display: inline-flex; align-items: center; gap: .5rem; }
.footer-contacts a:hover { color: var(--gold-hi); }
.footer-contacts .ic { color: var(--gold); }
.footer-col h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a { color: var(--muted-d); font-size: .94rem; }
.footer-col a:hover { color: var(--text-d); }
.footer-bottom { border-top: 1px solid var(--ink-hair); padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; align-items: center; justify-content: space-between; font-size: .84rem; color: #6E7B97; }
.footer-bottom a { color: #6E7B97; } .footer-bottom a:hover { color: var(--gold-hi); }

/* ---------- Floating WhatsApp + sticky mobile bar ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(7,61,30,.4); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none; grid-template-columns: 1fr 1fr 1.3fr; gap: .5rem; padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(10,20,40,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--ink-hair); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; border-radius: 12px; padding: .5rem; font-size: .72rem; font-weight: 700; }
.mobile-bar .mb-call { background: rgba(255,255,255,.06); color: var(--text-d); }
.mobile-bar .mb-wa { background: rgba(37,211,102,.16); color: #4ee08a; }
.mobile-bar .mb-quote { background: var(--grad-gold); color: #2A1E05; }
.mobile-bar svg { width: 20px; height: 20px; }

/* ---------- Alerts (handler confirm) ---------- */
.alert { padding: 1rem 1.1rem; border-radius: var(--r-sm); margin-bottom: 1rem; font-size: .95rem; }
.alert-success { background: #E8F8F0; color: #0A6B45; border: 1px solid #BCEBD5; }
.alert-error { background: #FDECEA; color: #9B271A; border: 1px solid #F6C9C2; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal p { color: var(--text); margin-bottom: 1rem; }
.legal h2 { font-size: 1.4rem; margin: 2rem 0 .7rem; }
.legal ul { margin: .5rem 0 1rem 1.3rem; color: var(--text); }
.legal li { margin-bottom: .4rem; }
.legal .updated { color: var(--muted); font-size: .9rem; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (min-width: 921px) { .step:not(:last-child) .line { display: block; } }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .calc { order: 2; }
  .quote-wrap { grid-template-columns: 1fr; }
  .request-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-form { position: static; }
  .why-grid, .reviews { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: .2rem;
    background: rgba(10,20,40,.98); backdrop-filter: blur(14px); padding: 1rem 1.4rem 1.6rem;
    border-bottom: 1px solid var(--ink-hair); display: none; box-shadow: var(--shadow-dark);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .85rem .2rem; font-size: 1.05rem; border-bottom: 1px solid var(--ink-hair); }
  .main-nav a::after { display: none; }
  .header-cta .btn:not(.menu-toggle) { display: none; }
  .menu-toggle { display: inline-flex; }

  .trustbar .container { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .steps { grid-template-columns: 1fr; }
  .why-grid, .reviews { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .shop-row { grid-template-columns: 1fr; text-align: left; }
  .shop-row-icon { width: 52px; height: 52px; }
  .shop-row-actions { margin-top: .4rem; }
  .quote-table .qhead { display: none; }
  .quote-row { grid-template-columns: 1fr auto; gap: .4rem 1rem; padding: 1rem; }
  .quote-row .purity { grid-column: 1; font-size: .8rem; }
  .quote-row .price { grid-column: 2; grid-row: 1; text-align: right; }
  .quote-row .go { grid-column: 2; grid-row: 2; }
  .mobile-bar { display: grid; }
  .wa-float { display: none; }
  body { padding-bottom: 76px; }
  .grams-row { flex-direction: column; align-items: stretch; gap: 1rem; }
  .grams-input { flex: none; }
  .grams-input input { font-size: 1.4rem; }
}

@media (max-width: 420px) {
  .trustbar .container { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-bar, .wa-float, .hero-cta, .detail-form { display: none !important; }
  body { background: #fff; color: #000; }
}
