/* Erasmus Barcelona / WeLoveBCN
   Spacing: margin/padding/gap = 8 | 16 | 24 | 32 | 40 (multipli di 8)
   Font sizes: even px only
*/

:root {
  --blue: #005eff;
  --blue-dark: #0047cc;
  --blue-soft: #e8f0ff;
  --yellow: #ffe14a;
  --red: #e53935;
  --red-dark: #c62828;
  --text: #1c1c1c;
  --muted: #5c6670;
  --bg: #f3f5f7;
  --white: #ffffff;
  --dark: #141414;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(20, 40, 70, 0.08);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* ——— NAV ——— */
.site-nav {
  background: #005eff;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.site-nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  min-height: 86px;
  position: relative;
}
.site-nav__logo {
  width: auto;
  height: 70px;
  max-width: 480px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
  justify-self: start;
}
.site-nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  justify-self: end;
}
.site-nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.site-nav.is-open .site-nav__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav.is-open .site-nav__burger span:nth-child(2) {
  opacity: 0;
}
.site-nav.is-open .site-nav__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.site-nav__pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding: 0;
  scrollbar-width: none;
}
.site-nav__pills::-webkit-scrollbar { display: none; }
.nav-pill {
  background: var(--yellow);
  color: #111;
  font-weight: 700;
  font-size: 14px;
  padding: 8px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .15s ease;
}
.nav-pill:hover { transform: translateY(-1px); }
.nav-pill--arrow {
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
}
.site-nav__auth {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
}
.site-nav__user {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}
.site-nav__user:hover {
  text-decoration: underline;
}
.site-nav__signin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  max-width: 160px;
}
.site-nav__signin span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-nav__signin svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
.site-nav__signin:hover {
  opacity: .9;
}
.site-nav__signin--card {
  color: #ffe082;
}
.site-nav__signin--card:hover {
  opacity: 1;
  color: #fff59d;
}
.auth-card--wide {
  max-width: 560px;
}
.perfil-membership {
  margin: 0 0 24px;
  padding: 20px 20px 18px;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  background: linear-gradient(160deg, #fff 0%, #f4f8fb 100%);
}
.perfil-membership.is-active {
  border-color: #c8e6c9;
  background: linear-gradient(160deg, #f3faf4 0%, #fff 70%);
}
.perfil-membership.is-expired {
  border-color: #ffe0b2;
  background: linear-gradient(160deg, #fff8f0 0%, #fff 70%);
}
.perfil-membership__badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #1b5e20;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.perfil-membership__badge--expired {
  background: #e65100;
}
.perfil-membership__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}
.perfil-membership__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.perfil-membership__meta {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
}
.perfil-membership__cta {
  margin: 16px 0 0;
}
.perfil-membership__hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* ——— DIGITAL ERASMUS CARD ——— */
.digital-card {
  margin: 20px 0 0;
  text-align: left;
}
.digital-card__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.digital-card.is-active .digital-card__eyebrow {
  color: #1b5e20;
}
.digital-card__stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  background: #fff;
  aspect-ratio: 1.7 / 1;
}
.digital-card__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.digital-card__fields {
  position: absolute;
  /* Writing area to the right of NAME / SURNAME / COUNTRY labels */
  left: 63%;
  right: 9%;
  top: 31%;
  bottom: 20%;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  align-items: end;
  gap: 0;
  z-index: 1;
  pointer-events: none;
}
.digital-card__value {
  margin: 0;
  padding: 0 0 1px 0;
  font-size: clamp(11px, 1.9vw, 14px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1a1a1a;
  text-shadow: none;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 0;
  align-self: end;
  position: relative;
}
.digital-card__value--name {
  grid-row: 1;
  top: 16px;
}
.digital-card__value--surname {
  grid-row: 2;
  top: 8px;
}
.digital-card__value--country {
  grid-row: 3;
  top: 0;
}
.digital-card__hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.digital-card__meta {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f8fafc;
  display: grid;
  gap: 10px;
}
.digital-card__meta div {
  display: grid;
  grid-template-columns: minmax(110px, 34%) 1fr;
  gap: 8px;
  align-items: baseline;
}
.digital-card__meta dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.digital-card__meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  word-break: break-word;
}
.digital-card__actions {
  margin: 16px 0 0;
  display: flex;
  justify-content: center;
}
.page-erasmus-card .digital-card {
  margin: 0 0 28px;
}
.page-auth .digital-card__stage {
  max-width: 560px;
}

.perfil-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 24px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.card-page {
  max-width: 720px;
  margin: 0 auto;
}
.card-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
}
.card-plans {
  display: grid;
  gap: 24px;
}
.card-plan {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 32px 24px;
}
.card-plan__img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 0 20px;
  border-radius: 12px;
  object-fit: cover;
}
.card-plan__badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff3e8;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.card-plan__name {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
}
.card-plan__price {
  margin: 0 0 8px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}
