/* Self-hosted from Google Fonts (SIL Open Font License): Onest and Rokkitt, variable weights. */
/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/onest-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/onest-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/onest-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/onest-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Rokkitt';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(../fonts/rokkitt-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rokkitt';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(../fonts/rokkitt-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Egypt Vibes site styles ("Limestone & Egyptian Blue"), from the approved prototype design-prototypes/redesign/site.css.
   Rokkitt is an "Egyptienne" slab (the 19th-century type genre named after Egypt); Onest carries reading text.
   Egyptian blue, the first synthetic pigment, made on the Nile, is the one decisive colour. */

/* ------------------------------------------------------------------ tokens */
:root {
  --stone: #e7e6df;
  --paper: #f7f6f1;
  --ink: #141d1b;
  --ink-soft: #46504d;
  --blue: #2343c9;
  --blue-deep: #172f93;
  --faience: #86dccb;
  --ochre: #e9a23b;
  --line: rgba(20, 29, 27, .16);
  --line-light: rgba(255, 255, 255, .2);

  --display: "Rokkitt", "Bitter", var(--serif-cjk, serif), Georgia, serif;
  --text: "Onest", var(--sans-cjk, system-ui), system-ui, -apple-system, "Segoe UI", sans-serif;
  --track-tight: -.02em;

  --gutter: clamp(20px, 4.2vw, 64px);
  --wrap: min(1360px, 100% - var(--gutter) * 2);
  --head-h: 84px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --ease-in: cubic-bezier(.55, 0, .8, .2);
  --swift: cubic-bezier(.7, 0, .2, 1);
  color-scheme: light;
}
/* Scripts Rokkitt and Onest do not cover fall through to fonts loaded on demand by site.js. */
:lang(ru) { --serif-cjk: "Bitter"; }
:lang(ja) { --serif-cjk: "Noto Serif JP"; --sans-cjk: "Noto Sans JP"; --track-tight: 0; }
:lang(zh) { --serif-cjk: "Noto Serif SC"; --sans-cjk: "Noto Sans SC"; --track-tight: 0; }
:lang(ko) { --serif-cjk: "Noto Serif KR"; --sans-cjk: "Noto Sans KR"; --track-tight: 0; }
:lang(th) { --serif-cjk: "Noto Serif Thai"; --sans-cjk: "Noto Sans Thai"; --track-tight: 0; }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: rgba(35, 67, 201, .15);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; touch-action: manipulation; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"], .socials, .strip-contacts, .menu-contacts, [data-nav], .menu-nav ul { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.i { width: 20px; height: 20px; flex: none; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 18px; background: var(--blue); color: #fff; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ shared controls */
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 500; font-size: 16px; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.pill .i-arrow { transition: transform .45s var(--ease); }
.pill:hover .i-arrow { transform: translateX(5px); }
.pill:active { transform: scale(.97); }
.pill-blue { background: var(--blue); color: #fff; }
.pill-blue:hover { background: var(--blue-deep); box-shadow: 0 14px 30px -14px rgba(23, 47, 147, .8); }
.pill-light { background: #fff; color: var(--ink); }
.pill-light:hover { background: var(--faience); }
.pill-line { border: 1.5px solid currentColor; }
.pill-line:hover { background: #fff; color: var(--blue); border-color: #fff; }

.ring-btn {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 50%; border: 1.5px solid currentColor;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.ring-btn:active { transform: scale(.92); }
.disc {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; border: 1.5px solid currentColor;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.disc .i { width: 18px; height: 18px; transition: transform .45s var(--ease); }

.socials { display: flex; gap: 4px; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transition: background-color .25s, color .25s; }
.socials .i { width: 17px; height: 17px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--blue); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--ease); }
.text-link:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.text-link .i { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ 02 header */
.masthead {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff; background: linear-gradient(180deg, rgba(12, 18, 17, .62), rgba(12, 18, 17, 0));
  transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.strip { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease), opacity .3s; }
.strip > .wrap { min-height: 0; overflow: hidden; }
.strip-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 13.5px; border-bottom: 1px solid var(--line-light); }
.strip-contacts { display: flex; gap: 28px; }
.strip-contacts a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; opacity: .86; transition: opacity .2s; }
.strip-contacts a:hover { opacity: 1; }
.strip-contacts .i { width: 15px; height: 15px; }
.socials-strip a { width: 30px; height: 30px; }
.socials-strip .i { width: 15px; height: 15px; }
.socials a:hover { background: rgba(255, 255, 255, .16); }

.bar { display: flex; align-items: center; gap: 32px; height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand img { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); transition: width .4s var(--ease), height .4s var(--ease); }
.brand-word { font: 500 23px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: clamp(14px, 1.6vw, 28px); }
.nav a {
  position: relative; display: block; padding: 10px 0;
  font-size: 15px; font-weight: 500; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"]::after { transform: scaleX(1); height: 5px; width: 5px; left: calc(50% - 2.5px); border-radius: 50%; bottom: -2px; background: var(--faience); }
.tools { display: flex; align-items: center; gap: 6px; }
.tool { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color .25s; }
.tool:hover { background: rgba(255, 255, 255, .16); }
.burger { display: none; }
.burger-lines { position: relative; width: 22px; height: 12px; }
.burger-lines i { position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger-lines i:first-child { top: 0; }
.burger-lines i:last-child { top: 10px; }
[aria-expanded="true"] > .burger-lines i:first-child { top: 5px; transform: rotate(45deg); }
[aria-expanded="true"] > .burger-lines i:last-child { top: 5px; transform: rotate(-45deg); }

/* Solid state once the hero scrolls away; hidden while reading down. */
.masthead.is-solid { background: rgba(231, 230, 223, .9); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.masthead.is-solid .strip { grid-template-rows: 0fr; opacity: 0; }
.masthead.is-solid .brand img { width: 46px; height: 46px; box-shadow: none; }
.masthead.is-solid .tool:hover, .masthead.is-solid .lang-btn:hover { background: rgba(20, 29, 27, .07); }
.masthead.is-solid .nav a[aria-current="page"]::after { background: var(--blue); }
.masthead.is-hidden { transform: translateY(-100%); }
.masthead.is-menu-open { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

/* Language selector */
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 12px 0 6px; border-radius: 999px; font-size: 14.5px; font-weight: 500; transition: background-color .25s; }
.lang-btn:hover { background: rgba(255, 255, 255, .16); }
.lang-btn .i { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.lang-btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.flag { display: block; width: 26px; height: 26px; flex: none; }
.flag svg { width: 100%; height: 100%; display: block; }
.lang-pop {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 5;
  width: min(440px, calc(100vw - 32px));
  padding: 10px; border-radius: 20px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(20, 29, 27, .45), 0 0 0 1px rgba(20, 29, 27, .06);
  transform-origin: top right;
  opacity: 0; transform: translateY(-8px) scale(.97);
  transition: opacity .25s var(--ease), transform .35s var(--ease);
}
.lang-pop.is-open { opacity: 1; transform: none; }
.lang-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; max-height: min(70vh, 520px); overflow: auto; overscroll-behavior: contain; }
.lang-list a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; font-size: 15px; transition: background-color .2s; }
.lang-list a:hover, .lang-list a:focus-visible { background: var(--stone); outline: none; }
.lang-list a:focus-visible { box-shadow: inset 0 0 0 2px var(--blue); }
.lang-list a[aria-current="true"] { background: var(--blue); color: #fff; }
.lang-list .flag { width: 24px; height: 24px; }
.lang-code { margin-inline-start: auto; font-size: 12px; opacity: .5; }

/* Search */
.search { position: absolute; inset: 100% 0 auto; background: var(--paper); color: var(--ink); box-shadow: 0 30px 50px -30px rgba(20, 29, 27, .45); clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--swift); }
.search.is-open { clip-path: inset(0 0 -60px 0); }
.search-form { display: flex; align-items: center; gap: 16px; padding-block: 26px; }
.search-form input { flex: 1; min-width: 0; border: 0; background: none; font: 400 clamp(26px, 3vw, 40px)/1.2 var(--display); padding: 8px 0; border-bottom: 1.5px solid var(--line); outline: none; transition: border-color .3s; }
.search-form input:focus { border-color: var(--blue); }
.search-form .pill .i { width: 18px; height: 18px; }

/* Mobile menu: an Egyptian-blue sheet that opens from the menu button. */
.menu {
  position: fixed; inset: 0; z-index: -1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--head-h) + 48px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: var(--blue); color: #fff; overflow: auto; overscroll-behavior: contain;
  clip-path: circle(0 at calc(100% - var(--gutter) - 22px) 62px);
  transition: clip-path .75s var(--swift);
}
.menu.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 22px) 62px); }
.menu-nav a { display: block; padding: 4px 0; font: 400 clamp(38px, 10vw, 64px)/1.08 var(--display); letter-spacing: var(--track-tight); opacity: 0; transform: translateY(30px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.menu.is-open .menu-nav a { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * .05s); }
.menu-nav a[aria-current="page"] { color: var(--faience); }
.menu-foot { display: grid; gap: 18px; padding-top: 32px; border-top: 1px solid var(--line-light); margin-top: 32px; }
.menu-contacts { display: grid; gap: 10px; }
.menu-contacts a { display: inline-flex; gap: 10px; align-items: center; }

/* ------------------------------------------------------------------ 03 hero */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: max(680px, 100svh);
  display: grid; grid-template-rows: 1fr auto;
  padding-top: calc(var(--head-h) + 38px);
  background: var(--ink); color: #fff;
}
.hero-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-photo img { translate: 0 var(--sy, 0px); }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 70%;
  transform: translate3d(var(--hx, 0px), var(--hy, 0px), 0) scale(1.06);
  transition: transform 1.2s var(--ease);
}
/* Shade falls from the left so the Giza sunset keeps its own colour and the type stays legible. */
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 18, 17, .82) 0%, rgba(12, 18, 17, .62) 30%, rgba(12, 18, 17, .16) 52%, rgba(12, 18, 17, 0) 66%),
    linear-gradient(0deg, rgba(12, 18, 17, .72) 0%, rgba(12, 18, 17, 0) 30%),
    linear-gradient(180deg, rgba(12, 18, 17, .6) 0%, rgba(12, 18, 17, 0) 24%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr); align-items: center; gap: 40px; min-height: 0; }
