:root {
  --navy: #0B2C55;
  --navy2: #0E3A75;
  --hero-bg: #0C2F5F;
  --navy-ft: #0A1F3D;
  --footer-bg: #0A1F3D;
  --blue: #2F7CF6;
  --blue2: #1D5FD1;
  --blue-lt: #EAF1FE;
  --bg: #F5F7FB;
  --white: #FFFFFF;
  --txt: #0B1220;
  --muted: #5B6475;
  --border: #E2E6EF;
  --green: #16a34a;
  --gold: #FBBC04;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--txt);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Global responsiveness safeguards */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  position: relative;
}

main,
header,
section,
footer,
nav {
  max-width: 100%;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img,
video {
  height: auto;
}

.container,
.wrap {
  width: 100%;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-home .sp {
  padding: 88px 0;
}

.page-home .sp-sm {
  padding: 64px 0;
}

.page-service .sp,
.page-location .sp {
  padding: 72px 0;
}

.page-location .sp-sm {
  padding: 52px 0;
}

.bg-l {
  background: var(--bg);
}

.bg-navy {
  background: var(--navy);
}

.tc {
  text-align: center;
}

.home-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.home-intro-lead {
  font-size: 18px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 18px;
}

.home-intro-copy {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto 24px;
}

.home-intro-copy--last {
  margin-bottom: 32px;
}

.section-actions {
  margin-top: 40px;
  text-align: center;
}

.content-actions {
  margin-top: 24px;
}

.wrap--narrow {
  max-width: 780px;
}

.wrap--case {
  max-width: 860px;
}

.sec-h2--spaced {
  margin-bottom: 28px;
}

.coverage-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* Homepage */

body.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all .18s;
  cursor: pointer;
}

body.page-home .btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

body.page-home .btn-primary:hover {
  background: var(--blue2);
  border-color: var(--blue2);
}

body.page-home .btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

body.page-home .btn-outline:hover {
  background: rgba(11, 44, 85, .05);
}

body.page-home .btn-outline-w {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

body.page-home .btn-outline-w:hover {
  background: rgba(255, 255, 255, .1);
}

body.page-home .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

body.page-home .section-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

body.page-home .section-intro {
  font-size: 16px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

body.page-home .hero {
  padding: 144px 0 80px;
}

body.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

body.page-home .hero-pill {
  display: inline-block;
  background: var(--blue-lt);
  color: var(--blue);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(47, 124, 246, .2);
}

body.page-home .hero h1 {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 14px;
}

body.page-home .hero-sub {
  font-size: 17px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.45;
}

body.page-home .hero-body {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 520px;
  line-height: 1.75;
}

body.page-home .hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

body.page-home .hero-trust {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0;
}

body.page-home .hero-trust strong {
  color: var(--navy);
}

body.page-home .hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

body.page-home .hero-grid > *,
body.page-home .why-grid > *,
body.page-home .loc-grid > *,
body.page-home .svc-grid > *,
body.page-home .svc-row2 > *,
body.page-home .footer-grid > * {
  min-width: 0;
}

body.page-home .footer-brand img {
  display: block;
  width: min(300px, 100%);
  height: auto;
}

body.page-home .problem-section {
  background: var(--navy);
  padding: 80px 0;
}

body.page-home .prob-head {
  text-align: center;
  margin-bottom: 48px;
}

body.page-home .prob-head .eyebrow {
  color: rgba(255, 255, 255, .45);
}

body.page-home .prob-head h2 {
  color: #fff;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
}

body.page-home .prob-head p {
  color: rgba(255, 255, 255, .6);
  font-size: 15px;
  max-width: 540px;
  margin: 12px auto 0;
  line-height: 1.7;
}

body.page-home .prob-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

body.page-home .prob-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 28px 22px;
}

body.page-home .prob-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .3);
  text-transform: uppercase;
  margin-bottom: 14px;
}

body.page-home .prob-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

