/* Host Mayo site theme — Bootstrap 5.3 with day/night modes (US + UK).
   Loaded by every page built on theme/top.php.
   Night mode = <html data-bs-theme="dark"> (set in theme/top.php, toggled by site.js). */

/* ---------- Day (default) ---------- */
:root {
  --hm-blue: #2068C7;          /* button / brand fill */
  --hm-blue-600: #1a56a6;
  --hm-blue-700: #154785;
  --hm-blue-900: #0f2f63;
  --hm-accent: #2068C7;        /* blue used for text, icons, links */
  --hm-accent-strong: #154785;

  --hm-bg: #ffffff;            /* page */
  --hm-surface: #ffffff;       /* cards, tables, navbar */
  --hm-surface-2: #f7f9fc;     /* table head, disabled */
  --hm-hover: #fbfcff;
  --hm-sky: #f4f8fe;           /* alt sections, soft fills */
  --hm-sky-2: #e8f1ff;         /* icon tiles, active nav */
  --hm-ink: #0f1f33;           /* headings, strong values */
  --hm-text: #26364a;
  --hm-muted: #5d6d82;
  --hm-line: #e3e9f2;
  --hm-brand-text: #00466f;
  --hm-green: #12804a;
  --hm-best-fg: #0b6b3c;
  --hm-best-bg: #dcf5e7;
  --hm-red: #b93838;

  --hm-topbar-bg: #0f1f33;
  --hm-hero-a: #0f2f63;
  --hm-hero-b: #1a56a6;
  --hm-hero-c: #2068C7;

  --hm-radius: 14px;
  --hm-shadow: 0 1px 2px rgba(15, 31, 51, .06), 0 8px 24px rgba(15, 31, 51, .06);
  --hm-shadow-lg: 0 2px 4px rgba(15, 31, 51, .08), 0 18px 48px rgba(15, 31, 51, .14);
  --hm-nav-shadow: 0 6px 20px rgba(15, 31, 51, .08);

  --bs-primary: #2068C7;
  --bs-primary-rgb: 32, 104, 199;
  --bs-body-font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.6;
}

/* ---------- Night ---------- */
:root[data-bs-theme="dark"] {
  --hm-accent: #7fb0f5;
  --hm-accent-strong: #a9c9f8;

  --hm-bg: #0b1422;
  --hm-surface: #111d2f;
  --hm-surface-2: #16243a;
  --hm-hover: #152338;
  --hm-sky: #0e1929;
  --hm-sky-2: #1a2c47;
  --hm-ink: #eef3fb;
  --hm-text: #c9d5e6;
  --hm-muted: #93a4bb;
  --hm-line: #24344c;
  --hm-brand-text: #e6eefa;
  --hm-green: #5fd196;
  --hm-best-fg: #8ee8b6;
  --hm-best-bg: rgba(18, 128, 74, .22);
  --hm-red: #f07a7a;

  --hm-topbar-bg: #070e18;
  --hm-hero-a: #081a38;
  --hm-hero-b: #0f3368;
  --hm-hero-c: #174a94;

  --hm-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .25);
  --hm-shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 18px 48px rgba(0, 0, 0, .45);
  --hm-nav-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

/* Bootstrap tokens follow the UK palette in both modes. */
:root, :root[data-bs-theme="dark"] {
  --bs-body-bg: var(--hm-bg);
  --bs-body-color: var(--hm-text);
  --bs-emphasis-color: var(--hm-ink);
  --bs-secondary-color: var(--hm-muted);
  --bs-border-color: var(--hm-line);
  --bs-link-color: var(--hm-accent);
  --bs-link-hover-color: var(--hm-accent-strong);
  --bs-tertiary-bg: var(--hm-surface-2);
}
:root[data-bs-theme="dark"] { --bs-link-color-rgb: 127, 176, 245; --bs-link-hover-color-rgb: 169, 201, 248; }
:root:not([data-bs-theme="dark"]) { --bs-link-color-rgb: 32, 104, 199; --bs-link-hover-color-rgb: 21, 71, 133; }

body.hm-site { -webkit-font-smoothing: antialiased; background: var(--hm-bg); color: var(--hm-text); }
.hm-site h1, .hm-site h2, .hm-site h3, .hm-site h4, .hm-site h5 {
  color: var(--hm-ink);
  font-weight: 600;
  letter-spacing: -.01em;
}
.hm-site :focus-visible { outline: 3px solid rgba(32, 104, 199, .45); outline-offset: 2px; }
.hm-skip { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: var(--hm-surface); padding: .5rem 1rem; border-radius: 8px; }

