/* ═══════════════════════════════════════
   LaserTag & Medals — Foglio di stile condiviso
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@200;300;400;500&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-pale: #F5E6B8;
  --bronze: #8B6914;
  --ink: #1A1208;
  --cream: #FAF6EE;
  --warm-mid: #E8DFC8;
  --charcoal: #2E2416;
  --dark2: #231a0e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.3;
}

/* ══════ ANIMATIONS ══════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ══════ NAVBAR ══════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 3rem; height: 72px;
  background: rgba(26,18,8,0.97);
  border-bottom: 1px solid rgba(201,168,76,0.13);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400;
  letter-spacing: 0.12em; color: var(--gold);
  text-decoration: none;
}
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links li a {
  display: block; color: var(--warm-mid); text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0 1.1rem; height: 72px; line-height: 72px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav-links li a:hover { color: var(--gold-light); }
.nav-links li a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--gold) !important; color: var(--ink) !important;
  padding: 0 1.4rem !important; height: 38px !important; line-height: 38px !important;
  border-bottom: none !important; font-weight: 500 !important;
  margin-left: 1rem; align-self: center;
  transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--gold); }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(26,18,8,0.98); z-index: 490;
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif; font-size: 2rem;
  color: var(--cream); text-decoration: none;
  letter-spacing: 0.1em; transition: color 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }

/* ══════ PAGE WRAPPER ══════ */
.page-content {
  padding-top: 72px;
  min-height: 100vh;
  animation: fadeUp 0.4s ease both;
}

/* ══════ COMMON COMPONENTS ══════ */
.wrap { padding: 6rem 3rem; }
.wrap.bg-dark { background: var(--charcoal); }
.wrap.bg-darker { background: var(--dark2); }

.sec-label {
  display: block; font-size: 0.65rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem;
}
.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 300; line-height: 1.15; margin-bottom: 1.5rem;
}
.sec-body {
  font-size: 0.9rem; line-height: 1.9;
  color: var(--warm-mid); max-width: 56ch;
}
.gold-i { color: var(--gold-light); font-style: italic; }

.btn-g {
  display: inline-block; background: var(--gold); color: var(--ink);
  border: none; padding: 1rem 2.8rem; font-family: 'Jost', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; font-weight: 500; transition: all 0.3s;
}
.btn-g:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.25); }

.btn-o {
  display: inline-block; background: transparent; color: var(--gold);
  border: 1px solid var(--gold); padding: 1rem 2.8rem; font-family: 'Jost', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; transition: all 0.3s;
}
.btn-o:hover { background: rgba(201,168,76,0.08); }

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ══════ PAGE HEADER (inner pages) ══════ */
.page-header {
  background: var(--charcoal); padding: 5rem 3rem 4rem;
}

/* ══════ STRIP ══════ */
.strip-wrap { overflow: hidden; background: var(--dark2); padding: 3rem 0; }
.strip-track { display: flex; gap: 1rem; animation: marquee 28s linear infinite; width: max-content; }
.s-item {
  width: 210px; height: 115px; flex-shrink: 0;
  border: 1px solid rgba(201,168,76,0.14); background: var(--charcoal);
  border-radius: 3px; display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 0.88rem;
  color: var(--gold); font-style: italic; text-align: center; padding: 1rem;
}

/* ══════ FORMS ══════ */
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.18); color: var(--cream);
  padding: 0.9rem 1rem; font-family: 'Jost', sans-serif; font-size: 0.85rem; outline: none;
  transition: border-color 0.3s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); }
.form-select option { background: var(--charcoal); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.success-box { display: none; text-align: center; padding: 3rem 2rem; }
.success-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.success-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--gold-light); margin-bottom: 0.8rem; }
.success-body { font-size: 0.85rem; color: var(--warm-mid); line-height: 1.8; }