body.page-home .prob-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, .58);
  line-height: 1.65;
}

body.page-home .svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

body.page-home .svc-row2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 24px auto 0;
}

body.page-home .svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}

body.page-home .svc-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .07);
}

body.page-home .svc-card.primary {
  border-color: var(--blue);
  box-shadow: 0 4px 18px rgba(47, 124, 246, .14);
}

body.page-home .primary-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: .4px;
}

body.page-home .card-img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 0;
}

body.page-home .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

body.page-home .card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

body.page-home .card-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 16px;
}

body.page-home .card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

body.page-home .card-link:hover {
  text-decoration: underline;
}

body.page-home .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

body.page-home .step {
  text-align: center;
  padding: 0 8px;
}

body.page-home .step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-lt);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

body.page-home .step.last .step-num {
  background: var(--blue);
  color: #fff;
}

body.page-home .step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

body.page-home .step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

body.page-home .why-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: center;
}

body.page-home .why-img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

body.page-home .why-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

body.page-home .cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}

body.page-home .cred-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 16px;
}

body.page-home .cred-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

body.page-home .cred-box h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

body.page-home .cred-box p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

body.page-home .loc-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

body.page-home .map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 380px;
}

body.page-home .map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

body.page-home .pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-home .suburb-pill {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  border-radius: 50px;
  text-decoration: none;
  transition: all .18s;
}

body.page-home .suburb-pill:hover {
  border-color: var(--blue);
  background: var(--blue-lt);
  color: var(--blue);
}

body.page-home .suburb-pill.ph2 {
  opacity: .5;
  font-style: italic;
  pointer-events: none;
}

body.page-home .faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.page-home .faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

body.page-home .faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  gap: 12px;
  list-style: none;
}

body.page-home .faq-q::-webkit-details-marker {
  display: none;
}

body.page-home .faq-q::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .2s;
}

body.page-home details[open] .faq-q::after {
  content: "\2212";
}

body.page-home .faq-a {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

body.page-home .faq-a a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

body.page-home .faq-a a:hover {
  text-decoration: underline;
}

body.page-home .cta-band {
  background: var(--navy);
  padding: 80px 0;
}

body.page-home .cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

body.page-home .cta-band h2 {
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

body.page-home .cta-band p {
  font-size: 17px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 32px;
  line-height: 1.65;
}

body.page-home .cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}

body.page-home .cta-phone {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: block;
  letter-spacing: .3px;
}

body.page-home .cta-phone:hover {
  text-decoration: underline;
}

body.page-home .cta-phone-label {
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
  margin-top: 4px;
}

body.page-home .footer {
  background: var(--navy-ft);
  color: rgba(255, 255, 255, .6);
  padding: 68px 0 32px;
  font-size: 14px;
}

body.page-home .footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 2fr;
  gap: 40px;
  margin-bottom: 52px;
}

body.page-home .footer-brand p {
  font-size: 13px;
  line-height: 1.75;
  margin: 16px 0 20px;
}

body.page-home .footer-col h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

body.page-home .footer-col ul {
  list-style: none;
}

body.page-home .footer-col li {
  margin-bottom: 10px;
}

body.page-home .footer-col a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: color .15s;
}

body.page-home .footer-col a:hover {
  color: #fff;
}

body.page-home .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .3);
  line-height: 1.9;
}

