:root {
    --gold: #b8972e;
    --gold-light: #d4b55a;
    --gold-pale: #f0e6c0;
    --black: #0d0d0d;
    --anthracite: #1e1e1e;
    --dark: #141414;
    --mid: #2a2a2a;
    --light-text: #a0a0a0;
    --white: #f5f3ee;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 5vw;
    transition: background 0.4s, backdrop-filter 0.4s;
  }
  nav.scrolled {
    background: rgba(13,13,13,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184,151,46,0.15);
  }
  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--white);
    text-decoration: none;
    line-height: 1;
  }
  .nav-logo span { color: var(--gold); }
  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }
  .nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
  }
  .nav-links a:hover { color: var(--gold-light); }
  .nav-cta {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.55rem 1.4rem;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
  }
  .nav-cta:hover { background: var(--gold); color: var(--black); }

  /* ── HERO ── */
  #hero {
    height: 100vh;
    min-height: 640px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% 60%, rgba(184,151,46,0.07) 0%, transparent 70%),
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 79px,
        rgba(184,151,46,0.04) 79px,
        rgba(184,151,46,0.04) 80px
      ),
      repeating-linear-gradient(
        90deg,
        transparent,
        transparent 79px,
        rgba(184,151,46,0.04) 79px,
        rgba(184,151,46,0.04) 80px
      ),
      var(--black);
  }
  .hero-line {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: lineDown 2s ease-out 1.2s both;
  }
  @keyframes lineDown {
    from { height: 0; opacity: 0; }
    to   { height: 80px; opacity: 1; }
  }
  .hero-content {
    text-align: center;
    position: relative;
    padding: 0 2rem;
    animation: fadeUp 1s ease-out 0.3s both;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hero-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.8rem;
    animation: fadeUp 1s ease-out 0.5s both;
  }
  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 300;
    line-height: 1.0;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 1.2rem;
    animation: fadeUp 1s ease-out 0.7s both;
  }
  .hero-title em {
    font-style: italic;
    color: var(--gold-light);
  }
  .hero-sub {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--light-text);
    margin-bottom: 3rem;
    animation: fadeUp 1s ease-out 0.9s both;
  }
  .hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeUp 1s ease-out 1s both;
  }
  .hero-divider::before, .hero-divider::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: rgba(184,151,46,0.4);
  }
  .hero-divider span {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
  }
  .hero-cta {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--gold);
    padding: 1rem 2.8rem;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    animation: fadeUp 1s ease-out 1.1s both;
  }
  .hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); }
  .hero-years {
    position: absolute;
    bottom: 3rem; right: 5vw;
    text-align: right;
    animation: fadeUp 1s ease-out 1.3s both;
  }
  .hero-years strong {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
  }
  .hero-years span {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-text);
  }

  /* ── SECTION SHARED ── */
  section { padding: 7rem 5vw; }
  .section-label {
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
  }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 2rem;
  }
  .section-title em { font-style: italic; color: var(--gold-light); }
  .gold-rule {
    width: 50px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 2.5rem;
  }
  .body-text {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--light-text);
    max-width: 560px;
  }

  /* ── CHI SIAMO ── */
  #chi-siamo {
    background: var(--anthracite);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
  .chi-visual {
    position: relative;
  }
  .chi-frame {
    width: 100%;
    aspect-ratio: 4/5;
    border: 1px solid rgba(184,151,46,0.2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--mid);
  }
  .chi-frame-inner {
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(184,151,46,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }
  .laser-icon {
    width: 80px;
    height: 80px;
    opacity: 0.15;
  }
  .chi-badge {
    position: absolute;
    bottom: -1.5rem; right: -1.5rem;
    width: 120px;
    height: 120px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--dark);
    text-align: center;
  }
  .chi-badge strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
  }
  .chi-badge span {
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--light-text);
    line-height: 1.4;
  }

  /* ── SERVIZI ── */
  #servizi { background: var(--black); }
  .servizi-header { margin-bottom: 4rem; }
  .servizi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5px;
    background: rgba(184,151,46,0.12);
  }
  .servizio-card {
    background: var(--anthracite);
    padding: 3rem 2.5rem;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
  }
  .servizio-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height 0.4s;
  }
  .servizio-card:hover { background: var(--mid); }
  .servizio-card:hover::before { height: 100%; }
  .servizio-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: rgba(184,151,46,0.12);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
  }
  .servizio-card:hover .servizio-num { color: rgba(184,151,46,0.25); }
  .servizio-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1rem;
  }
  .servizio-sub {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
  }
  .servizio-text {
    font-size: 0.82rem;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 1.5rem;
  }
  .servizio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .tag {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(184,151,46,0.3);
    padding: 0.3rem 0.8rem;
  }

  /* ── TECNOLOGIA ── */
  #tecnologia {
    background: var(--anthracite);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }
  .tech-list {
    list-style: none;
    margin-top: 2rem;
  }
  .tech-list li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(184,151,46,0.1);
    font-size: 0.85rem;
    color: var(--light-text);
    letter-spacing: 0.04em;
  }
  .tech-list li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--gold);
    flex-shrink: 0;
  }
  .perche-list {
    list-style: none;
    margin-top: 2rem;
  }
  .perche-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .perche-list li span.check {
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
  }
  .perche-list li p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--light-text);
  }
  .perche-list li strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.2rem;
    letter-spacing: 0.04em;
  }

  /* ── PREMIAZIONI ── */
  #premiazioni { background: var(--black); }
  .premi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: rgba(184,151,46,0.12);
    margin-top: 3.5rem;
  }
  .premi-item {
    background: var(--anthracite);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: background 0.3s;
  }
  .premi-item:hover { background: var(--mid); }
  .premi-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    filter: sepia(1) saturate(2) hue-rotate(5deg) brightness(0.8);
  }
  .premi-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white);
  }

  /* ── CTA FINALE ── */
  #contatti {
    background: var(--anthracite);
    text-align: center;
    padding: 9rem 5vw;
  }
  #contatti .section-title {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
  }
  #contatti .body-text {
    max-width: 520px;
    margin: 0 auto 3.5rem;
    text-align: center;
  }
  .cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .btn-primary {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--gold);
    padding: 1rem 2.8rem;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
  .btn-outline {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 1rem 2.8rem;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
  }
  .btn-outline:hover { background: var(--gold); color: var(--black); }

  /* ── FOOTER ── */
  footer {
    background: var(--dark);
    border-top: 1px solid rgba(184,151,46,0.15);
    padding: 2.5rem 5vw;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
  }
  .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
  }
  .footer-logo span { color: var(--gold); }
  .footer-center { text-align: center; }
  .footer-company {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
  }
  .footer-address {
    font-size: 0.68rem;
    color: rgba(160,160,160,0.6);
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
  }
  .footer-contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
  }
  .footer-contacts a {
    font-size: 0.68rem;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.3s;
  }
  .footer-contacts a:hover { color: var(--gold-light); }
  .footer-contacts span {
    font-size: 0.68rem;
    color: rgba(160,160,160,0.3);
  }
  .footer-copy {
    font-size: 0.65rem;
    color: rgba(160,160,160,0.4);
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  /* ── SCROLL REVEAL ── */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    nav { padding: 1.2rem 4vw; }
    .nav-links { display: none; }
    #chi-siamo { grid-template-columns: 1fr; gap: 3rem; }
    #tecnologia { grid-template-columns: 1fr; gap: 3rem; }
    .chi-badge { right: 0; }
    .hero-years { display: none; }
  }