/* ---------- Buttons ---------- */
.hm-site .btn { font-weight: 500; border-radius: 10px; }
.hm-site .btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--hm-blue);
  --bs-btn-border-color: var(--hm-blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--hm-blue-600);
  --bs-btn-hover-border-color: var(--hm-blue-600);
  --bs-btn-active-bg: var(--hm-blue-700);
  --bs-btn-active-border-color: var(--hm-blue-700);
  --bs-btn-disabled-bg: var(--hm-blue);
  --bs-btn-disabled-border-color: var(--hm-blue);
}
.hm-btn-stock {
  --bs-btn-color: var(--hm-muted);
  --bs-btn-bg: var(--hm-surface);
  --bs-btn-border-color: var(--hm-line);
  --bs-btn-disabled-color: var(--hm-muted);
  --bs-btn-disabled-bg: var(--hm-surface-2);
  --bs-btn-disabled-border-color: var(--hm-line);
  --bs-btn-disabled-opacity: 1;
}
.hm-linkbtn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }

/* ---------- Top bar + navbar ---------- */
.hm-topbar { background: var(--hm-topbar-bg); color: #c4d2e6; font-size: .8125rem; padding: .45rem 0; }
.hm-topbar i { color: #7fb0f5; margin-right: .3rem; }
.hm-topbar-links { gap: 1.25rem; }
.hm-topbar-links a, .hm-topbar-links .hm-linkbtn { color: #e3ebf7; text-decoration: none; }
.hm-topbar-links a:hover, .hm-topbar-links .hm-linkbtn:hover { color: #fff; text-decoration: underline; }

.hm-navbar { background: var(--hm-surface); border-bottom: 1px solid var(--hm-line); padding: .6rem 0; transition: box-shadow .2s ease, background-color .2s ease; }
.hm-navbar.is-scrolled { box-shadow: var(--hm-nav-shadow); }
.hm-brand-text { font-weight: 600; font-size: 1.3rem; color: var(--hm-brand-text); letter-spacing: -.01em; }
.hm-brand-tag {
  display: inline-block; vertical-align: middle; margin-left: .25rem;
  font-size: .65rem; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: var(--hm-blue); border-radius: 6px; padding: .15rem .4rem;
}
.hm-navbar .nav-link { color: var(--hm-text); font-weight: 500; font-size: .95rem; padding: .5rem .8rem !important; border-radius: 8px; }
.hm-navbar .nav-link:hover, .hm-navbar .nav-link:focus { color: var(--hm-accent); background: var(--hm-sky); }
.hm-navbar .nav-link.active { color: var(--hm-accent); background: var(--hm-sky-2); }
.hm-navbar .dropdown-menu { --bs-dropdown-bg: var(--hm-surface); --bs-dropdown-border-color: var(--hm-line); --bs-dropdown-link-color: var(--hm-text); border-radius: 12px; padding: .4rem; }
.hm-navbar .dropdown-item { border-radius: 8px; padding: .45rem .8rem; font-size: .925rem; }
.hm-navbar .dropdown-item:hover, .hm-navbar .dropdown-item:focus { background: var(--hm-sky); color: var(--hm-accent); }
.hm-btn-login {
  background: var(--hm-blue); color: #fff !important; border-radius: 999px; padding: .5rem 1.25rem;
  box-shadow: 0 8px 18px rgba(32, 104, 199, .25);
}
.hm-btn-login:hover { background: var(--hm-blue-600); }
.hm-btn-login i { margin-right: .35rem; }
.hm-navbar .navbar-toggler { border-color: var(--hm-line); }

.hm-theme-toggle {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--hm-line); background: var(--hm-surface); color: var(--hm-ink);
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.hm-theme-toggle:hover { background: var(--hm-sky-2); color: var(--hm-accent); border-color: var(--hm-accent); }
.hm-theme-toggle i { grid-area: 1 / 1; font-size: 1rem; }
.hm-theme-toggle .hm-icon-sun { display: none; color: #f5b301; }
:root[data-bs-theme="dark"] .hm-theme-toggle .hm-icon-sun { display: inline-block; }
:root[data-bs-theme="dark"] .hm-theme-toggle .hm-icon-moon { display: none; }

/* ---------- Hero ---------- */
.hm-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(127, 176, 245, .35), transparent 60%),
    linear-gradient(135deg, var(--hm-hero-a) 0%, var(--hm-hero-b) 55%, var(--hm-hero-c) 100%);
  padding: 4.5rem 0 5rem;
}
.hm-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hm-hero > .container { position: relative; z-index: 1; }
.hm-site .hm-hero h1 { color: #fff; font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.15; margin-bottom: 1rem; }
.hm-hero .lead { color: #dbe7fb; font-size: 1.1rem; max-width: 40rem; }
.hm-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px; padding: .35rem .85rem; margin-bottom: 1.25rem;
}
.hm-hero-points { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; max-width: 34rem; }
.hm-hero-points li { display: flex; align-items: center; gap: .55rem; color: #eef4fd; font-size: .95rem; }
.hm-hero-points i { color: #8fe0b6; }
.hm-site .hm-hero .btn-light, .hm-site .hm-cta .btn-light { --bs-btn-color: #154785; --bs-btn-bg: #fff; --bs-btn-border-color: #fff; --bs-btn-hover-color: #0f2f63; --bs-btn-hover-bg: #e8f1ff; --bs-btn-hover-border-color: #e8f1ff; font-weight: 600; }
.hm-hero .btn-light, .hm-hero .btn-outline-light { padding: .75rem 1.5rem; }
.hm-hero .btn-outline-light { border-color: rgba(255, 255, 255, .55); }

.hm-price-card {
  background: var(--hm-surface); color: var(--hm-text); border-radius: 18px; padding: 1.75rem;
  border: 1px solid transparent; box-shadow: var(--hm-shadow-lg); max-width: 400px; margin-left: auto;
}
:root[data-bs-theme="dark"] .hm-price-card { border-color: var(--hm-line); }
.hm-price-card .hm-pc-label { font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--hm-muted); }
.hm-price-card .hm-pc-price { font-size: 2.75rem; font-weight: 700; color: var(--hm-ink); line-height: 1.1; letter-spacing: -.02em; }
.hm-price-card .hm-pc-price small { font-size: 1rem; font-weight: 500; color: var(--hm-muted); letter-spacing: 0; }
.hm-price-card .hm-pc-name { font-weight: 600; color: var(--hm-ink); margin: .75rem 0 .5rem; }
.hm-price-card ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.hm-price-card li { display: flex; gap: .6rem; padding: .4rem 0; border-bottom: 1px dashed var(--hm-line); font-size: .925rem; }
.hm-price-card li:last-child { border-bottom: 0; }
.hm-price-card li i { color: var(--hm-accent); width: 1.1rem; text-align: center; margin-top: .2rem; }
.hm-price-card .hm-pc-foot { font-size: .8rem; color: var(--hm-muted); text-align: center; margin-top: .75rem; }

/* ---------- Trust strip ---------- */
.hm-trust { margin-top: -2.25rem; position: relative; z-index: 2; }
.hm-trust-inner {
  background: var(--hm-surface); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); box-shadow: var(--hm-shadow);
  display: grid; grid-template-columns: repeat(var(--hm-trust-cols, 4), minmax(0, 1fr));
}
.hm-trust-item { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.25rem; }
.hm-trust-item + .hm-trust-item { border-left: 1px solid var(--hm-line); }
.hm-trust-item i { font-size: 1.35rem; color: var(--hm-accent); width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: var(--hm-sky-2); border-radius: 10px; flex: none; }
.hm-trust-item strong { display: block; color: var(--hm-ink); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.hm-trust-item span { color: var(--hm-muted); font-size: .825rem; }
.hm-stars { color: #f5b301 !important; font-size: .8rem; letter-spacing: 1px; }

/* ---------- Sections ---------- */
.hm-section { padding: 4.5rem 0; }
.hm-section-alt { background: var(--hm-sky); }
.hm-section-head { max-width: 46rem; margin-bottom: 2rem; }
.hm-section-head h2, .hm-section-head .hm-h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .5rem; }
.hm-section-head p { color: var(--hm-muted); margin: 0; }
.hm-kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hm-accent); margin-bottom: .5rem; }

.hm-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.25rem; }
.hm-jump a {
  display: inline-flex; align-items: center; gap: .45rem; text-decoration: none;
  border: 1px solid var(--hm-line); background: var(--hm-surface); color: var(--hm-text);
  padding: .5rem 1rem; border-radius: 999px; font-weight: 500; font-size: .925rem;
}
.hm-jump a:hover { border-color: var(--hm-accent); color: var(--hm-accent); }
.hm-jump a i { color: var(--hm-accent); }

.hm-family { scroll-margin-top: 90px; }
.hm-family + .hm-family { margin-top: 3.5rem; }
.hm-family-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.hm-family-head h3 { font-size: 1.4rem; margin: 0 0 .25rem; display: flex; align-items: center; gap: .6rem; }
.hm-family-head h3 i { color: var(--hm-accent); }
.hm-family-head p { color: var(--hm-muted); margin: 0; max-width: 44rem; font-size: .95rem; }
.hm-currency-note { font-size: .825rem; color: var(--hm-muted); white-space: nowrap; }
.hm-currency-note i { color: var(--hm-green); }

/* ---------- Plan table (cards below lg) ---------- */
.hm-plans { background: var(--hm-surface); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); box-shadow: var(--hm-shadow); overflow: hidden; }
.hm-plan-table { width: 100%; margin: 0; border-collapse: collapse; }
.hm-plan-table thead th {
  background: var(--hm-surface-2); color: var(--hm-muted); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: .85rem 1rem; border-bottom: 1px solid var(--hm-line); white-space: nowrap;
}
.hm-plan-table tbody td { padding: 1rem; border-bottom: 1px solid var(--hm-line); vertical-align: middle; }
.hm-plan-table tbody tr:last-child td { border-bottom: 0; }
.hm-plan-table tbody tr { transition: background-color .15s ease; }
.hm-plan-table tbody tr:hover { background: var(--hm-hover); }
.hm-plan-table .hm-v { display: block; font-weight: 600; color: var(--hm-ink); line-height: 1.3; }
.hm-plan-table .hm-s { display: block; font-size: .8125rem; color: var(--hm-muted); }
.hm-plan-table .hm-cpu-brand { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--hm-muted); }
.hm-plan-table .hm-cpu-model { font-size: 1.05rem; }
.hm-badge { display: inline-block; font-size: .7rem; font-weight: 600; border-radius: 6px; padding: .15rem .45rem; margin-left: .35rem; vertical-align: middle; }
.hm-badge-best { color: var(--hm-best-fg); background: var(--hm-best-bg); }
.hm-badge-fast { color: var(--hm-accent-strong); background: var(--hm-sky-2); }
.hm-loc { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--hm-ink); background: var(--hm-sky); border: 1px solid var(--hm-line); border-radius: 999px; padding: .2rem .65rem; white-space: nowrap; }
.hm-loc i { color: var(--hm-accent); }
.hm-price { font-size: 1.35rem; font-weight: 700; color: var(--hm-ink); letter-spacing: -.01em; white-space: nowrap; }
.hm-price small { font-size: .8rem; font-weight: 500; color: var(--hm-muted); letter-spacing: 0; }
.hm-plan-table .hm-act { text-align: right; white-space: nowrap; }
.hm-plan-table .hm-act .btn { min-width: 8.5rem; }
.hm-plan-table tr.is-oos .hm-v, .hm-plan-table tr.is-oos .hm-price { color: var(--hm-muted); }
.hm-oos-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--hm-red); margin-right: .35rem; vertical-align: middle; }

