@font-face {
  font-family: "Liberation Sans Narrow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/liberation-sans-narrow-bold.ttf") format("truetype");
}

:root {
  --bg: #22408C;
  --text: #ffffff;
  --muted: #d7e3f4;
  --ink: #22408C;
  --paper: #ffffff;
  --brand-navy: #22408C;
  --brand-blue: #2678BA;
  --brand-sky: #2678BA;
  --accent: #EB6031;
  --accent-deep: #22408C;
  --accent-rgb: 235 96 49;

  --focus: #EB6031;
  --container: 1440px;
  --side: 5.9rem;
  --media-radius: clamp(2rem, 4.4vw, 4rem);
  --font-heading: "Liberation Sans Narrow", "Arial Narrow", "Franklin Gothic Condensed", sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: var(--font-ui);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Safari 26 on iOS ignores theme-color and tints the status bar from the page
   background, so the canvas stays white to match the white area around the logo. */
html {
  scroll-behavior: smooth;
  background: var(--paper);
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

::selection {
  color: var(--paper);
  background: var(--accent);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  color: var(--ink);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--side);
}

.section {
  position: relative;
  margin-top: 3.5rem;
  overflow: hidden;
}

.section-without-margin {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 6.25rem;
  display: flex;
  align-items: center;
  /* Safari 26 extends a sticky header's background-color into the iOS status bar,
     so it stays white; the navy of the scrolled state lives in an image layer. */
  background: rgb(255 255 255 / 0);
  transition: background 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  background:
    radial-gradient(
      ellipse 30rem 13rem at calc(max(var(--side), calc((100vw - var(--container)) / 2 + var(--side))) + 4.4rem) 50%,
      var(--paper) 0 12%,
      rgb(255 255 255 / 0.84) 24%,
      rgb(82 126 184 / 0.55) 45%,
      rgb(34 64 140 / 0.92) 76%
    ),
    linear-gradient(rgb(34 64 140 / 0.92), rgb(34 64 140 / 0.92));
  background-color: rgb(255 255 255 / 0);
  box-shadow: 0 1rem 2rem rgb(0 0 0 / 0.18);
  backdrop-filter: blur(18px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: grid;
  place-items: center;
  align-items: center;
  width: 8.8rem;
  height: 5.25rem;
  flex: 0 0 auto;
  overflow: visible;
  background: transparent;
  padding: 0;
}

.logo {
  width: 7.75rem;
  max-width: none;
  height: auto;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.primary-nav > a {
  padding: 1.2rem 0.72rem;
  color: var(--brand-navy);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  transition: color 160ms ease, opacity 160ms ease;
}

.primary-nav > a:hover,
.primary-nav > a.is-active {
  color: var(--accent);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.85rem;
  padding: 0.25rem;
  border: 1px solid rgb(34 64 140 / 0.18);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.9);
  box-shadow: 0 0.5rem 1.4rem rgb(0 0 0 / 0.08);
}

.language-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.05rem;
  min-width: 3.25rem;
  padding: 0.45rem 0.75rem;
  color: var(--brand-navy);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.language-option:hover {
  color: var(--accent);
}

.language-option.is-active {
  color: var(--paper);
  background: var(--accent);
  box-shadow: 0 0.45rem 1rem rgb(var(--accent-rgb) / 0.3);
}

.language-code {
  font-size: 0.82rem;
}

.site-header.is-scrolled .primary-nav > a,
.site-header.nav-open .primary-nav > a,
.site-header.is-scrolled .menu-toggle,
.site-header.nav-open .menu-toggle {
  color: var(--paper);
}

.site-header.is-scrolled .primary-nav > a:hover,
.site-header.nav-open .primary-nav > a:hover,
.site-header.is-scrolled .primary-nav > a.is-active,
.site-header.nav-open .primary-nav > a.is-active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  color: var(--brand-navy);
  background: transparent;
  padding: 0.55rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 0.42rem 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.52rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.52rem) rotate(-45deg);
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

h1,
.hero-title-line,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
  line-height: 0.9;
}

h1,
.hero-title-line {
  font-size: 6.5rem;
  color: var(--paper);
}

h2 {
  font-size: 3rem;
  color: var(--paper);
}

h3 {
  font-size: 2.35rem;
  color: var(--paper);
}

p {
  color: var(--paper);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.35;
}

.hero {
  margin-top: -6.25rem;
  padding-top: 10.5rem;
  padding-bottom: 6.75rem;
  overflow-x: clip;
  color: var(--brand-navy);
  background: var(--paper);
  transition: background 280ms ease, color 280ms ease;
}

.hero.is-scrolled {
  color: var(--paper);
  background: var(--brand-navy);
}

.hero-stage {
  position: relative;
}

.hero-desktop {
  --hero-title-size: clamp(5rem, 7.5vw, 8rem);

  display: block;
  position: relative;
  max-width: 105rem;
  padding-inline: clamp(1.25rem, 1.75vw, 2.5rem);
  padding-bottom: 7rem;
}

.hero-mobile {
  display: none;
}

.hero-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1rem, 1.5vw, 1.6rem);
  margin-top: 0.55rem;
}

.hero-desktop .hero-title-line {
  flex: 0 0 auto;
  font-size: var(--hero-title-size);
  white-space: nowrap;
}

.hero-composition {
  display: grid;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}

.hero-aligned-lines {
  display: grid;
  width: 100%;
}

.hero-aligned-lines .hero-line {
  width: 100%;
}

.hero-line-copy {
  align-items: flex-end;
}

.hero-copy {
  max-width: 23rem;
  margin-right: 0.2rem;
  font-size: 1.25rem;
}

.hero .hero-title-line {
  color: var(--accent);
  letter-spacing: -0.035em;
}

.hero .hero-copy,
.hero .round-link {
  color: var(--brand-navy);
  transition: color 280ms ease;
}

.hero.is-scrolled .hero-copy,
.hero.is-scrolled .round-link {
  color: var(--paper);
}

.hero-line-copy .hero-title-line {
  order: 2;
  margin-left: auto;
}

.hero-line-copy .hero-copy {
  order: 1;
  margin-right: 0;
  margin-left: 0;
  padding-bottom: 0.4rem;
  text-align: left;
}

.hero-cta,
.hero-actions {
  position: absolute;
  right: var(--side);
  bottom: 0;
}

.hero-actions {
  display: flex;
  justify-content: flex-end;
  max-width: min(46rem, calc(100% - (2 * var(--side))));
}

.hero-desktop-with-announcement {
  padding-bottom: 8.9rem;
}

.hero-actions.is-announcement {
  right: calc(50% - 50vw);
  left: calc(50% - 50vw);
  z-index: 2;
  display: block;
  max-width: none;
  overflow: hidden;
}

.hero-actions .round-link {
  margin-top: 0;
}

.hero-announcement {
  width: 100%;
  overflow: hidden;
  color: var(--accent);
  background: var(--paper);
  border-block: 1px solid rgb(var(--accent-rgb) / 0.7);
  box-shadow: 0 1rem 2.4rem rgb(7 18 40 / 0.16);
  transition: background 280ms ease;
}

.hero.is-scrolled .hero-announcement {
  background: var(--brand-navy);
}

.hero-announcement-link {
  display: block;
  min-height: 7.4rem;
  overflow: hidden;
  color: var(--accent);
}

.hero-announcement-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 7.4rem;
  animation: hero-announcement-marquee 22s linear infinite;
  will-change: transform;
}

.hero-announcement-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 6rem);
  flex: 0 0 auto;
  padding-right: clamp(2.5rem, 5vw, 6rem);
  white-space: nowrap;
}

.hero-announcement-item strong {
  color: transparent;
  font-family: var(--font-heading);
  font-size: clamp(3.8rem, 6.5vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 0.88;
  paint-order: stroke fill;
  text-transform: uppercase;
  -webkit-text-stroke: clamp(1px, 0.12vw, 2px) var(--accent);
}

.hero-announcement-item em {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-announcement-link:hover .hero-announcement-track,
.hero-announcement-link:focus-visible .hero-announcement-track {
  animation-play-state: paused;
}

.hero-mobile-bottom.has-announcement {
  flex-direction: column;
  align-items: stretch;
}

.hero-mobile-bottom.has-announcement .hero-copy {
  align-self: flex-end;
}

.hero-mobile-bottom.has-announcement .hero-announcement {
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

@keyframes hero-announcement-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero-inline-image {
  width: 17.25rem;
  height: 6.75rem;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 999px;
  border: 3px solid var(--brand-blue);
  transition: border-color 280ms ease, box-shadow 280ms ease;
}

.hero-desktop .hero-inline-image {
  width: calc(var(--hero-title-size) * 2.2);
  height: calc(var(--hero-title-size) * 0.9);
}

.hero.is-scrolled .hero-inline-image {
  border-color: var(--paper);
  box-shadow: 0 0.8rem 2rem rgb(0 0 0 / 0.16);
}

.hero-inline-image-right {
  margin-left: 0.2rem;
}

.hero-desktop .hero-inline-image-right {
  width: calc(var(--hero-title-size) * 2.82);
}

@media (min-width: 992px) {
  html[lang="en"] .hero-composition > .hero-line:first-child > .hero-inline-image {
    width: calc(var(--hero-title-size) * 2.65);
  }

  html[lang="en"] .hero-desktop .hero-inline-image-right {
    width: calc(var(--hero-title-size) * 2);
  }
}

.round-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
}

.round-link-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.45rem;
  height: 4.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.round-link-icon::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  border-top: 3px solid var(--paper);
  border-right: 3px solid var(--paper);
  transform: rotate(45deg) translate(-0.1rem, 0.1rem);
}

.round-link:hover .round-link-icon {
  transform: translateX(0.15rem);
  box-shadow: 0 0 12px 8px rgb(var(--accent-rgb) / 0.72);
}
.floating-contact-widget {
  position: fixed;
  z-index: 220;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  justify-items: end;
}

.floating-contact-trigger,
.floating-contact-card {
  grid-area: 1 / 1;
}

.floating-contact-trigger {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  padding: 0;
  color: var(--paper);
  background: var(--accent);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 1rem 2.4rem rgb(0 0 0 / 0.24);
  cursor: pointer;
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, box-shadow 180ms ease;
}

.floating-contact-trigger:hover,
.floating-contact-trigger:focus-visible {
  box-shadow: 0 0 0 0.35rem rgb(var(--accent-rgb) / 0.18), 0 1rem 2.4rem rgb(0 0 0 / 0.24);
  transform: translateY(-2px);
}

.floating-contact-trigger svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.floating-contact-widget.is-expanded .floating-contact-trigger {
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.72);
  visibility: hidden;
}

.floating-contact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(37rem, calc(100vw - 2.5rem));
  padding: 1.05rem 1.25rem;
  color: var(--ink);
  background: rgb(255 255 255 / 0.96);
  border: 1px solid rgb(7 18 40 / 0.18);
  border-radius: 0.55rem;
  box-shadow: 0 1.2rem 3rem rgb(7 18 40 / 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem) scale(0.97);
  transform-origin: right bottom;
  visibility: hidden;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.floating-contact-widget:not(.is-expanded) .floating-contact-card {
  position: absolute;
  right: 0;
  bottom: 0;
}

.floating-contact-widget.is-expanded .floating-contact-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.floating-contact-avatar {
  width: 5.1rem;
  height: 5.1rem;
  flex: 0 0 auto;
  border: 2px solid var(--accent);
  border-radius: 50%;
  overflow: hidden;
}

.floating-contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-contact-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.floating-contact-actions {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 0.45rem;
}

.floating-contact-collapse {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: var(--brand-navy);
  background: #eef4fb;
  border: 1px solid rgb(34 64 140 / 0.18);
  border-radius: 50%;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.floating-contact-collapse:hover,
.floating-contact-collapse:focus-visible {
  color: var(--paper);
  background: var(--brand-blue);
  transform: translateY(-1px);
}

.floating-contact-collapse svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.floating-contact-name {
  color: var(--accent);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.05;
}

.floating-contact-role {
  color: #071228;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.1;
}

.floating-contact-note {
  max-width: 22rem;
  color: #071228;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.15;
}

.floating-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  flex: 0 0 auto;
  padding: 0.8rem 1.15rem;
  color: var(--paper);
  background: var(--accent);
  border-radius: 0.3rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.floating-contact-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.7rem 1.5rem rgb(var(--accent-rgb) / 0.28);
}

.coverage-section {
  display: grid;
  place-items: center;
  min-height: 100svh;
  background: var(--brand-navy);
  transition: background 280ms ease, color 280ms ease;
}

.is-page-scrolled .coverage-section {
  background: var(--paper);
}

