:root {
  --ink: #01030e;
  --ink-soft: rgba(1, 3, 14, 0.6);
  --paper: #f6f6f6;
  --white: #ffffff;
  --muted: #8e909a;
  --muted-2: #6d6f7a;
  --line: #e6e6ec;
  --hero-text: #dadce6;
  --red: #ff3b30;
  --orange: #ff6a2a;
  --card-dark: #14161f;
  --radius: 20px;
  --radius-sm: 12px;
  --header: 104px;
  --shadow: 0 20px 60px rgba(1, 3, 14, 0.18);
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Druk Cyr", "Manrope", sans-serif;
  --container: 1760px;
}

@font-face {
  font-family: "Druk Cyr";
  src: url("../fonts/druk/e7d1af8e72502b31afdf671010e5898b.woff2") format("woff2"),
       url("../fonts/druk/e7d1af8e72502b31afdf671010e5898b.woff") format("woff"),
       url("../fonts/druk/e7d1af8e72502b31afdf671010e5898b.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--ink);
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, .footer__slogan, .section__title, .lead__title, .modal h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
}
h3 {
  font-family: var(--font);
  font-weight: 500;
  text-transform: none;
}
h3.section__title {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}

.icon {
  width: 20px;
  height: 20px;
  display: block;
  flex: none;
}

.logo {
  width: auto;
  height: 64px;
  max-width: 336px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  margin-bottom: calc(var(--header) * -1);
  color: #fff;
  background: linear-gradient(180deg, rgba(1, 3, 14, 0.92) 0%, rgba(1, 3, 14, 0.45) 62%, rgba(1, 3, 14, 0) 100%);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(100% + 48px);
  background: linear-gradient(180deg, rgba(1, 3, 14, 0.88) 0%, rgba(1, 3, 14, 0.42) 48%, rgba(1, 3, 14, 0) 100%);
  pointer-events: none;
  z-index: 0;
}
.header.is-hidden {
  transform: translateY(calc(-100% - 56px));
  opacity: 0;
  pointer-events: none;
}

.header__bar {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__logo {
  display: flex;
  justify-content: flex-start;
  flex: none;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.6vw, 32px);
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: none;
}

.header__nav a {
  color: inherit;
  white-space: nowrap;
  padding: 8px 0;
}

.header__nav a:hover { opacity: 0.72; }

.header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: none;
}

.burger.burger--mobile,
.header__call { display: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 8px 0 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--ink-soft);
  color: #fff;
  backdrop-filter: blur(12px);
}

.header.is-light .pill {
  background: rgba(1, 3, 14, 0.06);
  color: var(--ink);
}

.pill__phone {
  color: inherit;
  font-size: 14px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.pill__socials {
  display: flex;
  align-items: center;
}

.pill__socials a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: inherit;
}

.pill__socials a:hover,
.burger:hover { background: rgba(255,255,255,0.12); }
.header.is-light .pill__socials a:hover,
.header.is-light .burger:hover { background: rgba(1,3,14,0.06); }

.burger {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--ink-soft);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(12px);
}

