:root {
  --navy: #0b3a5b;
  --blue: #1277b8;
  --orange: #e85d04;
  --sand: #f4f7fb;
  --text: #1d2a33;
  --muted: #5b6b75;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(11, 58, 91, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--sand);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  background: #083049;
  color: #d7e8f5;
  font-size: 12px;
  padding: 4px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; }

.nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo img {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #c9d8e3;
  border-radius: 10px;
  background: #fff;
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.nav-open {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--navy);
  border-radius: 99px;
}
.site-banner {
  width: 100%;
  background: #0b3a5b;
  line-height: 0;
  overflow: hidden;
}
.site-banner img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 32%;
}
.menu { display: flex; gap: 14px; flex-wrap: wrap; font-weight: 600; align-items: center; font-size: 14px; }
.menu a:hover,
.menu a.is-on { color: var(--blue); }
.menu .has-sub { position: relative; }
.menu .submenu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 280px;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 8px;
  z-index: 30;
}
.menu .has-sub:hover .submenu,
.menu .has-sub:focus-within .submenu { display: block; }
.menu .submenu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.menu .submenu a:hover { background: #eef5fb; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
}

.hero {
  position: relative;
  padding: 0;
  background: #083049;
  color: var(--text);
  display: block;
  text-align: left;
}
.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center center;
  background: #083049;
}
.hero-copy {
  background: #fff;
  border-bottom: 1px solid #d7e4ee;
  padding: 22px 0;
}
.hero-copy .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  text-align: left;
}
.hero-text {
  flex: 1 1 280px;
  min-width: 0;
}
.hero h1,
.hero .wrap > h1,
.hero-text h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.25;
  margin: 0 0 8px;
  max-width: 18em;
  color: var(--navy);
  white-space: normal;
  letter-spacing: .01em;
  text-shadow: none;
}
.hero p,
.hero-text p {
  max-width: 38em;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  text-shadow: none;
}
.search {
  margin: 0;
  background: #fff;
  border: 1px solid #c9d8e3;
  border-radius: 12px;
  padding: 6px;
  display: flex;
  gap: 8px;
  max-width: 440px;
  width: min(440px, 100%);
  flex: 0 1 440px;
  align-self: auto;
}
.search select, .search input {
  flex: 1;
  border: 0;
  font-size: 16px;
  padding: 12px;
  color: var(--text);
  outline: none;
}
.search button {
  background: var(--orange);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
}
.stats { display: flex; gap: 28px; margin-top: 28px; font-weight: 700; }
.stats small { display: block; font-weight: 500; opacity: .85; }

.section { padding: 48px 0; }
.section h2 { margin: 0 0 8px; font-size: 28px; color: var(--navy); }
.wrap > h1 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  color: var(--navy);
}
.lead { color: var(--muted); margin: 0 0 28px; }

