:root {
  --bg: #f4f1eb;
  --surface: #ffffff;
  --surface-2: #ece7de;
  --text: #111827;
  --muted: #6b7280;
  --line: rgba(17, 24, 39, .10);
  --accent: #f97316;
  --accent-2: #fdba74;
  --dark: #111827;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(17,24,39,.12);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: calc(68px + var(--safe-top));
  padding: calc(10px + var(--safe-top)) 16px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand { display: flex; gap: 10px; align-items: center; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--dark); color: #fff; font-weight: 900; font-size: 12px; letter-spacing: .06em;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 13px; letter-spacing: .05em; }
.brand-copy small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); background: rgba(255,255,255,.65); border-radius: 999px; }
.lang-btn { border: 0; background: transparent; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; opacity: .5; }
.lang-btn.active { opacity: 1; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.menu-btn { width: 42px; height: 42px; border: 0; border-radius: 14px; background: var(--dark); display: grid; align-content: center; justify-content: center; gap: 4px; cursor: pointer; }
.menu-btn span { width: 18px; height: 2px; border-radius: 2px; background: #fff; display: block; }

.section { min-height: 100svh; scroll-margin-top: calc(68px + var(--safe-top)); }
.hero { position: relative; overflow: hidden; min-height: 100svh; padding: calc(104px + var(--safe-top)) 24px calc(38px + var(--safe-bottom)); display: flex; align-items: flex-end; background: var(--dark); color: #fff; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(circle at 82% 17%, rgba(249,115,22,.95) 0 11%, transparent 31%),
  radial-gradient(circle at 15% 70%, rgba(251,191,36,.28) 0 12%, transparent 37%),
  linear-gradient(145deg, #111827 0%, #1f2937 52%, #0f172a 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero-content { position: relative; z-index: 2; max-width: 520px; padding-right: 36px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { color: var(--accent-2); }
.hero h1 { margin: 0; max-width: 8ch; font-size: clamp(52px, 15vw, 88px); line-height: .92; letter-spacing: -.055em; }
.hero-lead { max-width: 37ch; margin: 22px 0 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.55; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-pills span { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.07); border-radius: 999px; padding: 8px 10px; font-size: 11px; color: rgba(255,255,255,.76); }
.primary-cta { margin-top: 24px; display: inline-flex; align-items: center; gap: 16px; background: #fff; color: var(--dark); padding: 15px 18px; border-radius: 15px; font-weight: 850; font-size: 13px; }
.quick-rail { position: absolute; z-index: 3; right: 12px; top: 50%; transform: translateY(-35%); display: grid; gap: 8px; }
.quick-rail a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); background: rgba(17,24,39,.34); backdrop-filter: blur(10px); border-radius: 14px; color: #fff; font-size: 18px; }

.content-section { min-height: auto; padding: 92px 20px 64px; }
.content-section.alt { background: #ebe7df; }
.section-head { margin-bottom: 26px; }
.section-head h2 { margin: 0; font-size: clamp(34px, 10vw, 52px); line-height: .98; letter-spacing: -.04em; max-width: 9ch; }
.section-head > p:last-child { margin: 14px 0 0; color: var(--muted); max-width: 36ch; line-height: 1.55; }
.map-card { padding: 0; border: 0; width: 100%; border-radius: var(--radius); overflow: hidden; background: #d7d0c5; position: relative; box-shadow: var(--shadow); text-align: left; cursor: pointer; }
.map-card img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.map-overlay { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 3px; background: rgba(17,24,39,.88); color: #fff; border-radius: 16px; padding: 13px 14px; backdrop-filter: blur(10px); }
.map-overlay small { color: rgba(255,255,255,.7); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.location-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; }
.location-card b { font-size: 14px; }
.location-card span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.location-card i { font-style: normal; font-size: 20px; }
.contact-card { margin-top: 18px; background: var(--dark); color: #fff; border-radius: 22px; padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.contact-card div { display: grid; gap: 4px; }
.contact-card small { color: rgba(255,255,255,.55); }
.contact-card strong { font-size: 13px; }
.contact-card a { white-space: nowrap; background: #fff; color: var(--dark); border-radius: 13px; padding: 11px 12px; font-size: 12px; font-weight: 800; }

.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 7px; scrollbar-width: none; margin: 0 -20px 20px; padding-left: 20px; padding-right: 20px; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab { flex: 0 0 auto; border: 1px solid var(--line); background: rgba(255,255,255,.6); padding: 11px 14px; border-radius: 999px; font-weight: 800; font-size: 12px; cursor: pointer; }
.day-tab.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.timeline { position: relative; display: grid; gap: 12px; }
.timeline::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 47px; width: 1px; background: rgba(17,24,39,.14); }
.event-card { position: relative; display: grid; grid-template-columns: 68px 1fr; gap: 12px; align-items: start; }
.event-time { position: relative; z-index: 2; font-weight: 900; font-size: 12px; padding-top: 17px; }
.event-body { border: 1px solid var(--line); background: rgba(255,255,255,.8); border-radius: 20px; overflow: hidden; }
.event-summary { width: 100%; padding: 16px; border: 0; background: transparent; text-align: left; display: grid; gap: 6px; cursor: pointer; }
.event-summary strong { font-size: 15px; }
.event-location { color: var(--accent); font-weight: 800; font-size: 12px; }
.event-extra { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--muted); font-size: 13px; line-height: 1.5; }
.event-extra-inner { padding: 0 16px 16px; border-top: 1px solid var(--line); padding-top: 13px; }
.event-card.open .event-extra { max-height: 260px; }

.info-list { display: grid; gap: 10px; margin-top: 16px; }
.info-card { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 16px; }
.info-card div { display: grid; gap: 5px; }
.info-card strong { font-size: 14px; }
.info-card small { color: var(--muted); line-height: 1.4; }
.info-card time { white-space: nowrap; color: var(--accent); font-size: 12px; font-weight: 900; padding-top: 1px; }
.notice { margin-top: 18px; border-radius: 20px; padding: 17px; border: 1px dashed rgba(17,24,39,.24); display: grid; gap: 5px; }
.notice span { color: var(--muted); font-size: 13px; line-height: 1.45; }

footer { padding: 28px 20px calc(28px + var(--safe-bottom)); background: var(--dark); color: rgba(255,255,255,.6); display: flex; justify-content: space-between; font-size: 12px; }
footer a { color: #fff; font-weight: 800; }

.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; visibility: hidden; }
.drawer.open { pointer-events: auto; visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.42); opacity: 0; transition: opacity .22s ease; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px); padding: calc(18px + var(--safe-top)) 16px calc(18px + var(--safe-bottom)); background: var(--surface); transform: translateX(102%); transition: transform .24s ease; display: flex; flex-direction: column; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px 20px; }
.drawer-close { width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; border-radius: 13px; font-size: 26px; cursor: pointer; }
.drawer-panel > a { display: grid; grid-template-columns: 38px 1fr; align-items: center; padding: 16px 5px; border-top: 1px solid var(--line); }
.drawer-panel > a span { color: var(--accent); font-size: 11px; font-weight: 900; }
.drawer-panel > a b { font-size: 16px; }

.map-modal { width: min(92vw, 760px); max-height: 90svh; border: 0; border-radius: 24px; padding: 0; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.map-modal::backdrop { background: rgba(0,0,0,.7); }
.map-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.map-modal-head button { border: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); font-size: 26px; }
.map-modal img { width: 100%; display: block; }

.orientation-lock { display: none; }
@media (orientation: landscape) and (max-height: 600px) {
  body > *:not(.orientation-lock) { visibility: hidden; }
  .orientation-lock { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 24px; background: var(--dark); color: #fff; visibility: visible; }
  .orientation-card { text-align: center; max-width: 360px; }
  .orientation-icon { font-size: 48px; color: var(--accent-2); }
  .orientation-card h2 { margin: 8px 0; }
  .orientation-card p { margin: 0; color: rgba(255,255,255,.65); }
}

@media (min-width: 720px) {
  body { max-width: 520px; margin: 0 auto; box-shadow: 0 0 0 1px var(--line), 0 30px 100px rgba(0,0,0,.12); }
  .topbar { left: 50%; right: auto; width: 520px; transform: translateX(-50%); }
  .drawer-panel { right: calc((100vw - 520px) / 2); width: 430px; }
}
