/* Homepage «HERE WE GO!» – tutto è dentro .hwg per non disturbare il tema */
.hwg {
  --ink: #211743;
  --paper: #f6f1fa;
  --cream: #fffcff;
  --lavanda: #c9bdf2;
  --rosa: #f5cadd;
  --menta: #bfe8d4;
  --sole: #ffe08a;
  --cielo: #bfe0f7;
  --accent: #ff6b4a;
  --mono: "Space Mono", ui-monospace, monospace;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
.hwg *, .hwg *::before, .hwg *::after { box-sizing: border-box; }
.hwg a { color: inherit; }
.hwg h1, .hwg h2, .hwg h3, .hwg p { margin: 0; font-family: inherit; color: inherit; text-transform: none; letter-spacing: normal; }
.hwg :focus-visible { outline: 3px solid #6b42a5; outline-offset: 4px; }
.hwg-mono { font: 700 12px/1.3 var(--mono); letter-spacing: .06em; }

/* Barra */
.hwg-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(18px, 4vw, 48px); }
.hwg-logo { font-weight: 800; font-size: 26px; letter-spacing: -.04em; text-decoration: none; }
.hwg-logo i { font-style: normal; color: var(--accent); display: inline-block; transform: rotate(-8deg); }

/* Hero */
.hwg-hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  place-items: center;
  padding: 70px clamp(18px, 4vw, 48px) 90px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .55) 0 2px, transparent 3px) 0 0 / 34px 34px,
    var(--lavanda);
  border-block: 2px solid var(--ink);
  isolation: isolate;
}
.hwg-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 1000px; }
.hwg-eyebrow { font: 700 13px var(--mono); letter-spacing: .08em; margin-bottom: 14px !important; }
.hwg-title {
  font-weight: 800 !important;
  font-size: clamp(60px, 12.2vw, 184px) !important;
  line-height: .9 !important;
  letter-spacing: -.045em !important;
  margin: 0 0 26px !important;
}
.hwg-word { display: inline-block; white-space: nowrap; }
.hwg-ch {
  display: inline-block;
  color: var(--cream);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 6px 7px 0 var(--ink);
  animation: hwg-pop .7s cubic-bezier(.2, 1.6, .4, 1) both, hwg-wave 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 70ms), calc(.9s + var(--i) * 110ms);
}
.hwg-word:nth-child(2) .hwg-ch { color: var(--rosa); }
.hwg-word:nth-child(3) .hwg-ch { color: var(--sole); }
.hwg-word:nth-child(3) .hwg-ch:last-child { color: var(--accent); }
@keyframes hwg-pop { from { opacity: 0; transform: translateY(60px) rotate(-12deg) scale(.6); } }
@keyframes hwg-wave { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -8px; rotate: -3deg; } }

.hwg-sub { font-size: clamp(18px, 2.2vw, 23px); max-width: 560px; margin: 0 auto 30px !important; }
.hwg-cta {
  display: inline-flex; align-items: center; gap: 18px;
  font-weight: 800; font-size: 18px; text-decoration: none;
  background: var(--ink); color: #fff !important;
  padding: 15px 22px; border-radius: 999px;
  box-shadow: 5px 6px 0 var(--accent);
  transition: transform .15s, box-shadow .15s;
}
.hwg-cta:hover { transform: translate(-2px, -2px); box-shadow: 7px 8px 0 var(--accent); }

