﻿:root {
  --blue: #1368ff;
  --blue-dark: #0c4fd1;
  --ink: #071633;
  --muted: #5f6d84;
  --soft: #f5f7fb;
  --line: #dfe7f2;
  --card: #ffffff;
  --max: 1380px;
  --radius: 8px;
  --font: "Onest", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Unbounded", "Onest", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 0;
}

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

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

button {
  font: inherit;
}

.page {
  width: 100%;
  margin: 0;
  overflow: clip;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.container {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, .9);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(7, 22, 51, .06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #05070c;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.075em;
  text-transform: uppercase;
  font-family: var(--display);
  transition: color .18s;
}

.brand span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.06em;
  text-transform: none;
  font-family: var(--display);
  transition: color .18s;
}

.brand:hover,
.brand:hover span {
  color: var(--blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #646b78;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav a,
.nav-trigger {
  position: relative;
}

.nav a:hover,
.nav a.is-active,
.nav-trigger:hover,
.nav-dropdown.is-open .nav-trigger {
  color: var(--blue);
}

.nav > a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  height: 2px;
  background: var(--blue);
}

.nav-item {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: default;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.nav-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(1px);
  transition: transform .18s;
}

.nav-dropdown:hover .nav-trigger::after,
.nav-dropdown.is-open .nav-trigger::after,
.nav-dropdown:focus-within .nav-trigger::after {
  transform: translateY(1px) rotate(180deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 20;
  display: grid;
  width: max-content;
  min-width: 152px;
  max-width: min(208px, calc(100vw - 32px));
  max-height: 280px;
  overflow: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 22, 51, .14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s, transform .18s;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 14px;
}

.nav-menu-wide {
  min-width: 226px;
  max-width: min(246px, calc(100vw - 32px));
  max-height: none;
  overflow: visible;
}

.nav-menu a {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.nav-menu a:hover {
  background: var(--blue);
  color: #fff;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown.is-open .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font);
  transition: background .18s, color .18s, transform .18s;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .84) 34%, rgba(255, 255, 255, .1) 62%),
    url("../img/ekskursii-v-sane.jpg") center 30% / cover no-repeat;
}

.hero-content {
  max-width: 650px;
  padding: 132px 0 76px;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5.7vw, 74px);
  line-height: .95;
  letter-spacing: -.075em;
}

.hero p {
  max-width: 530px;
  margin: 22px 0 0;
  color: #1f2b45;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions .btn {
  min-height: 56px;
  min-width: 190px;
  padding: 0 30px;
  font-size: 13px;
}

.hero-attribution {
  position: absolute;
  right: 18px;
  bottom: 10px;
  z-index: 1;
  margin: 0;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .72);
  color: rgba(7, 22, 51, .62);
  font-size: 10px;
  line-height: 1.35;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-attribution a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

section {
  padding: 26px 0;
}

section[id],
[id="reviews"] {
  scroll-margin-top: 92px;
}

.section-line {
  border-top: 1px solid var(--line);
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.carousel-btn {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  cursor: default;
  font-size: 0;
  line-height: 1;
  box-shadow: 0 18px 36px rgba(7, 22, 51, .16);
  transition: background .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}

.carousel-btn::before {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 9px solid currentColor;
  transform: translate(-42%, -50%);
}

[data-carousel-prev]::before,
[data-review-prev]::before {
  content: "";
  border-left: 0;
  border-right: 9px solid currentColor;
  transform: translate(-58%, -50%);
}

[data-carousel-next]::before,
[data-review-next]::before {
  content: "";
}

.carousel-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 22px 44px rgba(19, 104, 255, .26);
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.055em;
}

.section-link,
.text-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.dest-carousel {
  position: relative;
  overflow: visible;
}

#destinations .section-actions {
  position: absolute;
  top: 88px;
  left: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

#destinations .section-actions .carousel-btn {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  box-shadow: 0 12px 24px rgba(7, 22, 51, .12);
}

#destinations .section-actions .carousel-btn::before {
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-left-width: 7px;
}

#destinations .section-actions [data-carousel-prev]::before {
  border-right-width: 7px;
}

.dest-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 58px 12px;
  scroll-padding-left: 58px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.dest-grid::-webkit-scrollbar {
  display: none;
}

.dest-card {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}

.dest-card img,
.post-card img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  border-radius: var(--radius);
}

.dest-card h3,
.post-card h3 {
  margin: 12px 0 4px;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -.035em;
  font-family: var(--display);
  transition: color .18s;
}