.card-plan__meta {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}
.card-plan__desc {
  margin: 0 0 16px;
  color: var(--muted);
}
.card-plan__benefits {
  margin: 0 0 24px;
  padding-left: 20px;
}
.card-plan__benefits li {
  margin: 0 0 8px;
  line-height: 1.4;
}
.card-plan__cta {
  display: inline-flex;
  min-width: 160px;
  justify-content: center;
  padding: 16px 32px;
  font-weight: 700;
}
.card-plan__owned {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1b5e20;
}
.card-plan__owned a {
  color: var(--red);
  text-decoration: underline;
}
.page-erasmus-card {
  background: #f7f9fb;
}
.nav-pill.is-active {
  background: #fff;
}
.page-perfil .auth-form input:disabled {
  background: #f1f4f8;
  color: var(--muted);
}
.site-nav__register {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  color: #fff;
}
.site-nav__register:hover {
  text-decoration: underline;
}
.site-nav__login {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.site-nav__login svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 800px) {
  .site-nav__logo {
    height: 64px;
    max-width: 300px;
  }
  .site-nav__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 80px;
    grid-template-areas: "logo login burger";
    align-items: center;
    min-height: 80px;
    padding: 8px 0;
  }
  .site-nav.is-open .site-nav__inner {
    grid-template-rows: 80px auto;
    grid-template-areas:
      "logo login burger"
      "menu menu menu";
  }
  .site-nav__logo {
    grid-area: logo;
    align-self: center;
  }
  .site-nav__auth {
    grid-area: login;
    justify-self: end;
    align-self: center;
    gap: 12px;
  }
  .site-nav__user {
    max-width: 96px;
    font-size: 13px;
  }
  .site-nav__signin span { display: none; }
  .site-nav__login span { display: none; }
  .site-nav__burger {
    display: flex;
    grid-area: burger;
    align-self: center;
  }
  .site-nav__pills {
    display: none;
    grid-area: menu;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 0 16px;
    overflow: visible;
  }
  .site-nav.is-open .site-nav__pills {
    display: flex;
  }
  .site-nav__pills .nav-pill {
    text-align: center;
    padding: 8px 16px;
    border-radius: 8px;
  }
}

/* ——— COMMUNITY BANNER ——— */
.community-banner {
  background: var(--dark);
  color: #fff;
  padding: 48px 0 8px;
  text-align: center;
}
.community-banner__title {
  margin: 0 0 20px;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-transform: none;
  max-width: 18em;
  margin-left: auto;
  margin-right: auto;
}
.community-banner__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0;
}
.community-banner__media {
  position: relative;
  width: 100%;
  min-height: 280px;
  overflow: hidden;
  background: #111;
}
.community-banner__media img {
  display: block;
  width: 100%;
  height: clamp(280px, 48vw, 520px);
  object-fit: cover;
  object-position: center;
}
.community-banner__flyer {
  width: min(520px, calc(100% - 8px));
  margin: 0 auto 28px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  background: #111;
}
.community-banner__flyer img {
  display: block;
  width: 100%;
  height: auto;
}
.community-banner__lead {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

/* ——— COMMUNITY PAGE ——— */
.page-community {
  background: #000;
  color: #fff;
}
.community-page {
  padding: 40px 0 64px;
  text-align: center;
}
.community-page__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}
.community-page__lead {
  margin: 0 0 28px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
}
.community-page__hero {
  margin: 0 0 40px;
}
.community-page__flyer {
  margin-bottom: 28px;
}
.community-page__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.page-community .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.page-community .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.community-groups {
  text-align: left;
  display: grid;
  gap: 36px;
  max-width: 720px;
}
.community-group__title {
  margin: 0 0 14px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.community-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.community-group__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.community-group__link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}
.community-group__join {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--red, #e11d2e);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ——— WELCOME ——— */
.welcome {
  text-align: left;
  padding: 56px 16px;
  background: var(--white);
}
.welcome--hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0 72px;
  margin: 0;
  background: #111;
  color: #fff;
  text-align: center;
}
.welcome__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #111;
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.28) 0%,
      rgba(0, 0, 0, 0.35) 50%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    url("assets/welcome-collage.png");
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
}
.welcome--hero::after {
  content: none;
}
.welcome__content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}
.welcome--hero .welcome__title {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
  max-width: 18em;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
}
.welcome--hero .welcome__eyebrow {
  color: rgba(255,255,255,.88);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.welcome--hero .welcome__actions {
  justify-content: center;
  width: 100%;
}
.welcome--hero .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.85);
}
.welcome--hero .btn--ghost:hover {
  background: rgba(255,255,255,.12);
}
.welcome__title {
  font-size: clamp(22px, 4vw, 40px);
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .welcome--hero {
    min-height: 320px;
    padding: 40px 0 48px;
  }
  .welcome--hero .welcome__title {
    font-size: 22px;
  }
  .welcome__media {
    background-size: cover, cover;
    background-position: center center, center center;
  }
}
.welcome__eyebrow {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 24px;
}
.welcome__actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

