:root {
  --bg: #ffffff;
  --text: #1f2430;
  --muted: #657086;
  --line: #e8ebf2;
  --surface: #ffffff;
  --brand: #6d49fd;
  --dark: #10131c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.wrap {
  width: min(1580px, calc(100% - 120px));
  margin-inline: auto;
}

.event-header {
  background: #fff;
  border-bottom: 1px solid #e9ebf1;
  box-shadow: 0 1px 0 rgb(18 24 40 / 8%);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-row {
  padding: 12px 0;
}

.head-left {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.logo {
  color: #161d2a;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.logo-img {
  width: 118px;
  height: auto;
  display: block;
  filter: brightness(0) saturate(100%);
}

.location-btn {
  border: 0;
  background: transparent;
  color: #151c2a;
  border-radius: 12px;
  height: auto;
  padding: 0;
  cursor: pointer;
  font-size: 0.83rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.loc-icon {
  color: #6d49fd;
  font-size: 1.5rem;
  line-height: 1;
}

.loc-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.loc-copy strong {
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}

.loc-copy em {
  font-style: normal;
  color: #4f596e;
  font-size: 1.72rem;
  line-height: 1;
}

.head-right {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.icon-btn {
  border: 0;
  background: transparent;
  color: #6d49fd;
  font-size: 2.1rem;
  cursor: pointer;
  line-height: 1;
}

.profile-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  background: #0f2746;
  font-size: 1.62rem;
  cursor: pointer;
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  padding: 0 0 70px;
}

.hero {
  border-radius: 36px;
  overflow: hidden;
  border: 0;
  background: #171d26;
  margin-top: 0;
}

.hero img {
  width: 100%;
  display: block;
  height: 520px;
  object-fit: contain;
}

.intro-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 26px;
  align-items: start;
}

.about-panel {
  padding: 0 14px;
}

.about-panel h2 {
  margin: 0 0 14px;
  font-size: 2.8rem;
  line-height: 1.1;
}

.quick-booking {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgb(18 24 40 / 6%);
  padding: 16px;
}

.hero-meta {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.hero-meta p {
  margin: 0;
  font-size: 0.9rem;
}

.hero-meta p:last-child {
  color: var(--muted);
  margin-top: 4px;
}

.details-shell {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid #e8ebf2;
  border-radius: 18px;
  overflow: hidden;
}

.block {
  margin-top: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 16px 16px 18px;
}

.block h2,
.block h3 {
  margin: 0 0 12px;
  font-size: 1.92rem;
  line-height: 1.15;
}

.section-divider {
  border-top: 1px solid var(--line);
}

.about-text {
  margin: 0;
  color: #2c3342;
  line-height: 1.62;
  font-size: 1.12rem;
}

.about-text.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.inline-link {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  margin-top: 10px;
  cursor: pointer;
  padding: 0;
  font-size: 1.15rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.highlight-grid article {
  border: 1px solid #eceff6;
  border-radius: 16px;
  padding: 12px;
  background: #fcfdff;
}

.highlight-grid h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.highlight-grid p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chips li {
  border: 1px solid #e3e7f4;
  background: #fbfcff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.84rem;
  color: #455069;
}

.org-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.org-card img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
}

.org-card strong {
  font-size: 1.06rem;
}

.org-stats {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.org-stats span {
  font-size: 0.86rem;
  color: var(--muted);
  border: 1px solid #e2e6f3;
  border-radius: 999px;
  padding: 4px 10px;
}

.more-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e7ebf5;
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 9px;
  text-decoration: none;
  color: #171d2a;
  font-size: 0.98rem;
}

.booking-col {
  display: block;
  position: sticky;
  top: 16px;
  padding-top: 8px;
}

.booking-card,
.side-info-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 16px;
  box-shadow: 0 12px 32px rgb(18 24 40 / 6%);
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-line strong {
  font-size: 1.45rem;
}

.price-line span {
  color: var(--muted);
}

.book-btn {
  margin-top: 12px;
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.book-btn.dark {
  background: #171b24;
}

.side-info-card {
  margin-top: 14px;
  overflow: hidden;
}

.side-row {
  display: grid;
  grid-template-columns: 50px 1fr 20px;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 10px 0;
}

.side-row + .side-row {
  border-top: 1px solid #eceff6;
}

.side-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 1px solid #e5e8ef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #141a28;
}

.side-copy h4 {
  margin: 0;
  font-size: 1.05rem;
}

.side-copy p {
  margin: 3px 0 0;
  color: #4f5a71;
  font-size: 0.82rem;
}

.side-arrow {
  font-size: 1.45rem;
  color: #111827;
}

.event-footer {
  background: var(--dark);
  color: #cbd2e2;
  margin-top: 8px;
  padding: 54px 0 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.footer-logo-img {
  width: 164px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 58px;
  justify-self: center;
}

.footer-links a {
  color: #cfd6e8;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.footer-qr {
  justify-self: end;
  text-align: center;
}

.qr-box {
  width: 138px;
  height: 138px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  display: block;
}

.footer-qr p {
  margin: 12px 0 0;
  color: #f1f4fc;
  font-size: 0.68rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
}

.copyright {
  margin: 0;
  font-size: 0.62rem;
  color: #8f97ab;
  line-height: 1.45;
  max-width: 76%;
}

.social-links {
  display: inline-flex;
  gap: 12px;
}

.social-links a {
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 26%);
  color: #f3f6ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  overflow: hidden;
}

.social-links a img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.mobile-cta {
  position: fixed;
  inset: auto 0 0;
  background: #fff;
  border-top: 1px solid #e3e7f3;
  padding: 10px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: 40;
}

.mobile-cta a {
  border: 0;
  height: 40px;
  min-width: 140px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-cta span {
  color: var(--muted);
  font-size: 0.8rem;
  margin-left: 6px;
}

.location-dialog {
  width: min(720px, calc(100% - 16px));
  border: 0;
  border-radius: 16px;
  padding: 16px;
}

.location-dialog::backdrop {
  background: rgb(6 10 18 / 70%);
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-head button {
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
}

.current-location {
  margin-top: 12px;
  border: 1px solid #dce2f2;
  background: #fff;
  color: var(--brand);
  border-radius: 10px;
  padding: 9px 10px;
}

.city-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.city-grid button {
  border: 1px solid #e1e6f3;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
}

@media (max-width: 980px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .event-layout {
    grid-template-columns: 1fr;
  }

  .intro-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-panel {
    padding: 0;
  }

  .about-panel h2 {
    font-size: 2rem;
  }

  .booking-col {
    position: static;
  }

  .block h2,
  .block h3 {
    font-size: 1.35rem;
  }

  .about-text {
    font-size: 1rem;
  }

  .title-block h1 {
    font-size: 2rem;
  }

  .hero {
    border-radius: 24px;
  }

  .hero img {
    height: 360px;
  }

  .chips li {
    font-size: 0.82rem;
    padding: 7px 10px;
  }

  .more-row {
    font-size: 0.92rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-links {
    justify-self: start;
    gap: 24px;
    flex-wrap: wrap;
  }

  .footer-qr {
    justify-self: start;
    text-align: left;
  }

  .qr-box {
    margin-left: 0;
    margin-right: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .copyright {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 20px);
  }

  .top-row {
    padding: 10px 0;
  }

  .logo-img {
    width: 100px;
  }

  .loc-copy strong {
    font-size: 1rem;
  }

  .loc-copy em {
    font-size: 0.8rem;
  }

  .loc-icon,
  .icon-btn {
    font-size: 1.3rem;
  }

  .profile-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .head-right {
    gap: 8px;
  }

  .hero {
    border-radius: 16px;
  }

  .hero img {
    height: 250px;
  }

  .details-shell,
  .hero-meta,
  .mobile-cta {
    display: none;
  }

  .event-footer {
    display: block;
    margin-top: 16px;
    padding-top: 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-qr {
    grid-column: auto;
  }

  .footer-links {
    gap: 16px;
  }

  .qr-box {
    width: 104px;
    height: 104px;
  }

  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