.header.is-light .burger {
  background: rgba(1, 3, 14, 0.06);
  color: var(--ink);
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: 0.2s ease;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.btn:hover { transform: translateY(-1px); background: #1b1e2b; }
.btn .icon { width: 18px; height: 18px; }

.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover { background: #f2f2f4; }

.btn--ghost {
  background: rgba(255,255,255,0.92);
  color: var(--ink);
}
.btn--ghost:hover { background: #fff; }

.btn--block { width: 100%; }

.header .btn--cta { background: #fff; color: var(--ink); }
.header.is-light .btn--cta,
.header .btn--cta:hover { background: var(--ink); color: #fff; }

/* ---------- sidenav ---------- */
.sidenav {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: #01030e;
  color: #fff;
  padding: calc(var(--header) + 12px) 0 28px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  overflow: auto;
}

.sidenav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.sidenav__grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(240px, 1fr);
  gap: 48px;
  min-height: calc(100vh - var(--header) - 80px);
}

.sidenav__label {
  display: block;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.45);
  font-size: 14px;
}

.sidenav__main button,
.sidenav__link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: 0;
  color: #fff;
  text-align: left;
  padding: 8px 0;
}

.sidenav__main button {
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.sidenav__main button.is-active { opacity: 1; }
.sidenav__main button:not(.is-active) { opacity: 0.45; }
.sidenav__main button:hover { opacity: 1; }

.sidenav__nav { margin-top: 36px; }
.sidenav__nav a {
  display: block;
  padding: 6px 0;
  font-size: 22px;
  letter-spacing: -0.03em;
  opacity: 0.8;
}
.sidenav__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.sidenav__sub .sidenav__back { display: none; }

.sidenav__sub-title {
  font-size: 32px;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.sidenav__panel { display: none; }
.sidenav__panel.is-active { display: block; }

.sidenav__panel a {
  display: block;
  padding: 8px 0;
  font-size: 20px;
  opacity: 0.75;
}
.sidenav__panel a:hover { opacity: 1; }

.sidenav__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.sidenav__contacts a { display: block; }
.sidenav__contacts a:first-child { font-size: 22px; letter-spacing: -0.03em; }
.sidenav__contacts a:last-child { color: rgba(255,255,255,0.55); margin-top: 4px; }

.socials { display: flex; gap: 8px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
}
.socials a:hover { background: rgba(255,255,255,0.16); }
.socials img { width: 20px; height: 20px; filter: invert(1); }

.sidenav__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 12px;
  margin-top: 28px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header) + 24px) 0 16px;
  overflow: hidden;
  background: #0b1018 center/cover no-repeat;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  height: 100%;
  background:
    linear-gradient(180deg, rgba(1,3,14,0.25) 0%, rgba(1,3,14,0.05) 30%, rgba(1,3,14,0.35) 68%, rgba(1,3,14,0.72) 100%);
}

.hero__layout {
  position: relative;
  z-index: 1;
  min-height: 360px;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(72px, 7vw, 120px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.03em;
  word-spacing: normal;
  color: var(--hero-text);
  max-width: min(920px, 100%);
  position: absolute;
  left: 0;
  bottom: 0;
}

.quote-card {
  position: absolute;
  top: 0;
  right: 0;
  width: 376px;
  background: rgba(1, 3, 14, 0.6);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 20px 22px 18px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.quote-card__label {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 12px;
}

.avatars {
  display: flex;
  margin-bottom: 14px;
}

.avatars button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(1,3,14,0.4);
  padding: 0;
  margin-left: -8px;
  background: #222 center/cover no-repeat;
  position: relative;
}

.avatars button:first-child { margin-left: 0; }
.avatars button.is-active {
  z-index: 2;
  outline: 2px solid #fff;
  outline-offset: 0;
}

.quote-card__name { font-size: 16px; }
.quote-card__role {
  margin-top: 4px;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  line-height: 1.35;
}
.quote-card__text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.quote-card__more {
  margin-top: auto;
  padding-top: 12px;
  background: none;
  border: 0;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  font-size: 12px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quote-card__more:hover { color: #fff; }

.hero__trips-label {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  word-spacing: normal;
  text-transform: none;
}
.hero__trips {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.hero__trips::-webkit-scrollbar { display: none; }

.personal-card,
.trip-mini {
  flex: 0 0 280px;
  height: 300px;
  border-radius: var(--radius);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.personal-card {
  background:
    radial-gradient(120px 80px at 80% 20%, rgba(255,255,255,0.08), transparent 70%),
    linear-gradient(180deg, #1c2030, #12141c);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0;
  text-align: left;
}

.personal-card strong {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.personal-card .btn { align-self: flex-start; height: 44px; }

.trip-mini {
  --trip-mini-h: min(275px, 30vh, calc(22vw * 300 / 280));
  --trip-mini-title: clamp(13px, calc(var(--trip-mini-h) * 0.0822 - 3.6px), 19px);
  --trip-mini-meta: clamp(10.5px, calc(var(--trip-mini-h) * 0.0274 + 4.97px), 12.5px);
  --trip-mini-pad: clamp(8px, calc(var(--trip-mini-h) * 0.0509), 14px);
  --trip-mini-tag-inset: clamp(7px, calc(var(--trip-mini-h) * 0.0436), 12px);
  display: block;
  flex: 0 0 auto;
  width: calc(var(--trip-mini-h) * 280 / 300);
  max-width: min(calc(275px * 280 / 300), 28vh, 22vw);
  height: var(--trip-mini-h);
  max-height: min(275px, 30vh);
  aspect-ratio: 280 / 300;
  background: #222 center/cover no-repeat;
}
.trip-mini::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.72));
}
.trip-mini__body,
.trip-mini .tag { z-index: 1; }
.trip-mini .tag { position: absolute; }
.trip-mini__body {
  position: absolute;
  left: var(--trip-mini-pad);
  right: var(--trip-mini-pad);
  bottom: var(--trip-mini-pad);
}
.trip-mini h3 {
  font-size: var(--trip-mini-title);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.trip-mini p {
  margin-top: clamp(2px, calc(var(--trip-mini-h) * 0.0145), 4px);
  font-size: var(--trip-mini-meta);
  line-height: 1.3;
  color: rgba(255,255,255,0.8);
}
.trip-mini .tour__tags {
  top: var(--trip-mini-tag-inset);
  right: var(--trip-mini-tag-inset);
  gap: clamp(4px, calc(var(--trip-mini-h) * 0.0218), 6px);
}
.trip-mini .tour__tags .tag {
  height: clamp(20px, calc(var(--trip-mini-h) * 0.0982), 27px);
  gap: clamp(4px, calc(var(--trip-mini-h) * 0.0218), 6px);
  padding: 0 clamp(6px, calc(var(--trip-mini-h) * 0.0364), 10px);
  font-size: var(--trip-mini-meta);
}
.trip-mini .tour__tags .tag .icon {
  width: clamp(10px, calc(var(--trip-mini-h) * 0.0436), 12px);
  height: clamp(10px, calc(var(--trip-mini-h) * 0.0436), 12px);
}

.tag {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(1, 3, 14, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
}
.tag .icon { width: 12px; height: 12px; }
.tour__tags {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.tour__tags .tag { position: static; }
.form__ok {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  flex: none;
}
.footer .form__ok { background: #fff; color: var(--ink); }

/* ---------- sections ---------- */
.section { padding: 112px 0; background: var(--paper); color: var(--ink); }
.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 10px;
}
.section__kicker .icon { width: 18px; height: 18px; }
.section__title {
  font-size: clamp(44px, 4vw, 68px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.center { text-align: center; }

.tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(1, 3, 14, 0.05);
  gap: 2px;
}
.tabs button {
  border: 0;
  background: transparent;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted-2);
}
.tabs button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(1,3,14,0.06);
}
.tabs button:hover:not(.is-active) { color: var(--ink); }

.benefits__title {
  text-align: center;
  max-width: 32ch;
  margin: 0 auto 14px;
}
.benefits__lead {
  max-width: 720px;
  margin: 0 auto 36px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
  text-transform: none;
  letter-spacing: -0.01em;
  word-spacing: normal;
}

.bento { display: grid; gap: 16px; }
.bento--group {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 250px 250px;
}
.bento--group .bento__card:nth-child(1) { grid-column: 2; grid-row: 2; }
.bento--group .bento__card:nth-child(2) { grid-column: 3; grid-row: 2; }
.bento--group .bento__card:nth-child(3) { grid-column: 1; grid-row: 1 / span 2; }
.bento--group .bento__card:nth-child(4) { grid-column: 2 / span 2; grid-row: 1; }

.bento--individual {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 270px 270px;
}
.bento--individual .bento__card:nth-child(1) { grid-column: 1; grid-row: 1; }
.bento--individual .bento__card:nth-child(2) { grid-column: 2; grid-row: 1; }
.bento--individual .bento__card:nth-child(3) { grid-column: 1 / span 2; grid-row: 2; }
.bento--individual .bento__card:nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }

.bento__card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 220px;
  color: #fff;
  background: #222 center/cover no-repeat;
}
.bento__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.62));
}
.bento__body { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; }
.bento__card h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: none;
}
.bento__card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255,255,255,0.86);
  max-width: none;
}
@media (min-width: 1181px) {
  .bento__card p {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.35s ease, transform 0.4s ease;
  }
  .bento__card:hover p,
  .bento__card.is-open p {
    max-height: 8em;
    margin-top: 8px;
    opacity: 1;
    transform: translateY(0);
  }
}

