/* =====================================================
   GB PERFORMANCE — Main Stylesheet v2
   Dark luxury sports | Gold & Black
   ===================================================== */

/* ─── Variables ─── */
:root {
  --bg:          #080808;
  --bg-2:        #0f0f0f;
  --bg-card:     #111111;
  --bg-card-2:   #181818;
  --gold:        #C9A84C;
  --gold-light:  #E8D5A0;
  --gold-dark:   #8B6914;
  --gold-dim:    rgba(201,168,76,.12);
  --gold-border: rgba(201,168,76,.3);
  --white:       #FFFFFF;
  --gray-1:      #E5E5E5;
  --gray-2:      #A0A0A0;
  --gray-3:      #505050;
  --font-h:      'Barlow Condensed', sans-serif;
  --font-b:      'Barlow', sans-serif;
  --r:           4px;
  --tr:          0.32s cubic-bezier(.4,0,.2,1);
}

/* ─── Reset ─── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg); color: var(--white);
  font-family: var(--font-b); line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ─── Utility ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section-pad { padding: 100px 0; }
.gold { color: var(--gold); }
.sr-only { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0); }

.gold-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  margin: 16px auto 0;
}
.gold-line.left { margin-left: 0; }

.section-label {
  font-family: var(--font-h); font-size: .75rem;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; line-height: 1.05;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-h); font-size: .88rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 32px; border-radius: var(--r);
  transition: var(--tr); position: relative; overflow: hidden; cursor: pointer;
}
.btn::after {
  content:''; position:absolute; inset:0;
  background:rgba(255,255,255,.07); opacity:0; transition:opacity .2s;
}
.btn:hover::after { opacity:1; }

.btn-gold {
  background: linear-gradient(120deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 80%, var(--gold) 100%);
  background-size: 200% 100%;
  color: #000; font-weight: 800;
  box-shadow: 0 4px 24px rgba(201,168,76,.3);
}
.btn-gold:hover {
  background-position: 100% 0;
  box-shadow: 0 6px 32px rgba(201,168,76,.5);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid var(--gold-border); color: var(--gold);
}
.btn-outline:hover {
  border-color: var(--gold); background: var(--gold-dim);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: background .4s, padding .4s;
}
.navbar.scrolled {
  background: rgba(8,8,8,.95);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: 12px 0;
  border-bottom: 1px solid var(--gold-border);
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; }

.nav-logo img {
  height: 50px; width: auto; object-fit: contain;
  mix-blend-mode: screen;   /* removes black bg on dark navbar */
  transition: var(--tr);
}

.nav-links { display:flex; align-items:center; gap:32px; }
.nav-links a {
  font-family: var(--font-h); font-size:.82rem; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase; color:var(--gray-1);
  position:relative; padding-bottom:2px; transition:color .25s;
}
.nav-links a::after {
  content:''; position:absolute; bottom:-2px; left:0;
  width:0; height:2px; background:var(--gold); transition:width .3s;
}
.nav-links a:hover { color:var(--gold); }
.nav-links a:hover::after { width:100%; }
.nav-links a.active { color:var(--gold); }
.nav-links a.active::after { width:100%; }

.nav-cta { margin-left: 20px; }

/* ─── Cart pill in navbar ─── */
.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px 0 9px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  color: var(--gray-1);
  text-decoration: none;
  transition: border-color .22s, color .22s, background .22s;
  margin-left: 24px;
  position: relative;
}
/* thin separator between nav links and cart */
.nav-cart::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.12);
}
.nav-cart:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  background: rgba(201,168,76,.06);
}
.nav-cart.has-items {
  border-color: var(--gold-border);
  color: var(--gold);
}
.nav-cart svg { flex-shrink: 0; }
.nav-cart-count {
  font-family: var(--font-h);
  font-size: .82rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: none !important;
  min-width: 12px;
  text-align: center;
}
.nav-cart-count.visible { display: inline !important; }

.hamburger {
  display:none; flex-direction:column; gap:5px; padding:6px;
}
.hamburger span {
  display:block; width:26px; height:2px;
  background:var(--gold); border-radius:2px; transition:var(--tr);
}
.hamburger.active span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display:none; position:fixed; inset:0;
  background:rgba(0,0,0,.98); z-index:999;
  flex-direction:column; align-items:center; justify-content:center; gap:32px;
  opacity:0; pointer-events:none; transition:opacity .3s;
}
.nav-mobile.open { opacity:1; pointer-events:all; }
.nav-mobile a {
  font-family:var(--font-h); font-size:2.2rem; font-weight:800;
  letter-spacing:.1em; text-transform:uppercase; transition:color .2s;
}
.nav-mobile a:hover { color:var(--gold); }

