/* =====================================================================
   SKIJANJE ZLATIBOR — styles
   Design language modelled on skistar.com: warm off-white page, white
   rounded cards, crimson accent, pill buttons, Open Sans + geometric heads.
   ===================================================================== */

:root {
  --bg: #f9f7f6;
  --surface: #ffffff;
  --ink: #333333;
  --ink-soft: #4d4d4d;
  --muted: #767676;
  --line: #e1dfdb;
  --line-soft: #f1f0ee;
  --gray-100: #e3e3e3;

  /* Brand colours sampled from the Skijanje Zlatibor snowflake logo */
  --primary: #1485c2;
  --primary-600: #0f6fa3;
  --primary-700: #0b5a85;
  --navy: #003060;
  --energy: #1aa0e0;
  --powder: #e3f1fa;

  --sky-100: #dfeefb;
  --sky-200: #b6d8f6;
  --sky-ink: #0b3d6b;

  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(51,51,51,.06);
  --shadow-hover: 0 2px 4px rgba(0,0,0,.06), 0 14px 34px rgba(51,51,51,.12);

  --font-body: "Open Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif; /* geometric + Cyrillic */

  --header-h: 60px;
  --container: 1440px;
  --gutter: 1rem;
  --gap: 1rem;
  --ease: cubic-bezier(.4,0,.2,1);
  color-scheme: light;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 var(--font-body);
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Small UI icons inside flex rows: without this, max-width:100% collapses
   them to 0px wide when the row is tight (the tab bar on narrow screens). */
.tab svg, .tool svg, .btn svg, .season-btn svg, .trip-tip svg, .chev { flex-shrink: 0; max-width: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--primary); color: #fff; padding: .5rem 1rem; z-index: 2000; }
.skip:focus { inset-inline-start: 1rem; top: 1rem; }

.h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 1rem; }
.h3 { font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.2; display: block; }
.h-hero { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1; display: block; }
.eyebrow { display: block; font-size: 16px; margin-bottom: .5rem; }
.chev { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; stroke-width: 2.2; }
.link { display: inline-flex; align-items: center; gap: .25rem; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 40px; padding: .5rem 1.25rem; border-radius: 9999px;
  font-size: 15px; font-weight: 600; line-height: 1;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: var(--surface); }
.btn-outline:hover { background: var(--powder); }
.btn-lg { min-height: 52px; padding-inline: 1.75rem; font-size: 16px; }
.btn:active { transform: translateY(1px); }

/* ---------- header ---------- */
.site-header { background: var(--surface); position: sticky; top: 0; z-index: 1030; box-shadow: 0 1px 0 var(--line); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: .75rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--primary); }
.logo-mark { width: 40px; height: 40px; flex: 0 0 auto; stroke: none; filter: drop-shadow(0 1px 1px rgba(0,48,96,.18)); }
.logo-mark-lg { width: 80px; height: 80px; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -.02em; line-height: 1; color: var(--primary); white-space: nowrap; }
.logo-text strong { font-weight: 700; font-style: italic; color: var(--navy); }
.header-divider { width: 1px; height: 28px; background: var(--line); margin-inline: .25rem; }
.btn-menu { min-height: 36px; padding-inline: 1rem; flex: 0 0 auto; }
.header-tools { margin-inline-start: auto; display: flex; align-items: center; gap: .25rem; flex: 0 0 auto; }
.tool { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .6rem; border-radius: 9999px; font-size: 14px; font-weight: 600; }
.tool svg { width: 18px; height: 18px; }
.tool:hover { background: var(--line-soft); }
.tool.lang .flag { font-size: 12px; font-weight: 700; padding: .15rem .4rem; border: 1.5px solid var(--ink); border-radius: 4px; }
.tool.lang svg { width: 14px; height: 14px; }
.tool.lang svg.globe { width: 18px; height: 18px; }

/* language menu */
.lang-wrap { position: relative; }
.lang-menu {
  position: absolute; top: calc(100% + .4rem); inset-inline-end: 0; z-index: 1200; min-width: 11rem;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-hover);
  padding: .35rem; display: flex; flex-direction: column;
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  width: 100%; text-align: start; padding: .55rem .75rem; border-radius: calc(var(--radius) - 2px);
  font: 600 15px/1.2 var(--font-body); color: var(--ink); background: none; border: 0; cursor: pointer;
}
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--line-soft); }
.lang-menu button[aria-current="true"] { color: var(--primary); }
.lang-menu button[aria-current="true"]::after { content: " ✓"; }

