@font-face {
  font-family: 'ArtificTrial';
  src: url('../webfonts/artifictrial-regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'ArtificTrial';
  src: url('../webfonts/artifictrial-medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'PPNeueBit';
  src: url('../webfonts/ppneuebit-bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #000;
  --dark: #020714;
  --dark-blue: #040b1c;
  --violet: #6c2bd9;
  --magenta: #c23a8f;
  --cyan: #5ce0d8;
  --cyan-soft: #7eeae4;
  --grad-start: #51c3eb;
  --grad-mid: #2f54a1;
  --grad-end: #e72b89;
  --white: #f0f0f5;
  --gray: #a0a0b8;
  --gray-dark: #3a3a52;
  --font-body: 'ArtificTrial', sans-serif;
  --font-display: 'PPNeueBit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #000 url('../immagini/background.jpg') center calc(100% + 120px) / 100% auto no-repeat;
  color: var(--white);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cyan-soft);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--cyan);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.5em;
  line-height: 1.1;
}

p {
  margin-bottom: 1em;
}

section {
  position: relative;
}

/* ── Font utilities ── */

.font-display,
.section-label,
.section-title,
.hero-title,
.hero-meta-item .label,
.card-number,
.experience-card h3,
.timeline-step,
.timeline-title,
.claim-text,
.format-card .card-icon,
.format-card h3,
.info-icon,
.info-label,
.cta-final-title,
.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
}

.font-display,
.font-artific {
  color: var(--white);
}

.font-artific {
  font-family: var(--font-body);
  font-size: 0.66em;
  font-weight: 500;
}

/* ── Header ── */

