:root {
  --color-ink: #172033;
  --color-heading: #101828;
  --color-muted: #667085;
  --color-surface: #ffffff;
  --color-soft: #f7f8fa;
  --color-line: #e4e7ec;
  --color-primary: #c92a49;
  --color-primary-dark: #a91f3b;
  --color-navy: #14213d;
  --color-navy-light: #223354;
  --color-accent: #f2a94a;
  --shadow-small: 0 4px 16px rgba(16, 24, 40, 0.08);
  --shadow-card: 0 18px 48px rgba(16, 24, 40, 0.1);
  --radius-small: 0.75rem;
  --radius-medium: 1.25rem;
  --radius-large: 1.75rem;
  --container-width: 74rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-surface);
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-heading);
  line-height: 1.18;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: clamp(2.6rem, 5.5vw, 4.9rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.7vw, 3rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
}

:focus-visible {
  outline: 3px solid rgba(201, 42, 73, 0.35);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 2.5rem), var(--container-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--color-primary-dark);
  border-radius: var(--radius-small);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(228, 231, 236, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  flex: none;
  gap: 0.65rem;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--color-primary);
  border-radius: 0.8rem;
  place-items: center;
  transform: rotate(-7deg);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark > span {
  position: absolute;
  display: block;
  content: "";
  background: #fff;
  border-radius: 999px;
}

.brand-mark::before {
  width: 0.35rem;
  height: 1.35rem;
  transform: translateX(-0.42rem);
}

.brand-mark::after {
  width: 0.35rem;
  height: 1.35rem;
  transform: translateX(0.42rem);
}

.brand-mark > span {
  width: 1.15rem;
  height: 0.32rem;
  transform: translateY(0.48rem);
}