@media (max-width: 991.98px) {
  .hm-plans { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .hm-plan-table thead { display: none; }
  .hm-plan-table, .hm-plan-table tbody { display: block; }
  .hm-plan-table tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
  .hm-plan-table tbody tr {
    display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem;
    background: var(--hm-surface); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); box-shadow: var(--hm-shadow); padding: 1.15rem;
  }
  .hm-plan-table tbody tr:hover { background: var(--hm-surface); }
  .hm-plan-table tbody td { display: block; padding: 0; border: 0 !important; }
  .hm-plan-table tbody td[data-label]::before {
    content: attr(data-label); display: block; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hm-muted); margin-bottom: .1rem;
  }
  .hm-plan-table td.hm-cpu { grid-column: 1 / -1; padding-bottom: .75rem; border-bottom: 1px solid var(--hm-line) !important; }
  .hm-plan-table td.hm-cpu::before { display: none !important; }
  .hm-plan-table td.hm-pr { align-self: end; }
  .hm-plan-table td.hm-act { grid-column: 1 / -1; text-align: left; }
  .hm-plan-table td.hm-act .btn { width: 100%; }
}

/* ---------- Add-ons + FAQ ---------- */
.hm-card { background: var(--hm-surface); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); box-shadow: var(--hm-shadow); padding: 1.5rem; }
.hm-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.hm-addons { list-style: none; padding: 0; margin: 0; }
.hm-addons li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--hm-line); font-size: .95rem; }
.hm-addons li:last-child { border-bottom: 0; }
.hm-addons li span i { color: var(--hm-accent); width: 1.25rem; margin-right: .4rem; text-align: center; }
.hm-addons li strong { color: var(--hm-ink); white-space: nowrap; }
.hm-addons li strong small { color: var(--hm-muted); font-weight: 500; }

