:root {
  --brand-blue: #15248c;
  --brand-green: #85cb8e;
  --brand-red: #e85756;
  --bg: #f7f9ff;
  --bg-soft: #eef3ff;
  --text: #111111;
  --muted: #4b5563;
  --line: rgba(21, 36, 140, 0.18);
  --glass-1: rgba(255, 255, 255, 0.72);
  --glass-2: rgba(238, 243, 255, 0.62);
  --hover: rgba(21, 36, 140, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at 8% 10%, rgba(133, 203, 142, 0.24), transparent 34%),
    radial-gradient(circle at 92% 15%, rgba(21, 36, 140, 0.14), transparent 30%),
    linear-gradient(180deg, var(--bg), #ffffff);
  color: var(--text);
}

.container {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 7rem 0 2rem;
}

.floating-header {
  position: sticky;
  top: 1rem;
  z-index: 40;
  width: min(980px, 94vw);
  margin: 1rem auto 0;
}

.floating-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--glass-1), var(--glass-2));
  box-shadow:
    0 16px 34px rgba(21, 36, 140, 0.14),
    inset 0 1px 1px rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-right {
  margin-left: auto;
  justify-content: flex-end;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.brand-link,
.nav-link {
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.brand-link {
  color: var(--brand-blue);
  font-weight: 700;
}

.brand-link--home {
  min-height: 58px;
  min-width: 118px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.65rem;
}

.nav-home-logo {
  height: 54px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(21, 36, 140, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover {
  border-color: rgba(21, 36, 140, 0.35);
  background: rgba(255, 255, 255, 0.85);
}

.nav-toggle__line {
  width: 18px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.floating-nav.is-menu-open .nav-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.floating-nav.is-menu-open .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.floating-nav.is-menu-open .nav-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-link:hover,
.brand-link:hover {
  background: var(--hover);
  color: var(--brand-blue);
}

.nav-link--admin {
  border: 1px solid var(--line);
}

.nav-link--active {
  background: var(--hover);
  color: var(--brand-blue);
}

.stage {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(238, 243, 255, 0.74));
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(21, 36, 140, 0.1);
  overflow: hidden;
  position: relative;
}

.stage::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(133, 203, 142, 0.34), transparent 70%);
  animation: floatGlow 7s ease-in-out infinite;
  pointer-events: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.8rem;
}

h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 4vw, 3.05rem);
}

.lead {
  color: #334155;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0;
}

.arrival-card {
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  padding: 1.15rem 1.1rem;
  display: grid;
  gap: 0.62rem;
}

.arrival-card__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 700;
}

.arrival-card__location {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.arrival-card__location-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.arrival-card__location-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex: 0 0 26px;
}

.arrival-card__location-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.arrival-card__address {
  margin: 0.12rem 0 0;
  color: #475569;
  font-size: 0.92rem;
}

.arrival-transit {
  margin-top: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.95rem 1.1rem 1.05rem;
  display: grid;
  gap: 0.42rem;
}

.arrival-transit__label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 700;
}

.arrival-transit__hint {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
}

.arrival-transit__link {
  margin-top: 0.2rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}

.arrival-transit__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 26px;
  border-radius: 4px;
  background: #eb0000;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 0 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.arrival-transit__link:hover .arrival-transit__logo {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(235, 0, 0, 0.2);
}

.important-links {
  margin-top: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.95rem 1.1rem 1.05rem;
}

.important-links__title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 700;
}

.important-links__list {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.45rem;
}

.important-links__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  text-decoration: none;
  color: #111111;
  border: 1px solid rgba(21, 36, 140, 0.18);
  border-radius: 10px;
  padding: 0.58rem 0.68rem;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.important-links__item:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.important-links__meta {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
}

.pdf-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.pdf-preview-frame {
  width: 100%;
  min-height: 72vh;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.contact-map {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

.contact-map__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem 1rem;
}

.contact-map__label {
  margin: 0;
  font-weight: 600;
  color: #334155;
}

.contact-map__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.map-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0.98rem;
  border-radius: 10px;
  border: 1px solid #111111;
  background: #ffffff;
  color: #111111;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.map-action-button__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
}