/* ══════ MODAL ══════ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(10,7,2,0.92); z-index: 800;
  place-items: center; padding: 2rem;
}
.modal-overlay.open { display: grid; }
.modal {
  background: var(--charcoal); border: 1px solid rgba(201,168,76,0.25);
  max-width: 560px; width: 100%; padding: 3rem; position: relative;
  animation: fadeUp 0.35s ease;
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; color: var(--warm-mid);
  font-size: 1.4rem; cursor: pointer; opacity: 0.5; transition: opacity 0.2s;
}
.modal-close:hover { opacity: 1; }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--gold-light); margin-bottom: 0.4rem; }
.modal-sub { font-size: 0.78rem; color: var(--warm-mid); opacity: 0.6; margin-bottom: 1.8rem; }

/* ══════ FOOTER ══════ */
footer { background: #0F0B04; padding: 4rem 3rem 2rem; border-top: 1px solid rgba(201,168,76,0.1); }
.fg { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.fb { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--gold); margin-bottom: 0.8rem; }
.ft { font-size: 0.8rem; line-height: 1.8; color: var(--warm-mid); opacity: 0.55; max-width: 28ch; }
.fc-title { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.fl { list-style: none; }
.fl li { margin-bottom: 0.6rem; }
.fl a { color: var(--warm-mid); text-decoration: none; font-size: 0.82rem; opacity: 0.65; transition: all 0.2s; }
.fl a:hover { opacity: 1; color: var(--gold-light); }
.fb-bottom { padding-top: 1.5rem; border-top: 1px solid rgba(201,168,76,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.fc { font-size: 0.7rem; color: var(--warm-mid); opacity: 0.35; letter-spacing: 0.08em; }
.sr { display: flex; gap: 0.8rem; }
.sb { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.2); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.9rem; cursor: pointer; transition: all 0.3s; }
.sb:hover { background: var(--gold); color: var(--ink); }

/* ══════ FAQ ══════ */
.faq-item { border-bottom: 1px solid rgba(201,168,76,0.15); }
.faq-q { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--cream); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.6rem 0; }
.faq-icon { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-a { font-size: 0.85rem; line-height: 1.9; color: var(--warm-mid); padding-bottom: 1.5rem; opacity: 0.75; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ══════ HOME ══════ */
.hero { min-height: calc(100vh - 72px); display: grid; place-items: center; text-align: center; position: relative; padding: 4rem 2rem; overflow: hidden; }
.h-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(201,168,76,0.12); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.h-ring:nth-child(1) { width: 520px; height: 520px; animation: spin 40s linear infinite; }
.h-ring:nth-child(2) { width: 720px; height: 720px; animation: spin 65s linear infinite reverse; border-style: dashed; }
.h-ring:nth-child(3) { width: 920px; height: 920px; animation: spin 90s linear infinite; opacity: 0.4; }
.h-content { position: relative; z-index: 2; }
.h-eye { font-size: 0.68rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.h-medal { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 2.5rem; background: radial-gradient(circle at 35% 35%, #1a1a1a 0%, #0d0d0d 50%, #000000 100%); box-shadow: 0 0 0 3px rgba(201,168,76,0.5), 0 0 0 10px rgba(201,168,76,0.08), 0 0 0 20px rgba(201,168,76,0.04), 0 20px 60px rgba(0,0,0,0.8), inset 0 2px 8px rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-size: 2.8rem; animation: float 4s ease-in-out infinite; }
.h-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(3.2rem,8vw,6.5rem); font-weight: 300; line-height: 1.05; margin-bottom: 0.4em; }
.h-sub { font-size: 0.82rem; letter-spacing: 0.18em; color: var(--warm-mid); margin-bottom: 2.5rem; text-transform: uppercase; }
.h-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(201,168,76,0.08); }
.h-feat { background: var(--ink); padding: 3rem 2.5rem; text-align: center; transition: background 0.3s; }
.h-feat:hover { background: var(--dark2); }
.h-feat-icon { font-size: 2.2rem; margin-bottom: 1.2rem; }
.h-feat-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--gold-light); margin-bottom: 0.7rem; }
.h-feat-desc { font-size: 0.82rem; color: var(--warm-mid); line-height: 1.8; opacity: 0.75; }
.h-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; margin-top: 3.5rem; }
.hs-num { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; color: rgba(201,168,76,0.1); line-height: 1; }
.hs-title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--gold-light); margin: 0.5rem 0; }
.hs-body { font-size: 0.8rem; line-height: 1.8; color: var(--warm-mid); opacity: 0.7; }

/* ══════ PRODOTTI ══════ */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 2px; background: rgba(201,168,76,0.07); padding: 2px; }
.prod-card { background: var(--ink); padding: 2.5rem; display: flex; flex-direction: column; gap: 0.9rem; transition: background 0.3s, transform 0.3s; position: relative; }
.prod-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,transparent,var(--gold),transparent); transform: scaleX(0); transition: transform 0.4s; }
.prod-card:hover { background: #231a0e; transform: translateY(-3px); }
.prod-card:hover::after { transform: scaleX(1); }
.prod-medal { width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 35% 35%,#F5E0A0,#C9A84C 45%,#8B6914); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 6px 24px rgba(0,0,0,0.45), inset 0 2px 8px rgba(255,255,255,0.12); }
.prod-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid rgba(201,168,76,0.25); color: var(--gold); padding: 0.2rem 0.6rem; }
.prod-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--cream); }
.prod-desc { font-size: 0.82rem; line-height: 1.8; color: var(--warm-mid); opacity: 0.75; }
.prod-price { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-top: auto; }