/* ——— ERASMUS CARD (home promo) ——— */
.welcome--card {
  background: #fff;
  padding: 48px 0 56px;
}
.welcome--card__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px 40px;
  align-items: center;
}
.welcome--card__copy {
  text-align: left;
}
.welcome--card .welcome__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.welcome--card .welcome__title {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
}
.welcome--card__lead {
  margin: 0 0 20px;
  max-width: 28em;
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
}
.welcome--card__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.welcome--card__img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  transform: rotate(3deg);
}
.welcome--card__placeholder {
  width: min(100%, 420px);
  aspect-ratio: 1.7 / 1;
  border-radius: 16px;
  background: linear-gradient(135deg, #f3f5f7, #e8edf2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--muted);
  transform: rotate(3deg);
}

@media (max-width: 800px) {
  .welcome--card__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .welcome--card__visual {
    order: -1;
  }
  .welcome--card__img,
  .welcome--card__placeholder {
    transform: none;
    width: min(100%, 360px);
  }
}

/* ——— MARQUEE STRIP ——— */
.marquee {
  background: var(--yellow);
  color: #111;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.marquee__track {
  display: inline-flex;
  gap: 48px;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}
.marquee__text {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-left: 48px;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 24px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid transparent;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover { background: var(--blue); }
.btn--ghost {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--red {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  min-width: 112px;
}
.btn--red:hover { background: var(--red-dark); }

/* ——— FEATURED RECOS (above events) ——— */
.featured-recos {
  background: var(--bg);
  padding: 24px 0 0;
}
.featured-recos__heading {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  text-align: left;
}
.featured-recos__sub {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-align: left;
}
.featured-recos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.featured-reco {
  position: relative;
  min-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background-size: 108%;
  background-position: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-size 0.55s ease;
}
.featured-reco::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.42) 40%,
    rgba(0, 0, 0, 0.72) 72%,
    rgba(0, 0, 0, 0.92) 100%
  );
  transition: opacity 0.35s ease;
}
.featured-reco > * {
  position: relative;
  z-index: 1;
  transition: transform 0.35s ease;
}
.featured-reco:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
  background-size: 118%;
}
.featured-reco:hover::before {
  opacity: 0.78;
}
.featured-reco:hover > * {
  transform: translateY(-3px);
}
.featured-reco__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
}
.featured-reco__meta {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.9);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.featured-reco__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255,255,255,.9);
}

@media (max-width: 720px) {
  .featured-recos__grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .featured-reco {
    min-height: 220px;
    padding: 24px 16px;
    border-radius: 8px;
  }
  .featured-reco__title {
    font-size: 14px;
  }
  .featured-reco__meta,
  .featured-reco__text {
    font-size: 10px;
  }
}