/* ═══════════════════════════════════════
   PRELOADER
═══════════════════════════════════════ */
#preloader {
  position:fixed; inset:0; z-index:10000;
  background:#080808;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:44px;
  transition:opacity .9s ease;
}
#preloader.hide { opacity:0; pointer-events:none; }
.preloader-logo {
  width:160px; height:auto; mix-blend-mode:screen;
  animation:preloadBreath 2s ease-in-out infinite;
}
@keyframes preloadBreath {
  0%,100% { opacity:.35; transform:scale(.9); }
  50%     { opacity:1;   transform:scale(1.06); }
}
.preloader-bar-wrap {
  width:110px; height:2px;
  background:rgba(201,168,76,.12); border-radius:2px; overflow:hidden;
}
.preloader-bar {
  height:100%; width:0;
  background:linear-gradient(90deg,var(--gold-dark),var(--gold));
  border-radius:2px;
  animation:preloadProgress 3.6s ease-out forwards;
}
@keyframes preloadProgress {
  0%  { width:0%; }
  75% { width:85%; }
  100%{ width:100%; }
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  min-height: 100svh; position:relative;
  display:flex; align-items:center; overflow:hidden;
  background: var(--bg);
}

/* ─── Hero video background ─── */
.hero-video-bg {
  position:absolute; inset:0; overflow:hidden; pointer-events:none;
  transition:opacity .7s ease;
}
.hero-vid {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center center;
  pointer-events:none;
}
.hero-video-overlay {
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to bottom,rgba(8,8,8,.58) 0%,rgba(8,8,8,.42) 40%,rgba(8,8,8,.72) 100%);
}

.hero-grid-bg {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(201,168,76,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, black 20%, transparent 80%);
  pointer-events:none;
}

.hero-orb {
  position:absolute; border-radius:50%; pointer-events:none; filter:blur(90px);
}
.hero-orb-1 {
  width:600px; height:600px;
  background: radial-gradient(circle, var(--gold-dark) 0%, transparent 70%);
  top:-200px; left:-200px; opacity:.13;  /* left side — behind text, NOT the logo */
}
.hero-orb-2 {
  width:300px; height:300px;
  background: var(--gold);
  bottom:-80px; right:-80px; opacity:.05;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;      /* vertically center both columns */
  gap: 48px;
  padding-top: 96px;        /* clearance for fixed navbar */
  position: relative; z-index:2; width:100%;
}

/* Left — text */
.hero-text {
  display: flex; flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  font-family:var(--font-h); font-size:.75rem;
  letter-spacing:.3em; text-transform:uppercase; color:var(--gold);
  margin-bottom:22px; display:flex; align-items:center; gap:12px;
}
.hero-eyebrow::before {
  content:''; display:block; width:30px; height:2px; background:var(--gold);
}

.hero-h1 {
  font-family:var(--font-h);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight:900; text-transform:uppercase;
  letter-spacing:.01em; line-height:.95;
  margin-bottom:6px;
}
.hero-h1-gold {
  font-family:var(--font-h);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight:900; text-transform:uppercase;
  letter-spacing:.01em; line-height:.95;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 40%, var(--gold-light) 65%, var(--gold) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text; margin-bottom:28px;
}

.hero-subtitle {
  font-size:1rem; color:var(--gray-2);
  max-width:420px; margin-bottom:40px; line-height:1.7;
}

.hero-actions { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }

/* Right — visual */
.hero-visual {
  display:flex; flex-direction:column; align-items:center;
  justify-content: center;
}

.hero-logo-wrap {
  position:relative;
  width: clamp(260px, 28vw, 360px);
  height: clamp(260px, 28vw, 360px);
  display:flex; align-items:center; justify-content:center;
  /* NO isolation: isolate — mix-blend-mode must blend against the actual page bg */
}

/* Animated rings – decorative only */
.hero-ring {
  position:absolute; inset:0; border-radius:50%;
  border: 1px solid var(--gold-border);
  animation: ringPulse 4s ease-in-out infinite;
}
.hero-ring-2 {
  position:absolute; inset:28px; border-radius:50%;
  border: 1px solid rgba(201,168,76,.12);
  animation: ringPulse 4s ease-in-out infinite .9s;
}
@keyframes ringPulse {
  0%,100% { transform:scale(1); opacity:1; }
  50%      { transform:scale(1.05); opacity:.4; }
}

.hero-logo {
  width:  clamp(200px, 22vw, 290px);
  height: clamp(200px, 22vw, 290px);
  object-fit: contain;
  mix-blend-mode: screen;       /* removes black JPEG background */
  animation: logoFloat 6s ease-in-out infinite;
  position:relative; z-index:2;
}
@keyframes logoFloat {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-10px); }
}