.bento-slider { position: relative; }
.bento-slider__viewport { overflow: visible; }
.bento-slider__track {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 16px;
}
.bento-slide--mosaic,
.bento-slide--tall { min-width: 0; }
.bento-slide--mosaic {
  flex: 0 0 calc((100% - 32px) / 2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 516px;
}
.bento-slide--mosaic .bento__card:first-child { grid-column: 1 / -1; }
.bento-slide--tall {
  flex: 0 0 calc((100% - 32px) / 4);
  height: 516px;
  min-height: 516px;
}

/* ---------- catalog ---------- */
.catalog__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 22px;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.view-toggle,
.catalog [data-select="currency"],
.catalog__head .btn--ghost { display: none; }

.view-toggle {
  padding: 4px;
  border-radius: 12px;
  background: rgba(1,3,14,0.05);
}
.view-toggle button {
  width: 36px; height: 36px;
  border: 0; border-radius: 9px;
  background: transparent;
  color: var(--muted);
  display: grid; place-items: center;
}
.view-toggle button.is-active { background: #fff; color: var(--ink); }

.select { position: relative; }
.select__btn {
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(1,3,14,0.05);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.select__btn:hover, .chip:hover { background: rgba(1,3,14,0.09); }
.select__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 16px;
  padding: 6px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 5;
  max-height: 280px;
  overflow: auto;
}
.select.is-open .select__menu { display: block; }
.select__menu button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 10px 12px;
}
.select__menu button:hover,
.select__menu button.is-active { background: var(--paper); }

.chips {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(1,3,14,0.05);
  overflow: auto;
}
.chip {
  border: 0;
  background: transparent;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted-2);
  white-space: nowrap;
}
.chip.is-active { background: #fff; color: var(--ink); }

.catalog__grid {
  display: grid;
  /* minmax(0, 1fr): Firefox otherwise uses a hover video's intrinsic width as the 1fr minimum. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.tour[hidden] { display: none !important; }
.tour {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  min-height: 0;
  height: auto;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background: #1b1d27 center/cover no-repeat;
}
.tour__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.tour.is-playing .tour__video { opacity: 1; }
.tour::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.04) 35%, rgba(0,0,0,0.78));
  transition: 0.35s ease;
}
.tour:hover::after { background: linear-gradient(180deg, rgba(0,0,0,0.02) 25%, rgba(0,0,0,0.82)); }
.tour:hover { transform: translateY(-2px); }
.tour { transition: transform 0.25s ease; }

.tour > .tag,
.tour__tags { z-index: 2; }
.tour__meta {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 2;
  display: grid;
  gap: 6px;
}
.tour__meta h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.tour__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.82);
}
.tour__row strong { margin-left: auto; }

.catalog.is-list .catalog__grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.catalog.is-list .tour {
  aspect-ratio: auto;
  min-height: 0;
  height: auto;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  background: #fff;
  color: var(--ink);
  padding-right: 18px;
}
.catalog.is-list .tour::after { display: none; }
.catalog.is-list .tour__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  background: center/cover no-repeat;
}
.catalog.is-list .tour__meta {
  position: static;
  padding: 16px 8px;
}
.catalog.is-list .tour__meta h3 { color: var(--ink); }
.catalog.is-list .tour__row { color: var(--muted-2); }
.catalog.is-list .tag { background: rgba(1,3,14,0.72); }
.catalog.is-list .tour__go {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
}
.tour__photo, .tour__go { display: none; }

.catalog__empty {
  display: none;
  padding: 48px 0;
  text-align: center;
  color: var(--muted-2);
}
.catalog.is-empty .catalog__empty { display: block; }
.catalog.is-empty .catalog__grid { display: none; }

/* ---------- forms ---------- */
.lead {
  position: relative;
  overflow: hidden;
}
.lead__title {
  font-size: clamp(36px, 3.4vw, 56px);
  letter-spacing: -0.04em;
  font-weight: 500;
  max-width: 16ch;
  line-height: 1.05;
}
.lead__text { margin-top: 12px; color: var(--muted-2); max-width: 42ch; }

.form {
  margin-top: 28px;
  position: relative;
}
.form__row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.field {
  position: relative;
  flex: 1 1 220px;
  min-width: 200px;
}
.field input {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 16px;
  background: #ececf1;
  padding: 18px 16px 0;
  outline: none;
}
.field input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.field span,
.field .prefix {
  position: absolute;
  left: 16px;
  top: 18px;
  color: var(--muted);
  pointer-events: none;
  transition: 0.15s ease;
}
.field input:focus + span,
.field input:not(:placeholder-shown) + span {
  top: 8px;
  font-size: 12px;
}
.field--phone input { padding-left: 48px; }
.field--phone .prefix {
  top: 18px;
  font-size: 16px;
  color: var(--ink);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.4;
  max-width: 720px;
}
.check input { margin-top: 2px; accent-color: var(--ink); }
.check a { text-decoration: underline; text-underline-offset: 2px; }

.form__success {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  font-size: 20px;
}
.form.is-success .form__row,
.form.is-success .check { display: none; }
.form.is-success .form__success { display: flex; }
.form__success .icon { width: 40px; height: 40px; color: var(--ink); }

.lead__decor {
  position: absolute;
  right: 4%;
  bottom: 40px;
  width: min(520px, 40vw);
  pointer-events: none;
  opacity: 0.9;
}

.subscribe { text-align: center; padding-top: 40px; }
.subscribe .lead__title, .subscribe .lead__text { margin-inline: auto; }
.subscribe .form__row { justify-content: center; }
.subscribe .field { max-width: 360px; }
.subscribe .check { margin-inline: auto; justify-content: center; text-align: left; }

/* ---------- news ---------- */
#catalog,
#rent,
#team,
#footer {
  scroll-margin-top: calc(var(--header) + 12px);
}
#catalog {
  margin-top: 0;
  padding-top: 0;
}

