:root {
  --sgm-navy: #0b2265;
  --sgm-blue: #0a8fe0;
  --sgm-yellow: #ffe45c;
  --sgm-red: #c8102e;
  --sgm-line: #d7deea;
  --sgm-field: #f6f7f9;
}

/* Page headings became h1 for SEO; keep the look they had as paragraphs. */
h1.titlebanner { font-weight: 400; line-height: 1.5; margin-bottom: 1rem; }

/* WhatsApp button */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1040;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  transition: transform .15s ease;
}
.whatsapp-float:hover, .whatsapp-float:focus { color: #fff; transform: scale(1.08); }

/* Enquiry popup */
.enq-dialog { max-width: 880px; }
.enq-content { position: relative; border: 0; border-radius: 20px; overflow: hidden; background: #fff; }
.enq-close {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--sgm-navy); color: #fff; font-size: 24px; line-height: 1;
}
.enq-grid { display: grid; grid-template-columns: 340px 1fr; }
.enq-side { background: #eaf5fd; min-height: 100%; }
.enq-side img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.enq-main { padding: 26px 30px 20px; min-width: 0; }
.enq-title {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 6px 22px;
  background: var(--sgm-yellow); border-radius: 26px 8px 22px 10px; transform: rotate(-1deg);
  color: var(--sgm-navy); font-size: 30px; font-weight: 800;
}
.enq-title span:last-child { color: var(--sgm-blue); }
.enq-lead { margin: 0 0 14px; color: var(--sgm-navy); font-size: 14px; line-height: 1.4; }
.enq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.enq-field {
  display: flex; align-items: stretch; margin-top: 10px; overflow: hidden;
  border: 1px solid var(--sgm-line); border-radius: 8px; background: var(--sgm-field);
}
.enq-field:focus-within { border-color: var(--sgm-blue); box-shadow: 0 0 0 2px rgba(10, 143, 224, .18); }
.enq-icon {
  flex: 0 0 46px; display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--sgm-line); color: #333; font-size: 20px;
}
.enq-field input, .enq-field select {
  flex: 1; min-width: 0; height: 42px; padding: 0 12px;
  border: 0; outline: 0; background: transparent; color: #222; font-size: 15px;
}
.enq-error { color: var(--sgm-red); font-size: 12.5px; line-height: 1.3; }
.enq-error:not(:empty) { margin-top: 3px; }
.enq-recaptcha { margin-top: 12px; }
.enq-submit {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 52px; margin-top: 14px; border: 0; border-radius: 8px;
  background: linear-gradient(180deg, #d9142f, #b30d26); color: #fff; font-size: 21px; font-weight: 700;
}
.enq-submit:disabled { opacity: .55; cursor: not-allowed; }
.enq-submit-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-left: 12px; padding-bottom: 4px;
  border-radius: 50%; background: #fff; color: var(--sgm-red); font-size: 24px; line-height: 1;
}
.enq-agree { display: flex; gap: 8px; margin: 12px 0 0; color: #333; font-size: 13px; line-height: 1.4; cursor: pointer; }
.enq-agree input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; }
.enq-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--sgm-line); color: var(--sgm-navy); font-size: 12.5px; line-height: 1.25; text-align: center;
}
.enq-trust div + div { border-left: 1px solid var(--sgm-line); }
.enq-trust div { padding: 0 6px; }
.enq-trust .iconify { display: block; margin: 0 auto 4px; font-size: 28px; }
.enq-success { padding: 70px 10px; text-align: center; color: var(--sgm-navy); }
.enq-success > .iconify { color: #1a9c4b; font-size: 64px; }
.enq-success h2 { margin: 10px 0; font-weight: 800; }

@media (max-width: 767.98px) {
  .enq-dialog { max-width: 460px; margin: 10px auto; padding: 0 8px; }
  .enq-grid { display: block; }
  .enq-side { display: none; }
  .enq-main { padding: 20px 16px 16px; }
  .enq-title { font-size: 25px; padding-right: 26px; }
  .enq-recaptcha { transform: scale(.9); transform-origin: left top; height: 72px; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

/* Message pages */
.message-quote-by { margin-top: -6px; color: #333; font-weight: 500; }

/* Blog */
.blog-hero { padding: 42px 0; background: var(--sgm-navy); color: #fff; }
.blog-hero h1 { margin: 0 0 6px; font-family: Fredoka, sans-serif; font-size: 34px; font-weight: 500; overflow-wrap: anywhere; }
.blog-hero p, .blog-hero p a { margin: 0; color: #dfe8ff; text-decoration: none; }
.blog-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--sgm-line); border-radius: 12px; background: #fff; color: inherit; text-decoration: none; }
.blog-card:hover { color: inherit; box-shadow: 0 8px 22px rgba(11, 34, 101, .14); }
.blog-card img, .blog-card-placeholder { width: 100%; height: 210px; object-fit: cover; background: #eaf5fd; }
.blog-card-body { padding: 16px 18px 18px; }
.blog-card h2 { margin: 6px 0 8px; color: var(--sgm-navy); font-size: 20px; font-weight: 600; }
.blog-card p { margin: 0; color: #444; font-size: 15px; }
.blog-date { color: #667; font-size: 13.5px; }
.blog-empty { padding: 70px 0; text-align: center; color: #556; }
.blog-article img { max-width: 100%; height: auto; }
.blog-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.blog-recent { position: sticky; top: 150px; padding: 18px; border: 1px solid var(--sgm-line); border-radius: 12px; }
.blog-recent h2 { margin: 0 0 10px; color: var(--sgm-navy); font-size: 19px; font-weight: 600; }
.blog-recent a { display: block; padding: 9px 0; border-top: 1px solid var(--sgm-line); color: var(--sgm-navy); text-decoration: none; }
.blog-recent a:hover { color: var(--sgm-blue); }

@media print { .whatsapp-float { display: none; } }