.hero-brand {
  margin-top: 20px; text-align:center;
}
.hero-brand strong {
  display:block; font-family:var(--font-h);
  font-size: clamp(.9rem, 1.6vw, 1.3rem);
  letter-spacing:.22em; text-transform:uppercase;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero-brand span {
  font-family:var(--font-h); font-size:.65rem;
  letter-spacing:.45em; text-transform:uppercase; color:var(--gray-3);
}

/* Scroll indicator */
.scroll-indicator {
  position:absolute; bottom:28px; left:50%;
  transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:6px;
  z-index:2; animation:bounce 2.2s ease-in-out infinite;
}
.scroll-indicator span {
  font-family:var(--font-h); font-size:.65rem;
  letter-spacing:.22em; text-transform:uppercase; color:var(--gray-3);
}
.scroll-indicator svg { color:var(--gold); opacity:.55; }
@keyframes bounce {
  0%,100% { transform:translateX(-50%) translateY(0); }
  50%      { transform:translateX(-50%) translateY(7px); }
}

/* ═══════════════════════════════════════
   CREDENZIALI — unified 3+3 grid
═══════════════════════════════════════ */
.credenziali {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  padding: 72px 0 80px;
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gold-border);
  border-radius: 2px;
  overflow: hidden;
}

/* Row separator */
.cred-row { display: contents; }

.cred-item {
  display: flex; align-items: center; gap: 20px;
  padding: 32px 36px;
  position: relative;
  transition: background .3s;
  border-bottom: 1px solid var(--gold-border);
}
/* Remove bottom border on last row */
.cred-item:nth-child(4),
.cred-item:nth-child(5),
.cred-item:nth-child(6) { border-bottom: none; }
/* Right border between cols */
.cred-item:not(:nth-child(3n)) {
  border-right: 1px solid var(--gold-border);
}
.cred-item:hover { background: var(--gold-dim); }

.cred-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: var(--r); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s;
}
.cred-item:hover .cred-icon { background: rgba(201,168,76,.25); border-color: var(--gold); }
.cred-icon svg { width: 18px; height: 18px; min-width: 18px; min-height: 18px; color: var(--gold); flex-shrink: 0; }

/* Top row: larger, more prominent */
.cred-item.top .cred-text strong {
  font-family: var(--font-h); font-size: 1.1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--white); display: block; line-height: 1.2;
}
.cred-item.top .cred-text span {
  font-size: .78rem; color: var(--gold);
  text-transform: uppercase; letter-spacing: .1em;
  font-family: var(--font-h); font-weight: 600;
}

/* Bottom row: stat numbers */
.cred-item.bot {
  background: var(--bg-card);
}
.cred-item.bot .cred-text strong {
  font-family: var(--font-h); font-size: 2rem; font-weight: 900;
  color: var(--gold); display: block; line-height: 1;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cred-item.bot .cred-text span {
  font-size: .78rem; color: var(--gray-2);
  text-transform: uppercase; letter-spacing: .08em;
}

/* ═══════════════════════════════════════
   CHI SONO
═══════════════════════════════════════ */
.chi-sono {
  background: var(--bg); position:relative; overflow:hidden;
}

.chi-sono-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

/* Left — Photo */
.chi-sono-visual { position:relative; }
.chi-sono-photo-wrap { position:relative; display:inline-block; }
.chi-sono-photo {
  width: 100%; max-width: 460px; height: 580px;
  object-fit: cover; object-position: top center;
  border-radius: 2px; position:relative; z-index:2;
  filter: grayscale(10%); transition: filter .5s;
}
.chi-sono-photo:hover { filter: grayscale(0%); }
.chi-sono-frame {
  position:absolute; inset:-14px -14px 14px 14px;
  border: 1px solid var(--gold-border); border-radius:2px; z-index:1;
}
.chi-sono-badge {
  position:absolute; bottom:-20px; right:-20px;
  background:var(--bg-card); border:1px solid var(--gold-border);
  border-radius:var(--r); padding:18px 22px; z-index:3;
  min-width:160px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.chi-sono-badge strong {
  display:block; font-family:var(--font-h); font-size:2.2rem;
  font-weight:900; color:var(--gold); line-height:1;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.chi-sono-badge span {
  font-size:.72rem; color:var(--gray-2);
  text-transform:uppercase; letter-spacing:.1em;
}

/* Right — Content */
.chi-sono-content .section-title { text-align:left; }
.chi-sono-content .gold-line { margin:14px 0 28px; }
.chi-sono-content p {
  font-size:.97rem; color:var(--gray-2);
  line-height:1.85; margin-bottom:18px;
}
.chi-sono-content p.intro {
  font-size:1.05rem; color:var(--gray-1); font-weight:500;
}

.quote-block {
  margin:28px 0; padding:22px 26px;
  border-left:3px solid var(--gold);
  background:var(--gold-dim);
  border-radius:0 var(--r) var(--r) 0;
}
.quote-block p {
  font-family:var(--font-h); font-size:1.15rem; font-style:italic;
  color:var(--gold-light); margin:0; line-height:1.5;
}

.pills { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:36px; }
.pill {
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-h); font-size:.75rem;
  letter-spacing:.08em; text-transform:uppercase;
  color:var(--gold); border:1px solid var(--gold-border);
  background:var(--gold-dim); padding:6px 14px; border-radius:100px;
}
.pill svg { width:13px; height:13px; }

/* ═══════════════════════════════════════
   PERCORSI
═══════════════════════════════════════ */
.percorsi { background:var(--bg-2); position:relative; }
.percorsi-bg {
  position:absolute; inset:0;
  background:radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201,168,76,.05), transparent);
  pointer-events:none;
}

