@font-face {
  font-family: Manrope;
  src: url("/assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-cyr.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: light;
  --paper: #f6f1e6;
  --ink: #101721;
  --muted: #4c535a;
  --night-muted: #c8cbd3;
  --rule: #cfc7b7;
  --night-rule: #47505c;
  --gold: #ffc164;
  --gold-light: #ffce84;
  --gold-deep: #845111;
  --gutter: clamp(20px, 5vw, 80px);
  --section-space: clamp(48px, 7vw, 106px);
  --out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 Manrope, system-ui, sans-serif;
}

::selection { color: var(--ink); background: var(--gold); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

h1, h2, h3, p, ol, ul { margin: 0; }
a { color: inherit; }
img { display: block; }
svg {
  display: block;
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 1320px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  inset: 12px auto auto 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  color: var(--paper);
}

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header-inner {
  min-height: 78px;
}

.brand, .header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  text-decoration: none;
}

.brand { font-size: 1.25rem; font-weight: 800; letter-spacing: -.035em; }
.brand img { flex: none; }
.header-phone { font-weight: 750; white-space: nowrap; }
.header-phone svg { width: 17px; height: 17px; color: var(--gold); }
.header-phone:hover { color: var(--gold-light); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-height: clamp(610px, 91svh, 860px);
  padding-inline: max(var(--gutter), (100% - 1320px) / 2);
  padding-block: clamp(112px, 16svh, 160px) clamp(26px, 5.5svh, 60px);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #07111dc7, #07111d40 49%, transparent 73%),
    linear-gradient(180deg, #07111d72, transparent 37%, transparent 64%, #07111dcc);
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(105px, 20svh, 193px);
  max-width: 840px;
}

h1 {
  font-size: clamp(3.8rem, 7.8vw, 7.35rem);
  line-height: .96;
  font-weight: 800;
  letter-spacing: -.04em;
}

h1 span { display: block; }
h1 span:first-child {
  margin-bottom: 15px;
  font-size: clamp(1rem, 1.75vw, 1.4rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 .place { overflow-wrap: break-word; text-wrap: balance; }

.hero-message > p {
  max-width: 38ch;
  margin-top: 20px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--paper);
  text-wrap: pretty;
}

.hero-action {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 25px);
}

.hero-action > .order-button, .booking-note { flex: none; white-space: nowrap; }

.booking-note {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-inline-start: clamp(16px, 3vw, 25px);
  border-inline-start: 1px solid #f6f1e65c;
  color: var(--paper);
}

.booking-note svg { width: 21px; height: 21px; color: var(--gold-light); }
.booking-note strong, .booking-note small { display: block; }
.booking-note strong { font-size: 1rem; font-weight: 800; line-height: 1.25; }
.booking-note small {
  margin-top: 3px;
  color: #e1e5e9;
  font-size: .8125rem;
  font-weight: 650;
  line-height: 1.25;
}

.order-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
  padding: 12px 17px 12px 20px;
  border-radius: 11px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .22s var(--out), transform .18s var(--out);
}
.order-button:hover { background: var(--gold-light); }
.order-button:active { transform: scale(.975); }

.hero .hero-map-cta {
  gap: 26px;
  padding: 5px 5px 5px 22px;
  border: 1px solid var(--gold-light);
  border-radius: 40px;
  background: var(--gold);
  color: var(--ink);
  font-size: 1.0625rem;
}
.hero .hero-map-icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  stroke-width: 1.7;
}
.hero .hero-map-cta:hover { background: var(--gold-light); }
.hero .hero-map-cta:focus-visible { outline-color: var(--gold); }

.hero-visual {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 57%;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-photo {
    transform-origin: 68% 64%;
    animation: hero-camera-settle .95s cubic-bezier(.22, .74, .29, 1) both;
  }
  .hero-map-track { animation: hero-map-trace .7s var(--out) .18s both; }
  @supports (animation-timeline: scroll(root block)) and (animation-range: 0px 100svh) {
    .hero-visual {
      animation: hero-parallax auto linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 100svh;
    }
  }
}

@keyframes hero-map-trace {
  from { stroke-dasharray: 1; stroke-dashoffset: 1; }
  to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}

@keyframes hero-camera-settle {
  from { transform: scale(1.045); }
  to { transform: scale(1); }
}

@keyframes hero-parallax {
  from { transform: translateY(0); }
  to { transform: translateY(min(10svh, 86px)); }
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 4.65rem);
  line-height: 1.03;
  letter-spacing: -.04em;
  text-wrap: balance;
  font-weight: 800;
}