.hm-faq {
  --bs-accordion-bg: var(--hm-surface);
  --bs-accordion-color: var(--hm-text);
  --bs-accordion-border-color: var(--hm-line);
  --bs-accordion-border-radius: var(--hm-radius);
  --bs-accordion-inner-border-radius: calc(var(--hm-radius) - 1px);
  --bs-accordion-btn-color: var(--hm-ink);
  --bs-accordion-btn-bg: var(--hm-surface);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(32, 104, 199, .25);
  --bs-accordion-active-bg: var(--hm-sky-2);
  --bs-accordion-active-color: var(--hm-accent-strong);
}
.hm-faq .accordion-button { font-weight: 600; font-size: .975rem; }
.hm-faq .accordion-body { font-size: .95rem; }

/* ---------- Features ---------- */
.hm-feature { height: 100%; background: var(--hm-surface); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); padding: 1.5rem; transition: transform .15s ease, box-shadow .15s ease; }
.hm-feature:hover { transform: translateY(-2px); box-shadow: var(--hm-shadow); }
.hm-ico { width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center; background: var(--hm-sky-2); color: var(--hm-accent); font-size: 1.35rem; margin-bottom: 1rem; }
.hm-feature h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.hm-feature p { color: var(--hm-muted); margin: 0; font-size: .95rem; }
.hm-checks { list-style: none; padding: 0; margin: 0; }
.hm-checks li { position: relative; padding: .22rem 0 .22rem 1.45rem; font-size: .925rem; color: var(--hm-text); }
.hm-checks li::before { content: "\f00c"; position: absolute; left: 0; top: .5rem; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--hm-green); font-size: .8rem; line-height: 1; }
.hm-checks li strong { color: var(--hm-ink); font-weight: 600; }
.hm-chip-list { display: flex; flex-direction: column; gap: .5rem; }
.hm-chip { display: flex; align-items: center; gap: .5rem; text-decoration: none; border: 1px solid var(--hm-line); border-radius: 10px; padding: .55rem .8rem; font-size: .9rem; font-weight: 500; color: var(--hm-text); background: var(--hm-surface); }
.hm-chip i { color: var(--hm-accent); }
a.hm-chip:hover { border-color: var(--hm-accent); color: var(--hm-accent); }