/* ——— EVENTS ——— */
.events-section {
  background: var(--bg);
  padding: 24px 0;
}
.events-page {
  padding: 24px 0 48px;
  background: #fff;
}
.events-page__back {
  margin: 0 0 16px;
}
.events-page__back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.events-page__back-link:hover {
  color: var(--text);
}
.events-page__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
}
.events-page__lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
}
.events-panel {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px 24px;
}
.events-block {
  margin: 0 0 32px;
}
.events-block:last-child {
  margin-bottom: 0;
}
.events-block__title {
  text-align: left;
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 800;
}
.clubs-days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.clubs-days__pill {
  border: 1px solid #d7dee7;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}
.clubs-days__pill:hover {
  border-color: #005eff;
  color: #005eff;
}
.clubs-days__pill.is-active {
  background: #005eff;
  border-color: #005eff;
  color: #fff;
}
.clubs-days__empty {
  margin: 8px 0 0;
}
.events-block__more {
  margin: 14px 0 0;
  text-align: center;
}
.events-block__more-btn {
  min-width: 140px;
}
.event-list {
  display: grid;
  gap: 10px;
}
.event-card {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--blue-soft);
  border-radius: 14px;
  padding: 10px;
}
.event-card[hidden],
.event-card.is-day-hidden {
  display: none !important;
}
.event-card__thumb {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  background: #cfd8dc;
}
.event-card__info {
  min-width: 0;
}
.event-card__date {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 6px;
}
.event-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.event-card__place {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.event-card__pin {
  width: 14px;
  height: 14px;
  color: var(--red, #e53935);
  flex: 0 0 auto;
}
.event-card__cta { justify-self: end; }
.event-card__cta .btn--red {
  border-radius: 999px;
  padding: 10px 18px;
  white-space: nowrap;
}
.event-card__cta-disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.85;
}
.site-nav--simple .site-nav__inner {
  justify-content: flex-start;
}
.event-empty {
  text-align: left;
  color: var(--muted);
  padding: 8px 0 16px;
  font-size: 16px;
}

@media (max-width: 640px) {
  .event-card {
    grid-template-columns: 72px 1fr;
  }
  .event-card__thumb {
    width: 72px;
    height: 72px;
  }
  .event-card__cta {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
  .event-card__cta .btn--red { width: 100%; }
  .welcome--hero .btn--red {
    width: auto;
    min-width: 140px;
  }
}

/* ——— BLOG ——— */
.blog-section {
  padding: 24px 0;
  text-align: left;
  background: var(--white);
}
.blog-section h2 {
  margin: 0;
  font-size: clamp(24px, 3.5vw, 36px);
}
.blog-section .lead {
  color: var(--muted);
  margin: 8px 0 24px;
  font-size: 16px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}
.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.blog-card__img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  background: #dde3ea;
}
.blog-card__body { padding: 16px; }
.blog-card__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  min-height: 2.6em;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6e8ec;
}
.blog-card__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #667085;
  font-size: 14px;
  font-weight: 500;
}
.blog-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-card__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.blog-card__meta {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}
.blog-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 20, 25, 0.12);
}
.blog-card__excerpt {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.accommodation-card__price {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.page-accommodation .accommodation-page__title {
  margin: 8px 0 8px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: none;
}
.page-accommodation .accommodation-page__lead {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.45;
  max-width: 40rem;
}
.page-accommodation .accommodation-page__promo {
  margin: 0 0 28px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
  color: var(--text);
  background: #fff3bf;
  border-left: 4px solid var(--yellow, #ffe14a);
}
.page-accommodation .accommodation-partner {
  margin: 0 0 48px;
  padding-top: 8px;
}
.page-accommodation .accommodation-partner__name {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
}
.page-accommodation .accommodation-partner__text {
  margin: 0 0 28px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.45;
}
.page-accommodation #roomy .accommodation-partner__text {
  margin-bottom: 32px;
}
.page-accommodation #roomy .blog-grid {
  margin-top: 8px;
}
.page-accommodation .accommodation-partner__cta {
  margin: 24px 0 0;
}
.accommodation-flat__img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 0 24px;
  background: #e8edf2;
}
.acc-carousel {
  position: relative;
  margin: 0 0 24px;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}