.destinations {
  color: var(--paper);
  background: var(--ink);
}
.destination-inner, .questions {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 8vw, 132px);
  padding-block: var(--section-space);
}
.destination-inner > div:first-child > p {
  max-width: 34ch;
  margin-top: 17px;
  color: var(--night-muted);
  text-wrap: pretty;
}
.origin {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 13px;
  color: var(--night-muted);
  font-size: .875rem;
  font-weight: 750;
}
.origin-marker {
  flex: none;
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}
.route-list {
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--night-rule);
}
.route-list a, .route-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 10px 0;
  border-top: 1px solid var(--night-rule);
  font-size: clamp(1.35rem, 2.7vw, 2.2rem);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.2;
  text-decoration: none;
}
.route-note { color: var(--night-muted); font-weight: 600; }
.route-list a svg { color: var(--gold); transition: transform .21s var(--out); }
.route-list a:hover { color: var(--gold); }
.route-list a:hover svg { transform: translateX(4px); }

.process { background: #f0cb8d; }
.process-inner {
  padding-block: var(--section-space);
}
.process h2 { max-width: 18ch; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 5vw, 82px);
  padding-left: 1.5em;
  margin-top: clamp(31px, 5vw, 62px);
}
.steps li { padding-left: 5px; }
.steps li::marker { color: #704a18; font-weight: 800; }
.steps h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.2; }
.steps p { max-width: 39ch; margin-top: 9px; color: #473217; }

.questions h2 { max-width: 13ch; }
.question { padding-block: 19px; border-top: 1px solid var(--rule); }
.question:last-child { padding-bottom: 0; }
.question h3 { font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.26; }
.question p { max-width: 58ch; margin-top: 8px; color: var(--muted); }
.city-navigation {
  padding-block: clamp(27px, 4vw, 47px);
  border-top: 1px solid var(--rule);
}
.city-navigation h2 { font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
.city-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(18px, 3vw, 40px);
  margin-top: 10px;
  padding: 0;
  list-style: none;
}
.city-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-underline-offset: 4px;
}
.city-navigation a:hover { color: var(--gold-deep); }

.site-footer {
  padding-block: 35px;
  background: var(--ink);
  color: var(--paper);
}
.footer-inner p {
  max-width: 30ch;
  font-size: .875rem;
  color: var(--night-muted);
}
.footer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.footer-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.footer-phone:hover { color: var(--gold); }
.footer-actions .order-button:focus-visible { outline-color: var(--paper); }