/* Decorazioni */
.hwg-path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hwg-path path { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 2 14; stroke-linecap: round; opacity: .55; }
.hwg-traveller {
  position: absolute; top: 0; left: 0; z-index: 1; font-size: 34px;
  offset-path: path("M-20 430 C 180 330, 260 480, 430 400 S 690 190, 840 260 S 1080 380, 1230 120");
  offset-rotate: 0deg;
  animation: hwg-travel 16s linear infinite;
}
@keyframes hwg-travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.hwg-sun {
  position: absolute; z-index: 0; right: 6%; top: 7%;
  width: clamp(80px, 10vw, 140px); aspect-ratio: 1; border-radius: 50%;
  background: var(--sole); border: 2px solid var(--ink); box-shadow: 7px 8px 0 var(--ink);
}
.hwg-sun::before {
  content: ""; position: absolute; inset: -22px; border-radius: 50%;
  background: repeating-conic-gradient(var(--ink) 0 3deg, transparent 3deg 22.5deg);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63% 70%, transparent 71%);
  mask: radial-gradient(circle, transparent 62%, #000 63% 70%, transparent 71%);
  animation: hwg-spin 24s linear infinite;
}
@keyframes hwg-spin { to { transform: rotate(1turn); } }
.hwg-star { position: absolute; z-index: 1; font-size: 40px; animation: hwg-twinkle 2.6s ease-in-out infinite; }
.hwg-star.s1 { left: 8%; top: 16%; }
.hwg-star.s2 { left: 22%; bottom: 14%; font-size: 30px; animation-delay: .8s; }
.hwg-star.s3 { right: 24%; bottom: 20%; font-size: 52px; animation-delay: 1.5s; }
@keyframes hwg-twinkle { 50% { transform: scale(.6) rotate(40deg); opacity: .6; } }
.hwg-sticker {
  position: absolute; z-index: 1; display: grid; place-content: center; text-align: center;
  width: 104px; aspect-ratio: 1; border-radius: 50%;
  background: var(--rosa); border: 2px solid var(--ink);
  font: 700 12px/1.2 var(--mono);
  transform: rotate(-12deg);
  animation: hwg-bob 4s ease-in-out infinite;
}
.hwg-sticker.st1 { left: 6%; bottom: 18%; }
.hwg-sticker.st2 { right: 7%; bottom: 10%; width: 74px; font-size: 32px; background: var(--menta); animation-delay: 1s; }
@keyframes hwg-bob { 50% { translate: 0 -10px; rotate: 6deg; } }
.hwg-ticket {
  position: absolute; z-index: 1; left: 6%; top: 15%;
  display: grid; gap: 2px; padding: 10px 16px 10px 22px;
  background: var(--cream); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(8deg);
  font-family: var(--mono);
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 8px, #000 9px);
  mask: radial-gradient(circle at 0 50%, transparent 8px, #000 9px);
}
.hwg-ticket b { font-size: 15px; letter-spacing: .1em; }
.hwg-ticket small { font-size: 9px; letter-spacing: .08em; }

/* Nastro scorrevole */
.hwg-marquee { background: var(--ink); color: var(--cream); overflow: hidden; border-bottom: 2px solid var(--ink); transform: rotate(-1.2deg) scale(1.02); margin-top: -14px; position: relative; z-index: 3; }
.hwg-marquee-track { display: flex; width: max-content; animation: hwg-marquee 28s linear infinite; }
.hwg-marquee span { font: 700 15px var(--mono); letter-spacing: .12em; padding: 14px 0; white-space: nowrap; }
@keyframes hwg-marquee { to { transform: translateX(-50%); } }

/* Gite */
.hwg-gite { width: min(1160px, calc(100% - 36px)); margin: 0 auto; padding: 80px 0 90px; }
.hwg-gite-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 38px; border-bottom: 2px solid var(--ink); padding-bottom: 16px; }
.hwg-gite-head h2 { font-size: clamp(38px, 6vw, 68px) !important; font-weight: 800 !important; letter-spacing: -.035em !important; line-height: 1 !important; }
.hwg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 34px; }

.hwg-card {
  --bg: var(--lavanda);
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 24px; background: var(--bg);
  border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: 8px 9px 0 var(--ink);
  transform: rotate(var(--r, 0deg));
  transition: transform .2s ease, box-shadow .2s ease;
}
.hwg-card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 12px 14px 0 var(--ink); }
.hwg-c-lavanda { --bg: var(--lavanda); }
.hwg-c-rosa { --bg: var(--rosa); }
.hwg-c-menta { --bg: var(--menta); }
.hwg-c-sole { --bg: var(--sole); }
.hwg-c-cielo { --bg: var(--cielo); }
.hwg-card-img { margin: -24px -24px 4px; border-bottom: 2px solid var(--ink); border-radius: 12px 12px 0 0; overflow: hidden; aspect-ratio: 16 / 9; }
.hwg-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hwg-card-top { display: flex; justify-content: space-between; align-items: center; }
.hwg-num { font: 700 13px var(--mono); background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 11px; }
.hwg-symbol { font-size: 34px; line-height: 1; }
.hwg-meta { font: 700 11px var(--mono); letter-spacing: .06em; text-transform: uppercase !important; }
.hwg-card h3 { font-size: 30px !important; font-weight: 800 !important; letter-spacing: -.03em !important; line-height: 1.02 !important; }
.hwg-desc { font-size: 17px; flex: 1; }
.hwg-btn, .hwg-soon {
  align-self: flex-start; margin-top: 8px;
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 800; font-size: 17px; text-decoration: none;
  padding: 12px 18px; border-radius: 10px; border: 2px solid var(--ink);
}
.hwg-btn { background: var(--ink); color: #fff !important; transition: gap .15s, background .15s; }
.hwg-btn:hover { gap: 22px; background: #3a2a6e; }
.hwg-soon { background: var(--cream); font: 700 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.hwg-card-next { --bg: transparent; border-style: dashed; box-shadow: none; transform: none; }
.hwg-card-next:hover { box-shadow: none; transform: none; }
.hwg-card-next .hwg-symbol { font: 800 34px var(--mono); }

.hwg-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px clamp(18px, 4vw, 48px); border-top: 2px solid var(--ink); font-weight: 650; }

@media (max-width: 720px) {
  .hwg-hero { min-height: 640px; padding-top: 110px; }
  .hwg-ch { -webkit-text-stroke-width: 2px; text-shadow: 4px 5px 0 var(--ink); }
  .hwg-ticket { left: 4%; top: 6%; transform: rotate(-6deg) scale(.85); }
  .hwg-sun { right: 5%; top: 5%; }
  .hwg-sticker.st1 { left: 4%; bottom: 6%; width: 84px; font-size: 10px; }
  .hwg-star.s1 { left: 50%; top: 9%; }
  .hwg-star.s3 { right: 8%; bottom: 34%; }
  .hwg-bar .hwg-mono { display: none; }
  .hwg-traveller { display: none; }
  .hwg-path path { opacity: .3; }
}

@media (prefers-reduced-motion: reduce) {
  .hwg *, .hwg *::before { animation: none !important; transition: none !important; }
  .hwg-traveller { display: none; }
}