.post-card:hover h3 {
  color: var(--blue);
}

.dest-meta {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.dest-price {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  font-family: var(--display);
}

.format-row,
.benefits-row {
  display: grid;
}

.format-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
  border: 0;
  overflow: visible;
  background: transparent;
}

.benefits-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.format-item,
.benefit-item {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: background .18s, box-shadow .18s, transform .18s;
}

.format-item {
  position: relative;
  display: flex;
  min-height: 236px;
  padding: 22px 24px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #fff;
  background: #0f2348 center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(7, 22, 51, .08);
}

.format-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 51, .04) 0%, rgba(7, 22, 51, .68) 100%);
}

.format-item > * {
  position: relative;
  z-index: 1;
}

.format-group {
  background-image: url("../img/format-group-sanya.png");
}

.format-individual {
  background-image: url("../img/format-individual-sanya.png");
}

.format-bus {
  background-image: url("../img/format-bus.png");
}

.format-sea {
  background-image: url("../img/format-sea-sanya.png");
}

.format-active {
  background-image: url("../img/format-active.png");
}

.benefit-item:hover {
  background: #f4f9ff;
  box-shadow: 0 18px 42px rgba(7, 22, 51, .08);
  transform: translateY(-2px);
}

.format-item:hover {
  box-shadow: 0 22px 48px rgba(7, 22, 51, .12);
  transform: translateY(-2px);
}

.format-item:last-child,
.benefit-item:last-child {
  border-right: 1px solid var(--line);
}

.benefit-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-item {
  position: relative;
  display: flex;
  min-height: 236px;
  padding: 22px 24px;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.benefit-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 22, 51, .04) 0%, rgba(7, 22, 51, .72) 100%);
}

.benefit-item > *:not(img) {
  position: relative;
  z-index: 2;
}

.format-item h3,
.benefit-item h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: -.035em;
}

.benefit-item h3 {
  margin: 0 0 4px;
  color: #fff;
}

.format-item h3 {
  font-size: 17px;
  color: #fff;
}

.format-item p,
.benefit-item p,
.price-card p,
.logistics-list li,
.post-card p,
.faq-a {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.format-item p {
  color: rgba(255, 255, 255, .88);
}

.benefit-item p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, .8fr);
  gap: 56px;
  align-items: start;
}

.split h2 {
  margin-bottom: 14px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  min-height: 146px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.price-card strong {
  display: block;
  margin: 10px 0;
  color: var(--blue);
  font-size: 22px;
  letter-spacing: -.05em;
  font-family: var(--display);
}

.price-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 14px;
}

.logistics-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.logistics-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  min-height: 42px;
}

.logistics-list span {
  color: var(--blue);
  font-weight: 900;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.post-card small,
.post-tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.post-card time {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .44fr);
  gap: 28px;
  align-items: stretch;
}

.seo-copy,
.seo-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.seo-copy {
  padding: 28px;
}

.seo-copy h2 {
  margin-bottom: 16px;
}

