/* ============================================================
   Ananas PMS (ananas-pms.com) -- additions on top of site.css
   Contrast measured, not eyeballed (WCAG 2.1 AA):
     #d3dbe3 crumbs on navy-deep / amber-tinted hero corner ... 11.5 / 8.1:1
     #EFBC42 crumb links on navy-deep / tinted corner ........ 9.1 / 6.5:1
     #1f8a4c 'Included' check icon on white (beside text) .... 4.4:1
     #5b6572 muted on white ................. 5.9:1
     #7A4B00 amber text on white / cream .... 7.4 / 6.6:1
   ============================================================ */

/* breadcrumbs (navy page heroes) */
.crumbs { margin: 0 0 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.88rem; color: #d3dbe3; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #d3dbe3; }
.crumbs a { color: #EFBC42; text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:focus-visible { outline: 2px solid #EFBC42; outline-offset: 2px; border-radius: 2px; }

/* product screenshots in a window frame */
.frame { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.frame__bar { display: flex; gap: 6px; padding: 9px 12px; background: #eef0f3; border-bottom: 1px solid var(--border); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c3c9d1; display: block; }
.frame img { display: block; width: 100%; height: auto; }
.frame figcaption { padding: 10px 14px; font-size: 0.86rem; color: var(--ink-muted); border-top: 1px solid var(--border); background: #fff; }

/* hero: two stacked app windows */
.pms-stack { position: relative; padding-bottom: 20%; }
.pms-stack .frame--front { position: absolute; left: -7%; bottom: 0; width: 74%; }
@media (max-width: 980px) { .pms-stack .frame--front { left: 0; } }

/* "connects to" strip */
.strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.strip li { padding: 8px 15px; border: 1px solid var(--border); border-radius: 999px; font-weight: 600; color: var(--navy); background: #fff; font-size: 0.93rem; }
.strip-note { text-align: center; color: var(--ink-muted); font-size: 0.9rem; margin: 16px auto 0; max-width: 680px; }

/* one system instead of four */
.vs-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.vs { width: 100%; border-collapse: collapse; min-width: 560px; }
.vs th, .vs td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.vs thead th { background: var(--navy); color: #fff; font-size: 0.92rem; font-weight: 700; }
.vs tbody th { font-weight: 600; color: var(--navy); }
.vs td { color: var(--ink-muted); }
.vs td.yes { color: var(--ink); font-weight: 600; }
.vs td.yes svg { width: 18px; height: 18px; color: #1f8a4c; vertical-align: -3px; margin-right: 6px; }
.vs tr:last-child th, .vs tr:last-child td { border-bottom: 0; }
.vs .tag-ea { margin-left: 8px; }

/* module cards: whole card is the link target */
.card { position: relative; }
.modcard h3 a { color: inherit; text-decoration: none; }
.modcard h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.modcard h3 a:focus-visible { outline: none; }
.modcard:focus-within { outline: 2px solid var(--gold-text, #7A4B00); outline-offset: 3px; }
.modcard .more { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gold-text, #7A4B00); font-size: 0.95rem; }
.modcard .more svg { width: 16px; height: 16px; }
.modcard .tag-ea { margin-bottom: 12px; }

/* hub outside the hero (visible on phones) */
.hub-wrap { max-width: 560px; margin: 0 auto; }

/* feature bullet lists inside featrows */
.featrow .check { margin-top: 18px; margin-bottom: 0; }
.featrow .tag-ea { margin-bottom: 14px; }

/* related pages */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: block; padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--navy); font-weight: 600; text-decoration: none; }
.related a span { display: block; font-weight: 400; color: var(--ink-muted); font-size: 0.92rem; margin-top: 4px; }
.related a:hover { border-color: rgba(226,154,0,0.6); }
.related a:focus-visible { outline: 2px solid #7A4B00; outline-offset: 2px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* small print under CTAs */
.fineprint { color: var(--ink-muted); font-size: 0.9rem; margin-top: 18px; }
.bg-navy .fineprint, .hero--navy .fineprint { color: #d3dbe3; }

/* contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-grid a { color: #7A4B00; font-weight: 600; word-break: break-word; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* footer headings are h2 (no level skip from page h1/h2); styled like the old h5 */
.foot__col .foot__h { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 16px; font-family: var(--mono); font-weight: 600; }
.foot__newsletter .foot__h { color: #fff; font-size: 1rem; margin: 0 0 4px; }

/* skip link: hidden until focused */
.skip:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; margin: 0; padding: 10px 16px; z-index: 1000; background: #fff; color: var(--navy); border-radius: 8px; outline: 3px solid var(--gold-text); white-space: normal; }

.step h3 { margin-bottom: 8px; font-size: 1.15rem; }

/* the gold second line may wrap on narrow screens: give it room so lines never overlap */
.hero .gold-em { line-height: 1.12; }
/* cap the gold line so "that connects to everyone." stays on one line on wide screens */
.hero .gold-em { font-size: min(calc(1em - 15px), 2.6rem); }

/* "Get Early Access" is longer than "Start Free": keep brand + CTA + burger inside 360-400px phones */
@media (max-width: 480px) {
  .nav__cta .btn { padding-left: 13px; padding-right: 13px; font-size: 0.9rem; }
}

/* nav labels never wrap; between the burger breakpoint (1024px here) and 1180px the
   Booking Engine shortcut drops out (still in the Product menu) so the bar fits */
.nav__link, .nav__signin, .nav__cta .btn { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1180px) {
  .nav__links > .nav__link--be { display: none; }  /* class, not href: the href is localized */
}

/* longer nav CTA than the GDS site: collapse to the burger below 1024px, not 900px (the full bar needs ~990px) */
@media (max-width: 1023.98px) {
  .nav__links, .nav__cta .nav__signin, .nav__cta .lang-switch { display: none; }
  .nav__burger { display: flex; width: 44px; height: 44px; flex: none; }
}

/* phones: the Early access chips make hub nodes collide, so they give way to one text line */
.hub__note { display: none; margin: 14px auto 0; max-width: 540px; text-align: center; color: #d3dbe3; font-size: 0.88rem; }
@media (max-width: 560px) {
  .hub-wrap .hub__ea { display: none; }
  .hub__note { display: block; }
}

/* language switcher -- measured: #2c3a4b on white 11.9:1, focus ring #7A4B00 on white 7.4:1;
   footer links #d3dbe3 on navy-deep 11.5:1. The current language is bold + underlined, never colour alone. */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px;
  border-radius: 9px; cursor: pointer; font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 18px; height: 18px; }
.lang-switch summary:hover { background: var(--cream); }
.lang-switch summary:focus-visible { outline: 2px solid #7A4B00; outline-offset: 2px; }
.lang-switch__menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 170px; display: flex; flex-direction: column;
  padding: 6px; background: #fff; border: 1px solid rgba(47,43,61,0.12); border-radius: 12px; box-shadow: 0 8px 32px rgba(20,30,45,0.10); z-index: 60; }
.lang-switch__menu a { padding: 10px 12px; border-radius: 8px; color: var(--navy); font-weight: 500; }
.lang-switch__menu a:hover { background: var(--cream); }
.lang-switch__menu a:focus-visible { outline: 2px solid #7A4B00; outline-offset: -2px; }
.lang-switch__menu a[aria-current], .drawer__lang a[aria-current], .foot__lang a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.drawer__lang { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.drawer__lang a { padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid rgba(47,43,61,0.12); border-radius: 999px; color: var(--navy); font-weight: 600; }
.foot__lang { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot__lang a { color: #d3dbe3; }
.foot__lang a:hover { color: #fff; }

/* translated labels run longer than English: on phones, buttons inside the page may wrap instead of overflowing */
@media (max-width: 560px) {
  main .btn { white-space: normal; text-align: center; max-width: 100%; }
}
