/* =========================================================
   Common header & footer (includes/site-header.php, site-footer.php)
   Self-contained: works on both the new and old page templates.
   ========================================================= */
/* Plus Jakarta Sans, self-hosted (variable font, weights 200-800) */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/pjs-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/pjs-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --sc-blue: #2563eb;
  --sc-blue-dark: #1d4ed8;
  --sc-blue-soft: #eff6ff;
  --sc-green: #0b2943;      /* primary CTA on light sections — navy */
  --sc-green-dark: #16395a;
  --sc-orange: #ff6600;
  --sc-navy: #0b2943;
  --sc-ink: #111827;
  --sc-line: #e5e7eb;
  --sc-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.sh-wrap, .sh-wrap *, .site-footer, .site-footer *, .sf-bottom, .sf-bottom *, .sf-cta-wrap, .sf-cta-wrap * {
  box-sizing: border-box;
}
.sh-wrap, .site-footer, .sf-bottom, .sf-cta-wrap { font-family: var(--sc-font); }
.sh-wrap a, .site-footer a, .sf-bottom a, .sf-cta-wrap a { text-decoration: none; }
.sh-wrap ul, .site-footer ul { list-style: none; margin: 0; padding: 0; }
.sh-wrap svg, .site-footer svg, .sf-bottom svg, .sf-cta-wrap svg { display: inline-block; flex: 0 0 auto; vertical-align: middle; }

.sh-wrap a:focus-visible, .sh-wrap button:focus-visible,
.site-footer a:focus-visible, .sf-bottom a:focus-visible, .sf-cta-wrap a:focus-visible {
  outline: 2px solid var(--sc-orange);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.sh-wrap {
  position: sticky;
  top: 0;
  z-index: 1030;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--sc-line);
  box-shadow: 0 1px 8px rgba(15, 23, 42, .05);
}
.sh-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.sh-logo { display: inline-flex; flex: 0 0 auto; }

/* Brand logo (includes/logo.php) */
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; font-family: var(--sc-font); }
.brand-mark { display: block; flex: 0 0 auto; width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand-name em { font-style: normal; color: #ff6600; }
.brand-tag { font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.brand-dark .brand-name { color: #0b2943; }
.brand-dark .brand-tag { color: #64748b; }
.brand-light .brand-mark rect:first-child { fill: #fff; }
.brand-light .brand-mark path[fill="#fff"], .brand-light .brand-mark rect[fill="#fff"] { fill: #0b2943; }
.brand-light .brand-mark path[fill="#0b2943"] { fill: #fff; }
.brand-light .brand-mark path[stroke] { stroke: #0b2943; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-tag { color: rgba(255, 255, 255, .55); }

.sh-nav { margin-left: auto; }
.sh-nav ul { display: flex; align-items: center; gap: 4px; }
.sh-nav li { margin: 0; padding: 0; }
.sh-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--sc-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}
.sh-nav a:hover { color: var(--sc-blue); background: var(--sc-blue-soft); }
.sh-nav a.is-active { color: var(--sc-blue); font-weight: 600; }
.sh-call-mobile { display: none !important; }

.sh-actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.sh-call {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
  border-left: 1px solid var(--sc-line);
  color: var(--sc-ink);
  line-height: 1.25;
}
.sh-call-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sc-blue-soft);
  color: var(--sc-blue);
  transition: background-color .2s ease, color .2s ease;
}
.sh-call small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--sc-blue);
}
.sh-call strong { display: block; font-size: 14px; font-weight: 600; color: var(--sc-ink); }
.sh-call:hover .sh-call-icon { background: var(--sc-blue); color: #fff; }

.sh-book {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--sc-green);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(11, 41, 67, .18);
  transition: background-color .2s ease;
}
.sh-book:hover { background: var(--sc-green-dark); }

.sh-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--sc-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.sh-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--sc-ink);
  transition: transform .2s ease, opacity .2s ease;
}
.sh-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sh-toggle.is-open span:nth-child(2) { opacity: 0; }
.sh-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Friday notice ticker */
.sh-notice {
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--sc-line);
  padding: 7px 0;
}
.sh-notice-track {
  display: flex;
  width: max-content;
  animation: sh-marquee 28s linear infinite;
}
.sh-notice:hover .sh-notice-track { animation-play-state: paused; }
.sh-notice-item {
  padding-right: 64px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--sc-orange);
}
.sh-notice-item b { color: var(--sc-ink); font-weight: 600; }
@keyframes sh-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .sh-notice-track { animation: none; }
}