.percorsi-header { text-align:center; margin-bottom:60px; }
.percorsi-header .gold-line { margin:14px auto 0; }

.percorsi-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:22px;
}

.percorso-card {
  background:var(--bg-card); border:1px solid rgba(255,255,255,.05);
  border-radius:var(--r); padding:34px 26px;
  display:flex; flex-direction:column; position:relative; overflow:hidden;
  transition:border-color .32s, transform .32s, box-shadow .32s;
}
.percorso-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  opacity:0; transition:opacity .32s;
}
.percorso-card:hover { border-color:var(--gold-border); transform:translateY(-6px); box-shadow:0 20px 60px rgba(0,0,0,.4),0 0 40px rgba(201,168,76,.07); }
.percorso-card:hover::before { opacity:1; }
.percorso-card.featured { border-color:var(--gold-border); background:linear-gradient(160deg, #1c1808, var(--bg-card)); }
.percorso-card.featured::before { opacity:1; }

.feat-badge {
  position:absolute; top:14px; right:14px;
  background:var(--gold); color:#000;
  font-family:var(--font-h); font-size:.62rem; font-weight:800;
  letter-spacing:.12em; text-transform:uppercase;
  padding:4px 10px; border-radius:100px;
}

.p-icon {
  width:42px; height:42px;
  background:var(--gold-dim); border:1px solid var(--gold-border);
  border-radius:var(--r); overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px; transition:.3s;
}
.percorso-card:hover .p-icon { background:rgba(201,168,76,.22); border-color:var(--gold); }
.p-icon svg { width:20px; height:20px; min-width:20px; min-height:20px; color:var(--gold); flex-shrink:0; }

.percorso-card h3 {
  font-family:var(--font-h); font-size:1.25rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.06em; margin-bottom:12px; line-height:1.2;
}
.percorso-card p { font-size:.88rem; color:var(--gray-2); line-height:1.7; flex:1; margin-bottom:24px; }
.percorso-card .btn { align-self:flex-start; font-size:.76rem; padding:10px 20px; }

/* ═══════════════════════════════════════
   GALLERY
═══════════════════════════════════════ */
.gallery { background:var(--bg); padding:72px 0; overflow:hidden; }
.gallery-track {
  display:flex; gap:14px;
  animation:galleryScroll 32s linear infinite;
  width:max-content;
}
.gallery-track:hover { animation-play-state:paused; }
@keyframes galleryScroll {
  0%   { transform:translateX(0); }
  100% { transform:translateX(-50%); }
}
.gallery-item {
  width:270px; height:190px; border-radius:2px;
  overflow:hidden; flex-shrink:0;
  border:1px solid rgba(255,255,255,.05);
}
.gallery-item img {
  width:100%; height:100%; object-fit:cover;
  filter:grayscale(25%); transition:transform .6s, filter .6s;
}
.gallery-item:hover img { transform:scale(1.07); filter:grayscale(0%); }

/* ═══════════════════════════════════════
   COME FUNZIONA
═══════════════════════════════════════ */
.funziona { background:var(--bg-2); position:relative; overflow:hidden; }
.funziona-bg {
  position:absolute; inset:0;
  background:radial-gradient(ellipse 50% 60% at 50% 100%, rgba(201,168,76,.04), transparent);
  pointer-events:none;
}

.funziona-inner {
  display:grid; grid-template-columns:1fr 1.3fr; gap:80px; align-items:center;
}
.funziona-text .section-title { text-align:left; }
.funziona-text .gold-line { margin:14px 0 22px; }
.funziona-text p { font-size:.97rem; color:var(--gray-2); line-height:1.8; margin-bottom:36px; }

.steps { display:flex; flex-direction:column; }
.step { display:flex; gap:22px; padding-bottom:38px; }
.step:last-child { padding-bottom:0; }
.step-num-col { display:flex; flex-direction:column; align-items:center; flex-shrink:0; }
.step-num {
  width:46px; height:46px; border:2px solid var(--gold);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-h); font-size:1.1rem; font-weight:800;
  color:var(--gold); background:var(--gold-dim); flex-shrink:0; z-index:2;
}
.step-line { flex:1; width:2px; background:linear-gradient(to bottom, var(--gold-border), transparent); margin-top:4px; }
.step:last-child .step-line { display:none; }
.step-body { padding-top:8px; }
.step-body h4 {
  font-family:var(--font-h); font-size:1.05rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.08em; margin-bottom:7px;
}
.step-body p { font-size:.88rem; color:var(--gray-2); line-height:1.7; }

/* ═══════════════════════════════════════
   SHOP
═══════════════════════════════════════ */
.shop { background:var(--bg-2); position:relative; overflow:hidden; }
.shop-bg {
  position:absolute; inset:0;
  background:radial-gradient(ellipse 80% 60% at 50% -10%, rgba(201,168,76,.07), transparent);
  pointer-events:none;
}
.shop-top-border {
  position:absolute; top:0; left:6%; right:6%; height:1px;
  background:linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

.shop-header { text-align:center; margin-bottom:64px; }
.shop-header .gold-line { margin:14px auto 0; }
.shop-header p { font-size:.97rem; color:var(--gray-2); margin-top:22px; max-width:500px; margin-left:auto; margin-right:auto; line-height:1.7; }

.shop-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px; align-items:start;
}

.shop-card {
  background:var(--bg-card);
  border:1px solid rgba(201,168,76,.15);
  border-top: 3px solid transparent;
  border-radius:6px; padding:28px 22px 24px;
  display:flex; flex-direction:column;
  position:relative; overflow:hidden;
  transition:border-color .3s, transform .35s, box-shadow .35s;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.shop-card:hover {
  border-color:var(--gold-border);
  border-top-color: var(--gold);
  transform:translateY(-8px);
  box-shadow:0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(201,168,76,.1);
}
.shop-card.featured {
  border-color:var(--gold-border);
  border-top: 3px solid var(--gold);
  background: linear-gradient(175deg, #1e1504 0%, #141414 40%, #111 100%);
  box-shadow: 0 8px 40px rgba(201,168,76,.12), 0 4px 24px rgba(0,0,0,.4);
}
.shop-card.featured:hover {
  box-shadow: 0 28px 70px rgba(201,168,76,.18), 0 8px 40px rgba(0,0,0,.5);
}

.shop-pop {
  position:absolute; top:16px; right:16px;
  background:linear-gradient(120deg, var(--gold-dark), var(--gold));
  color:#000;
  font-family:var(--font-h); font-size:.6rem; font-weight:800;
  letter-spacing:.14em; text-transform:uppercase;
  padding:4px 12px; border-radius:100px;
  box-shadow: 0 2px 12px rgba(201,168,76,.4);
}

.shop-icon {
  width:44px; height:44px;
  background:var(--gold-dim); border:1px solid var(--gold-border);
  border-radius:6px; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px; transition:.3s;
}
.shop-card:hover .shop-icon,
.shop-card.featured .shop-icon { background:rgba(201,168,76,.2); border-color:var(--gold); }
.shop-icon svg { width:20px; height:20px; min-width:20px; min-height:20px; color:var(--gold); flex-shrink:0; }

.shop-card h3 {
  font-family:var(--font-h); font-size:1.2rem; font-weight:800;
  text-transform:uppercase; letter-spacing:.06em; margin-bottom:8px; line-height:1.15;
  color:var(--white);
}
.shop-card.featured h3 { color:var(--gold-light); }
.shop-card p { font-size:.83rem; color:var(--gray-2); line-height:1.65; flex:1; margin-bottom:18px; }

.shop-divider {
  height:1px; background:linear-gradient(90deg, var(--gold-border), transparent);
  margin-bottom:16px;
}

.shop-includes {
  margin-bottom:22px; display:flex; flex-direction:column; gap:8px;
}
.shop-inc {
  display:flex; align-items:center; gap:9px;
  font-size:.8rem; color:var(--gray-2); line-height:1.4;
}
.shop-inc svg { width:14px; height:14px; min-width:14px; min-height:14px; color:var(--gold); flex-shrink:0; }

.shop-card > .btn {
  align-self:stretch; text-align:center;
  justify-content:center; font-size:.78rem; padding:12px;
  margin-top:auto;
}

/* ═══════════════════════════════════════
   PRENOTA — QUESTIONARIO
═══════════════════════════════════════ */
.prenota { background:var(--bg); position:relative; overflow:hidden; }
.prenota-bg {
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201,168,76,.05), transparent),
    radial-gradient(ellipse 30% 40% at 10% 80%, rgba(201,168,76,.03), transparent);
  pointer-events:none;
}
.prenota-border {
  position:absolute; top:0; left:8%; right:8%; height:1px;
  background:linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

/* — index.html: 2-col layout — */
.prenota-inner {
  display:grid; grid-template-columns:1fr 1.5fr; gap:72px; align-items:start;
}
.prenota-left {}
.prenota-label {
  font-family:var(--font-h); font-size:.75rem;
  letter-spacing:.3em; text-transform:uppercase; color:var(--gold); margin-bottom:14px;
}
.prenota-left h2 {
  font-family:var(--font-h);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight:800; text-transform:uppercase; line-height:1.05; margin-bottom:14px;
}
.prenota-left h2 span {
  background:linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.prenota-left > p { font-size:.95rem; color:var(--gray-2); line-height:1.75; margin-bottom:28px; }

.prenota-steps { display:flex; flex-direction:column; gap:14px; margin-bottom:28px; }
.pstep { display:flex; align-items:flex-start; gap:14px; }
.pstep-icon {
  width:34px; height:34px; flex-shrink:0;
  border:1px solid var(--gold-border); background:var(--gold-dim);
  border-radius:var(--r); overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.pstep-icon svg { width:16px; height:16px; min-width:16px; min-height:16px; color:var(--gold); flex-shrink:0; }
.pstep-text strong {
  display:block; font-family:var(--font-h);
  font-size:.85rem; letter-spacing:.05em; text-transform:uppercase; color:var(--white);
}
.pstep-text span { font-size:.8rem; color:var(--gray-2); }
.prenota-phrase {
  font-family: 'Dancing Script', cursive;
  font-size:1.35rem; color:var(--gold-light); line-height:1.4;
}

.form-row { display:grid; gap:16px; margin-bottom:16px; }
.form-row.two { grid-template-columns:1fr 1fr; }
.form-row.one { grid-template-columns:1fr; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label {
  font-family:var(--font-h); font-size:.72rem; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase; color:var(--gray-2);
}
.form-group label .req { color:var(--gold); margin-left:2px; }

/* Disponibilità checkboxes */
.disp-group { display:flex; gap:14px; flex-wrap:wrap; }
.disp-item { display:flex; align-items:center; gap:8px; cursor:pointer; }
.disp-item input[type="checkbox"] { display:none; }
.disp-box {
  width:18px; height:18px;
  border:1.5px solid rgba(201,168,76,.25);
  border-radius:3px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .2s, background .2s;
}
.disp-item input:checked ~ .disp-box { border-color:var(--gold); background:var(--gold); }
.disp-item input:checked ~ .disp-box::after { content:'✓'; font-size:.65rem; color:#000; font-weight:900; }
.disp-label { font-size:.85rem; color:var(--gray-2); }

/* — questionario.html: centered layout — */
/* Intro centrato in cima */
.prenota-header {
  text-align:center;
  max-width:680px; margin:0 auto 52px;
}
.prenota-header .section-title { margin-bottom:0; }
.prenota-header .gold-line { margin-left:auto; margin-right:auto; }

.prenota-intro {
  background:rgba(201,168,76,.04);
  border:1px solid rgba(201,168,76,.12);
  border-radius:6px;
  padding:28px 32px;
  text-align:left;
  margin-top:28px;
}
.prenota-intro p {
  font-size:.93rem; color:var(--gray-2); line-height:1.75; margin-bottom:14px;
}
.prenota-intro p:last-of-type { margin-bottom:18px; }
.prenota-signature {
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-h); font-size:.95rem;
  letter-spacing:.05em; color:var(--gold-light);
}
.prenota-signature span { color:var(--gold); }

/* Form card — centrata, max-width generoso */
.prenota-form-wrap {
  max-width:780px; margin:0 auto;
  background: linear-gradient(160deg, #131313 0%, #0f0f0f 100%);
  border:1px solid var(--gold-border);
  border-top: 3px solid var(--gold);
  border-radius:6px; padding:44px 48px;
  box-shadow: 0 32px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(201,168,76,.05);
  position: relative;
}
.prenota-form-wrap::before {
  content:''; position:absolute; top:0; left:10%; right:10%; height:1px;
  background:linear-gradient(90deg, transparent, rgba(201,168,76,.35), transparent);
  pointer-events:none;
}

.form-title {
  font-family:var(--font-h); font-size:1.4rem; font-weight:800;
  text-transform:uppercase; letter-spacing:.08em;
  margin-bottom:36px;
  padding-bottom:20px;
  border-bottom:1px solid rgba(201,168,76,.15);
  color:var(--white);
  display:flex; align-items:center; gap:12px;
}
.form-title::before {
  content:''; display:block; width:4px; height:22px;
  background:linear-gradient(180deg, var(--gold-dark), var(--gold));
  border-radius:2px; flex-shrink:0;
}
.form-title span { color:var(--gold); }

/* Question groups */
.qform-group {
  margin-bottom:32px;
  padding-bottom:32px;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.qform-group:last-of-type { border-bottom:none; }

.qform-label {
  display:block;
  font-family:var(--font-h); font-size:.88rem; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase;
  color:var(--white); margin-bottom:14px; line-height:1.4;
}
.qform-label .req { color:var(--gold); margin-left:3px; }

/* Shared input */
.form-input {
  background:rgba(255,255,255,.05);
  border:1px solid rgba(201,168,76,.2);
  border-radius:4px; padding:13px 16px;
  color:var(--white); font-family:var(--font-b);
  font-size:.92rem; outline:none;
  transition:border-color .25s, background .25s, box-shadow .25s;
  width:100%;
}
.form-input::placeholder { color:rgba(160,160,160,.5); }
.form-input:focus {
  border-color:var(--gold);
  background:rgba(201,168,76,.06);
  box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
textarea.form-input { resize:vertical; min-height:100px; }
select.form-input { background:#1a1a1a; color:var(--white); }
select.form-input option { background:#1a1a1a; color:#fff; }

/* Radio buttons */
.radio-group {
  display:flex; flex-direction:column; gap:10px;
}
.radio-group-inline {
  flex-direction:row; flex-wrap:wrap; gap:10px 20px;
}
.radio-item {
  display:flex; align-items:center; gap:12px;
  cursor:pointer; user-select:none;
}
.radio-item input[type="radio"] { display:none; }
.radio-box {
  width:20px; height:20px; flex-shrink:0;
  border:2px solid rgba(201,168,76,.3);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .2s, background .2s;
  position:relative;
}
.radio-box::after {
  content:''; width:8px; height:8px;
  border-radius:50%; background:var(--gold);
  opacity:0; transform:scale(0); transition:opacity .2s, transform .2s;
}
.radio-item input:checked ~ .radio-box {
  border-color:var(--gold);
}
.radio-item input:checked ~ .radio-box::after {
  opacity:1; transform:scale(1);
}
.radio-item:hover .radio-box { border-color:rgba(201,168,76,.6); }
.radio-label {
  font-size:.9rem; color:var(--gray-2); line-height:1.45;
  transition:color .2s;
}
.radio-item input:checked ~ .radio-label { color:var(--white); }
.radio-item:hover .radio-label { color:var(--gray-1); }

.other-input {
  display:none; margin-top:8px; margin-left:32px;
}
.other-input.visible { display:block; }

/* GDPR */
.gdpr-section {
  margin-top:28px; padding-top:24px;
  border-top:1px solid rgba(201,168,76,.12);
  display:flex; flex-direction:column; gap:14px;
}
.gdpr-item { display:flex; align-items:flex-start; gap:12px; cursor:pointer; }
.gdpr-item input[type="checkbox"] { display:none; }
.gdpr-box {
  width:20px; height:20px; flex-shrink:0; margin-top:2px;
  border:1.5px solid rgba(201,168,76,.3); border-radius:3px;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .2s, background .2s;
}
.gdpr-item input:checked ~ .gdpr-box {
  border-color:var(--gold); background:var(--gold);
}
.gdpr-item input:checked ~ .gdpr-box::after {
  content:'✓'; font-size:.7rem; color:#000; font-weight:900;
}
.gdpr-text { font-size:.82rem; color:var(--gray-2); line-height:1.6; }
.gdpr-text a { color:var(--gold); text-decoration:underline; text-underline-offset:2px; }
.gdpr-text a:hover { color:var(--gold-light); }
.gdpr-req { color:var(--gold); margin-left:2px; }

.form-submit {
  margin-top:32px;
  display:flex; flex-direction:column; gap:14px; align-items:center;
}
.form-submit .btn-gold {
  width:100%; max-width:400px; justify-content:center; padding:17px;
  font-size:.92rem; letter-spacing:.1em;
}
.form-note {
  font-size:.75rem; color:var(--gray-3); text-align:center;
}
.form-note a { color:var(--gold); }

/* Form success message */
.form-success {
  display:none; text-align:center; padding:48px 0;
}
.form-success.show { display:block; }
.form-success svg { width:64px; height:64px; color:var(--gold); margin:0 auto 20px; display:block; }
.form-success h3 {
  font-family:var(--font-h); font-size:1.6rem; font-weight:800;
  text-transform:uppercase; letter-spacing:.06em; margin-bottom:12px; color:var(--white);
}
.form-success p { font-size:.93rem; color:var(--gray-2); line-height:1.65; max-width:420px; margin:0 auto; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer { background:var(--bg-2); border-top:1px solid var(--gold-border); padding:64px 0 0; }

.footer-grid {
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:48px;
  padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.05);
}

.footer-logo { height:54px; width:auto; margin-bottom:18px; mix-blend-mode:screen; }
.footer-brand p { font-size:.88rem; color:var(--gray-2); line-height:1.7; margin-bottom:20px; max-width:270px; }
.footer-tagline { font-family:var(--font-h); font-size:.75rem; letter-spacing:.25em; text-transform:uppercase; color:var(--gold); }

.footer-col h4 {
  font-family:var(--font-h); font-size:.76rem; font-weight:700;
  letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin-bottom:18px;
}
.footer-links { display:flex; flex-direction:column; gap:11px; }
.footer-links a { font-size:.88rem; color:var(--gray-2); transition:color .2s; }
.footer-links a:hover { color:var(--gold); }

.f-contact { display:flex; flex-direction:column; gap:13px; }
.f-contact-item { display:flex; align-items:flex-start; gap:11px; }
.f-contact-item svg { width:15px; height:15px; color:var(--gold); flex-shrink:0; margin-top:3px; }
.f-contact-item span { font-size:.88rem; color:var(--gray-2); }

.social-links { display:flex; flex-direction:column; gap:12px; margin-bottom:24px; }
.social-link { display:flex; align-items:center; gap:11px; font-size:.88rem; color:var(--gray-2); transition:color .2s; }
.social-link:hover { color:var(--gold); }
.social-link svg { width:17px; height:17px; }

.newsletter input {
  width:100%; background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1); border-radius:var(--r);
  padding:11px 14px; color:var(--white); font-family:var(--font-b);
  font-size:.88rem; outline:none; transition:border-color .25s; margin-bottom:9px;
}
.newsletter input::placeholder { color:var(--gray-3); }
.newsletter input:focus { border-color:var(--gold-border); }
.newsletter .btn-gold { width:100%; justify-content:center; padding:12px; font-size:.78rem; }

.footer-bottom {
  padding:18px 0;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:10px;
}
.footer-bottom p { font-size:.78rem; color:var(--gray-3); }
.footer-bottom p a { color: var(--gold); text-decoration: none; }
.footer-bottom p a:hover { color: var(--gold-light); }
.footer-legal { display:flex; gap:22px; }
.footer-legal a { font-size:.78rem; color:var(--gray-3); transition:color .2s; }
.footer-legal a:hover { color:var(--gold); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .percorsi-grid, .shop-grid { grid-template-columns:repeat(2,1fr); }
  .funziona-inner { gap:50px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display:none; }
  .hamburger { display:flex; }
  .nav-mobile { display:flex; }

  .hero-inner { grid-template-columns:1fr; text-align:center; padding-top:110px; }
  .hero-text { order:2; }
  .hero-visual { order:1; }
  .hero-eyebrow { justify-content:center; }
  .hero-subtitle { margin:0 auto 36px; }
  .hero-actions { justify-content:center; }

  .cred-grid { grid-template-columns:1fr; }
  .cred-item:not(:nth-child(3n)) { border-right:none; }
  .cred-item { border-bottom:1px solid var(--gold-border) !important; }
  .cred-item:last-child { border-bottom:none !important; }

  .chi-sono-inner { grid-template-columns:1fr; }
  .chi-sono-visual { display:flex; justify-content:center; }

  .funziona-inner { grid-template-columns:1fr; }
  .prenota-inner { grid-template-columns:1fr; gap:40px; }
  .form-row.two { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }

  .radio-group-inline { flex-direction:column; gap:10px; }
}

@media (max-width: 640px) {
  .section-pad { padding:70px 0; }
  .percorsi-grid, .shop-grid { grid-template-columns:1fr; }
  .chi-sono-photo { height:420px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .prenota-form-wrap { padding:28px 22px; }
  .prenota-intro { padding:20px 22px; }
  .hero-logo-wrap { width:220px; height:220px; }
  .qform-group { margin-bottom:24px; padding-bottom:24px; }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:var(--bg); }
::-webkit-scrollbar-thumb { background:var(--gold-dark); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--gold); }
::selection { background:rgba(201,168,76,.28); color:var(--white); }

/* ─── reduced-motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}