.seo-copy p {
  max-width: 860px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.seo-card {
  padding: 24px;
  background: #f8fbff;
}

.seo-card h3,
.review-card strong {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -.035em;
}

.seo-card h3 {
  font-size: 17px;
}

.seo-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.seo-card li {
  position: relative;
  padding-left: 18px;
}

.seo-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.review-carousel {
  position: relative;
}

.review-carousel .section-actions {
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.review-carousel .section-actions .carousel-btn {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  box-shadow: 0 12px 24px rgba(7, 22, 51, .12);
}

.review-carousel .section-actions .carousel-btn::before {
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-left-width: 7px;
}

.review-carousel .section-actions [data-review-prev]::before {
  border-right-width: 7px;
}

.review-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 1px 58px 12px;
  scroll-padding-left: 58px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 260px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border-color: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}

.review-stars {
  color: #f5b301;
  letter-spacing: .08em;
  font-size: 16px;
}

.review-card p {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.review-meta {
  margin-top: auto;
  text-align: left;
}

.review-card strong {
  display: block;
  font-size: 13px;
}

.review-card time,
.review-tour {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.review-tour {
  margin-top: 6px;
  color: var(--blue);
  font-weight: 600;
}

.review-card time {
  margin-top: 4px;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: default;
}

.faq-q span:first-child {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.faq-q span:last-child {
  position: relative;
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 0;
  line-height: 1;
}

.faq-q span:last-child::before,
.faq-q span:last-child::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-q span:last-child::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-q span:last-child {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.faq-item.is-open .faq-q span:last-child::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.faq-item.is-open .faq-q span:last-child::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-a a {
  color: var(--blue);
  font-weight: 400;
  transition: color .18s;
}

.faq-a a:hover {
  color: var(--blue-dark);
}

.faq-item.is-open .faq-a {
  display: block;
}

.blog-hero {
  padding: 44px 0 24px;
}

.blog-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1;
  letter-spacing: -.065em;
}

.blog-hero p {
  max-width: 540px;
  margin: 14px 0 0;
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 30px;
}

.chip {
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.chip.is-active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 30px;
}

.blog-list .post-card img {
  height: 214px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 42px 0 20px;
}

.pagination a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.pagination a.is-active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.article {
  padding: 52px 0;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 820px) 300px;
  gap: 44px;
  align-items: start;
  padding-top: 112px;
  padding-bottom: 52px;
}

.article-shell.article-full {
  display: block;
  max-width: none;
}

.article-content {
  min-width: 0;
}

.article-full .article-content {
  max-width: none;
  margin: 0 auto;
}

.article-content h1 {
  margin: 0;
  max-width: 1040px;
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.065em;
}

.article-lead,
.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 16px;
}

.article-lead {
  margin-top: 18px;
  color: var(--ink);
}

.article-content img {
  width: 100%;
  margin: 26px 0;
  border-radius: var(--radius);
  object-fit: cover;
}

.article-content h2 {
  margin: 32px 0 10px;
  scroll-margin-top: 96px;
  font-size: 24px;
  letter-spacing: -.055em;
  font-family: var(--display);
}

.article-toc {
  margin: 26px 0 32px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.article-content .article-toc-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}

.article-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 28px;
  margin: 0;
  padding-left: 22px;
}

.article-toc li {
  color: var(--muted);
  font-size: 14px;
}

.article-content .article-toc a {
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
}

.article-content .article-toc a:hover {
  color: var(--blue);
}

.article-callout,
.article-route {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
  box-shadow: 0 16px 42px rgba(11, 31, 62, .05);
}

.article-callout {
  margin: 28px 0;
  padding: 22px;
}

.article-callout strong,
.article-route strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
}

.article-callout p,
.article-route p {
  margin: 0;
}

.article-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.article-media-grid img {
  height: 280px;
  margin: 0;
}

.article-route-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 30px;
}

.article-route {
  padding: 20px 22px;
  background: #fff;
}

.climate-table-wrap {
  margin: 26px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.climate-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-family: var(--font);
  font-size: 14px;
}

.climate-table th,
.climate-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.climate-table th {
  background: #f5f9ff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.climate-table tr:last-child td {
  border-bottom: 0;
}

.climate-table td:first-child {
  color: var(--ink);
  font-weight: 700;
}

.season-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.season-summary {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.season-summary strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
}

.season-summary p {
  margin: 0;
}

.catalog-hero {
  padding: 42px 0 24px;
}

.catalog-hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -.065em;
}

.catalog-hero p {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--muted);
}

.catalog-state {
  margin: 0 0 18px;
  color: var(--muted);
}

.catalog-panel {
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, .95fr) minmax(92px, .55fr) minmax(92px, .55fr) minmax(0, .95fr) minmax(0, 1.05fr) minmax(0, .7fr);
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
}

.catalog-toolbar-page {
  grid-template-columns: minmax(180px, 1fr) minmax(190px, .95fr) minmax(104px, .52fr) minmax(104px, .52fr) minmax(190px, 1fr) minmax(120px, .62fr);
}

.filter-field {
  display: grid;
  min-width: 0;
  gap: 6px;
  position: relative;
}

.filter-field > span,
.filter-check > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.filter-check span {
  color: var(--ink);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 42px;
  padding: 0 34px 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}

.filter-field input[type="number"] {
  padding-right: 8px;
}

.filter-field input[type="number"]::-webkit-inner-spin-button,
.filter-field input[type="number"]::-webkit-outer-spin-button {
  margin-right: 0;
}

.filter-field input:focus,
.filter-field select:focus,
.custom-select-button:focus-visible {
  border-color: rgba(19, 104, 255, .45);
  box-shadow: 0 0 0 3px rgba(19, 104, 255, .08);
  outline: 0;
}

.filter-field select {
  appearance: none;
  -webkit-appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 17px) 50% / 5px 5px no-repeat,
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 12px) 50% / 5px 5px no-repeat,
    #fff;
}