.coverage-map-panel {
  --coverage-map-inset-block: clamp(0.75rem, 2vw, 2rem);
  --coverage-map-inset-inline: clamp(0.75rem, 2vw, 2rem);

  position: relative;
  width: min(100%, calc(100svh * 1611 / 1152));
  aspect-ratio: 1611 / 1152;
  display: grid;
  place-items: center;
}

.coverage-map-image,
.coverage-zone-layer {
  position: absolute;
  top: var(--coverage-map-inset-block);
  left: var(--coverage-map-inset-inline);
  width: calc(100% - var(--coverage-map-inset-inline) - var(--coverage-map-inset-inline));
  height: calc(100% - var(--coverage-map-inset-block) - var(--coverage-map-inset-block));
}

.coverage-map-image {
  object-fit: contain;
  padding: 0;
}

.coverage-zone-layer {
  z-index: 1;
  pointer-events: none;
}

.coverage-zone-link {
  pointer-events: auto;
}

.coverage-zone-link use {
  fill: rgb(34 64 140);
  fill-opacity: 0.08;
  stroke: transparent;
  stroke-width: 5;
  transition: fill-opacity 160ms ease, stroke 160ms ease, stroke-width 160ms ease;
  transform-box: fill-box;
  transform-origin: center center;
}

.coverage-zone-link:hover use,
.coverage-zone-link:focus-visible use {
  fill-opacity: 0.24;
  stroke: rgb(34 64 140 / 0.9);
  stroke-width: 6;
}

.body-zone-cue {
  fill: rgb(34 64 140);
  fill-opacity: 0.04;
  stroke: rgb(13 47 111);
  stroke-width: 5;
  opacity: 0;
  pointer-events: none;
  paint-order: stroke fill;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  animation-name: body-zone-pulse, body-zone-pulse;
  animation-duration: 1.8s, 3.8s;
  animation-timing-function: cubic-bezier(0.16, 0.74, 0.32, 1), ease-out;
  animation-delay: 0s, calc(1.8s + var(--zone-cue-delay, 0s));
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
}

@keyframes body-zone-pulse {
  0% {
    opacity: 0;
    fill-opacity: 0;
    stroke: rgb(13 47 111 / 0);
    stroke-width: 3;
    transform: scale(0.985);
    filter: drop-shadow(0 0 0 rgb(13 47 111 / 0));
  }

  14% {
    opacity: 1;
    fill-opacity: 0.08;
    stroke: rgb(255 255 255);
    stroke-width: 7;
    transform: scale(1);
    filter:
      drop-shadow(0 0 3px rgb(255 255 255 / 0.95))
      drop-shadow(0 0 10px rgb(13 47 111 / 0.8));
  }

  48% {
    opacity: 0.94;
    fill-opacity: 0.04;
    stroke: rgb(13 47 111);
    stroke-width: 11;
    transform: scale(1.018);
    filter:
      drop-shadow(0 0 4px rgb(255 255 255 / 0.75))
      drop-shadow(0 0 16px rgb(13 47 111 / 0.82));
  }

  76% {
    opacity: 0.52;
    fill-opacity: 0.02;
    stroke: rgb(255 255 255 / 0.9);
    stroke-width: 14;
    transform: scale(1.038);
    filter: drop-shadow(0 0 18px rgb(13 47 111 / 0.58));
  }

  100% {
    opacity: 0;
    fill-opacity: 0;
    stroke: rgb(13 47 111 / 0);
    stroke-width: 17;
    transform: scale(1.055);
    filter: drop-shadow(0 0 22px rgb(13 47 111 / 0));
  }
}

@keyframes interactive-zone-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgb(235 96 49 / 0));
  }

  45% {
    fill: rgb(235 96 49 / 0.42);
    stroke: var(--accent);
    stroke-width: 8;
    filter: drop-shadow(0 0 10px rgb(235 96 49 / 0.58));
  }
}

@keyframes interactive-module-pulse {
  0%, 100% {
    fill: rgb(250 247 168 / 0.05);
    stroke: transparent;
    filter: drop-shadow(0 0 0 rgb(235 96 49 / 0));
  }

  45% {
    fill: rgb(235 96 49 / 0.3);
    stroke: var(--accent);
    stroke-width: 2.4;
    filter: drop-shadow(0 0 5px rgb(235 96 49 / 0.45));
  }
}
@keyframes coverage-zone-wave {
  0% {
    fill-opacity: 0.08;
    stroke-width: 5;
    transform: scale(1);
    stroke: rgb(34 64 140 / 0.5);
  }

  40% {
    fill-opacity: 0.12;
    stroke-width: 8;
    transform: scale(1.02);
    stroke: rgb(34 64 140 / 0.45);
  }

  80% {
    fill-opacity: 0.08;
    stroke-width: 12;
    transform: scale(1.04);
    stroke: rgb(34 64 140 / 0.25);
  }

  100% {
    fill-opacity: 0.08;
    stroke-width: 5;
    transform: scale(1);
    stroke: rgb(34 64 140 / 0.5);
  }
}

.coverage-zone-layer.is-polygon-picking {
  pointer-events: auto;
  cursor: crosshair;
}

.coverage-zone-layer.is-polygon-picking .coverage-zone-link {
  pointer-events: none;
}

.coverage-tool-preview {
  fill: rgb(var(--accent-rgb) / 0.24);
  stroke: var(--accent);
  stroke-width: 4;
  pointer-events: none;
}

.coverage-tool-line {
  fill: none;
  stroke: var(--paper);
  stroke-width: 3;
  stroke-dasharray: 10 7;
  pointer-events: none;
}

.coverage-tool-points circle {
  fill: var(--accent);
  stroke: var(--paper);
  stroke-width: 3;
  pointer-events: none;
}

.inline-polygon-tool {
  position: fixed;
  z-index: 180;
  right: clamp(0.75rem, 2vw, 1.25rem);
  bottom: 6rem;
  width: min(21rem, calc(100vw - 1.5rem));
  max-height: calc(100svh - 7.25rem);
  overflow: auto;
  padding: 0.85rem;
  color: var(--ink);
  background: rgb(255 255 255 / 0.97);
  border: 1px solid rgb(7 18 40 / 0.16);
  border-radius: 0.5rem;
  box-shadow: 0 1.4rem 3.2rem rgb(7 18 40 / 0.28);
}

.inline-polygon-tool-header,
.inline-polygon-tool-actions,
.inline-polygon-tool-grid {
  display: grid;
  gap: 0.55rem;
}

.inline-polygon-tool-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.inline-polygon-tool strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.inline-polygon-tool-header span,
.inline-polygon-hint,
.inline-polygon-tool label span {
  display: block;
  color: rgb(7 18 40 / 0.68);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.inline-polygon-hint {
  margin-top: 0.5rem;
  color: rgb(7 18 40 / 0.72);
}

.inline-polygon-tool-grid {
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 0.65rem;
}

.inline-polygon-tool label {
  display: grid;
  gap: 0.28rem;
  margin-top: 0.55rem;
}

.inline-polygon-tool input,
.inline-polygon-tool select,
.inline-polygon-tool textarea {
  width: 100%;
  min-height: 2.1rem;
  color: #071228;
  background: #f6f8fc;
  border: 1px solid rgb(34 64 140 / 0.2);
  border-radius: 0.35rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.8rem;
  line-height: 1.25;
}

.inline-polygon-tool textarea {
  height: 4.4rem;
  resize: vertical;
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
}

.inline-polygon-tool-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.65rem;
}

.inline-polygon-tool-actions-single {
  grid-template-columns: 1fr;
}

.inline-polygon-tool button {
  min-height: 2.05rem;
  border: 0;
  border-radius: 0.35rem;
  padding: 0.45rem 0.55rem;
  color: var(--paper);
  background: var(--brand-navy);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.inline-polygon-tool button:hover:not(:disabled) {
  background: var(--accent);
}

.inline-polygon-tool button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.inline-polygon-tool.is-active [data-inline-polygon-start] {
  background: var(--accent);
}

.story-section .container {
  margin-top: 8rem;
  margin-bottom: 8rem;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.78fr);
  gap: 4rem;
  align-items: start;
}

.story-grid-reverse {
  grid-template-columns: minmax(21rem, 0.78fr) minmax(0, 1fr);
}

.image-stack {
  position: relative;
  min-height: 42rem;
}

.story-image-main {
  position: relative;
  z-index: 1;
  width: min(42.75rem, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6rem;
}

.story-image-small {
  position: absolute;
  z-index: 3;
  width: 15.5rem;
  height: 15.5rem;
  object-fit: cover;
  border-radius: 3.2rem;
  box-shadow: -4px -4px 11px -8px rgb(0 0 0 / 0.2);
}

.story-image-small-right {
  top: 15.5rem;
  left: min(27rem, 58%);
}

.story-image-small-left {
  top: 15.2rem;
  left: -1.1rem;
}

.decorative-ring {
  position: absolute;
  z-index: 0;
  top: 13.5rem;
  left: -2.5rem;
  width: 38.75rem;
  max-width: 92%;
}

.image-stack-right .decorative-ring {
  left: 0;
}

.story-copy {
  max-width: 26rem;
  margin-top: 4.6rem;
}

.story-copy p {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.story-section-second .story-copy {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.story-section-second {
  margin-top: 0;
  padding-top: 8rem;
  padding-bottom: 7rem;
  background: var(--paper);
}

.story-section-second .container {
  margin-top: 0;
}

.story-section-second h2,
.story-section-second p,
.story-section-second .quote-line {
  color: var(--ink);
}

.story-section-second .quote-line span {
  border-left-color: var(--ink);
}

.story-page-hero {
  margin-top: -6.25rem;
  padding-top: 10.25rem;
  padding-bottom: 5.8rem;
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
}

.story-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(26rem, 1fr);
  gap: 4rem;
  align-items: center;
}

.story-page-kicker {
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.story-page-hero h1 {
  max-width: 45rem;
  color: var(--accent);
  font-size: 5rem;
}

.story-page-hero p {
  max-width: 34rem;
  margin-top: 1.8rem;
  color: var(--ink);
  font-size: 1.2rem;
}

.story-page-hero .round-link {
  color: var(--ink);
}

.story-page-media {
  position: relative;
  min-height: 35rem;
}

.story-page-media-main {
  width: min(40rem, 100%);
  aspect-ratio: 1 / 1;
  margin-left: auto;
  object-fit: cover;
  border-radius: 6rem;
}

.story-page-media-small {
  position: absolute;
  right: min(27rem, 58%);
  bottom: 2.5rem;
  width: 17.25rem;
  height: 6.75rem;
  object-fit: cover;
  border: 3px solid var(--brand-blue);
  border-radius: 999px;
  box-shadow: 0 1.2rem 2.5rem rgb(0 0 0 / 0.18);
}

.story-page-intro {
  padding-bottom: 5rem;
}

.story-page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.75fr);
  gap: 4rem;
  align-items: start;
}

.story-page-text {
  max-width: 50rem;
}

.story-page-text p {
  margin-top: 1.8rem;
}

.story-page-text .quote-line {
  max-width: 38rem;
  margin-top: 2rem;
}

.story-stat-grid {
  display: grid;
  gap: 1.2rem;
}

.story-stat {
  display: grid;
  gap: 0.7rem;
  min-height: 9rem;
  padding: 1.4rem;
  color: var(--ink);
  background: var(--paper);
  border-top-right-radius: 4rem;
  border-bottom-right-radius: 4rem;
}

.story-stat strong {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
}

.story-stat span {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.story-timeline-section {
  margin-top: 0;
  padding-top: 6rem;
  padding-bottom: 6rem;
  color: var(--ink);
  background: var(--paper);
}

.story-timeline-section h2 {
  max-width: 42rem;
  color: var(--ink);
}

.story-timeline {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.4rem;
}

.story-timeline-item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.6rem 0;
  border-top: 1px solid rgb(34 64 140 / 0.18);
}

.story-timeline-item:last-child {
  border-bottom: 1px solid rgb(34 64 140 / 0.18);
}

.story-timeline-item > span {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.9;
}

.story-timeline-item h3 {
  color: var(--ink);
  font-size: 2rem;
}

.story-timeline-item p {
  max-width: 52rem;
  margin-top: 0.7rem;
  color: var(--ink);
}

.story-cta-section {
  margin-top: 0;
  padding: 6rem 0;
  background: var(--brand-navy);
}

.story-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 0.45fr);
  gap: 3rem;
  align-items: end;
}

.story-cta p {
  margin-top: 1.2rem;
}

.story-cta .round-link {
  justify-self: end;
  margin-top: 0;
}

