* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #edf5f7;
  color: #123047;
  font: 16px system-ui;
}
header {
  background: #07344e;
  color: white;
  padding: 32px 20px;
}
main {
  max-width: 850px;
  margin: auto;
  padding: 20px;
}
button,
a {
  font: inherit;
}
button {
  padding: 12px;
  border: 1px solid #bdd5dc;
  border-radius: 12px;
  background: white;
  color: #123047;
  cursor: pointer;
}
nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
}
article {
  background: white;
  padding: 20px;
  border-radius: 16px;
  margin: 16px 0;
}
a {
  color: #007b83;
}
h1 {
  margin: 10px 0;
}
li {
  margin: 8px 0;
}
header {
  background: linear-gradient(125deg, #082e48, #087e88);
  padding: 38px max(20px, calc((100vw - 850px) / 2));
  border-radius: 0 0 30px 30px;
}
header h1 {
  font-size: clamp(26px, 5vw, 42px);
}
main {
  padding: 22px 16px;
}
nav {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 12px;
}
nav button {
  min-height: 92px;
  box-shadow: 0 4px 12px #1230470b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}
nav button span {
  font-size: 28px;
}
nav button[aria-pressed='true'] {
  background: #d7f4ef;
  border: 2px solid #087e88;
}
article {
  box-shadow: 0 8px 30px #12304712;
}
article a {
  display: inline-block;
  background: #087e88;
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  margin: 5px 0;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #e6a52d;
  outline-offset: 3px;
}
#lang {
  float: right;
}
footer {
  text-align: center;
  padding: 20px;
  color: #456;
}
@media (max-width: 480px) {
  nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  nav button {
    font-size: 12px;
    padding: 8px;
    min-height: 85px;
  }
}
input,
select {
  font: inherit;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #bdd5dc;
  border-radius: 8px;
  margin: 4px;
}
.place {
  border: 1px solid #d9e5e8;
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
}
.place h3 {
  margin: 0;
}
.place a {
  margin-right: 8px;
  font-size: 14px;
}
@media (max-width: 360px) {
  nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.place {
  overflow-wrap: anywhere;
}
.place img {
  aspect-ratio: 16/9;
}
input[type='search'] {
  width: min(100%, 320px);
}
@media (prefers-reduced-motion: no-preference) {
  nav button:hover {
    transform: translateY(-2px);
    transition: transform 0.15s;
  }
}
body {
  background: #f3f7f8;
}
header {
  padding-top: 48px;
  padding-bottom: 40px;
  background: linear-gradient(135deg, #09263e, #075d69 85%);
}
header h1 {
  letter-spacing: -0.035em;
  max-width: 650px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #b4e8e2;
  font-weight: 700;
  margin: 12px 0;
}
.hero-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero-links a {
  color: white;
  text-decoration: none;
  border: 1px solid #ffffff65;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
}
main {
  max-width: 1040px;
}
#explore {
  font-size: 20px;
  letter-spacing: -0.02em;
}
nav button {
  border-color: #dce7e9;
  border-radius: 16px;
  min-height: 100px;
}
article {
  padding: 22px;
  border: 1px solid #e1eaec;
}
article > section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.place {
  margin: 0;
  padding: 14px;
  box-shadow: 0 4px 16px #12304708;
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 6px;
}
.place h3,
.place p {
  width: 100%;
}
.place p {
  color: #536c79;
  font-size: 14px;
  margin: 4px 0 10px;
}
.place img,
.photo-placeholder {
  width: 100%;
  height: 155px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
}
.photo-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e4f2f1, #d4e6ec);
  font-size: 42px;
}
.place a {
  flex: 1;
  text-align: center;
  margin: 0;
  padding: 10px 8px;
}
.place a:last-child {
  background: #e6f2f3;
  color: #075d69;
}
#lang {
  font-size: 13px;
}
footer {
  font-size: 13px;
}
@media (max-width: 480px) {
  header {
    padding: 26px 18px;
  }
  article {
    padding: 14px;
  }
  nav button {
    min-height: 86px;
  }
  .hero-links a {
    font-size: 12px;
  }
  header h1 {
    clear: both;
    padding-top: 8px;
  }
}
body {
  background: #f5f8f7;
}
header {
  position: relative;
  overflow: hidden;
  padding: 30px max(24px, calc((100vw - 1040px) / 2)) 44px;
  border-radius: 0 0 36px 36px;
}
header:after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  right: -110px;
  top: -140px;
  pointer-events: none;
}
header h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  margin-top: 28px;
}
.hero-links a {
  background: #ffffff12;
}
.hero-links a:first-child {
  background: #fff;
  color: #075d69;
}
main {
  padding-top: 28px;
}
#explore {
  font-size: 24px;
  margin: 0 0 16px;
}
nav {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
nav button {
  font-size: 13px;
  min-height: 88px;
  border: 0;
  box-shadow: 0 3px 14px #09263e0b;
}
nav button span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #edf5f3;
  font-size: 23px;
}
nav button[aria-pressed='true'] {
  border: 0;
  background: #d7eeea;
  box-shadow: inset 0 0 0 1px #087e88;
}
article {
  border: 0;
  border-radius: 24px;
  padding: 24px;
  margin-top: 24px;
}
article h2 {
  font-size: 25px;
  letter-spacing: -0.035em;
  margin-top: 0;
}
article > section {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}
.place {
  padding: 0 0 14px;
  overflow: hidden;
  border: 1px solid #e0e8e7;
  border-radius: 20px;
  gap: 8px;
  box-shadow: 0 6px 20px #09263e0a;
}
.place img,
.photo-placeholder {
  height: auto;
  aspect-ratio: 16/10;
  max-height: none !important;
  border-radius: 0 !important;
  margin: 0 0 6px;
}
.place h3,
.place p {
  padding: 0 14px;
}
.place h3 {
  font-size: 17px;
  line-height: 1.3;
}
.place p {
  font-size: 12px;
}
.place a {
  margin: 0 8px 0 0;
  font-size: 12px;
}
.place a:first-of-type {
  margin-left: 12px;
}
.place a:last-child {
  margin-right: 12px;
}
@media (max-width: 720px) {
  nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  article > section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  header {
    padding: 24px 20px 32px;
  }
  main {
    padding: 22px 14px;
  }
  article {
    padding: 16px;
  }
  article > section {
    grid-template-columns: 1fr;
  }
  .place img,
  .photo-placeholder {
    aspect-ratio: 16/9;
  }
  .place h3 {
    font-size: 19px;
  }
  .place p {
    font-size: 13px;
  }
  .place a {
    font-size: 14px;
  }
}
.place {
  position: relative;
}
.place .photo-placeholder {
  background:
    radial-gradient(ellipse at top right, #c2e4df, transparent 70%),
    linear-gradient(140deg, #edf6f4, #dbe8ed);
  color: #41636b;
  font-weight: 500;
}
.place a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
header .eyebrow {
  letter-spacing: 0.19em;
}
header #welcome {
  max-width: 460px;
  line-height: 1.6;
  color: #d7eeed;
}
nav button {
  transition: background 0.15s;
}
nav button:active {
  background: #cce8e2;
}
@media (max-width: 480px) {
  header h1 {
    max-width: 300px;
  }
  #lang {
    border-radius: 24px;
  }
  nav {
    gap: 8px;
  }
  nav button {
    min-height: 94px;
  }
  article {
    box-shadow: 0 5px 24px #1230470b;
  }
}
nav button {
  padding: 0 0 12px;
  overflow: hidden;
  gap: 9px;
  min-height: 115px;
}
nav button span {
  width: 100%;
  height: 80px;
  border-radius: 0;
  background: linear-gradient(135deg, #d9eeea, #f2f8f5);
  color: #176c68;
}
nav button:nth-child(3n + 2) span {
  background: linear-gradient(135deg, #f3e6d6, #faf4e9);
  color: #8c633c;
}
nav button:nth-child(3n) span {
  background: linear-gradient(135deg, #dce8f2, #eff5fa);
  color: #345e80;
}
nav button svg {
  width: 88px;
  height: 72px;
}
nav button[aria-pressed='true'] {
  box-shadow: inset 0 0 0 2px #087e88;
}
@media (max-width: 480px) {
  nav button {
    min-height: 108px;
  }
  nav button span {
    height: 70px;
  }
  nav button svg {
    height: 62px;
  }
}
#stay-times {
  font-weight: 600;
  color: #e6f9f7;
}
#detail {
  scroll-margin-top: 1rem;
}
#detail .poster {
  display: block;
  width: min(100%, 600px);
  height: auto;
  margin-top: 1rem;
}
#detail .place img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
}
.photo-placeholder {
  font-size: 14px;
}
[hidden] {
  display: none !important;
}
.share-qr {
  display: block;
  width: min(100%, 296px);
  height: auto;
  image-rendering: pixelated;
}
#url {
  display: block;
  width: 100%;
}
@media print {
  body {
    background: white;
  }
  header {
    color: #123047;
    background: white;
    padding: 0;
  }
  .hero-links,
  #lang,
  #print,
  #download,
  .nfc-card,
  #qr-text {
    display: none !important;
  }
  article {
    box-shadow: none;
    border: 0;
    margin: 0;
  }
}

.place-photos {
  width: 100%;
  min-width: 0;
}
.place-photo-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: 10px;
}
#detail .place-photo-track img {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}
.place .photo-hint {
  margin: 4px 0 2px;
}
