/* =====================================================
   UCB "Dur" (pearl) design — loaded last on the public site and in the client cabinet.
   Pearl ground, graphite text and the sky-blue arc from the logo.
   National ornaments are gone; the logo's arc is the only graphic device.
   ===================================================== */

:root {
  --pearl:       #F3F1EC;   /* page ground */
  --nacre:       #FBFAF7;   /* header, cards, raised blocks */
  --pearl-deep:  #E9E5DC;   /* utility bar, highlighted bands */
  --line:        #DDD8CD;
  --line-strong: #C9C3B6;
  --graphite:    #3A3A3C;   /* logo text colour */
  --graphite-dk: #2B2B2D;
  --grey-text:   #5F5E62;
  --body-text:   #4A4A4D;
  --sky:         #2AC4F4;   /* logo arc; buttons carry graphite text on it */
  --sky-deep:    #0A6A96;   /* links and small blue text (5.3:1 on pearl) */

  /* tokens of the older stylesheets, remapped */
  --primary:       var(--sky-deep);
  --primary-hover: #085A80;
  --primary-soft:  rgba(10,106,150,.09);
  --accent:        var(--sky);
  --accent-soft:   rgba(42,196,244,.16);
  --dark:          var(--graphite-dk);
  --ink:           var(--graphite);
  --muted:         var(--grey-text);
  --surface:       var(--nacre);
  --canvas:        var(--pearl);
  --radius:        4px;
  /* names from the retired national palette (cabinet.css still reads them) */
  --lojuvard:      var(--graphite);
  --lojuvard-deep: var(--graphite-dk);
  --feruza:        var(--sky-deep);
  --oltin:         var(--sky);
  --oltin-light:   #56D0F6;
  --anor:          #B42318;
  --flag-green:    #1F8A5B;
  --flag-rule:     linear-gradient(90deg, var(--sky), var(--sky));
  --flag-band:     linear-gradient(var(--sky), var(--sky));
  --octagon:       inset(0 round 2px);
  --octagram:      inset(0 round 50%);
  --girih-dark:    none;
  --girih-light:   none;
  --star:          none;
  --header-h:      82px;
  --wrap:          1280px;   /* = Tailwind max-w-7xl used by the older page templates */
  --gutter:        32px;
}
@media (max-width: 640px) { :root { --gutter: 16px; } }

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Montserrat', Arial, 'Helvetica Neue', sans-serif;
  background: var(--pearl); color: var(--graphite); font-size: 16px; line-height: 1.6;
}
::selection { background: var(--sky); color: var(--graphite-dk); }
.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; }
img { max-width: 100%; }

a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, label.choice:focus-within {
  outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 2px;
}
.skip-link { background: var(--sky); color: var(--graphite-dk); border-radius: 2px; }

/* ---------- national ornaments: switched off ---------- */
.hero-dark::after, .pattern-light, footer.bg-dark::before, footer.bg-dark::after,
.ornament, .section-head h2::after, .section-title-orn::after, .dest-body::before, .tag::before { background-image: none !important; }
.pattern-light { background-color: var(--nacre); }
.ornament { display: none !important; }
.section-head h2::after, .section-title-orn::after, .tag::before { display: none !important; content: none !important; }
svg.pattern { display: none !important; }

/* ---------- utility bar (graphite strip) ---------- */
.util-bar { background: var(--graphite-dk); color: #C9C6BE; font-size: 12.5px; font-weight: 500; letter-spacing: .01em; }
.util-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); min-height: 38px;
  display: flex; align-items: center; justify-content: flex-end; gap: 4px 24px; }