@media (max-width: 1024px) {
  body.page-home .hero-grid,
  body.page-home .why-grid,
  body.page-home .loc-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  body.page-home .prob-grid,
  body.page-home .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.page-home .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.page-home .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {body.page-home .svc-grid,
  body.page-home .svc-row2,
  body.page-home .steps-grid,
  body.page-home .prob-grid,
  body.page-home .footer-grid {
    grid-template-columns: 1fr;
  }

  body.page-home .cred-grid {
    grid-template-columns: 1fr;
  }

  body.page-home .sp {
    padding: 60px 0;
  }

  body.page-home .sp-sm {
    padding: 48px 0;
  }

  body.page-home .hero {
    padding: 108px 0 56px;
  }
}

/* Shared service/location components and service-page styles */
body.page-service .bc,
body.page-location .bc {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
body.page-service .bc__inner,
body.page-location .bc__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 13px;
  color: var(--muted);
}
body.page-service .bc__inner a,
body.page-location .bc__inner a {
  color: var(--muted);
}
body.page-service .bc__sep,
body.page-location .bc__sep {
  margin: 0 6px;
}
body.page-service .bc__cur,
body.page-location .bc__cur {
  color: var(--txt);
}

body.page-service .hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--hero-bg) 100%);
  overflow: hidden;
}

body.page-service .hero__img-wrap {
  width: 100%;
  aspect-ratio: 3 / 1;
  position: relative;
  overflow: hidden;
}

body.page-service .hero__img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.page-service .hero__img-overlay {
  position: absolute;
  inset: 0;
  display: none;
}

body.page-service .img-ph {
  background: #0a2040;
  border: 2px dashed rgba(47, 124, 246, .35);
  color: rgba(255, 255, 255, .5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 16px;
  gap: 4px;
  height: 100%;
  width: 100%;
}

body.page-service .img-ph span {
  font-size: 10px;
  opacity: .55;
  font-weight: 400;
}

body.page-service .img-ph-light {
  background: #E4ECF7;
  border: 2px dashed #3B7DD8;
  color: #3B7DD8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 16px;
  gap: 4px;
  height: 100%;
  width: 100%;
  border-radius: 8px;
}

body.page-service .img-ph-light span {
  font-size: 10px;
  opacity: .6;
  font-weight: 400;
}

body.page-service .hero__content {
  padding: 40px 0 52px;
}
body.page-service .hero__badge,
body.page-location .hero__badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  background: rgba(47, 124, 246, .18);
  border: 1px solid rgba(47, 124, 246, .4);
  border-radius: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, .85);
  font-weight: 500;
  margin-bottom: 18px;
}

body.page-service .hero h1 {
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
  max-width: 740px;
}

body.page-service .hero__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, .78);
  max-width: 620px;
  margin-bottom: 24px;
  line-height: 1.65;
}

body.page-service .hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

body.page-service .hero__trust {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .02em;
}

body.page-service .hero__trust strong {
  color: rgba(255, 255, 255, .75);
}

body.page-service .btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
}
body.page-service .btn--accent,
body.page-location .btn--accent {
  background: var(--blue);
  color: #fff;
}
body.page-service .btn--accent:hover,
body.page-location .btn--accent:hover {
  background: var(--blue2);
  color: #fff;
  text-decoration: none;
}
body.page-service .btn--ghost,
body.page-location .btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, .45);
  color: #fff;
}
body.page-service .btn--ghost:hover,
body.page-location .btn--ghost:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  text-decoration: none;
}
body.page-service .eyebrow,
body.page-location .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

body.page-service .eyebrow-w {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(47, 124, 246, .7);
  margin-bottom: 8px;
}

body.page-service .sec-h2 {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  color: var(--txt);
  line-height: 1.25;
  margin-bottom: 14px;
}

body.page-service .sec-h2-w {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
}

body.page-service .sec-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 36px;
}

body.page-service .sec-sub-w {
  font-size: 15px;
  color: rgba(255, 255, 255, .65);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 36px;
}

body.page-service .prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

body.page-service .prob-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  border-top: 3px solid var(--blue);
}

body.page-service .prob-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 10px;
}

body.page-service .prob-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

body.page-service .advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 28px;
}

body.page-service .advantage-body p {
  font-size: 15px;
  color: var(--txt);
  line-height: 1.75;
  margin-bottom: 18px;
}

body.page-service .advantage-body p:last-child {
  margin-bottom: 0;
}

body.page-service .adv-img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