/* ---------- CTA band ---------- */
.hm-cta {
  border-radius: 20px; padding: 2.5rem; color: #fff;
  background: radial-gradient(600px 260px at 100% 0%, rgba(127, 176, 245, .35), transparent 60%), linear-gradient(135deg, var(--hm-hero-a), var(--hm-hero-c));
}
.hm-site .hm-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .4rem; }
.hm-cta p { color: #dbe7fb; margin: 0; }

/* ---------- Shared footer.php (Bootstrap 3 markup, restyled here) ----------
   Keeps the site's original footer look: the navy gradient (to left, #000428 -> #004770),
   70% white links and bordered square social icons. Same in day and night mode. */
.hm-site .footer, .hm-site footer {
  background-color: #004770;
  background-image: linear-gradient(to left, #000428, #004770);
  color: #fff;
}
.hm-site .footer { padding: 3.5rem 0 1rem; font-size: .9rem; }
.hm-site .footer .container .container { padding: 0; max-width: none; }
.hm-site .footer h3, .hm-site .footer h3 a { color: #fff !important; font-size: 1rem; font-weight: 600; margin: 0 0 1rem; text-decoration: none; letter-spacing: 0; }
.hm-site .footer ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.hm-site .footer a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.hm-site .footer .menu-item a { line-height: 2.05; }
.hm-site .footer a:hover, .hm-site .footer a:focus { color: #fff; }
.hm-site .footer .ts-social-footer { text-align: left !important; }
.hm-site .footer .ts-social-footer > a { display: inline-block; }
.hm-site .footer .ts-social-footer > a span {
  display: inline-grid; place-items: center; width: 40px; height: 35px; margin: 0 12px 20px 0;
  border: 1px solid #b3d3e5; border-radius: 6px; color: #fff;
  transition: background-color .25s ease-out, border-color .25s ease-out;
}
.hm-site .footer .ts-social-footer > a span i { font-size: 1.1rem; }
.hm-site .footer .ts-social-footer > a:hover span { background: #0077bb; border-color: #0077bb; }
.hm-site .footer .payment-icons { flex-wrap: wrap; }
.hm-site .footer .payment-icons .fa-3x { font-size: 2rem; color: rgba(255, 255, 255, .75); }
.hm-site footer { font-size: .825rem; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.hm-site footer, .hm-site footer .copyright, .hm-site footer .list-inline, .hm-site footer .list-inline a { color: rgba(255, 255, 255, .7); }
.hm-site footer a { color: #fff; text-decoration: none; }
.hm-site footer a:hover, .hm-site footer a:focus { color: #fff; text-decoration: underline; }
.hm-site footer .list-inline { list-style: none; padding: 0; margin: 0; }
.hm-site footer .list-inline > li { display: inline-block; margin-left: .4rem; }
.hm-site .text-left { text-align: left; }
.hm-site .text-right { text-align: right; }
@media (min-width: 992px) and (max-width: 1199.98px) { .hm-site .hidden-md { display: none !important; } }

/* ---------- Compact hero (info pages) + hero image ---------- */
.hm-hero-compact { padding: 3.25rem 0 3.75rem; }
.hm-hero-compact h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.hm-hero-picture img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .25)); }
.hm-section-tight { padding: 0 0 4.5rem; }
.hm-section-alt + .hm-section-tight, .hm-section-alt.hm-section-tight { background: var(--hm-sky); }

/* ---------- Pricing cards ---------- */
.hm-plan-card {
  position: relative; height: 100%; display: flex; flex-direction: column;
  background: var(--hm-surface); border: 1px solid var(--hm-line); border-radius: 18px; padding: 1.75rem 1.5rem;
  box-shadow: var(--hm-shadow); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.hm-plan-card:hover { transform: translateY(-3px); box-shadow: var(--hm-shadow-lg); }
.hm-plan-card.is-featured { border: 2px solid var(--hm-blue); padding: calc(1.75rem - 1px) calc(1.5rem - 1px); }
.hm-plan-flag {
  position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%);
  background: var(--hm-blue); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 999px; white-space: nowrap;
}
.hm-plan-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hm-accent); }
.hm-plan-name { font-size: 1.3rem; margin: .15rem 0 .35rem; }
.hm-plan-desc { color: var(--hm-muted); font-size: .9rem; margin: 0 0 .75rem; min-height: 2.6em; }
.hm-plan-price .hm-price { font-size: 2.2rem; letter-spacing: -.02em; }
.hm-plan-note { font-size: .8rem; color: var(--hm-muted); margin-top: -.15rem; }
.hm-plan-card .btn { margin: 1.1rem 0 1.25rem; padding: .65rem 1rem; }
.hm-plan-features { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hm-line); padding-top: 1rem; }
.hm-plan-features li { position: relative; padding: .3rem 0 .3rem 1.45rem; font-size: .9rem; color: var(--hm-text); }
.hm-plan-features li::before { content: "\f00c"; position: absolute; left: 0; top: .6rem; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--hm-green); font-size: .78rem; line-height: 1; }
.hm-plan-features li strong { color: var(--hm-ink); font-weight: 600; }
.hm-plan-card.is-oos .hm-price { color: var(--hm-muted); }

/* ---------- Long-form text (policies, about) ---------- */
.hm-prose { max-width: 52rem; font-size: 1rem; line-height: 1.75; color: var(--hm-text); }
.hm-prose h2 { font-size: 1.45rem; margin: 2.25rem 0 .75rem; }
.hm-prose h3 { font-size: 1.15rem; margin: 1.75rem 0 .6rem; }
.hm-prose h2:first-child, .hm-prose h3:first-child { margin-top: 0; }
.hm-prose p, .hm-prose ul, .hm-prose ol { margin-bottom: 1rem; }
.hm-prose ul, .hm-prose ol { padding-left: 1.25rem; }
.hm-prose li { margin-bottom: .35rem; }
.hm-prose a { color: var(--hm-accent); }
.hm-prose strong { color: var(--hm-ink); }
.hm-prose-full { max-width: none; }
.hm-prose .hm-card h3, .hm-prose .hm-award h3, .hm-prose .hm-tile strong { margin-top: 0; }
.hm-prose table { width: 100%; margin-bottom: 1.25rem; border-collapse: collapse; font-size: .95rem; }
.hm-prose th, .hm-prose td { border: 1px solid var(--hm-line); padding: .55rem .75rem; text-align: left; vertical-align: top; }
.hm-prose th { background: var(--hm-surface-2); color: var(--hm-ink); }

/* ---------- Contact tiles, image card, misc ---------- */
.hm-tile { display: flex; gap: 1rem; align-items: flex-start; height: 100%; background: var(--hm-surface); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); padding: 1.25rem; text-decoration: none; color: var(--hm-text); transition: border-color .15s ease, transform .15s ease; }
a.hm-tile:hover { border-color: var(--hm-accent); transform: translateY(-2px); color: var(--hm-text); }
.hm-tile .hm-ico { margin: 0; flex: none; }
.hm-tile strong { display: block; color: var(--hm-ink); font-weight: 600; }
.hm-tile span { color: var(--hm-muted); font-size: .9rem; overflow-wrap: anywhere; }
.hm-imgcard { border-radius: var(--hm-radius); overflow: hidden; border: 1px solid var(--hm-line); box-shadow: var(--hm-shadow); background: var(--hm-surface); }
.hm-imgcard img { display: block; width: 100%; height: auto; }
.hm-note { font-size: .875rem; color: var(--hm-muted); }
.hm-note i { color: var(--hm-accent); }
.hm-product-card { display: flex; flex-direction: column; height: 100%; background: var(--hm-surface); border: 1px solid var(--hm-line); border-radius: 18px; padding: 1.5rem; text-decoration: none; color: var(--hm-text); box-shadow: var(--hm-shadow); transition: transform .15s ease, border-color .15s ease; }
.hm-product-card:hover { transform: translateY(-3px); border-color: var(--hm-accent); color: var(--hm-text); }
.hm-product-card h3 { font-size: 1.15rem; margin: 0 0 .35rem; }
.hm-product-card p { color: var(--hm-muted); font-size: .92rem; margin: 0 0 1rem; flex: 1; }
.hm-product-card .hm-from { font-size: .85rem; color: var(--hm-muted); }
.hm-product-card .hm-from strong { font-size: 1.35rem; color: var(--hm-ink); font-weight: 700; }
.hm-product-card .hm-go { margin-top: .75rem; font-weight: 600; color: var(--hm-accent); font-size: .92rem; }