.header-search-entry {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 1rem;
  margin-left: auto;
  color: #344054;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
  font-size: 0.9rem;
  font-weight: 700;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.header-search-entry:hover {
  border-color: #c7cdd7;
  box-shadow: var(--shadow-small);
}

.header-search-entry > span:first-child {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.primary-nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  margin-left: auto;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 700;
}

.primary-nav a,
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2.75rem;
  padding: 0.62rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: inherit;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible,
.nav-dropdown-trigger[aria-expanded="true"] {
  color: var(--color-primary);
  background: #fff3f5;
}

.nav-dropdown { position: relative; }
.nav-dropdown-menu { position: absolute; z-index: 40; top: calc(100% + .55rem); right: 0; display: grid; min-width: 11rem; padding: .45rem; background: #fff; border: 1px solid var(--color-line); border-radius: .8rem; box-shadow: var(--shadow-card); }
.nav-dropdown-menu[hidden] { display: none; }
.nav-chevron { width: 9px; height: 9px; margin: 0 .15rem 0 .1rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transform-origin: center; transition: transform 180ms ease; }
.nav-dropdown-trigger[aria-expanded="true"] .nav-chevron { transform: translateY(-2px) rotate(225deg); }
.nav-dropdown-menu a,.nav-dropdown-menu button { width: 100%; min-height: 2.5rem; padding: .6rem .75rem; color: #344054; background: transparent; border: 0; border-radius: .55rem; font: inherit; text-align: left; cursor: pointer; }
.nav-dropdown-menu a:hover,.nav-dropdown-menu a:focus-visible,.nav-dropdown-menu button:hover,.nav-dropdown-menu button:focus-visible { color: var(--color-primary); background: #fff3f5; }
.nav-cart { white-space: nowrap; }

.primary-nav .nav-auth {
  padding-inline: 1rem;
  color: #fff;
  background: var(--color-heading);
}

.primary-nav .nav-auth:hover,
.primary-nav .nav-auth:focus-visible {
  color: #fff;
  background: var(--color-navy-light);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.62rem;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-small);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 0.25rem 0;
  background: var(--color-heading);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-last-child(3) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-last-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 40rem;
  overflow: hidden;
  background: #101827;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 12, 24, 0.97) 0%, rgba(8, 15, 29, 0.82) 37%, rgba(10, 18, 34, 0.28) 70%, rgba(10, 18, 34, 0.12) 100%),
    linear-gradient(0deg, rgba(9, 15, 28, 0.64) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 40rem;
  padding-block: clamp(5rem, 9vw, 7.5rem) 4.25rem;
}

.hero-copy-block {
  max-width: 44rem;
}

.hero .eyebrow {
  color: #f2b6c1;
}

.hero-copy {
  max-width: 38rem;
  margin-bottom: 2.25rem;
  color: #e3e8ef;
  font-size: 1.08rem;
}

.search-panel {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr auto;
  width: 100%;
  max-width: 69rem;
  margin-top: 1rem;
  padding: 0.6rem;
  color: var(--color-heading);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.25rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.search-field {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
  min-height: 4.25rem;
  padding: 0.45rem 1rem;
  border-right: 1px solid var(--color-line);
  cursor: text;
}

.search-field:focus-within {
  background: var(--color-soft);
  border-radius: 0.9rem;
}

.search-field-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.search-icon {
  flex: none;
  color: var(--color-primary);
  font-size: 1.2rem;
}

.search-label {
  color: #344054;
  font-size: 0.8rem;
  font-weight: 800;
}

.search-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--color-heading);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.9rem;
}

.search-field input::placeholder {
  color: #98a2b3;
}

.button {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.3rem;
  font-weight: 800;
  border: 0;
  border-radius: 0.9rem;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--color-primary);
}

.button-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 10px 24px rgba(201, 42, 73, 0.26);
}

.search-submit {
  align-self: stretch;
  margin-left: 0.6rem;
  white-space: nowrap;
}

.search-hint {
  margin: 0.85rem 0 0 0.25rem;
  color: #cbd2dc;
  font-size: 0.82rem;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section-muted {
  background: var(--color-soft);
}

.section-heading {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 2.25rem;
}

.section-heading > p {
  max-width: 31rem;
  margin-bottom: 0.2rem;
  color: var(--color-muted);
}

.map-section {
  overflow: hidden;
}

.map-experience {
  display: grid;
  grid-template-columns: minmax(16rem, 0.34fr) minmax(0, 1fr);
  min-height: 34rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.map-sidebar {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border-right: 1px solid var(--color-line);
}

.map-sidebar-head {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  background: #12b76a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.12);
}

.map-sidebar h3 {
  margin-bottom: 0.3rem;
  font-size: 1.6rem;
}

.map-summary {
  margin-bottom: 2rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.radius-control {
  padding: 1rem;
  margin-bottom: 1.5rem;
  background: var(--color-soft);
  border-radius: var(--radius-small);
}

.radius-label,
.range-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.radius-label {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.radius-label strong {
  color: var(--color-primary);
}

.range-track {
  position: relative;
  height: 0.35rem;
  background: #d9dee7;
  border-radius: 999px;
}

.range-track::before {
  position: absolute;
  width: 34%;
  height: 100%;
  content: "";
  background: var(--color-primary);
  border-radius: inherit;
}

.range-track span {
  position: absolute;
  top: 50%;
  left: 34%;
  width: 1rem;
  height: 1rem;
  background: #fff;
  border: 4px solid var(--color-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.range-scale {
  margin-top: 0.55rem;
  color: #98a2b3;
  font-size: 0.72rem;
}

.map-features {
  display: grid;
  gap: 1rem;
}

.map-features > div {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.feature-icon {
  display: grid;
  flex: none;
  width: 2rem;
  height: 2rem;
  color: var(--color-primary);
  background: #fff0f3;
  border-radius: 0.6rem;
  place-items: center;
}

.map-features p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.map-features strong {
  color: var(--color-heading);
  font-size: 0.9rem;
}

.map-features p span {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.mock-badge {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  margin: 1.75rem 0 0;
  color: #475467;
  background: #f2f4f7;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.map-canvas {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  background-color: #e8edf0;
  background-image:
    linear-gradient(30deg, rgba(105, 135, 144, 0.12) 12%, transparent 12.5%, transparent 87%, rgba(105, 135, 144, 0.12) 87.5%),
    linear-gradient(150deg, rgba(105, 135, 144, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(105, 135, 144, 0.1) 87.5%);
  background-size: 5rem 8rem;
}

.map-canvas::before,
.map-canvas::after {
  position: absolute;
  content: "";
  background: rgba(132, 181, 172, 0.24);
  border-radius: 48% 52% 63% 37%;
}

.map-canvas::before {
  top: -12%;
  right: -3%;
  width: 38%;
  height: 40%;
}

.map-canvas::after {
  bottom: -18%;
  left: 2%;
  width: 30%;
  height: 43%;
}

.map-road {
  position: absolute;
  z-index: 1;
  width: 145%;
  height: 2rem;
  background: rgba(255, 255, 255, 0.88);
  border-block: 1px solid rgba(186, 195, 204, 0.55);
}

.map-road-one {
  top: 44%;
  left: -20%;
  transform: rotate(-16deg);
}

.map-road-two {
  top: 39%;
  left: -22%;
  transform: rotate(54deg);
}

.map-radius {
  position: absolute;
  top: 50%;
  left: 49%;
  z-index: 2;
  width: 19rem;
  height: 19rem;
  background: rgba(201, 42, 73, 0.09);
  border: 2px dashed rgba(201, 42, 73, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.map-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  background: var(--color-primary);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(16, 24, 40, 0.28);
  transform: translate(-50%, -50%);
}

.map-price-marker {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  min-width: 7.4rem;
  padding: 0.55rem 0.7rem;
  color: #fff;
  background: var(--color-navy);
  border: 2px solid #fff;
  border-radius: 0.7rem;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.23);
  line-height: 1.25;
}

.map-price-marker strong {
  font-size: 0.78rem;
}

.map-price-marker span {
  color: #dce3ee;
  font-size: 0.7rem;
}

.marker-one {
  top: 18%;
  left: 23%;
}

.marker-two {
  right: 12%;
  bottom: 22%;
}

.marker-three {
  top: 19%;
  right: 17%;
}

.cluster-marker {
  position: absolute;
  bottom: 16%;
  left: 25%;
  z-index: 4;
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  color: #fff;
  background: var(--color-primary);
  border: 5px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(201, 42, 73, 0.3);
  line-height: 1.05;
  place-content: center;
  text-align: center;
}

.cluster-marker strong {
  font-size: 1.2rem;
}

.cluster-marker span {
  font-size: 0.62rem;
}

.map-watermark {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: end;
  padding: 0.5rem 0.7rem;
  color: #475467;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.5rem;
  font-size: 0.75rem;
}

.map-watermark small {
  color: #98a2b3;
  font-size: 0.65rem;
}

.cinema-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.cinema-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.cinema-card:hover {
  border-color: #ccd1da;
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
}

.cinema-card-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 10.5rem;
  padding: 1.25rem;
  overflow: hidden;
  color: #fff;
}

.home-data-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-data-media::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(0deg, rgba(10, 18, 34, 0.72), rgba(10, 18, 34, 0.08));
}

.home-data-media .image-note {
  top: 0.8rem;
  right: 0.8rem;
  bottom: auto;
}

.cinema-card-media::before,
.cinema-card-media::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.cinema-card-media::before {
  top: -3.5rem;
  right: -2rem;
  width: 10rem;
  height: 10rem;
}

.cinema-card-media::after {
  top: -1rem;
  right: 2rem;
  width: 6rem;
  height: 6rem;
}

.media-indigo {
  background: linear-gradient(135deg, #263b79, #6b7ed6);
}

.media-amber {
  background: linear-gradient(135deg, #81461a, #d68b31);
}

.media-teal {
  background: linear-gradient(135deg, #155964, #3a9894);
}

.cinema-brand-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  font-size: 1.25rem;
  font-weight: 900;
  place-items: center;
}

.cinema-region {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cinema-card-body {
  padding: 1.4rem;
}

.cinema-card-topline {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.cinema-location {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.brand-tag {
  padding: 0.2rem 0.5rem;
  color: #475467;
  background: var(--color-soft);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.cinema-description {
  min-height: 3.3rem;
  margin-bottom: 1.15rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.cinema-facts {
  display: grid;
  gap: 0.35rem;
  padding-block: 1rem;
  color: #475467;
  border-block: 1px solid var(--color-line);
  font-size: 0.82rem;
}

.cinema-facts span {
  display: flex;
  justify-content: space-between;
}

.cinema-facts strong {
  color: var(--color-heading);
}

.card-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.75rem;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.card-link span {
  transition: transform 180ms ease;
}

.card-link:hover span {
  transform: translateX(4px);
}

.data-note {
  margin: 1.25rem 0 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  text-align: right;
}

.process-section {
  background: #fff;
}

.process-heading {
  justify-content: center;
  text-align: center;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
  padding-inline: 0.4rem;
  text-align: center;
}

.process-list li:not(:last-child)::after {
  position: absolute;
  top: 1.55rem;
  right: -0.55rem;
  z-index: 0;
  width: 1.1rem;
  color: #98a2b3;
  content: "→";
  font-size: 1.25rem;
}

.process-list li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--color-primary);
  background: #fff0f3;
  border: 1px solid #f5c8d1;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  place-items: center;
}

.process-list strong {
  color: var(--color-heading);
  font-size: 0.9rem;
}

.cta-section {
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.cta-inner {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 42, 73, 0.45), transparent 32%),
    linear-gradient(135deg, #121d34, #21355c);
  border-radius: var(--radius-large);
  box-shadow: 0 24px 60px rgba(20, 33, 61, 0.22);
}

.cta-inner .eyebrow {
  color: #f2b6c1;
}

.cta-inner h2 {
  max-width: 19ch;
  margin-bottom: 0.85rem;
  color: #fff;
}

.cta-inner p:last-child {
  margin-bottom: 0;
  color: #cbd5e4;
}

.button-light {
  flex: none;
  color: var(--color-heading);
  background: #fff;
}

.button-light:hover {
  color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(4, 10, 22, 0.24);
}

.site-footer {
  color: #d9e0ec;
  background: #0f1727;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  padding-block: 4rem 3rem;
}

.brand-footer {
  margin-bottom: 1rem;
  color: #fff;
}

.footer-brand p {
  max-width: 26rem;
  margin-bottom: 0;
  color: #98a5ba;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-column h2 {
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.footer-column a,
.footer-column span {
  color: #aeb9ca;
  font-size: 0.85rem;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 1.25rem;
  color: #7f8ca1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  max-width: min(24rem, calc(100% - 2.5rem));
  padding: 0.85rem 1rem;
  color: #fff;
  background: var(--color-heading);
  border-radius: 0.8rem;
  box-shadow: 0 12px 36px rgba(16, 24, 40, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 68rem) {
  .header-search-entry {
    display: none;
  }

  .primary-nav {
    margin-left: auto;
  }

  .search-panel {
    grid-template-columns: 1.25fr 1fr 1fr;
  }

  .search-field:nth-of-type(3) {
    border-right: 0;
  }

  .search-submit {
    grid-column: 1 / -1;
    min-height: 3.5rem;
    margin: 0.35rem 0 0;
  }

  .map-experience {
    grid-template-columns: 15rem minmax(0, 1fr);
  }

  .cinema-grid {
    gap: 1rem;
  }

  .footer-main {
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 52rem) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    align-items: stretch;
    padding: 0.75rem;
    margin: 0;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 0 0 var(--radius-medium) var(--radius-medium);
    box-shadow: var(--shadow-card);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.75rem 0.9rem;
  }

  .nav-dropdown-trigger { width: 100%; padding: .75rem .9rem; text-align: left; }
  .nav-dropdown-menu { position: static; min-width: 0; padding: .2rem 0 .35rem 1rem; border: 0; box-shadow: none; }

  .hero,
  .hero-content {
    min-height: 39rem;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(7, 13, 25, 0.96), rgba(8, 15, 29, 0.55));
  }

  .search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .search-field-location {
    grid-column: 1 / -1;
  }

  .search-field:nth-of-type(2) {
    border-right: 1px solid var(--color-line);
  }

  .search-field:nth-of-type(3),
  .search-field-location {
    border-right: 0;
  }

  .map-experience {
    grid-template-columns: 1fr;
  }

  .map-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .map-sidebar-head,
  .map-sidebar h3,
  .map-summary {
    grid-column: 1 / -1;
  }

  .mock-badge {
    align-self: end;
    justify-self: start;
  }

  .map-canvas {
    min-height: 29rem;
  }

  .cinema-grid {
    grid-template-columns: 1fr;
  }

  .cinema-description {
    min-height: 0;
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 0;
  }

  .process-list li:nth-child(3)::after {
    display: none;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1.7fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 38rem) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container-width));
  }

  .header-inner {
    min-height: 4.25rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-mark {
    width: 2.2rem;
    height: 2.2rem;
  }

  .hero,
  .hero-content {
    min-height: 43rem;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 13, 25, 0.94), rgba(8, 15, 29, 0.6)),
      linear-gradient(0deg, rgba(7, 13, 25, 0.7), transparent 55%);
  }

  .hero-content {
    justify-content: flex-end;
    padding-block: 4rem 2.5rem;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 0.5rem;
  }

  .search-field,
  .search-field:nth-of-type(2) {
    min-height: 3.8rem;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .search-field:nth-of-type(3) {
    border-bottom: 0;
  }

  .search-submit {
    min-height: 3.5rem;
  }

  .search-hint {
    font-size: 0.75rem;
  }

  .section {
    padding-block: 4rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.6rem;
  }

  .map-sidebar {
    display: block;
    padding: 1.4rem;
  }

  .map-features {
    margin-top: 1.25rem;
  }

  .map-canvas {
    min-height: 25rem;
  }

  .map-radius {
    width: 15rem;
    height: 15rem;
  }

  .map-price-marker {
    min-width: 6.6rem;
  }

  .marker-one {
    top: 14%;
    left: 7%;
  }

  .marker-three {
    top: 24%;
    right: 5%;
  }

  .marker-two {
    right: 7%;
    bottom: 14%;
  }

  .cluster-marker {
    bottom: 14%;
    left: 12%;
  }

  .cinema-card-media {
    min-height: 9rem;
  }

  .data-note {
    text-align: left;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem 0;
  }

  .process-list li:nth-child(3)::after {
    display: block;
  }

  .process-list li:nth-child(even)::after {
    display: none;
  }

  .cta-inner {
    gap: 2rem;
    padding: 2rem 1.4rem;
  }

  .button-light {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
    padding-block: 3rem 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .toast {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Phase 2 interactive cinema map */
.map-experience {
  grid-template-columns: minmax(20rem, 0.42fr) minmax(0, 1fr);
  min-height: 38rem;
}

.map-search-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.map-control {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #344054;
  font-size: 0.76rem;
  font-weight: 800;
}

.map-control-wide,
.map-reset {
  grid-column: 1 / -1;
}

.map-search-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
}

.map-search-input .button {
  min-width: 4.6rem;
}

.map-reset {
  min-height: 2.8rem;
  color: var(--color-primary);
  background: #fff;
  border: 1px solid #d7ddea;
}

.map-status {
  min-height: 2.6rem;
  padding: 0.65rem 0.75rem;
  margin: 1rem 0 0;
  color: #475467;
  background: var(--color-soft);
  border-radius: 0.6rem;
  font-size: 0.75rem;
}

.map-status[data-tone="error"] { color: #b42318; background: #fef3f2; }
.map-status[data-tone="success"] { color: #067647; background: #ecfdf3; }
.map-status[data-tone="loading"] { color: #175cd3; background: #eff8ff; }

.map-service-note {
  margin: 0.65rem 0 0;
  color: #667085;
  font-size: 0.68rem;
}

.map-service-note a { color: #5145cd; font-weight: 800; }

.map-canvas-wrap {
  position: relative;
  min-width: 0;
  min-height: 38rem;
}

.map-canvas {
  width: 100%;
  height: 100%;
  min-height: 38rem;
  background: #e8edf0;
}

.map-canvas::before,
.map-canvas::after {
  display: none;
}

.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  padding: 2rem;
  color: #475467;
  background:
    radial-gradient(circle at 70% 25%, rgba(102, 87, 217, 0.14), transparent 32%),
    linear-gradient(145deg, #eef2f6, #dde5eb);
  place-items: center;
  text-align: center;
}

.map-fallback[hidden] { display: none; }
.map-fallback > div { max-width: 27rem; }
.map-fallback > div > span { display: block; margin-bottom: 0.7rem; color: #6657d9; font-size: 2.4rem; }
.map-fallback h3 { margin-bottom: 0.45rem; color: var(--color-heading); }
.map-fallback p { margin-bottom: 0.35rem; }
.map-fallback small { color: #667085; }

.cinema-map-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 7.8rem;
  padding: 0.46rem 0.65rem;
  color: #344054;
  background: #fff;
  border: 2px solid #6657d9;
  border-radius: 0.72rem;
  box-shadow: 0 7px 18px rgba(34, 28, 91, 0.22);
  cursor: pointer;
  line-height: 1.25;
  text-align: left;
}

.cinema-div-icon,
.search-center-div-icon {
  background: transparent;
  border: 0;
}

.cinema-map-marker::after {
  position: absolute;
  bottom: -0.38rem;
  left: calc(50% - 0.35rem);
  width: 0.7rem;
  height: 0.7rem;
  content: "";
  background: #fff;
  border-right: 2px solid #6657d9;
  border-bottom: 2px solid #6657d9;
  transform: rotate(45deg);
}

.cinema-map-marker:hover,
.cinema-map-marker:focus-visible { color: #4e3fc0; box-shadow: 0 9px 24px rgba(34, 28, 91, 0.32); transform: translateY(-2px); }
.cinema-map-marker strong { font-size: 0.72rem; }
.cinema-map-marker span { color: #6657d9; font-size: 0.66rem; white-space: nowrap; }

.cinema-cluster-icon {
  background: transparent;
  border: 0;
}

.cinema-cluster-icon span {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  color: #fff;
  background: #6657d9;
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(34, 28, 91, 0.3);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 900;
  place-items: center;
}

.search-center-marker {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  background: #cf294a;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.35);
}

.leaflet-popup-content-wrapper { border-radius: 0.85rem; }
.leaflet-popup-content { margin: 1rem; }
.leaflet-control-attribution { font-size: 0.65rem; }

.map-info-card { width: min(15rem, calc(100vw - 5rem)); color: #475467; }
.map-info-card > p:first-child { margin: 0 0 0.25rem; color: #6657d9; font-size: 0.72rem; font-weight: 800; }
.map-info-card h3 { margin-bottom: 0.4rem; color: var(--color-heading); font-size: 1.05rem; }
.map-info-card address { margin-bottom: 0.7rem; font-size: 0.75rem; font-style: normal; }
.map-info-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin: 0 0 0.7rem; }
.map-info-card dl div { padding: 0.45rem; background: #f5f7fa; border-radius: 0.45rem; }
.map-info-card dt { font-size: 0.65rem; }
.map-info-card dd { margin: 0.1rem 0 0; color: var(--color-heading); font-size: 0.78rem; font-weight: 800; }
.map-info-price { font-size: 0.72rem; }
.map-info-card .button { width: 100%; min-height: 2.5rem; }
.map-info-features{margin:.35rem 0;color:#475467;font-size:.72rem}
.map-info-actions{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}.map-info-actions .button{padding-inline:.45rem;font-size:.72rem}
.cinema-map-info-control{max-width:min(17rem,calc(100vw - 5rem));margin:0 0 1.7rem!important}
.cinema-map-info-control[hidden]{display:none}
.cinema-map-info-control .map-info-card{position:relative;padding:1rem;background:#fff;border:1px solid #dfe3eb;border-radius:1rem;box-shadow:0 12px 32px rgba(16,24,40,.22)}
.map-info-close{position:absolute;top:.45rem;right:.45rem;width:2rem;height:2rem;border:0;border-radius:50%;background:#f1f3f6;color:#344054;cursor:pointer;font-size:1.15rem;line-height:1}
.map-info-status{display:inline-block;margin:.1rem 0 .45rem;padding:.28rem .5rem;border-radius:999px;background:#eef4ff;color:#3538cd;font-size:.7rem;font-weight:800}
.cinema-div-icon.is-selected .cinema-map-marker,.cinema-div-icon.is-highlighted .cinema-map-marker{border-color:#e55b2d;box-shadow:0 0 0 4px rgba(229,91,45,.2),0 9px 24px rgba(34,28,91,.28);transform:translateY(-2px)}
.cinema-div-icon.is-selected .cinema-map-marker::after,.cinema-div-icon.is-highlighted .cinema-map-marker::after{border-color:#e55b2d}

.cinema-distance { color: #6657d9; font-weight: 800; }
.map-empty-state { grid-column: 1 / -1; padding: 3rem 1.5rem; background: #fff; border: 1px dashed #cfd4dc; border-radius: var(--radius-medium); text-align: center; }
.map-empty-state h3 { margin-bottom: 0.4rem; }
.map-empty-state p { margin: 0; color: var(--color-muted); }
.map-page-content{padding-top:2rem}.map-page-experience{grid-template-columns:minmax(17rem,.3fr) minmax(0,1fr);min-height:clamp(38rem,70vh,52rem)}.map-page-experience .map-sidebar{padding:1.25rem}.map-page-experience .map-summary{margin-bottom:1rem}.map-page-experience .map-canvas-wrap,.map-page-experience .map-canvas{min-height:clamp(38rem,70vh,52rem)}

@media (max-width: 52rem) {
  .map-experience { grid-template-columns: 1fr; }
  .map-sidebar { display: block; }
  .map-page-experience{min-height:0}.map-page-experience .map-canvas-wrap,.map-page-experience .map-canvas{min-height:31rem}
  .map-canvas-wrap,
  .map-canvas { min-height: 31rem; }
}

@media (max-width: 38rem) {
  .map-search-controls { grid-template-columns: 1fr; }
  .map-control-wide,
  .map-reset { grid-column: auto; }
  .map-search-input { grid-template-columns: 1fr; }
  .map-search-input .button { width: 100%; min-height: 2.8rem; }
  .map-canvas-wrap,
  .map-canvas { min-height: 28rem; }
  .cinema-map-marker { min-width: 6.9rem; padding: 0.4rem 0.5rem; }
  .cinema-map-marker strong { font-size: 0.66rem; }
  .cinema-map-marker span { font-size: 0.6rem; }
  .cinema-map-info-control{max-width:calc(100vw - 2rem);margin:0 0 1.6rem!important}
  .map-page-content{padding-top:1rem}.map-page-content>.container{padding-inline:.75rem}.map-page-experience{border-radius:.85rem}.map-info-actions{grid-template-columns:1fr}
}