.hero-copy { display: grid; }
.slide { grid-area: 1 / 1; align-self: center; visibility: hidden; }
.slide.is-active { visibility: visible; }
.slide-title {
  font: 300 clamp(64px, 9.6vw, 150px)/.88 var(--display);
  letter-spacing: var(--track-tight);
  text-wrap: balance;
  margin-bottom: 40px;
}
.slide-title.is-long { font-size: clamp(52px, 7.6vw, 124px); line-height: .92; }
:is(:lang(ja), :lang(zh), :lang(ko), :lang(th)) .slide-title { font-size: clamp(44px, 6.2vw, 96px); line-height: 1.12; font-weight: 400; }
:is(:lang(ja), :lang(zh), :lang(ko), :lang(th)) .head-title, :is(:lang(ja), :lang(zh), :lang(ko), :lang(th)) .faq-title.is-long { line-height: 1.15; font-weight: 400; }
.mask { display: block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.mask > span { display: block; transform: translateY(108%); }
.slide.is-active .mask > span { transform: none; transition: transform 1.05s var(--ease) .32s; }
.slide.is-leaving { visibility: visible; }
.slide.is-leaving .mask > span { transform: translateY(-60%); opacity: 0; transition: transform .55s var(--ease-in), opacity .3s linear; }
.slide-cta { opacity: 0; transform: translateY(16px); }
.slide.is-active .slide-cta { opacity: 1; transform: none; transition: opacity .6s var(--ease) .55s, transform .8s var(--ease) .55s, background-color .35s, color .35s; }
.slide.is-leaving .slide-cta { opacity: 0; transition: opacity .25s; }

/* The hand of prints: each slide's real traveller photographs, fanned like prints on a table. */
.hand { position: relative; height: clamp(380px, 54vh, 540px); }
.prints { position: absolute; inset: 0; --spread: min(66px, calc(330px / max(var(--n) - 1, 1))); --pw: 164px; }
.print {
  position: absolute; left: 50%; top: 46%;
  width: var(--pw, 176px); margin-left: calc(var(--pw, 176px) / -2);
  aspect-ratio: var(--ar);
  padding: 6px; background: #fbfaf6; border-radius: 3px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 22px 40px -18px rgba(5, 10, 40, .65);
  transform-origin: 50% 130%;
  translate: calc(var(--k) * var(--spread)) calc(-50% + var(--k2) * 8px - var(--lift, 0px));
  rotate: calc(var(--k) * 5.5deg * var(--tilt, 1));
  opacity: 0; scale: .9;
  pointer-events: none;
}
.print img { width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }
.prints.is-active .print {
  opacity: 1; scale: 1; pointer-events: auto;
  transition: translate .95s var(--ease) calc(.15s + var(--i) * .07s), rotate .95s var(--ease) calc(.15s + var(--i) * .07s), scale .95s var(--ease) calc(.15s + var(--i) * .07s), opacity .4s linear calc(.15s + var(--i) * .07s);
}
/* Dealt from a single stack: before landing, every print sits together, square to the table. */
.prints:not(.is-active):not(.is-leaving) .print, .js .hero:not(.is-ready) .print { opacity: 0; translate: 0 calc(-50% + 70px); rotate: 0deg; }
.prints.is-leaving .print {
  translate: calc(var(--k) * var(--spread) + 260px) calc(-50% - 160px);
  rotate: calc(var(--k) * 5.5deg + 16deg);
  opacity: 0; scale: .96;
  transition: translate .7s var(--ease-in) calc(var(--i) * .035s), rotate .7s var(--ease-in) calc(var(--i) * .035s), opacity .5s linear calc(.15s + var(--i) * .035s);
}
@media (hover: hover) and (pointer: fine) {
  .prints.is-active .print:hover { --lift: 26px; --tilt: .35; z-index: 9; scale: 1.06; transition-delay: 0s; transition-duration: .45s; }
}

.hero-rail { display: flex; align-items: center; gap: 32px; padding: 28px 84px 34px 0; }
.hero-count { font: 400 17px/1 var(--display); font-variant-numeric: tabular-nums; opacity: .8; white-space: nowrap; }
.hero-count span { font-size: 26px; opacity: 1; }
.hero-tabs { flex: 1; display: flex; gap: 6px; min-width: 0; }
.hero-tab { flex: 1 1 0; min-width: 0; display: grid; gap: 12px; padding: 8px 0; font-size: 14px; color: rgba(255, 255, 255, .62); transition: color .3s; }
.hero-tab:hover, .hero-tab[aria-selected="true"], .hero-tab[aria-current="true"] { color: #fff; }
.hero-tab-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-tab-line { position: relative; height: 2px; background: rgba(255, 255, 255, .24); overflow: hidden; border-radius: 2px; }
.hero-tab-line i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-tab.is-done .hero-tab-line i { transform: scaleX(1); opacity: .45; }
.hero-tab[aria-selected="true"] .hero-tab-line i, .hero-tab[aria-current="true"] .hero-tab-line i { animation: fill var(--slide, 5s) linear forwards; }
.hero.is-paused .hero-tab-line i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-ctrl { display: flex; gap: 10px; }
.hero-ctrl .ring-btn { border-color: rgba(255, 255, 255, .45); }
.hero-ctrl .ring-btn:hover { background: #fff; color: var(--blue-deep); border-color: #fff; }
.hero-ctrl .i-play, .hero.is-paused [data-hero-pause] .i-pause { display: none; }
.hero.is-paused [data-hero-pause] .i-play { display: block; }

/* Page-load moment: the photograph settles, the title rises, the prints are dealt. */
.js .hero:not(.is-ready) .hero-photo img { transform: scale(1.16); filter: saturate(.6); }
.hero-photo img { transition: transform 2.4s var(--ease), filter 2.4s var(--ease); }
.hero.is-ready .hero-photo img { transition: transform 1.2s var(--ease), filter 2.4s var(--ease); }
/* The first title is the page's largest text: it is in place from the first paint (later slides still rise). */
.js .hero:not(.is-ready) .slide-cta, .js .hero:not(.is-ready) .hero-rail { opacity: 0; }
.hero-rail { transition: opacity 1s var(--ease) .9s; }

/* ------------------------------------------------------------------ section frame */
.sec { position: relative; padding-block: clamp(96px, 11vw, 176px); }
.head { margin-bottom: clamp(48px, 6vw, 88px); }
.head-lead { font-weight: 500; color: var(--blue); margin-bottom: 14px; font-size: 17px; }
.head-title {
  overflow-wrap: break-word; hyphens: auto; /* one long word (ru "путешественнику") must not widen a phone page */
  font: 300 clamp(48px, 6.6vw, 104px)/.95 var(--display);
  letter-spacing: var(--track-tight);
  text-wrap: balance; max-width: 16ch;
}
.head-trips { font-size: clamp(44px, 5.2vw, 84px); max-width: 17ch; }
@media (max-width: 420px) { .head-title { font-size: min(48px, 11vw); } }


/* ------------------------------------------------------------------ 04 destinations: five tall panels, one open at a time */
.dest-panels { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; height: clamp(460px, 68vh, 660px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate; border-radius: 8px; background: var(--ink); cursor: pointer; }
.panel.is-open { flex-grow: 4.4; cursor: default; }
/* Opening is its own transition, so the staggered reveal keeps its delay and the opening has none. */
.js .panel[data-reveal] {
  transition: flex-grow .9s var(--swift), height .8s var(--swift), opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: 0s, 0s, calc(var(--i, 0) * .1s), calc(var(--i, 0) * .1s);
}
/* The photograph keeps the open panel's width, so opening uncovers it instead of re-cropping it. */
.panel-media { position: absolute; inset: 0; z-index: -1; }
.panel-media img {
  position: absolute; top: 0; left: 50%; width: max(100%, min(720px, 52vw)); max-width: none; height: 100%;
  translate: -50% 0; object-fit: cover; scale: 1.12; filter: saturate(.8) brightness(.78);
  transition: scale 1.6s var(--ease), filter .8s var(--ease);
}
.panel.is-open .panel-media img { scale: 1; filter: none; }
.panel:not(.is-open):hover .panel-media img { scale: 1.06; filter: saturate(1) brightness(.92); }
.panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 18, 17, .08) 35%, rgba(12, 18, 17, .8) 100%); pointer-events: none; }
/* A fine frame drawn inside the open photograph, like a mount around a print. */
.panel::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 4px; opacity: 0; scale: 1.03; pointer-events: none; transition: opacity .4s, scale .9s var(--ease); }
.panel.is-open::after { opacity: 1; scale: 1; transition-delay: .4s; }
.panel-tab {
  position: absolute; left: 50%; bottom: 28px; z-index: 1; translate: -50% 0;
  writing-mode: vertical-rl; rotate: 180deg; white-space: nowrap;
  font: 400 clamp(22px, 2vw, 30px)/1 var(--display); color: #fff;
  transition: opacity .35s, translate .6s var(--ease);
}
.panel:not(.is-open):hover .panel-tab { translate: -50% -8px; }
.panel.is-open .panel-tab { opacity: 0; }
.panel-copy {
  position: absolute; inset-inline: clamp(28px, 3vw, 44px); bottom: clamp(28px, 3vw, 40px); z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  color: #fff; opacity: 0; translate: 0 18px; pointer-events: none;
  transition: opacity .3s, translate .5s var(--ease);
}
.panel.is-open .panel-copy { opacity: 1; translate: 0 0; pointer-events: auto; transition: opacity .6s .35s, translate .9s var(--ease) .35s; }
.panel-name { display: grid; gap: 6px; min-width: 0; }
.panel-country { font: 500 15px/1.3 var(--text); color: rgba(255, 255, 255, .84); }
.panel-city { font: 300 clamp(44px, 4.8vw, 84px)/.92 var(--display); letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.panel-link {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 18px 0 22px; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 500; font-size: 15px;
  transition: background-color .3s, color .3s;
}
.panel-link .i { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.panel-link:hover { background: var(--blue); color: #fff; }
.panel-link:hover .i { transform: translateX(4px); }
.panel-link:focus-visible { outline-color: #fff; }
html:not(.js) .panel:focus-within .panel-copy { opacity: 1; translate: 0 0; }
@media (max-width: 900px) {
  /* A vertical accordion: closed panels are bands showing the middle of their photograph. */
  .dest-panels { flex-direction: column; height: auto; gap: 8px; }
  .panel { flex: none; height: 84px; }
  .panel.is-open { height: min(440px, 64svh); }
  .panel-media img { top: 50%; left: 0; width: 100%; height: min(440px, 64svh); translate: 0 -50%; }
  .panel-tab { writing-mode: horizontal-tb; rotate: none; left: 22px; bottom: auto; top: 50%; translate: 0 -50%; font-size: 26px; }
  .panel:not(.is-open):hover .panel-tab { translate: 4px -50%; }
  .panel::after { inset: 10px; }
  .panel-copy { inset-inline: 24px; bottom: 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .panel-city { font-size: clamp(40px, 12vw, 60px); }
}

/* ------------------------------------------------------------------ 05 packages: journeys that stack as you scroll */
.pkgs { background: var(--ink); color: var(--paper); }
.pkg-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.pkg { position: sticky; top: calc(var(--head-h) + 24px + var(--i) * 18px); }
.pkg-card {
  --cover: 0;
  position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px);
  min-height: clamp(440px, 62vh, 560px); padding: 14px; border-radius: 16px;
  background: #1d2927; border: 1px solid rgba(247, 246, 241, .08);
  box-shadow: 0 -24px 60px -36px rgba(0, 0, 0, .9);
  transform-origin: 50% 0; scale: calc(1 - var(--cover) * .06); filter: brightness(calc(1 - var(--cover) * .5));
}
.pkg-card.is-flipped { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.pkg-card.is-flipped .pkg-media { order: 2; }
.pkg-media { position: relative; overflow: hidden; border-radius: 10px; background: rgba(247, 246, 241, .06); }
.pkg-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.6s var(--ease); }
.pkg-body { display: flex; flex-direction: column; min-width: 0; padding: clamp(16px, 2vw, 30px) clamp(10px, 1.6vw, 26px) clamp(10px, 1.2vw, 16px); }
.pkg-name { font-size: 15px; font-weight: 500; color: var(--faience); }
.pkg-days { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 10px; }
.pkg-days strong { font: 200 clamp(100px, 10.4vw, 160px)/.78 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.pkg-days span { font: 300 clamp(24px, 2.2vw, 34px)/1 var(--display); color: rgba(247, 246, 241, .66); }
.pkg-title { font: 400 clamp(24px, 2.1vw, 32px)/1.14 var(--display); letter-spacing: -.005em; text-wrap: balance; max-width: 22ch; }
/* The route named in the title: stops, and the way between them. */
.pkg-route { list-style: none; margin: 28px 0 0; padding: 0; display: flex; align-items: flex-start; }
.stop-pt { flex: none; display: grid; justify-items: start; gap: 10px; font-size: 14px; color: rgba(247, 246, 241, .8); }
.stop-pt::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--faience); box-sizing: border-box; }
.stop-pt span { max-width: 9em; line-height: 1.3; }
.leg { position: relative; flex: 1; min-width: 36px; height: 12px; margin-inline: 10px; }
.leg::before { content: ""; position: absolute; inset-inline: 0; top: 50%; border-top: 1.5px dashed rgba(134, 220, 203, .45); }
.stop-pt:last-child { justify-items: end; text-align: end; }
/* The plane flies the route once when the journey arrives, and again when it is pointed at. */
.leg .i-plane { position: absolute; top: 50%; left: calc(100% - 15px); width: 22px; height: 22px; padding-inline: 4px; translate: -50% -50%; box-sizing: content-box; background: #1d2927; color: var(--faience); }
.js .pkg-card:not(.is-in) .leg .i-plane { left: 15px; }
.js .pkg-card.is-in .leg .i-plane { animation: fly 1.8s var(--ease) .5s both; }
@keyframes fly { from { left: 15px; } }
@keyframes fly-again { from { left: 15px; } }
.pkg-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 28px; }
.pkg-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14.5px; color: rgba(247, 246, 241, .74); }
.pkg-facts li { display: inline-flex; align-items: center; gap: 7px; }
.pkg-facts .i { width: 17px; height: 17px; }
.pkg-link {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 26px; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-weight: 500; white-space: nowrap;
  transition: background-color .35s var(--ease);
}
.pkg-link .i { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.pkg-link::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.pkg-link:focus-visible { outline: none; }
.pkg-card:has(.pkg-link:focus-visible) { outline: 2px solid var(--faience); outline-offset: 4px; }
.pkg-card:hover .pkg-link, .pkg-card:has(.pkg-link:focus-visible) .pkg-link { background: var(--faience); }
.pkg-card:hover .pkg-link .i { transform: translateX(4px); }
@media (hover: hover) and (pointer: fine) {
  .pkg-card:hover .pkg-media img { scale: 1.05; }
  .js .pkg-card.is-in:hover .leg .i-plane { animation: fly-again 1.4s var(--ease); }
}
@media (max-width: 1080px) {
  .pkg-card, .pkg-card.is-flipped { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pkg-days strong { font-size: 96px; }
}
@media (max-width: 900px) {
  .pkg-stack { gap: 20px; }
  .pkg { position: static; }
  .pkg-card, .pkg-card.is-flipped { grid-template-columns: 1fr; min-height: 0; gap: 8px; padding: 10px; scale: none; filter: none; }
  .pkg-card.is-flipped .pkg-media { order: 0; }
  .pkg-media { aspect-ratio: 16 / 10; }
  .pkg-body { padding: 14px 10px 10px; }
  .pkg-days strong { font-size: 84px; }
}
@media (max-width: 600px) {
  .pkg-foot { flex-direction: column; align-items: stretch; }
  .pkg-link { justify-content: space-between; }
}

/* ------------------------------------------------------------------ 06 tours: matted prints with an hour dial */
.tour-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.tour {
  --tilt: -.7deg;
  position: relative; display: flex; flex-direction: column;
  padding: 10px 10px 0; background: #fff; border-radius: 4px;
  box-shadow: 0 1px 0 rgba(20, 29, 27, .05), 0 22px 44px -34px rgba(20, 29, 27, .45);
}
.tour:nth-child(3n + 2) { --tilt: .6deg; }
.tour:nth-child(3n) { --tilt: -.4deg; }
/* Lifting a print: its own properties, so the staggered reveal keeps its delay and the hover has none. */
.js .tour[data-reveal] {
  transition: translate .7s var(--ease), rotate .7s var(--ease), box-shadow .7s var(--ease), opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: 0s, 0s, 0s, calc(var(--i, 0) * .12s), calc(var(--i, 0) * .12s);
}
.tour-print { position: relative; }
.tour-media { overflow: hidden; border-radius: 2px; aspect-ratio: 1 / 1; background: var(--stone); }
.tour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }

.tour-dial {
  position: absolute; inset-inline-end: 14px; bottom: 14px;
  display: grid; place-content: center; justify-items: center;
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .65);
}
.tour-dial svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); rotate: -90deg; overflow: visible; }
.dial-ticks { fill: none; stroke: rgba(20, 29, 27, .3); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 1; }
.dial-arc { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: var(--h) 12; transition: stroke-dashoffset 1.4s var(--ease) .5s; }
.js .tour:not(.is-in) .dial-arc { stroke-dashoffset: var(--h); }
.tour-dial strong { font: 400 32px/.85 var(--display); font-variant-numeric: tabular-nums; }
.tour-dial span { font-size: 12px; font-weight: 500; color: var(--ink-soft); margin-top: 2px; }