#news {
  scroll-margin-top: calc(var(--header) + 16px);
  padding-top: 48px;
  padding-bottom: 48px;
}
.news__viewport {
  overflow: hidden;
  margin-top: 20px;
}
.news__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
}
#news .section__title {
  letter-spacing: 0;
  word-spacing: normal;
  max-width: 16em;
  scroll-margin-top: calc(var(--header) + 24px);
}
.news-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  color: #101828;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover {
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  transform: translateY(-2px);
}
.news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f2f4f7;
}
.news-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}
.news-card__type {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  max-width: calc(100% - 5rem);
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(237, 28, 37, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.15);
}
.news-card__date {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-width: 44px;
  padding: 6px 7px 5px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.15);
  text-align: center;
  line-height: 1;
}
.news-card__day { display: block; font-size: 22px; font-weight: 700; color: #101828; letter-spacing: -0.02em; }
.news-card__month { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; color: #ed1c25; text-transform: lowercase; }
.news-card__year { display: block; margin-top: 2px; font-size: 10px; font-weight: 600; color: #667085; }
.news-card__body { padding: 16px 18px 18px; }
#news .news-card h3 {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  word-spacing: normal;
  text-transform: none;
  line-height: 1.35;
  color: #101828;
}
.news-card p { margin: 0; font-size: 14px; line-height: 1.5; color: #475467; }
.news-card:hover h3 { text-decoration: none; }

.team__viewport {
  overflow: hidden;
  margin-top: 28px;
  touch-action: pan-y;
}
.team__track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
}
.team-card {
  position: relative;
  flex: 0 0 360px;
  height: 640px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  background: #1b1d27;
}
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.team-card:hover img { transform: scale(1.05); }
.team-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
  pointer-events: none;
}
.team-card__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
}
#team .team-card h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  word-spacing: normal;
  text-transform: none;
  color: #fff;
}
.team-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.slider-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(1,3,14,0.06);
  display: grid; place-items: center;
}
.slider-nav button:hover:not(:disabled) { background: #fff; transform: translateY(-1px); }
.slider-nav button:disabled { opacity: 0.35; cursor: default; }
.dots { display: flex; gap: 6px; }
.dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 0;
  background: #d5d5dc;
  padding: 0;
}
.dots button.is-active { background: var(--ink); }

