/* Neve Viaggi Eventi – stile volutamente "primi anni 2000" */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
}
a { color: #1a4f9c; }

/* ---------- HOME ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  aspect-ratio: 2000 / 1293;
  padding: 8.4vw 0 6vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1d4f93 url(img/montagna.jpg) center top / cover no-repeat;
  overflow: hidden;
}

.hero-logo {
  width: 20.5vw;
  margin-left: 5vw; /* il bollino sta a sinistra: così il blocco cade dove nel bozzetto */
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
}

.menu-btn {
  position: absolute;
  top: 15.6vw;
  right: 15.8vw;
  background: none;
  border: 0;
  padding: 4px 6px;
  color: #fff;
  font: 1.7vw Arial, Helvetica, sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
  cursor: pointer;
}
.menu-btn:hover { text-decoration: underline; }

.menu {
  position: absolute;
  top: 18.6vw;
  right: 15.8vw;
  z-index: 10;
  min-width: 210px;
  background: rgba(14, 38, 74, .92);
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .35);
}
.menu a {
  display: block;
  padding: 9px 16px;
  color: #fff;
  font: 15px Arial, Helvetica, sans-serif;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.menu a:first-child { border-top: 0; }
.menu a:hover { background: #ffc20e; color: #0e264a; }

/* barra discipline */
.discipline {
  display: flex;
  margin-top: 3vw;
  width: 80.5vw;
  background: linear-gradient(rgba(30, 55, 95, .55), rgba(15, 35, 70, .45));
  border-top: 1px solid rgba(255, 255, 255, .35);
  border-bottom: 1px solid rgba(0, 0, 0, .35);
}
.discipline a {
  flex: auto;
  padding: .55vw 1vw .45vw;
  color: #f2f5fa;
  font: 700 2vw Carlito, Calibri, "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  border-left: 1px solid rgba(255, 255, 255, .25);
  box-shadow: inset 1px 0 0 rgba(0, 0, 0, .35);
}
.discipline a:first-child { border-left: 0; box-shadow: none; }
.discipline a:hover { background: rgba(255, 194, 14, .9); color: #0e264a; text-shadow: none; }

.hero-title {
  margin: .4vw 0 0;
  color: #fff;
  font: 900 12.3vw/1 "Arial Black", Arial, Helvetica, sans-serif;
  letter-spacing: -.02em;
  white-space: nowrap;
  text-shadow: 0 .25vw .9vw rgba(0, 20, 60, .35);
}

.hero-sub {
  align-self: flex-end;
  margin: 2vw 7.3vw 0 0;
  color: #ffc20e;
  font: 900 3.6vw/1 Arial, Helvetica, sans-serif;
  word-spacing: .3em;
  text-shadow: 0 1px 4px rgba(0, 20, 60, .45);
}
.hero-sub span { text-transform: lowercase; }

/* ---------- PROGRAMMA ---------- */
.programma { background: #f3f4f7; padding-bottom: 24px; }

.prog-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  background: url(img/montagna.jpg) center 88% / cover no-repeat;
  border-bottom: 3px solid #fff;
}
.prog-banner h2 {
  margin: 0;
  padding: 8px 40px;
  color: #fff;
  font: 700 clamp(20px, 3vw, 40px) Arial, Helvetica, sans-serif;
  letter-spacing: .02em;
  background: rgba(20, 60, 120, .25);
  border: 1px solid rgba(255, 255, 255, .8);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}

.prog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 28px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 20px 6px;
}
.prog-col h3 {
  margin: 0 0 6px;
  padding-bottom: 4px;
  color: #c4161c;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 2px solid #c4161c;
}
.prog-col ul { list-style: none; margin: 0; padding: 0; }
.prog-col li {
  padding: 9px 0 10px;
  font-size: 14px;
  line-height: 1.35;
  border-bottom: 1px dotted #b9bec8;
}
.prog-col li b, .prog-col li span, .prog-col li i { display: block; }
.prog-col li b { font-weight: 400; text-decoration: underline; text-underline-offset: 2px; }
.prog-col li span { font-weight: 700; color: #0e264a; }
.prog-col li span.tbd { font-weight: 400; color: #888; font-style: italic; }
.prog-col li i { color: #444; }
.prog-col li.top { background: #fff6d6; margin: 0 -6px; padding-left: 6px; padding-right: 6px; }
.prog-col li.top i { color: #c4161c; font-weight: 700; }

.prog-info { text-align: center; font-size: 15px; margin: 22px 16px 18px; }
.prog-info a { font-weight: 700; }


/* ---------- CHI SIAMO ---------- */
.chi-siamo {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 30px;
  font-size: 15px;
  line-height: 1.6;
}
.chi-siamo h2, .piede h2 {
  margin: 0 0 12px;
  color: #777;
  font: 600 22px Raleway, Arial, sans-serif;
}

/* ---------- PIEDE ---------- */
.piede {
  max-width: 860px;
  margin: 0 auto;
  padding: 26px 20px 20px;
  border-top: 1px solid #333;
  font-family: Raleway, Arial, sans-serif;
  color: #777;
}

.staff {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 50px;
}
.staff li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px dotted #ddd;
}
.staff b { display: block; font-weight: 400; color: #555; }
.mail {
  flex: none;
  width: 26px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 24'%3E%3Crect x='1' y='1' width='32' height='22' fill='none' stroke='%23333' stroke-width='2'/%3E%3Cpath d='M1 1l16 12L33 1M1 23l12-11M33 23L21 12' fill='none' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mail:hover { opacity: .6; }

.copy {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid #ccc;
  font-size: 12px;
}

/* ---------- MOBILE ---------- */
@media (max-width: 760px) {
  .hero { aspect-ratio: auto; min-height: 100svh; padding: 70px 16px 40px; justify-content: flex-start; }
  .hero-logo { width: 62vw; margin-left: 8vw; }
  .menu-btn { top: 14px; right: 14px; font-size: 18px; }
  .menu { top: 52px; right: 14px; }
  .discipline { flex-wrap: wrap; width: 100%; margin-top: 28px; }
  .discipline a { flex: 1 1 33%; font-size: 15px; padding: 7px 4px; border-top: 1px solid rgba(255, 255, 255, .15); }
  .hero-title { margin-top: 24px; font-size: 12.4vw; }
  .hero-sub { margin: 10px 2vw 0 0; font-size: 6.5vw; }

  .prog-banner { height: 110px; }
  .prog-banner h2 { padding: 6px 14px; }
  .prog-grid { grid-template-columns: 1fr 1fr; gap: 0 18px; padding: 20px 16px 0; }
  .prog-col { margin-bottom: 22px; }

  .piede { padding: 24px 16px 16px; }
  .staff { grid-template-columns: 1fr; }
  .copy { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .prog-grid { grid-template-columns: 1fr; }
}
.nw { white-space: nowrap; }