/* ══════ MATERIALI ══════ */
.mat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 2px; background: rgba(201,168,76,0.07); padding: 2px; margin-top: 3rem; }
.mat-card { background: var(--ink); padding: 2.5rem; transition: background 0.3s; }
.mat-card:hover { background: var(--dark2); }
.mat-swatch { width: 54px; height: 54px; border-radius: 50%; margin-bottom: 1.2rem; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
.mat-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--cream); margin-bottom: 0.5rem; }
.mat-desc { font-size: 0.83rem; line-height: 1.8; color: var(--warm-mid); opacity: 0.75; }
.mat-props { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.mat-prop { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--gold); display: flex; align-items: center; gap: 0.5rem; }
.mat-prop::before { content: '✦'; font-size: 0.6rem; }

/* ══════ COME FUNZIONA ══════ */
.timeline { max-width: 820px; margin: 4rem auto 0; padding: 0 3rem; }
.t-item { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid rgba(201,168,76,0.12); }
.t-item:last-child { border-bottom: none; }
.t-num { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 300; color: rgba(201,168,76,0.18); line-height: 1; }
.t-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold-light); margin-bottom: 0.7rem; }
.t-body { font-size: 0.88rem; line-height: 1.9; color: var(--warm-mid); opacity: 0.8; max-width: 55ch; }
.t-note { margin-top: 0.8rem; font-size: 0.75rem; color: var(--gold); opacity: 0.7; }

/* ══════ GALLERIA ══════ */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: 2px; padding: 3rem; }
.gal-item { aspect-ratio: 1; background: var(--charcoal); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(201,168,76,0.1); transition: all 0.3s; cursor: pointer; padding: 2rem; text-align: center; }
.gal-item:hover { background: var(--dark2); border-color: var(--gold); transform: scale(1.02); }
.gal-medal { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 8px 28px rgba(0,0,0,0.5), inset 0 2px 8px rgba(255,255,255,0.1); }
.gal-label { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--cream); margin-bottom: 0.3rem; }
.gal-sub { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.1em; }

/* ══════ CONTATTI ══════ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2px; background: rgba(201,168,76,0.07); margin: 3rem 3rem 0; }
.contact-info { background: var(--ink); padding: 3.5rem 3rem; }
.c-info-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold-light); margin-bottom: 2rem; }
.c-item { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: flex-start; }
.c-icon { font-size: 1.2rem; padding-top: 0.1rem; flex-shrink: 0; }
.c-label { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.c-val { font-size: 0.9rem; color: var(--cream); line-height: 1.6; }
.c-val a { color: var(--cream); text-decoration: none; transition: color 0.2s; }
.c-val a:hover { color: var(--gold); }
.c-hours { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(201,168,76,0.12); }
.c-hours-title { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.c-hour-row { display: flex; justify-content: space-between; font-size: 0.83rem; color: var(--warm-mid); padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.contact-form-box { background: var(--dark2); padding: 3.5rem 3rem; }
.cf-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--cream); margin-bottom: 0.5rem; }
.cf-sub { font-size: 0.8rem; color: var(--warm-mid); opacity: 0.6; margin-bottom: 2rem; }

/* ══════ RESPONSIVE ══════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  nav { padding: 0 1.5rem; }
  .h-features, .h-steps { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; margin: 2rem 1.5rem 0; }
  .fg { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 4rem 1.5rem; }
  .timeline { padding: 0 1.5rem; }
  .gal-grid { padding: 1.5rem; }
  .page-header { padding: 4rem 1.5rem 3rem; }
}
@media (max-width: 600px) {
  .h-features, .h-steps { grid-template-columns: 1fr; }
  .fg { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .fb-bottom { flex-direction: column; align-items: flex-start; }
}

/* ══════ LOGO IMMAGINE ══════ */
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(201,168,76,0.3));
  transition: filter 0.3s;
}
.nav-logo:hover img {
  filter: drop-shadow(0 0 10px rgba(201,168,76,0.5));
}

/* ══════ FOOTER LOGO TESTO ══════ */
.fb {
  font-size: 1.1rem;
  line-height: 1.4;
}