.acc-carousel__viewport {
  position: relative;
  aspect-ratio: 3 / 2;
  max-height: 480px;
}
.acc-carousel__slide {
  display: none;
  margin: 0;
  height: 100%;
}
.acc-carousel__slide.is-active {
  display: block;
}
.acc-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.acc-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.acc-carousel__btn--prev { left: 12px; }
.acc-carousel__btn--next { right: 12px; }
.acc-carousel__counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.acc-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-right: 72px;
  pointer-events: none;
}
.acc-carousel__dot {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.acc-carousel__dot.is-active {
  background: #fff;
}
.accommodation-flat__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.accommodation-flat__meta {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
}
.accommodation-flat__excerpt {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.accommodation-flat__body {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  max-width: 40rem;
}
.blog-section__more {
  margin: 20px 0 0;
  font-weight: 600;
}
.blog-section__more a {
  color: var(--red, #dc2626);
  text-decoration: none;
}
.blog-main {
  padding: 24px 0 48px;
  background: #fff;
}
.blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.blog-cats__pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.blog-cats__pill.is-active,
.blog-cats__pill:hover {
  background: #111;
  color: #fff;
}
.blog-post {
  max-width: 760px;
}
.blog-post__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}
.blog-post__meta {
  display: flex;
  gap: 14px;
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 14px;
}
.blog-post__cover {
  width: 100%;
  border-radius: 12px;
  margin: 0 0 28px;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #dde3ea;
}
.blog-post__body {
  font-size: 17px;
  line-height: 1.65;
  color: #1a1a1a;
}
.blog-post__body p {
  margin: 0 0 1em;
}
.blog-post__body h2,
.blog-post__body h3 {
  margin: 1.4em 0 0.5em;
}
.blog-post__body ul,
.blog-post__body ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}
.blog-post__body a {
  color: var(--red, #dc2626);
}
.blog-post__figure {
  margin: 1.25em 0;
}
.blog-post__figure img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
.blog-placeholder {
  grid-column: 1 / -1;
  padding: 24px;
  color: var(--muted);
  background: var(--bg);
  border-radius: 8px;
  font-size: 16px;
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ——— DISCOVER ——— */
.discover {
  background: var(--dark);
  color: #fff;
  padding: 16px 0 28px;
}
.discover__title {
  margin: 20px 0 12px;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
}
.discover-hero {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 20px;
  overflow: hidden;
  color: #fff;
  background: #111;
  isolation: isolate;
}
.discover-hero--panel {
  margin-top: 36px;
  border-radius: 28px;
  height: clamp(260px, 40vw, 460px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.discover-hero--panel + .discover-hero--panel {
  margin-top: 28px;
}
.discover-hero__eyebrow {
  margin: 0 0 8px;
  font-size: clamp(12px, 1.8vw, 15px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.discover-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.discover-hero__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.35) 0%, rgba(0,0,0,.5) 70%, rgba(0,0,0,.58) 100%);
}
.discover-hero__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 4.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
  max-width: 14em;
}
.discover-hero__lead {
  margin: 0 0 16px;
  max-width: 38em;
  font-size: clamp(13px, 2vw, 17px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.discover-hero__actions {
  display: flex;
  justify-content: center;
}
.discover-hero__actions .btn--red {
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
@media (max-width: 640px) {
  .discover-hero--panel {
    border-radius: 20px;
    height: clamp(220px, 58vw, 320px);
  }
  .discover-hero__title {
    font-size: clamp(22px, 7vw, 30px);
  }
}
.discover-promo {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
  background: #111;
}
.discover-promo:hover {
  filter: brightness(1.04);
}
.discover-promo__img {
  display: block;
  width: 100%;
  height: auto;
}
.discover-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.discover-card {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.discover-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.discover-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.12) 55%);
}
.discover-card span {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: clamp(11px, 1.35vw, 14px);
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}

@media (max-width: 900px) {
  .discover-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .discover-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ——— EVENT DETAIL ——— */
.page-event {
  background: #fff;
}
.ev-hero {
  position: relative;
  overflow: visible;
  padding: 0;
  margin: 0;
  background: transparent;
  text-align: center;
}
.ev-hero__band {
  height: auto;
  background: #e8eef5;
  box-sizing: border-box;
  /* spazio per far salire il flyer (niente buco CTA) */
  padding-bottom: 120px;
}
.ev-hero--text .ev-hero__band {
  padding-bottom: 24px;
}
.ev-hero__head {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 16px 40px;
  box-sizing: border-box;
  text-align: center;
}
.ev-hero__head .ev-back {
  margin: 0 0 12px;
  font-size: 14px;
  text-align: left;
}
.ev-hero__head .ev-back a {
  color: var(--muted);
}
.ev-hero__head .ev-back a:hover {
  color: var(--blue);
}
.ev-hero__head .ev-title {
  margin: 0 0 8px;
  font-size: 40px;
}
.ev-hero__head .ev-meta-line {
  margin: 0;
  justify-content: center;
  font-size: 15px;
}
.ev-hero__short {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}
.ev-hero__stage {
  position: relative;
  z-index: 2;
  width: min(300px, calc(100% - 32px));
  height: auto;
  margin: -120px auto 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  background: #111;
}
.ev-hero__flyer {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  border: 0;
  border-radius: 16px;
  outline: none;
  background: #111;
}
@media (max-width: 640px) {
  .ev-hero__band {
    padding-bottom: 96px;
  }
  .ev-hero__head {
    padding: 40px 16px;
  }
  .ev-hero__head .ev-title {
    font-size: 32px;
  }
  .ev-hero__stage {
    width: min(300px, calc(100% - 24px));
    margin-top: -96px;
  }
}
.ev-main {
  padding: 0 0 24px;
  background: #fff;
}
.ev-layout {
  max-width: 720px;
  padding-top: 32px;
}
@media (max-width: 640px) {
  .ev-layout {
    padding-top: 24px;
  }
}
.ev-back {
  margin: 0 0 16px;
  font-size: 14px;
}
.ev-back a { color: var(--muted); }
.ev-back a:hover { color: var(--blue); }
.ev-title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.ev-meta-line {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ev-sep { opacity: .55; }
.ev-short {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}
.ev-book-wrap { margin: 16px 0 0; }
.ev-book {
  min-width: 152px;
  font-size: 16px;
  padding: 8px 24px;
}
.ev-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e6ebf0;
}
.ev-block h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
}
.ev-block__line {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
}
.ev-about {
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}
.ev-about-wrap {
  position: relative;
}
.ev-about-wrap[data-collapsed="true"] .ev-about {
  max-height: 160px;
  overflow: hidden;
}
.ev-about-wrap[data-collapsed="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  height: 64px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
}
.ev-about-wrap[data-collapsed="false"]::after {
  display: none;
}
.ev-about-toggle {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ev-about-toggle:hover {
  text-decoration: underline;
}
.ev-about p { margin: 0 0 16px; }
.ev-about h2,
.ev-about h3,
.ev-about h4 {
  margin: 24px 0 8px;
  font-weight: 700;
  line-height: 1.3;
}
.ev-about ul,
.ev-about ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.ev-about li { margin: 0 0 8px; }
.ev-about a { color: var(--blue); font-weight: 600; }
.ev-about img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.ev-about blockquote {
  margin: 0 0 16px;
  padding-left: 16px;
  border-left: 3px solid #d8dee6;
  color: var(--muted);
}
.ev-guests {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ev-guests__avatars {
  display: flex;
}
.ev-guests__avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d8dee6;
  border: 2px solid #fff;
  margin-left: -8px;
}
.ev-guests__avatars span:first-child {
  margin-left: 0;
}
.ev-guests__count {
  margin: 0;
  color: var(--blue);
  font-weight: 600;
  font-size: 15px;
}
.ev-map {
  padding-top: 16px;
}
.ev-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 16px;
  background: #e8eef5;
}
.ev-msg {
  margin: 16px 0;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
}
.ev-msg--ok {
  background: #e8f8ef;
  color: #1b5e3b;
}
.ev-msg--err {
  background: #fdecea;
  color: #8a1c12;
}
.ev-flyer-dl {
  margin: 16px 0 24px;
  display: grid;
  gap: 16px;
  justify-items: start;
}
.ev-flyer-dl__preview {
  width: min(100%, 280px);
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 24px rgba(20, 40, 70, 0.12);
}
.ev-tickets { margin-top: 8px; }
.ev-ticket {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid #e6ebf0;
}
.ev-ticket h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.ev-ticket__desc {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}
.ev-ticket__price {
  margin: 0;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}
.ev-ticket__qty {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.ev-ticket__qty-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.ev-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid #cfd8dc;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.ev-qty__btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: #f3f5f7;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.ev-qty__btn:hover {
  background: #e8ecf0;
}
.ev-qty__btn:active {
  background: #dde3e8;
}
.ev-qty__input {
  width: 48px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid #cfd8dc;
  border-right: 1px solid #cfd8dc;
  border-radius: 0;
  text-align: center;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  -moz-appearance: textfield;
}
.ev-qty__input::-webkit-outer-spin-button,
.ev-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ev-ticket__qty label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.ev-ticket__qty input:not(.ev-qty__input) {
  width: 72px;
  padding: 8px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
}
.ev-ticket__na {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.ev-member-offer {
  margin: 0 0 20px;
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}
.ev-member-offer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}
.ev-member-offer__copy {
  min-width: 0;
}
.ev-member-offer__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}
.ev-member-offer__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #475467;
}
.ev-member-offer__coupon {
  margin: 8px 0 0;
}
.ev-member-offer__coupon-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
.ev-member-offer__coupon-btn code {
  display: inline-block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #101828;
  background: #f2f4f7;
  border: 1px dashed #98a2b3;
  border-radius: 4px;
  user-select: all;
  transition: background .15s ease, border-color .15s ease;
}
.ev-member-offer__coupon-btn:hover code,
.ev-member-offer__coupon-btn:focus-visible code {
  background: #e4e7ec;
  border-color: #667085;
  outline: none;
}
.ev-member-offer__coupon-btn.is-copied code {
  background: #dcfae6;
  border-color: #12b76a;
  border-style: solid;
}
.ev-member-offer__coupon-hint {
  font-size: 12px;
  color: #667085;
}
.ev-member-offer__coupon-btn.is-copied .ev-member-offer__coupon-hint {
  color: #039855;
  font-weight: 600;
}
.ev-member-offer__coupon code {
  display: inline-block;
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #101828;
  background: #f2f4f7;
  border: 1px dashed #98a2b3;
  border-radius: 4px;
  user-select: all;
}
.ev-member-offer__toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #116dff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}
.ev-member-offer__toggle:hover {
  text-decoration: underline;
}
.ev-member-offer__chev {
  display: inline-block;
  transition: transform .15s ease;
}
.ev-member-offer.is-open .ev-member-offer__chev {
  transform: rotate(180deg);
}
.ev-member-offer__details {
  display: none;
  padding: 0 18px 16px;
  border-top: 1px solid #eaecf0;
}
.ev-member-offer.is-open .ev-member-offer__details {
  display: block;
  padding-top: 14px;
}
.ev-member-offer__details p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #475467;
  line-height: 1.45;
}
.ev-member-offer__details .btn {
  margin: 0;
}
@media (max-width: 640px) {
  .ev-member-offer__row {
    flex-direction: column;
    align-items: flex-start;
  }
}
.ev-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 36px 0 16px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  font-size: 18px;
}
.ev-total strong { font-size: 20px; }
.ev-checkout {
  width: 100%;
  max-width: 280px;
  padding: 8px 24px;
  font-size: 16px;
}
.ev-rsvp label {
  display: block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
}
.ev-rsvp input[type=text],
.ev-rsvp input[type=email],
.ev-rsvp select {
  width: 100%;
  margin-top: 8px;
  padding: 8px 16px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  background: #fff;
}
.ev-guests-field {
  display: block;
  margin-top: 16px;
}
.ev-rsvp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ev-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 500 !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}
.ev-legal-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}
.ev-legal-note a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ev-rsvp .btn,
.btn.ev-checkout {
  margin-top: 20px;
}
.ev-signup__btn {
  margin-top: 12px;
  display: inline-flex;
  min-width: 140px;
  justify-content: center;
}
.ev-share__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.ev-share__links a {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}
.ev-empty {
  color: var(--muted);
  font-size: 16px;
}
.ev-gate {
  margin-top: 24px;
}
.ev-gate__text {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
}
.ev-gate .btn {
  min-width: 120px;
}
.ev-gate__hint {
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .ev-ticket {
    grid-template-columns: 1fr;
  }
  .ev-rsvp__grid {
    grid-template-columns: 1fr;
  }
  .ev-checkout { max-width: none; }
}