.quote-line {
  display: flex;
  align-items: stretch;
  gap: 0.7rem;
  color: var(--paper);
  font-size: 1.1rem;
  line-height: 1.35;
}

.quote-line span {
  width: 1px;
  border-left: 1px solid var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.1rem;
}

.process-card {
  min-height: 18rem;
  padding: 2rem;
  color: var(--ink);
  background: var(--paper);
  border-top-right-radius: 6.25rem;
  border-bottom-right-radius: 6.25rem;
}

.process-number {
  display: block;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 6.25rem;
  font-weight: 800;
  line-height: 0.85;
}

.process-card h3 {
  margin-top: 1.3rem;
  color: var(--ink);
  font-size: 1.65rem;
}

.process-card p {
  margin-top: 1.2rem;
  color: var(--ink);
  font-size: 1rem;
}

.logo-carousel-section {
  margin-top: 0;
  padding: 4rem 0 4.7rem;
  background: var(--paper);
  overflow: hidden;
}

.logo-carousel-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 2.4rem;
  animation: logo-carousel 38s linear infinite;
}

.logo-carousel-track:hover {
  animation-play-state: paused;
}

.partner-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(11rem, 16vw, 16rem);
  height: clamp(8rem, 10vw, 10rem);
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  overflow: visible;
}

.partner-logo-card img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.process-section-lower {
  margin-top: 7rem;
  padding-bottom: 5.5rem;
}

.process-section-lower + .deals-section {
  margin-top: 0;
}

.deals-section {
  margin-top: -4.8rem;
  padding-top: 7.8rem;
  padding-bottom: 6rem;
  color: var(--ink);
  background: var(--paper);
}

.deals-container {
  padding-right: 0;
}

.deals-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-right: var(--side);
  margin-bottom: 2rem;
}

.deals-topbar h2,
.partners-section h2 {
  color: var(--ink);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.slider-button {
  position: relative;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.slider-button::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 54%;
  width: 0.85rem;
  height: 0.85rem;
  border-top: 3px solid var(--paper);
  border-left: 3px solid var(--paper);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.slider-button-next::before {
  left: 46%;
  border-top: 3px solid var(--paper);
  border-left: 0;
  border-right: 3px solid var(--paper);
  transform: translate(-50%, -50%) rotate(45deg);
}

.slider-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px 6px rgb(var(--accent-rgb) / 0.45);
}

.deal-track {
  display: flex;
  gap: 2.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  padding-bottom: 1.2rem;
  padding-right: var(--side);
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgb(0 0 0 / 0.15);
}

.deal-card {
  display: flex;
  flex: 0 0 20.5rem;
  min-height: 39.75rem;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  scroll-snap-align: start;
  color: var(--paper);
  background: var(--ink);
  border-top-right-radius: 5rem;
  border-bottom-right-radius: 5rem;
}

.deal-card img {
  width: 100%;
  height: 16.8rem;
  object-fit: cover;
  border-top-right-radius: 5rem;
}

.deal-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
}

.deal-card h3 {
  color: var(--paper);
  font-size: 1.65rem;
}

.deal-card p {
  margin-top: 1.25rem;
  color: var(--paper);
  font-size: 1rem;
}

.small-link {
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: 1rem;
}

.small-link .round-link-icon {
  width: 3rem;
  height: 3rem;
}

.small-link .round-link-icon::before {
  width: 0.8rem;
  height: 0.8rem;
  border-width: 2px;
}

.partners-section {
  margin-top: 0;
  padding-top: 6rem;
  padding-bottom: 6rem;
  color: var(--ink);
  background: var(--paper);
}

.map-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42rem;
  margin-top: 2rem;
}

.partner-map {
  width: min(70rem, 100%);
  border-radius: 40rem;
}

.map-pin {
  position: absolute;
  width: 1.6rem;
  height: 1.6rem;
  border: 0;
  border-radius: 50%;
  background: rgb(var(--accent-rgb) / 0.32);
  transform: translate(-50%, -50%);
}

.map-pin::before {
  content: "";
  position: absolute;
  inset: 0.18rem;
  border: 0.3rem solid var(--accent-deep);
  border-radius: inherit;
  background: var(--accent);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.map-pin:hover::before,
.map-pin.is-active::before,
.map-pin:focus-visible::before {
  transform: scale(1.2);
  box-shadow: 0 0 0 0.35rem rgb(var(--accent-rgb) / 0.26);
}

.pin-czech { top: 52%; left: 47%; }
.pin-germany { top: 50%; left: 40%; }
.pin-serbia { top: 67%; left: 55%; }
.pin-estonia { top: 29%; left: 59%; }
.pin-hungary { top: 57%; left: 53%; }
.pin-baltics { top: 36%; left: 58%; }
.pin-romania { top: 65%; left: 63%; }
.pin-ukraine { top: 51%; left: 69%; }
.pin-bulgaria { top: 74%; left: 61%; }
.pin-slovenia { top: 61%; left: 46%; }
.pin-bosnia { top: 66%; left: 49%; }
.pin-croatia { top: 63%; left: 48%; }
.pin-albania { top: 77%; left: 52%; }
.pin-italy { top: 70%; left: 38%; }
.pin-scandinavia { top: 19%; left: 46%; }
.pin-japan { top: 58%; left: 84%; }

.partner-popover {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 50%;
  display: none;
  width: min(28rem, 92%);
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border-radius: 4rem;
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 0.25);
  transform: translate(-50%, -50%);
}

.partner-popover.is-visible {
  display: grid;
  grid-template-columns: 11rem 1fr;
}

.partner-popover img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.partner-popover div {
  padding: 1.4rem;
}

.partner-popover h3,
.partner-card h3 {
  color: var(--ink);
  font-size: 1.45rem;
}

.partner-popover p,
.partner-card p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.partner-popover .partner-name,
.partner-card .partner-name {
  margin: 0.75rem 0 1rem;
  color: #555;
  font-weight: 700;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.1rem;
  margin-top: 3.5rem;
}

.partner-card {
  display: grid;
  grid-template-columns: 14rem 1fr;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border-radius: 4rem;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08);
}

.partner-card img {
  width: 100%;
  height: 100%;
  min-height: 19rem;
  object-fit: cover;
}

.partner-card div {
  padding: 1.5rem;
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 2.2rem;
}

.section-heading h2,
.section-heading p,
.platform-hero h1,
.platform-hero p,
.feature-card h3,
.feature-card p,
.project-card h3,
.project-card p,
.space-detail h3,
.space-detail h4,
.space-detail p,
.space-detail li,
.space-select-card,
.selector-filters,
.tour-placeholder,
.meta-grid,
.feature-body {
  color: var(--ink);
}

.section-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.section-heading p:not(.section-eyebrow) {
  max-width: 44rem;
  margin-top: 1rem;
}

.platform-hero {
  margin-top: -6.25rem;
  padding-top: 10rem;
  padding-bottom: 5.5rem;
  background: var(--paper);
}

.platform-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 0.75fr);
  gap: 4rem;
  align-items: center;
}

.platform-hero h1 {
  max-width: 44rem;
  color: var(--accent);
  font-size: 5rem;
}

.platform-hero p:not(.section-eyebrow) {
  max-width: 36rem;
  margin-top: 1.3rem;
  font-size: 1.2rem;
}

.platform-hero .round-link {
  color: var(--ink);
}

.platform-hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5rem;
}

.platform-preview-section,
.platform-list-section,
.projects-preview-section,
.projects-list-section,
.selector-section {
  color: var(--ink);
  background: var(--paper);
}

.platform-preview-section,
.projects-preview-section,
.platform-list-section,
.projects-list-section {
  margin-top: 0;
  padding: 5.5rem 0;
}

.platform-preview-section .round-link,
.projects-preview-section .round-link {
  color: var(--ink);
}

.feature-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card,
.project-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgb(34 64 140 / 0.16);
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2.2rem rgb(0 0 0 / 0.06);
}

.feature-card img,
.project-card img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
}

.feature-card-copy,
.project-card-copy {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.feature-card h3,
.project-card h3,
.space-detail h3 {
  font-size: 1.7rem;
}

.feature-card p,
.project-card p,
.space-detail p,
.space-detail li,
.selector-filters,
.space-select-card small,
.meta-grid dd,
.meta-grid dt {
  font-size: 1rem;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--paper);
  background: var(--brand-navy);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
}

.feature-body {
  opacity: 0.78;
}

.spaces-preview-section {
  margin-top: 0;
  padding: 5.5rem 0;
  color: var(--ink);
  background: #eef4fb;
}

.spaces-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(22rem, 1fr);
  gap: 3rem;
  align-items: start;
}

.spaces-preview-section .round-link {
  color: var(--ink);
}

.space-mini-list {
  display: grid;
  gap: 1rem;
}

.space-mini-item {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgb(34 64 140 / 0.12);
  border-radius: 0.5rem;
}

.space-mini-item img {
  width: 9rem;
  height: 6rem;
  object-fit: cover;
  border-radius: 0.35rem;
  grid-row: span 2;
}

.space-mini-item span {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
}

.space-mini-item small {
  color: #526179;
}

.project-grid-preview .project-card {
  min-height: 100%;
}

.selector-section {
  margin-top: 0;
  padding: 5.5rem 0;
}

.selector-layout {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.selector-filters {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: #eef4fb;
  border: 1px solid rgb(34 64 140 / 0.14);
  border-radius: 0.5rem;
}

.selector-filters label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.selector-filters input,
.selector-filters select {
  width: 100%;
  min-height: 2.8rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgb(34 64 140 / 0.18);
  border-radius: 0.45rem;
  padding: 0.7rem;
}

.button-light {
  width: 100%;
  color: var(--paper);
  background: var(--brand-navy);
}

.space-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.space-select-card {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  text-align: left;
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.8rem 1.8rem rgb(0 0 0 / 0.06);
  transition: border-color 160ms ease, transform 160ms ease;
}

.space-select-card:hover,
.space-select-card.is-selected {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.space-select-card img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

.space-select-card span,
.space-select-card small,
.space-select-card strong {
  padding-inline: 1rem;
}

.space-select-card span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.space-select-card strong {
  padding-bottom: 1rem;
  color: var(--accent);
  font-size: 1.15rem;
}

.space-select-card em {
  width: fit-content;
  margin: -0.65rem 1rem 1rem;
  padding: 0.32rem 0.55rem;
  color: var(--brand-navy);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: rgb(var(--accent-rgb) / 0.16);
  border-radius: 999px;
}

.selector-empty {
  color: var(--ink);
}

.space-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.9fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgb(34 64 140 / 0.16);
}

.space-detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.5rem;
}

.space-plan-link {
  position: relative;
  display: block;
  margin-top: 1rem;
  overflow: hidden;
  color: var(--paper);
  background: #0d1731;
  border-radius: 0.5rem;
}

.space-plan-link img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 0.9;
}

.space-plan-link span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgb(7 18 40 / 0.82);
  border-radius: 999px;
}

.space-detail-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.space-detail-copy .round-link {
  color: var(--ink);
}

.space-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
}

.meta-grid div {
  padding: 0.8rem;
  background: #eef4fb;
  border-radius: 0.45rem;
}

.meta-grid dt {
  color: #526179;
  font-weight: 700;
}

.meta-grid dd {
  margin: 0.25rem 0 0;
  font-weight: 800;
}

.feature-list {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.1rem;
  margin: 0;
}

.virtual-tour-section {
  margin-top: 0;
  padding: clamp(2.5rem, 4vw, 3.5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  background: var(--paper);
  border-top: 1px solid rgb(34 64 140 / 0.12);
}

.tour-frame {
  min-height: 28rem;
  margin-top: 1.5rem;
  background: #0d1731;
  border-radius: 0.5rem;
  overflow: hidden;
}

.tour-frame iframe {
  display: block;
  width: 100%;
  min-height: 28rem;
  border: 0;
}

.tour-placeholder {
  min-height: 28rem;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.8rem;
  padding: 2rem;
  text-align: center;
  color: var(--paper);
}

.tour-placeholder strong,
.tour-placeholder p {
  color: var(--paper);
}

.tour-placeholder .round-link {
  color: var(--paper);
}

.tour-placeholder strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-transform: uppercase;
}

.tour-frame-360 {
  width: min(100%, 68rem);
  margin-inline: auto;
  min-height: 0;
  background: #071228;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1.4rem 3.2rem rgb(7 18 40 / 0.22);
}

.tour360 {
  display: grid;
  color: var(--paper);
  background: #071228;
}

.tour360-viewer {
  position: relative;
  height: clamp(24rem, 50svh, 30rem);
  min-height: 0;
  overflow: hidden;
  background: #071228;
  cursor: grab;
  touch-action: none;
}

.tour360-viewer.is-dragging {
  cursor: grabbing;
}

