:root {
  --bg: #edeede;
  --card: rgba(255, 255, 255, 0.82);
  --card-strong: rgba(255, 255, 255, 0.94);
  --ink: #1f2f42;
  --muted: #6d7b8c;
  --blue: #3f6f8b;
  --blue-deep: #025275;
  --yellow: #e8a40d;
  --orange: #ef6a44;
  --line: rgba(63, 111, 139, 0.14);
  --shadow-soft: 0 22px 60px rgba(35, 52, 68, 0.12);
  --shadow-button: 0 18px 34px rgba(63, 111, 139, 0.28);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-ui: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg);
}

a,
button {
  font: inherit;
}

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

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

.notranslate {
  translate: no;
}

.app-body {
  min-height: 100vh;
}

.app-shell {
  width: min(100vw, 420px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 18px 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.66));
  border-left: 1px solid rgba(63, 111, 139, 0.1);
  border-right: 1px solid rgba(63, 111, 139, 0.1);
  border-radius: 38px;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.topbar,
.ar-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.topbar {
  padding-top: 12px;
}

.pill,
.lang-button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(63, 111, 139, 0.12);
}

.pill-back {
  background: var(--blue);
  color: #ffffff;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.lang-button {
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.lang-button.is-active {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hero {
  padding: 26px 8px 0;
}

.brand {
  margin: 0;
  color: #4f6074;
  font-size: clamp(2.15rem, 7vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 400;
}

.brand-lead {
  display: block;
}

.brand-tail {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  margin-top: 4px;
}

.brand-article {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: #4f6074;
  letter-spacing: -0.03em;
}

.brand-acronym {
  color: var(--yellow);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.subtitle {
  max-width: 18rem;
  margin: 14px 0 0;
  color: #6f7f90;
  font-size: 0.98rem;
  line-height: 1.42;
}

.map-section {
  margin-top: 22px;
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  background: #ffffff;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(239, 106, 68, 0.32);
}

.map-pin {
  position: absolute;
  top: 98px;
  right: 74px;
  width: 34px;
  height: 34px;
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
  background: #ef5d3d;
  box-shadow: 0 10px 24px rgba(239, 93, 61, 0.28);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  background: #ffffff;
}

.info-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 14px;
  align-items: end;
  margin-top: -22px;
  padding: 0 8px;
}

.stop-card {
  padding: 18px 16px 14px;
  border-radius: 18px;
  background: var(--card-strong);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.stop-card h2 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.04;
  font-weight: 500;
  color: #445468;
}

.stop-kicker {
  margin: 6px 0 0;
  color: #6f7c8b;
  font-size: 0.8rem;
}

.stop-text {
  margin: 16px 0 0;
  color: #6e7d8f;
  font-size: 0.92rem;
  line-height: 1.46;
}

.photo-card {
  overflow: hidden;
  height: 214px;
  margin: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-section {
  margin-top: 18px;
  padding: 0 10px;
}

.cta-button,
.ar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  text-align: center;
  font-weight: 500;
  letter-spacing: -0.015em;
  box-shadow:
    var(--shadow-button),
    inset 0 -2px 0 rgba(16, 45, 65, 0.18);
}

.ar-body {
  min-height: 100vh;
  overflow-x: hidden;
}

.ar-topbar {
  position: fixed;
  inset: 16px 16px auto;
  z-index: 30;
}

.ar-status {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.ar-shell {
  position: relative;
  min-height: 100vh;
}

.ar-viewer {
  width: 100vw;
  height: 100vh;
  display: block;
  --poster-color: transparent;
  background:
    radial-gradient(circle at top left, rgba(232, 164, 13, 0.1), transparent 24%),
    linear-gradient(180deg, #f4f1e8 0%, #e6e1d5 100%);
}

.ar-action-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  z-index: 25;
}

.ar-cta {
  font-weight: 700;
}

.ar-cta:disabled {
  background: var(--blue-deep);
  opacity: 0.9;
}

.ar-info-card {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 88px);
  z-index: 20;
  padding: 20px 20px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ar-kicker {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink);
}

.ar-info-card h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.ar-label {
  margin: 0 0 8px;
  font-weight: 700;
}

.ar-copy,
.ar-note {
  margin: 0;
  color: rgba(17, 17, 17, 0.88);
  line-height: 1.34;
  font-size: 0.95rem;
}

.ar-note {
  margin-top: 14px;
}

@media (max-width: 420px) {
  .app-shell {
    border-radius: 32px;
  }

  .map-card {
    min-height: 240px;
  }

  .info-row {
    grid-template-columns: minmax(0, 1fr) 124px;
  }

  .photo-card {
    height: 196px;
  }
}

@media (min-width: 700px) {
  .app-shell {
    margin-top: 12px;
    min-height: calc(100vh - 24px);
  }
}