.tour-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 12px 18px; }
.tour-title { font: 400 clamp(22px, 1.8vw, 27px)/1.12 var(--display); letter-spacing: -.005em; text-wrap: balance; min-height: 2.24em; }
.tour-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--ink-soft); }
.tour-facts li { display: inline-flex; align-items: center; gap: 7px; }
.tour-facts .i { width: 17px; height: 17px; }
.tour-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.tour-price { display: grid; gap: 5px; }
.tour-price span { font-size: 13px; color: var(--ink-soft); line-height: 1; }
.tour-price strong { font: 400 38px/.9 var(--display); font-variant-numeric: tabular-nums; }
.tour-link {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 16px 0 20px; border-radius: 999px;
  border: 1.5px solid var(--ink); font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.tour-link .i { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.tour-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tour-link:focus-visible { outline: none; }
.tour:has(.tour-link:focus-visible) { outline: 2px solid var(--blue); outline-offset: 5px; }
.tour:hover .tour-link, .tour:has(.tour-link:focus-visible) .tour-link { background: var(--blue); border-color: var(--blue); color: #fff; }
.tour:hover .tour-link .i { transform: translateX(4px); }
@media (hover: hover) and (pointer: fine) {
  .tour:hover { translate: 0 -8px; rotate: var(--tilt); box-shadow: 0 1px 0 rgba(20, 29, 27, .05), 0 40px 64px -36px rgba(20, 29, 27, .6); }
  .tour:hover .tour-media img { transform: scale(1.06); }
  .tour:hover .dial-arc { animation: sweep 1.1s var(--ease); }
}
@keyframes sweep { from { stroke-dashoffset: var(--h); } }

@media (max-width: 1080px) { .tour-title { font-size: 22px; } .tour-price strong { font-size: 32px; } }
@media (max-width: 900px) {
  /* Tours become a swipeable row. */
  .tour-row { display: flex; gap: 16px; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 30px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .tour-row::-webkit-scrollbar { display: none; }
  .tour { flex: 0 0 min(76%, 380px); scroll-snap-align: start; }
  .tour-media { aspect-ratio: 5 / 6; }
}
@media (max-width: 600px) { .tour { flex-basis: 84%; } }

/* ------------------------------------------------------------------ 07 reviews: the original Tripadvisor bar and card carousel */
.reviews { background: var(--paper); padding-block: clamp(72px, 8vw, 128px); }
.stars { display: inline-flex; gap: 3px; color: var(--ochre); }
.stars .i { width: 20px; height: 20px; }
.rv-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  max-width: 880px; margin: 0 auto clamp(36px, 4vw, 56px); padding: 22px 26px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 .75em 1.5em -.25em rgba(145, 158, 171, .14), 0 0 .125em rgba(145, 158, 171, .24);
}
.rv-score { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.rv-score .stars { gap: 4px; }
.rv-score strong { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rv-score > span:last-child { font-size: 14.5px; color: var(--ink-soft); }
.rv-write {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: 8px; background: var(--blue); color: #fff; font-weight: 600; font-size: 15.5px;
  box-shadow: 0 .5em 1em rgba(23, 47, 147, .24);
  transition: background-color .25s, box-shadow .25s;
}
.rv-write:hover { background: var(--blue-deep); box-shadow: 0 .7em 1.4em rgba(23, 47, 147, .32); }

.rv-track {
  list-style: none; margin: -8px -6px 0; padding: 8px 6px 18px;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; align-items: start;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 6px; scrollbar-width: none;
}
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { scroll-snap-align: start; display: flex; flex-direction: column; padding: 24px; background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, .05); }
.rv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rv-head .stars { gap: 4px; }
.rv-date { font-size: 14px; color: var(--ink-soft); }
.rv-source { width: 20px; height: 20px; margin-inline-start: auto; }
.rv-text { min-height: 100px; margin-bottom: 24px; font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.js .rv-text.is-long:not(.is-open) .rv-rest { display: none; }
.rv-toggle { margin-inline-start: 4px; font-weight: 600; color: var(--blue); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.rv-toggle:hover { text-decoration-color: currentColor; }
.rv-foot { display: flex; align-items: center; gap: 12px; }
.rv-avatar { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: none; overflow: hidden; border-radius: 50%; background: var(--stone); color: var(--ink-soft); font: 500 17px/1 var(--display); text-transform: uppercase; }
.rv-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-foot a { font-weight: 600; color: var(--blue-deep); overflow-wrap: anywhere; }
.rv-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rv-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; margin-top: 10px; }
.rv-dot { display: grid; place-items: center; width: 28px; height: 28px; }
.rv-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #d3d4ce; transition: background-color .3s, transform .3s var(--ease); }
button.rv-dot:hover::before { background: var(--ink-soft); }
.rv-dot[aria-current="true"]::before { background: var(--blue); transform: scale(1.15); }
/* One card per view leaves too many dots for a row: they become a segmented bar. */
.rv-dots.is-bar { flex-wrap: nowrap; gap: 4px; }
.rv-dots.is-bar .rv-dot { flex: 1; width: auto; min-width: 0; height: 12px; }
.rv-dots.is-bar .rv-dot::before { width: 100%; height: 3px; border-radius: 2px; }
.rv-dots.is-bar .rv-dot[aria-current="true"]::before { transform: none; }
@media (max-width: 1080px) { .rv-track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 700px) {
  .rv-track { grid-auto-columns: 88%; }
  .rv-bar { padding: 18px 20px; }
  .rv-write { flex: 1 0 100%; justify-content: center; }
}

/* ------------------------------------------------------------------ 08 FAQ: compact, searchable, growing in batches */
/* Deep Nile green: the dark of the faience accent, quieter than a blue band. */
.faq { --nile: #21403a; background: var(--nile); color: #fff; padding-block: clamp(80px, 8vw, 128px); }
.faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 120px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--head-h) + 32px); display: grid; gap: 30px; }
.faq-title { font: 300 clamp(72px, 8vw, 128px)/.82 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.faq-title.is-long { font-size: clamp(40px, 4.2vw, 64px); line-height: 1; letter-spacing: var(--track-tight); }
.faq-search { position: relative; display: flex; align-items: center; max-width: 380px; }
.faq-search > .i { position: absolute; inset-inline-start: 18px; width: 18px; height: 18px; pointer-events: none; }
.faq-search input {
  width: 100%; min-height: 52px; padding: 0 48px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .08); color: #fff;
  font-size: 16px; outline: none; transition: border-color .3s, background-color .3s;
}
.faq-search input::placeholder { color: rgba(255, 255, 255, .72); }
.faq-search input::-webkit-search-cancel-button { appearance: none; }
.faq-search input:focus { border-color: #fff; background: rgba(255, 255, 255, .14); }
.faq-clear { position: absolute; inset-inline-end: 7px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; transition: background-color .25s; }
.faq-clear:hover { background: rgba(255, 255, 255, .16); }
.faq-clear .i { width: 16px; height: 16px; }
.faq-list { border-top: 1px solid var(--line-light); }
.qa { border-bottom: 1px solid var(--line-light); }
.qa summary { display: flex; align-items: center; gap: 20px; padding: 18px 0; cursor: pointer; list-style: none; font: 400 clamp(18px, 1.45vw, 21px)/1.3 var(--display); transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--faience); }
.qa summary:focus-visible { outline-color: #fff; }
.qa-q { flex: 1; text-wrap: pretty; }
.qa mark { background: var(--faience); color: var(--ink); border-radius: 2px; padding-inline: .08em; }
.qa-sign { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); transition: background-color .35s, border-color .35s, transform .5s var(--ease); }
.qa-sign::before, .qa-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.qa-sign::after { transform: rotate(90deg); }
.qa[open] .qa-sign { background: #fff; color: var(--nile); border-color: #fff; transform: rotate(180deg); }
.qa[open] .qa-sign::after { transform: rotate(0deg); }
.qa-a { padding: 0 50px 22px 0; max-width: 66ch; color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .qa::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
  .qa[open]::details-content { block-size: auto; }
}
.qa.is-folded { display: none; }
.qa.is-arriving { animation: rise .5s var(--ease) both; animation-delay: calc(var(--n, 0) * 35ms); }
.faq-none { padding: 22px 0; color: rgba(255, 255, 255, .88); }
.faq-none:empty { display: none; }
.faq-more { margin-top: 28px; min-height: 46px; padding: 0 22px; font-size: 15px; color: #fff; }
.faq-more .i { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.faq-more[aria-expanded="true"] .i { transform: rotate(180deg); }
@media (max-width: 900px) {
  .faq-in { grid-template-columns: 1fr; gap: 32px; }
  .faq-side { position: static; gap: 24px; }
  .faq-search { max-width: none; }
  .qa-a { padding-inline-end: 0; }
}

/* ------------------------------------------------------------------ 09 tailor-made: a route of five stops and a pass that fills in */
.tailor-head { display: grid; gap: 18px; margin-bottom: clamp(44px, 5vw, 76px); }
.tailor-head .head-title { max-width: 13ch; }
.tailor-lead { font: 400 clamp(21px, 1.9vw, 27px)/1.3 var(--display); color: var(--ink-soft); }
.notice { display: flex; gap: 14px; padding: 18px 22px; border-radius: 14px; margin-bottom: 32px; max-width: 760px; }
.notice-error { display: block; background: #fbe9e4; color: #7c1d0b; }
.notice-error h3 { font: 600 16px/1.4 var(--text); margin-bottom: 6px; }
.notice-error ul { margin: 0; padding-inline-start: 20px; }
.notice-ok { align-items: center; background: #dff3ec; color: #0b4a3c; font-weight: 500; }
.planner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5.5vw, 96px); align-items: start; }

.route { list-style: none; margin: 0; padding: 0; }
.stop { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 clamp(20px, 2.6vw, 40px); padding-bottom: 52px; }
.stop:last-child { padding-bottom: 0; }
/* The line to the next stop fills with blue once this one is complete. */
.stop:not(:last-child)::before {
  content: ""; position: absolute; inset-inline-start: 23px; top: 56px; bottom: 8px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--blue), var(--blue)) 0 0 / 100% 0 no-repeat, rgba(20, 29, 27, .14);
  transition: background-size .9s var(--ease);
}
.stop.is-done::before { background-size: 100% 100%, auto; }
.stop-node {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(20, 29, 27, .26); background: var(--stone); color: var(--ink);
  transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s, transform .5s var(--ease);
}
.stop-node .i { grid-area: 1 / 1; transition: opacity .3s, transform .45s var(--ease); }
.stop-node .i-check { opacity: 0; transform: scale(.4); }
.stop:focus-within .stop-node { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 6px rgba(35, 67, 201, .12); transform: scale(1.06); }
.stop.is-done .stop-node { background: var(--blue); border-color: var(--blue); color: #fff; }
.stop.is-done .stop-node .i:first-child { opacity: 0; transform: scale(.4); }
.stop.is-done .stop-node .i-check { opacity: 1; transform: none; }
.stop-body { min-width: 0; padding-top: 2px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .stay legend { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.req { color: var(--blue); margin-inline-start: 3px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 0;
  border: 0; border-radius: 0; background: transparent; color: var(--ink);
  font-size: 18px;
  box-shadow: inset 0 -1.5px 0 rgba(20, 29, 27, .3);
  outline: none; transition: box-shadow .35s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(20, 29, 27, .45); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 -2.5px 0 var(--blue); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field [aria-invalid="true"] { box-shadow: inset 0 -2.5px 0 #b3361a; }
.field-error { color: #a32a10; font-size: 14px; }
.field-error:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; padding-inline-end: 32px; background-color: transparent; cursor: pointer; }
.select option { background: var(--paper); color: var(--ink); }
.select .i { position: absolute; inset-inline-end: 0; top: 50%; translate: 0 -50%; pointer-events: none; width: 18px; height: 18px; }
.span-days { grid-column: 1 / -1; justify-self: start; padding: 7px 16px; border-radius: 999px; background: rgba(35, 67, 201, .1); color: var(--blue-deep); font-weight: 500; font-size: 15px; animation: rise .5s var(--ease) both; }

.count-box { display: flex; align-items: center; gap: 6px; box-shadow: inset 0 -1.5px 0 rgba(20, 29, 27, .3); transition: box-shadow .35s var(--ease); }
.count-box:focus-within { box-shadow: inset 0 -2.5px 0 var(--blue); }
.field .count-box input { flex: 1; min-width: 0; text-align: center; box-shadow: none; font: 400 24px/1 var(--display); font-variant-numeric: tabular-nums; appearance: textfield; }
.count-box input::-webkit-inner-spin-button, .count-box input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.count-btn { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.count-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.count-btn:active { transform: scale(.9); }
.count-btn .i { width: 16px; height: 16px; }
.child-ages { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px 32px; }
.child-ages .field { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.stay { border: 0; padding: 0; margin: 0; min-width: 0; }
.stay legend { padding: 0; margin-bottom: 12px; }
.stay-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stay-option { position: relative; display: block; cursor: pointer; }
.stay-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.stay-card { display: grid; gap: 10px; padding: 16px 16px 14px; border-radius: 14px; border: 1.5px solid rgba(20, 29, 27, .18); background: rgba(255, 255, 255, .35); transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.stay-stars { display: flex; gap: 1px; color: var(--ochre); height: 16px; }
.stay-stars .i { width: 15px; height: 15px; }
.stay-name { font: 500 18px/1.1 var(--display); }
.stay-option:hover .stay-card { border-color: var(--ink); }
.stay-option input:checked + .stay-card { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.stay-option input:focus-visible + .stay-card { outline: 2px solid var(--blue); outline-offset: 3px; }

/* The pass: a travel document in Nile ink, perforated above its stub. */
.pass { position: sticky; top: calc(var(--head-h) + 24px); overflow: hidden; border-radius: 18px; background: var(--ink); color: var(--paper); box-shadow: 0 44px 80px -54px rgba(20, 29, 27, .8); }
.pass-photo { position: relative; aspect-ratio: 16 / 6.8; }
.pass-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.pass-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 29, 27, 0) 30%, rgba(20, 29, 27, .92) 100%); }
.pass-name { position: absolute; inset-inline: 24px; bottom: 14px; z-index: 1; display: grid; gap: 4px; }
.pass-name span { font-size: 13px; color: rgba(247, 246, 241, .78); }
.pass-name strong { display: block; min-height: 1.05em; font: 400 clamp(28px, 2.6vw, 38px)/1.05 var(--display); overflow-wrap: anywhere; }
.pass-name strong:empty::before { content: ""; display: block; width: 62%; height: 1.05em; border-bottom: 1.5px dashed rgba(247, 246, 241, .5); }
.pass-rows { margin: 0; padding: 20px 24px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.pass-row { min-width: 0; }
.pass-wide { grid-column: 1 / -1; }
.pass-row dt { font-size: 12.5px; color: rgba(247, 246, 241, .66); }
.pass-row dd { margin: 2px 0 0; min-height: 1.25em; font: 400 19px/1.25 var(--display); overflow-wrap: anywhere; }
.pass-row dd:empty::before { content: "\2014"; color: rgba(247, 246, 241, .34); }
.pass-row dd.is-new { animation: rise .55s var(--ease); }
.pass-row .stay-stars { display: inline-flex; vertical-align: -1px; margin-inline-end: 8px; }
.pass-stub { position: relative; display: grid; gap: 20px; padding: 24px; border-top: 2px dashed rgba(247, 246, 241, .2); }
.pass-stub::before, .pass-stub::after { content: ""; position: absolute; top: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--stone); }
.pass-stub::before { left: -14px; }
.pass-stub::after { right: -14px; }
.pass .field label { color: rgba(247, 246, 241, .78); }
.pass .field input { color: var(--paper); box-shadow: inset 0 -1.5px 0 rgba(247, 246, 241, .38); }
.pass .field input:focus { box-shadow: inset 0 -2.5px 0 var(--faience); }
.pass .field [aria-invalid="true"] { box-shadow: inset 0 -2.5px 0 #ff9c84; }
.pass .field-error { color: #ffb6a3; }
.pass :focus-visible { outline-color: var(--faience); }
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-row input { flex: 1; min-width: 0; letter-spacing: .14em; }
.captcha-img { width: 168px; height: 52px; border-radius: 10px; background: var(--paper); flex: none; }
.captcha .ring-btn { width: 44px; height: 44px; border-color: rgba(247, 246, 241, .3); }
.captcha .ring-btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.captcha .ring-btn.is-spinning .i { animation: spin .6s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
.submit { justify-content: space-between; width: 100%; min-height: 58px; padding-inline: 28px 24px; font-size: 17px; background: var(--faience); color: var(--ink); }
.submit:hover { background: #fff; }
.submit.is-loading { pointer-events: none; }
.submit.is-loading .i { animation: spin .8s linear infinite; }
.submit.is-loading .i path { d: path("M12 4a8 8 0 1 0 8 8"); }
@media (max-width: 1080px) { .stay-options { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .planner { grid-template-columns: 1fr; }
  .pass { position: static; max-width: 560px; }
  .stop { grid-template-columns: 40px minmax(0, 1fr); gap: 0 18px; padding-bottom: 44px; }
  .stop-node { width: 40px; height: 40px; }
  .stop-node .i { width: 18px; height: 18px; }
  .stop:not(:last-child)::before { inset-inline-start: 19px; top: 48px; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; gap: 26px; }
  .counter { grid-column: auto; }
  .stop-body .form-grid:has(.counter) { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .stop-body .child-ages { grid-template-columns: 1fr 1fr; gap: 22px 20px; }
  .pass-rows, .pass-stub { padding-inline: 20px; }
  .captcha-row { flex-wrap: wrap; }
  .captcha-row input { flex: 1 0 100%; }
}

/* ------------------------------------------------------------------ 10 footer */
.foot { position: relative; overflow: clip; background: var(--ink); color: rgba(247, 246, 241, .78); padding-top: clamp(80px, 9vw, 128px); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
.foot-logo img { width: 88px; height: 88px; border-radius: 50%; margin-bottom: 24px; }
.foot-socials { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 46px); gap: 10px; }
.foot-socials a {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; overflow: hidden; isolation: isolate;
  border-radius: 50%; border: 1px solid rgba(247, 246, 241, .24); color: var(--paper);
  transition: color .35s var(--ease), border-color .35s var(--ease), translate .45s var(--ease);
}
.foot-socials a::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--paper); scale: 0; transition: scale .45s var(--ease); }
.foot-socials .i { width: 19px; height: 19px; transition: scale .45s var(--ease); }
.foot-socials a:hover, .foot-socials a:focus-visible { color: var(--ink); border-color: var(--paper); translate: 0 -3px; }
.foot-socials a:hover::before, .foot-socials a:focus-visible::before { scale: 1; }
.foot-socials a:hover .i { scale: 1.08; }
.foot-socials a:focus-visible { outline-color: var(--faience); }
.foot-col h2 { font: 400 26px/1.2 var(--display); color: var(--paper); margin-bottom: 18px; }
.foot-col p { max-width: 46ch; line-height: 1.7; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badges a, .badges li > span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(247, 246, 241, .22); color: var(--paper); font-size: 14.5px; font-weight: 500; transition: background-color .3s, color .3s; }
.badges .i { width: 15px; height: 15px; }
.badges .i-star { color: var(--ochre); }
.badges a:hover { background: var(--paper); color: var(--ink); }
.foot-links { display: grid; gap: 4px; }
.foot-links a { display: inline-block; padding: 5px 0; color: var(--paper); background: linear-gradient(var(--faience), var(--faience)) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.foot-links a:hover { background-size: 100% 1.5px; color: var(--faience); }
.foot-word::before { content: attr(data-word); }
.foot-word {
  margin-top: clamp(56px, 7vw, 104px);
  font: 200 clamp(64px, 16.6vw, 290px)/.78 var(--display); letter-spacing: -.045em;
  color: rgba(247, 246, 241, .07); padding-bottom: .14em;
  text-align: center; white-space: nowrap; user-select: none;
}
.foot-base { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px max(32px, env(safe-area-inset-bottom)); padding-inline-end: 88px; border-top: 1px solid rgba(247, 246, 241, .14); font-size: 14px; }
.to-top { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(247, 246, 241, .3); color: var(--paper); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.to-top:hover { background: var(--paper); color: var(--ink); transform: translateY(-4px); }

/* ------------------------------------------------------------------ 11 floating contacts */
.float { position: fixed; inset-inline-end: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 40; }
.float summary { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer; list-style: none; box-shadow: 0 16px 34px -12px rgba(23, 47, 147, .75); transition: transform .4s var(--ease), background-color .3s; }
.float summary::-webkit-details-marker { display: none; }
.float summary:hover { transform: scale(1.06); }
.float summary .i { width: 24px; height: 24px; grid-area: 1 / 1; transition: transform .45s var(--ease), opacity .3s; }
.float summary .i-close, .float[open] summary .i-chat { opacity: 0; transform: rotate(-90deg); }
.float[open] summary .i-close { opacity: 1; transform: none; }
.float[open] summary { background: var(--ink); }
.float ul { position: absolute; inset-inline-end: 4px; bottom: 74px; display: grid; gap: 10px; justify-items: end; list-style: none; margin: 0; padding: 0; }
.float li { animation: pop .45s var(--ease) both; animation-delay: calc((2 - var(--i)) * 60ms); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.9); } }
.float a { display: flex; align-items: center; gap: 10px; }
.float-label { padding: 8px 14px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: 0 10px 24px -12px rgba(20, 29, 27, .5); }
.float-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--blue); box-shadow: 0 10px 24px -12px rgba(20, 29, 27, .5); transition: background-color .3s, color .3s; }
.float a:hover .float-icon { background: var(--blue); color: #fff; }

/* ------------------------------------------------------------------ scroll reveals (only with the script) */
.js [data-reveal] { transition: opacity .9s var(--ease), transform 1s var(--ease), clip-path 1.2s var(--swift); }
/* Already on screen when the page opens: shown at once, not faded in (the layout script marks them is-now). */
.js .is-now, .js .is-now *, .js .is-now::before, .js .is-now::after { transition: none !important; }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(22px); }
.js [data-reveal="words"]:not(.is-in) { transform: translateY(.35em); clip-path: inset(0 0 45% 0); }
.js [data-reveal="words"].is-in { clip-path: inset(-10% -10% -20% -10%); }
.js [data-reveal="wipe"]:not(.is-in) { transform: none; clip-path: inset(0 0 0 65%); }
.js [data-reveal="wipe"].is-in { clip-path: inset(0); }
.js [data-reveal="rise"] { transition-delay: calc(var(--i, 0) * .12s); }
.js [data-reveal="rise"]:not(.is-in) { transform: translateY(48px); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1240px) {
  .nav { display: none; }
  .burger { display: grid; }
  .tools { margin-inline-start: auto; }
}
@media (max-width: 1080px) {
  .hero-tab-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero-tab { padding: 14px 0; }
}
@media (max-width: 900px) {
  :root { --head-h: 72px; }
  .strip { display: none; }
  .brand img { width: 46px; height: 46px; }
  .brand-word { display: none; }
  .lang-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lang-btn { padding-inline-end: 8px; }
  .lang-pop { position: fixed; inset: auto 12px auto 12px; top: calc(var(--head-h) + 4px); width: auto; transform-origin: top center; }
  .hero { padding-top: calc(var(--head-h) + 24px); min-height: max(640px, 100svh); }
  .hero-in { grid-template-columns: 1fr; gap: 4px; align-content: end; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(12, 18, 17, .55) 0%, rgba(12, 18, 17, 0) 22%, rgba(12, 18, 17, .1) 38%, rgba(12, 18, 17, .78) 62%, rgba(12, 18, 17, .86) 100%); }
  .hero-photo img { object-position: 42% 30%; }
  .slide { align-self: start; }
  .slide-title { margin-bottom: 22px; font-size: clamp(58px, 17vw, 104px); }
  .slide-title.is-long { font-size: clamp(42px, 11vw, 72px); }
  .slide-cta { min-height: 48px; }
  .hand { height: 250px; }
  .prints { --pw: 104px; --spread: min(44px, calc(196px / max(var(--n) - 1, 1))); }
  .print { top: 44%; padding: 4px; --tilt: .55; }
  .hero-rail { gap: 16px; padding-bottom: 28px; padding-inline-end: 76px; }
  .hero-count { display: none; }
  .hero-ctrl .ring-btn { width: 42px; height: 42px; }
  .hero-ctrl [data-hero-prev] { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .foot-logo img { margin: 0; width: 72px; height: 72px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; align-items: flex-start; }
  .lang-list { grid-template-columns: 1fr 1fr; }
  .lang-list a { padding: 9px 8px; gap: 9px; font-size: 14.5px; }
  .lang-code { display: none; }
}

/* ------------------------------------------------------------------ reduced motion: everything is shown, nothing travels */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal]:not(.is-in) { opacity: 1; transform: none; clip-path: none; }
  .hero-photo img { transform: none !important; }
}

/* ------------------------------------------------------------------ Laravel integration */
/* The server's captcha image (captcha_img()) sits in the frame the prototype drew. */
.captcha-img { display: grid; place-items: center; overflow: hidden; }
.captcha-img img { width: 100%; height: 100%; object-fit: contain; }
/* Answers are rich text from the admin. */
.qa-a > * + * { margin-top: .8em; }
.qa-a ul, .qa-a ol { padding-inline-start: 1.2em; }
.qa-a a { color: var(--faience); text-decoration: underline; text-underline-offset: 3px; }
.notice[tabindex]:focus { outline: none; }
.badges .rate-badge { gap: 8px; padding: 6px 12px; transition: background-color .3s, color .3s, transform .3s; }
.rate-badge:hover { transform: translateY(-2px); }
.rate-logo { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.rate-logo img { width: 18px; height: 18px; object-fit: contain; }
.rate-name { white-space: nowrap; }
.rate-score { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; white-space: nowrap; }
.rate-score small { font-size: .75em; font-weight: 400; }
.rate-score.is-link { font-size: 12px; font-weight: 400; }
@media (max-width: 480px) {
  .badges li { width: 100%; }
  .badges .rate-badge { display: flex; }
  .rate-score { margin-inline-start: auto; }
}
/* Pages that open on the light stone background: the header starts in ink instead of white. */
.top-light .masthead:not(.is-solid):not(.is-menu-open) { color: var(--ink); background: none; }
.top-light .masthead:not(.is-solid) .strip-in { border-bottom-color: var(--line); }
.top-light .masthead:not(.is-solid) .brand img { box-shadow: 0 0 0 1px var(--line); }
.top-light .masthead:not(.is-solid):not(.is-menu-open) .nav a[aria-current="page"]::after { background: var(--blue); }
.top-light .masthead:not(.is-solid):not(.is-menu-open) .tool:hover, .top-light .masthead:not(.is-solid):not(.is-menu-open) .lang-btn:hover { background: rgba(20, 29, 27, .07); }
/* Copy that colours words with the admin colour (inline var(--mainColor)) keeps the colour as a highlighter
   stroke under ink text, so light settings stay readable. */
[style*="--mainColor"] { color: var(--ink) !important; background: linear-gradient(transparent 58%, var(--mainColor) 58%, var(--mainColor) 92%, transparent 92%); padding-inline: .08em; }

/* Breadcrumbs: the visible trail behind each page's BreadcrumbList data. */
.crumbs ol { list-style: none; margin: 0 0 clamp(28px, 3vw, 44px); padding: 0; display: flex; flex-wrap: wrap; font-size: 14.5px; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-inline: 10px; opacity: .5; }
.crumbs a { transition: color .25s; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------------ inquiry form */
.inquiry { padding-block: clamp(64px, 7vw, 120px); background: var(--paper); }
.inquiry-in { width: min(860px, 100% - var(--gutter) * 2); margin-inline: auto; }
.inquiry-title { font: 300 clamp(40px, 4.6vw, 72px)/1 var(--display); letter-spacing: var(--track-tight); }
.inquiry-about { margin: 12px 0 clamp(28px, 3vw, 44px); color: var(--blue); font-weight: 500; }
.inquiry-form .field-wide { grid-column: 1 / -1; }
.inquiry-form .field-error { min-height: 1.2em; font-size: 13.5px; color: #b3361a; }
.inquiry-form .req { color: #b3361a; margin-inline-start: 2px; }
.inquiry-form .captcha .ring-btn { border-color: var(--line); color: var(--ink); }
.inquiry-form .captcha .ring-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.inquiry-form .captcha-img { background: #fff; }
.inquiry-send { align-self: end; }
.inquiry-form .submit { background: var(--blue); color: #fff; }
.inquiry-form .submit:hover { background: var(--blue-deep); }
@media (max-width: 640px) { .inquiry-form .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* The ways to reserve (contact-ways partial): inquiry, WhatsApp, email. */
.ways { list-style: none; margin: 0; padding: 0; }
.ways-main { width: 100%; justify-content: space-between; margin-bottom: 6px; }
.way { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; border-bottom: 1px solid var(--line); font-weight: 500; transition: color .25s; }
.way .i { width: 20px; height: 20px; color: var(--blue); }
.way:hover { color: var(--blue); }

/* An admin description: the first paragraph leads in the display face, the rest read beside it. */
.prose { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.prose:not(:has(.prose-rest)) { grid-template-columns: minmax(0, 1fr); }
.prose-lead { font: 300 clamp(23px, 2.3vw, 33px)/1.32 var(--display); max-width: 34ch; text-wrap: pretty; }
.prose-rest p { color: var(--ink-soft); max-width: 62ch; }
.prose-rest p + p { margin-top: 1em; }

/* A long route (four stops or more) on a phone keeps its end points named; the title above names every stop. */
@media (max-width: 640px) {
  .pkg-route:has(> li:nth-child(7)) .stop-pt:not(:first-child):not(:last-child) span { display: none; }
  .pkg-route:has(> li:nth-child(7)) .leg { min-width: 16px; margin-inline: 6px; }
}