.tour360-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #071228;
  opacity: 0;
  transition: filter 180ms ease, opacity 180ms ease;
}

.tour360.is-webgl-ready .tour360-canvas {
  opacity: 1;
}

.tour360.is-changing .tour360-canvas {
  filter: blur(2px);
  opacity: 0.72;
}

.tour360.is-fallback .tour360-canvas {
  display: none;
}

.tour360-vignette {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(7 18 40 / 0.34), transparent 35%, rgb(7 18 40 / 0.72)),
    radial-gradient(circle at 50% 48%, transparent 0 42%, rgb(7 18 40 / 0.28) 100%);
}

.tour360-loading {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: rgb(7 18 40 / 0.72);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tour360-loading[hidden] {
  display: none;
}

.tour360-badge {
  position: absolute;
  z-index: 4;
  left: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.25rem;
  max-width: min(28rem, calc(100% - 2rem));
  padding: 0.8rem 1rem;
  color: var(--paper);
  background: rgb(7 18 40 / 0.78);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 0.45rem;
  backdrop-filter: blur(14px);
}

.tour360-badge span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.tour360-badge strong {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  line-height: 0.95;
  text-transform: uppercase;
}


.tour360-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.tour360-control {
  min-height: 2.65rem;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  color: var(--paper);
  background: rgb(255 255 255 / 0.08);
  padding: 0.72rem 1rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.tour360-control-icon {
  width: 2.65rem;
  flex: 0 0 2.65rem;
  padding-inline: 0;
  font-size: 1.25rem;
}

.tour360-control-primary {
  background: var(--accent);
  border-color: var(--accent);
}

.tour360-control:hover {
  transform: translateY(-1px);
  background: rgb(255 255 255 / 0.16);
}

.tour360-control-primary:hover {
  background: var(--accent);
}

.tour360-strip {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  /* Top padding leaves room for the lifted hover/active card so its border is not clipped. */
  padding: 0.3rem 1rem 1rem;
  scrollbar-color: var(--accent) rgb(255 255 255 / 0.12);
}

.tour360-stop {
  display: grid;
  gap: 0.55rem;
  width: min(15.5rem, 62vw);
  flex: 0 0 auto;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 0.45rem;
  color: var(--paper);
  background: rgb(255 255 255 / 0.07);
  padding: 0 0 0.85rem;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.tour360-stop img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  border-radius: 0;
}

.tour360-stop span {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 2.4rem;
  box-sizing: border-box;
  /* Keeps the label clear of the large rounded corners from --media-radius. */
  padding-inline: 1.6rem;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
}

.tour360-stop:hover,
.tour360-stop.is-active {
  border-color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.18);
  transform: translateY(-1px);
}

@keyframes tour360-pulse {
  0%, 100% {
    opacity: 0.35;
    transform: translate(-50%, -50%) scale(0.92);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.06);
  }
}
.space-page-hero {
  margin-top: -6.5rem;
  padding: 10rem 0 5.5rem;
  background: #eef4fb;
}

.space-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(22rem, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.space-page-copy {
  display: grid;
  gap: 1.1rem;
}

.text-link {
  width: fit-content;
  color: var(--brand-blue);
  font-weight: 900;
  text-transform: uppercase;
}

.space-page-copy h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 0.85;
  color: var(--accent);
}

.space-page-copy > p:not(.section-eyebrow) {
  margin: 0;
  color: var(--brand-blue);
  font-weight: 700;
}

.space-page-hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.5rem;
}

.space-page-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
}

.space-page-metrics div {
  padding: 0.9rem;
  background: var(--paper);
  border-radius: 0.5rem;
}

.space-page-metrics dt {
  color: #526179;
  font-weight: 800;
}

.space-page-metrics dd {
  margin: 0.25rem 0 0;
  font-weight: 900;
  color: var(--brand-blue);
}

.space-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.round-link.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.space-page-section {
  padding: 5rem 0;
}

.space-page-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(22rem, 1fr);
  gap: 2rem;
  align-items: start;
}

.space-page-plan a,
.space-page-empty {
  display: grid;
  min-height: 22rem;
  place-items: center;
  overflow: hidden;
  color: var(--paper);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  background: #0d1731;
  border-radius: 0.5rem;
}

.space-page-plan img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.warehouse-specs-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6.5rem);
  color: var(--paper);
  background: var(--brand-navy);
}

.warehouse-specs-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.6fr);
  gap: 1rem 3rem;
  align-items: end;
  max-width: 70rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.warehouse-specs-heading .section-eyebrow {
  grid-column: 1 / -1;
  color: var(--accent);
}

.warehouse-specs-heading h2,
.warehouse-specs-heading p {
  margin: 0;
  color: var(--paper);
}

.warehouse-specs-heading h2 {
  max-width: 15ch;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 0.95;
}

.warehouse-specs-action {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 0.25rem;
}

.warehouse-presentation-button,
.site-property-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.warehouse-presentation-button {
  width: auto;
  min-width: min(100%, 20rem);
  color: var(--paper);
}

body:not([data-cms-preview="true"]) .warehouse-presentation-button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.65;
  pointer-events: none;
}

.warehouse-story {
  --story-duration: 7000ms;
  position: relative;
  max-width: 43rem;
  margin-inline: auto;
}

.warehouse-story-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.warehouse-story-progress button {
  position: relative;
  height: 0.28rem;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.22);
}

.warehouse-story-progress button span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

.warehouse-story-progress button[aria-current="true"] span {
  width: 100%;
}

.warehouse-story-progress button.is-active span {
  animation: warehouse-story-progress var(--story-duration) linear both;
}

.warehouse-story-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 0.55rem;
  box-shadow: 0 1.8rem 4rem rgb(0 0 0 / 0.28);
}

.warehouse-story-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  animation: warehouse-story-reveal 360ms ease both;
}

.warehouse-story-slide[hidden] {
  display: none;
}

.warehouse-story-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.warehouse-story-slide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 2.8rem 1.25rem 1.1rem;
  color: var(--paper);
  background: linear-gradient(transparent, rgb(7 18 40 / 0.84));
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.2vw, 1.55rem);
  font-weight: 800;
}

.warehouse-story-slide figcaption span {
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.warehouse-story-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.warehouse-story-controls button {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 50%;
  color: var(--paper);
  background: transparent;
  font-size: 1.2rem;
}

.warehouse-story-controls button:hover,
.warehouse-story-controls button:focus-visible {
  color: var(--brand-navy);
  background: var(--accent);
  border-color: var(--accent);
}

.warehouse-story-controls span {
  min-width: 3.8rem;
  color: rgb(255 255 255 / 0.72);
  font-weight: 800;
  text-align: center;
}

@keyframes warehouse-story-progress {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes warehouse-story-reveal {
  from { opacity: 0; transform: scale(1.01); }
  to { opacity: 1; transform: scale(1); }
}

.contact-section {
  margin-top: 0;
  padding: 6rem 0;
  background: var(--brand-navy);
}

.contact-section h2 {
  margin-bottom: 2.7rem;
  font-size: 2.6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(20rem, 0.9fr);
  gap: 3rem;
}

.contact-form {
  width: 100%;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-row {
  display: flex;
  gap: 2rem;
}

.contact-form label {
  display: block;
  width: 100%;
}

.contact-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 2rem;
  padding: 1.55rem 1.4rem;
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--paper);
  border-radius: 0.55rem;
  transition: background 160ms ease, border-color 160ms ease;
}

.contact-form .checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-form .checkbox-field input {
  width: auto;
  margin: 0.2rem 0 0;
}

.contact-form .checkbox-field span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
  color: var(--paper);
  font-size: 0.95rem;
  line-height: 1.35;
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--paper);
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgb(255 255 255 / 0.08);
}

.classic-button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  padding: 1rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.classic-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgb(0 0 0 / 0.15);
}

.form-status {
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid var(--paper);
  border-radius: 0.2rem;
}

.contact-copy h3 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-person img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 50%;
}

.contact-person h4 {
  font-size: 1.15rem;
}

.contact-person p {
  font-size: 1rem;
}

.site-footer {
  color: var(--ink);
  background: var(--paper);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
}

.footer-logo {
  width: auto;
  height: 4.2rem;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-links a {
  color: var(--ink);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--paper);
  background: var(--brand-navy);
  border-radius: 50%;
  font-weight: 800;
}

.chatbot-widget {
  position: fixed;
  z-index: 230;
  right: 1.25rem;
  bottom: 6rem;
  transition: bottom 220ms ease;
}

body.has-expanded-floating-contact .chatbot-widget {
  bottom: 10rem;
}

.chatbot-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 0;
  border-radius: 50%;
  color: var(--paper);
  background: var(--accent);
  box-shadow: 0 1rem 2.4rem rgb(0 0 0 / 0.24);
  cursor: pointer;
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, box-shadow 180ms ease;
}

.chatbot-widget.is-open .chatbot-toggle {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.72);
  visibility: hidden;
}

.chatbot-toggle.has-notification::after {
  position: absolute;
  top: 0.15rem;
  right: 0.15rem;
  width: 0.8rem;
  height: 0.8rem;
  content: "";
  background: #ff3b30;
  border: 2px solid var(--paper);
  border-radius: 50%;
}