.native-select-hidden {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.date-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.site-date {
  position: relative;
  width: 100%;
  min-width: 0;
}

.site-date-button {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: default;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
}

.site-date-button:hover,
.site-date.is-open .site-date-button,
.site-date-button:focus-visible {
  border-color: rgba(19, 104, 255, .45);
  box-shadow: 0 0 0 3px rgba(19, 104, 255, .08);
  outline: 0;
}

.site-date-value {
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.site-date-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(19, 104, 255, .1);
}

.site-date-icon::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1.5px solid var(--blue);
  border-radius: 4px;
}

.site-date-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 7px;
  height: 1.5px;
  background: var(--blue);
}

.site-date-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 40;
  display: none;
  width: 300px;
  max-width: calc(100vw - 32px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 22, 51, .14);
}

.site-date.is-open .site-date-panel {
  display: block;
}

.site-date-header {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.site-date-title {
  text-align: center;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: -.03em;
  text-transform: capitalize;
  white-space: nowrap;
}

.site-date-nav,
.site-date-action,
.site-date-day {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: default;
  font-family: var(--font);
}

.site-date-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
}

.site-date-weekdays,
.site-date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.site-date-weekdays {
  margin-bottom: 6px;
}

.site-date-weekdays span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.site-date-empty {
  aspect-ratio: 1 / 1;
}

.site-date-day {
  min-height: 34px;
  border-radius: 8px;
  font-size: 12px;
}

.site-date-day:hover,
.site-date-day.is-today {
  border-color: rgba(19, 104, 255, .34);
  background: #eef5ff;
}

.site-date-day.is-selected {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.site-date-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.site-date-action {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.custom-select {
  position: relative;
  min-width: 0;
}

.custom-select-button {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: default;
  font-family: var(--font);
  font-size: 12px;
  text-align: left;
}

.custom-select-button::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-2px) rotate(45deg);
}

.custom-select.is-open .custom-select-button {
  border-color: rgba(19, 104, 255, .45);
  box-shadow: 0 0 0 3px rgba(19, 104, 255, .08);
}

.custom-select-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  display: none;
  max-height: 280px;
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 22, 51, .14);
}

.custom-select.is-open .custom-select-list {
  display: grid;
}

.custom-select-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: default;
  font-family: var(--font);
  font-size: 13px;
  text-align: left;
}

.custom-select-option:hover,
.custom-select-option.is-selected {
  background: var(--blue);
  color: #fff;
}

.filter-check {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  align-self: end;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: default;
}

.filter-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.catalog-panel .filter-check {
  margin-bottom: 0;
}

.filter-reset {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  cursor: default;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.catalog-page-btn {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: default;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
}

.catalog-page-btn:hover,
.catalog-page-btn.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.catalog-page-btn[disabled] {
  cursor: default;
  opacity: .45;
}

.catalog-page-gap {
  display: inline-flex;
  height: 40px;
  align-items: center;
  color: var(--muted);
  font-family: var(--font);
  font-size: 13px;
}

.tour-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: default;
  transition: background .18s, box-shadow .18s, transform .18s;
}

.tour-card:hover,
.tour-card:focus-within {
  background: #f4f9ff;
  box-shadow: 0 18px 42px rgba(7, 22, 51, .08);
  transform: translateY(-2px);
}

.empty-card {
  grid-column: 1 / -1;
  cursor: default;
}

.empty-card:hover {
  background: #fff;
  box-shadow: none;
  transform: none;
}

.tour-card img {
  order: 0;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.tour-card-body {
  display: flex;
  order: 1;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.tour-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.rating-star {
  color: #f5b301;
}

.tour-card h3 {
  margin: 10px 0 8px;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.22;
  letter-spacing: -.04em;
}

.tour-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.tour-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.tour-open {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: default;
  font: inherit;
}

.price {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
}

.price-unit {
  font-family: var(--font);
  font-size: .58em;
  font-weight: 400;
  letter-spacing: 0;
}

.landing-hero {
  padding: 54px 0 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .78) 54%, rgba(255, 255, 255, .18)),
    url("../img/sanya-hero.png") center / cover no-repeat;
}

.landing-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1;
  letter-spacing: -.065em;
}

.landing-hero p {
  max-width: 650px;
  margin: 16px 0 0;
  color: #1f2b45;
}

.inner-hero {
  padding: 114px 0 28px;
}