/* ——— FOOTER ——— */
.site-footer {
  background: #0d0d0d;
  color: #9aa3ad;
  text-align: left;
  padding: 40px 0 0;
  font-size: 14px;
  margin-top: auto;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.site-footer__logo img {
  width: auto;
  height: 72px;
  max-width: 360px;
  border-radius: 0;
  margin-bottom: 16px;
  object-fit: contain;
  background: transparent;
}
.site-footer__name {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.site-footer__disclaimer {
  margin: 0;
  line-height: 1.45;
  max-width: 320px;
}
.site-footer__heading {
  margin: 0 0 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer__links a {
  color: #9aa3ad;
}
.site-footer__links a:hover {
  color: #fff;
}
.site-footer__app-text {
  margin: 0 0 16px;
  line-height: 1.4;
}
.site-footer__app-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer__store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid #3a424c;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}
.site-footer__store:hover {
  border-color: #fff;
  background: #1a1f26;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid #1f252c;
  color: #6b7380;
  font-size: 13px;
}
@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .site-footer {
    padding-top: 32px;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.site-footer--mini {
  padding: 16px 0;
}
.site-footer--mini__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}
.site-footer--mini__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.site-footer--mini__links a {
  color: #9aa3ad;
  font-size: 13px;
}
.site-footer--mini__links a:hover {
  color: #fff;
}
.site-footer--mini__copy {
  color: #6b7380;
  font-size: 12px;
}

.form-main,
.registro-main {
  padding-top: 40px;
}
.form-layout,
.registro-layout {
  padding-top: 0;
  max-width: 640px;
}
.page-registro,
.page-legal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-registro .form-main,
.page-registro .ev-main,
.page-legal .legal-main {
  flex: 1 0 auto;
}
.page-registro .ev-title {
  margin-bottom: 8px;
}
.legal-main {
  padding: 40px 0 48px;
  background: #fff;
}
.legal-layout {
  max-width: 720px;
}
.legal-body {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}
.legal-body p {
  margin: 0 0 16px;
}

/* ——— AUTH (custom register) ——— */
.page-auth {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f7f9fb;
}
.page-auth--welcome {
  background: #f7f9fb;
}
.auth-banner {
  display: none;
}
.page-auth--welcome .auth-banner {
  display: block;
  width: 100%;
  height: clamp(160px, 28vw, 280px);
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.32) 100%
    ),
    url("assets/welcome-collage.png") center center / cover no-repeat;
}
.auth-main {
  flex: 1 0 auto;
  padding: 40px 0;
}
.page-auth--welcome .auth-main {
  padding: 0 0 48px;
  margin-top: -48px;
  position: relative;
  z-index: 1;
}
.page-auth--welcome .auth-card {
  box-shadow: 0 12px 40px rgba(20, 40, 70, 0.12);
}
.auth-card {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 32px 24px;
}
.auth-title {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-align: center;
}
.auth-switch {
  margin: 0 0 24px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.auth-switch a {
  color: var(--blue);
  font-weight: 700;
}
.auth-section-label {
  margin: 32px 0 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.auth-form label {
  display: block;
  margin: 0 0 28px;
  font-size: 14px;
  font-weight: 600;
}
.auth-form .auth-hint {
  margin: -18px 0 24px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.35;
}
.auth-form .auth-label-text {
  display: block;
}
.auth-form .auth-label-text .auth-optional {
  font-weight: 400;
  color: var(--muted);
}
.auth-form input,
.auth-form select,
.auth-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  box-sizing: border-box;
}
.auth-form textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.45;
}
.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  outline: 2px solid rgba(37, 99, 235, .25);
  border-color: var(--blue);
}
.auth-checkboxes {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.auth-checkboxes .auth-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-weight: 500 !important;
  cursor: pointer;
}
.auth-checkboxes .auth-check input {
  width: auto;
  margin: 0;
  flex-shrink: 0;
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.auth-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.auth-submit.is-loading {
  pointer-events: none;
  opacity: 0.92;
}
.auth-submit:disabled {
  opacity: 1;
  cursor: wait;
}
.auth-submit__wait {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
.auth-submit.is-loading .auth-submit__wait,
.auth-submit__wait:not([hidden]) {
  display: inline-flex;
}
.auth-submit.is-loading .auth-submit__label,
.auth-submit__label[hidden] {
  display: none;
}
.auth-submit__wait[hidden] {
  display: none !important;
}
.auth-spinner {
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: auth-spin 0.7s linear infinite;
}
.auth-spinner--lg {
  width: 2.25rem;
  height: 2.25rem;
  border-width: 3px;
  border-color: rgba(220, 38, 38, 0.25);
  border-top-color: #dc2626;
}
@keyframes auth-spin {
  to { transform: rotate(360deg); }
}
body.auth-busy {
  overflow: hidden;
}
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 20, 25, 0.55);
  backdrop-filter: blur(3px);
  padding: 1.25rem;
}
.auth-overlay[hidden] {
  display: none !important;
}
.auth-overlay__box {
  background: #fff;
  color: #1a1a1a;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  max-width: 18rem;
  width: 100%;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.auth-overlay__box p {
  margin: 0.85rem 0 0;
  font-weight: 700;
  font-size: 1.05rem;
}
.auth-overlay__hint {
  margin-top: 0.35rem !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  color: #667085;
}
@media (max-width: 640px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }
  .auth-card {
    padding: 24px 16px;
  }
  .page-auth--welcome .auth-banner {
    height: 140px;
  }
  .page-auth--welcome .auth-main {
    margin-top: -32px;
  }
}