/* icon tab bar */
.tabbar { border-top: 1px solid var(--line-soft); }
.tabbar-row { display: flex; justify-content: space-around; overflow-x: auto; scrollbar-width: none; }
.tabbar-row::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: .45rem; padding: .9rem 1rem; white-space: nowrap;
  font-size: 15px; font-weight: 600; color: var(--ink-soft); position: relative;
}
.tab svg { width: 18px; height: 18px; }
.tab::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 0; height: 3px; background: var(--primary); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .2s var(--ease); }
.tab:hover::after, .tab.is-active::after { transform: scaleX(1); }
.tab.is-active { color: var(--primary); }

/* booking widget */
.booking {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 0;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  margin: 1rem 0 0; border: 1px solid var(--line-soft); overflow: hidden;
}
.booking .field { padding: .65rem 1rem; border-inline-end: 1px solid var(--line-soft); min-width: 0; }
.booking .field-label { font-size: 12px; color: var(--muted); }
.booking select, .booking input { border: 0; padding: 0; font-weight: 600; font-size: 15px; background-color: transparent; border-radius: 0; }
.booking select { padding-inline-end: 1.9rem; }
.booking .btn { margin: .35rem; }

.field { display: flex; flex-direction: column; gap: .15rem; }
.field-label { font-size: 12px; color: var(--muted); }
select, input, textarea {
  font: inherit; color: var(--ink); width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .55rem .75rem;
}
select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .4rem center; background-size: 18px; padding-inline-end: 1.9rem; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--sky-200); outline-offset: 1px; }

/* ---------- fullscreen menu ---------- */
.menu { position: fixed; inset: 0; z-index: 1040; background: var(--bg); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-inner { padding-block: .75rem 3rem; }
.menu-head { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 2rem; }
.menu-cols h3 { font-size: 22px; margin-bottom: .75rem; color: var(--primary); }
.menu-cols a { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 17px; }
body.menu-open { overflow: hidden; }

/* ---------- sections ---------- */
.section { padding-block: 2rem; }
.section-tight { padding-block: 1rem 2rem; }
.section-more { display: flex; justify-content: flex-end; margin-top: .75rem; }
.chips { display: flex; gap: .25rem; flex-wrap: wrap; margin: .5rem 0 1rem; }
.chip { padding: .4rem .75rem; border-radius: 9999px; font-weight: 600; font-size: 15px; color: var(--ink-soft); border-bottom: 2px solid transparent; }
.chip:hover { color: var(--primary); }
.chip.is-active { color: var(--primary); border-color: var(--primary); border-radius: 0; }

/* ---------- cards & media ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
a.card:hover, .pkg a:hover, .card.info:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card-body { padding: 1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-link { font-weight: 600; margin-top: auto; }

.media { display: block; position: relative; overflow: hidden; background: var(--sky-100); }
.media-art { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .4s var(--ease); }
.media:hover .media-art { transform: scale(1.03); }
.media-sm { aspect-ratio: 16 / 10; }
.media-md { aspect-ratio: 4 / 3; }
.media-tall { aspect-ratio: 3 / 4; border-radius: var(--radius); }
.media-xl { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.media-promo { aspect-ratio: 1 / 1; }
.badge { position: absolute; inset-inline-start: .75rem; bottom: .75rem; background: rgba(255,255,255,.94); color: var(--ink); font-size: 12px; font-weight: 600; padding: .3rem .6rem; border-radius: 9999px; }

img.media-art, video.media-art { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap); }
.hero:not(:has(.hero-side)) { grid-template-columns: 1fr; } /* gondola promo hidden 2026-12-02 */
.hero-main { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--navy); }
#heroVideo { object-position: 30% 50%; } /* cinematic video: keep the left-side titles in frame */
.hero-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0) 55%); pointer-events: none; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; color: #fff; z-index: 1; }
.hero-pause {
  position: absolute; top: 1rem; inset-inline-end: 1rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow);
}
.hero-pause svg { width: 18px; height: 18px; stroke-width: 2.2; }
.hero-pause .ic-play { display: none; }
.hero-pause[aria-pressed="true"] .ic-pause { display: none; }
.hero-pause[aria-pressed="true"] .ic-play { display: block; fill: currentColor; }
/* Sound is off until the visitor asks for it (browsers block autoplay with sound). */
.hero-sound {
  position: absolute; top: 1rem; inset-inline-end: calc(1rem + 40px + .5rem); z-index: 2; height: 40px; padding: 0 .95rem 0 .8rem;
  border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .875rem; box-shadow: var(--shadow);
}
.hero-sound svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-sound .ic-sound { display: none; }
.hero-sound[aria-pressed="true"] { background: var(--primary); color: #fff; }
.hero-sound[aria-pressed="true"] .ic-muted { display: none; }
.hero-sound[aria-pressed="true"] .ic-sound { display: block; }
@media (max-width: 700px) { .hero-sound { width: 40px; padding: 0; justify-content: center; } .hero-sound-label { display: none; } }
.hero-side { display: grid; grid-template-rows: minmax(180px, 1fr) auto; }
.hero-side .media-promo { aspect-ratio: auto; min-height: 0; }
.hero-side .card-body { gap: .75rem; }

/* ---------- packages carousel ---------- */
.carousel-wrap { position: relative; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4);
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .25rem .25rem 1rem; margin: -.25rem; scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.pkg { scroll-snap-align: start; }
.pkg[hidden] { display: none; }
.pkg a { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.pkg-place { font-size: 13px; color: var(--muted); margin-top: -.25rem; }
.pkg-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: auto; padding-top: .5rem; }
.pkg-meta b { display: block; font-weight: 700; font-size: 15px; }
.pkg-meta small { display: block; font-size: 12px; color: var(--muted); }
.price { text-align: end; }
.price b { font-size: 17px; }
.car-btn {
  position: absolute; top: 38%; width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow-hover); display: grid; place-items: center; z-index: 2;
}
.car-btn svg { width: 20px; height: 20px; stroke-width: 2.2; }
.car-prev { left: 0; transform: translateX(-30%); }
.car-next { right: 0; transform: translateX(30%); }
.car-btn[disabled] { opacity: 0; pointer-events: none; }