.chatbot-greeting {
  position: absolute;
  right: 4.8rem;
  bottom: 0.25rem;
  display: grid;
  gap: 0.15rem;
  width: min(18rem, calc(100vw - 6.8rem));
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgb(34 64 140 / 0.18);
  border-radius: 0.55rem;
  box-shadow: 0 1rem 2.4rem rgb(0 0 0 / 0.2);
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translateY(0.5rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.chatbot-greeting::after {
  position: absolute;
  right: -0.45rem;
  bottom: 1.25rem;
  width: 0.8rem;
  height: 0.8rem;
  content: "";
  background: var(--paper);
  border-top: 1px solid rgb(34 64 140 / 0.18);
  border-right: 1px solid rgb(34 64 140 / 0.18);
  transform: rotate(45deg);
}

.chatbot-greeting strong {
  color: var(--brand-blue);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.chatbot-greeting span {
  color: #526179;
  font-size: 0.86rem;
  line-height: 1.35;
}

.chatbot-greeting.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chatbot-toggle svg {
  width: 2.1rem;
  height: 2.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 5rem;
  width: min(24rem, calc(100vw - 2rem));
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgb(34 64 140 / 0.16);
  border-radius: 0.5rem;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem) scale(0.97);
  transform-origin: right bottom;
  visibility: hidden;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.chatbot-widget.is-open .chatbot-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: var(--paper);
  background: var(--brand-navy);
}

.chatbot-header h2 {
  color: var(--paper);
  font-size: 1.5rem;
}

.chatbot-header p {
  margin-top: 0.4rem;
  color: var(--paper);
  font-size: 0.95rem;
}

.chatbot-close {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: 50%;
  color: var(--paper);
  background: transparent;
}

.chatbot-unlock {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid rgb(34 64 140 / 0.12);
}

.chatbot-unlock[hidden] {
  display: none;
}

.chatbot-unlock p,
.chatbot-unlock small {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.chatbot-unlock > p {
  color: var(--brand-navy);
}

.chatbot-unlock label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
}

.chatbot-unlock input {
  width: 100%;
  min-height: 2.7rem;
  color: var(--ink);
  border: 1px solid rgb(34 64 140 / 0.18);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
}

.chatbot-unlock button {
  min-height: 2.7rem;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  background: var(--accent);
  padding: 0.7rem 0.95rem;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
}

.chatbot-unlock small.is-error {
  color: #b42318;
}

.chatbot-messages {
  display: grid;
  gap: 0.6rem;
  max-height: 21rem;
  overflow-y: auto;
  padding: 1rem;
}

.chatbot-messages[hidden] {
  display: none;
}

.chatbot-quick,
.chatbot-message {
  padding: 0.7rem 0.8rem;
  border-radius: 0.5rem;
}

.chatbot-quick {
  color: var(--ink);
  text-align: left;
  background: #eef4fb;
  border: 1px solid rgb(34 64 140 / 0.12);
}

.chatbot-message {
  max-width: 88%;
  background: #eef4fb;
}

.chatbot-message-user {
  justify-self: end;
  color: var(--paper);
  background: var(--brand-navy);
}

.chatbot-message p {
  color: inherit;
  font-size: 0.95rem;
}

.chatbot-message a {
  display: inline-flex;
  margin-top: 0.45rem;
  color: var(--accent);
  font-weight: 800;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid rgb(34 64 140 / 0.12);
}

.chatbot-form[hidden] {
  display: none;
}

.chatbot-form input {
  width: 100%;
  min-height: 2.7rem;
  color: var(--ink);
  border: 1px solid rgb(34 64 140 / 0.18);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
}

.chatbot-form button {
  min-height: 2.7rem;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  background: var(--accent);
  padding: 0.7rem 0.95rem;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

@keyframes logo-carousel {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1200px) {
  :root {
    --side: 3rem;
  }

  .floating-contact-card {
    width: min(34rem, calc(100vw - 2.5rem));
  }

  h1,
  .hero-title-line {
    font-size: 5.3rem;
  }

  .hero-inline-image {
    width: 13rem;
    height: 5.2rem;
  }

  .story-grid,
  .story-grid-reverse {
    gap: 2.5rem;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  h1,
  .hero-title-line {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .floating-contact-card {
    width: min(30rem, calc(100vw - 2rem));
    padding: 0.9rem 1rem;
  }

  .floating-contact-avatar {
    width: 4.2rem;
    height: 4.2rem;
  }

  .floating-contact-button {
    padding-inline: 0.9rem;
  }

  .hero-desktop {
    display: none;
  }

  .hero-mobile {
    display: block;
    container-type: inline-size;
  }

  .hero-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-mobile-row {
    flex-direction: row;
    align-items: center;
  }

  .hero-mobile-image {
    width: min(33rem, 100%);
    height: 8rem;
    object-fit: cover;
    border-radius: 999px;
  }

  .hero-mobile-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 2rem;
    margin-top: 2rem;
    text-align: right;
  }

  .story-grid,
  .story-grid-reverse {
    grid-template-columns: 1fr;
  }

  .story-page-hero-grid,
  .story-page-intro-grid,
  .story-cta,
  .platform-hero-grid,
  .spaces-preview-grid,
  .space-detail,
  .space-page-hero-grid,
  .space-page-detail-grid {
    grid-template-columns: 1fr;
  }

  .story-page-hero h1 {
    font-size: 4rem;
  }

  .platform-hero h1 {
    font-size: 4rem;
  }

  .platform-hero-image {
    border-radius: 4rem;
  }

  .feature-grid,
  .project-grid,
  .space-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selector-layout {
    grid-template-columns: 1fr;
  }

  .selector-filters {
    position: static;
  }

  .story-page-media {
    min-height: 30rem;
  }

  .story-page-media-main {
    width: min(34rem, 100%);
    margin-inline: auto;
  }

  .story-page-media-small {
    right: auto;
    left: 0;
  }

  .story-cta .round-link {
    justify-self: start;
  }

  .story-grid-reverse .story-copy {
    order: 2;
  }

  .story-grid-reverse .image-stack {
    order: 1;
  }

  .image-stack {
    min-height: 36rem;
  }

  .story-image-main {
    width: min(38rem, 92%);
    margin-inline: auto;
  }

  .story-image-small-right {
    left: 58%;
  }

  .story-copy {
    max-width: 42rem;
    margin-top: 1rem;
  }

  .map-wrap {
    min-height: 32rem;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .tour360-viewer {
    min-height: 24rem;
    aspect-ratio: 3 / 4;
  }

  .tour360-badge {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
  }


  .tour360-toolbar {
    justify-content: stretch;
  }

  .tour360-control {
    flex: 1 1 0;
    padding-inline: 0.7rem;
  }

  .tour360-control-icon {
    flex: 0 0 2.65rem;
    padding-inline: 0;
  }

  :root {
    --side: 2rem;
  }

  .site-header {
    height: 5.5rem;
  }

  .site-header.is-scrolled,
  .site-header.nav-open {
    background:
      radial-gradient(
        ellipse 24rem 11rem at calc(var(--side) + 3.7rem) 50%,
        var(--paper) 0 12%,
        rgb(255 255 255 / 0.84) 24%,
        rgb(82 126 184 / 0.55) 45%,
        rgb(34 64 140 / 0.92) 76%
      ),
      linear-gradient(rgb(34 64 140 / 0.92), rgb(34 64 140 / 0.92));
    background-color: rgb(255 255 255 / 0);
  }

  .brand {
    width: 7.4rem;
    height: 4.6rem;
    padding: 0;
  }

  .logo {
    width: 6.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: var(--side);
    right: var(--side);
    display: grid;
    gap: 0;
    padding: 1rem;
    border-radius: 2rem;
    background: var(--brand-blue);
    transform: translateY(-0.8rem);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav > a {
    padding: 1rem;
    font-size: 1.2rem;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
    margin: 0.8rem 0 0;
  }

  .language-option {
    flex: 1;
    justify-content: center;
  }

  .floating-contact-widget {
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .coverage-section {
    min-height: auto;
    padding: 2rem 0;
  }

  .coverage-map-panel {
    --coverage-map-inset-block: 0rem;
    --coverage-map-inset-inline: 0.7rem;

    height: auto;
    aspect-ratio: 1611 / 1152;
  }

  /* The phone hero fills the first screen so the next section stays below the fold. */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100lvh;
    margin-top: -5.5rem;
    padding-top: 8rem;
    padding-bottom: 5.75rem;
  }

  .hero-stage,
  .hero-mobile {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
  }

  .story-page-hero {
    margin-top: -5.5rem;
    padding-top: 8.4rem;
    padding-bottom: 4rem;
  }

  .platform-hero {
    margin-top: -5.5rem;
    padding-top: 8.4rem;
    padding-bottom: 4rem;
  }


  .space-page-hero {
    margin-top: -5.5rem;
    padding-top: 8.4rem;
    padding-bottom: 4rem;
  }

  h1,
  .hero-title-line {
    font-size: 3.05rem;
  }

  .story-page-hero h1 {
    font-size: 3.05rem;
  }

  .platform-hero h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 1.9rem;
  }

  .hero-mobile-bottom {
    min-height: 15rem;
    flex-direction: column;
    align-items: flex-end;
  }

  .hero-mobile-bottom .hero-announcement,
  .hero-mobile-bottom .round-link {
    margin-top: auto;
  }

  .hero-mobile-bottom .hero-announcement {
    width: 100%;
  }

  .hero-announcement-link,
  .hero-announcement-track {
    min-height: 7rem;
  }

  .hero-announcement-item strong {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero-announcement-item em {
    font-size: 1.25rem;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1.05rem;
  }

  .hero-mobile .hero-title-line {
    white-space: nowrap;
  }

  .hero-mobile > .hero-line:nth-child(1) .hero-title-line {
    font-size: clamp(1.4rem, 14cqw, 4.7rem);
  }

  .hero-mobile > .hero-line:nth-child(2) .hero-title-line {
    font-size: clamp(1.5rem, 14.8cqw, 5rem);
  }

  .hero-mobile > .hero-line:nth-child(3) .hero-title-line {
    font-size: clamp(1.5rem, 14.8cqw, 5rem);
  }

  html[lang="en"] .hero-mobile > .hero-line:nth-child(1) .hero-title-line {
    font-size: clamp(1.5rem, 14.8cqw, 5rem);
  }

  .hero-mobile .hero-line {
    width: 100%;
    gap: 0.7rem;
    margin-top: 0;
  }

  .hero-mobile > .hero-line:nth-child(2) {
    margin-top: 0.25rem;
  }

  .hero-mobile > .hero-line:nth-child(3) {
    margin-top: 0.5rem;
  }

  .hero-mobile > .hero-line:not(.hero-mobile-row) .hero-title-line {
    display: block;
    width: 100%;
    text-align: left;
  }

  .hero-mobile .hero-mobile-image {
    width: 100%;
    height: clamp(8rem, 27svh, 15rem);
  }

  /* The inline image is taller than the title (see setupMobileHeroFit); the title is centred on it
     and the script widens the gap above line two to match. */
  .hero-mobile .hero-mobile-row {
    justify-content: space-between;
    align-items: center;
  }

  .hero-mobile-row .hero-inline-image {
    width: clamp(5.2rem, 30.9cqw, 10.7rem);
    height: clamp(2.2rem, 13cqw, 4.5rem);
    aspect-ratio: 2.375 / 1;
  }

  .hero-mobile-bottom {
    flex: 1 0 auto;
    min-height: 0;
    align-items: flex-start;
    gap: 1.75rem;
    margin-top: 1.75rem;
    text-align: left;
  }

  .hero-mobile .hero-copy {
    width: 100%;
    max-width: none;
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .image-stack {
    min-height: 27rem;
  }

  .story-page-media {
    min-height: 24rem;
  }

  .story-page-media-main {
    width: min(23.5rem, 100%);
    border-radius: 4rem;
  }

  .story-page-media-small {
    bottom: 1rem;
    width: 12rem;
    height: 4.8rem;
  }

  .story-timeline-item {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .story-stat {
    border-top-right-radius: 3rem;
    border-bottom-right-radius: 3rem;
  }

  .story-image-main {
    width: min(23.5rem, 100%);
    border-radius: 4rem;
  }

  .story-image-small {
    width: 8rem;
    height: 8rem;
    border-radius: 2rem;
  }

  .story-image-small-right {
    top: 14rem;
    left: 2rem;
  }

  .story-image-small-left {
    top: 14rem;
    left: 1.2rem;
  }

  .decorative-ring {
    top: 7rem;
    left: -1rem;
    width: 21rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .project-grid,
  .space-card-grid,
  .meta-grid,
  .space-page-metrics {
    grid-template-columns: 1fr;
  }

  .platform-preview-section,
  .projects-preview-section,
  .spaces-preview-section,
  .selector-section,
  .platform-list-section,
  .projects-list-section {
    padding: 4rem 0;
  }

  .space-mini-item {
    grid-template-columns: 1fr;
  }

  .space-mini-item img {
    width: 100%;
    height: 12rem;
    grid-row: auto;
  }

  .tour-frame,
  .tour-frame iframe,
  .tour-placeholder {
    min-height: 20rem;
  }

  .space-page-section {
    padding: 4rem 0;
  }

  .process-card {
    min-height: 15rem;
    border-top-right-radius: 5rem;
    border-bottom-right-radius: 5rem;
  }

  .logo-carousel-section {
    padding: 3rem 0 3.6rem;
  }

  .partner-logo-card {
    width: 9.5rem;
    height: 7rem;
  }

  .process-section-lower {
    margin-top: 5rem;
    padding-bottom: 4rem;
  }

  .deals-section {
    padding-top: 6rem;
  }

  .deals-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .deal-card {
    flex-basis: min(20.5rem, 84vw);
  }

  .map-wrap {
    display: none;
  }

  .partner-card {
    grid-template-columns: 1fr;
    border-radius: 3rem;
  }

  .partner-card img {
    height: 18rem;
    min-height: 0;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.8rem;
  }

  .chatbot-widget {
    right: 0.8rem;
    bottom: 5.1rem;
  }

  body.has-expanded-floating-contact .chatbot-widget {
    bottom: 7.75rem;
  }

  .chatbot-toggle,
  .floating-contact-trigger {
    width: 3.5rem;
    height: 3.5rem;
  }
}

@media (max-width: 479px) {
  :root {
    --side: 1.5rem;
  }

  body {
    font-size: 15px;
  }

  h1,
  .hero-title-line {
    font-size: 2.65rem;
  }

  .hero-inline-image {
    width: 9.5rem;
    height: 4rem;
  }

  .round-link {
    font-size: 1.05rem;
  }

  .round-link-icon {
    width: 3.5rem;
    height: 3.5rem;
  }

  .story-section .container {
    margin-top: 5rem;
    margin-bottom: 5rem;
  }

  .contact-copy h3 {
    font-size: 2rem;
  }
}


.story-section .image-stack {
  min-height: 0;
}

.story-section .story-image-main {
  width: min(42.75rem, 100%);
  aspect-ratio: 4 / 3;
  border-radius: 4rem;
}

.story-grid-reverse .story-image-main {
  margin-left: auto;
}

/* Keep tall media modules fully visible on common laptop-height viewports. */
@media (min-width: 768px) and (max-height: 900px) {
  .virtual-tour-section {
    padding-block: 1.75rem 2.25rem;
  }

  .virtual-tour-section .section-heading {
    margin-bottom: 0.75rem;
  }

  .tour-frame-360 {
    width: min(100%, 60rem);
    margin-top: 0.75rem;
  }

  .tour360-viewer {
    height: clamp(18rem, 42svh, 23rem);
  }

  .tour360-toolbar {
    gap: 0.5rem;
    padding: 0.65rem;
  }

  .tour360-control {
    min-height: 2.35rem;
    padding: 0.55rem 0.85rem;
  }

  .tour360-control-icon {
    width: 2.35rem;
    flex-basis: 2.35rem;
    padding-inline: 0;
  }

  .tour360-strip {
    gap: 0.55rem;
    padding: 0.3rem 0.75rem 0.75rem;
  }

  .tour360-stop {
    gap: 0.35rem;
    width: min(13.5rem, 42vw);
    padding-bottom: 0.7rem;
  }

  .tour360-stop span {
    min-height: 1.75rem;
    padding-inline: 1.5rem;
    font-size: 0.7rem;
  }

  .warehouse-specs-section {
    padding-block: 1.75rem 2.25rem;
  }

  .warehouse-specs-heading {
    grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.75fr);
    max-width: 58rem;
    margin-bottom: 1rem;
  }

  .warehouse-specs-heading h2 {
    max-width: 22ch;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
  }

  .warehouse-specs-action {
    align-self: end;
  }

  .warehouse-story {
    max-width: 44rem;
  }

  .warehouse-story-progress {
    margin-bottom: 0.5rem;
  }

  .warehouse-story-controls {
    margin-top: 0.65rem;
  }

  .warehouse-story-controls button {
    width: 2.4rem;
    height: 2.4rem;
  }

  .warehouse-story-slide figcaption {
    padding: 2rem 1rem 0.8rem;
  }

  .story-page-media {
    min-height: min(28rem, 58svh);
  }

  .story-page-media-main {
    width: min(34rem, 100%, 58svh);
  }

  .image-stack {
    min-height: min(34rem, 64svh);
  }

  .story-image-main {
    width: min(38rem, 92%, 64svh);
  }

  .map-wrap {
    min-height: min(30rem, 62svh);
  }

  .partner-map {
    width: min(70rem, 100%, 68svh);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}

/* ===== Spaces: city selector + configurator ===== */
.city-selector-section {
  margin-top: 0;
  padding: 5rem 0 3rem;
  background: var(--paper);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.city-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: 0.75rem;
  box-shadow: 0 0.8rem 1.8rem rgb(0 0 0 / 0.07);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.city-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 1.1rem 2.2rem rgb(0 0 0 / 0.12);
}

.city-card.is-active {
  border-color: var(--accent);
}

.city-card-image-link,
.city-card-image-select {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: transparent;
  border: 0;
}

.city-card-image-link img,
.city-card-image-select img,
.city-card-placeholder {
  display: block;
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

.city-card-placeholder {
  display: block;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
}

.city-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  padding: 1.1rem 1.2rem 1.3rem;
}

.city-card-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: var(--brand-navy);
}

.city-card-body small {
  color: #526179;
}

.city-card-location {
  min-height: 2.6rem;
}

.city-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  align-items: baseline;
  margin-top: 0.75rem;
}

.city-card-meta strong {
  color: var(--accent);
  font-size: 1.05rem;
}

.city-card-meta em {
  color: #526179;
  font-style: normal;
  font-size: 0.9rem;
}

.city-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.city-card-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.15rem;
  padding: 0.62rem 2rem;
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease;
}

.city-card-action > span:last-child {
  position: absolute;
  right: 0.72rem;
}

.city-card-action-configure {
  background: var(--accent);
}

.city-card-action-detail,
.city-card-action-choose {
  background: var(--brand-blue);
}

.city-card-action-choose {
  grid-column: 1 / -1;
  width: 100%;
}

.city-card-action:hover {
  background: var(--brand-navy);
  transform: translateY(-1px);
}

.city-card-image-link:focus-visible,
.city-card-image-select:focus-visible,
.city-card-action:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.configurator-section {
  margin-top: 0;
  padding: 1rem 0 5.5rem;
  background: var(--paper);
}

.configurator-section .text-link {
  margin-top: 0.6rem;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
}

.configurator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  gap: 1.75rem;
  align-items: start;
  margin-top: 2rem;
}

/* Until a hall is picked the panel is hidden; drop its column so cards can use the full width. */
.configurator-layout:has(> .config-panel[hidden]) {
  grid-template-columns: minmax(0, 1fr);
}

.config-halls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 21rem));
  gap: 1rem;
  justify-content: start;
  align-content: start;
}

.hall-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: 0.6rem;
  box-shadow: 0 0.6rem 1.4rem rgb(0 0 0 / 0.06);
  transition: border-color 160ms ease, transform 160ms ease;
}

.hall-card:hover,
.hall-card:focus-visible,
.hall-card.is-selected {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hall-card-image-link {
  display: block;
}

.hall-card-image-link img {
  display: block;
  width: 100%;
  height: clamp(10.5rem, 15vw, 14rem);
  object-fit: cover;
}

.hall-card-body {
  display: grid;
  gap: 0.3rem;
  flex: 1;
  width: 100%;
  padding: 0.9rem 1rem 1.1rem;
  color: inherit;
  font: inherit;
  text-align: left;
  background: transparent;
}

.hall-card-image-link:focus-visible,
.hall-card-configure:focus-visible,
.hall-card-detail:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.hall-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.hall-card-configure,
.hall-card-detail {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.62rem 2rem;
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease;
}

.hall-card-configure > span:last-child,
.hall-card-detail > span:last-child {
  position: absolute;
  right: 0.72rem;
}

.hall-card-configure {
  background: var(--accent);
}

.hall-card-detail {
  background: var(--brand-blue);
}

.hall-card-configure:hover,
.hall-card-detail:hover {
  background: var(--brand-navy);
  transform: translateY(-1px);
}

.hall-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--brand-navy);
}

