:root {
  --bg: #3b3b3b;
  --bg-soft: #444;
  --surface: #2f2f2f;
  --surface-2: #383838;
  --text: #cfcfcf;
  --muted: #a4a4a4;
  --white: #fff;
  --lime: #64fe2e;
  --amber: #faac58;
  --orange: #c26306;
  --red: #b80707;
  --line: rgba(250, 172, 88, 0.22);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Century Gothic", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(100, 254, 46, 0.06), transparent 30%),
    linear-gradient(180deg, #404040 0%, var(--bg) 22%, #262626 100%);
  color: var(--text);
}

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

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: var(--red);
}

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(35, 35, 35, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand span {
  color: var(--lime);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--white);
  font-size: 0.98rem;
}

.site-nav a:hover {
  color: var(--amber);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: center;
  overflow: clip;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  width:100%;
}
.hero img.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Riempie tutto il box tagliando le parti in eccesso */
  object-position: center; /* Centra l'immagine nel box */
}

.hero-banner,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-banner {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) brightness(0.48);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.88) 0%, rgba(20, 20, 20, 0.72) 42%, rgba(20, 20, 20, 0.45) 100%),
    linear-gradient(180deg, rgba(100, 254, 46, 0.06), rgba(250, 172, 88, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 380px);
  gap: 44px;
  align-items: center;
  padding: 120px 0 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  color: var(--amber);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.16);
}

.hero-copy p {
  max-width: 70ch;
  line-height: 1.8;
  color: #d6d6d6;
}

.hero-copy span {
  color: var(--amber);
}

.lead {
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--lime);
  color: #152100;
  box-shadow: 0 16px 28px rgba(100, 254, 46, 0.25);
}

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

.hero-side {
  justify-self: end;
  width: min(100%, 360px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(250, 235, 215, 0.32);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.cta-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.card,
.cta-card,
.portfolio-card {
  background: linear-gradient(180deg, rgba(63, 63, 63, 0.92), rgba(38, 38, 38, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-card {
  padding: 28px 24px 22px;
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 14px;
}

.cta-card h2 {
  margin: 0;
  color: #efe3c1;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.15;
}

.cta-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.cta-card a {
  color: #a6ff80;
  font-weight: 700;
}

.cta-card img {
  margin-top: 4px;
  width: 64px;
}

.section {
  padding: 96px 0 0;
}

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

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.about-copy,
.partner,
.contact-form,
.contact-info,
.shop-strip {
  padding: 28px;
}

.about-copy p,
.partner p,
.contact-info p {
  line-height: 1.8;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.about-intro ul,
.partner ul {
  margin: 0;
  padding-left: 18px;
}

.about-intro li,
.partner li {
  margin-bottom: 12px;
  line-height: 1.65;
}

.partner h3,
.portfolio-body h3 {
  margin-top: 0;
  color: var(--amber);
}

.skills-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.skills-strip span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(250, 172, 88, 0.1);
  border: 1px solid rgba(250, 172, 88, 0.22);
  color: var(--amber);
}

.banner-link {
  display: block;
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 172, 88, 0.24);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #181818;
}

.portfolio-body {
  padding: 18px;
}

.portfolio-body h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.portfolio-body p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.6;
}

.brand-card .portfolio-body p:first-of-type {
  color: var(--lime);
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 14px 16px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.submit-image {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px 10px 10px;
  background: rgba(100, 254, 46, 0.12);
  color: var(--white);
  cursor: pointer;
}

.submit-image img {
  width: 60px;
  height: auto;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-banner {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
}

.shop-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.shop-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f8f8f8;
  border: 2px solid #cc6633;
  border-radius: 18px;
  padding: 12px;
}

.shop-strip p {
  margin: 20px 0 0;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
}

.site-footer {
  margin-top: 96px;
  padding: 36px 0 42px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0), rgba(20, 20, 20, 0.6));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  text-align: center;
}

.footer-inner img {
  margin: 0 auto 18px;
}

.footer-inner p {
  margin: 8px 0;
  color: var(--muted);
}

.lightbox {
  width: min(92vw, 1080px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 22px;
  background: rgba(22, 22, 22, 0.96);
  color: var(--white);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 16px;
}

.lightbox p {
  margin: 16px 0 0;
  color: var(--amber);
  font-size: 1.1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.7rem;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .hero-content,
  .about-grid,
  .contact-grid,
  .shop-gallery {
    grid-template-columns: 1fr;
  }

  .cta-panels,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-side {
    justify-self: start;
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(32, 32, 32, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav a:first-child {
    border-top: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 110px 0 48px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .cta-panels,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 72px;
  }

  .shop-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