.footer-city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin-top: 20px;
  padding-top: 9px;
  border-top: 1px solid var(--night-rule);
}
.footer-city-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--night-muted);
  font-size: .875rem;
  text-underline-offset: 4px;
}
.footer-city-links a:hover { color: var(--gold); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 16px; padding-block: 10px 0; border-top: 1px solid #fff3dc25; }
.footer-legal a { display: inline-flex; min-height: 32px; align-items: center; color: #e4d9c9; font-size: 12px; line-height: 1.35; }
.footer-legal a:hover { color: var(--gold); }

@media (min-width: 861px) {
  h1 .place-wide { font-size: .73em; }
}

@media (max-width: 860px) {
  .header-inner { min-height: 68px; }
  .hero {
    min-height: clamp(526px, 87svh, 800px);
    padding-block: clamp(99px, 13.5svh, 136px) clamp(22px, 4.5svh, 42px);
  }
  .hero::after {
    background: linear-gradient(180deg, #07111db0, #07111d6b 29%, transparent 52%, transparent 66%, #07111de8);
  }
  .hero-content { gap: clamp(100px, 20svh, 170px); }
  h1 { font-size: clamp(3rem, 16vw, 6rem); }
  h1 .place-wide { font-size: .75em; }
  .hero-message > p { margin-top: 14px; }
  .hero-photo { object-position: 74% 56%; }
}
@media (max-width: 660px) {
  .destination-inner, .steps, .questions { grid-template-columns: 1fr; }
  .route-list a, .route-note { min-height: 56px; }
  .steps { gap: 22px; margin-top: 26px; }
  .steps p { max-width: 52ch; margin-top: 6px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (541px <= width <= 660px) {
  .hero-action { gap: 13px; }
  .hero .hero-action .order-button { gap: 14px; padding-inline-start: 18px; }
  .hero .hero-action .order-button svg { width: 44px; height: 44px; padding: 10px; }
  .booking-note { gap: 9px; padding-inline-start: 13px; }
}
@media (max-width: 540px) {
  .hero-action {
    display: grid;
    gap: 9px;
    width: 100%;
    max-width: 390px;
  }
  .booking-note { padding-inline-start: 22px; border-inline-start: 0; }
}
@media (max-width: 420px) {
  h1 span:first-child { margin-bottom: 9px; }
  .header-phone { gap: 6px; font-size: .85rem; }
  .header-phone svg { width: 15px; height: 15px; }
}
@media (max-width: 360px) {
  .brand { font-size: 1rem; }
  .brand img { width: 32px; height: 32px; }
  .header-phone { font-size: .81rem; }
  .hero-action { gap: 5px; margin-block-end: -16px; }
  .hero .hero-action .order-button { min-height: 50px; padding-block: 4px; }
  .hero .hero-action .order-button svg { width: 40px; height: 40px; padding: 10px; }
  .booking-note strong, .booking-note small { line-height: 1.12; }
  .booking-note small { margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .order-button, .route-list a svg { transition: none; }
  .order-button:active, .route-list a:hover svg { transform: none; }
}

.hero[data-city-map] {
  --city-map-left: max(var(--gutter), calc((100% - 1320px) / 2));
  --city-map-width: min(560px, calc(100% - 2 * var(--city-map-left)));
  --city-map-right: calc(100% - var(--city-map-left) - var(--city-map-width));
  --city-map-top: calc(100% - clamp(220px, 35%, 285px) - 22px);
  --city-map-inset: var(--city-map-top) var(--city-map-right) 22px var(--city-map-left);
  --city-map-radius: 20px;
  padding-block-end: 38px;
}

.hero[data-city-map] .hero-content { position: relative; z-index: 2; }
.hero[data-city-map] .hero-action {
  display: grid;
  gap: 9px;
  width: min(100%, 560px);
  margin: 0;
  padding-inline: 11px;
}
.hero[data-city-map] .hero-map-cta {
  min-width: 0;
  width: 100%;
  gap: 10px;
  padding-inline: 16px 5px;
  font-size: clamp(.875rem, 3.35vw, 1.125rem);
  white-space: normal;
}
.hero[data-city-map] .hero-map-icon { flex: none; }
.hero[data-city-map] .booking-note {
  justify-content: center;
  padding: 0;
  border: 0;
  white-space: normal;
}
.hero[data-city-map] .booking-note strong { font-size: .875rem; }
.hero[data-city-map] .booking-note small { margin-top: 1px; font-size: .75rem; }

.city-map-window, .city-map-frame, .city-map-layer {
  position: absolute;
  inset: 0;
}
.city-map-window {
  z-index: 0;
  overflow: hidden;
  background: #101a28;
  clip-path: inset(var(--city-map-inset) round var(--city-map-radius));
  opacity: 0;
  pointer-events: none;
}
.city-map-frame { transform: translateY(16%); }
.city-map-live { opacity: 0; }
.city-map-live.is-ready, .hero[data-map-ready] .city-map-window { opacity: 1; }
.hero[data-city-map]::before {
  position: absolute;
  z-index: 1;
  inset: var(--city-map-inset);
  border: 1px solid #ffd39a78;
  border-radius: var(--city-map-radius);
  box-shadow: 0 9px 28px #080c1670, 0 0 16px #ffc47429;
  opacity: 0;
  content: "";
  pointer-events: none;
}
.hero[data-city-map][data-map-ready]:not([data-opening])::before { opacity: 1; }
.city-map-credit {
  position: absolute;
  z-index: 3;
  right: calc(var(--city-map-right) + 5px);
  bottom: 4px;
  color: #d1c6b8;
  font-size: 10px;
  line-height: 14px;
}
.hero[data-city-map][data-opening] .city-map-window { clip-path: inset(0); }
.hero[data-city-map][data-opening] .city-map-frame { transform: none; }
.hero[data-city-map][data-opening] .hero-content { opacity: 0; transform: translateY(-10px); pointer-events: none; }

.city-drive-film { width: 100%; opacity: 0; object-fit: cover; }
.city-drive-film[hidden] { display: none; }
.city-drive-film.is-playing { opacity: 1; }

@media (max-width: 860px) {
  .hero[data-city-map] .hero-visual { height: 78%; }
  .hero[data-city-map] :is(.hero-photo, .city-drive-film) { object-position: 72% 72%; }
}
@media (min-width: 861px) {
  .hero[data-city-map] { --city-map-width: min(560px, 47vw); }
  .hero[data-city-map] .hero-action { width: var(--city-map-width); }
  .city-map-frame { transform: translate(-25%, 15%); }
}
@media (prefers-reduced-motion: no-preference) {
  .city-map-window { transition: opacity 190ms var(--out); }
  .hero[data-opening] .city-map-window { transition: clip-path 340ms var(--out); }
  .hero[data-opening] .city-map-frame { transition: transform 340ms var(--out); }
  .city-map-live, .city-drive-film, .hero[data-city-map]::before { transition: opacity 200ms var(--out); }
  .hero[data-city-map] .hero-content { transition: opacity 200ms var(--out), transform 200ms var(--out); }
}