/* ---------- OS tabs ---------- */
.hm-os { background: var(--hm-surface); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); box-shadow: var(--hm-shadow); overflow: hidden; }
.hm-os-nav { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--hm-line); background: var(--hm-surface-2); }
.hm-os-nav .nav-item { flex: 1 1 0; min-width: 7.5rem; }
.hm-os-nav .nav-link {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: 1rem .5rem;
  border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; color: var(--hm-text); font-weight: 600; font-size: .9rem;
}
.hm-os-nav .nav-link img { width: 40px; height: 40px; object-fit: contain; }
.hm-os-nav .nav-link:hover { color: var(--hm-accent); background: var(--hm-hover); }
.hm-os-nav .nav-link.active { color: var(--hm-accent); border-bottom-color: var(--hm-blue); background: var(--hm-surface); }
.hm-os-panes { padding: 1.5rem; }
.hm-os-panes p { color: var(--hm-text); }
.hm-os-panes p a { font-weight: 600; }
.hm-checks-2col { columns: 2; column-gap: 2rem; }
.hm-checks-2col li { break-inside: avoid; }
.hm-checks-lg li { font-size: 1rem; padding: .35rem 0; }
@media (max-width: 575.98px) { .hm-checks-2col { columns: 1; } }

/* ---------- Testimonials + review badges ---------- */
.hm-quote { height: 100%; margin: 0; display: flex; flex-direction: column; background: var(--hm-surface); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); padding: 1.5rem; box-shadow: var(--hm-shadow); }
.hm-quote-stars { color: #f5b301; font-size: .85rem; letter-spacing: 2px; margin-bottom: .75rem; }
.hm-quote blockquote { flex: 1; margin: 0 0 1.25rem; color: var(--hm-text); font-size: .97rem; line-height: 1.7; }
.hm-quote blockquote::before { content: "\201C"; display: block; font-size: 2.5rem; line-height: .8; color: var(--hm-accent); font-family: Georgia, serif; }
.hm-quote figcaption { display: flex; align-items: center; gap: .75rem; }
.hm-quote figcaption img { border-radius: 50%; object-fit: cover; }
.hm-quote figcaption strong { display: block; color: var(--hm-ink); font-weight: 600; }
.hm-quote figcaption small { color: var(--hm-muted); }
.hm-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.hm-badge-card { display: flex; flex-direction: column; align-items: center; gap: .5rem; min-width: 12rem; padding: 1rem 1.5rem; background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-radius); text-decoration: none; color: #26364a; font-size: .85rem; font-weight: 600; transition: transform .15s ease; }
.hm-badge-card:hover { transform: translateY(-2px); color: #154785; }
.hm-badge-card img { max-height: 64px; width: auto; max-width: 220px; }

/* ---------- Image + text rows ---------- */
.hm-split + .hm-split { margin-top: 3rem; }
.hm-split h3 { font-size: 1.45rem; margin-bottom: .75rem; }
.hm-split p { color: var(--hm-text); }
.hm-split-img { display: block; margin: 0 auto; max-height: 320px; width: auto; }
:root[data-bs-theme="dark"] .hm-split-img, :root[data-bs-theme="dark"] .hm-flat-img { filter: brightness(.92); }

/* ---------- Map ---------- */
.hm-map { position: relative; max-width: 1000px; margin: 0 auto; border-radius: var(--hm-radius); overflow: hidden; background: #0f2f63; }
.hm-map img { display: block; width: 100%; height: auto; }
.hm-map-pin { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .3); }
.hm-map-pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(61, 220, 151, .55); animation: hm-pulse 2s ease-out infinite; }
@keyframes hm-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hm-map-legend { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.hm-map-legend i { color: var(--hm-green); }
.hm-map-legend a { color: var(--hm-text); text-decoration: none; font-weight: 500; }
.hm-map-legend a:hover { color: var(--hm-accent); }

/* ---------- Order split button (plan with several locations) ---------- */
.hm-order-split .btn:first-child { min-width: 7rem; }
.hm-order-split .dropdown-menu { --bs-dropdown-bg: var(--hm-surface); --bs-dropdown-border-color: var(--hm-line); --bs-dropdown-link-color: var(--hm-text); --bs-dropdown-link-hover-bg: var(--hm-sky); border-radius: 12px; padding: .4rem; }
.hm-order-split .dropdown-item { border-radius: 8px; font-size: .9rem; }
.hm-order-split .dropdown-item i { color: var(--hm-accent); }
@media (max-width: 991.98px) { .hm-order-split { width: 100%; } .hm-order-split .btn:first-child { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .hm-map-pin::after { animation: none; } }

/* ---------- Info pages: sidebar, timeline, awards ---------- */
@media (min-width: 992px) { .hm-sticky { position: sticky; top: 96px; } }
.hm-sidelinks { list-style: none; padding: 0; margin: 0; }
.hm-sidelinks li { padding: .2rem 0; }
.hm-sidelinks a { color: var(--hm-text); text-decoration: none; font-size: .925rem; }
.hm-sidelinks a:hover { color: var(--hm-accent); }
.hm-prose .table-responsive { margin-bottom: 1.25rem; border: 1px solid var(--hm-line); border-radius: 10px; }
.hm-prose .table-responsive table { margin: 0; }
.hm-prose .table-responsive th, .hm-prose .table-responsive td { border-width: 0 0 1px 0; white-space: nowrap; }
.hm-prose td img { width: 22px; height: 22px; vertical-align: -5px; margin-right: .4rem; }
.hm-timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 52rem; position: relative; }
.hm-timeline::before { content: ""; position: absolute; left: 3.4rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--hm-line); }
.hm-timeline li { position: relative; display: flex; gap: 1.5rem; padding: 0 0 1.75rem; }
.hm-tl-year { flex: none; width: 4.6rem; text-align: center; font-weight: 700; color: #fff; background: var(--hm-blue); border-radius: 999px; padding: .25rem 0; font-size: .9rem; height: fit-content; position: relative; z-index: 1; margin-left: 1.1rem; }
.hm-tl-body { background: var(--hm-surface); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); padding: 1rem 1.25rem; flex: 1; }
.hm-tl-body h3 { font-size: 1.05rem; margin: 0 0 .35rem; text-transform: none; }
.hm-tl-body p { margin: 0; color: var(--hm-text); font-size: .95rem; }
@media (max-width: 575.98px) { .hm-timeline::before { left: 2.3rem; } .hm-tl-year { margin-left: 0; } .hm-timeline li { gap: 1rem; } }
.hm-award { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--hm-surface); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); padding: 1.25rem; height: 100%; }
.hm-award-logo { flex: none; width: 120px; height: 90px; display: grid; place-items: center; background: #fff; border-radius: 10px; border: 1px solid var(--hm-line); padding: .5rem; }
.hm-award-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hm-award h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.hm-award h3 a { color: var(--hm-ink); text-decoration: none; }
.hm-award h3 a:hover { color: var(--hm-accent); }
.hm-award p { margin: 0; font-size: .93rem; color: var(--hm-text); }
@media (max-width: 575.98px) { .hm-award { flex-direction: column; } }
.hm-map-embed { border-radius: var(--hm-radius); overflow: hidden; border: 1px solid var(--hm-line); box-shadow: var(--hm-shadow); }
.hm-map-embed iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- Homepage "also available" links ---------- */
.hm-more-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; }
.hm-more-links span { color: var(--hm-muted); font-size: .9rem; margin-right: .25rem; }
.hm-more-links a { border: 1px solid var(--hm-line); background: var(--hm-surface); color: var(--hm-text); text-decoration: none; border-radius: 999px; padding: .4rem .9rem; font-size: .9rem; font-weight: 500; }
.hm-more-links a:hover { border-color: var(--hm-accent); color: var(--hm-accent); }

