@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Jost:wght@200;300;400;500;600&display=swap");

:root {
  --nero: #070707;
  --nero-2: #0d0d0d;
  --nero-3: #141414;
  --oro: #c9a227;
  --oro-chiaro: #f0d98c;
  --oro-scuro: #8a6d12;
  --oro-grad: linear-gradient(135deg, #8a6d12 0%, #c9a227 22%, #f6e3a8 48%, #c9a227 72%, #7a5f10 100%);
  --oro-testo: linear-gradient(180deg, #fbf1cf 0%, #e8cd7d 45%, #b78f1c 100%);
  --testo: #e9e4da;
  --testo-dim: #9a948a;
  --linea: rgba(201, 162, 39, 0.22);
  --bordo: rgba(255, 255, 255, 0.07);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--nero);
  color: var(--testo);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
}

::selection {
  background: var(--oro);
  color: #000;
}

/* ---------- decorazioni oro ---------- */

.oro-testo {
  background: var(--oro-testo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.oro-bordo {
  border: 1px solid var(--linea);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--oro);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.wafer {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--oro);
  opacity: 0.75;
}

.wafer::before,
.wafer::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--linea), transparent);
}

.wafer--short {
  max-width: 220px;
}

/* ---------- bottoni ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 34px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid var(--oro);
  color: var(--oro-chiaro);
  background: transparent;
  cursor: pointer;
  transition: color 0.45s var(--ease), background 0.45s var(--ease),
    box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}

.btn:hover {
  color: #0a0a0a;
  background: var(--oro-grad);
  box-shadow: 0 12px 34px -14px rgba(201, 162, 39, 0.75);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--bordo);
  color: var(--testo-dim);
}

.btn--ghost:hover {
  border-color: var(--oro);
  color: #0a0a0a;
  background: var(--oro-grad);
}

.btn--fill {
  color: #0a0a0a;
  background: var(--oro-grad);
  border-color: transparent;
}

.btn--fill:hover {
  background: var(--oro-chiaro);
}

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 26px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  padding: 14px 0;
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--bordo);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.44em;
  margin-right: -0.44em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--testo-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.35s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--oro);
  transition: width 0.4s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--oro-chiaro);
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--linea);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: var(--oro);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 25px; }

.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 0 110px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(46% 40% at 50% 34%, rgba(201, 162, 39, 0.17), transparent 68%),
    radial-gradient(28% 24% at 82% 68%, rgba(201, 162, 39, 0.09), transparent 70%);
  pointer-events: none;
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero__rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(880px, 108vw);
  aspect-ratio: 1;
  transform: translate(-50%, -52%);
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.13);
  pointer-events: none;
}

.hero__rings::before,
.hero__rings::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.08);
}

.hero__rings::after {
  inset: 18%;
  border-color: rgba(201, 162, 39, 0.05);
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__mark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 15.5vw, 12.5rem);
  line-height: 0.94;
  letter-spacing: 0.06em;
  margin: 22px 0 0;
}

.hero__mark span {
  display: inline-block;
  background: linear-gradient(180deg, #fdf6dd 0%, #e6c877 40%, #c9a227 62%, #8a6d12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 26px rgba(201, 162, 39, 0.22));
}

.hero__concept {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 3.1vw, 2.05rem);
  letter-spacing: 0.14em;
  color: var(--testo);
  margin: 30px 0 0;
}

.hero__sub {
  max-width: 620px;
  margin: 26px auto 0;
  color: var(--testo-dim);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}

.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--testo-dim);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll i {
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, var(--oro), transparent);
  animation: drop 2.4s var(--ease) infinite;
}

@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- sezioni ---------- */

.section {
  position: relative;
  padding: 120px 0;
}

.section--lined {
  border-top: 1px solid var(--bordo);
  border-bottom: 1px solid var(--bordo);
}

.section__head {
  text-align: center;
  margin-bottom: 64px;
}

.section__title {
  font-size: clamp(2.1rem, 5.2vw, 3.7rem);
  line-height: 1.08;
  margin: 20px 0 0;
}


/* ---------- anteprima prodotto ---------- */

.preview {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 0;
  border: 1px solid var(--linea);
  background: linear-gradient(150deg, var(--nero-2), #000 60%);
  overflow: hidden;
  transition: box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.preview:hover {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 40px 90px -50px rgba(201, 162, 39, 0.8);
}

.preview__media {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.preview__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.preview:hover .preview__media img {
  transform: scale(1.06);
}

.preview__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--oro-grad);
}

.preview__body {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.preview__title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin: 18px 0 6px;
}

.preview__brand {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--oro);
}

.preview__desc {
  color: var(--testo-dim);
  margin: 24px 0 0;
  font-size: 0.95rem;
}

.preview__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 34px;
}

.chip {
  padding: 7px 14px;
  border: 1px solid var(--bordo);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--testo-dim);
}

.chip--oro {
  border-color: var(--linea);
  color: var(--oro-chiaro);
}

.preview__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.preview__arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oro-chiaro);
  transition: gap 0.4s var(--ease);
}

.preview:hover .preview__arrow {
  gap: 20px;
}

/* ---------- pagina prodotto ---------- */