/* ---------- light-blue tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.tile { background: var(--sky-100); border-inline-start: 4px solid var(--sky-200); border-radius: var(--radius); padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; color: var(--sky-ink); transition: background .15s var(--ease); }
.tile .h3 { font-size: 22px; color: var(--sky-ink); }
.tile:hover { background: #d3e7f8; }

/* ---------- resorts ---------- */
.resorts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.resort { display: block; }
.resort .media-tall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 50%); }
.resort-name {
  position: absolute; inset-inline-start: 1.25rem; bottom: 1rem; z-index: 1; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-style: italic; font-size: clamp(28px, 3vw, 40px); letter-spacing: .02em; text-transform: uppercase;
}
.resort-name .chev { font-size: .55em; margin-inline-start: .2em; vertical-align: .15em; }
.resort-blurb { display: block; margin-top: .75rem; font-size: 14px; color: var(--ink-soft); }

/* ---------- info cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.card.info .card-body { gap: .6rem; }
.lead { max-width: 60ch; color: var(--ink-soft); margin: -.5rem 0 1rem; }

/* ---------- activities (winter / summer) ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-head .h2 { margin-bottom: 0; }
.season { display: inline-flex; padding: 4px; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 9999px; }
.season-btn {
  display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1.1rem; border-radius: 9999px;
  font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: background-color .15s var(--ease), color .15s var(--ease);
}
.season-btn svg { width: 18px; height: 18px; }
.season-btn:hover { color: var(--primary); }
.season-btn.is-active { background: var(--primary); color: #fff; }
.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.act { padding: 1.25rem; gap: .5rem; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.act[hidden] { display: none; }
.act:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.act p { color: var(--ink-soft); font-size: 14px; }
.act .card-link { color: var(--primary); }
.act .card-link:hover { text-decoration: underline; }
.act-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: .25rem;
  background: var(--powder); color: var(--primary);
}
.act-icon svg { width: 28px; height: 28px; stroke-width: 1.6; }
/* activity card with a photo behind the text */
.act.has-bg { position: relative; isolation: isolate; min-height: 250px; justify-content: flex-end; color: #fff; }
.act-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.act.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 32, 64, .18) 0%, rgba(0, 32, 64, .55) 45%, rgba(0, 24, 48, .88) 100%); }
.act.has-bg .act-icon { background: rgba(255, 255, 255, .2); color: #fff; }
.act.has-bg .h3 { color: #fff; }
.act.has-bg p { color: rgba(255, 255, 255, .92); }
.act.has-bg .card-link { color: #fff; }
.acts.is-leto .act-icon { background: #fff4e0; color: #c26a00; }
.acts.is-leto .act .card-link { color: #c26a00; }

/* ---------- excursions ---------- */
.trips { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.trip { transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.trip:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.trip .card-body { gap: .45rem; }
.trip p { color: var(--ink-soft); }
.trip-meta { font-size: 13px; font-weight: 600; color: var(--primary); }
.trip .card-link { color: var(--ink); padding-top: .25rem; }
.trip .card-link:hover { text-decoration: underline; }
.trip-photo { aspect-ratio: 16 / 9; }
.trip-tip {
  display: flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .75rem 1rem;
  background: var(--powder); border-radius: var(--radius); color: var(--primary-700); font-weight: 600; font-size: 14px;
}
.trip-tip svg { width: 20px; height: 20px; flex: 0 0 auto; }

/* ---------- numbered steps (partner card) ---------- */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: .5rem; margin-top: .25rem; }
.steps li { counter-increment: step; position: relative; padding-inline-start: 2.25rem; color: var(--ink-soft); }
.steps li::before {
  content: counter(step); position: absolute; inset-inline-start: 0; top: .05rem; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center;
}
.steps b { color: var(--ink); }
/* Logo film above the booking form (poster = last frame, so the logo shows even if it never plays). */
.media-logo { background: #1d2b2d; }
.media-logo:hover .media-art { transform: none; }

/* ---------- ribbon + features ---------- */
.section-ribbon { padding-top: 3rem; }
.ribbon { text-align: center; margin-bottom: 2rem; }
.ribbon span {
  display: inline-block; background: var(--energy); color: #fff; padding: .45rem 1.75rem;
  font-size: 22px; transform: rotate(-4deg); border-radius: 2px;
}
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.features li { padding: 1.5rem 1.5rem; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: .5rem; }
.features li:nth-child(3n + 1) { border-inline-start: 0; }
.features li:nth-child(n + 4) { border-top: 1px solid var(--line); }
.features svg { width: 40px; height: 40px; color: var(--primary); stroke-width: 1.6; margin-bottom: .25rem; }
.features .h3 { font-size: 22px; }
.features p { color: var(--ink-soft); }

/* ---------- 3 text columns ---------- */
.columns-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.columns-3 li { display: flex; flex-direction: column; gap: .5rem; }
.columns-3 p { color: var(--ink-soft); }

/* ---------- overlay cards (oprema / rezervacija) ---------- */
.overlay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.overlay-grid > .overlay-card:only-child { grid-column: 1 / -1; } /* gondola card hidden 2026-12-02 */
.overlay-card { position: relative; padding-bottom: 2.5rem; }
.overlay-panel {
  position: relative; margin: -4.5rem 1.5rem 0 1.5rem; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.25rem; display: flex; flex-direction: column; gap: .6rem;
}
.overlay-title { font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.overlay-panel p { color: var(--ink-soft); }
.form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form .field { gap: .25rem; }
.form .field-label { font-weight: 600; color: var(--ink-soft); }
.form-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .25rem; }
.form-note { font-size: 14px; padding: .6rem .8rem; border-radius: var(--radius); background: #e2f8e7; color: #18672d; }
.form-note.is-error { background: #fff0f0; color: var(--primary-700); }

/* ---------- footer ---------- */
.footer { margin-top: 2rem; background: var(--navy); color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 2.5rem 1.5rem; }
.footer h3 { font-size: 18px; margin-bottom: .75rem; }
.footer-cols a { display: block; padding: .3rem 0; font-size: 14px; }
.footer-cols a:hover { text-decoration: underline; }
.foot-label { display: block; font-size: 12px; opacity: .7; }
.footer-marks { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 3rem; padding-block: 1.5rem 2.5rem; font-family: var(--font-head); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .12em; font-size: 20px; opacity: .95; }
.footer-stripe { height: 4px; background: linear-gradient(90deg, #003060, #1485c2, #7fd0f5, #ffffff, #7fd0f5, #1485c2, #003060); }
.footer-bottom { background: var(--bg); color: var(--ink-soft); text-align: center; padding: 2rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: 13px; }
.footer-bottom .logo-text { font-size: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .carousel { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { display: flex; }
  .hero-side .media-promo { aspect-ratio: 16 / 9; }
  .carousel { grid-auto-columns: calc((100% - var(--gap)) / 2); }
  .tiles, .resorts, .cards-3, .cards-4, .trips, .acts, .columns-3, .overlay-grid { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .features li:nth-child(3n + 1) { border-inline-start: 1px solid var(--line); }
  .features li:nth-child(2n + 1) { border-inline-start: 0; }
  .features li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .booking { grid-template-columns: 1fr 1fr; }
  .booking .field:nth-child(2) { border-inline-end: 0; }
  .booking .field:nth-child(3) { border-top: 1px solid var(--line-soft); }
  .booking .btn { grid-column: 2; }
  .header-tools .tool span:not(.flag) { display: none; }
}
@media (max-width: 600px) {
  .header-row { gap: .5rem; }
  .logo-text { font-size: 17px; }
  .logo-mark { width: 32px; height: 32px; }
  .header-divider { display: none; }
  .btn-menu span { display: none; }
  .btn-menu { padding-inline: .6rem; min-width: 38px; }
  .header-tools .tool[href^="mailto:"] { display: none; }
  .tool.lang svg { display: none; } /* the code box alone, so the header fits 360px */
  .tool { padding: .5rem .45rem; }
  .tabbar-row { justify-content: flex-start; }
  .booking { grid-template-columns: 1fr; }
  .booking .field { border-inline-end: 0; border-top: 1px solid var(--line-soft); }
  .booking .field:first-child { border-top: 0; }
  .booking .btn { grid-column: 1; width: calc(100% - .7rem); }
  .carousel { grid-auto-columns: 85%; }
  .car-btn { display: none; }
  .tiles, .resorts, .cards-3, .cards-4, .trips, .acts, .columns-3, .overlay-grid, .features, .footer-cols { grid-template-columns: 1fr; }
  .act { display: grid; grid-template-columns: 44px 1fr; column-gap: .85rem; row-gap: .3rem; padding: 1rem; }
  .act-icon { grid-column: 1; grid-row: 1 / span 3; width: 44px; height: 44px; margin: 0; }
  .act-icon svg { width: 24px; height: 24px; }
  .act .h3, .act p, .act .card-link { grid-column: 2; }
  .act .h3 { font-size: 18px; }
  .features li { border-inline-start: 0 !important; padding-inline: 0; }
  .features li:nth-child(n + 2) { border-top: 1px solid var(--line); }
  .form .form-row { grid-template-columns: 1fr; }
  .overlay-panel { margin-inline: .75rem; }
  .media-logo + .overlay-panel { margin-top: -2.25rem; } /* keep the whole logo above the form */
  /* phones: wide cinematic video on top at its own shape, headline below it */
  .hero-main { aspect-ratio: auto; display: flex; flex-direction: column; overflow: hidden; }
  .hero-main::after { display: none; }
  .hero-main #heroVideo { position: relative; inset: auto; height: auto; aspect-ratio: 960 / 408; }
  .hero-copy { position: static; padding: 1rem; }
  .footer-marks { font-size: 16px; gap: .75rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- languages ---------- */
/* Hidden until the chosen translation is applied (set by the inline script in <head>). */
.i18n-wait body { visibility: hidden; }

/* Montserrat / Open Sans have no Chinese or Arabic glyphs: name good system fonts first. */
html[lang="zh-Hans"] {
  --font-body: "Open Sans", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-head: "Montserrat", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}
html[lang="ar"] {
  --font-body: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", Arial, sans-serif;
  --font-head: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", Arial, sans-serif;
}
/* Letter-spacing breaks the joined Arabic letters. */
html[lang="ar"] body * { letter-spacing: 0 !important; }

/* Right-to-left (Arabic) */
[dir="rtl"] .chev, [dir="rtl"] .car-btn svg { transform: scaleX(-1); }
[dir="rtl"] select { background-position: left .4rem center; }
[dir="rtl"] .car-prev { left: auto; right: 0; transform: translateX(30%); }
[dir="rtl"] .car-next { right: auto; left: 0; transform: translateX(-30%); }
/* Phone numbers keep their digit order inside Arabic text. */
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"] { unicode-bidi: plaintext; }

/* ---------- virtual tour (Tornik) ---------- */
.tour-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-bottom: var(--gap); }
.tour-teaser { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--navy); color: #fff; }
.tour-teaser .media-art { transition: transform .6s var(--ease); }
.tour-teaser:hover .media-art, .tour-teaser:focus-visible .media-art { transform: scale(1.05); }
.tour-pair .h-hero { font-size: clamp(22px, 2.6vw, 32px); }
@media (max-width: 800px) { .tour-pair { grid-template-columns: 1fr; } }
.tour-teaser::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,24,48,.82), rgba(0,24,48,.15) 60%, rgba(0,24,48,0)); pointer-events: none; }
.tour-teaser-copy { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.tour-teaser-text { max-width: 46ch; font-size: 16px; }
.tour-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--energy); padding: .3rem .7rem; border-radius: 9999px; }
.tour-teaser .btn { margin-top: .5rem; }

html.tour-open { overflow: hidden; }
.tour { position: fixed; inset: 0; z-index: 1100; background: #06182b; color: #fff; overflow: hidden; }
.tour[hidden] { display: none; }
.tour button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.tour svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tour-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; }
.tour-stage.is-drag { cursor: grabbing; }
.tour-world {
  position: absolute; left: 50%; top: 50%; aspect-ratio: 2688 / 1520;
  width: max(100vw, calc(100vh * 2688 / 1520)); width: max(100vw, calc(100dvh * 2688 / 1520));
  transform: translate(-50%, -50%) translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--s, 1));
  transition: transform .35s var(--ease); will-change: transform;
}
.tour-stage.is-drag .tour-world { transition: none; }
.tour-img, .tour-lines { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; user-select: none; -webkit-user-drag: none; }
.tour-lines { pointer-events: none; }
.tl { fill: none; stroke-width: 4px; stroke-linecap: round; opacity: .9; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px rgba(0,0,0,.45)); }
.tl-blue { stroke: #2f9bff; }
.tl-red { stroke: #ff3b3b; }
.tl-black { stroke: #111; filter: drop-shadow(0 0 2px rgba(255,255,255,.9)); }
.tl-lift { stroke: #fff; stroke-width: 2px; stroke-dasharray: 2 9; opacity: .95; }
.tl-thru { stroke-dasharray: 3 9; opacity: .8; }
.tl-gondola { stroke: #f5b301; stroke-width: 3px; stroke-dasharray: 10 7; stroke-linecap: butt; opacity: .95; }
.tour-linetag { position: absolute; left: var(--x); top: var(--y); z-index: 1; transform: translate(-50%, -50%) scale(calc(1 / var(--s, 1))); background: rgba(6,24,43,.86); border: 1px solid #f5b301; color: #ffd66b; padding: .2rem .6rem; border-radius: 9999px; font-weight: 600; font-size: 12px; white-space: nowrap; pointer-events: none; }

.tour-pin {
  position: absolute; left: var(--x); top: var(--y); z-index: 1;
  transform: translate(-50%, -50%) scale(calc(1 / var(--s, 1)));
  display: flex; align-items: center; gap: .45rem; padding: .3rem; min-height: 44px;
}
.tour-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--tk, #fff); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7), 0 2px 8px rgba(0,0,0,.5); animation: tourPulse 2.2s infinite; flex: none; }
.tour-pin-label { background: rgba(6,24,43,.86); padding: .3rem .7rem; border-radius: 9999px; font-weight: 600; font-size: 14px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.35); transition: background-color .15s var(--ease); }
.tour-pin:hover .tour-pin-label, .tour-pin:focus-visible .tour-pin-label { background: var(--primary); }
.tour-pin:focus-visible, .tour button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 9999px; }
@keyframes tourPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7), 0 2px 8px rgba(0,0,0,.5); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255,255,255,0), 0 2px 8px rgba(0,0,0,.5); } }
.tk-top { --tk: #f5b301; } .tk-black { --tk: #111; } .tk-red { --tk: #e62e2e; } .tk-blue { --tk: #1f8fff; } .tk-lift { --tk: #9aa7b4; } .tk-school { --tk: #19b36b; } .tk-park { --tk: #1565c0; }
i.tk { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--tk); border: 2px solid #fff; flex: none; }

.tour-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; background: #06182b; }
.tour-video.is-on { opacity: 1; }
.tour-loop { z-index: 3; } .tour-fly { z-index: 2; }
.tour.in-zone .tour-stage { cursor: default; }
.tour.in-zone .tour-hint, .tour.in-zone .tour-zoom { display: none; }
.tour-stage::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(to bottom, rgba(6,24,43,.55), rgba(6,24,43,0) 18%, rgba(6,24,43,0) 62%, rgba(6,24,43,.6)); }

.tour-hint { position: absolute; z-index: 5; left: 50%; bottom: 2.6rem; transform: translateX(-50%); margin: 0; background: rgba(6,24,43,.8); padding: .4rem .9rem; border-radius: 9999px; font-size: 13px; white-space: nowrap; pointer-events: none; }
.tour-zoom { position: absolute; z-index: 5; inset-inline-end: 1rem; top: 4.25rem; display: flex; flex-direction: column; gap: .4rem; }
.tour-zoom button, .tour-close, .tour-back { background: rgba(255,255,255,.94); color: var(--ink); box-shadow: var(--shadow); }
.tour-zoom button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.tour-zoom svg, .tour-close svg, .tour-back svg { width: 20px; height: 20px; }

.tour-bar { position: absolute; z-index: 6; inset-inline: 0; top: 0; display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; pointer-events: none; }
.tour-bar > * { pointer-events: auto; }
.tour-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; text-shadow: 0 1px 6px rgba(0,0,0,.6); margin-inline-end: auto; }
.tour-close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.tour-back { min-height: 44px; padding: 0 1rem 0 .7rem; border-radius: 9999px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: .3rem; }
.tour-back[hidden] { display: none; }

.tour-panels { position: absolute; z-index: 6; inset-inline: 1rem; bottom: 2.25rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; pointer-events: none; }
.tour-panels > * { pointer-events: auto; }
.tour-map { background: rgba(6,24,43,.86); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: .9rem; width: 232px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tour-map-title { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-bottom: .4rem; }
.tour-map ul { list-style: none; margin: 0 0 .6rem; padding: 0; }
.tour-map li button { width: 100%; display: flex; align-items: center; gap: .55rem; padding: .45rem .5rem; border-radius: 6px; font-weight: 600; font-size: 14px; text-align: start; }
.tour-map li button:hover { background: rgba(255,255,255,.12); }
.tour-map li button[aria-current="true"] { background: #fff; color: var(--navy); }
.tour-play { width: 100%; min-height: 40px; border-radius: 9999px; background: var(--primary) !important; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.tour-play:hover { background: var(--primary-600) !important; }
.tour-play svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.tour-play .ic-stop, .tour-play .tour-play-stop, .tour-play[aria-pressed="true"] .ic-play, .tour-play[aria-pressed="true"] .tour-play-start { display: none; }
.tour-play[aria-pressed="true"] .ic-stop, .tour-play[aria-pressed="true"] .tour-play-stop { display: inline; }

.tour-cards { width: min(360px, 100%); }
.tour-card { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 1.1rem; box-shadow: 0 12px 40px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: .55rem; animation: tourCard .4s var(--ease) both; }
.tour-card[hidden] { display: none; }
@keyframes tourCard { from { opacity: 0; transform: translateY(12px); } }
.tour-tag { display: inline-flex; align-items: center; gap: .4rem; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.tour-tag i.tk { border-color: var(--line); }
.tour-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.tour-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: .2rem 0 .3rem; padding: .6rem 0; border-block: 1px solid var(--line); }
.tour-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.tour-facts dd { margin: 0; font-weight: 600; font-size: 15px; }
.tour-card .btn { align-self: flex-start; }
.tour-note { position: absolute; z-index: 6; inset-inline: 1rem; bottom: .6rem; margin: 0; font-size: 11px; opacity: .7; text-align: center; pointer-events: none; }

.tl-lift.is-dark { stroke: #0d3a66; stroke-width: 3px; stroke-dasharray: 3 8; opacity: 1; filter: drop-shadow(0 0 2px rgba(255,255,255,.9)); }
.tour-linetag.is-plain { border-color: rgba(255,255,255,.55); color: #fff; }
/* labels over one zone's picture (parking, ticket offices): sized like the video (cover), so --x / --y follow the image */
.tour-marks { position: absolute; left: 50%; top: 50%; z-index: 5; aspect-ratio: 16 / 9; width: max(100vw, calc(100vh * 16 / 9)); width: max(100vw, calc(100dvh * 16 / 9)); transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); }
.tour-marks[hidden] { display: none; }
.tour-loop.is-on ~ .tour-marks { opacity: 1; transition-delay: .5s; }
.tour-mark { position: absolute; left: var(--x); top: var(--y); transform: translate(-15px, -50%); display: flex; align-items: center; gap: .35rem; }
.tour-mark i { width: 30px; height: 30px; display: grid; place-items: center; flex: none; font-style: normal; font-weight: 800; font-size: 17px; line-height: 1; color: #fff; border: 2px solid #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.55); }
.tm-park i { background: #1565c0; } .tm-park i::before { content: "P"; }
.tm-ticket i { background: #f5b301; color: #1a1a1a; border-radius: 50%; } .tm-ticket svg { width: 17px; height: 17px; }
.tour-mark > span { background: rgba(6,24,43,.86); padding: .2rem .6rem; border-radius: 9999px; font-weight: 600; font-size: 13px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.35); }

html[dir="rtl"] .tour-back svg { transform: scaleX(-1); }

@media (max-width: 900px) and (orientation: portrait), (max-width: 600px) {
  .tour-pair { grid-template-columns: 1fr; }
  .tour-teaser-copy { padding: 1rem; }
  .tour-marks { width: 100%; }
  .tour-mark { transform: translate(-12px, -50%); }
  .tour-mark i { width: 24px; height: 24px; font-size: 14px; }
  .tour-mark > span { display: none; }
  .tour { overflow-y: auto; display: flex; flex-direction: column; }
  .tour-bar { position: sticky; order: 0; background: #06182b; pointer-events: auto; padding: .5rem .75rem; justify-content: space-between; }
  .tour.in-zone .tour-title { display: none; }
  .tour-stage { position: relative; inset: auto; order: 1; flex: none; width: 100%; aspect-ratio: 2688 / 1520; }
  .tour-stage::after { background: none; }
  .tour-world { width: 100%; }
  .tour-pin-label, .tour-linetag { display: none; }
  .tour-dot { width: 20px; height: 20px; }
  .tour-hint { display: none; }
  .tl { stroke-width: 3px; }
  .tour-zoom { top: .5rem; inset-inline-end: .5rem; }
  .tour-zoom button { width: 38px; height: 38px; }
  .tour-panels { position: static; order: 3; flex-direction: column-reverse; align-items: stretch; padding: .75rem; pointer-events: auto; }
  .tour-map, .tour-cards { width: 100%; }
  .tour-map ul { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; }
  .tour-note { position: static; order: 4; padding: 0 1rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-dot { animation: none; }
  .tour-teaser .media-art { transition: none; }
  .tour-world { transition: none; }
}

/* ---------- "Резервиши": green tab on the edge and the window it drops down ---------- */
.book-tab {
  --out: 1; position: fixed; inset-inline-end: 0; inset-block-start: 46%; z-index: 54;
  display: grid; justify-items: center; gap: .45rem; padding: .8rem .6rem .9rem .7rem; border-radius: 14px 0 0 14px;
  background: #0f7b3c; color: #fff; font: 700 13px/1 var(--font-head); letter-spacing: .04em;
  box-shadow: -6px 8px 24px rgba(6, 60, 28, .35); transition: background .2s ease, padding .2s ease;
  animation: book-tab-in .5s .9s both, book-tab-nudge 7s 4s infinite;
}
[dir="rtl"] .book-tab { --out: -1; border-radius: 0 14px 14px 0; }
/* the discount tab from nalog.js sits at the same height: step below it */
body:has(.sz-coupon) .book-tab { inset-block-start: calc(46% + 5.25rem); }
.book-tab svg { width: 22px; height: 22px; stroke-width: 2; }
.book-tab span { writing-mode: vertical-rl; }
.book-tab:hover { background: #0b6a32; padding-inline-end: .85rem; }
.book-tab:focus-visible { outline: 3px solid #8ee6b0; outline-offset: 2px; }
@keyframes book-tab-in { from { transform: translateX(calc(110% * var(--out))); } }
@keyframes book-tab-nudge { 0%, 88%, 100% { transform: none; } 92% { transform: translateX(calc(-7px * var(--out))); } 96% { transform: translateX(calc(2px * var(--out))); } }

.book-pop {
  width: min(1040px, calc(100vw - 1.5rem)); max-width: none; max-height: calc(100dvh - var(--header-h) - 1.5rem);
  margin: calc(var(--header-h) + .75rem) auto auto; padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 24, 48, .45); overflow: auto;
}
.book-pop::backdrop { background: rgba(0, 24, 48, .55); }
.book-pop[open] { animation: book-drop .34s cubic-bezier(.2, .8, .2, 1); }
@keyframes book-drop { from { opacity: 0; transform: translateY(-32px); } }
.book-pop-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
.book-pop .overlay-panel { margin: 0; box-shadow: none; border-radius: 0; padding: 1.5rem; }
.book-video { position: relative; background: #06182b; min-height: 100%; }
.book-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.book-sound { top: .75rem; inset-inline-end: auto; inset-inline-start: .75rem; }
.book-x {
  position: absolute; top: .75rem; inset-inline-end: .75rem; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow);
}
.book-x svg { width: 18px; height: 18px; stroke-width: 2; }
.book-x:focus-visible, .book-sound:focus-visible { outline: 3px solid #7fd0ff; outline-offset: 2px; }
@media (max-width: 860px) {
  .book-pop { width: min(560px, calc(100vw - 1rem)); max-height: calc(100dvh - 1rem); margin-top: .5rem; }
  .book-pop-grid { grid-template-columns: minmax(0, 1fr); }
  .book-video { order: -1; aspect-ratio: 16 / 9; min-height: 0; }
  /* everything on one phone screen: fields stay two in a row, the message box is lower */
  .book-pop .overlay-panel { padding: 1rem; gap: .5rem; }
  .book-pop .form .form-row { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .book-pop textarea { height: 4.25rem; }
  .book-tab { padding: .65rem .45rem .75rem .55rem; font-size: 12px; }
  .book-tab svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .book-tab, .book-pop[open] { animation: none; }
}
