:root {
  --black: #030303;
  --dark: #090909;
  --panel: #111111;
  --gold: #f2c300;
  --gold-dark: #b88900;
  --white: #f5f5f5;
  --muted: #b8b8b8;
  --line: rgba(242, 195, 0, .28);
  --radius: 26px;
  --shadow: 0 20px 70px rgba(0, 0, 0, .55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  width: min(1180px, calc(100% - 28px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 210px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-links a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--gold);
}

.hero {
  min-height: 100vh;
  padding-top: 150px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 195, 0, .2), transparent 65%);
  top: 24%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero-logo {
  width: min(760px, 100%);
  margin: 0 auto 28px;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

h1, h2, h3 {
  line-height: 1.1;
}

h1 {
  font-size: clamp(42px, 7vw, 82px);
  max-width: 980px;
  margin: 0 auto;
}

h2 {
  font-size: clamp(32px, 5vw, 54px);
  max-width: 780px;
}

h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.hero-text, .section-text {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
  margin: 24px auto 0;
}

.hero-actions, .contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .4px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #070707;
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, .03);
}

.section-heading {
  margin-bottom: 34px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.card, .steps-box, .contact-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 28px;
  min-height: 255px;
}

.card-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 800;
}

.card p, .footer p, .legal-data p {
  color: var(--muted);
}

.catalog-cta-section {
  padding: 70px 0;
}

.catalog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(circle at 92% 50%, rgba(242, 195, 0, .18), transparent 32%), linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow);
}

.catalog-cta h2 { max-width: 650px; }
.catalog-cta p:not(.eyebrow) { max-width: 590px; margin-top: 18px; color: var(--muted); font-size: 17px; }
.catalog-cta .btn { flex: 0 0 auto; }
.catalog-cta .btn span { margin-left: 10px; font-size: 22px; line-height: 0; }

.split-section {
  background: radial-gradient(circle at top left, rgba(242, 195, 0, .1), transparent 36%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.split-grid .section-text {
  margin-left: 0;
}

.split-grid .hero-actions, .split-grid .contact-actions {
  justify-content: flex-start;
}

.steps-box {
  padding: 24px;
}

.step {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 0;
}

.step span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--gold);
  color: #070707;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.step p {
  color: var(--white);
  font-size: 18px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: center;
  padding: 42px;
}

.contact-panel img {
  border-radius: 50%;
}

.contact-panel .section-text {
  margin-left: 0;
}

.contact-panel .contact-actions {
  justify-content: flex-start;
}

.footer {
  padding: 62px 0 28px;
  border-top: 1px solid var(--line);
  background: #000;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr .7fr;
  gap: 38px;
}

.footer-logo {
  width: 260px;
  margin-bottom: 18px;
}

.legal-data {
  display: grid;
  gap: 7px;
}

.legal-data strong {
  color: var(--white);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 12px;
  color: var(--gold);
}

.copyright {
  width: min(1120px, calc(100% - 32px));
  margin: 42px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #050505;
  font-weight: 900;
  box-shadow: 0 12px 35px rgba(242, 195, 0, .22);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 120;
  width: min(420px, calc(100% - 40px));
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow);
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 14px;
}

.cookie-banner button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  background: var(--gold);
  color: #050505;
  cursor: pointer;
}

.policy-page {
  padding-top: 130px;
}

.policy-content {
  max-width: 850px;
}

.policy-content h1 {
  font-size: clamp(38px, 6vw, 64px);
  margin-bottom: 24px;
}

.policy-content h2 {
  font-size: 26px;
  margin: 38px 0 12px;
}

.policy-content p, .policy-content li {
  color: var(--muted);
  margin-bottom: 12px;
}

.policy-content ul {
  padding-left: 20px;
}