.hall-card-body small {
  color: #526179;
}

.hall-card-body strong {
  color: var(--accent);
  font-size: 1.05rem;
}

.hall-card-body em {
  color: #526179;
  font-style: normal;
  font-size: 0.82rem;
}

.config-empty {
  grid-column: 1 / -1;
  color: var(--ink);
}

.config-panel {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1.1rem;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid rgb(34 64 140 / 0.16);
  border-radius: 0.75rem;
  box-shadow: 0 0.8rem 1.8rem rgb(0 0 0 / 0.08);
}

.config-panel-head {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

.config-panel-head img {
  width: 5.5rem;
  height: 4.2rem;
  object-fit: cover;
  border-radius: 0.45rem;
}

.config-panel-head h3 {
  margin: 0.1rem 0;
  font-size: 1.2rem;
  line-height: 1.05;
}

.config-panel-head p {
  margin: 0;
  font-size: 0.85rem;
  color: #526179;
}

.config-field {
  display: grid;
  gap: 0.5rem;
}

.config-field > label,
.config-field-label {
  font-weight: 700;
  color: var(--brand-navy);
}

.config-area-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}

.config-field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.config-area-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #526179;
}

.config-terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.config-term {
  padding: 0.6rem 0.4rem;
  font-weight: 800;
  color: var(--brand-navy);
  background: #eef4fb;
  border: 1px solid rgb(34 64 140 / 0.2);
  border-radius: 0.45rem;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.config-term:hover {
  border-color: var(--accent);
}

.config-term.is-active {
  color: var(--paper);
  background: var(--accent);
  border-color: var(--accent);
}

.config-summary {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-top: 0.4rem;
  border-top: 1px solid rgb(34 64 140 / 0.16);
}

.config-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.config-summary dt {
  color: #526179;
  font-weight: 700;
}

.config-summary dd {
  margin: 0;
  font-weight: 800;
  color: var(--brand-navy);
}

.config-summary .config-total {
  margin-top: 0.3rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgb(34 64 140 / 0.16);
}

.config-summary .config-total dt {
  color: var(--brand-navy);
  font-size: 1.05rem;
}

.config-summary .config-total dd {
  color: var(--accent);
  font-size: 1.5rem;
}

.config-note {
  margin: 0;
  font-size: 0.78rem;
  color: #526179;
}

.config-actions {
  display: grid;
  gap: 0.7rem;
}

.config-actions .round-link {
  color: var(--ink);
}

.step-section {
  transition: opacity 300ms ease;
}

.step-section.is-fade {
  opacity: 0;
}

@media (max-width: 60rem) {
  .configurator-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .config-panel {
    position: static;
  }
}

/* ===== Interactive hall and modular space selector ===== */
.selector-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 46rem;
  margin: 0 0 2.5rem;
  padding: 0;
  color: #66748a;
  list-style: none;
}

.selector-progress li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.selector-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: calc(100% - 0.2rem);
  width: 0.9rem;
  height: 2px;
  background: #cad4e0;
  transform: translateY(-50%);
}

.selector-progress li span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  color: #66748a;
  background: #e7edf4;
  border-radius: 50%;
}

.selector-progress li.is-active,
.selector-progress li.is-complete {
  color: var(--brand-navy);
}

.selector-progress li.is-active span {
  color: var(--paper);
  background: var(--accent);
  box-shadow: 0 0 0 0.35rem rgb(var(--accent-rgb) / 0.16);
}

.selector-progress li.is-complete span {
  color: var(--paper);
  background: var(--brand-blue);
}

.site-selector {
  margin-top: 2rem;
}

.site-selector-layout,
.unit-selector-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  gap: 1.75rem;
  align-items: start;
}

.unit-selector-layout {
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 1.5rem;
}

.site-map-column,
.unit-plan-column {
  min-width: 0;
}

.site-map-panel,
.unit-plan-panel {
  position: relative;
  overflow: hidden;
  background: #dce5ee;
  border: 1px solid rgb(34 64 140 / 0.16);
  border-radius: 0.9rem;
  box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 0.12);
}

.site-map-panel {
  aspect-ratio: var(--selector-aspect, 3 / 2);
}

.site-map-panel > img,
.site-map-panel > svg,
.unit-plan-stage > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site-map-panel > img {
  object-fit: fill;
}

.site-map-panel > svg,
.unit-plan-stage > svg {
  z-index: 2;
}

.unit-bay-dimensions {
  position: static;
  display: grid;
  gap: 0.12rem;
  width: max-content;
  max-width: 100%;
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.7rem;
  color: var(--paper);
  background: rgb(20 51 111 / 0.92);
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: 0.5rem;
  box-shadow: 0 0.45rem 1rem rgb(5 24 58 / 0.24);
  pointer-events: none;
}

.unit-bay-dimensions span {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-transform: uppercase;
}

.unit-bay-dimensions strong {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: clamp(0.78rem, 1.35vw, 1.05rem);
  line-height: 1.1;
}
.site-map-panel > svg.is-polygon-picking {
  z-index: 4;
  cursor: crosshair;
  pointer-events: auto;
}

.site-map-panel > svg.is-polygon-picking .site-zone {
  pointer-events: none;
}

.site-map-panel .coverage-tool-preview,
.site-map-panel .coverage-tool-line,
.site-map-panel .coverage-tool-points,
.unit-plan-panel .coverage-tool-preview,
.unit-plan-panel .coverage-tool-line,
.unit-plan-panel .coverage-tool-points {
  pointer-events: none;
}

.unit-plan-stage > svg.is-polygon-picking {
  z-index: 4;
  cursor: crosshair;
  pointer-events: auto;
}

.unit-plan-stage > svg.is-polygon-picking .unit-zone {
  pointer-events: none;
}

.site-zone polygon {
  fill: rgb(38 120 186 / 0.18);
  stroke: rgb(255 255 255 / 0.95);
  stroke-width: 5;
  stroke-dasharray: 14 9;
  vector-effect: non-scaling-stroke;
  animation: interactive-zone-pulse 3.2s ease-in-out var(--interactive-pulse-delay, 0s) infinite;
  transition: fill 180ms ease, stroke 180ms ease, filter 180ms ease;
}

.site-zone-configurable polygon {
  fill: rgb(var(--accent-rgb) / 0.22);
  stroke: var(--accent);
}

.site-zone-pipeline polygon {
  fill: rgb(38 120 186 / 0.2);
  stroke: #66b8ed;
}

.site-zone-leased polygon {
  fill: rgb(215 44 44 / 0.68);
  stroke: #a30f1b;
  animation: none;
}

.site-zone:hover polygon,
.site-zone:focus-visible polygon,
.site-zone.is-selected polygon {
  fill: rgb(var(--accent-rgb) / 0.48);
  stroke: var(--paper);
  filter: drop-shadow(0 0 12px rgb(0 0 0 / 0.45));
  animation: none;
}

.site-zone-occupied polygon,
.site-zone-occupied:hover polygon,
.site-zone-occupied:focus-visible polygon {
  fill: rgb(215 44 44 / 0.68);
  stroke: #a30f1b;
  filter: none;
  animation: none;
}

.site-zone .site-zone-sanitize-mask,
.site-zone:hover .site-zone-sanitize-mask,
.site-zone:focus-visible .site-zone-sanitize-mask,
.site-zone.is-selected .site-zone-sanitize-mask,
.site-zone-occupied .site-zone-sanitize-mask,
.site-zone-occupied:hover .site-zone-sanitize-mask,
.site-zone-occupied:focus-visible .site-zone-sanitize-mask {
  fill: rgb(238 244 251 / 0.96);
  stroke: none;
  stroke-width: 0;
  stroke-dasharray: none;
  filter: none;
  animation: none;
  transition: none;
  pointer-events: none;
}

