.istruzioni-page {
  padding-top: 90px;
}

.istruzioni-hero-section {
  position: relative;
  padding: 70px 0 40px;
  overflow: hidden;
}

.istruzioni-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(205, 127, 50, 0.08), transparent 55%);
  pointer-events: none;
}

.istruzioni-hero-bg-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(7rem, 22vw, 16rem);
  font-weight: 700;
  color: rgba(205, 127, 50, 0.05);
  letter-spacing: 0.08em;
  pointer-events: none;
  user-select: none;
}

.istruzioni-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.istruzioni-eyebrow,
.section-kicker {
  display: inline-block;
  color: var(--bronze);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.istruzioni-hero-inner h1,
.section-heading h2,
.istruzioni-panel h2,
.istruzioni-closing h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 22px;
}

.istruzioni-hero-inner p,
.istruzioni-text-narrow p,
.istruzioni-panel p,
.istruzioni-closing p,
.timeline-card p,
.section-subtitle,
.istruzioni-quote p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  font-weight: 300;
}

.istruzioni-intro {
  font-size: 1.15rem;
  color: white !important;
}

.istruzioni-section {
  padding: 55px 0;
}

.istruzioni-block {
  max-width: 900px;
  margin: 0 auto;
}

.istruzioni-text-narrow {
  max-width: 760px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading.text-center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

.section-subtitle {
  margin-bottom: 0;
}

/* ===================================== */
/* TIMELINE VERTICALE FIXATA */
/* ===================================== */

.timeline-section {
  overflow: hidden;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 900px;
  margin: 50px auto 0;
  padding-left: 60px;
}

/* linea verticale */
.timeline-line {
  position: absolute;
  top: 0;
  left: 22px;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(205, 127, 50, 0.15),
    rgba(205, 127, 50, 0.8),
    rgba(205, 127, 50, 0.15)
  );
}

.timeline-item {
  position: relative;
  width: 100%;
}

.timeline-card {
  position: relative;
  padding: 32px 24px 26px;
  background: rgba(11, 15, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    opacity 0.45s ease;
}

/* pallino timeline */
.timeline-card::before {
  content: "";
  position: absolute;
  top: 34px;
  left: -38px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 16px rgba(205, 127, 50, 0.45);
}

.timeline-card:hover {
  transform: translateY(-6px);
  border-color: rgba(205, 127, 50, 0.7);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.timeline-number {
  display: inline-block;
  color: var(--bronze);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}

.timeline-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.timeline-subcard {
  margin-top: 15px;
  padding: 15px;
  border-left: 3px solid #ccc;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.timeline-subcard h4 {
  margin-bottom: 5px;
  font-size: 1rem;
}

/* ===================================== */
/* GRID */
/* ===================================== */

.istruzioni-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.istruzioni-panel {
  padding: 34px 28px;
  background: rgba(11, 15, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
}

.highlight-panel {
  border-color: rgba(205, 127, 50, 0.35);
  box-shadow: inset 0 0 0 1px rgba(205, 127, 50, 0.08);
}

.istruzioni-closing-section {
  padding-bottom: 80px;
}

.istruzioni-closing {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.istruzioni-quote {
  margin: 32px 0 22px;
  position: relative;
}

.istruzioni-quote p {
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================== */
/* RESPONSIVE */
/* ===================================== */

@media (max-width: 991px) {

  .timeline {
    padding-left: 55px;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-card::before {
    left: -35px;
  }

  .istruzioni-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .istruzioni-page {
    padding-top: 72px;
  }

  .istruzioni-hero-section {
    padding-top: 55px;
  }

  .istruzioni-section {
    padding: 42px 0;
  }

  .istruzioni-panel,
  .timeline-card {
    padding: 24px 20px;
  }

  .timeline {
    padding-left: 45px;
  }

  .timeline-line {
    left: 15px;
  }

  .timeline-card::before {
    left: -30px;
    width: 15px;
    height: 15px;
  }
}

/* ===================================== */
/* SCARICA PDF ISTRUZIONI */
/* ===================================== */

.pdf-box {
  max-width: 820px;
  margin: 0 auto;
  padding: 34px 28px;
  background: rgba(11, 15, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  text-align: center;
  transition: all 0.4s ease;
}

.pdf-box:hover {
  border-color: rgba(205, 127, 50, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}

.pdf-box h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #fff;
}

.pdf-box p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 22px;
}

/* bottone in stile bronze */
.pdf-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(205,127,50,0.9), rgba(205,127,50,0.6));
  color: #0b0f18;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(205,127,50,0.25);
}