@font-face {
  font-family: TripInter;
  src: url('/assets/trip-inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #10384b;
  --blue: #1268b3;
  --teal: #187d78;
  --coral: #eb976f;
  --mist: #f4f5ef;
  --muted: #4d6268;
  --line: #d4deda;
  --surface: #fff;
  --canvas: #fbfcf9;
  --width: 1480px;
  --gutter: clamp(18px, 3.6vw, 62px);
  font-family:
    TripInter, Inter, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 0;
  line-height: 1.5;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: pretty;
}
h1,
h2,
h3,
b,
strong {
  font-weight: 680;
}
h1 {
  font-size: clamp(2.15rem, 4.25vw, 4rem);
  line-height: 1.09;
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(1.43rem, 2.2vw, 2.08rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}
:lang(zh) h1,
:lang(zh) h2,
:lang(zh) h3 {
  letter-spacing: 0.005em;
  line-height: 1.28;
}
[hidden] {
  display: none !important;
}
.ico {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
:focus-visible {
  outline: 3px solid #1c76bb;
  outline-offset: 3px;
}
.skip {
  position: fixed;
  z-index: 40;
  inset: 9px auto auto 12px;
  transform: translateY(-160%);
  background: var(--surface);
  padding: 9px 16px;
  border-radius: 6px;
}
.skip:focus {
  transform: none;
}
.wrap,
.header-inner,
.footer-main {
  width: min(100%, var(--width));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap {
  min-height: 65vh;
}
.header {
  position: sticky;
  top: 0;
  z-index: 18;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 77px;
}
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex: none;
}
.wordmark img {
  width: 150px;
  height: auto;
  max-height: 38px;
}
.wordmark > span {
  font-size: 0.67rem;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0.14em;
  padding-inline-start: 36px;
  line-height: 1;
}
.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.desktop-nav a {
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 610;
  padding: 11px 14px;
  border-radius: 25px;
  white-space: nowrap;
}
.desktop-nav a[aria-current],
.desktop-nav a:hover,
.mobile-nav a[aria-current] {
  background: #e6efed;
  color: #126964;
}
.header-actions {
  gap: 10px;
}
.user-menu,
.circle-btn,
.overlay-btn,
.rail-arrow {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  height: 39px;
  width: 39px;
  flex: none;
}
.user-menu:hover,
.circle-btn:hover,
.rail-arrow:hover,
.line-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.admin-link,
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  border: 1px solid var(--blue);
  color: #fff;
  border-radius: 30px;
  font-weight: 670;
  line-height: 1.3;
}
.admin-link {
  font-size: 0.78rem;
  padding: 10px 13px;
  white-space: nowrap;
}
.admin-link:hover,
.primary:hover {
  background: #0e558f;
  border-color: #0e558f;
}
.language-menu {
  position: relative;
}
.language-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 4px;
  font-size: 0.79rem;
  font-weight: 600;
  white-space: nowrap;
}
.language-menu summary::-webkit-details-marker {
  display: none;
}
.languages {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 25;
  width: 140px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 8px 30px #10384b15;
}
.languages a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 0.85rem;
}
.languages a:hover,
.languages a[aria-current] {
  background: #e9f3f0;
  color: var(--teal);
}
.mobile-nav {
  display: none;
}
footer {
  margin-top: 65px;
  border-top: 1px solid var(--line);
  background: #f2f5ef;
}
.footer-main {
  min-height: 140px;
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
  padding-block: 26px;
}
.footer-main .wordmark img {
  width: 122px;
}
.footer-main nav {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
}
.footer-main nav a,
.footer-admin {
  font-size: 0.77rem;
  color: var(--muted);
  font-weight: 540;
}
.footer-main nav a:hover,
.footer-admin:hover {
  color: var(--teal);
  text-decoration: underline;
}
.footer-admin {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  white-space: nowrap;
}
.films {
  padding-block: 27px 10px;
}
.home-title,
.section-title,
.catalog-heading,
.catalog-meta,
.product-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.home-title {
  margin-bottom: 19px;
}
.home-title h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
  letter-spacing: -0.055em;
}
.home-search,
.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 25px;
  padding: 5px 6px 5px 15px;
  color: var(--muted);
  width: min(324px, 45%);
}
.home-search input,
.catalog-search input {
  border: 0;
  background: transparent;
  outline: 0;
  min-width: 0;
  flex: 1;
  font-size: 0.86rem;
  line-height: 1.4;
}
.home-search:focus-within,
.catalog-search:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.home-search button,
.catalog-search button {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 50%;
  background: #e4efec;
  color: var(--teal);
}
.film-wrapper {
  position: relative;
}
.film-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(132px, 11.2vw, 177px);
  gap: 13px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-block: 3px 5px;
}
.film-strip::-webkit-scrollbar,
.filter-chips::-webkit-scrollbar {
  display: none;
}
.reel {
  border: 0;
  padding: 0;
  text-align: left;
  background: none;
  color: var(--ink);
  min-width: 0;
  scroll-snap-align: start;
}
.reel-still {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 9/14;
  border-radius: 13px;
  background: #d6e0db;
}
.reel-still:after {
  content: '';
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #0a243951);
}
.reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.play-ring {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 1;
  left: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ffffffaa;
  color: #fff;
  background: #133b49a3;
  backdrop-filter: blur(4px);
}
.reel strong,
.reel small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reel strong {
  font-size: 0.82rem;
  margin-top: 8px;
  line-height: 1.38;
  font-weight: 650;
}
.reel small {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 1px;
}
@media (hover: hover) {
  .reel:hover img,
  .card-link:hover img,
  .guide-card a:hover img {
    transform: scale(1.035);
  }
}
.rail-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  height: 34px;
  width: 34px;
  box-shadow: 0 3px 10px #183e4d24;
}
.rail-arrow.previous {
  left: -13px;
}
.rail-arrow.next {
  right: -13px;
}
.rail-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}
.home-section {
  margin-top: 32px;
}
.section-title {
  margin-bottom: 17px;
  align-items: baseline;
}
.section-title > a,
.inline-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--teal);
  font-size: 0.89rem;
  font-weight: 650;
}
.section-title > a:hover,
.inline-link:hover {
  text-decoration: underline;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 21px;
}
.trip-card {
  position: relative;
  min-width: 0;
}
.card-link {
  display: block;
}
.card-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.36;
  border-radius: 13px;
  background: #dbe4dd;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.4s ease;
}
.card-info {
  padding: 10px 2px 2px;
}
.location,
.product-type {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 650;
  line-height: 1.3;
}
.card-info h3 {
  font-size: clamp(0.92rem, 1.14vw, 1.11rem);
  line-height: 1.39;
  letter-spacing: -0.025em;
  margin: 3px 0;
}
.card-facts,
.byline,
.catalog-meta p {
  color: var(--muted);
  font-size: 0.8rem;
}
.card-price {
  display: flex;
  gap: 5px;
  align-items: baseline;
  margin-top: 6px;
  font-size: 0.75rem;
}
.card-price span,
.panel-price span {
  color: var(--muted);
}
.card-price b {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.fav {
  border: 1px solid #e2e8e6;
  background: #fff;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.trip-card > .fav {
  position: absolute;
  top: 10px;
  right: 10px;
  box-shadow: 0 2px 8px #183e4d17;
}
.fav:hover,
.fav[aria-pressed='true'] {
  color: var(--teal);
}
.fav[aria-pressed='true'] svg {
  fill: #bfe7df;
  stroke: var(--teal);
}
.line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 9px 16px;
  font-size: 0.84rem;
  font-weight: 610;
}
.home-section > .line-btn {
  display: flex;
  margin: 18px auto 0;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  padding: 24px 0 15px;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
}
.breadcrumbs a:hover {
  text-decoration: underline;
  color: var(--teal);
}
.breadcrumbs span {
  max-width: 64ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalogue,
.guides,
.account {
  padding-top: 4px;
}
.catalog-heading {
  margin-bottom: 23px;
}
.catalogue h1,
.guides h1,
.account h1 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
}
.filter-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 3px 2px 7px;
}
.filter-chips button {
  border: 1px solid var(--line);
  background: #fff;
  white-space: nowrap;
  border-radius: 22px;
  padding: 7px 13px;
  font-size: 0.78rem;
}
.filter-chips button:hover,
.filter-chips button[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.catalog-meta {
  font-size: 0.78rem;
  padding: 10px 0 18px;
}
.catalog-meta label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.catalog-meta select {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-weight: 600;
  max-width: 185px;
  font-size: 0.8rem;
}
.no-results {
  padding: 40px 0;
}
.no-results p {
  margin-bottom: 12px;
}
.product-heading {
  align-items: flex-start;
  margin: 6px 0 24px;
}
.product-heading h1 {
  font-size: clamp(1.95rem, 3.6vw, 3.45rem);
  max-width: 22em;
}
.product-type {
  margin-bottom: 8px;
}
.product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}
.product-facts span,
.fact,
.sample-traveller,
.guide-note {
  display: flex;
  align-items: center;
  gap: 7px;
}
.product-actions {
  display: flex;
  gap: 7px;
  margin: 7px 0;
}
.product-actions .fav {
  width: 39px;
  height: 39px;
}
.product-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 200px;
  height: clamp(235px, 35vw, 450px);
  gap: 6px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--mist);
}
.product-gallery.many {
  grid-template-columns: 1.65fr 1fr;
  grid-auto-rows: minmax(0, 1fr);
}
.product-gallery.many .photo-0 {
  grid-row: 1 / span 2;
}
.product-gallery.many:has(.photo-1):not(:has(.photo-2)) .photo-1 {
  grid-row: 1 / span 2;
}
.product-gallery > button:not(.photo-count) {
  padding: 0;
  border: 0;
  background: transparent;
  min-height: 0;
  overflow: hidden;
}
.product-gallery img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.photo-count {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 22px;
  padding: 9px 12px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 650;
  box-shadow: 0 2px 8px #102d3b27;
}
.photo-count span {
  border-left: 1px solid var(--line);
  padding-left: 7px;
  color: var(--teal);
}
.product-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5.6vw, 92px);
  padding-top: 30px;
  align-items: start;
}
.product-story {
  min-width: 0;
  max-width: 850px;
}
.summary {
  font-size: clamp(1.03rem, 1.45vw, 1.22rem);
  color: #254857;
  line-height: 1.7;
  margin-bottom: 24px;
}
.product-block {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.product-block h2,
.plan-form-wrap legend,
.information h2,
.account h2 {
  font-size: clamp(1.13rem, 1.7vw, 1.5rem);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.product-block h3,
.guide-body h3 {
  font-size: 1.04rem;
  margin: 12px 0 4px;
}
.product-block p,
.product-block li,
.information p,
.guide-body p,
.guide-body li {
  color: #36545e;
  line-height: 1.72;
  overflow-wrap: anywhere;
}
.product-block p + p,
.guide-body p + p {
  margin-top: 8px;
}
.product-block ul,
.product-block ol,
.guide-body ul,
.guide-body ol,
.facilities {
  margin: 3px 0 6px;
  padding-left: 22px;
}
.facilities {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 8px;
  padding: 3px 0;
}
.facilities li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #e8f0ed;
  color: #255d59;
  padding: 5px 10px;
  border-radius: 18px;
  font-size: 0.8rem;
}
.booking-panel,
.plan-form-wrap {
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  padding: clamp(18px, 2.2vw, 30px);
  box-shadow: 0 8px 28px #163c4708;
}
.booking-panel {
  position: sticky;
  top: 93px;
  scroll-margin-top: 94px;
}
.booking-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.booking-head .ico {
  color: var(--teal);
}
.booking-head h2 {
  font-size: 1.38rem;
}
.panel-price {
  margin-top: 8px;
  font-size: 0.78rem;
}
.panel-price strong {
  font-size: 1.54rem;
  letter-spacing: -0.04em;
}
.booking-note,
.confirmation p,
.lead,
.plan-intro > p {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--muted);
}
.booking-note {
  margin: 9px 0 15px;
}
.booking-panel form,
.plan-form-wrap form,
.plan-form-wrap fieldset {
  display: grid;
  gap: 12px;
}
.booking-panel label,
.plan-form-wrap label:not(.check-grid label) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.81rem;
  font-weight: 620;
}
.booking-panel input,
.booking-panel select,
.plan-form-wrap input:not([type='checkbox']),
.plan-form-wrap select {
  border: 1px solid #b9c9c8;
  padding: 9px 11px;
  border-radius: 9px;
  min-height: 40px;
  min-width: 0;
  width: 100%;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 470;
}
.sample-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 0.88rem;
}
.sample-total b {
  font-size: 1.07rem;
}
.primary {
  min-height: 43px;
  padding: 11px 17px;
  text-align: center;
  font-size: 0.91rem;
}
.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.fact {
  font-size: 0.83rem;
  color: var(--muted);
}
.field-error {
  font-size: 0.8rem;
  color: #963c25;
}
.field-error:empty {
  display: none;
}
.mobile-book {
  display: none;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr minmax(350px, 0.85fr);
  gap: clamp(35px, 6vw, 95px);
  max-width: 1090px;
  margin: 8px auto 0;
  align-items: start;
}
.plan-intro > p {
  margin: 12px 0 18px;
}
.plan-intro > img {
  width: 100%;
  height: clamp(240px, 37vw, 430px);
  object-fit: cover;
  border-radius: 16px;
}
.plan-form-wrap fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.plan-form-wrap fieldset + fieldset {
  margin-top: 4px;
}
.plan-form-wrap legend {
  font-weight: 670;
  margin-bottom: 11px;
}
.form-pair,
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.check-grid label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px;
}
input[type='checkbox'] {
  accent-color: var(--teal);
}
.sample-traveller {
  background: #f1f6f3;
  padding: 10px 13px;
  border-radius: 10px;
}
.sample-traveller span,
.sample-traveller b {
  display: block;
  font-size: 0.8rem;
}
.sample-traveller span {
  color: var(--muted);
}
.plan-form-wrap .booking-note {
  margin: 0;
}
.confirmation {
  padding: 8px 0;
}
.confirmation > .ico {
  padding: 7px;
  width: 41px;
  height: 41px;
  border-radius: 50%;
  background: #d8eee7;
  color: var(--teal);
  margin-bottom: 8px;
}
.confirmation h2 {
  font-size: 1.45rem;
}
.confirmation p {
  margin: 9px 0;
  overflow-wrap: anywhere;
}
.confirmation > div {
  display: grid;
  justify-content: start;
  gap: 10px;
}
.guide-card {
  margin-top: 22px;
}
.guide-card a {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 255px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.guide-card img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.guide-card a > div {
  padding: clamp(20px, 4vw, 55px);
  position: relative;
  background: #fff;
}
.guide-card h2 {
  font-size: clamp(1.4rem, 2.7vw, 2.4rem);
  margin: 2px 0 11px;
}
.guide-card p:not(.product-type) {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.93rem;
}
.guide-card span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  font-weight: 650;
  font-size: 0.87rem;
  margin-top: 16px;
}
.guide,
.information {
  max-width: 780px;
  margin: 10px auto 0;
}
.guide header,
.information h1 {
  margin-bottom: 23px;
}
.guide h1,
.information h1 {
  font-size: clamp(2rem, 4.1vw, 3.7rem);
  line-height: 1.12;
}
.byline {
  margin-top: 12px;
}
.article-photos {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  margin: 14px 0 22px;
  scroll-snap-type: x mandatory;
}
.article-photos img {
  flex: 0 0 100%;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 13px;
  scroll-snap-align: start;
}
.guide-body {
  overflow-wrap: anywhere;
}
.guide-body img {
  width: auto;
  max-width: 100%;
  max-height: 510px;
  margin: 16px auto;
  border-radius: 9px;
}
.guide-body h2 {
  margin: 24px 0 10px;
  font-size: 1.45rem;
}
.guide-body a {
  color: var(--blue);
  text-decoration: underline;
}
.guide-body table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
}
.guide-body th,
.guide-body td {
  border: 1px solid var(--line);
  padding: 5px 8px;
}
.guide-note {
  align-items: flex-start;
  background: #edf3ee;
  border-radius: 10px;
  padding: 13px 15px;
  margin: 23px 0 16px;
  color: #39605a;
  font-size: 0.83rem;
}
.information section,
.information details {
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
.information details summary {
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  list-style: none;
  gap: 12px;
}
.information details summary::-webkit-details-marker {
  display: none;
}
.information details[open] p {
  margin: 9px 0;
}
.information .inline-link {
  margin-top: 20px;
}
.account .section-title {
  align-items: flex-start;
}
.account .lead {
  margin-top: 8px;
}
.account h2 {
  margin-top: 26px;
}
.account .cards {
  margin-bottom: 14px;
}
[data-records] {
  display: grid;
  gap: 7px;
}
.record {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.record b,
.record small {
  display: block;
}
.record small {
  font-size: 0.76rem;
  color: var(--muted);
}
.record span {
  font-size: 0.79rem;
  color: var(--teal);
}
.record b {
  font-size: 0.96rem;
  margin: 3px 0;
}
[data-no-saves],
[data-records] > p {
  color: var(--muted);
  font-size: 0.9rem;
}
dialog {
  margin: auto;
  border: 0;
  padding: 0;
  color: #fff;
  background: #08232d;
  border-radius: 16px;
  max-width: calc(100vw - 28px);
  max-height: calc(100dvh - 28px);
  overflow: auto;
}
dialog::backdrop {
  background: #061923ca;
  backdrop-filter: blur(5px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.film-player {
  position: relative;
  width: min(395px, calc((100dvh - 34px) * 0.57), calc(100vw - 28px));
  min-width: min(235px, calc(100vw - 28px));
}
.film-player video {
  display: block;
  width: 100%;
  height: min(69dvh, 640px);
  max-height: calc(100dvh - 150px);
  object-fit: contain;
  background: #031017;
}
.film-copy {
  padding: 13px 74px 14px 15px;
  min-height: 65px;
}
.film-copy h2 {
  font-size: 1rem;
  color: white;
  line-height: 1.4;
  letter-spacing: 0;
}
.film-copy p,
.film-product {
  font-size: 0.76rem;
  color: #bfdbd7;
}
.film-product {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
}
.overlay-btn {
  width: 34px;
  height: 34px;
  border-color: #ffffff55;
  background: #123541b3;
  color: #fff;
}
.overlay-btn.close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
}
.film-controls {
  position: absolute;
  bottom: 14px;
  right: 10px;
  display: flex;
  gap: 4px;
}
.gallery-dialog {
  width: min(88vw, 1000px);
  padding: 12px;
}
.gallery-dialog figure img {
  width: 100%;
  height: min(66dvh, 650px);
  object-fit: contain;
}
.gallery-dialog figcaption {
  font-size: 0.83rem;
  text-align: center;
  margin: 7px 0;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px;
  font-size: 0.85rem;
}
.toast {
  position: fixed;
  z-index: 45;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 12px);
  padding: 10px 16px;
  border-radius: 30px;
  color: white;
  background: var(--ink);
  font-size: 0.85rem;
  max-width: 90vw;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1050px) {
  .desktop-nav a {
    padding: 10px 8px;
  }
  .header-inner {
    gap: 10px;
  }
  .header-actions {
    gap: 7px;
  }
  .wordmark img {
    width: 133px;
  }
  .cards {
    gap: 23px 14px;
  }
}
@media (max-width: 820px) {
  .header-actions .user-menu {
    display: none;
  }
  .desktop-nav {
    display: none;
  }
  .header-inner {
    min-height: 62px;
  }
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mobile-nav {
    position: fixed;
    z-index: 19;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fffffff7;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2px;
    padding: 5px max(5px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom));
    backdrop-filter: blur(10px);
  }
  .mobile-nav a {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 3px;
    border-radius: 9px;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.15;
  }
  .mobile-nav a span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .mobile-nav a .ico {
    width: 18px;
    height: 18px;
  }
  .footer-main {
    padding-bottom: 88px;
    flex-wrap: wrap;
  }
  .product-columns {
    grid-template-columns: minmax(0, 1.25fr) minmax(245px, 1fr);
    gap: 20px;
  }
  .plan-grid {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 1fr);
  }
  .toast {
    bottom: 78px;
  }
}
@media (max-width: 620px) {
  :root {
    --gutter: 16px;
  }
  .header-inner {
    gap: 5px;
    min-height: 59px;
  }
  .wordmark img {
    width: 118px;
  }
  .wordmark > span {
    font-size: 0.6rem;
    padding-left: 28px;
  }
  .header-actions {
    gap: 7px;
  }
  .admin-link {
    font-size: 0.7rem;
    gap: 5px;
    padding: 8px 10px;
  }
  .header-actions .language-menu summary {
    padding: 8px 4px;
  }
  .language-menu summary > span {
    display: none;
  }
  .films {
    padding-top: 14px;
    padding-bottom: 3px;
  }
  .home-title {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 12px;
  }
  .home-title h1 {
    font-size: 1.7rem;
  }
  .home-search,
  .catalog-search {
    width: 100%;
  }
  .film-strip {
    grid-auto-columns: clamp(102px, 29vw, 148px);
    gap: 9px;
    margin-inline: -16px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }
  .reel-still {
    aspect-ratio: 9/14.5;
    border-radius: 11px;
  }
  .reel strong {
    font-size: 0.75rem;
    margin-top: 6px;
  }
  .reel small {
    font-size: 0.64rem;
  }
  .play-ring {
    height: 27px;
    width: 27px;
    left: 7px;
    bottom: 7px;
  }
  .rail-arrow {
    display: none;
  }
  .home-section {
    margin-top: 26px;
  }
  .section-title {
    gap: 10px;
    margin-bottom: 13px;
  }
  .section-title h2 {
    font-size: 1.38rem;
  }
  .section-title > a {
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .card-photo {
    border-radius: 11px;
    aspect-ratio: 1.04;
  }
  .card-info {
    padding: 7px 0 0;
  }
  .card-info h3 {
    font-size: 0.88rem;
    line-height: 1.4;
  }
  .card-facts {
    font-size: 0.69rem;
  }
  .card-price {
    margin-top: 4px;
    font-size: 0.68rem;
  }
  .card-price b {
    font-size: 0.82rem;
  }
  .location {
    font-size: 0.66rem;
  }
  .trip-card > .fav {
    top: 6px;
    right: 6px;
    width: 30px;
    height: 30px;
  }
  .breadcrumbs {
    padding: 16px 0 10px;
    gap: 4px;
    font-size: 0.67rem;
  }
  .breadcrumbs span {
    max-width: 52vw;
  }
  .catalog-heading {
    display: block;
    margin-bottom: 14px;
  }
  .catalog-search {
    margin-top: 13px;
  }
  .catalog-meta {
    padding: 7px 0 13px;
  }
  .catalog-meta label,
  .catalog-meta select {
    font-size: 0.72rem;
  }
  .product-heading {
    display: block;
    margin: 5px 0 15px;
  }
  .product-heading h1 {
    font-size: 1.85rem;
  }
  .product-type {
    font-size: 0.71rem;
  }
  .product-facts {
    font-size: 0.77rem;
    margin-top: 9px;
    gap: 6px 13px;
  }
  .product-actions {
    margin-top: 10px;
  }
  .product-actions .fav,
  .product-actions .circle-btn {
    width: 33px;
    height: 33px;
  }
  .product-gallery {
    height: clamp(225px, 65vw, 345px);
    border-radius: 13px;
  }
  .product-gallery.many {
    grid-template-columns: 1.8fr 1fr;
  }
  .photo-count {
    bottom: 8px;
    right: 8px;
    padding: 6px 8px;
    font-size: 0.7rem;
  }
  .product-columns {
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding-top: 16px;
  }
  .product-story,
  .booking-panel {
    width: 100%;
  }
  .booking-panel {
    position: static;
    scroll-margin-top: 68px;
  }
  .summary {
    margin-bottom: 16px;
  }
  .product-block {
    padding: 13px 0;
  }
  .product-block p,
  .product-block li {
    font-size: 0.91rem;
  }
  .mobile-book {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 14px;
    background: var(--blue);
    color: #fff;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 620;
    position: fixed;
    z-index: 14;
    bottom: calc(65px + env(safe-area-inset-bottom));
    right: 12px;
    box-shadow: 0 3px 15px #10384b27;
  }
  .mobile-book.in-view {
    display: none;
  }
  .plan-grid {
    display: block;
  }
  .plan-intro > img {
    height: 125px;
  }
  .plan-form-wrap {
    margin-top: 15px;
  }
  .plan-intro h1,
  .guides h1,
  .account h1,
  .information h1 {
    font-size: 2rem;
  }
  .guide-card a {
    display: block;
  }
  .guide-card img {
    aspect-ratio: 1.85;
    height: auto;
  }
  .guide-card a > div {
    padding: 16px;
  }
  .guide header {
    margin-bottom: 13px;
  }
  .guide h1 {
    font-size: 2rem;
  }
  .article-photos img {
    max-height: 320px;
  }
  .account .section-title {
    display: block;
  }
  .account .line-btn {
    margin-top: 9px;
  }
  .record {
    padding: 10px;
    align-items: flex-start;
  }
  .record > small {
    max-width: 28%;
    overflow-wrap: anywhere;
    text-align: right;
  }
  footer {
    margin-top: 36px;
  }
  .footer-main {
    align-items: flex-start;
    gap: 13px 20px;
  }
  .footer-main > div:first-child {
    width: 100%;
  }
  .footer-main nav {
    gap: 8px 13px;
  }
  .footer-main .wordmark img {
    width: 106px;
  }
}
@media (max-width: 340px) {
  .admin-link .ico {
    display: none;
  }
  .home-title h1 {
    font-size: 1.5rem;
  }
  .card-info h3 {
    font-size: 0.81rem;
  }
  .film-strip {
    grid-auto-columns: 105px;
  }
  .section-title h2 {
    font-size: 1.2rem;
  }
  .mobile-nav a {
    font-size: 0.6rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