.site-map-panel > svg.is-polygon-picking .site-zone polygon,
.site-selector.has-interactive-selection .site-zone polygon {
  animation: none;
}

.site-zone:focus-visible {
  outline: none;
}

.site-zone text {
  fill: var(--paper);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  paint-order: stroke;
  pointer-events: none;
  stroke: rgb(0 0 0 / 0.72);
  stroke-width: 5px;
  text-transform: uppercase;
}

.site-zone text tspan + tspan {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
}

.site-map-legend,
.unit-plan-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin-top: 1rem;
  color: #526179;
  font-size: 0.86rem;
  font-weight: 700;
}

.site-map-legend span,
.unit-plan-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.legend-swatch {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 0.2rem;
}

.legend-swatch.is-configurable,
.legend-swatch.is-selected {
  color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.42);
}

.legend-swatch.is-pipeline {
  color: var(--brand-blue);
  background: rgb(38 120 186 / 0.28);
}

.legend-swatch.is-leased,
.legend-swatch.is-occupied {
  color: #a30f1b;
  background: #e64b4b;
}

.legend-swatch.is-available {
  color: #d7cb28;
  background: #faf7a8;
}

.legend-swatch.is-validated {
  color: #278b69;
  background: #b7eed2;
}

.site-zone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.site-zone-chip,
.unit-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  color: var(--brand-navy);
  background: var(--paper);
  border: 1px solid rgb(34 64 140 / 0.18);
  border-radius: 0.55rem;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-zone-chip:hover,