body.page-service .scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

body.page-service .scope-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

body.page-service .scope-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

body.page-service .scope-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 10px;
}

body.page-service .scope-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.page-service .scope-ul li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

body.page-service .scope-ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

body.page-service .eng-box {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 36px;
}

body.page-service .eng-box__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(47, 124, 246, .7);
  margin-bottom: 8px;
}

body.page-service .eng-box__title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
}

body.page-service .eng-box__text {
  font-size: 14px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.7;
}

body.page-service .creds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

body.page-service .cred {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 20px;
}

body.page-service .cred__num {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .3);
  letter-spacing: .08em;
  margin-bottom: 6px;
}

body.page-service .cred__title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

body.page-service .cred__text {
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.55;
}

body.page-service .case-box {
  background: var(--navy);
  border-radius: 12px;
  padding: 36px;
  margin-top: 0;
}

body.page-service .case-box__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(47, 124, 246, .7);
  margin-bottom: 16px;
}

body.page-service .case-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

body.page-service .case-item__key {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 4px;
}

body.page-service .case-item__val {
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
}

body.page-service .case-quote {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 24px;
}

body.page-service .case-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

body.page-service .case-stars span {
  color: var(--gold);
  font-size: 16px;
}

body.page-service .case-quote__text {
  font-size: 16px;
  color: rgba(255, 255, 255, .9);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}

body.page-service .case-quote__meta strong {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
}

body.page-service .case-quote__meta span {
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}

body.page-service .case-replace {
  font-size: 11px;
  color: rgba(255, 255, 255, .28);
  margin-top: 14px;
  font-style: italic;
}

body.page-service .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

body.page-service .stat__num {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 6px;
  line-height: 1;
}

body.page-service .stat__label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

body.page-service .stat-note {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  margin-top: 12px;
}

body.page-service .related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

body.page-service .rel-link {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--txt);
}

body.page-service .rel-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  text-decoration: none;
}

body.page-service .sec-links {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

body.page-service .sec-links a {
  color: var(--muted);
}

body.page-service .sec-links a:hover {
  color: var(--blue);
}

body.page-service .faq-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.page-service .faq-item,
body.page-location .faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
body.page-service .faq-q,
body.page-location .faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--txt);
  gap: 12px;
  list-style: none;
  cursor: pointer;
}
body.page-service .faq-q::-webkit-details-marker,
body.page-location .faq-q::-webkit-details-marker {
  display: none;
}
body.page-service .faq-q::after,
body.page-location .faq-q::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
}
body.page-service details[open] .faq-q::after,
body.page-location details[open] .faq-q::after {
  content: "\2212";
}
body.page-service .faq-a,
body.page-location .faq-a {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
body.page-service .faq-a a,
body.page-location .faq-a a {
  color: var(--blue);
  font-weight: 600;
}
body.page-service .cta-band,
body.page-location .cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--hero-bg) 100%);
  padding: 72px 0;
  text-align: center;
}

body.page-service .cta-band h2 {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.25;
}

body.page-service .cta-band p {
  font-size: 16px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

body.page-service .cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

body.page-service .cta-phone {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: block;
  text-decoration: none;
}

body.page-service .cta-phone:hover {
  color: rgba(255, 255, 255, .85);
}
body.page-service .cta-phone-label,
body.page-location .cta-phone-label {
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  margin-top: 4px;
}
body.page-service .footer,
body.page-location .footer {
  background: var(--footer-bg);
  padding: 52px 0 24px;
}

body.page-service .footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 44px;
}
body.page-service .footer__name,
body.page-location .footer__name {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 10px;
}
body.page-service .footer__desc,
body.page-location .footer__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .42);
  line-height: 1.7;
}
body.page-service .footer__col-h,
body.page-location .footer__col-h {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
  margin-bottom: 14px;
}
body.page-service .footer__ul,
body.page-location .footer__ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