.page {
  padding-top: 150px;
  padding-bottom: 40px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--testo-dim);
  margin-bottom: 46px;
  flex-wrap: wrap;
}

.crumbs a:hover {
  color: var(--oro-chiaro);
}

.crumbs i {
  font-style: normal;
  color: var(--oro);
  opacity: 0.6;
}

.pdp {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 76px;
  align-items: start;
}

.gallery__main {
  position: relative;
  border: 1px solid var(--bordo);
  background: #0a0a0a;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1400 / 1111;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), opacity 0.4s;
}

.gallery__main:hover img {
  transform: scale(1.05);
}

.gallery__zoom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oro-chiaro);
  background: rgba(7, 7, 7, 0.82);
  border: 1px solid var(--linea);
  backdrop-filter: blur(6px);
}

.gallery__counter {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 13px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--testo-dim);
  background: rgba(7, 7, 7, 0.72);
  border: 1px solid var(--bordo);
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.thumb {
  position: relative;
  padding: 0;
  border: 1px solid var(--bordo);
  background: #0a0a0a;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: opacity 0.35s var(--ease);
}

.thumb:hover img {
  opacity: 0.95;
}

.thumb.is-active {
  border-color: var(--oro);
}

.thumb.is-active img {
  opacity: 1;
}

.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.35s;
}

.thumb.is-active::after {
  border-color: rgba(201, 162, 39, 0.45);
}

.pdp__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pdp__title {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  line-height: 1.02;
  margin: 20px 0 10px;
}

.pdp__info {
  min-width: 0;
}

.pdp__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--oro-chiaro);
  margin: 0;
}

/* ---------- riga di dettagli (una sola riga) ---------- */

.riga {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin: 28px 0 0;
  padding: 16px 0;
  list-style: none;
  border-top: 1px solid var(--bordo);
  border-bottom: 1px solid var(--bordo);
}

.riga__i {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--testo);
}

.riga__i + .riga__i::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 18px;
  transform: rotate(45deg);
  background: var(--oro);
  opacity: 0.75;
}

.riga__i span {
  color: var(--oro);
  font-size: 0.72rem;
  line-height: 1;
}

.data-prodotto {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--testo-dim);
}

.data-prodotto span {
  color: var(--oro);
  font-size: 0.5rem;
}

.data-prodotto time {
  color: var(--oro-chiaro);
}

.pdp__desc {
  color: var(--testo-dim);
  margin: 28px 0 0;
}


.pdp__desc strong {
  color: var(--testo);
  font-weight: 400;
}

.pdp__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0 0;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 34px 0 0;
  font-size: 0.88rem;
}

.specs caption {
  text-align: left;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--oro);
  padding-bottom: 14px;
}

.specs th,
.specs td {
  padding: 13px 4px;
  border-bottom: 1px solid var(--bordo);
  text-align: left;
  vertical-align: top;
}

.specs th {
  font-weight: 400;
  color: var(--testo-dim);
  width: 44%;
  letter-spacing: 0.04em;
}

.specs td {
  color: var(--testo);
}


/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__frame {
  position: relative;
  max-width: min(1180px, 94vw);
  max-height: 86vh;
  animation: zoomIn 0.5s var(--ease);
}

.lightbox__frame img {
  max-height: 86vh;
  width: auto;
  max-width: 100%;
  border: 1px solid var(--linea);
  background: #0a0a0a;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  color: var(--testo-dim);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.lightbox__nav {
  display: flex;
  gap: 10px;
}

.lb-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--linea);
  background: transparent;
  color: var(--oro-chiaro);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.lb-btn:hover {
  background: var(--oro);
  color: #000;
}

.lb-close {
  position: fixed;
  top: 26px;
  right: 26px;
}

/* ---------- cta finale ---------- */

.final {
  text-align: center;
}

.final__title {
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  line-height: 1.05;
  margin: 22px 0 0;
}

.final__text {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--testo-dim);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--bordo);
  padding: 66px 0 34px;
  background: #050505;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--bordo);
}

.footer__concept {
  font-family: var(--serif);
  font-style: italic;
  color: var(--testo-dim);
  margin: 10px 0 0;
  font-size: 0.98rem;
}

.footer__links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--testo-dim);
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--oro-chiaro);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5f5a52;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll i { animation: none; }
  .lightbox__frame { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .pdp { grid-template-columns: 1fr; gap: 46px; }
  .preview { grid-template-columns: 1fr; }
  .preview__body { padding: 44px 34px; }
  .preview__media img { min-height: 320px; }
}

@media (max-width: 860px) {
  .container { padding: 0 22px; }
  .section { padding: 84px 0; }
  .burger { display: block; }

  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    padding: 108px 30px 44px;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    background: rgba(7, 7, 7, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--linea);
    transform: translateY(-102%);
    transition: transform 0.5s var(--ease);
    z-index: -1;
  }

  .nav.is-open { transform: none; }
  .nav a { font-size: 0.82rem; }
  .page { padding-top: 122px; }
}

@media (max-width: 560px) {
  .preview__body { padding: 36px 24px; }
  .riga {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .riga::-webkit-scrollbar { display: none; }
  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .lightbox { padding: 20px; }
  .lb-close { top: 14px; right: 14px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}
