@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #1A6B9A;
  --blue-dark:  #0F4F74;
  --blue-deep:  #0B3D5C;
  --blue-navy:  #0C1C2E;
  --blue-light: #E8F4FA;
  --green:      #7AB827;
  --green-dark: #5A9E2F;
  --green-light:#F0F7E4;
  --green-mid:  #A8D44E;
  --warm:       #F6F2EC;
  --tan:        #C9A87C;
  --slate:      #4A5568;
  --muted:      #6B7280;
  --text:       #1C2B3A;
  --white:      #FFFFFF;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* NAV */
.nav { background: #0A5C8A; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; height: 68px; position: sticky; top: 0; z-index: 100; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 12px; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { background: var(--green) !important; color: #fff !important; padding: 8px 18px; border-radius: 6px; font-weight: 500 !important; font-size: 13px !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.nav-mobile { display: none; background: var(--blue-deep); padding: 16px 24px; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.08); }
.nav-mobile a { color: rgba(255,255,255,0.65); font-size: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: block; }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.nav-cta { background: var(--green); color: #fff !important; padding: 12px 18px; border-radius: 6px; margin-top: 12px; text-align: center; border-bottom: none; }
.nav-mobile a.nav-phone { color: rgba(255,255,255,0.88) !important; font-weight: 500; }

/* SHARED */
.tag { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--green-dark); font-weight: 500; margin-bottom: 12px; display: block; }
.sec-h { font-family: var(--serif); font-size: clamp(26px, 3.5vw, 42px); line-height: 1.2; color: var(--text); margin-bottom: 16px; font-weight: 500; }
.sec-h.white { color: #fff; }
.body-p { font-size: 15px; line-height: 1.85; color: var(--slate); margin-bottom: 16px; font-weight: 300; }
.body-p strong { color: var(--text); font-weight: 500; }

/* BUTTONS */
.btn-primary { display: inline-block; background: var(--green); color: #fff; padding: 13px 28px; border-radius: 7px; font-size: 14px; font-weight: 500; font-family: var(--sans); transition: background 0.2s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-secondary { display: inline-block; background: transparent; color: var(--blue); padding: 12px 26px; border-radius: 7px; font-size: 14px; font-weight: 500; border: 1.5px solid var(--blue); transition: background 0.2s, color 0.2s; font-family: var(--sans); }
.btn-secondary:hover { background: var(--blue); color: #fff; }
.btn-white { display: inline-block; background: #fff; color: var(--blue-dark); padding: 13px 28px; border-radius: 7px; font-size: 14px; font-weight: 500; font-family: var(--sans); }
.btn-outline-white { display: inline-block; background: transparent; color: #fff; padding: 12px 26px; border-radius: 7px; font-size: 14px; font-weight: 500; border: 1.5px solid rgba(255,255,255,0.45); font-family: var(--sans); }

/* STATS BAR */
.stats-bar { background: var(--blue); padding: 20px 40px; display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { text-align: center; padding: 8px; border-right: 1px solid rgba(255,255,255,0.18); }
.stat-item:last-child { border-right: none; }
.stat-n { font-family: var(--serif); font-size: 22px; color: #fff; display: block; font-weight: 500; word-break: break-word; hyphens: auto; }
.stat-l { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 2px; }

/* PAGE HERO */
.page-hero { background: var(--blue-navy); padding: 64px 40px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(122,184,39,0.1) 0%, transparent 68%); pointer-events: none; }
.page-hero .tag { color: var(--green); }

/* CTA SECTION */
.cta-section { background: var(--blue); padding: 72px 40px; text-align: center; }
.cta-section h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); color: #fff; margin-bottom: 12px; font-weight: 500; }
.cta-section p { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 32px; font-weight: 300; max-width: 440px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer { background: #0A5C8A; padding: 48px 40px 28px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
.footer-logo img { height: 36px; width: auto; margin-bottom: 12px; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 180px; }
.footer-col-title { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,0.3); font-weight: 500; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 8px; transition: color 0.2s; line-height: 1.5; }
.footer-col a:hover { color: #fff; }
.footer-col a.green { color: var(--green); }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-ack { font-size: 10px; color: rgba(255,255,255,0.2); max-width: 480px; text-align: right; line-height: 1.7; }

/* ============================================
   TABLET — 768px to 1024px
   ============================================ */
@media (max-width: 1024px) {
  .nav { padding: 0 24px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
  .stats-bar { padding: 16px 24px; grid-template-columns: repeat(2,1fr); gap: 0; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 10px 8px; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .page-hero { padding: 56px 24px; }
  .cta-section { padding: 56px 24px; }
  .footer { padding: 40px 24px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ============================================
   MOBILE — below 768px
   ============================================ */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  /* Fixed under sticky bar so the panel stays in view when the page is scrolled */
  .nav-mobile {
    position: fixed;
    left: 0;
    right: 0;
    top: 68px;
    z-index: 99;
    width: 100%;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
  }
  .nav-mobile.open { display: flex; }
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 12px 20px; }
  .stat-n { font-size: 18px; }
  .page-hero { padding: 48px 20px; }
  .cta-section { padding: 48px 20px; }
  .footer { padding: 36px 20px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-ack { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns a, .cta-btns button { width: 100%; max-width: 300px; text-align: center; }
}

/* Form feedback (enquiry submissions) */
.form-ajax-msg {
  display: none;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(185, 28, 28, 0.25);
  background: #FEF2F2;
  color: #991B1B;
}
.btn-primary:disabled { opacity: 0.75; cursor: not-allowed; }

/* Consent / checkbox rows (Get started, Join our team) */
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  color: var(--slate);
  line-height: 1.55;
  -webkit-tap-highlight-color: transparent;
}
.form-checkbox-label input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  min-height: 1.125rem;
  margin: 2px 0 0 0;
  padding: 0;
  flex-shrink: 0;
  border: none;
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  z-index: 1;
  /* Native drawing so the checked state shows a tick (not stripped by form resets) */
  -webkit-appearance: auto;
  appearance: auto;
  accent-color: var(--green);
}
.form-checkbox-label span { flex: 1; min-width: 0; }