body.page-service .footer__ul a {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
}
body.page-service .footer__ul a:hover,
body.page-location .footer__ul a:hover {
  color: #fff;
}
body.page-service .footer__bottom,
body.page-location .footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
body.page-service .footer__legal,
body.page-location .footer__legal {
  font-size: 12px;
  color: rgba(255, 255, 255, .3);
}

@media(max-width:1024px) {
  body.page-service .prob-grid,
  body.page-service .scope-grid,
  body.page-service .creds-grid,
  body.page-service .case-row,
  body.page-service .advantage-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.page-service .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
body.page-service .footer__grid,
body.page-location .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:768px) {

  body.page-service .stats-grid {
    grid-template-columns: 1fr;
  }

  body.page-service .adv-img {
    height: 260px;
  }
body.page-service .cta-phone,
body.page-location .cta-phone {
    font-size: 18px;
  }
}

/* Location pages */

body.page-location .hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--hero-bg) 100%);
  padding: 64px 0 20px;
}

body.page-location .hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

body.page-location .hero h1 {
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
}

body.page-location .hero__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, .78);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.65;
}

body.page-location .hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}

body.page-location .btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

body.page-location .hero__img-wrap {
  height: 360px;
  border-radius: 10px;
  overflow: hidden;
}

body.page-location .hero__img-wrap img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

body.page-location .snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

body.page-location .snapshot-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  border-top: 3px solid var(--blue);
}

body.page-location .snapshot-val {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

body.page-location .snapshot-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

body.page-location .snapshot-insight {
  margin-top: 24px;
  background: var(--blue-lt);
  border: 1px solid rgba(47, 124, 246, .2);
  border-radius: 8px;
  padding: 18px 22px;
  font-size: 14px;
  color: var(--txt);
  line-height: 1.7;
}

body.page-location .snapshot-insight strong {
  color: var(--navy);
}

body.page-location .pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

body.page-location .pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

body.page-location .pillar__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

body.page-location .pillar h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 10px;
}

body.page-location .pillar p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

body.page-location .win-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

body.page-location .win-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  border-left: 3px solid var(--blue);
}

body.page-location .win-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 10px;
}

body.page-location .win-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

body.page-location .testimonial {
  background: var(--navy);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  margin-top: 0;
}

body.page-location .testimonial__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

body.page-location .testimonial__stars span {
  color: var(--gold);
  font-size: 18px;
}

body.page-location .testimonial__quote {
  font-size: 17px;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

body.page-location .testimonial__meta strong {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, .9);
}

body.page-location .testimonial__meta span {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

body.page-location .testimonial__replace {
  font-size: 11px;
  color: rgba(255, 255, 255, .3);
  margin-top: 18px;
  font-style: italic;
}

body.page-location .faq-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.page-location .nearby-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

body.page-location .nearby-pill {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  border-radius: 50px;
  text-decoration: none;
  transition: all .15s;
}

body.page-location .nearby-pill:hover {
  border-color: var(--blue);
  background: var(--blue-lt);
  color: var(--blue);
  text-decoration: none;
}

body.page-location .sec-h2 {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 14px;
  line-height: 1.25;
}

body.page-location .sec-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}

body.page-location .cta-band h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

body.page-location .cta-band p {
  font-size: 16px;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

body.page-location .cta-band__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

body.page-location .cta-phone {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: block;
}

body.page-location .cta-phone:hover {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}

body.page-location .footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 44px;
}

body.page-location .footer__ul a {
  font-size: 13px;
  color: rgba(255, 255, 255, .58);
  text-decoration: none;
}

@media(max-width:1024px) {
  body.page-location .hero__grid,
  body.page-location .pillars-grid,
  body.page-location .win-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body.page-location .snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:768px) {

  body.page-location .snapshot-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.page-location .hero__img-wrap {
    height: 240px;
  }
}