@media (max-width: 1020px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid, .contact-panel, .footer-grid {
    grid-template-columns: 1fr;
  }

  .catalog-cta { align-items: flex-start; }

  .contact-panel img {
    width: 220px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }

  .navbar {
    min-height: 68px;
  }

  .brand img {
    width: 160px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(0, 0, 0, .96);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero-logo {
    margin-bottom: 16px;
  }

  .hero-text, .section-text {
    font-size: 16px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .contact-panel {
    padding: 26px;
  }

  .catalog-cta { flex-direction: column; gap: 24px; }
  .catalog-cta .btn { width: 100%; }

  .hero-actions, .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }

  .cookie-banner {
    left: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    flex-direction: column;
    align-items: stretch;
  }
}

.site-header.compact {
  background: rgba(0, 0, 0, .92);
  box-shadow: 0 14px 45px rgba(0, 0, 0, .45);
}

.site-header.compact .navbar {
  min-height: 56px;
}

.site-header.compact .brand img {
  width: 160px;
}

.site-header, .navbar, .brand img {
  transition: min-height .25s ease, width .25s ease, background .25s ease, box-shadow .25s ease;
}

.nav-links a {
  position: relative;
  transition: color .2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
}

.hero-lines {
  position: absolute;
  inset: 0;
  opacity: .32;
  background:
    linear-gradient(90deg, transparent 0%, rgba(242, 195, 0, .18) 50%, transparent 100%),
    radial-gradient(circle at 20% 30%, rgba(242, 195, 0, .08), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(242, 195, 0, .07), transparent 24%);
  animation: drift 9s ease-in-out infinite alternate;
}

.hero-logo {
  animation: fadeUp .7s ease both;
}

.hero .eyebrow {
  animation: fadeUp .7s ease .08s both;
}

.hero h1 {
  animation: fadeUp .7s ease .16s both;
}

.hero-text {
  animation: fadeUp .7s ease .24s both;
}

.hero-actions {
  animation: fadeUp .7s ease .32s both;
}

.card, .steps-box, .contact-panel {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.card:hover, .steps-box:hover, .contact-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 195, 0, .62);
  box-shadow: 0 24px 80px rgba(242, 195, 0, .10), var(--shadow);
}

.card-icon, .step span, .whatsapp-float {
  transition: transform .25s ease;
}

.card:hover .card-icon, .step:hover span, .whatsapp-float:hover {
  transform: scale(1.08) rotate(-3deg);
}

.pulse {
  animation: softPulse 2.4s ease-in-out infinite;
}

.reveal, .reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible, .reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.cards-grid .reveal-item:nth-child(2) { transition-delay: .06s; }
.cards-grid .reveal-item:nth-child(3) { transition-delay: .12s; }
.cards-grid .reveal-item:nth-child(4) { transition-delay: .18s; }
.cards-grid .reveal-item:nth-child(5) { transition-delay: .24s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drift {
  from { transform: translate3d(-18px, -10px, 0) scale(1); }
  to { transform: translate3d(18px, 10px, 0) scale(1.04); }
}

@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 195, 0, .22); }
  50% { box-shadow: 0 0 0 8px rgba(242, 195, 0, 0); }
}

@media (max-width: 760px) {
  .site-header.compact .navbar {
    min-height: 58px;
  }

  .site-header.compact .brand img {
    width: 145px;
  }

  .nav-links a::after {
    display: none;
  }
}

.navbar {
  min-height: 64px;
}

.brand img {
  width: 185px;
}

.hero {
  padding-top: 128px;
}

/* Catalogo prodotti */
.catalog-page {
  min-height: 100vh;
}

.catalog-main, .product-main {
  padding-top: 64px;
}

.catalog-hero {
  padding: 82px 0 52px;
  background: radial-gradient(circle at 70% 0%, rgba(242, 195, 0, .16), transparent 38%);
  border-bottom: 1px solid var(--line);
}

.catalog-hero h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.catalog-hero .section-text {
  margin-left: 0;
}