.map-action-button__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.map-action-button:hover {
  background: #ffffff;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.map-action-button--google {
  background: #ffffff;
  border-color: #111111;
  color: #111111;
}

.map-action-button--google:hover {
  background: #ffffff;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.map-action-button--apple {
  background: #ffffff;
  border-color: #111111;
  color: #111111;
}

.map-action-button--apple:hover {
  background: #ffffff;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.countdown-shell {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.countdown-card {
  position: relative;
  width: min(22vw, 180px);
  min-width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.95), rgba(236, 242, 255, 0.85));
  box-shadow: 0 18px 28px rgba(21, 36, 140, 0.14);
}

.countdown-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.countdown-ring__bg,
.countdown-ring__progress {
  fill: none;
  stroke-width: 8;
}

.countdown-ring__bg {
  stroke: rgba(21, 36, 140, 0.12);
}

.countdown-ring__progress {
  stroke: var(--brand-blue);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s linear;
}

.countdown-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-value {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 0.02em;
}

.countdown-label {
  margin: 0.15rem 0 0;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #64748b;
  font-weight: 700;
}

.countdown-note {
  margin-top: 0.95rem;
  color: #475569;
  font-weight: 500;
}

.countdown-shell.is-finished .countdown-card {
  border-color: rgba(133, 203, 142, 0.44);
  background: linear-gradient(180deg, #ffffff, rgba(133, 203, 142, 0.22));
}

.floating-footer {
  width: min(1120px, 94vw);
  margin: 2rem auto 1.2rem;
}

.floating-footer__inner {
  border-radius: 34px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--glass-1), var(--glass-2));
  box-shadow:
    0 16px 34px rgba(21, 36, 140, 0.14),
    inset 0 1px 1px rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  padding: 1.45rem 1.25rem 1.3rem;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 0.45rem;
}

.footer-socials,
.footer-links {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-socials {
  margin-bottom: 0.85rem;
}

.footer-social,
.footer-link {
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
}

.footer-social {
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
}

.footer-social:hover,
.footer-link:hover {
  background: var(--hover);
  color: var(--brand-blue);
}

.footer-copy {
  margin: 0.4rem 0 0;
  color: #475569;
  font-size: 0.88rem;
  width: 100%;
  text-align: right;
}

.legal-stage {
  max-width: 860px;
}

.legal-content {
  color: #334155;
  line-height: 1.65;
}

.button {
  display: inline-block;
  margin-top: 1.35rem;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  background: var(--brand-blue);
}

.button--secondary {
  color: #ffffff;
  background: #111111;
}

@keyframes countdownPop {
  0% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-3px) scale(1.025);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.88;
  }
  50% {
    transform: translate(-14px, 16px);
    opacity: 0.55;
  }
}

@media (max-width: 980px) {
  .floating-nav {
    border-radius: 24px;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.55rem 0.65rem;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-right {
    width: 100%;
    margin-left: 0;
  }

  .brand-link--home {
    min-width: 92px;
    min-height: 52px;
    padding-left: 0.35rem;
    justify-content: flex-start;
  }

  .nav-home-logo {
    height: 46px;
  }

  .nav-panel {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: max-height 0.28s ease, opacity 0.28s ease, transform 0.28s ease, margin-top 0.28s ease;
    margin-top: 0;
  }

  .floating-nav.is-menu-open .nav-panel {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 0.55rem;
  }

  .nav-link {
    width: 100%;
    border-radius: 10px;
    padding: 0.6rem 0.72rem;
    background: rgba(255, 255, 255, 0.72);
  }
}

@media (max-width: 740px) {
  .container {
    padding-top: 6.6rem;
  }

  .stage {
    padding: 1.35rem;
  }

  .contact-map iframe {
    min-height: 290px;
  }

  .countdown-shell {
    justify-content: center;
  }

  .countdown-card {
    width: min(42vw, 185px);
  }

  .floating-footer__inner {
    border-radius: 20px;
    justify-items: center;
    padding: 0.8rem;
  }

  .footer-copy {
    margin: 0;
    width: 100%;
    text-align: center;
  }
}