/* =========================================================
   ASPA UNIFIED NAVIGATION + RESPONSIVE HARDENING
   Definitive checked version — 21 Sep 2026
   ========================================================= */

/* ---------- Page offset for the fixed navigation ---------- */
body {
  padding-top: 72px !important;
}

body.page-home {
  padding-top: 0 !important;
}

/* ---------- Navigation shell ---------- */
.site-nav {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 72px !important;
  overflow: visible !important;
  background: #fff !important;
  border-bottom: 1px solid #e2e6ef !important;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .07) !important;
  z-index: 1000 !important;
  font-family: Inter, Arial, sans-serif !important;
}

.site-nav,
.site-nav *,
.site-nav *::before,
.site-nav *::after {
  box-sizing: border-box;
}

.site-nav__inner {
  width: 100% !important;
  max-width: 1200px !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
}

.site-nav__logo {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  text-decoration: none !important;
}

.site-nav__logo img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: 46px !important;
  height: auto !important;
  object-fit: contain !important;
}

.site-nav__desktop {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  gap: 14px !important;
}

.site-nav__links {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  gap: 16px !important;
}

.site-nav__links a {
  color: #0b2c55 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: #2f7cf6 !important;
}

.site-nav__cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 9px 16px !important;
  border-radius: 6px !important;
  background: #2f7cf6 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.site-nav__cta:hover {
  background: #1d5fd1 !important;
}

/* ---------- Mobile menu ---------- */
.site-nav__mobile {
  display: none !important;
  margin-left: auto !important;
  position: relative !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
}

.site-nav__mobile summary {
  list-style: none !important;
  cursor: pointer !important;
  min-width: 60px !important;
  padding: 8px 8px !important;
  border: 1px solid #0b2c55 !important;
  border-radius: 6px !important;
  color: #0b2c55 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.site-nav__mobile summary::-webkit-details-marker {
  display: none !important;
}

.site-nav__mobile summary::before {
  content: "☰ " !important;
}

.site-nav__mobile[open] summary::before {
  content: "✕ " !important;
}

.site-nav__mobile-panel {
  position: absolute !important;
  top: 48px !important;
  right: 0 !important;
  width: min(300px, calc(100vw - 20px)) !important;
  max-width: calc(100vw - 20px) !important;
  min-width: 0 !important;
  padding: 10px !important;
  overflow: hidden !important;
  border: 1px solid #e2e6ef !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(11, 44, 85, .18) !important;
}

.site-nav__mobile-panel > a:not(.site-nav__lang) {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 11px 12px !important;
  border-radius: 5px !important;
  color: #0b2c55 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-decoration: none !important;
}

.site-nav__mobile-panel > a:not(.site-nav__lang):hover,
.site-nav__mobile-panel > a:not(.site-nav__lang)[aria-current="page"] {
  background: #eaf1fe !important;
  color: #2f7cf6 !important;
}

.site-nav__mobile-panel > a.site-nav__cta:not(.site-nav__lang) {
  display: flex !important;
  margin-top: 6px !important;
  padding: 11px 12px !important;
  background: #2f7cf6 !important;
  color: #fff !important;
  text-align: center !important;
}

.site-nav__mobile-panel > a.site-nav__cta:not(.site-nav__lang):hover,
.site-nav__mobile-panel > a.site-nav__cta:not(.site-nav__lang):focus {
  background: #1d5fd1 !important;
  color: #fff !important;
}

/* ---------- Language switch: FLAGS ONLY ----------
   Universal rule: if a navigation link contains an AU or Thai flag image,
   the flag is the ONLY visible content. This works with raw text nodes,
   wrapped spans, legacy markup and the current site-nav__lang markup.
   No menu-position assumptions are used.
*/
.site-nav a:has(img[src*="flag-au"]),
.site-nav a:has(img[src*="flag-th"]),
.site-nav a:has(img.flag) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  gap: 0 !important;
  padding: 2px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  color: transparent !important;
  text-indent: 0 !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

