:root {
  --bg-blue: #e8f5fc;
  --text: #111111;
  --white: #ffffff;
  --footer: #101114;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --content-width: 1240px;
  --hero-height: 520px;
  --map-width: 300px;
  --map-height: 300px;
  --hero-map-width: 320px;
  --hero-map-height: 320px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', sans-serif !important;
  color: var(--text);
  background: var(--bg-blue);
  line-height: 1.45;
  -webkit-user-select: none;
  user-select: none;
}

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

button,
a {
  font: inherit;
}

.top-sticky-shell {
  position: relative;
  z-index: 40;
}

.site-header {
  background: var(--bg-blue);
  min-height: 146px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 16px 0;
  transition: min-height 0.25s ease, padding 0.25s ease;
}

.brand-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: height 0.25s ease;
}

.brand-fallback {
  display: none;
  text-align: center;
}

.brand-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.brand-subtitle {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
}

.floating-nav {
  width: min(92%, 760px);
  margin: -26px auto 0;
  background: rgb(255, 255, 255);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  position: relative;
  z-index: 20;
}

.nav-btn {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  padding: 22px 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-btn:hover,
.nav-btn:focus-visible,
.nav-btn.active {
  background: rgba(232, 245, 252, 0.8);
  outline: none;
}

.hero-section {
  position: relative;
  min-height: var(--hero-height);
  margin-top: -34px;
  overflow: hidden;
  z-index: 1;
}

.hero-media {
  width: 100%;
  height: var(--hero-height);
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-map-overlay {
  position: absolute;
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 4vw, 34px);
  width: min(var(--hero-map-width), calc(100% - 36px));
  height: var(--hero-map-height);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 2;
}

.hero-map-overlay iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.content-section {
  width: 100%;
}

.content-section--white {
  background: #f9f9f9;
}

.content-section--blue {
  background: var(--bg-blue);
}

.content-inner {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 74px 24px 78px;
}

.content-slot {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  font-size: clamp(1.25rem, 1.7vw, 1.45rem);
}

.content-slot::after {
  content: '';
  display: block;
  clear: both;
}

.content-slot p {
  margin: 0 0 28px;
}

.content-slot p:last-child {
  margin-bottom: 0;
}

.content-slot .md-spacer {
  height: 1.2em;
  min-height: 18px;
}

.content-slot .md-spacer:last-child {
  display: none;
}

.content-slot h1,
.content-slot h2,
.content-slot h3,
.content-slot h4,
.content-slot h5,
.content-slot h6 {
  color: var(--content-heading-color, var(--text));
  line-height: var(--content-heading-line-height, 1.08);
  margin: var(--content-heading-margin, 0 0 22px);
}

.content-slot h1 {
  font-size: var(--content-h1-size, clamp(2.2rem, 4vw, 3.8rem));
  font-weight: var(--content-h1-weight, 800);
}

.content-slot h2 {
  font-size: var(--content-h2-size, clamp(1.8rem, 3vw, 2.8rem));
  font-weight: var(--content-h2-weight, 800);
}

.content-slot h3 {
  font-size: var(--content-h3-size, clamp(1.45rem, 2.2vw, 2.1rem));
  font-weight: var(--content-h3-weight, 800);
}

.content-slot h4 {
  font-size: var(--content-h4-size, clamp(1.25rem, 1.8vw, 1.65rem));
  font-weight: var(--content-h4-weight, 700);
}

.content-slot h5 {
  font-size: var(--content-h5-size, 1.15rem);
  font-weight: var(--content-h5-weight, 700);
}

.content-slot h6 {
  font-size: var(--content-h6-size, 1rem);
  font-weight: var(--content-h6-weight, 700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.content-slot--main {
  min-height: 300px;
}

.main-map-float {
  float: right;
  width: var(--map-width);
  height: var(--map-height);
  margin: 6px 0 28px 34px;
  background: #b8e6f6;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.main-map-float iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.rich-media {
  margin: 26px 0;
}

.rich-media img,
.rich-media iframe {
  display: block;
  max-width: 100%;
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.rich-media.align-left {
  margin-left: 0;
  margin-right: auto;
}

.rich-media.align-center {
  margin-left: auto;
  margin-right: auto;
}

.rich-media.align-right {
  margin-left: auto;
  margin-right: 0;
}

.rich-link,
.rich-mailto {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.countdown-widget {
  --countdown-bg: transparent;
  --countdown-text: #ffffff;
  --countdown-accent: rgba(232, 245, 252, 0.22);
  --countdown-border: rgba(255, 255, 255, 0.18);
  --countdown-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  --countdown-radius: 24px;
  --countdown-padding: 26px;
  --countdown-gap: 14px;
  --countdown-number-size: clamp(1.9rem, 3vw, 2.7rem);
  --countdown-label-size: 0.92rem;
  --countdown-image: url('../assets/hero-noLogo.png');
  --countdown-overlay: rgba(0, 0, 0, 0.22);
  --countdown-blur: 14px;
  --countdown-blur-scale: 1.08;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 28px 0;
  padding: var(--countdown-padding);
  border-radius: var(--countdown-radius);
  background: var(--countdown-bg);
  color: var(--countdown-text);
  box-shadow: var(--countdown-shadow);
  border: 1px solid var(--countdown-border);
}

.countdown-widget::before,
.countdown-widget::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.countdown-widget::before {
  inset: -18px;
  background-image: var(--countdown-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(var(--countdown-blur));
  transform: scale(var(--countdown-blur-scale));
  transform-origin: center;
  z-index: -2;
}

.countdown-widget::after {
  background: var(--countdown-overlay);
  z-index: -1;
}

.countdown-widget > * {
  position: relative;
  z-index: 1;
}

.countdown-widget__header {
  margin-bottom: 18px;
}

.countdown-widget__eyebrow {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.countdown-widget__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.1;
}

.countdown-widget__subtitle,
.countdown-widget__status,
.countdown-widget__done {
  margin: 10px 0 0;
}

.countdown-widget__subtitle {
  opacity: 0.9;
}

.countdown-widget__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--countdown-gap);
}

.countdown-unit {
  background: var(--countdown-accent);
  border-radius: 18px;
  padding: 18px 14px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.countdown-unit__value {
  display: block;
  font-size: var(--countdown-number-size);
  line-height: 1;
  font-weight: 800;
}

.countdown-unit__label {
  display: block;
  margin-top: 10px;
  font-size: var(--countdown-label-size);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.86;
}

.countdown-widget__status,
.countdown-widget__done {
  font-size: 1rem;
  font-weight: 700;
}

.countdown-widget--done .countdown-unit {
  opacity: 0.55;
}

.site-footer {
  background: var(--footer);
  color: #ffffff;
  min-height: 100px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  font-size: 1.1rem;
}

.top-sticky-shell.is-scrolled .site-header {
  min-height: 100px;
  padding: 10px 16px 0;
}

.top-sticky-shell.is-scrolled .brand-logo {
  height: 50px;
}

@media (min-width: 769px) {
  .top-sticky-shell {
    position: sticky;
    top: 0;
  }

  .site-header {
    position: relative;
    z-index: 41;
  }

  .floating-nav {
    position: relative;
    z-index: 42;
  }
}

@media (max-width: 1100px) {
  :root {
    --map-width: 270px;
    --map-height: 270px;
    --hero-map-width: 290px;
    --hero-map-height: 290px;
  }
}

@media (max-width: 920px) {
  :root {
    --hero-height: 460px;
    --map-width: 240px;
    --map-height: 240px;
    --hero-map-width: 250px;
    --hero-map-height: 250px;
  }
}

@media (max-width: 768px) {
  :root {
    --hero-height: 360px;
    --hero-map-width: min(420px, calc(100% - 32px));
    --hero-map-height: 180px;
  }

  .site-header {
    min-height: 122px;
    padding-top: 18px;
  }

  .brand-logo {
    height: 54px;
  }

  .floating-nav {
    width: min(94%, 620px);
    grid-template-columns: 1fr;
    margin-top: -20px;
  }

  .nav-btn {
    padding: 16px 18px;
  }

  .hero-section {
    margin-top: -12px;
  }

  .hero-map-overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    border-radius: 18px;
  }

  .content-inner {
    padding: 46px 20px 52px;
  }

  .content-slot {
    font-size: 1.18rem;
  }

  .main-map-float {
    float: none;
    width: 100%;
    max-width: 420px;
    height: 240px;
    margin: 0 auto 24px;
  }

  .countdown-widget {
    --countdown-padding: 22px;
  }

  .countdown-widget__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    min-height: 100px;
    padding: 20px;
    font-size: 1rem;
  }
}

@media (max-width: 540px) {
  :root {
    --hero-map-height: 160px;
  }

  .site-header {
    min-height: 112px;
  }

  .floating-nav {
    width: calc(100% - 24px);
    border-radius: 18px;
  }

  .hero-media {
    height: 250px;
  }

  .content-inner {
    padding: 38px 16px 42px;
  }

  .content-slot {
    font-size: 1.08rem;
  }

  .content-slot p {
    margin-bottom: 22px;
  }

  .main-map-float {
    height: 220px;
  }

  .countdown-widget {
    --countdown-padding: 18px;
    --countdown-gap: 10px;
    --countdown-number-size: 1.65rem;
  }

  .countdown-unit {
    padding: 14px 10px;
    border-radius: 16px;
  }

  .countdown-widget__status,
  .countdown-widget__done,
  .countdown-widget__subtitle {
    font-size: 0.96rem;
  }
}

.rich-media[data-inline-widget="image"] {
  max-width: 100%;
  margin: 24px auto;
}

.rich-media[data-inline-widget="image"] a {
  display: block;
  width: 100%;
  height: 100%;
}

.rich-media[data-inline-widget="image"] img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 1025px) {
  .hide-desktop { display: none !important; }
}

@media (min-width: 701px) and (max-width: 1024px) {
  .hide-tablet { display: none !important; }
}

@media (max-width: 700px) {
  .hide-mobile { display: none !important; }
}