.catalog-section {
  padding: 44px 0 96px;
}

.catalog-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(210px, .45fr) auto;
  gap: 12px;
  align-items: stretch;
}

.search-field, .select-field {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
}

.search-field span, .select-field span {
  color: var(--gold);
  font-weight: 800;
}

.search-field input, .select-field select {
  width: 100%;
  color: var(--white);
  font: inherit;
  background: transparent;
  border: 0;
  outline: 0;
}

.select-field {
  position: relative;
  padding-right: 44px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.select-field::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}

.select-field:focus-within {
  border-color: var(--gold);
  background: rgba(242, 195, 0, .07);
  box-shadow: 0 0 0 4px rgba(242, 195, 0, .12);
}

.select-field:focus-within::after {
  transform: translateY(-30%) rotate(225deg);
}

.select-field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-weight: 700;
}

.select-field select:focus { outline: none; }

.select-field select option {
  background: #111;
  color: var(--white);
  font-weight: 700;
}

.filter-reset {
  min-height: 56px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter-reset:hover { border-color: var(--gold); color: var(--gold); }

.catalog-count { margin: 26px 0 17px; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow);
  transform: scale(1) translateY(0);
  opacity: 1;
  transition: opacity .3s ease, transform .3s ease, max-height .35s ease, margin .35s ease, border-width .35s ease;
}

.product-card:hover { transform: translateY(-5px); border-color: rgba(242, 195, 0, .65); }

.product-card.is-filtered-out {
  opacity: 0;
  transform: scale(.94);
  max-height: 0;
  overflow: hidden;
  margin: -10px;
  border-width: 0;
  pointer-events: none;
}

.product-image { aspect-ratio: 4 / 3; background: #171717; overflow: hidden; }
.product-image img, .product-detail-image img { width: 100%; height: 100%; object-fit: cover; }

.product-card-content { padding: 20px; }
.product-category { color: var(--gold); text-transform: uppercase; letter-spacing: 1.1px; font-size: 11px; font-weight: 800; }
.product-card h2 { margin: 7px 0 5px; font-size: 23px; }
.product-code { color: var(--muted); font-size: 14px; }
.product-price, .detail-price { margin-top: 16px; color: var(--gold); font-size: 24px; font-weight: 900; }
.product-link { display: flex; justify-content: space-between; margin-top: 16px; color: var(--white); font-size: 14px; font-weight: 800; }
.product-link b { color: var(--gold); font-size: 20px; line-height: .8; }

.empty-results { padding: 70px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); }
.empty-results .btn { margin-top: 18px; }

.product-main { padding-bottom: 96px; }
.back-link { display: inline-flex; margin: 38px 0 22px; color: var(--gold); font-weight: 800; }
.back-link:hover { color: var(--white); }

.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); box-shadow: var(--shadow); }
.product-detail-image { min-height: 520px; background: #161616; }
.product-detail-info { padding: clamp(28px, 5vw, 58px); }
.product-detail-info h1 { font-size: clamp(36px, 4vw, 56px); }
.detail-price { font-size: 34px; margin: 25px 0; }
.product-description { margin: 26px 0 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.product-description h2 { font-size: 21px; margin-bottom: 10px; }
.product-description p, .not-found p { color: var(--muted); }
.product-whatsapp { width: 100%; }
.not-found { padding: 70px 0; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail-image { min-height: 390px; max-height: 540px; }
}

@media (max-width: 760px) {
  .navbar {
    min-height: 62px;
  }

  .brand img {
    width: 150px;
  }

  .nav-links {
    top: 68px;
  }

  .hero {
    padding-top: 112px;
  }

  .catalog-main, .product-main { padding-top: 62px; }
  .catalog-hero { padding: 58px 0 35px; }
  .catalog-filters { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card.is-filtered-out { margin: -10px 0; }
  .product-detail-image { min-height: 280px; }
  .product-detail-info { padding: 26px; }
}