.util-contact { display: flex; align-items: center; gap: 22px; margin-right: auto; }
.util-inner a { color: #C9C6BE; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; transition: color .2s; }
.util-inner a:hover, .util-inner > a.is-active { color: #fff; }
.util-inner svg { opacity: .8; }
.util-cabinet .cabinet-dot { position: static; margin-left: 2px; }
.util-lang { display: flex; gap: 0; margin-left: 4px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.16); }
.util-lang a { padding: 8px 8px; min-width: 30px; justify-content: center; font-weight: 600; color: #A9A69F; }
.util-lang a.is-active { color: #fff; box-shadow: inset 0 -2px 0 var(--sky); }
@media (max-width: 1100px) { .util-hide-md { display: none !important; } }
@media (max-width: 640px) { .util-hide-sm, .util-contact { display: none !important; } .util-inner { gap: 4px 14px; justify-content: space-between; } .util-lang { border: 0; padding: 0; } }

/* ---------- header ---------- */
.site-header, #navbar, #navbar.scrolled { position: sticky; top: 0; z-index: 50; background: #FFFFFF !important; border-bottom: 1px solid var(--line);
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transition: box-shadow .3s; }
#navbar.scrolled { box-shadow: 0 10px 30px -18px rgba(43,43,45,.35); }
.header-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 12px; min-height: 84px; transition: min-height .3s; }
#navbar.scrolled .header-inner { min-height: 68px; }
.site-logo { flex: 0 0 auto; display: block; margin-right: 18px; }
.site-logo img { height: 56px; width: auto; display: block; transition: height .3s; }
#navbar.scrolled .site-logo img { height: 46px; }
.nav-menu { display: flex; align-items: stretch; justify-content: center; gap: 0; flex: 1 1 auto; min-width: 0; align-self: stretch; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-trigger { position: relative; color: var(--graphite) !important; font-size: 14.5px; font-weight: 600; padding: 0 11px; white-space: nowrap; border-radius: 0; background: none !important;
  border: 0 !important; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; letter-spacing: -.005em; }
.nav-trigger svg { opacity: .55; transition: transform .2s, opacity .2s; }
.nav-trigger::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -1px; height: 3px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-trigger:hover::after, .nav-trigger.is-active::after, .nav-item.is-open > .nav-trigger::after { transform: scaleX(1); }
.nav-trigger:hover { color: var(--graphite-dk) !important; }
.nav-item.is-open > .nav-trigger svg { transform: rotate(180deg); opacity: 1; }
.nav-panel { border-radius: 0; border: 1px solid var(--line); border-top: 3px solid var(--sky); background: #fff; box-shadow: 0 30px 60px -30px rgba(43,43,45,.45); top: 100%; }
.nav-item:nth-last-child(-n+2) .nav-panel { left: auto; right: 0; transform: translate(0, 8px); }
.nav-item:nth-last-child(-n+2).is-open .nav-panel, .nav-item:nth-last-child(-n+2):hover .nav-panel, .nav-item:nth-last-child(-n+2):focus-within .nav-panel { transform: none; }
.nav-panel-link { border-radius: 0; }
.nav-panel-link:hover, .nav-panel-link.is-active { background: var(--pearl); }
.nav-panel-link.is-active b { color: var(--sky-deep); }
.nav-panel-icon { border-radius: 0; background: var(--pearl-deep); color: var(--graphite); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; margin-left: 8px; }
.shortlist-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--graphite); border: 1px solid var(--line); position: relative; }
.shortlist-btn:hover, .shortlist-btn.is-active { background: var(--pearl); border-color: var(--line-strong); color: var(--graphite); }
.shortlist-count { background: var(--sky); color: var(--graphite-dk); }
.header-cta { height: 46px; padding: 0 20px !important; font-size: 14.5px; white-space: nowrap; display: inline-flex; align-items: center; }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 0; background: var(--graphite); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
#mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
#mobile-menu.is-open { display: block; }
.mobile-menu-inner { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter) 22px; display: flex; flex-direction: column; max-height: calc(100vh - 100px); overflow-y: auto; }
.mobile-top { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-weight: 600; font-size: 16px; color: var(--graphite); text-decoration: none; border-bottom: 1px solid var(--pearl-deep); }
.mobile-top.is-active { color: var(--sky-deep); }
.mobile-group summary::after { color: var(--graphite); }
.mobile-sub { display: flex; flex-direction: column; padding: 4px 0 10px 14px; border-bottom: 1px solid var(--pearl-deep); }
.mobile-sub a { padding: 10px 0; color: var(--grey-text); text-decoration: none; font-weight: 500; }
.mobile-sub a.is-active { color: var(--sky-deep); font-weight: 700; }
.mobile-langs { display: flex; gap: 8px; padding: 16px 0; }
.mobile-langs a { flex: 1; text-align: center; padding: 10px 0; background: var(--pearl-deep); color: var(--graphite); font-weight: 600; text-decoration: none; }
.mobile-langs a.is-active { background: var(--graphite); color: #fff; }
.mobile-cta { justify-content: center; }
/* Narrower desktops: tighter nav; the request button moves to the burger menu and the page bands */
@media (max-width: 1799px) { html[lang="ru"] .header-cta { display: none !important; } }
@media (max-width: 1439px) { .header-cta { display: none !important; } }
@media (max-width: 1339px) { .nav-trigger { padding: 0 9px; } .nav-trigger::after { left: 9px; right: 9px; } }
@media (max-width: 1279px) { html[lang="ru"] .nav-trigger { font-size: 14px; padding: 0 8px; } html[lang="ru"] .nav-trigger::after { left: 8px; right: 8px; } }
@media (max-width: 1199px) {
  .nav-menu { display: none; }
  .header-cta { display: inline-flex !important; height: 44px; }
  .menu-btn { display: inline-flex; }
  .header-inner, #navbar.scrolled .header-inner { justify-content: space-between; min-height: 70px; }
  .site-logo img, #navbar.scrolled .site-logo img { height: 48px; }
}
@media (min-width: 1200px) { #mobile-menu, #mobile-menu.is-open { display: none !important; } }
@media (max-width: 480px) { .header-cta { display: none !important; } .site-logo img, #navbar.scrolled .site-logo img { height: 42px; } .shortlist-btn { width: 42px; height: 42px; } }
/* body.dark-top used to make the navbar transparent over a dark hero: header is now always solid */
body.dark-top #navbar:not(.scrolled) .nav-link, body.dark-top #navbar:not(.scrolled) .shortlist-btn { color: var(--graphite); }

/* ---------- buttons ---------- */
.btn-primary, .btn-outline, .btn-ghost, .btn-sky, .btn-graphite, .btn-ghost-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; font-weight: 600; font-size: 15px; line-height: 1.2; border-radius: 3px;
  cursor: pointer; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; box-shadow: none !important;
}
.btn-primary, .btn-graphite { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.btn-primary:hover, .btn-graphite:hover { background: var(--graphite-dk); border-color: var(--graphite-dk); color: #fff; transform: none; }
.btn-sky, .btn-accent, .btn-primary.btn-accent, .bg-accent { background: var(--sky) !important; color: var(--graphite-dk) !important; border-color: var(--sky); font-weight: 700; }
.btn-sky:hover, .btn-accent:hover, .btn-primary.btn-accent:hover, .bg-accent:hover { background: #56D0F6 !important; color: var(--graphite-dk) !important; }
.btn-outline { background: transparent; color: var(--graphite); border-color: var(--graphite); }
.btn-outline:hover { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.btn-ghost { background: transparent; color: var(--grey-text); border-color: transparent; padding: 10px 14px; }
.btn-ghost:hover { color: var(--graphite); background: var(--pearl-deep); }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--graphite-dk); }
.btn-sm { padding: 8px 14px !important; font-size: 13px !important; }
.link-arrow { color: var(--sky-deep); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow:hover { color: var(--graphite); }

/* ---------- tags & small labels ---------- */
.tag { background: none; border: 0; border-radius: 0; padding: 0; color: var(--sky-deep); font-size: 13px; letter-spacing: .14em; font-weight: 700; }
.tag.on-dark { background: none; border: 0; color: var(--sky); }
.tag > .rounded-full { display: none; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-deep); font-weight: 700; }
.chip { border-radius: 2px; background: var(--pearl-deep); color: var(--graphite); font-weight: 600; }
.chip.amber { background: rgba(42,196,244,.18); color: var(--graphite); }
.chip.slate { background: var(--pearl); color: var(--grey-text); border: 1px solid var(--line); }
.label-sm { color: var(--grey-text); }

/* ---------- sections & headings ---------- */
.section-pad { padding-top: 80px; padding-bottom: 80px; }
@media (max-width: 768px) { .section-pad { padding-top: 52px; padding-bottom: 52px; } }
.section-head h2 { font-size: 32px; line-height: 1.25; font-weight: 600; letter-spacing: 0; color: var(--graphite); }
.section-head p { color: var(--body-text); }
.section-head.on-dark h2 { color: #fff; }
.section-head.on-dark p { color: rgba(255,255,255,.82); }
@media (max-width: 640px) { .section-head h2 { font-size: 25px; } }
.bg-white { background-color: var(--nacre) !important; }
.border-line { border-color: var(--line) !important; }
.bg-canvas { background-color: var(--pearl) !important; }
section.bg-dark, .bg-dark.section-pad { background: var(--graphite-dk) !important; }
.font-extrabold { font-weight: 700 !important; }
.tracking-tight { letter-spacing: 0 !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.arc-mark { display: block; width: 72px; height: 36px; color: var(--sky); }

/* ---------- photo hero (inner pages) ---------- */
.page-hero { position: relative; height: 460px; overflow: hidden; background: var(--graphite-dk); }
.page-hero > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-panel { position: absolute; left: max(var(--gutter), calc(50% - 608px)); bottom: 44px; max-width: min(820px, calc(100% - 2 * var(--gutter)));
  background: rgba(43,43,45,.82); color: #fff; padding: 24px 34px; display: flex; flex-direction: column; gap: 6px; }
.page-hero-panel .eyebrow { color: var(--sky); }
.page-hero-panel h1 { margin: 0; font-size: 40px; line-height: 1.15; font-weight: 700; color: #fff; letter-spacing: 0; }
.page-intro { max-width: var(--wrap); margin: 0 auto; padding: 44px var(--gutter) 8px; }
.page-intro p.lead { font-size: 18px; line-height: 1.75; color: var(--body-text); max-width: 900px; margin: 0; }
.page-intro .extra { margin-top: 22px; }
.breadcrumb { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter); font-size: 13px; color: var(--grey-text); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--grey-text); text-decoration: none; }
.breadcrumb a:hover { color: var(--graphite); }
.breadcrumb [aria-current] { color: var(--graphite); font-weight: 600; }
@media (max-width: 640px) {
  .page-hero { height: 320px; }
  .page-hero-panel { left: 0; right: 0; bottom: 0; max-width: none; padding: 18px var(--gutter); }
  .page-hero-panel h1 { font-size: 26px; }
  .page-intro p.lead { font-size: 16px; }
}

/* ---------- legacy dark hero → photo hero with graphite veil ---------- */
.hero-dark {
  background: var(--graphite-dk) var(--hero-photo, none) center / cover no-repeat !important;
  color: #fff; padding-top: 72px !important; padding-bottom: 64px !important; min-height: 0 !important;
}
.hero-dark::before { content: '' !important; position: absolute !important; inset: 0 !important; right: 0 !important; top: 0 !important;
  width: auto !important; height: auto !important; transform: none !important; opacity: 1 !important;
  background: rgba(43,43,45,.76) !important; display: block !important; pointer-events: none; }
.hero-dark::after { display: none !important; }
.hero-dark h1 { font-weight: 700 !important; letter-spacing: 0 !important; font-size: clamp(32px, 3.6vw, 52px) !important; line-height: 1.12 !important; }
.team-card .avatar { background: var(--graphite) !important; box-shadow: none !important; }
.hero-dark h1 .text-\[\#E7C26A\], .hero-dark .text-\[\#E7C26A\] { color: var(--sky) !important; }
.hero-stat { border-radius: 2px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: none; }
.hero-stat .n { font-weight: 700; color: #fff; }
.hero-search { border-radius: 3px; box-shadow: none; }
@media (max-width: 640px) { .hero-dark { padding-top: 44px !important; padding-bottom: 40px !important; } .hero-dark h1 { font-size: 34px !important; } }

/* ---------- home: hero slider ---------- */
.hero-slider { position: relative; height: min(680px, 78vh); min-height: 440px; overflow: hidden; background: var(--graphite-dk); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.03); transition: transform 7s ease-out; }
.hero-slide.is-active img { transform: scale(1); }
/* Left-aligned so that the centre of the photo (e.g. the CAEx sign) stays visible. */
.hero-caption { position: absolute; left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); bottom: 76px; width: min(540px, calc(100% - 2 * var(--gutter)));
  background: rgba(43,43,45,.82); color: #fff; padding: 26px 32px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; z-index: 2; }
.hero-caption .eyebrow { color: var(--sky); }
.hero-caption h1 { margin: 2px 0 0; font-size: 34px; line-height: 1.15; font-weight: 700; color: #fff; }
.hero-caption .slide-place { font-size: 14px; color: var(--pearl-deep); margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.hero-caption .slide-place::before { content: ''; width: 18px; height: 3px; background: var(--sky); display: inline-block; }
.hero-controls { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 10px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; padding: 0; display: grid; place-items: center; }
.hero-dot span { width: 26px; height: 4px; background: rgba(255,255,255,.55); display: block; transition: background .3s; }
.hero-dot[aria-current="true"] span { background: var(--sky); }
.hero-arrow, .hero-pause { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(43,43,45,.7); color: #fff; cursor: pointer; display: grid; place-items: center; }
.hero-arrow:hover, .hero-pause:hover { background: var(--graphite-dk); }
@media (max-width: 640px) {
  .hero-slider { height: 520px; min-height: 0; }
  .hero-caption { left: 0; right: 0; transform: none; width: auto; bottom: 0; padding: 20px var(--gutter) 66px; }
  .hero-caption h1 { font-size: 26px; }
  .hero-controls { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide img { transition: none; } }

/* ---------- home & content blocks ---------- */
.intro-block { max-width: var(--wrap); margin: 0 auto; padding: 72px var(--gutter) 16px; }
.intro-block h2 { margin: 0 0 16px; font-size: 32px; line-height: 1.25; font-weight: 600; max-width: 880px; }
.intro-block p { margin: 0; font-size: 17px; line-height: 1.75; color: var(--body-text); max-width: 980px; }
.split { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; }
.split.reverse { flex-wrap: wrap-reverse; flex-direction: row-reverse; }
.split > img, .split > .split-media { flex: 1 1 420px; min-width: 0; width: 100%; max-width: 560px; height: 400px; object-fit: cover; display: block; }
.split-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.split-text h2, .split-text h3 { margin: 0; font-size: 30px; line-height: 1.25; font-weight: 600; }
.split-text p { margin: 0; color: var(--body-text); line-height: 1.75; }
@media (max-width: 640px) { .split > img, .split > .split-media { height: 260px; } .split-text h2, .split-text h3, .intro-block h2 { font-size: 24px; } .intro-block { padding-top: 48px; } }
.block-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
.block-head h2 { margin: 0; font-size: 32px; line-height: 1.25; font-weight: 600; }
.block-head p { margin: 8px 0 0; color: var(--grey-text); max-width: 680px; }
@media (max-width: 640px) { .block-head h2 { font-size: 24px; } }
.band-nacre { background: var(--nacre); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-deep { background: var(--pearl-deep); }

/* photo card: picture with the caption underneath (MCB pattern) */
.photo-card { color: var(--graphite); text-decoration: none; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.photo-card .ph { position: relative; overflow: hidden; background: var(--pearl-deep); }
.photo-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.photo-card:hover .ph img { transform: scale(1.04); }
.photo-card h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.photo-card p { margin: 0; color: var(--grey-text); font-size: 15px; line-height: 1.65; }
.photo-card .meta { font-size: 13px; font-weight: 600; color: var(--sky-deep); }
.photo-card:hover h3 { color: var(--sky-deep); }
.ph-flag { position: absolute; left: 0; top: 18px; background: var(--sky); color: var(--graphite-dk); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; }
.ph-badge { position: absolute; right: 12px; bottom: 12px; background: var(--nacre); color: var(--graphite); font-size: 12px; font-weight: 700; padding: 5px 10px; }

/* cities */
.cities-top { display: flex; flex-wrap: wrap; gap: 32px 24px; margin-bottom: 32px; }
.cities-top > .photo-card { flex: 1 1 260px; }
.cities-top > .photo-card.is-big { flex: 2 1 520px; }
.cities-top .ph { height: 440px; }
.cities-top h3 { font-size: 24px; }
.cities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 24px; }
.cities-grid .ph { height: 220px; }
.cities-more { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; background: var(--pearl-deep); padding: 28px; min-height: 220px; color: var(--graphite); text-decoration: none; }
.cities-more b { font-size: 19px; }
@media (max-width: 640px) { .cities-top .ph { height: 300px; } }

.card-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 20px; }
.card-grid-3 .ph { height: 240px; }
.card-grid-4 .ph { height: 190px; }

/* cabinet process steps */
.steps-5 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.steps-5 li { background: var(--nacre); padding: 22px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--sky); }
.steps-5 li:nth-child(n+4) { border-top-color: var(--graphite); }
.steps-5 .n { font-size: 30px; font-weight: 700; color: var(--sky-deep); line-height: 1; }
.steps-5 li:nth-child(n+4) .n { color: var(--graphite); }
.steps-5 b { font-weight: 700; }
.steps-5 span { color: var(--grey-text); font-size: 14px; line-height: 1.55; }

/* partners strip */
.partner-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.partner-strip .powered { font-weight: 700; font-size: 15px; max-width: 260px; }
.partner-logos { flex: 1 1 600px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.partner-logos a, .partner-logos span { height: 76px; border: 1px solid var(--line); background: var(--nacre); display: flex; align-items: center; justify-content: center; padding: 10px; color: var(--grey-text); font-size: 13px; font-weight: 600; text-align: center; text-decoration: none; }
.partner-logos img { max-height: 54px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.partner-logos a:hover img { filter: none; opacity: 1; }

/* key facts row */
.facts-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 32px; margin: 0; }
.facts-bar > div { border-left: 3px solid var(--sky); padding-left: 16px; display: flex; flex-direction: column; gap: 2px; }
.facts-bar dt { font-size: 13px; color: var(--grey-text); }
.facts-bar dd { margin: 0; font-weight: 700; font-size: 18px; }

/* route diagram */
.route { background: var(--nacre); border: 1px solid var(--line); padding: 30px 34px; display: flex; flex-direction: column; gap: 18px; }
.route-line { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 0; }
.route-stop { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 110px; text-decoration: none; color: var(--graphite); }
.route-stop i { width: 18px; height: 18px; border-radius: 50%; background: var(--graphite); border: 4px solid var(--sky); display: block; }
.route-stop b { font-weight: 700; }
.route-stop small { font-size: 12px; color: var(--grey-text); }
.route-arc { flex: 1 1 100px; min-width: 60px; height: 70px; margin-bottom: 52px; }
.route-note { font-size: 13px; color: var(--grey-text); }
@media (max-width: 760px) { .route-line { flex-direction: column; align-items: flex-start; } .route-arc { display: none; } .route-stop { flex-direction: row; min-width: 0; } }

/* city detail rows */
.city-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; }
.city-row.reverse { flex-direction: row-reverse; }
.city-row > img { flex: 1 1 460px; min-width: 0; width: 100%; max-width: 600px; height: 400px; object-fit: cover; }
.city-row .split-text { flex: 1 1 360px; }
.city-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14px; }
.city-facts dt { color: var(--grey-text); }
.city-facts dd { margin: 0; font-weight: 600; }
@media (max-width: 640px) { .city-row > img { height: 260px; } }
.hotel-lines { list-style: none; margin: 0; padding: 0; }
.hotel-lines li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.hotel-lines li:last-child { border-bottom: 1px solid var(--line); }
.hotel-lines a.name { font-weight: 700; font-size: 17px; color: var(--graphite); text-decoration: none; }
.hotel-lines a.name:hover { color: var(--sky-deep); }
.hotel-lines .addr { color: var(--grey-text); font-size: 14px; }
.stars-text { letter-spacing: 2px; font-weight: 700; color: var(--graphite); }

/* ---------- light CTA band (pages) ---------- */
.cta-band { background: var(--pearl-deep) !important; color: var(--graphite) !important; border-radius: 0 !important; }
.cta-band::before, .cta-band::after { display: none !important; }
.cta-band h2 { color: var(--graphite); font-weight: 600 !important; }
.cta-band .text-white\/70, .cta-band p { color: var(--body-text) !important; }
.cta-band .tag.on-dark { color: var(--sky-deep); }

/* ---------- sign up band + footer ---------- */
.signup-band { position: relative; overflow: hidden; background: var(--graphite-dk); }
.signup-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.signup-band::after { content: ''; position: absolute; inset: 0; background: rgba(43,43,45,.7); }
.signup-inner { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 68px var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; text-align: center; color: #fff; }
.signup-col { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.signup-col h2 { margin: 0; font-size: 34px; font-weight: 700; color: #fff; }
.signup-col p { margin: 0; max-width: 360px; color: var(--pearl); }
.signup-form-wrap { width: 100%; max-width: 440px; }
.signup-form { display: flex; gap: 8px; width: 100%; }
.signup-form input { flex: 1; min-width: 0; padding: 13px 14px; border: 0; border-radius: 3px; font: inherit; font-size: 15px; color: var(--graphite); background: #fff; }
.signup-note { font-size: 12px; color: var(--pearl-deep); margin: 8px 0 0; }
@media (max-width: 480px) { .signup-form { flex-direction: column; } .signup-col h2 { font-size: 27px; } }
.site-footer { background: var(--graphite-dk); color: var(--pearl-deep); font-size: 14px; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 40px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px 32px; }
@media (max-width: 1023px) { .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { width: 168px; height: auto; display: block; }
.footer-brand p { margin: 0; color: #BDB8AE; line-height: 1.65; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--sky); color: var(--graphite-dk); }
.site-footer h3 { margin: 0 0 12px; color: #fff; font-size: 15px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer ul a { color: var(--pearl-deep); text-decoration: none; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-mail { color: var(--sky); }
.footer-small { font-size: 12px; color: #BDB8AE; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: #BDB8AE; }
.footer-bottom-inner p { margin: 0; }
.footer-bottom-inner nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom-inner a { color: #BDB8AE; text-decoration: none; }
.footer-bottom-inner a:hover { color: #fff; }

/* ---------- cards from the older stylesheets ---------- */
.hotel-card, .feature-card, .event-card, .news-card, .partner-card, .panel, .team-card, .tool-card, .service-card, .service-tile,
.testimonial, .fact-tile, .checklist-card, .short-item, .venue-line, .mini-stat, .guide-toc, .stat-card, .dlg-card, .stat-tile, .account-box, .faq {
  border-radius: 4px !important; box-shadow: none !important;
}
.hotel-card, .feature-card, .event-card, .news-card, .partner-card, .panel, .team-card, .service-card, .testimonial, .fact-tile, .checklist-card, .short-item, .guide-toc {
  background: var(--nacre) !important; border: 1px solid var(--line) !important;
}
.hotel-card:hover, .feature-card:hover, .event-card:hover, .partner-card:hover, .news-card:hover { transform: none !important; border-color: var(--line-strong) !important; }
.hotel-card .cover { background: var(--pearl-deep) !important; }
.hotel-card .cover::before, .news-cover::after, .detail-cover::before, .modal-cover::before, .dest-card::before, .dest-hero::before, .event-date::before { display: none !important; }
.hotel-card .cover::after { background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(43,43,45,.55) 100%); }
.hotel-card h3, .feature-card h3 { font-weight: 700; letter-spacing: 0; }
.hotel-card .cover .city-chip { background: rgba(43,43,45,.72); border-radius: 0; backdrop-filter: none; }
.hotel-card .cover .stars-row svg { fill: var(--sky); filter: none; }
.stat-grid div, .info-grid div, .facts div, .story-stats div { background: var(--pearl) !important; border-radius: 2px !important; }
.stat-grid span, .info-grid span { color: var(--grey-text); }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.icon-box { border-radius: 2px !important; background: var(--pearl-deep) !important; color: var(--graphite) !important; box-shadow: none !important; }
.bg-dark .icon-box, .tool-card .icon-box { background: rgba(255,255,255,.1) !important; color: var(--sky) !important; }
.tool-card, .service-tile { background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.14) !important; }
.tool-card:hover, .service-tile:hover { border-color: var(--sky) !important; transform: none !important; }
.dest-card, .dest-hero { background: var(--graphite-dk) !important; border-radius: 4px !important; }
.dest-card > img, .dest-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dest-card::after, .dest-hero::after { background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(43,43,45,.8) 100%) !important; }
.news-cover, .detail-cover, .modal-cover { background-color: var(--graphite-dk) !important; border-radius: 0 !important; }
.news-cover img, .detail-cover img, .modal-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover::after { background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(43,43,45,.8) 100%) !important; }
.modal-cover::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(43,43,45,.8) 100%) !important; }
.modal-box { border-radius: 4px; background: var(--nacre); }
.modal-overlay { background: rgba(43,43,45,.6); backdrop-filter: none; }
.event-date { background: var(--graphite) !important; border-radius: 2px !important; color: #fff !important; }
.event-date .d { color: #fff; }
.featured-event { background: var(--graphite-dk) var(--featured-photo, none) center / cover no-repeat !important; border-radius: 4px !important; position: relative; }
.featured-event::before { content: ''; position: absolute; inset: 0; background: rgba(43,43,45,.76); border-radius: inherit; }
.featured-event > * { position: relative; z-index: 1; }
.featured-event::after { display: none !important; }
.status { border-radius: 2px; }
.timeline .num, .itinerary .day { background: var(--graphite) !important; color: #fff !important; border-radius: 2px !important; box-shadow: none !important; }
.timeline::before, .itinerary::before { background: var(--line) !important; }
.fact-tile::before, .testimonial::before, .testimonial::after, .free-band::after, .steps-row li::after { display: none !important; }
.fact-tile .n { color: var(--sky-deep) !important; }
.free-band { background: var(--pearl-deep) !important; border-radius: 4px !important; color: var(--graphite) !important; }
.pull-quote { border-left-color: var(--sky) !important; }
.notice { border-radius: 4px !important; background: var(--nacre) !important; border: 1px solid var(--line) !important; color: var(--graphite) !important; }
.notice a { color: var(--sky-deep) !important; }
.notice::before, .notice > i:first-child { color: var(--sky-deep) !important; }
.steps-row li { border-radius: 4px !important; }
.steps-row li::before { background: var(--graphite) !important; color: #fff !important; }

/* filters & forms */
.filter-bar { top: 69px; background: var(--pearl) !important; backdrop-filter: none !important; }
@media (max-width: 1199px) { .filter-bar { top: 71px; } }
html { scroll-padding-top: 96px; }
.filter-tab { border-radius: 2px; background: var(--nacre); border-color: var(--line); color: var(--graphite); }
.filter-tab:hover { border-color: var(--graphite); color: var(--graphite); }
.filter-tab.active { background: var(--graphite) !important; border-color: var(--graphite) !important; color: #fff !important; }
.filter-select { border-radius: 2px; background-color: var(--nacre); border-color: var(--line); }
.form-input { border-radius: 3px !important; background: #fff; border-color: var(--line-strong); }
.form-input:focus { border-color: var(--graphite); box-shadow: 0 0 0 3px rgba(42,196,244,.3); }
label.choice span { border-radius: 3px; background: var(--nacre); }
label.choice span::before { border-radius: 2px; border-color: var(--line-strong); }
label.choice input:checked + span { border-color: var(--graphite); background: rgba(42,196,244,.12); color: var(--graphite); }
label.choice input:checked + span::before { background: var(--graphite); border-color: var(--graphite); }
.rfp-progress li.is-done, .rfp-progress li.is-current { border-color: var(--sky); }
.rfp-progress li.is-current::before, .rfp-progress li.is-done::before { background: var(--graphite); color: #fff; }
.rfp-progress li::before { background: var(--pearl-deep); }
.view-toggle { background: var(--pearl-deep); border-radius: 2px; }
.view-toggle button { border-radius: 2px; }
.view-toggle button[aria-pressed="true"] { color: var(--graphite); background: var(--nacre); }
.lang-group, .lang-btn { border-radius: 2px; }
#finder-map { border-radius: 4px; background: var(--pearl-deep); }
.map-pin.venue { background: var(--graphite); }
.map-pin.hotel { background: var(--sky-deep); }
.map-cluster { background: var(--graphite-dk); color: var(--sky); border-color: var(--sky); }
.leaflet-container { font-family: 'Montserrat', Arial, sans-serif; }
.leaflet-popup-content-wrapper { border-radius: 4px; }
.save-btn[aria-pressed="true"] { color: #B42318; }
.badge-green::before { -webkit-mask: none; mask: none; border-radius: 50%; width: 7px; height: 7px; }
.toast { border-radius: 3px; background: var(--graphite-dk); }
.empty-state { background: var(--nacre); border-radius: 4px; }
.faq { background: var(--nacre); }
.faq[open] { border-color: var(--line-strong) !important; }

/* ---------- client cabinet ---------- */
.cabinet-head { padding-top: 40px !important; padding-bottom: 32px !important; }
.dlg-card { background: var(--nacre) !important; border: 1px solid var(--line) !important; }
.dlg-card::before, .stat-tile::after, .account-box::before { display: none !important; }
.stat-tile { background: var(--nacre) !important; border: 1px solid var(--line) !important; }
.next-step { border-radius: 4px !important; background: var(--nacre) !important; border: 1px solid var(--line) !important; }
.next-step.is-gold { background: rgba(42,196,244,.12) !important; border-color: var(--sky) !important; }
.next-step > i, .next-step.is-gold > i { border-radius: 2px !important; background: var(--graphite) !important; color: #fff !important; }
.dlg-flow li.is-done::before, .dlg-flow li.is-current::before { background: var(--sky) !important; border-color: var(--sky) !important; }
.dlg-tabs a.is-active { background: var(--graphite) !important; color: #fff !important; box-shadow: inset 0 -3px 0 var(--sky); }
.service-choice > span, .chip-choice span, .svc-panel, .account-box, .svc-item { border-radius: 3px !important; }
.service-choice input:checked + span, .chip-choice input:checked + span { border-color: var(--graphite) !important; background: rgba(42,196,244,.12) !important; color: var(--graphite) !important; }
.service-choice input:checked + span i { background: var(--graphite) !important; color: #fff !important; }
.ref-pill { border-radius: 2px !important; }

/* ---------- credits page ---------- */
.credits-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--nacre); border: 1px solid var(--line); }
.credits-table th, .credits-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-text); }
.credits-table img { width: 96px; height: 60px; object-fit: cover; display: block; }

/* reveal: keep, but quicker and without the slide for large blocks */
.reveal { transform: translateY(14px); }

::-webkit-scrollbar-track { background: var(--pearl); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 0; }

@media print {
  .util-bar, .site-header, .signup-band, .site-footer { display: none !important; }
}

/* ---------- conference halls (hotel page) ---------- */
.halls-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.halls-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.halls-table th, .halls-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.halls-table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-text); background: var(--pearl); font-weight: 700; }
.halls-table tbody th { font-weight: 700; color: var(--graphite); white-space: normal; min-width: 150px; }
.halls-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.halls-table tbody tr:last-child th, .halls-table tbody tr:last-child td { border-bottom: 0; }
.halls-table tbody tr:hover { background: var(--pearl); }
.halls-note { margin: 10px 0 0; font-size: 12px; color: var(--grey-text); }

/* ---------- hotel page: spread of the printed UCB catalogue ---------- */
:root { --bronze: #8A7752; --bronze-line: #CDBF9F; --paper: #FFFFFF; }
.cat-section { padding: 28px 0 72px; }
.cat-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--grey-text); margin-bottom: 18px; }
.cat-crumb a { color: var(--grey-text); } .cat-crumb a:hover { color: var(--graphite); }
.cat-crumb [aria-current] { color: var(--graphite); font-weight: 600; }

.cat-spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(43,43,45,.10); position: relative; }
.cat-spread::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 36px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.07) 48%, rgba(0,0,0,.12) 50%, rgba(0,0,0,.05) 52%, rgba(0,0,0,0)); }

.cat-page { padding: 44px 48px 36px; text-align: center; color: var(--graphite); display: flex; flex-direction: column; }
.cat-city { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; font-weight: 600; color: var(--graphite); }
.cat-brand { margin: 22px 0 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cat-logo { max-height: 92px; max-width: min(320px, 80%); object-fit: contain; }
.cat-name { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 600; font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.05; color: var(--bronze); margin: 0; letter-spacing: .01em; }
.cat-stars { display: flex; gap: 6px; }
.cat-stars svg { width: 15px; height: 15px; fill: var(--bronze); }
.cat-rooms { margin: 0 auto 18px; font-weight: 700; font-size: 14px; line-height: 1.65; display: flex; flex-direction: column; }
.cat-desc { margin: 0 auto 22px; max-width: 560px; font-size: 13.5px; line-height: 1.6; color: #4a4a4c; }
.cat-amenities { list-style: none; margin: 0 0 18px; padding: 14px 4px; border-top: 1px solid var(--bronze-line); border-bottom: 1px solid var(--bronze-line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)); gap: 12px 6px; }
.cat-amenities li { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #6b6b6e; }
.cat-amenities svg { color: #5d5d60; }
.cat-amenities span { font-size: 10.5px; line-height: 1.2; }
.cat-flags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.cat-flags:empty { display: none; }
.cat-block { margin-bottom: 24px; }
.cat-title { font-size: 15px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; margin: 0 0 12px; color: var(--graphite); }
.cat-halls-wrap { overflow-x: auto; }
.cat-halls { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cat-halls th, .cat-halls td { padding: 7px 6px; border-bottom: 1px solid #E4E0D6; text-align: center; font-weight: 400; white-space: nowrap; }
.cat-halls thead tr:first-child th { border-top: 1px solid #E4E0D6; font-size: 12px; white-space: normal; line-height: 1.25; }
.cat-halls thead .sub th { font-size: 11px; color: #6b6b6e; }
.cat-halls .room, .cat-halls tbody th { text-align: center; min-width: 110px; white-space: normal; }
.cat-halls tbody th { font-size: 12px; letter-spacing: .02em; }
.cat-halls tbody tr:hover { background: var(--pearl); }
.cat-note { font-size: 11.5px; color: var(--grey-text); margin: 10px 0 0; }
.cat-contacts { margin-top: auto; padding-top: 18px; display: flex; justify-content: center; align-items: center; gap: 18px; }
.cat-contacts address { font-style: normal; font-size: 13px; line-height: 1.55; display: flex; flex-direction: column; align-items: center; }
.cat-contacts:has(.cat-qr) address { align-items: flex-start; text-align: left; }
.cat-contacts a { color: var(--graphite); } .cat-contacts a:hover { color: var(--sky-deep); }
.cat-qr { width: 84px; height: 84px; flex: none; }
.cat-qr img, .cat-qr canvas { width: 84px !important; height: 84px !important; }

.cat-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(300px, 1.35fr) minmax(200px, 1fr) auto; gap: 8px; padding: 44px 44px 30px 36px; }
.cat-photo { margin: 0; overflow: hidden; background: var(--pearl-deep); }
.cat-photo.main { grid-column: 1 / -1; }
.cat-photos.photos-1 .cat-photo:not(.main) { grid-column: 1 / -1; }
.cat-photos.photos-0 { grid-template-rows: minmax(420px, 1fr) auto; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.cat-photo:hover img { transform: scale(1.03); }
.cat-photo-note { grid-column: 1 / -1; font-size: 11px; color: var(--grey-text); text-align: right; }

.cat-tour { margin-top: 28px; border: 1px solid var(--line); background: #fff; padding: 10px; }
.cat-tour iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

.cat-enquire { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; background: var(--nacre); border: 1px solid var(--line); padding: 32px 36px; }
.cat-enquire h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; }
.cat-enquire p { color: var(--grey-text); margin: 0 0 18px; }
.cat-enquire-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cat-enquire form { display: grid; gap: 10px; }

/* hotel logo: in the card body above the name; on the quick-view cover bottom right */
.hotel-card .card-logo { height: 40px; display: flex; align-items: center; margin: -4px 0 10px; }
.hotel-card .card-logo img { max-height: 40px; max-width: 170px; object-fit: contain; display: block; }
.modal-cover .logo-chip { position: absolute; right: 16px; bottom: 16px; z-index: 2; background: rgba(255,255,255,.95);
  padding: 6px 10px; display: flex; align-items: center; height: 46px; max-width: 40%; box-shadow: 0 2px 10px rgba(0,0,0,.14); }
.modal-cover .logo-chip img { max-height: 34px; max-width: 100%; object-fit: contain; display: block; }

@media (max-width: 1100px) {
  .cat-spread { grid-template-columns: minmax(0, 1fr); }
  .cat-spread::after { display: none; }
  .cat-photos { order: -1; padding: 16px 16px 0; grid-template-rows: minmax(240px, 46vw) minmax(150px, 26vw) auto; }
  .cat-page { padding: 32px 28px 28px; }
}
@media (max-width: 640px) {
  .cat-page { padding: 26px 16px 22px; }
  .cat-photos { padding: 12px 12px 0; }
  .cat-enquire { grid-template-columns: 1fr; padding: 24px 18px; }
  .cat-contacts { flex-direction: column; }
  .cat-contacts:has(.cat-qr) address { align-items: center; text-align: center; }
}
@media print {
  .cat-enquire, .cat-crumb { display: none !important; }
  .cat-spread { box-shadow: none; }
}

/* partner cards with a real logo: logo panel on top */
.partner-card.has-logo { flex-direction: column; align-items: stretch; gap: 12px; }
.partner-card.has-logo .logo { width: 100%; height: 76px; border-radius: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 14px; }
.partner-card.has-logo .logo img { max-height: 52px; max-width: 80%; object-fit: contain; }

/* ---------- request form v6: required marks, regions, country picker, repeatable service blocks ---------- */
.req { color: #C2410C; font-weight: 800; margin-left: 2px; }
.choice-txt { display: flex; flex-direction: column; gap: 2px; font-style: normal; line-height: 1.25; }
.choice-txt small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
label.choice input:checked + span .choice-txt small { color: var(--graphite); opacity: .75; }
.dest-more-title { margin: 18px 0 10px; }
.cpick { position: relative; display: flex; flex-direction: column; gap: 8px; }
.cpick.is-invalid .cpick-input { border-color: #C2410C; }
.cpick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cpick-chips:empty { display: none; }
.cpick-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border: 1.5px solid var(--graphite); border-radius: 999px; background: rgba(42,196,244,.12); font-size: 13px; }
.cpick-chip b { font-weight: 700; color: var(--graphite); }
.cpick-chip small { font-size: 12px; color: var(--muted); font-weight: 600; }
.cpick-count { width: 64px; height: 30px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; font-weight: 700; font-size: 13px; text-align: center; }
.cpick-x { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; line-height: 1; color: var(--graphite); background: transparent; border: 0; cursor: pointer; }
.cpick-x:hover { background: rgba(58,58,60,.12); }
.cpick-search { position: relative; }
.cpick-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 280px; overflow: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 14px 34px rgba(30,30,32,.16); }
.cpick-list li { padding: 9px 12px; border-radius: 4px; font-size: 14px; font-weight: 600; cursor: pointer; }
.cpick-list li.is-active, .cpick-list li[role=option]:hover { background: rgba(42,196,244,.14); }
.cpick-list .cpick-head { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: default; padding: 6px 12px 4px; }
.cpick-list .cpick-empty { color: var(--muted); cursor: default; font-weight: 500; }
.svc-panel header .svc-add { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px; border: 1.5px solid var(--graphite); border-radius: 999px; background: #fff; color: var(--graphite); font-size: 13px; font-weight: 800; cursor: pointer; transition: background .15s, color .15s; }
.svc-panel header .svc-add:hover { background: var(--graphite); color: #fff; }
.svc-panel header .svc-add:disabled { opacity: .4; cursor: not-allowed; }
.svc-block + .svc-block { border-top: 1px dashed var(--line-strong); }
.svc-block-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 0; }
.svc-block-head[hidden] { display: none; }
.svc-block-head b { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svc-block-remove { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 0; background: transparent; color: #9A3412; font-size: 12.5px; font-weight: 700; cursor: pointer; border-radius: 4px; }
.svc-block-remove:hover { background: #FEF2EC; }
.svc-block.is-new { animation: svcIn .35s ease; }
@keyframes svcIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 460px) {
  .svc-panel header .svc-add span { display: none; }
  .svc-panel header .svc-add { width: 36px; padding: 0; justify-content: center; }
  .svc-block-head { padding: 10px 14px 0; }
}
@media (prefers-reduced-motion: reduce) { .svc-block.is-new { animation: none; } }
