/* New site header and footer (partials/site-header, partials/site-footer). Scoped to .sx-header / .sx-footer. */
.sx-header, .sx-footer {
  --sx-ink: #0d2318;
  --sx-text: #2c3d34;
  --sx-muted: #4f5f56;
  --sx-line: #dbe5df;
  --sx-soft: #f4f9f6;
  --sx-green: #007d3d;
  --sx-green-700: #005f2e;
  --sx-green-50: #e7f5ed;
  --sx-blue: #1f5e88;
  --sx-yellow: #f8e402;
  --sx-yellow-600: #e3d000;
  --sx-deep: #0b3a24;
  --sx-head: 'Lexend', 'Segoe UI', Roboto, sans-serif;
  --sx-body: 'Source Sans 3', 'Segoe UI', Roboto, sans-serif;
  --sx-ease: cubic-bezier(.16, 1, .3, 1);
  font-family: var(--sx-body);
  line-height: 1.5;
}
.sx-header *, .sx-footer * { box-sizing: border-box; }
.sx-header ul, .sx-footer ul { list-style: none; margin: 0; padding: 0; }
.sx-header p, .sx-footer p { margin: 0; line-height: 1.5; }
.sx-header a, .sx-footer a { text-decoration: none; }
.sx-header :focus-visible, .sx-footer :focus-visible { outline: 3px solid var(--sx-blue); outline-offset: 2px; border-radius: 6px; }
.sx-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sx-wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

