/* ============================================================
   Lux Clubbing — "After Dark"
   Oro come luce nel buio. Display: Anton · Body: Manrope.
   ============================================================ */

:root {
  /* dark warm base (mai #000 puro) */
  --bg:        oklch(0.15 0.012 70);
  --bg-2:      oklch(0.185 0.014 72);
  --bg-3:      oklch(0.225 0.016 74);
  --line:      oklch(0.34 0.016 80);
  --line-soft: oklch(0.27 0.014 78);

  /* testo caldo (mai #fff puro) */
  --fg:        oklch(0.96 0.012 85);
  --fg-muted:  oklch(0.76 0.02 82);

  /* oro = la luce del brand */
  --gold:        oklch(0.83 0.115 84);
  --gold-bright: oklch(0.91 0.10 90);
  --gold-deep:   oklch(0.66 0.10 68);
  --gold-glow:   oklch(0.83 0.13 84 / 0.45);

  --maxw: 1200px;
  --pad: clamp(1.15rem, 5vw, 2.5rem);

  --r: 16px;
  --r-sm: 11px;

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

  --font-display: "Anton", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 80px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.04; font-weight: 400; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--bg);
  padding: 0.7rem 1rem;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(0.15 0.012 70 / 0.82);
  border-bottom: 1px solid var(--line-soft);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}
.brand-name span { color: var(--gold); }

.nav-desktop { display: none; }

.nav-desktop a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--fg-muted);
  padding: 0.5rem 0.2rem;
  transition: color 0.2s var(--ease);
}
.nav-desktop a:hover { color: var(--fg); }

.nav-cta {
  color: var(--bg) !important;
  background: var(--gold);
  padding: 0.62rem 1.15rem !important;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-cta:hover {
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px var(--gold-glow);
}

/* hamburger */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav drawer */
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 var(--pad);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-soft);
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease), visibility 0s linear 0.35s;
}
.nav-mobile.is-open {
  max-height: 420px;
  padding-block: 0.75rem 1.25rem;
  visibility: visible;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease), visibility 0s;
}
.nav-mobile a {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--fg);
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile .nav-cta {
  margin-top: 0.75rem;
  text-align: center;
  border-bottom: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              box-shadow 0.3s var(--ease), border-color 0.2s var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 0 0 0 var(--gold-glow);
}
.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px var(--gold-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: flex-end;
  padding-block: 5rem 3.5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(0.15 0.012 70 / 0.62) 0%, oklch(0.15 0.012 70 / 0.42) 32%, oklch(0.15 0.012 70 / 0.95) 100%),
    linear-gradient(90deg, oklch(0.15 0.012 70 / 0.80) 0%, oklch(0.15 0.012 70 / 0.18) 60%, transparent 100%);
}
.hero-glow {
  position: absolute;
  z-index: -1;
  left: -10%;
  bottom: -25%;
  width: 70vw;
  height: 70vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 62%);
  filter: blur(28px);
  opacity: 0.85;
  pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.08); }
}

.hero-content {
  position: relative;
  max-width: 760px;
  text-shadow: 0 2px 26px oklch(0.11 0.01 70 / 0.55);
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 13vw, 6.6rem);
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--fg);
}
.hero-title span { color: var(--gold); }
.hero-sub {
  margin-top: 1.4rem;
  max-width: 46ch;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: var(--fg-muted);
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--fg);
}
.section-lead {
  margin-top: 1rem;
  font-size: clamp(1rem, 2.3vw, 1.15rem);
  color: var(--fg-muted);
  max-width: 52ch;
}

/* ---------- services ---------- */
.services { background: var(--bg); }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-deep);
  box-shadow: 0 18px 40px -22px var(--gold-glow);
}
.card-media { aspect-ratio: 16 / 11; overflow: hidden; }
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
  margin-bottom: 0.55rem;
}
.card-body p { color: var(--fg-muted); font-size: 1rem; }

.includes {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.includes li {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
}

/* ---------- gallery ---------- */
.gallery { background: var(--bg-2); }

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  grid-auto-flow: dense;
}
.g-item {
  margin: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-3);
  position: relative;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transition: transform 0.6s var(--ease);
}
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  border-radius: inherit;
  pointer-events: none;
}
.g-item:hover img { transform: scale(1.06); }
.g-tall { grid-row: span 2; }
.g-tall img { aspect-ratio: 3 / 5; height: 100%; }

/* ---------- why ---------- */
.why { background: var(--bg); }
.why-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.why-point {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.why-point h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}
.why-point p { color: var(--fg-muted); }

/* ---------- contatti ---------- */
.contact {
  background:
    radial-gradient(120% 90% at 50% 0%, oklch(0.22 0.04 80 / 0.5) 0%, transparent 60%),
    var(--bg-2);
  text-align: center;
}
.contact-inner { max-width: 720px; margin-inline: auto; }
.contact .section-lead { margin-inline: auto; }

.contact-cards {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.contact-card {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold);
}
.contact-value {
  font-size: clamp(1.05rem, 4vw, 1.4rem);
  font-weight: 700;
  color: var(--fg);
  word-break: break-word;
}
.contact-note {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--fg-muted);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  padding-block: 2.5rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
}
.footer-brand { display: flex; align-items: center; gap: 0.85rem; }
.footer-logo { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; }
.footer-tag { color: var(--fg-muted); font-size: 0.95rem; max-width: 30ch; }

.footer-meta { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-social { display: flex; gap: 0.6rem; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--fg-muted);
}
.footer-copy { color: var(--fg-muted); font-size: 0.9rem; }
.footer-credit { color: var(--fg-muted); font-size: 0.85rem; }
.footer-credit a { color: var(--gold); font-weight: 600; }
.footer-credit a:hover { color: var(--gold-bright); text-decoration: underline; }

/* ---------- reveal animation (progressive enhancement: hidden only when JS is on) ---------- */
.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .grid-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  body { scroll-padding-top: 88px; }
  .hamburger { display: none; }
  .nav-mobile { display: none; }
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.9rem;
  }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .why-list { grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
  .why-inner .section-head { max-width: 62ch; }
}

@media (min-width: 1024px) {
  body { font-size: 18px; }
  .header-inner { min-height: 76px; }
  .grid-gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .g-wide { grid-column: span 2; }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .footer-meta { align-items: flex-end; text-align: right; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; }
  .hero-glow { animation: none; }
}