.grid,
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  width: 100%;
}
.grid > *,
.card {
  min-width: 0;
  max-width: 100%;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card img,
.card-ph {
  height: 148px;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.card-ph {
  background: linear-gradient(135deg, #0b3a5b 0%, #1277b8 60%, #e85d04 130%);
}
.card h3 {
  margin: 0;
  padding: 10px 11px 12px;
  font-size: 13px;
  line-height: 1.35;
}

.blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.block {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  min-height: 240px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}
.block h3 { margin: 0 0 6px; }

footer {
  background: #072536;
  color: #c9dbe8;
  padding: 28px 0;
  font-size: 14px;
}
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #fff; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.legal {
  background: #fff;
  border-radius: 16px;
  padding: 28px 26px 32px;
  box-shadow: var(--shadow);
  max-width: 820px;
}
.legal h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 22px 0 8px;
}
.legal p,
.legal li {
  line-height: 1.6;
}
.legal ul {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}
.legal a { color: var(--blue); font-weight: 600; }
.page-hero {
  background: linear-gradient(180deg, #fff, #eef5fb);
  padding: 22px 0 18px;
  border-bottom: 1px solid #d7e4ee;
}
.page-hero-photo {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  margin: 0 0 16px;
  display: block;
}
.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  color: var(--navy);
}
.crumb { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.crumb a { color: var(--blue); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  background: #fff;
  border: 1px solid #c9d8e3;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
}
.chip:hover,
.chip.is-on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.prose {
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
  max-width: none;
  width: 100%;
}
article {
  width: 100%;
  max-width: none;
}
.prose p {
  margin: 0 0 1.2em;
}
.prose p:last-child {
  margin-bottom: 0;
}
.guide {
  overflow: auto;
}
.guide h1 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  color: var(--navy);
}
.related {
  clear: both;
  margin: 36px 0 8px;
  padding-top: 8px;
}
.related h2 {
  margin: 0 0 14px;
}
.guide .related + .related {
  margin-top: 44px;
}
.guide-photo {
  float: left;
  width: min(420px, 44%);
  margin: 0 28px 18px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.guide-photo img {
  width: 100%;
  height: auto;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}
.detail-hero {
  display: none;
}
.detail-hero-img {
  display: none;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 14px;
}
.contacts {
  background: #f3f8fc;
  border: 1px solid #d5e4ef;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 18px;
  max-width: 42rem;
}
.contacts h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--navy);
}
.contacts p { margin: 0 0 6px; }
.contacts p:last-child { margin-bottom: 0; }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.gallery-item {
  display: block;
  cursor: zoom-in;
}
.gallery img,
.gallery-item img {
  height: 140px;
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 12px;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(7, 20, 32, .88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-on {
  display: flex;
}
.lightbox[hidden] {
  display: none !important;
}
.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 50px rgba(0,0,0,.45);
}
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-bar[hidden] { display: none !important; }
.cookie-bar p { margin: 0; font-size: 14px; line-height: 1.45; }
.cookie-actions { display: flex; gap: 10px; align-items: center; }
.cookie-actions a { color: var(--blue); font-weight: 700; font-size: 14px; }
.cookie-actions button {
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
}
.spotlight {
  background: #fff;
  padding: 28px 0 8px;
  border-bottom: 1px solid #d7e4ee;
}
.spotlight-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.spotlight-head h2 { margin: 0; }
.spotlight-head .lead { margin: 4px 0 0; }
.spotlight-nav { display: flex; gap: 8px; }
.spotlight-nav button {
  width: 36px;
  height: 36px;
  border: 1px solid #c9d8e3;
  background: #fff;
  border-radius: 999px;
  font-size: 20px;
  cursor: pointer;
  color: var(--navy);
}
.spotlight-view {
  overflow: hidden;
}
.spotlight-track {
  display: flex;
  width: 100%;
  transition: transform .5s ease;
}
.spotlight-page {
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}
.spot-card {
  min-width: 0;
  width: 100%;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.spot-card img,
.spot-card .card-ph {
  height: 120px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.spot-card .card-ph {
  background: linear-gradient(135deg, #0b3a5b 0%, #1277b8 60%, #e85d04 130%);
}
.spot-body { padding: 10px 12px 14px; }
.spot-kind {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.spot-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.3;
  color: var(--navy);
}
.spot-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .search { flex-direction: column; }
  .nav .wrap {
    flex-wrap: wrap;
    padding: 8px 0;
    min-height: 60px;
  }
  .nav-toggle { display: flex; }
  .menu,
  .ideas-btn {
    display: none;
    width: 100%;
  }
  .nav-open:checked ~ .menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid #e4eef5;
  }
  .nav-open:checked ~ .ideas-btn {
    display: inline-flex;
    margin: 0 0 12px;
    text-align: center;
  }
  .menu .has-sub { width: 100%; }
  .menu .has-sub > a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid #eef3f7;
  }
  .menu .submenu {
    position: static;
    display: none;
    box-shadow: none;
    padding: 0 0 8px 12px;
    min-width: 0;
  }
  .nav-open:checked ~ .menu .submenu,
  .menu .has-sub:hover .submenu,
  .menu .has-sub:focus-within .submenu {
    display: block;
  }
  .site-banner img { height: 160px; }
  .hero { min-height: 0; padding: 0; }
  .hero-photo { max-height: 280px; }
  .hero-copy { padding: 16px 0 18px; }
  .hero-copy .wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .hero h1,
  .hero .wrap > h1,
  .hero-text h1 { white-space: normal; }
  .search {
    margin: 12px 0 0;
    align-self: stretch;
    max-width: none;
    width: 100%;
    flex: 1 1 auto;
  }
  .gallery img { height: 96px; max-height: 96px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-photo {
    float: none;
    width: min(420px, 100%);
    margin: 0 0 16px;
  }
  .guide-photo img { min-height: 220px; }
  .spotlight-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid,
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spotlight-page { grid-template-columns: 1fr; }
}