.inner-hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -.065em;
}

.inner-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 17px;
}

.inner-hero .hero-actions {
  margin-top: 34px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--blue);
  transition: color .18s;
}

.breadcrumbs a:hover {
  color: var(--blue-dark);
}

.breadcrumbs span {
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(260px, .45fr);
  gap: 34px;
  align-items: start;
}

.info-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.info-card h2,
.info-card h3 {
  margin-bottom: 12px;
}

.info-card p,
.info-card li {
  color: var(--muted);
}

.info-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-open {
  overflow: hidden;
}

.tour-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  padding: 24px;
}

.tour-modal.is-open {
  display: grid;
  place-items: center;
}

.tour-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 22, 51, .58);
  backdrop-filter: blur(8px);
}

.tour-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(360px, .8fr);
  width: min(1040px, 100%);
  height: min(720px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 28px 90px rgba(7, 22, 51, .28);
}

.tour-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: default;
}

.tour-modal-gallery {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--soft);
}

.tour-modal-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 0;
  transform: translateY(-50%);
  cursor: default;
}

.gallery-btn::before {
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  transform: translate(-50%, -53%);
}

.gallery-prev::before {
  content: "‹";
}

.gallery-next::before {
  content: "›";
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.tour-modal-thumbs {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}

.tour-modal-thumbs::-webkit-scrollbar {
  display: none;
}

.tour-modal-thumb {
  width: 58px;
  height: 42px;
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 7px;
  background: rgba(255, 255, 255, .5);
  cursor: default;
  overflow: hidden;
  opacity: .78;
  transition: opacity .18s, border-color .18s, transform .18s;
}

.tour-modal-thumb:hover,
.tour-modal-thumb.is-active {
  border-color: #fff;
  opacity: 1;
  transform: translateY(-1px);
}

.tour-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-modal-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: hidden;
}

.tour-modal-scroll {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  padding: 34px 34px 14px;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(95, 109, 132, .55) transparent;
}

.tour-modal-scroll::-webkit-scrollbar {
  width: 8px;
}

.tour-modal-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(95, 109, 132, .55);
}

.tour-modal-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.055em;
}