.navbar {
  position: relative;
  z-index: 20;
  padding: 0;
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.site-logo {
  position: relative;
  z-index: 1000;
  width: auto;
  height: 62px;
}

.navbar-nav .nav-link {
  position: relative;
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
}

.navbar-nav .nav-link::after,
.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-mid), var(--grad-end));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover,
.footer-links a:hover {
  color: var(--white);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.footer-links a:hover::after,
.footer-links a:focus::after {
  transform: scaleX(1);
}

.navbar-toggler {
  position: relative;
  z-index: 1100;
  border: 0;
  box-shadow: none;
}

/* ── Button pixel ── */

.btn-pixel {
  --bg: var(--grad-mid);
  --bg-dark: var(--grad-end);
  --bg-light: var(--grad-start);
  --edge: #9cddf5;
  --text: #fff2ff;

  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px 10px;
  border: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 45% 42%, rgba(255, 255, 255, 0.26), transparent 38%),
    linear-gradient(180deg, var(--grad-start), var(--grad-mid) 48%, var(--grad-end));
  clip-path: polygon(8px 0, calc(100% - 8px) 0, calc(100% - 8px) 3px, calc(100% - 4px) 3px, calc(100% - 4px) 7px, 100% 7px, 100% calc(100% - 7px), calc(100% - 4px) calc(100% - 7px), calc(100% - 4px) calc(100% - 3px), calc(100% - 8px) calc(100% - 3px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 3px), 4px calc(100% - 3px), 4px calc(100% - 7px), 0 calc(100% - 7px), 0 7px, 4px 7px, 4px 3px, 8px 3px);
  box-shadow:
    inset 0 3px 0 var(--edge),
    inset 0 -4px 0 #67318e,
    inset 4px 0 0 #e983dd,
    inset -4px 0 0 #8b43ad,
    0 0 14px rgba(209, 86, 255, 0.45);
  cursor: pointer;
  font: 700 18px/1 var(--font-body);
  text-shadow: 0 1px 0 rgba(70, 20, 90, 0.6);
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-pixel:hover {
  color: var(--text);
  filter: brightness(1.08);
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-pixel--header {
  padding: 0.55em 1.4em;
  font-size: 0.75rem;
}

.btn-pixel--full {
  width: 100%;
  justify-content: center;
}

/* ── Hero ── */

.hero {
  display: flex;
  min-height: 1200px;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 0 3rem;
}

.hero-bg {
  position: absolute;
  min-height: 1300px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  object-fit: contain;
  inset: 0;
  z-index: 0;
}

.hero-content,
.claim-content,
.cta-final-title,
.cta-final-sub {
  position: relative;
}

.hero-content {
  max-width: 720px;
  margin: 80px auto 0;
  text-align: center;
}

.page-hero {
  min-height: 520px;
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.page-hero-content {
  max-width: 600px;
  margin: 0;
  text-align: left;
}

.page-hero-title {
  font-size: 4rem;
}

.page-hero-subtitle {
  margin: 1rem 0 0 0;
  text-align: left;
}

.hero-title,
.claim-text,
.cta-final-title {
  color: var(--white);
  line-height: 0.8;
  letter-spacing: 0;
}

.hero-title {
  margin-bottom: 0.3em;
  font-size: 5.5rem;
}

.hero-subtitle,
.section-text,
.timeline-text,
.claim-sub,
.cta-final-sub,
.experience-card p,
.format-card p,
.info-value,
.footer-desc,
.footer-links a {
  color: var(--gray);
  line-height: 1.2;
}

.hero-subtitle {
  max-width: 540px;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  gap: 1.25rem;
  margin: 2rem auto 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.hero-meta-item {
  text-align: center;
}

.section-label,
.hero-meta-item .label,
.timeline-step,
.info-label,
.footer-title {
  display: block;
  text-transform: uppercase;
}

.hero-meta-item .label,
.section-label {
  color: var(--magenta);
  font-size: 1rem;
}

.hero-meta-item .label {
  margin-bottom: 0.15em;
}

.hero-meta-item .value {
  color: var(--gray);
  font-size: 0.8rem;
}

/* ── Section utilities ── */

.section-dark {
  background: var(--black);
}

.section-night {
  background: var(--dark);
}

.section-deep {
  background: var(--dark-blue);
}

.section-pad {
  padding: 4rem 0;
}

.section-pad-lg {
  padding: 5.75rem 0;
}

.intro-section {
  margin-top: -120px;
}

.section-label {
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 0.4em;
  font-size: 3.2rem;
  letter-spacing: 0;
}

.section-text {
  max-width: 620px;
}

.text-center .section-text,
.text-center .pixel-divider {
  margin-left: auto;
  margin-right: auto;
}

.pixel-divider {
  width: 48px;
  height: 3px;
  margin: 1.5rem 0;
  border: 0;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-mid), var(--grad-end));
}

/* ── Split page heroes ── */

.split-hero {
  overflow: hidden;
  padding-top: 5rem;
}

.split-hero--deep {
  background: var(--dark-blue);
}

.split-hero--black {
  background: var(--black);
}

.split-hero-row {
  min-height: 390px;
}

.split-hero-row--tall {
  min-height: 460px;
}

.split-hero-copy {
  display: flex;
  align-items: center;
  padding: 3rem 1rem;
}

.split-hero-title {
  font-size: 3.45rem;
}

.split-hero-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.quick-info-grid {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 0.75rem;
  width: min(420px, calc(100% - 3rem));
}

.quick-info-card {
  padding: 0.75rem 0.85rem;
  border-left: 2px solid var(--cyan);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.quick-info-card:nth-child(even) {
  border-left-color: var(--magenta);
}

.quick-info-card span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.quick-info-card:nth-child(even) span {
  color: var(--magenta);
}

.quick-info-card strong {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── Visual gallery ── */

.visual-gallery {
  padding-top: 0;
}

.visual-card {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
  border-radius: 6px;
}

.visual-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  filter: saturate(1.1) brightness(0.82);
}

.visual-card figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.7rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  font-size: 0.85rem;
}

/* ── Experience cards + slider ── */

.experience-card,
.format-card {
  height: 100%;
  border-radius: 6px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.experience-card {
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 16, 30, 0.86);
}

.experience-slider {
  margin: 0;
  padding: 0;
}

.experience-slider li {
  height: 100%;
}

.experience-slider .experience-card {
  min-height: 260px;
}

.experience-slider-wrap .bx-wrapper {
  margin-bottom: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.experience-slider-wrap .bx-viewport {
  overflow: visible !important;
}

.experience-slider-wrap .bx-controls-direction a {
  width: 42px;
  height: 42px;
  margin-top: -21px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
  clip-path: polygon(8px 0, calc(100% - 8px) 0, calc(100% - 8px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 4px) calc(100% - 8px), calc(100% - 4px) calc(100% - 4px), calc(100% - 8px) calc(100% - 4px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 4px), 4px calc(100% - 4px), 4px calc(100% - 8px), 0 calc(100% - 8px), 0 8px, 4px 8px, 4px 4px, 8px 4px);
  text-indent: 0;
  font-size: 0;
}

.experience-slider-wrap .bx-prev {
  left: -54px;
}

.experience-slider-wrap .bx-next {
  right: -54px;
}

.experience-slider-wrap .bx-prev::before,
.experience-slider-wrap .bx-next::before {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-family: "Font Awesome 6 Free";
  font-size: 1rem;
  font-weight: 900;
}

.experience-slider-wrap .bx-prev::before {
  content: "\f053";
}

.experience-slider-wrap .bx-next::before {
  content: "\f054";
}

.experience-slider-wrap .bx-pager.bx-default-pager a {
  width: 22px;
  height: 4px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 0;
}

.experience-slider-wrap .bx-pager.bx-default-pager a:hover,
.experience-slider-wrap .bx-pager.bx-default-pager a.active {
  background: linear-gradient(90deg, var(--grad-start), var(--grad-mid), var(--grad-end));
}

/* ── Format cards ── */

.format-card {
  padding: 1.65rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(16, 16, 30, 0.8);
}

.experience-card:hover,
.format-card:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 58, 143, 0.3);
}

.card-number {
  display: block;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  color: var(--violet);
  font-size: 2.5rem;
  opacity: 0.3;
}

.format-card .card-icon {
  display: block;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.format-card .card-icon i {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.experience-card h3,
.format-card h3,
.timeline-title {
  color: var(--white);
  text-transform: uppercase;
  line-height: 0.8;
  letter-spacing: 0;
}

.experience-card h3 {
  margin-bottom: 0.6em;
  font-size: 1.4rem;
}

.format-card h3 {
  margin-bottom: 0.5em;
  font-size: 1.15rem;
}

.experience-card p,
.format-card p,
.timeline-text {
  margin: 0;
}

.experience-card p,
.timeline-text {
  font-size: 0.9rem;
}

.format-card p {
  font-size: 0.88rem;
  line-height: 1.2;
}

.format-card--compact {
  height: auto;
}

.format-card--compact h3 {
  font-size: 0.95rem;
}

/* ── Timeline ── */

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: -2px;
  width: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.timeline-item {
  position: relative;
  padding: 0 0 3rem 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 6px;
  left: -2.45rem;
  width: 12px;
  height: 12px;
  background: var(--magenta);
}

.timeline-step {
  margin-bottom: 0.4rem;
  color: var(--cyan-soft);
  font-size: 1rem;
}

.timeline-title {
  margin-bottom: 0.5em;
  font-size: 1.5rem;
}

.timeline-text {
  max-width: 500px;
}

/* ── Claim section ── */

.claim-section {
  display: flex;
  align-items: center;
  min-height: 420px;
  overflow: hidden;
  background: #3b0b4f;
}

.claim-text {
  margin: 0;
  font-size: 4.5rem;
}

.claim-text .glow {
  background: linear-gradient(90deg, var(--grad-start), var(--grad-mid), var(--grad-end));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.claim-sub {
  max-width: 480px;
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

/* ── Info grid ── */

.info-grid-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
}

.info-icon {
  flex: 0 0 48px;
  font-size: 2.25rem;
  line-height: 1;
}

.info-icon i {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.info-label {
  margin-bottom: 0.2em;
  color: var(--white);
  font-size: 0.8rem;
}

.info-value {
  font-size: 0.88rem;
  line-height: 1.2;
}

/* ── CTA final ── */

.cta-final {
  overflow: hidden;
  text-align: center;
}

.cta-final-title {
  margin-bottom: 0.5em;
  font-size: 4rem;
  text-transform: uppercase;
}

.cta-final-sub {
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* ── Booking page ── */

.booking-page {
  min-height: 100vh;
  padding-top: 10rem;
}

.booking-title {
  margin-bottom: 0.4em;
  font-size: 4.3rem;
}

.booking-summary {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.booking-summary div {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.booking-summary span,
.booking-form label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--grad-start);
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.booking-summary strong {
  color: var(--white);
  font-weight: 500;
}

.booking-form {
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(81, 195, 235, 0.08), rgba(47, 84, 161, 0.08), rgba(231, 43, 137, 0.08));
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.62);
  color: var(--white);
  font: 500 1rem/1.2 var(--font-body);
  outline: none;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--grad-start);
  box-shadow: 0 0 0 3px rgba(81, 195, 235, 0.14);
}

.booking-form textarea {
  resize: vertical;
}

.booking-check {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  color: var(--gray) !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  text-transform: none !important;
}

.booking-check input {
  width: auto;
  margin-top: 0.2rem;
}

/* ── Footer ── */

.site-footer {
  padding: 3.5rem 0 2rem;
  background: transparent;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: auto;
  height: 42px;
}

.footer-desc {
  max-width: 340px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.2;
}

.footer-desc,
.footer-title,
.footer-links a,
.footer-copy,
.footer-credit {
  color: #fff;
}

.footer-title {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  position: relative;
  display: inline-block;
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

.footer-copy,
.footer-credit {
  margin: 0;
}

.footer-copy {
  font-size: 0.8rem;
}

.footer-credit {
  font-size: 0.75rem;
}

/* ── Animations ── */

.fade-up {
  opacity: 1;
  transform: none;
}

.fade-up-delay-1 {
  transition-delay: 0.1s;
}

.fade-up-delay-2 {
  transition-delay: 0.2s;
}

.fade-up-delay-3 {
  transition-delay: 0.3s;
}

.fade-up-delay-4 {
  transition-delay: 0.4s;
}

/* ── Responsive ── */

@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    inset: 0;
    z-index: 500;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 120px 1.5rem 2rem;
    align-items: center;
    justify-content: center;
    background: #000;
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  }

  .navbar-collapse.collapse:not(.show) {
    display: flex;
  }

  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    display: flex;
    height: 100dvh !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar-nav {
    width: 100%;
    align-items: center;
    gap: 1.4rem;
    opacity: 0;
    text-align: center;
    transform: translateY(18px);
    transition: opacity 0.34s ease 0.06s, transform 0.34s ease 0.06s;
  }

  .navbar-collapse.show .navbar-nav,
  .navbar-collapse.collapsing .navbar-nav {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar-nav .nav-link {
    font-size: 1.35rem;
  }

  .navbar-collapse .btn-pixel--header {
    padding: 9px 20px 10px;
    font-size: 18px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-meta {
    gap: 1.2rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-item {
    padding-left: 1.5rem;
  }

  .timeline-item::before {
    left: -1.95rem;
  }

  .split-hero-row,
  .split-hero-row--tall {
    min-height: 0;
  }

  .split-hero-copy {
    padding: 3rem 1rem 2rem;
  }

  .quick-info-grid {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
  }

  .digital-worlds-layout > [class*="col-"] {
    display: block;
  }

  .tappa-hero--digital {
    height: 340px;
    min-height: 340px;
  }

  .digital-worlds-stack {
    grid-template-rows: none;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 3.5rem 0;
  }

  .section-pad-lg {
    padding: 4.5rem 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .hero {
    padding: 5rem 0 2.5rem;
  }

  .page-hero {
    min-height: 460px;
  }

  .split-hero-title {
    font-size: 2.7rem;
  }

  .quick-info-grid {
    grid-template-columns: 1fr;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -1rem 1rem 1rem;
  }

  .claim-section {
    min-height: 320px;
  }

  .claim-text,
  .cta-final-title {
    font-size: 3rem;
  }

  .booking-title {
    font-size: 3rem;
  }

  .booking-form {
    padding: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .hero-title,
  .claim-text,
  .cta-final-title {
    font-size: 2.4rem;
  }

  .hero-ctas,
  .hero-meta {
    flex-direction: column;
    gap: 0.8rem;
  }
}

/* ── Percorso page ── */

.tappa-hero {
  position: relative;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: #050814;
}

.tappa-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(1.12);
}

.tappa-numero {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  opacity: 0.12;
  position: absolute;
  bottom: 1rem;
  right: 2rem;
  color: var(--white);
  pointer-events: none;
}

.tappa-hero--digital {
  height: 100%;
  min-height: 430px;
  flex: 1;
}

.tappa-hero--short {
  height: 240px;
}

.digital-worlds-layout > [class*="col-"] {
  display: flex;
}

.digital-worlds-stack {
  display: grid !important;
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
}

.digital-feature {
  min-height: 0;
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.digital-feature h3 {
  font-size: 1rem;
}

.card-number--compact {
  margin-bottom: 0.45rem;
  font-size: 1.45rem;
  opacity: 0.42;
}

.highlight-box {
  border-left: 3px solid var(--magenta);
  padding: 1rem 1.5rem;
  background: rgba(232, 46, 137, 0.05);
  margin-bottom: 1rem;
}

.highlight-box p {
  margin: 0;
  color: var(--gray);
  font-size: 0.9rem;
}

/* ── Eventi page ── */

.evento-card {
  position: relative;
  overflow: hidden;
  background: rgba(16, 16, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  transition: border-color 0.3s, transform 0.3s;
}

.evento-card:hover {
  border-color: rgba(232, 46, 137, 0.35);
  transform: translateY(-3px);
}

.evento-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: brightness(0.6) saturate(1.1);
  display: block;
  transition: filter 0.4s;
}

.evento-card:hover .evento-card-img {
  filter: brightness(0.75) saturate(1.3);
}

.evento-card-body {
  padding: 1.5rem;
}

.evento-data {
  font-family: var(--font-display);
  font-size: 1rem;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.evento-tipo {
  display: inline-block;
  padding: 0.2em 0.6em;
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: var(--black);
  background: var(--cyan);
  margin-bottom: 0.75rem;
}

.evento-tipo.type-workshop { background: var(--magenta); color: #fff; }
.evento-tipo.type-serata   { background: var(--violet);  color: #fff; }
.evento-tipo.type-scuole   { background: var(--grad-mid); color: #fff; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento-1,
.bento-2,
.bento-3,
.bento-4 {
  grid-column: span 6;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(16, 16, 30, 0.85);
  padding: 1.7rem;
  height: 100%;
  min-height: 280px;
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.bento-card:hover {
  border-color: rgba(81, 194, 236, 0.25);
  box-shadow: 0 0 30px rgba(81, 194, 236, 0.06);
}

.bento-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}

.bento-card-content {
  position: relative;
  z-index: 1;
}

.bento-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: block;
}

.bento-title {
  margin-bottom: 0.5rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.bento-text {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--gray);
  line-height: 1.4;
}

.bento-meta {
  margin: 0.8rem 0 0;
  color: var(--gray);
  font-size: 0.85rem;
}

.bento-meta strong {
  color: var(--white);
  font-weight: 500;
}

.event-title {
  margin-bottom: 0.4rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1;
}

.event-desc {
  margin: 0;
  color: var(--gray);
  font-size: 0.88rem;
}

.agenda-image {
  width: 100%;
  margin-top: 1rem;
  border-radius: 6px;
  filter: brightness(0.72) saturate(1.12);
}

@media (max-width: 767px) {
  .bento-1,
  .bento-2,
  .bento-3,
  .bento-4 {
    grid-column: span 12;
  }
}

/* ── Info page ── */

.price-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(16, 16, 30, 0.85);
  padding: 1.5rem;
  border-radius: 2px;
  height: 100%;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-mid), var(--grad-end));
}

.price-card:hover {
  border-color: rgba(232, 46, 137, 0.3);
  transform: translateY(-3px);
}

.price-card .price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  margin: 0.5rem 0;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.price-card .price-amount--small {
  font-size: 1.8rem;
}

.price-card .price-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--white);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.price-card .price-desc {
  color: var(--gray);
  font-size: 0.82rem;
  line-height: 1.3;
  margin: 0;
}

.price-card.featured {
  border-color: rgba(232, 46, 137, 0.25);
  background: linear-gradient(160deg, rgba(81, 195, 235, 0.06), rgba(51, 78, 157, 0.1), rgba(232, 46, 137, 0.06));
}

.info-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  height: 100%;
}

.note-text {
  margin-top: 0.75rem;
  color: var(--gray);
  font-size: 0.8rem;
}

.info-side-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 6px;
  filter: brightness(0.62) saturate(1.12);
}

.image-caption {
  margin-top: 0.5rem;
  color: var(--gray);
  font-size: 0.78rem;
  text-align: right;
}

.info-image-strip {
  margin-top: 1.5rem;
}

.info-image-strip img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  filter: brightness(0.48) saturate(1.2);
}

.map-section {
  padding: 0;
}

.map-frame {
  display: block;
  width: 100%;
  border: 0;
  filter: grayscale(1) invert(0.85) hue-rotate(180deg) brightness(0.8);
}

.orario-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.orario-row:last-child {
  border-bottom: 0;
}

.orario-giorno {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--white);
  text-transform: uppercase;
}

.orario-ora {
  font-size: 0.85rem;
  color: var(--cyan);
}

.orario-closed {
  color: var(--gray);
}