/* ---------- "Paying from the UK?" bar ---------- */
.hm-geo { background: #fff4d6; color: #5a4300; font-size: .875rem; padding: .5rem 0; border-bottom: 1px solid #f0dca0; }
.hm-geo a { color: #7a4f00; font-weight: 600; }
.hm-geo-x { background: none; border: 0; font-size: 1.3rem; line-height: 1; color: inherit; cursor: pointer; padding: 0 .25rem; }
:root[data-bs-theme="dark"] .hm-geo { background: #3a2f0d; color: #f5e2a8; border-color: #5a4a17; }
:root[data-bs-theme="dark"] .hm-geo a { color: #ffd66b; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hm-hero { padding: 3rem 0 4.5rem; }
  .hm-price-card { margin: 2.5rem auto 0; }
  .hm-trust-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-trust-item:nth-child(3) { border-left: 0; }
  .hm-trust-item:nth-child(n+3) { border-top: 1px solid var(--hm-line); }
}
@media (max-width: 575.98px) {
  .hm-hero-points { grid-template-columns: 1fr; }
  .hm-trust-inner { grid-template-columns: 1fr; }
  .hm-trust-item + .hm-trust-item { border-left: 0; border-top: 1px solid var(--hm-line); }
  .hm-section { padding: 3.25rem 0; }
  .hm-cta { padding: 1.75rem; }
  .hm-site footer .text-right, .hm-site footer .text-left { text-align: center; }
  .hm-site footer .list-inline { margin-top: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-feature, .hm-navbar, .hm-plan-table tbody tr, .hm-theme-toggle { transition: none; }
  .hm-feature:hover { transform: none; }
}