/* Hide any wrapper/span text that has its own font-size. Raw text nodes are
   suppressed by font-size:0 on the anchor above. */
.site-nav a:has(img[src*="flag-au"]) > :not(img),
.site-nav a:has(img[src*="flag-th"]) > :not(img),
.site-nav a:has(img.flag) > :not(img) {
  display: none !important;
}

/* Prevent pseudo-elements from reintroducing AU/TH/English/Thai text. */
.site-nav a:has(img[src*="flag-au"])::before,
.site-nav a:has(img[src*="flag-au"])::after,
.site-nav a:has(img[src*="flag-th"])::before,
.site-nav a:has(img[src*="flag-th"])::after,
.site-nav a:has(img.flag)::before,
.site-nav a:has(img.flag)::after {
  content: none !important;
  display: none !important;
}

.site-nav a:has(img[src*="flag-au"]) img,
.site-nav a:has(img[src*="flag-th"]) img,
.site-nav a:has(img.flag) img {
  display: block !important;
  max-width: none !important;
  object-fit: cover !important;
  margin: 0 !important;
}

/* Text/emoji-only fallback links: current accessible markup and older variants. */
.site-nav__lang,
.site-nav a[hreflang="en"]:not(.site-nav__logo):not(.site-nav__cta),
.site-nav a[hreflang="th"]:not(.site-nav__logo):not(.site-nav__cta),
.site-nav a[aria-label*="English" i]:not(.site-nav__logo):not(.site-nav__cta),
.site-nav a[aria-label*="Thai" i]:not(.site-nav__logo):not(.site-nav__cta),
.site-nav a[title*="English" i]:not(.site-nav__logo):not(.site-nav__cta),
.site-nav a[title*="Thai" i]:not(.site-nav__logo):not(.site-nav__cta) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  gap: 0 !important;
  padding: 2px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  color: transparent !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

.site-nav a[hreflang="en"]:not(.site-nav__logo):not(.site-nav__cta),
.site-nav a[aria-label*="English" i]:not(.site-nav__logo):not(.site-nav__cta),
.site-nav a[title*="English" i]:not(.site-nav__logo):not(.site-nav__cta) {
  background-image: url('../images/flag-au.png') !important;
}

.site-nav a[hreflang="th"]:not(.site-nav__logo):not(.site-nav__cta),
.site-nav a[aria-label*="Thai" i]:not(.site-nav__logo):not(.site-nav__cta),
.site-nav a[title*="Thai" i]:not(.site-nav__logo):not(.site-nav__cta) {
  background-image: url('../images/flag-th.png') !important;
}

/* Older text-only links with no class/label: English home link immediately
   followed by the Thai switch. */
.site-nav__mobile-panel > a:is([href="index.html"], [href="./index.html"], [href="/"], [href="aspa-homepage.html"], [href="./aspa-homepage.html"]):has(+ a:is([href$="index-th.html"], [href$="-th.html"], [href$="index-th.html"])),
.site-nav__desktop > a:is([href="index.html"], [href="./index.html"], [href="/"], [href="aspa-homepage.html"], [href="./aspa-homepage.html"]):has(+ a:is([href$="index-th.html"], [href$="-th.html"], [href$="index-th.html"])) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  padding: 2px !important;
  border: 0 !important;
  background: transparent url('../images/flag-au.png') center / contain no-repeat !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  overflow: hidden !important;
}

.site-nav__mobile-panel > a:is([href$="index-th.html"], [href$="-th.html"], [href$="index-th.html"]):not(.site-nav__cta),
.site-nav__desktop > a:is([href$="index-th.html"], [href$="-th.html"], [href$="index-th.html"]):not(.site-nav__cta) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  padding: 2px !important;
  border: 0 !important;
  background: transparent url('../images/flag-th.png') center / contain no-repeat !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  overflow: hidden !important;
}