/* ---------- footer ---------- */
.footer {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 72px 0 36px;
  overflow: hidden;
}
.footer__slogan {
  font-size: clamp(36px, 4vw, 64px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  max-width: 16ch;
  margin: 0 auto 16px;
}
.footer__partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 54px;
  margin-top: 50px;
  margin-bottom: 120px;
}
.footer__partners img {
  width: 190px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.footer__grid {
  position: relative;
  z-index: 1;
}
.footer__contacts {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
  align-items: center;
}
.footer__contacts > li { margin: 0; min-width: 0; }
.footer__contacts > .footer__brand { min-width: max-content; justify-self: start; }
.footer__contacts > li:last-child { min-width: max-content; }
.footer__contacts .footer__brand a { display: flex; align-items: center; justify-content: flex-start; text-decoration: none; }
.footer__contacts .logo {
  width: auto;
  height: 60px;
  max-width: 220px;
  margin: 0;
  filter: none;
  object-position: left center;
}
.footer__contacts span { display: block; color: rgba(255,255,255,0.45); font-size: 14px; margin-bottom: 2px; }
.footer__contacts > li > a { text-decoration: underline; text-underline-offset: 3px; }
.footer__contacts .socials { justify-content: flex-start; flex-wrap: nowrap; }
.footer h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 14px; }
.footer .field input {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.footer .field span { color: rgba(255,255,255,0.45); }
.footer .field--phone .prefix { color: #fff; }
.footer .check { color: rgba(255,255,255,0.55); }
.footer .check a { color: #fff; }
.footer .btn { background: #fff; color: var(--ink); }
.footer .form__success .icon { color: #fff; }

.footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}
.footer__docs { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__docs a, .footer__docs button {
  background: none; border: 0; color: rgba(255,255,255,0.55);
  text-decoration: underline; text-underline-offset: 3px; padding: 0;
}
.footer__docs a:hover, .footer__docs button:hover { color: #fff; }
.footer__copy { width: 100%; }

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(1,3,14,0.56);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__dialog {
  width: min(520px, 100%);
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 28px 24px 24px;
  position: relative;
}
.modal__dialog--light { background: #fff; color: var(--ink); }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border: 0; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: grid; place-items: center;
}
.modal__dialog--light .modal__close { background: var(--paper); color: var(--ink); }
.modal h2 { font-size: 40px; letter-spacing: 0.02em; font-weight: 400; line-height: 0.95; max-width: 14ch; }
.modal .lead__text { color: rgba(255,255,255,0.62); }
.modal__dialog--light .lead__text { color: var(--muted-2); }
.quote-full { margin-top: 16px; line-height: 1.5; white-space: pre-wrap; }
.quote-full__role { color: var(--muted-2); margin-top: 8px; }

body.nav-open { overflow: hidden; }

@media (max-width: 1180px) {
  .catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento--group, .bento--individual { grid-template-columns: 1fr 1fr; }
  .bento--group .bento__card,
  .bento--individual .bento__card { grid-column: auto !important; grid-row: auto !important; min-height: 280px; }
  .bento--group .bento__card:nth-child(3),
  .bento--individual .bento__card:nth-child(4) { grid-column: 1 / -1 !important; min-height: 360px; }
  .bento-slider__arrow { display: none; }
  .bento-slider__viewport { overflow: visible; }
  .bento-slider__track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    transform: none;
  }
  .bento-slide--mosaic { display: contents; height: auto; }
  .bento-slide--clone { display: none; }
  .bento-slide--mosaic .bento__card:first-child { grid-column: auto; }
  .bento-slide--mosaic .bento__card { min-height: 280px; }
  .bento-slide--tall { height: auto; min-height: 360px; grid-column: 1 / -1; }
  .bento-slide--mosaic .bento__card:nth-child(2) { order: 1; }
  .bento-slide--mosaic .bento__card:nth-child(3) { order: 2; }
  .bento-slide--tall:not(.bento-slide--clone) { order: 3; }
  .bento-slide--tall.bento-slide--end { order: 5; grid-column: 1 / -1; }
  .bento-slide--mosaic .bento__card:nth-child(1) { order: 4; }
  .news-card { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 900px) {
  :root { --header: 80px; }
  .container { width: min(var(--container), calc(100% - 32px)); }

  .header__nav { display: none; }
  .header__cta,
  .header__right .pill { display: none; }
  .header__right { margin-left: auto; }
  .header__bar { gap: 8px; }
  .logo { height: 56px; max-width: 240px; }
  .burger.burger--mobile,
  .header__call {
    display: grid;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    place-items: center;
    flex: none;
    background: var(--ink-soft);
    color: #fff;
    backdrop-filter: blur(12px);
  }
  .header__call .icon { width: 18px; height: 18px; }
  .header__call:hover { background: rgba(255,255,255,0.12); }
  .header.is-light .header__call {
    background: rgba(1, 3, 14, 0.06);
    color: var(--ink);
  }
  .header.is-light .header__call:hover { background: rgba(1,3,14,0.06); }

  .sidenav__nav { margin-top: 8px; }
  .sidenav__nav a {
    font-size: 32px;
    line-height: 1.15;
    padding: 8px 0;
    opacity: 1;
  }
  .sidenav__contacts { margin-top: 20px; }

  .sidenav__grid { grid-template-columns: 1fr; min-height: auto; }
  .sidenav__sub { display: none; }
  .sidenav.is-sub .sidenav__main { display: none; }
  .sidenav.is-sub .sidenav__sub { display: block; }
  .sidenav__sub .sidenav__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none; border: 0; color: #fff;
    margin-bottom: 18px;
    font-size: 16px;
  }
  .sidenav__main button { font-size: 32px; }
  .sidenav__cards { display: none; }
  .sidenav__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sidenav__bottom .btn { width: 100%; justify-content: center; }

  .hero {
    height: 100svh;
    height: 100dvh;
    min-height: 100svh;
    min-height: 100dvh;
    justify-content: flex-start;
    padding: calc(var(--header) + 12px) 0 12px;
  }
  .hero__shade { inset: 0; height: 100%; }
  .hero > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero__layout {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 0;
  }
  .hero__title {
    position: static;
    width: auto;
    max-width: 100%;
    font-size: clamp(68px, 18vw, 92px);
    line-height: 0.86;
    letter-spacing: 0;
    word-spacing: normal;
  }
  .hero__trips-label { margin-top: auto; margin-bottom: 8px; font-size: 14px; }
  .hero__trips { gap: 8px; margin-top: 0; }
  .personal-card,
  .trip-mini { border-radius: 14px; }
  .personal-card {
    flex: 0 0 168px;
    height: 202px;
  }
  .trip-mini {
    --trip-mini-h: min(202px, 30vh);
    flex: 0 0 auto;
    width: calc(var(--trip-mini-h) * 168 / 202);
    max-width: 168px;
    height: var(--trip-mini-h);
    max-height: min(202px, 30vh);
    aspect-ratio: 168 / 202;
  }
  .personal-card { padding: 12px; }
  .personal-card strong { font-size: 15px; }
  .personal-card .btn {
    height: auto;
    min-height: 30px;
    padding: 6px 8px;
    font-size: 11px;
    line-height: 1.2;
  }
  .personal-card .btn .icon { width: 14px; height: 14px; }

  .section { padding: 56px 0; }
  .section__title { font-size: 42px; line-height: 0.95; letter-spacing: 0.02em; }
  .benefits__title { margin-bottom: 12px; font-size: 32px; }
  .benefits__lead { font-size: 16px; margin-bottom: 24px; }
  .tabs { display: flex; width: 100%; }
  .tabs button { flex: 1; padding: 0 10px; font-size: 13px; }

  .bento--group,
  .bento--individual {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .bento--group::-webkit-scrollbar,
  .bento--individual::-webkit-scrollbar { display: none; }
  .bento--group .bento__card,
  .bento--individual .bento__card,
  .bento--group .bento__card:nth-child(3),
  .bento--individual .bento__card:nth-child(4) {
    flex: 0 0 min(312px, 86%);
    width: min(312px, 86%);
    height: 460px;
    min-height: 460px;
    border-radius: 16px;
    scroll-snap-align: start;
    grid-column: auto !important;
  }
  .bento-slider__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    transform: none;
    gap: 12px;
  }
  .bento-slider__track::-webkit-scrollbar { display: none; }
  .bento-slide--mosaic { display: contents; }
  .bento-slide--clone { display: none; }
  .bento-slider .bento__card,
  .bento-slide--tall {
    flex: 0 0 min(312px, 86%);
    width: min(312px, 86%);
    height: 460px;
    min-height: 460px;
    border-radius: 16px;
    scroll-snap-align: start;
    grid-column: auto;
  }
  .bento__card h3 { font-size: 18px; }
  .bento__card p {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.35s ease, transform 0.4s ease;
  }
  .bento__card.is-open p {
    max-height: 8em;
    margin-top: 8px;
    opacity: 1;
    transform: translateY(0);
  }

  .catalog__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .toolbar { gap: 8px; }
  .toolbar .tabs,
  .toolbar .chips { flex: 1 0 100%; }
  .catalog__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tour { aspect-ratio: 3 / 4; min-height: 0; height: auto; border-radius: 16px; }
  .catalog.is-list .tour { grid-template-columns: 120px 1fr; aspect-ratio: auto; min-height: 0; height: auto; border-radius: 16px; }
  .catalog.is-list .tour__photo { width: 100%; height: auto; aspect-ratio: 3 / 4; }
  .catalog.is-list .tour__go { display: none; }

  .lead__title { font-size: 32px; line-height: 0.95; letter-spacing: 0.02em; max-width: 16ch; }
  .form { margin-top: 20px; }
  .form__row { flex-direction: column; align-items: stretch; gap: 8px; }
  .field { flex: none; width: 100%; min-width: 0; }
  .field input { height: 48px; border-radius: 12px; }
  .form__row .btn { width: 100%; justify-content: center; height: 48px; }
  .subscribe .field { max-width: none; }
  .subscribe .check { justify-content: flex-start; }

  .news__track { gap: 12px; }
  .news-card { flex: 0 0 100%; }
  .news-card__img { height: 100%; border-radius: 0; }
  #news { padding-top: 28px; padding-bottom: 28px; }
  .team__track { gap: 12px; }
  .team-card { flex-basis: 312px; height: 555px; }
  .team__nav > button { display: none; }

  .footer { padding: 48px 0 28px; }
  .footer__slogan {
    max-width: none;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
  }
  .footer__partners { margin-bottom: 84px; gap: 42px; }
  .footer__partners img { width: min(190px, 100%); }
  .footer__contacts { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .footer__contacts > .footer__brand { min-width: 0; }
  .footer__contacts .logo { height: 56px; max-width: min(220px, 100%); }
  .footer__contacts .socials { flex-wrap: nowrap; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 36px; }
  .lead__decor { display: none; }
}

h1 {
  letter-spacing: 0.04em;
  word-spacing: 0.18em;
}
.hero__title {
  letter-spacing: 0;
  word-spacing: normal;
}
h2, .section__title, .lead__title, .footer__slogan, .modal h2, h3.section__title {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  word-spacing: 0.16em;
}
h3:not(.section__title) {
  font-family: var(--font);
  text-transform: none;
  letter-spacing: -0.02em;
  word-spacing: normal;
}

.rent .section__title { margin-bottom: 28px; max-width: 12em; }
.rent__box {
  background: #ececec;
  color: #1a1a1a;
  border-radius: 30px;
  padding: 32px 36px 28px;
}
.rent__nav {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 28px;
}
.rent__nav::-webkit-scrollbar { display: none; }
.rent__tab {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: #1a1a1a;
  text-align: left;
}
.rent__tab.is-active { color: #4a90d9; border-bottom-color: rgba(74, 144, 217, 0.55); }
.rent__tab-title {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  word-spacing: normal;
}
.rent__tab-type {
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rent__panel { display: none; }
.rent__panel.is-active { display: block; }
.rent__panel[hidden] { display: none !important; }
.rent__layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.35fr);
  gap: 36px 48px;
  align-items: start;
}
.rent__desc { font-size: 15px; line-height: 1.55; max-width: 48ch; }
.rent__specs { margin: 18px 0 22px; max-width: 440px; }
.rent__specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}
.rent__specs span {
  color: #8a8a8a;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rent__specs strong { font-size: 16px; font-weight: 700; }
.rent__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #1a2744;
  color: #fff;
  font-size: 14px;
}
.rent__cta .icon { width: 16px; height: 16px; }
.rent__media {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px 18px;
  align-items: start;
}
.rent__thumbs { display: flex; flex-direction: column; gap: 10px; }
.rent__thumbs button {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.rent__thumbs button.is-active { border-color: #4a90d9; }
.rent__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.rent__hero { position: relative; min-height: 280px; }
.rent__photo {
  width: 100%;
  height: 380px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.rent__wm {
  position: absolute;
  left: 0;
  bottom: -8px;
  z-index: 0;
  font-family: var(--display);
  font-size: clamp(56px, 6vw, 120px);
  line-height: 0.85;
  letter-spacing: 0;
  word-spacing: normal;
  text-transform: uppercase;
  color: rgba(180, 180, 180, 0.55);
  white-space: nowrap;
  pointer-events: none;
}
.rent__adv {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 22px;
  margin: 8px 0 0;
  position: relative;
  z-index: 1;
}
.rent__adv li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; }
.rent__check {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid #1a1a1a;
  position: relative;
}
.rent__check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #1a1a1a;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .rent__box { padding: 18px 16px 20px; border-radius: 20px; }
  .rent__nav { gap: 18px; margin-bottom: 18px; }
  .rent__tab-title { font-size: 22px; }
  .rent__layout { display: flex; flex-direction: column; gap: 18px; }
  .rent__media { display: contents; }
  .rent__hero { order: 1; }
  .rent__thumbs { order: 2; flex-direction: row; overflow-x: auto; }
  .rent__adv { order: 3; }
  .rent__info { order: 4; }
  .rent__photo { height: 220px; }
  .rent__wm { font-size: 42px; bottom: 0; }
  .rent__adv { grid-template-columns: 1fr; }
  .rent__cta { width: 100%; justify-content: center; }
}

/* ---------- certificates ---------- */
.cert {
  background: #e6e7eb;
  padding: 64px 0 72px;
  overflow: hidden;
  scroll-margin-top: calc(var(--header) + 12px);
}
.cert__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px) minmax(0, 1fr);
  column-gap: 28px;
  align-items: center;
  min-height: 640px;
  max-width: 1280px;
  margin: 0 auto;
}
.cert__side {
  position: relative;
  height: 600px;
  min-width: 0;
}
.cert__copy {
  position: relative;
  z-index: 2;
  width: auto;
  min-width: 0;
  text-align: center;
  padding: 8px 4px;
}
.cert__title {
  max-width: min(12.4ch, 100%);
  margin: 0 auto 18px;
  line-height: 0.9;
  font-size: clamp(67px, 7.2vw, 92px);
}
.cert__text {
  max-width: 36ch;
  margin: 0 auto 18px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #3a3e4a;
}
.cert__btn {
  height: 44px;
  padding: 0 18px 0 20px;
  border-radius: 999px;
  background: #1b1d2a;
  font-size: 15px;
}
.cert__btn:hover { background: #000; }
.cert-card {
  position: absolute;
  display: block;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(20, 22, 32, 0.14);
  pointer-events: none;
  opacity: 0;
  --rot: 0deg;
  --from-x: 0px;
  --from-y: 40px;
  --from-rot: 0deg;
  transform: translate(var(--from-x), var(--from-y)) rotate(var(--from-rot));
}
.cert.is-in .cert-card {
  animation: cert-fly 0.9s cubic-bezier(0.16, 0.8, 0.24, 1) forwards;
  animation-delay: calc(var(--i) * 150ms);
}
@keyframes cert-fly {
  from { opacity: 0; transform: translate(var(--from-x), var(--from-y)) rotate(var(--from-rot)); }
  to { opacity: 1; transform: rotate(var(--rot)); }
}
.cert-card--red {
  width: 78%;
  top: 0;
  left: -16%;
  --rot: -11deg;
  --from-x: -140px;
  --from-y: -24px;
  --from-rot: -24deg;
}
.cert-card--gray {
  width: 90%;
  bottom: 0;
  left: -12%;
  --rot: -6deg;
  --from-x: -160px;
  --from-y: 36px;
  --from-rot: -16deg;
}
.cert-card--black {
  width: 96%;
  top: 0;
  right: -6%;
  --rot: 6deg;
  --from-x: 90px;
  --from-y: -70px;
  --from-rot: 14deg;
}
.cert-card--olive {
  width: 82%;
  top: 36%;
  right: -14%;
  --rot: 11deg;
  --from-x: 150px;
  --from-y: 8px;
  --from-rot: 24deg;
}
.cert-card--light {
  width: 68%;
  bottom: 0;
  right: 6%;
  --rot: 8deg;
  --from-x: 110px;
  --from-y: 40px;
  --from-rot: 18deg;
}

@media (max-width: 900px) {
  .cert { padding: 36px 0 44px; }
  .cert__stage {
    display: flex;
    flex-direction: column;
    gap: 48px;
    min-height: 0;
    padding: 0 16px;
  }
  .cert__copy { order: -1; width: 100%; padding: 0; }
  .cert__side {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    height: auto;
    overflow: visible;
  }
  .cert-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: calc(50% - 8px);
    max-width: 180px;
    height: auto;
  }
  .cert-card--red { --from-x: -36px; --from-y: 12px; }
  .cert-card--black { --from-x: 28px; --from-y: 12px; width: calc(50% - 8px); }
  .cert-card--olive { --from-x: -28px; --from-y: 16px; }
  .cert-card--gray { --from-x: 24px; --from-y: 16px; }
  .cert-card--light { --from-x: 0px; --from-y: 18px; }
  .cert__title { font-size: clamp(48px, 15.5vw, 64px); max-width: 100%; }
  .cert__text { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cert-card {
    opacity: 1;
    animation: none;
    transform: rotate(var(--rot));
  }
  .to-top,
  .bento__card p { transition: none; }
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(1, 3, 14, 0.22);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.to-top.is-visible:hover { background: #f2f2f4; transform: translateY(-2px); }
.to-top:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.to-top .icon { width: 22px; height: 22px; }
body.nav-open .to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 900px) {
  .to-top {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
  }
}

.care {
  --care-height: 100vh;
  --care-height: 100svh;
  height: calc(var(--care-height) + 55vh);
  background: #181818;
}
.care__frame {
  position: sticky;
  top: var(--header);
  width: 100%;
  height: var(--care-height);
  overflow: clip;
  background: #181818;
}
.header.is-hidden ~ main .care__frame { top: 0; }
.care__bg,
.care__fg {
  position: absolute;
  display: block;
  max-width: none;
}
.care__bg {
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.care__fg {
  z-index: 2;
  left: 50%;
  top: 26%;
  width: 118%;
  height: 92%;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}
.care__title {
  position: absolute;
  z-index: 1;
  top: 7%;
  left: 50%;
  width: max-content;
  max-width: none;
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
  color: rgba(36, 34, 64, 0.8);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 5.4vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
  word-spacing: normal;
  text-transform: uppercase;
  will-change: transform;
}
.care__title span {
  display: block;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .care__title { top: 8%; font-size: clamp(26px, 6.4vw, 88px); }
  .care__fg { top: 24%; width: 150%; height: 96%; }
}
@media (max-width: 700px) {
  .care__title {
    top: 10%;
    width: max-content;
    max-width: 100vw;
    font-size: 50px;
    text-wrap: auto;
  }
  .care__title span {
    white-space: normal;
  }
  .care__fg { top: 28%; width: 210%; height: 90%; }
}