.sx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; font-family: var(--sx-head); font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap; border: 0; cursor: pointer; transition: background-color .2s, transform .25s var(--sx-ease), box-shadow .25s; }
.sx-btn:hover { transform: translateY(-1px); }
.sx-btn--cta { background: var(--sx-yellow); color: #111; box-shadow: 0 6px 16px rgba(227, 208, 0, .35); }
.sx-btn--cta:hover { background: var(--sx-yellow-600); color: #111; }
.sx-btn--green { background: var(--sx-green); color: #fff; }
.sx-btn--green:hover { background: var(--sx-green-700); color: #fff; }
.sx-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.sx-header { position: sticky; top: 0; z-index: 90; background: #fff; }
.sx-util { background: var(--sx-deep); color: #d5ebdf; font-size: 14px; }
.sx-util__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.sx-util__trust { display: flex; align-items: center; gap: 8px; color: #d5ebdf; }
.sx-badge { padding: 2px 9px; border-radius: 999px; background: var(--sx-yellow); color: #111; font-family: var(--sx-head); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.sx-util__links { display: flex; align-items: center; gap: 20px; }
.sx-util__links a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; }
.sx-util__links a:hover { color: var(--sx-yellow); }
.sx-util__links .sx-i { width: 15px; height: 15px; color: var(--sx-yellow); }
.sx-cart { position: relative; }
.sx-cart__n { position: absolute; top: -7px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--sx-yellow); color: #111; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

.sx-bar { border-bottom: 1px solid var(--sx-line); background: #fff; transition: box-shadow .25s; }
.sx-header.is-scrolled .sx-bar { box-shadow: 0 8px 24px rgba(13, 35, 24, .08); }
.sx-bar__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.sx-logo { flex: none; display: flex; align-items: center; }
.sx-logo img { width: 150px; height: auto; display: block; }
.sx-nav { flex: 1; min-width: 0; }
.sx-menu { display: flex; align-items: center; justify-content: center; gap: 2px; }
.sx-menu > li > a, .sx-menu__btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; font-family: var(--sx-head); font-size: 15px; font-weight: 500; color: var(--sx-ink); background: none; border: 0; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s; }
.sx-menu > li > a:hover, .sx-menu__btn:hover, .sx-menu__btn[aria-expanded="true"] { background: var(--sx-green-50); color: var(--sx-green-700); }
.sx-menu__btn .sx-i { width: 16px; height: 16px; transition: transform .25s var(--sx-ease); }
.sx-menu__btn[aria-expanded="true"] .sx-i { transform: rotate(180deg); }
.sx-menu__drawer-only, .sx-drawer-contact { display: none; }
.sx-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.sx-icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--sx-ink); border: 1px solid var(--sx-line); transition: border-color .2s, color .2s; }
.sx-icon-btn:hover { border-color: var(--sx-green); color: var(--sx-green); }
.sx-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--sx-line); background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.sx-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--sx-ink); transition: transform .3s var(--sx-ease), opacity .2s; }
.sx-header.drawer-open .sx-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sx-header.drawer-open .sx-burger span:nth-child(2) { opacity: 0; }
.sx-header.drawer-open .sx-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Courses mega menu (desktop) */
.sx-has-mega { position: static; }
.sx-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--sx-line); box-shadow: 0 24px 48px rgba(13, 35, 24, .14); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .3s var(--sx-ease), visibility .2s; }
.sx-header.mega-open .sx-mega { opacity: 1; visibility: visible; transform: none; }
.sx-mega__grid { max-width: 1200px; margin: 0 auto; padding: 28px 16px 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.sx-mega__topic { display: block; font-family: var(--sx-head); font-weight: 600; font-size: 16px; color: var(--sx-ink); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 3px solid var(--sx-green-50); }
.sx-mega__col:nth-child(1) .sx-mega__topic { border-color: #f4c20d; }
.sx-mega__col:nth-child(2) .sx-mega__topic { border-color: #13a152; }
.sx-mega__col:nth-child(3) .sx-mega__topic { border-color: #1f5e88; }
.sx-mega__col:nth-child(4) .sx-mega__topic { border-color: #4b2e83; }
.sx-mega__topic:hover { color: var(--sx-green); }
.sx-mega__col li a { display: block; padding: 6px 0; font-size: 15px; color: var(--sx-text); transition: color .2s, padding-left .25s var(--sx-ease); }
.sx-mega__col li a:hover { color: var(--sx-green-700); padding-left: 4px; }
.sx-mega__foot { max-width: 1200px; margin: 0 auto; padding: 14px 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--sx-line); font-size: 15px; color: var(--sx-muted); }
.sx-scrim { position: fixed; inset: 0; background: rgba(13, 35, 24, .45); z-index: -1; }

/* ---------- Footer ---------- */
.sx-footer { background: var(--sx-deep); color: #c9dfd2; font-size: 15px; }
.sx-footer__stripe { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; }
.sx-footer__stripe span:nth-child(1) { background: #f4c20d; }
.sx-footer__stripe span:nth-child(2) { background: #13a152; }
.sx-footer__stripe span:nth-child(3) { background: #1f5e88; }
.sx-footer__stripe span:nth-child(4) { background: #4b2e83; }
.sx-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px 48px; }
.sx-footer h2 { font-family: var(--sx-head); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.sx-footer__brand img { width: 170px; height: auto; display: block; margin-bottom: 18px; }
.sx-footer__brand > p { color: #c9dfd2; max-width: 38ch; }
.sx-contact { margin-top: 18px !important; display: grid; gap: 10px; }
.sx-contact li { display: flex; align-items: flex-start; gap: 10px; }
.sx-contact .sx-i { color: var(--sx-yellow); margin-top: 3px; }
.sx-contact a { color: #fff; font-weight: 600; }
.sx-contact a:hover { color: var(--sx-yellow); }
.sx-social { display: flex; gap: 10px; margin-top: 20px; }
.sx-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .25); transition: background-color .2s, color .2s, border-color .2s; }
.sx-social a:hover { background: var(--sx-yellow); border-color: var(--sx-yellow); color: #111; }
.sx-footer__col ul { display: grid; gap: 4px; }
.sx-footer__col ul a { display: inline-block; padding: 4px 0; color: #c9dfd2; transition: color .2s, transform .25s var(--sx-ease); }
.sx-footer__col ul a:hover { color: #fff; transform: translateX(3px); }
.sx-footer__col .sx-btn { margin-top: 18px; }
.sx-posts { gap: 14px !important; }
.sx-posts a { display: block !important; padding: 0 !important; }
.sx-posts strong { display: block; font-family: var(--sx-head); font-weight: 500; font-size: 15px; line-height: 1.35; color: #fff; }
.sx-posts small { display: block; margin-top: 3px; font-size: 13px; color: #9fbfae; }
.sx-posts a:hover strong { color: var(--sx-yellow); }
.sx-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--sx-yellow); font-weight: 600; }
.sx-more:hover { text-decoration: underline; }
.sx-more .sx-i { width: 16px; height: 16px; }
.sx-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.sx-footer__bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 20px; font-size: 14px; color: #9fbfae; }
.sx-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.sx-footer__bottom nav a { color: #c9dfd2; }
.sx-footer__bottom nav a:hover { color: #fff; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .sx-menu > li > a, .sx-menu__btn { padding: 10px 9px; font-size: 14px; }
  .sx-bar__in { gap: 14px; }
}
@media (max-width: 1080px) {
  .sx-util__hours, .sx-util__sep { display: none; }
  .sx-burger { display: inline-flex; }
  .sx-bar__in { min-height: 64px; }
  .sx-logo img { width: 130px; }
  .sx-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 2; padding: 84px 20px calc(96px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--sx-ease); box-shadow: -24px 0 48px rgba(13, 35, 24, .18); visibility: hidden; }
  .sx-header.drawer-open .sx-nav { transform: none; visibility: visible; }
  .sx-actions { margin-left: auto; position: relative; z-index: 3; }
  .sx-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .sx-menu > li { border-bottom: 1px solid var(--sx-line); }
  .sx-menu > li > a, .sx-menu__btn { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 17px; border-radius: 0; }
  .sx-menu > li > a:hover, .sx-menu__btn:hover, .sx-menu__btn[aria-expanded="true"] { background: none; }
  .sx-menu__drawer-only { display: block; }
  .sx-mega { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .sx-header.mega-open .sx-mega { display: block; }
  .sx-mega__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 4px 4px 16px; }
  .sx-mega__foot { flex-direction: column; align-items: flex-start; padding: 0 4px 16px; border: 0; }
  .sx-drawer-contact { display: grid; gap: 12px; margin-top: 20px; }
  .sx-drawer-contact a { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--sx-ink); }
  .sx-drawer-contact .sx-i { color: var(--sx-green); }
  .sx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sx-util__links a span { display: none; }
  .sx-util__links { gap: 16px; }
  .sx-util__links .sx-i { width: 18px; height: 18px; }
  .sx-util__trust { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .sx-util__trust .sx-badge { display: none; }
  .sx-actions .sx-btn--cta { padding: 8px 14px; min-height: 40px; font-size: 14px; }
  .sx-actions .sx-icon-btn { display: none; }
  .sx-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 48px 32px; }
}
/* The site's fixed bottom bar (.fixed-enq) covers the last 60px on small screens. */
@media (max-width: 767px) {
  .sx-footer__bottom-in { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .sx-header *, .sx-footer * { transition: none !important; }
}

/* ---------- Popups: enquiry (#modal1), search (#modal2), thank you (#modal3), discount (.friday-popup-sixsigma) ----------
   Styling only; the forms, field names and scripts are unchanged. Loads only on pages with the new chrome. */
@keyframes sx-modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.jquery-modal.blocker { background: rgba(8, 28, 18, .58); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 24px 16px; }
#modal1.modal, #modal2.modal, #modal3.modal { max-width: 600px; width: 100%; padding: 0; border-radius: 24px; border: 0; box-shadow: 0 40px 90px rgba(0, 0, 0, .35); overflow: hidden; background: #fff; font-family: 'Source Sans 3', 'Segoe UI', Roboto, sans-serif; text-align: left; animation: sx-modal-in .35s cubic-bezier(.16, 1, .3, 1); }
#modal2.modal, #modal3.modal { max-width: 520px; }
#modal1 .modal-head, #modal2 .modal-head, #modal3 .modal-head, #modal1 .background-desktop, #modal2 .background-desktop, #modal3 .background-desktop { display: none; }
#modal1 .modal-body, #modal2 .modal-body, #modal3 .modal-body { display: block; padding: 0; }
#modal1 .modal-body::before, #modal1 .modal-body::after, #modal2 .modal-body::before, #modal2 .modal-body::after, #modal3 .modal-body::before, #modal3 .modal-body::after { display: none; }
#modal1 .modal-body .modal-form, #modal2 .modal-body .modal-form, #modal3 .modal-body .modal-form { width: 100%; min-height: 0; padding: 0; margin: 0; background: #fff; box-shadow: none; }

/* Close button: a white X on the coloured header */
.jquery-modal .modal a.close-modal { top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .18) none; text-indent: -9999px; overflow: hidden; z-index: 5; transition: background-color .2s, transform .25s; }
.jquery-modal .modal a.close-modal::before, .jquery-modal .modal a.close-modal::after { content: ""; position: absolute; left: 11px; top: 18px; width: 16px; height: 2px; border-radius: 2px; background: #fff; transform: rotate(45deg); }
.jquery-modal .modal a.close-modal::after { transform: rotate(-45deg); }
.jquery-modal .modal a.close-modal:hover { background-color: rgba(255, 255, 255, .3); transform: rotate(90deg); }
#modal3.modal a.close-modal, #modal2.modal a.close-modal { background-color: #eef4f0; }
#modal3.modal a.close-modal::before, #modal3.modal a.close-modal::after, #modal2.modal a.close-modal::before, #modal2.modal a.close-modal::after { background: #0d2318; }

/* Enquiry form */
#modal1.modal-blocker .modal-body .modal-form .form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 28px 26px; background: #fff; box-shadow: none; }
#modal1.modal-blocker .modal-body .modal-form .form > * { grid-column: 1 / -1; margin: 0; }
#modal1.modal-blocker .modal-body .modal-form .form > .input-container:not(.message) { grid-column: auto; }
#modal1.modal-blocker .modal-body .modal-form .form .heading { margin: 0 -28px 6px; padding: 28px 70px 22px 28px; background: radial-gradient(400px 200px at 100% 0%, rgba(248, 228, 2, .22), transparent 60%), linear-gradient(135deg, #0b5a33, #007d3d 60%, #1f5e88); }
#modal1.modal-blocker .modal-body .modal-form .form .heading h2 { margin: 0; text-align: left; font-family: 'Lexend', 'Segoe UI', Roboto, sans-serif; font-size: 24px; font-weight: 700; line-height: 1.2; color: #fff; }
#modal1.modal-blocker .modal-body .modal-form .form .heading::after { content: "Tell us what you need. An adviser replies by phone or email with your options, dates and a quote."; display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
#modal1.modal-blocker .modal-body .modal-form .form label img { display: none; }
#modal1.modal-blocker .modal-body .modal-form .form .tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 0; }
#modal1.modal-blocker .modal-body .modal-form .form .tabs label { flex-basis: 100%; position: static; margin: 0 0 2px; padding: 0; background: none; font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: 0; color: #0d2318; }
#modal1.modal-blocker .modal-body .modal-form .form .tabs .item { position: relative; margin: 0; padding: 0 16px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid #cfdad3; background: #fff; cursor: pointer; transition: background-color .2s, border-color .2s; }
#modal1.modal-blocker .modal-body .modal-form .form .tabs .item p { margin: 0; font-size: 14px; font-weight: 600; color: #2c3d34; }
#modal1.modal-blocker .modal-body .modal-form .form .tabs .item input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
#modal1.modal-blocker .modal-body .modal-form .form .tabs .active { background: #007d3d; border-color: #007d3d; }
#modal1.modal-blocker .modal-body .modal-form .form .tabs .active p { color: #fff; }
#modal1.modal-blocker .modal-body .modal-form .form .input-container { display: block; position: relative; margin: 0; padding: 0; border: 0; height: auto; background: none; }
#modal1.modal-blocker .modal-body .modal-form .form .input-container label { position: static; display: block; margin: 0 0 6px; padding: 0; background: none; font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: 0; color: #0d2318; }
#modal1.modal-blocker .modal-body .modal-form .form .input-container input, #modal1.modal-blocker .modal-body .modal-form .form .input-container textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #cfdad3; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: #0d2318; box-shadow: none; transition: border-color .2s, box-shadow .2s; }
#modal1.modal-blocker .modal-body .modal-form .form .input-container textarea { height: 88px; padding: 10px 14px; resize: vertical; }
#modal1.modal-blocker .modal-body .modal-form .form .input-container input:focus, #modal1.modal-blocker .modal-body .modal-form .form .input-container textarea:focus { outline: 0; border-color: #007d3d; box-shadow: 0 0 0 4px rgba(0, 125, 61, .12); }
#modal1.modal-blocker .modal-body .modal-form .form .input-container .phonecode-field { height: 48px; padding: 0 12px; border: 1px solid #cfdad3; border-radius: 12px; box-shadow: none; background: #fff; }
#modal1.modal-blocker .modal-body .modal-form .form .input-container .phonecode-field:focus-within { border-color: #007d3d; box-shadow: 0 0 0 4px rgba(0, 125, 61, .12); }
#modal1.modal-blocker .modal-body .modal-form .form .input-container .phonecode-field input { height: 44px; border: 0; padding: 0 6px; box-shadow: none; }
#modal1.modal-blocker .modal-body .modal-form .form .input-container .phonecode-field input:focus { box-shadow: none; }
#modal1.modal-blocker .modal-body .modal-form .form .input-container .phonecode-field .country-code { border: 0; background: transparent; font-size: 15px; }
#modal1.modal-blocker .modal-body .modal-form .form .input-error input, #modal1.modal-blocker .modal-body .modal-form .form input.error { border-color: #c62828; }
#modal1.modal-blocker .modal-body .modal-form .form .form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: #4f5f56; }
#modal1.modal-blocker .modal-body .modal-form .form .form-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: #007d3d; }
#modal1.modal-blocker .modal-body .modal-form .form .form-consent label { position: static; margin: 0; padding: 0; font-size: 14px; font-weight: 400; text-transform: none; letter-spacing: 0; color: #4f5f56; background: none; }
#modal1.modal-blocker .modal-body .modal-form .form .consent-error p { margin: 0; color: #c62828; font-size: 14px; }
#modal1.modal-blocker .modal-body .modal-form .form .buttons { margin-top: 4px; }
#modal1.modal-blocker .modal-body .modal-form .form .buttons button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border: 0; border-radius: 999px; background: #f8e402; color: #111; font-family: 'Lexend', 'Segoe UI', Roboto, sans-serif; font-size: 16px; font-weight: 600; box-shadow: 0 10px 24px rgba(227, 208, 0, .4); cursor: pointer; transition: background-color .2s, transform .25s; }
#modal1.modal-blocker .modal-body .modal-form .form .buttons button:hover { background: #e3d000; transform: translateY(-1px); }

/* Thank you */
#modal3 .modal-body .modal-form { padding: 40px 32px 32px; text-align: center; }
#modal3 .enquireSuccess { display: grid; justify-items: center; gap: 8px; }
#modal3 .enquireSuccess::before { content: ""; width: 72px; height: 72px; margin-bottom: 8px; border-radius: 50%; background: #007d3d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/34px no-repeat; box-shadow: 0 0 0 10px #e7f5ed; }
#modal3 .enquireSuccess .text-real { margin: 0; font-family: 'Lexend', 'Segoe UI', Roboto, sans-serif; font-size: 24px; font-weight: 700; color: #0d2318; text-align: center; }
#modal3 .enquireSuccess > span { font-size: 16px; color: #4f5f56; }
#modal3 .enquireSuccess .enqus { margin: 0; font-size: 16px; color: #2c3d34; text-align: center; }
#modal3 .enquireSuccess .enqus a { color: #005f2e; font-weight: 700; }

/* Search */
#modal2 .modal-body .modal-form { padding: 32px 28px 28px; }
#modal2 .modal-form form .title { margin: 0 0 16px; font-family: 'Lexend', 'Segoe UI', Roboto, sans-serif; font-size: 22px; font-weight: 700; color: #0d2318; text-align: left; }
#modal2 .search-area { display: flex; align-items: center; height: 52px; padding: 0 16px; border: 1px solid #cfdad3; border-radius: 999px; background: #f4f9f6; }
#modal2 .search-area:focus-within { border-color: #007d3d; box-shadow: 0 0 0 4px rgba(0, 125, 61, .12); }
#modal2 .search-area .global-icon { display: none; }
#modal2 .search-area input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font-size: 16px; color: #0d2318; outline: 0; box-shadow: none; }
#modal2 .search-area .search-list.is-visible { border-radius: 12px; margin-top: 6px; box-shadow: 0 20px 40px rgba(13, 35, 24, .15); overflow: hidden; }
#modal2 .buttons { margin-top: 14px; }
#modal2 .buttons .button-yellow { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border-radius: 999px; background: #007d3d; color: #fff; font-family: 'Lexend', 'Segoe UI', Roboto, sans-serif; font-weight: 600; cursor: pointer; }

/* Discount popup (opens after 10 seconds) */
body .friday-popup-sixsigma { background: rgba(8, 28, 18, .58); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); align-items: center; justify-content: center; }
body .friday-popup-sixsigma .form { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); width: min(860px, calc(100% - 32px)); max-height: calc(100vh - 40px); margin: 20px auto; padding: 0; border-radius: 24px; overflow: hidden auto; background: #fff; box-shadow: 0 40px 90px rgba(0, 0, 0, .35); font-family: 'Source Sans 3', 'Segoe UI', Roboto, sans-serif; }
body .friday-popup-sixsigma .form .friday-cross { top: 14px; right: 14px; width: 38px; height: 38px; padding: 11px; background: #eef4f0; z-index: 3; }
body .friday-popup-sixsigma .form .friday-cross img { filter: none; }
body .friday-popup-sixsigma .form .friday-heading { grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 36px 30px; background: radial-gradient(420px 240px at 0% 0%, rgba(248, 228, 2, .3), transparent 60%), linear-gradient(150deg, #0b5a33, #007d3d 55%, #1f5e88); color: #fff; }
body .friday-popup-sixsigma .form .friday-heading::before { content: "Limited-time offer"; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #f8e402; color: #111; font-family: 'Lexend', 'Segoe UI', Roboto, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
body .friday-popup-sixsigma .form .friday-heading h2 { margin: 0; font-family: 'Lexend', 'Segoe UI', Roboto, sans-serif; font-size: 30px; font-weight: 700; line-height: 1.15; color: #fff; }
body .friday-popup-sixsigma .form .friday-heading h2 strong { font-size: 30px; color: #f8e402; -webkit-text-stroke: 0; }
body .friday-popup-sixsigma .form .friday-heading::after { content: "Up to 40% off Lean Six Sigma training, with the exam included. Tell us what you need and we will send your options."; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
body .friday-popup-sixsigma .form .form-content { padding: 30px 28px 26px; }
body .friday-popup-sixsigma .form .tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
body .friday-popup-sixsigma .form .tabs label { flex-basis: 100%; margin: 0; font-size: 14px; font-weight: 700; color: #0d2318; text-transform: none; }
body .friday-popup-sixsigma .form .tabs .item { position: relative; margin: 0; padding: 0 16px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid #cfdad3; background: #fff; }
body .friday-popup-sixsigma .form .tabs .item p { margin: 0; font-size: 14px; font-weight: 600; color: #2c3d34; }
body .friday-popup-sixsigma .form .tabs .item input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
body .friday-popup-sixsigma .form .tabs .active { background: #007d3d; border-color: #007d3d; }
body .friday-popup-sixsigma .form .tabs .active p { color: #fff; }
body .friday-popup-sixsigma .form .input-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body .friday-popup-sixsigma .form .input-list > .message, body .friday-popup-sixsigma .form .input-list > .checkEmail { grid-column: 1 / -1; }
body .friday-popup-sixsigma .form .input-fields { margin: 0; }
body .friday-popup-sixsigma .form .input-fields label { position: static; display: block; margin: 0 0 6px; padding: 0; background: none; font-size: 14px; font-weight: 700; color: #0d2318; text-transform: none; }
body .friday-popup-sixsigma .form .input-fields input, body .friday-popup-sixsigma .form .input-fields textarea, body .friday-popup-sixsigma .form .input-fields .phonecode-field { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #cfdad3; border-radius: 12px; background: #fff; box-shadow: none; font: inherit; font-size: 16px; }
body .friday-popup-sixsigma .form .input-fields textarea { height: 76px; padding: 10px 14px; }
body .friday-popup-sixsigma .form .input-fields .phonecode-field input { height: 42px; border: 0; padding: 0 6px; }
body .friday-popup-sixsigma .form .form-consent p { margin: 12px 0 0; font-size: 13px; color: #4f5f56; }
body .friday-popup-sixsigma .form .buttons { margin-top: 14px; }
body .friday-popup-sixsigma .form .buttons .button-yellow { width: 100%; height: 52px; border: 0; border-radius: 999px; background: #f8e402; color: #111; font-family: 'Lexend', 'Segoe UI', Roboto, sans-serif; font-size: 16px; font-weight: 600; letter-spacing: .02em; box-shadow: 0 10px 24px rgba(227, 208, 0, .4); cursor: pointer; }

@media (max-width: 640px) {
  #modal1.modal-blocker .modal-body .modal-form .form { grid-template-columns: minmax(0, 1fr); padding: 0 20px 22px; }
  #modal1.modal-blocker .modal-body .modal-form .form .heading { margin: 0 -20px 4px; padding: 24px 64px 18px 20px; }
  #modal1.modal-blocker .modal-body .modal-form .form .heading h2 { font-size: 21px; }
  body .friday-popup-sixsigma .form { grid-template-columns: minmax(0, 1fr); }
  body .friday-popup-sixsigma .form .friday-heading { grid-row: auto; padding: 26px 22px; }
  body .friday-popup-sixsigma .form .friday-heading h2, body .friday-popup-sixsigma .form .friday-heading h2 strong { font-size: 24px; }
  body .friday-popup-sixsigma .form .input-list { grid-template-columns: minmax(0, 1fr); }
  body .friday-popup-sixsigma .form .form-content { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #modal1.modal, #modal2.modal, #modal3.modal { animation: none; }
}

/* Discount popup: undo the old fixed widths, background artwork and outlined text */
body .friday-popup-sixsigma .form { background-image: none; justify-content: stretch; }
body .friday-popup-sixsigma .form .friday-heading { width: auto; align-self: stretch; }
body .friday-popup-sixsigma .form .friday-heading h2 { align-items: flex-start; text-align: left; }
body .friday-popup-sixsigma .form .friday-heading h2 strong::before { display: none; }
body .friday-popup-sixsigma .form .form-content { display: block; width: auto; }
body .friday-popup-sixsigma .form .form-content .input-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body .friday-popup-sixsigma .form .form-content .input-fields, body .friday-popup-sixsigma .form .form-content .input-fields:last-child { width: auto; }
body .friday-popup-sixsigma .form .form-content .input-list > .input-message { grid-column: 1 / -1; }
@media (max-width: 640px) {
  body .friday-popup-sixsigma .form .form-content .input-list { grid-template-columns: minmax(0, 1fr); }
}

/* Search popup: beat the older, more specific input and icon rules */
#modal2 .modal-form .search-area .global-icon { display: none !important; }
#modal2 .modal-form .search-area input.search-input { height: 48px; padding: 0 8px; border: 0; border-radius: 0; background: transparent; box-shadow: none !important; }
#modal2 .modal-form .buttons { display: block; width: 100%; }
#modal2 .modal-form .buttons .button-yellow { width: 100%; box-sizing: border-box; }