/* Desktop flag size. */
.site-nav__desktop > a:has(img[src*="flag-au"]),
.site-nav__desktop > a:has(img[src*="flag-th"]),
.site-nav__desktop > a:has(img.flag),
.site-nav__desktop > .site-nav__lang,
.site-nav__desktop > a[hreflang="en"],
.site-nav__desktop > a[hreflang="th"],
.site-nav__desktop > a[aria-label*="English" i],
.site-nav__desktop > a[aria-label*="Thai" i] {
  width: 32px !important;
  min-width: 32px !important;
  height: 24px !important;
  margin: 0 1px !important;
  background-size: 26px 18px !important;
}

.site-nav__desktop > a:has(img[src*="flag-au"]) img,
.site-nav__desktop > a:has(img[src*="flag-th"]) img,
.site-nav__desktop > a:has(img.flag) img,
.site-nav__desktop > .site-nav__lang img,
.site-nav__desktop > a[hreflang] img {
  width: 26px !important;
  height: 18px !important;
}

/* Mobile dropdown flag size. */
.site-nav__mobile-panel > a:has(img[src*="flag-au"]),
.site-nav__mobile-panel > a:has(img[src*="flag-th"]),
.site-nav__mobile-panel > a:has(img.flag),
.site-nav__mobile-panel > .site-nav__lang,
.site-nav__mobile-panel > a[hreflang="en"],
.site-nav__mobile-panel > a[hreflang="th"],
.site-nav__mobile-panel > a[aria-label*="English" i],
.site-nav__mobile-panel > a[aria-label*="Thai" i] {
  width: 44px !important;
  min-width: 44px !important;
  height: 32px !important;
  margin: 8px 4px !important;
  background-size: 36px 24px !important;
  vertical-align: middle !important;
}

.site-nav__mobile-panel > a:has(img[src*="flag-au"]) img,
.site-nav__mobile-panel > a:has(img[src*="flag-th"]) img,
.site-nav__mobile-panel > a:has(img.flag) img,
.site-nav__mobile-panel > .site-nav__lang img,
.site-nav__mobile-panel > a[hreflang] img {
  width: 36px !important;
  height: 24px !important;
}

/* ---------- Tablet / phone navigation ---------- */
@media (max-width: 980px) {
  .site-nav__desktop {
    display: none !important;
  }

  .site-nav__mobile {
    display: block !important;
  }

  .site-nav__inner {
    padding-left: 12px !important;
    padding-right: 12px !important;
    gap: 6px !important;
  }

  .site-nav__logo {
    flex: 1 1 auto !important;
    max-width: none !important;
  }

  .site-nav__logo img {
    width: auto !important;
    max-width: min(160px, 42vw) !important;
    max-height: 50px !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .site-nav {
    height: 68px !important;
  }

  body:not(.page-home) {
    padding-top: 68px !important;
  }

  .site-nav__inner {
    padding-left: 8px !important;
    padding-right: 8px !important;
    gap: 4px !important;
  }

  .site-nav__logo img {
    max-width: min(160px, 43vw) !important;
    max-height: 50px !important;
  }

  .site-nav__mobile summary {
    min-width: 58px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .site-nav__mobile-panel {
    width: min(290px, calc(100vw - 16px)) !important;
    max-width: calc(100vw - 16px) !important;
  }

  body.page-home .hero-pill {
    white-space: normal !important;
  }
}

/* ---------- Real responsive fixes: do not merely mask overflow ---------- */
body.page-location .snapshot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.page-location .snapshot-card,
body.page-location .footer__grid > *,
body.page-service .footer__grid > * {
  min-width: 0;
}

body.page-location .footer__grid,
body.page-service .footer__grid {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

@media (max-width: 1024px) {
  body.page-location .snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.page-location .footer__grid,
  body.page-service .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  body.page-location .snapshot-grid,
  body.page-location .footer__grid,
  body.page-service .footer__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page-location .snapshot-card {
    width: 100%;
  }
}
