@font-face {
  font-family: 'Alice';
  src: url('font/Alice.ttf') format('truetype');
}

@font-face {
  font-family: 'amster';
  src: url('font/amster.ttf') format('truetype');
}

@font-face {
  font-family: 'Bodonibold';
  src: url('font/BodoniFLF-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'bodoniroman';
  src: url('font/BodoniFLF-Roman.ttf') format('truetype');
}

@font-face {
  font-family: 'PL';
  src: url('font/Pl.ttf') format('truetype');
}

@font-face {
  font-family: 'Didot';
  src: url('font/Didot.otf') format('opentype');
}

@font-face {
  font-family: 'DidotDisplayLP';
  src: url('font/DidotDisplay.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppinsbold';
  src: url('font/Poppins-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'PoppinsSemiBold';
  src: url('font/Poppins-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Zing';
  src: url('font/Zing.ttf') format('truetype');
}

:root {
  --rosso: #bd1212;
  --bianco: #ffffff;
  --nero: #000000;
  --container-max: 1400px;
  --header-height: 80px;
}

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

body {
  background-color: #ffffff;
  color: #000000;
}

/* ================================================================== */
/* HEADER NON FISSO (SCOMPARE QUANDO SCORRI GIÙ)
================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bianco);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  padding: 0 clamp(20px, 5vw, 40px);
  height: 100%;
}

.logo {
  font-family: 'Didot', serif;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--nero);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.nav-links a {
  font-family: 'Zing', serif;
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nero);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.nav-cta-header {
  background-color: var(--rosso);
  color: #ffffff !important;
  padding: 8px 18px;
  border: 1px solid var(--rosso);
  font-family: 'Zing', serif;
  transition: all 0.3s ease;
}

.nav-cta-header:hover {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff !important;
}

/* HERO SECTION */
.hero {
  width: 100vw;
  height: 700px;
  margin-top: var(--header-height);
  background: url('mgE/bb.avif') center center / 40% no-repeat;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  align-content: end;
}

.hero h1 {
  font-family: Didot, serif;
  font-size: 110px;
  font-weight: 300;
  letter-spacing: 8px;
}

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

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 70px;
}

.mini {
  font-family: Poppinsbold, sans-serif;
  letter-spacing: 4px;
  font-size: 14px;
  color: var(--rosso);
  margin-bottom: 15px;
}

.intro h1 {
  font-family: Didot, serif;
  font-size: 65px;
  font-weight: 300;
  letter-spacing: 7px;
  margin-bottom: 25px;
}

.desc {
  font-family: Didot, serif;
  font-size: 24px;
  max-width: 850px;
  margin: auto;
  line-height: 1.6;
}

.timeline {
  padding: 0 10% 120px;
  max-width: 1100px;
  margin: auto;
}

.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  margin-bottom: 70px;
}

.num {
  font-family: Zing, sans-serif;
  font-size: 58px;
  color: var(--rosso);
}

.txt h3 {
  font-family: Didot, serif;
  font-size: 32px;
  margin-bottom: 15px;
}

.txt p {
  font-family: Didot, serif;
  font-size: 22px;
  line-height: 1.7;
}

.faq-section {
  padding: 120px 8%;
  background: #fafafa;
}

.faq-title {
  text-align: center;
  font-family: Didot, serif;
  font-size: 70px;
  font-weight: 300;
  margin-bottom: 70px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.faq-box {
  padding: 35px;
  background: white;
  border: 1px solid #eee;
  min-height: 220px;
}

.faq-box h3 {
  font-family: Didot, serif;
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--rosso);
}

.faq-box p {
  font-family: Didot, serif;
  font-size: 20px;
  line-height: 1.6;
}

.cta {
  padding: 120px 20px;
  text-align: center;
}

.cta a {
  font-family: Zing, sans-serif;
  font-size: 34px;
  text-decoration: none;
  color: black;
  letter-spacing: 4px;
  transition: color 0.3s ease;
}

.cta a:hover {
  color: var(--rosso);
}


/* RESPONSIVE DESIGN */
@media (max-width: 767px) {
  :root {
    --header-height: 70px;
  }

  .logo {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
  }

  .nav-cta-header {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    width: 100%;
    height: 300px;
    background: url('mgE/bb.png') center center / 80% no-repeat;
  }

  .hero h1 {
    font-size: 52px;
    letter-spacing: 3px;
    text-align: center;
    padding: 0 10px;
  }

  .intro {
    margin: 40px 20px;
  }

  .mini {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }

  .intro h1 {
    font-size: 38px;
    letter-spacing: 2px;
    margin-bottom: 18px;
  }

  .desc {
    font-size: 16px;
    line-height: 1.5;
    max-width: 100%;
  }

  .timeline {
    padding: 0 20px 70px;
  }

  .step {
    grid-template-columns: 45px 1fr;
    gap: 14px;
    margin-bottom: 45px;
  }

  .num {
    font-size: 28px;
  }

  .txt h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .txt p {
    font-size: 15px;
    line-height: 1.5;
  }

  .faq-section {
    padding: 70px 20px;
  }

  .faq-title {
    font-size: 34px;
    margin-bottom: 35px;
  }

  .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .faq-box {
    padding: 18px;
    min-height: auto;
  }

  .faq-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .faq-box p {
    font-size: 14px;
    line-height: 1.5;
  }

  .cta {
    padding: 70px 20px;
  }

  .cta a {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin: 40px 0 0;
    padding: 30px 20px;
  }

  .footer a {
    font-size: 18px;
    text-align: center;
  }
}