/*
 * Small additions on top of the original design: enquiry forms, featured
 * images on new pages and the footer limitations note. No theme colours,
 * fonts or layouts are changed here.
 */
.x-hp { position: absolute; left: -9999px; }
[data-show][hidden] { display: none; }
.x-narrow { max-width: 820px; }
.x-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form-group.x-consent input { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; }
.x-consent a, .x-callout a { text-decoration: underline; }
.x-callout { margin-bottom: 24px; padding: 18px 22px; background: var(--paper); border-left: 3px solid var(--blue); }
.x-notice { margin-bottom: 24px; padding: 14px 20px; border-radius: 8px; font-weight: 600; }
.x-notice-ok { background: #ecfdf5; color: #065f46; }
.x-notice-bad { background: #fef2f2; color: #991b1b; }
.x-feature img { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 40px; }
footer[role="contentinfo"] .x-limitations { margin-top: 40px; font-size: .82rem; color: #8b96a5; }

/* ── Primary menu: keep every item on one line ── */
.nav-wrap .container { width: min(1280px, calc(100% - 32px)); }
.nav-wrap nav { gap: 24px; }
.nav-wrap .logo { flex-shrink: 0; }
.nav-wrap .nav-links a, .nav-wrap .client-login { white-space: nowrap; }
.nav-wrap .nav-links { gap: 20px; }
.nav-wrap .nav-right { gap: 12px; }
.nav-wrap .btn { min-height: 46px; padding: 0 18px; }

@media (min-width: 1200px) {
  /* Centre the dropdown on the whole bar so it cannot run off screen. */
  .nav-wrap .nav-dropdown { position: static; }
  .nav-wrap .nav-dropdown-toggle { padding: 22px 0; }
  .nav-wrap .mega-menu { top: 100%; }
}

/* Too narrow for the full bar: use the menu button. */
@media (max-width: 1199px) {
  .nav-wrap .nav-links { display: none; }
  .nav-wrap .menu-btn { display: block; }
  .nav-wrap .nav-links.open {
    display: flex;
    position: absolute;
    top: calc(100% + 12px);
    left: 14px;
    right: 14px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 55px rgba(7,17,31,.15);
  }
  .nav-wrap .nav-dropdown { width: 100%; }
  .nav-wrap .mega-menu {
    position: static;
    width: 100%;
    margin-top: 14px;
    padding: 18px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-wrap .mega-menu-inner { grid-template-columns: 1fr; gap: 22px; }
}

/* Three full columns need a wider dropdown panel. */
@media (min-width: 1200px) {
  .nav-wrap .mega-menu { width: 100%; max-width: 1140px; }
}
.nav-wrap .mega-menu-inner > .mega-col { min-width: 0; }