.tour-modal-lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.tour-modal-description {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.tour-modal-description:empty {
  display: none;
}

.tour-modal-description p {
  margin: 0;
}

.tour-modal-subtitle {
  color: var(--ink);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.tour-modal-description ul,
.tour-modal-description ol {
  margin: 0;
  padding-left: 20px;
}

.tour-modal-description a {
  color: var(--blue);
  font-weight: 700;
}

.tour-modal-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tour-modal-details div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.tour-modal-details span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.tour-modal-details strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.tour-modal-footer {
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 0;
  padding: 14px 34px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.article-content a {
  color: var(--blue);
  font-weight: 400;
}

.article-content .breadcrumbs a {
  color: var(--blue);
  font-weight: 600;
}

.sidebar {
  position: sticky;
  top: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 22, 51, .06);
}

.sidebar-title {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sidebar a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
}

.sidebar a:hover {
  color: var(--blue);
}

.footer {
  padding: 72px 0 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--font);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr 1fr .85fr;
  gap: 68px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.footer a {
  color: var(--ink);
  font-weight: 400;
}

.footer a:not(.brand) {
  color: var(--muted);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.footer a:not(.brand):hover {
  color: var(--blue);
}

.footer-brand {
  color: #05070c;
  margin-bottom: 8px;
}

.footer .brand {
  color: #05070c;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.footer-brand span {
  color: var(--ink);
}

.footer .brand span {
  color: var(--ink);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.06em;
  text-transform: none;
}

.footer .brand:hover,
.footer .brand:hover span {
  color: var(--blue);
}

.footer-about p {
  max-width: 360px;
  margin: 8px 0 0;
  font-weight: 400;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 15px;
}

.footer-title {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-bottom {
  padding-top: 28px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
}

.footer-bottom strong {
  font-weight: 700;
}

.footer-bottom p {
  margin: 0 0 8px;
}

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  cursor: default;
  font-size: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  box-shadow: 0 18px 42px rgba(7, 22, 51, .12);
  transition: opacity .18s, transform .18s, background .18s, color .18s;
}

.back-to-top::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(3px) rotate(45deg);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue);
  color: #fff;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .header-inner {
    gap: 16px;
  }

  .nav {
    gap: 18px;
    font-size: 10px;
  }

  .header-actions .btn {
    padding: 0 18px;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 28px, 1240px);
  }

  .nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 120;
    padding: 92px 24px 28px;
    border: 0;
    border-radius: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    overflow-y: auto;
    text-align: left;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .page {
    overflow: visible;
  }

  .nav.is-open,
  body.nav-open .nav {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    display: flex !important;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  body.nav-open .site-header {
    z-index: 1000;
  }

  body.nav-open .menu-btn {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10001;
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
  }

  .nav-menu {
    position: static;
    display: grid;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-top: 12px;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-menu-wide {
    max-width: none;
  }

  .nav-menu a {
    padding: 8px 0;
  }

  .nav-dropdown.is-open .nav-menu {
    display: grid;
  }

  .nav-dropdown:hover .nav-menu {
    transform: none;
  }

  .nav-trigger {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .12em;
    cursor: default;
    pointer-events: none;
  }

  .nav-trigger::after {
    display: none;
  }

  .menu-btn {
    position: relative;
    z-index: 130;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dest-card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .format-row,
  .benefits-row,
  .split,
  .article-shell,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-shell {
    padding-top: 96px;
    gap: 28px;
  }

  .article-media-grid {
    grid-template-columns: 1fr;
  }

  .article-media-grid img {
    height: auto;
  }

  .sidebar {
    position: static;
  }

  .dest-card {
    flex-basis: 84%;
  }

  .review-card {
    flex-basis: calc(84% - 16px);
  }

  .catalog-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .tour-modal-dialog {
    grid-template-columns: 1fr;
    height: calc(100vh - 32px);
    max-height: calc(100vh - 32px);
  }

  .tour-modal-gallery,
  .tour-modal-gallery img {
    min-height: 300px;
    height: 300px;
  }

  .format-item,
  .benefit-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-item {
    border: 1px solid var(--line);
  }

  .format-item:last-child,
  .benefit-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .page {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  body {
    padding-top: 0;
  }

  .site-header {
    top: 0;
    width: 100%;
    border-radius: 0;
  }

  .brand {
    font-size: 19px;
  }

  .brand span {
    font-size: 14px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .78) 58%, rgba(255, 255, 255, .28) 100%),
      url("../img/ekskursii-v-sane.jpg") center 34% / cover no-repeat;
  }

  .hero-content {
    padding: 112px 0 180px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-attribution {
    right: 10px;
    bottom: 8px;
    max-width: calc(100% - 20px);
    font-size: 9px;
  }

  .hero-actions,
  .section-title-row,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .btn {
    min-height: 56px;
  }

  #destinations .section-actions,
  .review-carousel .section-actions {
    left: 10px;
    right: 10px;
  }

  .review-carousel {
    display: block;
  }

  .review-carousel .section-actions {
    position: absolute;
    justify-content: space-between;
    gap: 0;
    margin-top: 0;
    pointer-events: auto;
    transform: translateY(-50%);
  }

  .review-grid {
    padding-left: 58px;
    padding-right: 58px;
    scroll-padding-left: 58px;
  }

  .review-card {
    flex-basis: 100%;
  }

  .footer {
    padding: 46px 0 28px;
  }

  .footer-grid {
    gap: 28px;
  }

  .dest-grid,
  .post-grid,
  .blog-list,
  .price-grid,
  .tour-grid,
  .faq-grid,
  .catalog-toolbar,
  .tour-modal-details {
    grid-template-columns: 1fr;
  }

  .season-summary-grid {
    grid-template-columns: 1fr;
  }

  .article-toc ol {
    grid-template-columns: 1fr;
  }

  .tour-modal-content {
    padding: 0;
  }

  .tour-modal {
    padding: 8px;
  }

  .tour-modal-dialog {
    width: 100%;
    height: calc(100vh - 16px);
    max-height: calc(100vh - 16px);
  }

  .tour-modal-gallery,
  .tour-modal-gallery img {
    min-height: 220px;
    height: 220px;
  }

  .tour-modal-footer {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
  }

  .tour-modal-footer .btn {
    width: 100%;
  }

  .tour-modal-scroll {
    padding: 18px 18px 12px;
  }

  .tour-modal-thumb {
    width: 50px;
    height: 36px;
  }

  .site-date-panel {
    width: 100%;
    max-width: 100%;
    padding: 12px;
  }

  .site-date-grid {
    gap: 4px;
  }

  .site-date-day {
    min-height: 32px;
    font-size: 11px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }

  .footer-bottom {
    padding-right: 64px;
  }
}