/* ——— FLOATING ATTEND BAR ——— */
/* Space reserved inside main (above footer), not under the footer */
.page-event--floatbar .ev-main {
  padding-bottom: 160px;
}
.ev-floatbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 80;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
  transition: bottom 0.12s ease-out;
}
.ev-floatbar__inner {
  pointer-events: auto;
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid #e8edf2;
}
.ev-floatbar__meta {
  min-width: 0;
  flex: 1;
}
.ev-floatbar__when {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ev-floatbar__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ev-floatbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ev-floatbar__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid #d8dee6;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
}
.ev-floatbar__share {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5b6470;
  background: #f1f4f8;
  text-decoration: none;
}
.ev-floatbar__share svg {
  width: 20px;
  height: 20px;
}
.ev-floatbar__share:hover {
  background: #e6ebf0;
  color: var(--text);
}
.btn--dark {
  background: #1f2933;
  color: #fff;
  border: 0;
}
.btn--dark:hover {
  background: #111827;
  color: #fff;
}
.ev-floatbar__cta {
  min-width: 120px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.ev-floatbar__cta.auth-submit {
  width: auto;
  margin-top: 0;
}
.ev-floatbar__cta--done {
  opacity: 0.7;
  pointer-events: none;
  cursor: default;
}
@media (max-width: 640px) {
  .page-event--floatbar .ev-main {
    padding-bottom: 144px;
  }
  .ev-floatbar {
    bottom: 8px;
    padding: 0 8px;
  }
  .ev-floatbar__inner {
    padding: 16px;
    gap: 8px;
    border-radius: 24px;
  }
  .ev-floatbar__badge {
    display: none;
  }
  .ev-floatbar__when {
    margin-bottom: 8px;
    font-size: 12px;
  }
  .ev-floatbar__title {
    font-size: 14px;
  }
  .ev-floatbar__cta {
    min-width: 96px;
    padding: 16px 24px;
    font-size: 16px;
  }
}

/* ——— LOGIN ——— */
.page-login {
  background: #f7f9fb;
  min-height: 100vh;
}
.login-main {
  padding: 40px 0 64px;
}
.login-card {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}
.login-card h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
}
.login-card__lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
}
.login-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}
.login-form input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 16px;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  font: inherit;
}
.login-form .btn {
  width: 100%;
  margin-top: 8px;
}