@media (max-width: 1199.98px) {
  .sh-bar { gap: 16px; }
  .sh-nav a { padding: 8px 9px; font-size: 14.5px; }
  .sh-call small { display: none; }
}
@media (max-width: 991.98px) {
  .sh-bar { min-height: 64px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 18px; }
  .sh-call { display: none; }
  .sh-toggle { display: inline-flex; }
  .sh-actions { margin-left: auto; gap: 10px; }
  .sh-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--sc-line);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
    display: none;
  }
  .sh-nav.is-open { display: block; }
  .sh-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .sh-nav a { padding: 12px; font-size: 15px; }
  .sh-call-mobile {
    display: block !important;
    margin-top: 8px;
    padding: 12px !important;
    border-radius: 8px;
    background: var(--sc-blue-soft);
    color: var(--sc-blue) !important;
    font-weight: 600 !important;
    text-align: center;
  }
  .site-header { position: relative; z-index: 2; }
  .sh-notice { position: relative; z-index: 1; }
}
@media (max-width: 575.98px) {
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 17px; }
  .brand-tag { font-size: 8.5px; letter-spacing: .1em; }
  .sh-book { padding: 0 14px; min-height: 38px; font-size: 13.5px; }
  .sh-notice-item { font-size: 13px; }
}

/* ---------- Footer CTA card ---------- */
.sf-cta-wrap {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  margin-bottom: -64px;
}
.sf-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 36px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(255, 255, 255, .16), transparent 60%),
    linear-gradient(120deg, var(--sc-blue) 0%, var(--sc-blue-dark) 55%, #1e3a8a 100%);
  box-shadow: 0 24px 50px rgba(15, 23, 42, .28);
}
.sf-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}
.sf-cta h2 {
  margin: 0 0 4px;
  font-family: var(--sc-font);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.sf-cta p { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.sf-cta p strong { color: #fff; }
.sf-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }
.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color .2s ease, transform .2s ease, color .2s ease;
}
.sf-btn-primary { background: var(--sc-green); color: #fff !important; box-shadow: 0 6px 16px rgba(255, 102, 0, .2); }
.sf-btn-primary:hover { background: var(--sc-green-dark); transform: translateY(-1px); }
.sf-btn-primary svg { transition: transform .2s ease; }
.sf-btn-primary:hover svg { transform: translateX(3px); }
.sf-btn-ghost { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .45); color: #fff !important; }
.sf-btn-ghost:hover { background: #fff; color: var(--sc-blue-dark) !important; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin: 0;
  padding: 56px 0 40px;
  background:
    radial-gradient(900px 380px at 88% -10%, rgba(37, 99, 235, .22), transparent 60%),
    radial-gradient(600px 300px at 0% 110%, rgba(249, 115, 22, .08), transparent 60%),
    var(--sc-navy);
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.6;
}
.site-footer.has-cta { padding-top: 112px; }
.site-footer p { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .7); }

.sf-logo { display: inline-block; margin-bottom: 18px; }
.site-footer .sf-about { max-width: 300px; margin-bottom: 20px; }

.sf-social { display: flex; gap: 10px; }
.sf-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.sf-social a:hover { transform: translateY(-2px); border-color: transparent; color: #fff; }
.sf-social a:nth-child(1):hover { background: #1877f2; }
.sf-social a:nth-child(2):hover { background: #e4405f; }
.sf-social a:nth-child(3):hover { background: #000; }
.sf-social a:nth-child(4):hover { background: #25d366; }

.site-footer .sf-title {
  position: relative;
  margin: 4px 0 18px;
  padding-bottom: 10px;
  font-family: var(--sc-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.site-footer .sf-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--sc-orange);
}

.sf-links li { margin: 0 0 10px; padding: 0; line-height: 1.6; }
.sf-links a {
  display: inline-flex;
  align-items: flex-start;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  transition: color .2s ease;
}
.sf-links a::before {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 0;
  margin: 8px 12px 0 0;
  border-left: 5px solid var(--sc-orange);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: margin .2s ease;
}
.sf-links a:hover { color: #fff; }
.sf-links a:hover::before { margin-right: 16px; }
.sf-links em {
  margin-left: 10px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(249, 115, 22, .14);
  color: #fdba74;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
}
.site-footer .sf-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}
.sf-note svg { color: var(--sc-orange); }

.sf-contact li { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; padding: 0; line-height: 1.5; }
.sf-contact li:last-child { margin-bottom: 0; }
.sf-ic {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(249, 115, 22, .12);
  color: var(--sc-orange);
}
.sf-contact small {
  display: block;
  margin-bottom: 2px;
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.sf-contact a { color: #fff; font-weight: 500; font-size: 14px; }
.sf-contact a:hover { color: var(--sc-orange); }

/* Bottom bar */
.sf-bottom {
  background: #081f33;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 16px 0;
  color: rgba(255, 255, 255, .6);
}
.sf-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.sf-bottom p { margin: 0; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .6); }
.sf-bottom a { color: var(--sc-orange); }
.sf-bottom a:hover { color: #fdba74; }
.sf-sep { margin: 0 6px; opacity: .5; }
.sf-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, .15);
}
.sf-secure svg { color: #4ade80; }

@media (max-width: 991.98px) {
  .site-footer { padding: 48px 0 36px; }
  .site-footer.has-cta { padding-top: 110px; }
  .sf-cta { flex-direction: column; align-items: flex-start; padding: 26px 28px; gap: 18px; }
  .site-footer .sf-about { max-width: 520px; }
}
@media (max-width: 767.98px) {
  .site-footer .row { --bs-gutter-y: 1.75rem; }
  .site-footer .sf-title { margin-bottom: 16px; }
  .sf-bottom-row { flex-direction: column; text-align: center; }
  .sf-sep { display: none; }
  .sf-credit-hi { display: block; }
  .sf-secure { display: flex; justify-content: center; margin: 6px 0 0; padding: 0; border: 0; }
  .sf-cta { padding: 26px 20px; border-radius: 16px; }
  .sf-cta h2 { font-size: 19px; }
  .sf-cta-actions { width: 100%; }
  .sf-btn { flex: 1 1 100%; }
  .sf-cta-wrap { margin-bottom: -110px; }
  .site-footer.has-cta { padding-top: 144px; }
  /* keep content clear of the fixed Call / WhatsApp bar */
  .sf-bottom { padding-bottom: 84px; }
}

/* Colour scheme: soft orange accent on dark surfaces */
.sf-btn-primary { background: #e2671f; box-shadow: 0 6px 16px rgba(226, 103, 31, .25); }
.sf-btn-primary:hover { background: #c85714; }
.brand-name em { color: #e2671f; }
.brand-mark rect:last-child { fill: #e2671f; }

/* image logo (includes/logo.php) */
.brand-img { display: block; width: auto; height: 54px; max-width: 100%; }
.sf-logo .brand-img { height: 58px; }
@media (max-width: 991.98px) { .brand-img { height: 46px; } }
@media (max-width: 575.98px) { .brand-img { height: 40px; } .sf-logo .brand-img { height: 50px; } }
/* footer: logo on a white plate (the artwork is made for white) */
.sf-logo .brand-light { display: inline-block; padding: 8px 12px; background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.sf-logo .brand-img { height: 50px; }
@media (max-width: 575.98px) { .sf-logo .brand-img { height: 44px; } }
/* links inside the credit sentence need more than colour to stand out */
.sf-bottom .sf-credit a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* colour contrast: orange CTA buttons with white text (WCAG AA) */
.sf-cta .sf-btn-primary { background: #c2530f !important; }
.sf-cta .sf-btn-primary:hover { background: #a8460b !important; }

/* iOS Safari zooms into any field under 16px on focus: keep form fields at 16px on phones/tablets */
@media (max-width: 991.98px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select, textarea { font-size: 16px !important; }
}

/* no double-tap zoom on phones (owner request; pinch zoom is off via the viewport meta) */
html { touch-action: pan-x pan-y; }

/* contact page: info box titles are h2 (heading order) but keep the old h4 look */
.contact-page .single-contact h2.sc-title { margin: 0 0 8px; font-family: inherit; font-size: 25px; font-weight: 600; line-height: 1.4; color: #110f0f; letter-spacing: normal; text-transform: none; }
@media (min-width: 992px) and (max-width: 1199.98px) { .contact-page .single-contact h2.sc-title { font-size: 23px; } }
@media (max-width: 991.98px) { .contact-page .single-contact h2.sc-title { font-size: 22px; } }
