:root {
  --royal: #0047ab;
  --royal-deep: #002f7a;
  --blue: #1ea0ff;
  --cyan: #5fe3e8;
  --gold: #b8923a;
  --gold-soft: #e7d6a3;
  --ink: #0b1220;
  --muted: #5d6b80;
  --page: #f7f9fc;
  --card: #ffffff;
  --line: #dde5f0;
  --r: 6px;
  --sans: "Montserrat", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.7 var(--sans); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px clamp(16px, 4vw, 48px);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: 14px; color: var(--ink); }
.brand img { border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
nav { display: flex; gap: clamp(14px, 2.6vw, 34px); align-items: center; }
.nav-link {
  font: 700 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
  background: none; border: 0; border-bottom: 1px solid transparent; padding: 8px 0; cursor: pointer;
}
.nav-link:hover, .nav-link.on, .nav-link[aria-expanded="true"] { color: var(--royal); border-bottom-color: var(--gold); }
.menu { position: relative; display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; }
.drop {
  position: absolute; top: 100%; left: -14px; min-width: 190px; margin: 6px 0 0; padding: 8px 0; list-style: none;
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--r);
  box-shadow: 0 16px 36px rgba(0,30,80,.16); z-index: 20;
  max-height: min(70vh, 460px); overflow-y: auto;
}
.drop[hidden] { display: none; }
.drop button {
  display: block; width: 100%; text-align: left; padding: 10px 18px; background: none; border: 0; cursor: pointer;
  font: 600 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.drop button:hover { background: var(--page); color: var(--royal); }
.search { margin: 0; }
.search input {
  width: clamp(130px, 18vw, 230px); padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--page); font: 500 13px/1 var(--sans); color: var(--ink);
}
.search input:focus { border-color: var(--royal); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(30,160,255,.25); }
.showing { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .06em; margin: 22px 0 0; }
.showing button { margin-left: 8px; background: none; border: 0; color: var(--royal); font: 700 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; border-bottom: 1px solid var(--gold); }

.hero {
  text-align: center; color: #fff;
  padding: clamp(80px, 15vw, 160px) 20px clamp(70px, 11vw, 120px);
  background: linear-gradient(135deg, #3fb7e8 0%, var(--royal) 55%, var(--royal-deep) 100%);
  position: relative;
}
.hero { overflow: hidden; min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hero > *:not(.hero-media) { position: relative; z-index: 1; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero.has-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,30,90,.55), rgba(0,20,70,.7)); }
.hero::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 46px; background: var(--gold-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .42em; font-size: 11px; font-weight: 700; color: var(--gold-soft); margin: 0 0 22px; }
.hero h1 { font-weight: 800; font-size: clamp(32px, 6.4vw, 66px); line-height: 1.08; letter-spacing: .04em; text-transform: uppercase; margin: 0 auto 22px; max-width: 18ch; }
.lede { max-width: 54ch; margin: 0 auto 36px; font-size: clamp(15px, 2vw, 18px); opacity: .92; }
.btn {
  display: inline-block; padding: 15px 34px; cursor: pointer; border-radius: var(--r);
  border: 1px solid #fff; color: #fff; background: transparent;
  font: 700 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; transition: background .2s, color .2s;
}
.btn:hover { background: #fff; color: var(--royal); }
.dlg-info .btn { background: var(--royal); border-color: var(--royal); color: #fff; }
.dlg-info .btn:hover { background: var(--royal-deep); color: #fff; }

.wrap { max-width: 1160px; margin: 0 auto; padding: clamp(52px, 8vw, 100px) clamp(16px, 4vw, 32px); }
h2 { font-weight: 800; text-align: center; font-size: clamp(22px, 3.6vw, 32px); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); margin: 0; }
h2::after { content: ""; display: block; width: 56px; height: 2px; margin: 18px auto 0; background: var(--gold); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0 4px; }
.filters button { padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font: 700 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--royal); border-color: var(--royal); color: #fff; }

.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 44px; }
.card {
  text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; padding: 0; cursor: pointer; font: inherit; color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(0,71,171,.13); }
.thumb { aspect-ratio: 1; background: linear-gradient(135deg, #eaf6fc, #dbe7f7); overflow: hidden; display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb img.mark, .dlg-img img.mark { width: 34%; height: auto; aspect-ratio: 1; object-fit: contain; opacity: .4; border-radius: 14px; }
.card .info { padding: 18px 16px 24px; border-top: 1px solid var(--line); }
.card h3 { margin: 0 0 6px; font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.price { color: var(--royal); font-weight: 700; letter-spacing: .08em; margin: 0; }
.tag { display: inline-block; margin-top: 10px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-soft); padding: 2px 10px; }
.card.sold { opacity: .6; }
.empty { color: var(--muted); text-align: center; }

.visit { max-width: none; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.visit > * { max-width: 1096px; margin-left: auto; margin-right: auto; }
.visit-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 44px; text-align: center; }
.visit h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .3em; color: var(--gold); margin: 0 0 10px; font-weight: 700; }
.visit p { margin: 0; color: var(--muted); }
.visit a { color: var(--royal); border-bottom: 1px solid var(--gold-soft); }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 28px clamp(16px, 4vw, 48px); color: var(--muted); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
footer a { margin-left: 18px; color: var(--royal); }

dialog { border: 0; border-top: 3px solid var(--gold); border-radius: var(--r); padding: 0; width: min(900px, calc(100% - 24px)); color: var(--ink); background: #fff; box-shadow: 0 30px 90px rgba(0,20,60,.45); }
dialog::backdrop { background: rgba(4, 18, 52, .72); }
.close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.95); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.dlg-body { display: grid; grid-template-columns: 1fr 1fr; }
.dlg-img { aspect-ratio: 1; background: linear-gradient(135deg, #eaf6fc, #dbe7f7); display: grid; place-items: center; }
.dlg-img img { width: 100%; height: 100%; object-fit: cover; }
.dlg-info { padding: 34px 30px; align-self: center; }
.dlg-info h3 { margin: 0 0 6px; font-weight: 800; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; }
.dlg-info .price { font-size: 22px; margin-bottom: 14px; }
.dlg-info p { color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.opts button { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.opts button[aria-pressed="true"] { background: var(--royal); border-color: var(--royal); color: #fff; }
.opts button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.meta { color: var(--muted); font-size: 13px; letter-spacing: .06em; margin: 0 0 6px; }

@media (max-width: 860px) {
  .bar { flex-wrap: wrap; row-gap: 6px; }
  nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 4px; }
  .search { margin-left: auto; }
  .drop { left: auto; right: -10px; }
  .menu:first-of-type .drop { left: -10px; right: auto; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card .info { padding: 12px 8px 16px; }
  .card h3 { font-size: 12px; letter-spacing: .1em; }
  .brand { font-size: 12px; letter-spacing: .14em; }
  .nav-link { font-size: 10px; letter-spacing: .14em; }
  .search input { width: 120px; }
}
@media (max-width: 720px) {
  .dlg-body { grid-template-columns: 1fr; }
  .dlg-img { aspect-ratio: 4 / 3; }
  .dlg-info { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}