.site-zone-chip:focus-visible,
.site-zone-chip.is-selected,
.unit-chip:hover,
.unit-chip:focus-visible,
.unit-chip.is-selected {
  background: rgb(var(--accent-rgb) / 0.1);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.site-zone-chip span {
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-zone-chip strong {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.86rem;
}

.site-zone-chip.is-occupied {
  color: #fff;
  background: #d72c2c;
  border-color: #a30f1b;
}

.site-zone-chip.is-occupied strong {
  color: #fff;
}

.site-detail-panel,
.unit-summary-panel {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgb(34 64 140 / 0.16);
  border-radius: 0.9rem;
  box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 0.09);
}

.site-detail-panel.is-occupied {
  border: 2px solid #cf303b;
  box-shadow: 0 1rem 2.5rem rgb(163 15 27 / 0.2);
}

.site-detail-panel.is-occupied .section-eyebrow,
.site-detail-panel.is-occupied h3,
.site-detail-panel.is-occupied .site-detail-facts dd {
  color: #b51f2b;
}

.site-detail-panel.is-occupied .site-detail-unavailable {
  color: #7f1720;
  background: #fde8ea;
}

.site-detail-panel h3,
.unit-summary-panel h3 {
  margin: 0;
  color: var(--brand-navy);
  font-size: 1.55rem;
}

.site-detail-panel > p:not(.section-eyebrow),
.unit-summary-panel > p {
  margin: 0;
  color: #526179;
}

.site-detail-facts,
.unit-summary-facts {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0.85rem 0;
  border-top: 1px solid rgb(34 64 140 / 0.14);
  border-bottom: 1px solid rgb(34 64 140 / 0.14);
}

.site-detail-facts > div,
.unit-summary-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.site-detail-facts dt,
.unit-summary-facts dt {
  color: #526179;
  font-weight: 700;
}

.site-detail-facts dd,
.unit-summary-facts dd {
  margin: 0;
  color: var(--brand-navy);
  font-weight: 900;
  text-align: right;
}

.site-detail-panel .classic-button,
.unit-summary-panel .classic-button {
  color: var(--paper);
  background: var(--brand-blue);
}

.site-detail-panel .site-property-link,
.unit-summary-panel .unit-property-link {
  color: var(--brand-blue);
  background: transparent;
  border: 2px solid var(--brand-blue);
}

.unit-summary-panel .unit-property-link {
  width: 100%;
  text-align: center;
}

.site-detail-panel .round-link,
.unit-summary-panel .round-link {
  color: var(--ink);
}

.site-detail-unavailable {
  padding: 0.85rem;
  color: #5d6875 !important;
  background: #edf0f3;
  border-radius: 0.55rem;
}

.unit-selector-section {
  margin-top: 0;
  padding: 1rem 0 5.5rem;
  color: var(--ink);
  background: #eef4fb;
}

.unit-selector-section .section-heading h2 {
  color: var(--brand-navy);
}

.unit-selector-section .text-link {
  margin-top: 0.6rem;
  padding: 0;
  background: none;
  border: 0;
}

.unit-plan-panel {
  padding: clamp(0.8rem, 1.25vw, 1.1rem);
  background: var(--paper);
  border: 2px solid var(--accent);
}

.unit-plan-stage {
  position: relative;
  width: 100%;
  aspect-ratio: var(--selector-aspect, 2370 / 821);
}

.unit-plan-canvas {
  fill: var(--paper);
}

.unit-plan-vector {
  pointer-events: none;
}

.unit-plan-footprint {
  fill: transparent;
  stroke: var(--accent);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.unit-plan-footprint.is-available {
  fill: rgb(38 120 186 / 0.2);
}

.unit-plan-footprint.is-occupied {
  fill: #d75a63;
}

.unit-plan-bay-line {
  fill: none;
  stroke: rgb(34 64 140 / 0.58);
  stroke-width: 1.35;
  stroke-dasharray: 7 5;
  vector-effect: non-scaling-stroke;
}

.unit-plan-column-point {
  fill: #0d2f6f;
}

.unit-plan-access {
  filter: drop-shadow(0 0 2px rgb(13 47 111 / 0.22));
}

.unit-plan-access-dock > path:first-child {
  fill: #e31d1a;
  stroke: #a30f1b;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.unit-plan-access-drive-in > path:first-child {
  fill: #179b35;
  stroke: #0d6d25;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.unit-zone-hit {
  fill: transparent;
  stroke: transparent;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  animation: interactive-module-pulse 3.4s ease-in-out var(--interactive-pulse-delay, 0s) infinite;
  transition: fill 150ms ease, stroke 150ms ease;
}

.unit-zone:hover .unit-zone-hit,
.unit-zone:focus-visible .unit-zone-hit {
  fill: rgb(var(--accent-rgb) / 0.22);
  stroke: var(--accent);
}

.unit-zone:focus-visible {
  outline: none;
}

.unit-zone.is-selected .unit-zone-hit {
  fill: rgb(var(--accent-rgb) / 0.52);
  stroke: var(--accent);
  stroke-dasharray: 5 3;
}

.unit-zone.is-selected .unit-zone-hit,
.unit-zone.is-validated .unit-zone-hit,
.unit-zone:hover .unit-zone-hit,
.unit-zone:focus-visible .unit-zone-hit {
  animation: none;
}

.unit-zone.is-validated .unit-zone-hit {
  fill: rgb(121 216 189 / 0.62);
  stroke: #278b69;
  stroke-dasharray: 5 3;
}

.unit-zone.is-occupied {
  cursor: not-allowed;
  pointer-events: none;
}

.unit-zone.is-occupied .unit-zone-hit,
.unit-zone.is-occupied:hover .unit-zone-hit {
  fill: rgb(215 44 44 / 0.7);
  stroke: #a30f1b;
  stroke-dasharray: none;
  animation: none;
}

.unit-plan-stage > svg.is-polygon-picking .unit-zone-hit,
.unit-selector-section.has-interactive-selection .unit-zone-hit {
  animation: none;
}

.unit-plan-hint {
  margin: 1rem 0 0;
  color: #526179;
}

.legend-access {
  position: relative;
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

.legend-access::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 0.42rem solid transparent;
  border-left: 0.42rem solid transparent;
  content: "";
  transform: translate(-50%, -50%);
}

.legend-access.is-dock::before {
  border-top: 0.78rem solid #e31d1a;
}

.legend-access.is-drive-in::before {
  border-bottom: 0.78rem solid #179b35;
}

.unit-chip-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.unit-chip {
  display: grid;
  gap: 0.1rem;
  justify-content: stretch;
  padding: 0.65rem 0.55rem;
  text-align: center;
}

.unit-chip span {
  font-family: var(--font-heading);
  font-weight: 900;
}

.unit-chip small {
  color: #66748a;
  font-size: 0.72rem;
}

.unit-chip.is-validated {
  color: #1e684f;
  background: rgb(121 216 189 / 0.28);
  border-color: #278b69;
}

.unit-chip.is-occupied,
.unit-chip.is-occupied:disabled {
  color: #fff;
  background: #d72c2c;
  border-color: #a30f1b;
  cursor: not-allowed;
  opacity: 1;
}

.unit-chip.is-occupied small {
  color: #fff;
}

.unit-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.selection-status {
  flex: 0 0 auto;
  padding: 0.35rem 0.55rem;
  color: #8b4a21;
  background: rgb(var(--accent-rgb) / 0.14);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.unit-summary-panel.is-validated {
  border-color: #278b69;
  box-shadow: 0 1rem 2.5rem rgb(39 139 105 / 0.15);
}

.unit-summary-panel.is-validated .selection-status {
  color: #1e684f;
  background: rgb(121 216 189 / 0.35);
}

.selection-error {
  margin: 0;
  padding: 0.8rem 0.9rem;
  color: #9b2c1f;
  background: #fff0ed;
  border: 1px solid rgb(180 35 24 / 0.28);
  border-radius: 0.55rem;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.unit-summary-actions {
  display: grid;
  gap: 0.7rem;
}

.unit-summary-actions .text-link {
  justify-self: center;
  color: #66748a;
}

.unit-summary-panel button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.65);
  opacity: 0.48;
  transform: none;
}

body.offer-modal-open {
  overflow: hidden;
}

body[data-cms-preview="true"] [data-cms-editable] {
  outline: 1px dashed rgb(239 91 45 / 0.72);
  outline-offset: 3px;
  cursor: text !important;
  transition: outline-color 120ms ease, box-shadow 120ms ease;
}

body[data-cms-preview="true"] [data-cms-editable]:hover {
  outline: 2px solid #ef5b2d;
  box-shadow: 0 0 0 5px rgb(239 91 45 / 0.12);
}

body[data-cms-preview="true"] [data-cms-editable-active="true"] {
  outline: 2px solid #17468f;
  box-shadow: 0 0 0 6px rgb(23 70 143 / 0.16);
}

body[data-cms-preview="true"] [data-cms-media] {
  outline: 1px dashed rgb(239 91 45 / 0.82);
  outline-offset: 3px;
  cursor: pointer !important;
  transition: outline-color 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

body[data-cms-preview="true"] [data-cms-media]:hover {
  outline: 2px solid #ef5b2d;
  box-shadow: 0 0 0 6px rgb(239 91 45 / 0.14);
  filter: brightness(0.96);
}

body[data-cms-preview="true"] [data-cms-media-active="true"] {
  outline: 3px solid #17468f;
  box-shadow: 0 0 0 7px rgb(23 70 143 / 0.18);
}

body[data-cms-preview="true"] .cookie-notice,
body[data-cms-preview="true"] .chatbot-widget,
body[data-cms-preview="true"] .floating-contact-widget,
body[data-cms-preview="true"] .floating-contact-card,
body[data-cms-preview="true"] .floating-contact-dialog {
  display: none !important;
}

.offer-modal {
  width: min(46rem, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100svh - 2rem);
  margin: auto;
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  border: 0;
  opacity: 0;
  transform: translateY(1.2rem) scale(0.98);
}

.offer-modal[open] {
  animation: offer-modal-in 220ms ease-out forwards;
}

.offer-modal.is-closing {
  animation: offer-modal-out 200ms ease-in forwards;
}

.offer-modal::backdrop {
  background: rgb(7 18 40 / 0.68);
  backdrop-filter: blur(6px);
  animation: offer-backdrop-in 220ms ease-out forwards;
}

.offer-modal.is-closing::backdrop {
  animation: offer-backdrop-out 200ms ease-in forwards;
}

.offer-modal-card {
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  background: var(--paper);
  border: 1px solid rgb(34 64 140 / 0.14);
  border-radius: 1rem;
  box-shadow: 0 2rem 5rem rgb(7 18 40 / 0.32);
}

.offer-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.offer-modal-header h2 {
  max-width: 34rem;
  color: var(--brand-navy);
  font-size: clamp(2rem, 5vw, 3rem);
}

.offer-modal-header .section-eyebrow {
  margin-bottom: 0.55rem;
}

.offer-modal-close {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  color: var(--brand-navy);
  background: #eef4fb;
  border: 1px solid rgb(34 64 140 / 0.16);
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
}

.offer-modal-close:hover {
  color: var(--paper);
  background: var(--accent);
  border-color: var(--accent);
}

.offer-modal-intro {
  max-width: 39rem;
  margin-top: 1rem;
  color: #526179;
}

.offer-selection-summary {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  color: var(--brand-navy);
  white-space: pre-line;
  background: #eef4fb;
  border-left: 4px solid var(--accent);
  border-radius: 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

.offer-form {
  display: grid;
  gap: 1rem;
}

.offer-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.offer-form-grid label {
  display: grid;
  gap: 0.4rem;
}

.offer-form-grid label > span {
  color: var(--brand-navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.offer-form-grid input {
  width: 100%;
  min-height: 3rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgb(34 64 140 / 0.24);
  border-radius: 0.5rem;
  padding: 0.75rem 0.85rem;
}

.offer-form-grid input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgb(var(--accent-rgb) / 0.14);
  outline: none;
}

.offer-form-company {
  grid-column: 1 / -1;
}

.offer-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #526179;
  font-size: 0.88rem;
  line-height: 1.35;
}

.offer-consent input {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  margin-top: 0.12rem;
  accent-color: var(--accent);
}

.offer-modal .classic-button {
  color: var(--paper);
  background: var(--brand-navy);
}

.offer-modal .classic-button:hover {
  background: var(--accent);
}

.offer-form-status {
  margin: 0;
  color: #1e684f;
  background: rgb(121 216 189 / 0.2);
  border-color: #278b69;
}

.offer-form-status.is-error {
  color: #8d2d22;
  background: #fff0ed;
  border-color: #e98678;
}

.offer-form.is-complete .offer-form-grid,
.offer-form.is-complete .offer-consent,
.offer-form.is-complete > .classic-button {
  opacity: 0.45;
}

@keyframes offer-modal-in {
  from { opacity: 0; transform: translateY(1.2rem) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes offer-modal-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(0.8rem) scale(0.985); }
}

@keyframes offer-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes offer-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (max-width: 60rem) {
  .site-selector-layout,
  .unit-selector-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-detail-panel,
  .unit-summary-panel {
    position: static;
  }
}

@media (max-width: 44rem) {
  .offer-modal {
    width: calc(100vw - 1rem);
    max-height: calc(100svh - 1rem);
  }

  .offer-modal-card {
    max-height: calc(100svh - 1rem);
    padding: 1.2rem;
    border-radius: 0.75rem;
  }

  .offer-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .offer-form-company {
    grid-column: auto;
  }

  .selector-progress {
    gap: 0.35rem;
    margin-bottom: 2rem;
  }

  .selector-progress li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.68rem;
  }

  .selector-progress li:not(:last-child)::after {
    top: 1rem;
    left: 2.25rem;
    width: calc(100% - 1.9rem);
  }

  .site-zone text {
    display: block;
    font-size: 64px;
    stroke-width: 10px;
    stroke-linejoin: round;
  }

  .site-zone text tspan + tspan {
    display: none;
  }

  .site-zone-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-map-legend,
  .unit-plan-legend {
    align-items: flex-start;
    flex-direction: column;
  }

  .unit-chip-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .unit-summary-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== Global contact, legal footer and cookie notice ===== */
.footer-legal-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 3rem;
  align-items: center;
  padding-top: 1.15rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgb(34 64 140 / 0.14);
}

.footer-company {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  color: var(--ink);
  font-size: 0.82rem;
}

.footer-company strong {
  color: var(--brand-navy);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1rem;
  font-size: 0.82rem;
}

.footer-legal-links a,
.footer-legal-links button {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.footer-legal-links button {
  border: 0;
  background: transparent;
  padding: 0;
}

.footer-legal-links a:hover,
.footer-legal-links button:hover {
  color: var(--accent);
}

.cookie-notice {
  position: fixed;
  z-index: 210;
  left: 50%;
  bottom: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
  width: min(54rem, calc(100vw - 2rem));
  padding: 1rem 1.15rem;
  color: var(--ink);
  background: rgb(255 255 255 / 0.98);
  border: 1px solid rgb(34 64 140 / 0.2);
  border-radius: 0.7rem;
  box-shadow: 0 1.2rem 3.5rem rgb(7 18 40 / 0.24);
  opacity: 0;
  transform: translate(-50%, 1rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cookie-notice p {
  color: var(--ink);
  font-size: 0.9rem;
}

.cookie-notice-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.cookie-notice-actions a {
  color: var(--brand-blue);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: underline;
}

.cookie-notice-actions button {
  min-height: 2.55rem;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  background: var(--accent);
  padding: 0.65rem 1rem;
  font-weight: 900;
}

.chatbot-unlock .chatbot-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.3;
}

.chatbot-unlock .chatbot-consent input {
  width: 1rem;
  height: 1rem;
  min-height: 0;
  flex: 0 0 auto;
  margin-top: 0.1rem;
  padding: 0;
  accent-color: var(--accent);
}

.chatbot-consent a,
.contact-form .checkbox-field a,
.offer-consent a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.14rem;
}

@media (max-width: 60rem) {
  .footer-legal-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 47.9375rem) {
  .floating-contact-card {
    display: flex;
    gap: 0.7rem;
    width: min(29rem, calc(100vw - 1.6rem));
    padding: 0.72rem 0.8rem;
  }

  .floating-contact-avatar {
    width: 3.25rem;
    height: 3.25rem;
  }

  .floating-contact-name {
    font-size: 0.92rem;
  }

  .floating-contact-role {
    font-size: 0.73rem;
  }

  .floating-contact-note {
    display: none;
  }

  .floating-contact-button {
    min-height: 2.5rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.68rem;
  }

  .cookie-notice {
    bottom: 4.9rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .cookie-notice-actions {
    justify-content: space-between;
    white-space: normal;
  }
}

/* ===== Cleaner typography for navigation and selectors ===== */
.primary-nav > a,
.language-option,
.round-link,
.text-link,
.classic-button,
.chatbot-unlock button,
.chatbot-form button,
.tour360-control,
.slider-button,
.site-zone-chip,
.unit-chip,
.config-term {
  font-family: var(--font-ui);
}

.selector-section,
.city-selector-section,
.configurator-section,
.unit-selector-section,
.inline-polygon-tool,
.offer-modal,
.legal-hero,
.legal-page-section {
  --font-heading: var(--font-ui);
}

.legal-page-nav .text-link {
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ===== Legal pages ===== */
.legal-hero {
  padding-bottom: 4rem;
}

.legal-hero .platform-hero-grid {
  grid-template-columns: minmax(0, 1fr);
}

.legal-hero .platform-hero-copy,
.legal-hero h1,
.legal-hero p:not(.section-eyebrow) {
  max-width: 64rem;
}

.legal-page-section {
  margin-top: 0;
  padding-top: 3.5rem;
}

.legal-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.legal-page-nav .text-link {
  padding: 0.65rem 0.9rem;
  color: var(--brand-navy);
  background: #eef4fb;
  border: 1px solid rgb(34 64 140 / 0.14);
  border-radius: 999px;
  font-size: 0.82rem;
}

.legal-page-nav .text-link:hover,
.legal-page-nav .text-link[aria-current="page"] {
  color: var(--paper);
  background: var(--accent);
  border-color: var(--accent);
}

.legal-updated {
  margin-bottom: 1.6rem;
}

.legal-article {
  max-width: 70rem;
}

.legal-section {
  max-width: none;
  margin: 0;
  padding: 2rem 0;
  border-top: 1px solid rgb(34 64 140 / 0.14);
}

.legal-section:last-child {
  border-bottom: 1px solid rgb(34 64 140 / 0.14);
}

.legal-section h2 {
  color: var(--brand-navy);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1;
}

.legal-section p,
.legal-section li,
.legal-section dt,
.legal-section dd {
  color: var(--ink);
}

.legal-section p {
  max-width: 64rem;
  margin-top: 1rem;
}

.legal-section .feature-list {
  max-width: 64rem;
  margin-top: 1rem;
  line-height: 1.55;
}

.legal-section .feature-list li + li {
  margin-top: 0.55rem;
}

.legal-section .meta-grid {
  margin-top: 1.2rem;
}

.legal-section .space-page-actions {
  margin-top: 1.1rem;
}

.legal-table-wrap {
  max-width: 100%;
  margin-top: 1.25rem;
  overflow-x: auto;
  border: 1px solid rgb(34 64 140 / 0.15);
  border-radius: 0.6rem;
}

.legal-table {
  width: 100%;
  min-width: 48rem;
  border-collapse: collapse;
  color: var(--ink);
  background: var(--paper);
  text-align: left;
}

.legal-table th,
.legal-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgb(34 64 140 / 0.12);
  vertical-align: top;
}

.legal-table thead th {
  color: var(--paper);
  background: var(--brand-navy);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.legal-table tbody th {
  color: var(--brand-navy);
  background: #eef4fb;
}

.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 47.9375rem) {
  .legal-hero {
    padding-bottom: 3rem;
  }

  .legal-page-section {
    padding-top: 2.5rem;
  }

  .legal-page-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-page-nav .text-link {
    text-align: center;
  }

  .legal-section .meta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== Desktop contact dialog ===== */
.floating-contact-open-desktop {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.floating-contact-call-mobile {
  display: none;
}

.floating-contact-dialog {
  width: min(37rem, calc(100vw - 2rem));
  margin: auto;
  padding: 2rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgb(7 18 40 / 0.18);
  border-radius: 0.75rem;
  box-shadow: 0 1.5rem 4rem rgb(7 18 40 / 0.28);
}

.floating-contact-dialog::backdrop {
  background: rgb(7 18 40 / 0.58);
  backdrop-filter: blur(3px);
}

.floating-contact-dialog-close {
  position: absolute;
  top: 0.65rem;
  right: 0.8rem;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  padding: 0;
  color: var(--brand-navy);
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.floating-contact-dialog-close:hover,
.floating-contact-dialog-close:focus-visible {
  color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.1);
}

.floating-contact-dialog-person {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.5rem;
}

.floating-contact-dialog-avatar {
  width: 7rem;
  height: 7rem;
  flex: 0 0 auto;
  border: 2px solid var(--accent);
  border-radius: 50%;
  overflow: hidden;
}

.floating-contact-dialog-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-contact-dialog h2 {
  margin: 0;
  color: var(--accent);
  font-size: 1.65rem;
  line-height: 1.05;
}

.floating-contact-dialog-role {
  color: var(--brand-navy);
  font-weight: 900;
}

.floating-contact-dialog-note {
  margin-top: 0.35rem;
  color: var(--brand-navy);
  font-style: italic;
  line-height: 1.35;
}

.floating-contact-dialog-phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(34 64 140 / 0.16);
}

.floating-contact-dialog-phone span {
  color: var(--brand-navy);
  font-weight: 800;
}

.floating-contact-dialog-phone a {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
}

@media (max-width: 47.9375rem) {
  .warehouse-specs-heading {
    grid-template-columns: 1fr;
  }

  .warehouse-specs-heading .section-eyebrow {
    grid-column: auto;
  }

  .warehouse-specs-action {
    justify-content: flex-start;
  }

  .warehouse-presentation-button {
    width: 100%;
  }

  .warehouse-story-frame {
    border-radius: 0.35rem;
  }

  .warehouse-story-slide figcaption {
    padding: 2rem 0.85rem 0.75rem;
  }

  .chatbot-greeting {
    right: 4.35rem;
    width: min(17rem, calc(100vw - 6rem));
  }

  .floating-contact-open-desktop {
    display: none;
  }

  .floating-contact-call-mobile {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .warehouse-story-progress button.is-active span,
  .warehouse-story-slide {
    animation: none;
  }
}

/* Shared corner treatment for photographic media and image-led cards. */
.hero-inline-image,
.hero-mobile-image,
.story-image-main,
.story-image-small,
.story-page-media-main,
.story-page-media-small,
.platform-hero-image,
.partner-map,
.space-detail-media img,
.space-page-hero-image,
.config-panel-head img,
.space-mini-item img,
.site-map-panel,
.unit-plan-panel,
.space-plan-link,
.space-page-plan a,
.warehouse-story-frame {
  border-radius: var(--media-radius);
}

.feature-card,
.project-card,
.space-mini-item,
.space-select-card,
.city-card,
.hall-card,
.deal-card,
.partner-popover,
.partner-card,
.tour360-stop,
.floating-contact-card,
.floating-contact-dialog {
  overflow: hidden;
  border-radius: var(--media-radius);
}

.deal-card img {
  border-radius: 0;
}
