:root{
  --navy:#061a33;
  --accent:#124E8C;
  --cta:#FF7A00;

  --bg:#f6f8fc;
  --paper:#fff;
  --text:#0b1220;
  --muted:rgba(11,18,32,.72);

  --border:rgba(18,78,140,.25);
  --shadow:0 14px 36px rgba(11,18,32,.10);

  --radius:18px;

  /* iPhone safe area support */
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset:4px; }

.container{
  max-width:1120px;
  margin:0 auto;
  /* FIX: mobile edge cut-off + safe areas */
  padding-left: calc(24px + var(--safe-l));
  padding-right: calc(24px + var(--safe-r));
}

/* helpers */
.tiny{ font-size:12.5px; color:var(--muted); }
.dot{ opacity:.65; padding:0 8px; }

/* TOP BAR */
.topbar{
  background:var(--navy);
  color:#fff;
  font-size:13px;
  font-weight:900;
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
}

/* IMPORTANT: allow proper flex shrinking (prevents weird truncation) */
.topbar__msg{
  line-height:1.25;
  min-width:0;
  flex:1;
}
.topbar__links{
  display:flex;
  align-items:center;
  white-space:nowrap;
  flex:0 0 auto;
}
.topbar__link{ opacity:.95; }
.topbar__link:hover{ opacity:1; text-decoration:none; }

/* full vs short message swap */
.topbar__short{ display:none; }

/* HEADER */
.header{
  background:rgba(255,255,255,.92);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(10px);
  position:sticky;
  top:0;
  z-index:50;
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:260px;
}
.brand__name{ font-weight:900; letter-spacing:-0.01em; }
.brand__tag{ font-size:12px; color:var(--muted); font-weight:700; }

/* NAV */
.nav{ display:flex; align-items:center; gap:12px; position:relative; }
.nav__menu{ display:flex; align-items:center; gap:12px; }
.nav__link{
  font-weight:900;
  color:rgba(11,18,32,.78);
  padding:10px 12px;
  border-radius:12px;
  line-height:1;
}
.nav__link:hover{ background:rgba(18,78,140,.08); text-decoration:none; }
.nav__link--cta{ border:1px solid var(--border); background:#fff; }

.nav__toggle{
  display:none;
  width:44px;height:44px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  align-items:center;
  justify-content:center;
}

.bars{
  width:18px;height:2px;
  background:var(--text);
  position:relative;
  display:block;
}
.bars::before,.bars::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;height:2px;
  background:var(--text);
}
.bars::before{ top:-6px; }
.bars::after{ top:6px; }

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  font-weight:900;
  border:1px solid transparent;
  text-decoration:none !important;
  white-space:nowrap;
}
.btn--cta{
  background:var(--cta);
  color:#fff;
  box-shadow:0 10px 26px rgba(255,122,0,.24);
}
.btn--cta:hover{ opacity:.95; }
.btn--ghost{ background:#fff; border-color:var(--border); }
.header__actions{ display:flex; gap:10px; align-items:center; }

/* HERO */
.hero{ padding:56px 0 44px; }
.hero__card{
  background:#fff;
  border-radius:var(--radius);
  padding:34px;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.6);
}

.badge-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.badge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  border:1px solid transparent;
}
.badge--primary{
  background:rgba(18,78,140,.10);
  border-color:rgba(18,78,140,.20);
  color:var(--accent);
}
.badge--green{
  background:rgba(47,191,113,.10);
  border-color:rgba(47,191,113,.20);
  color:#1b7b47;
}

.hero__title{
  font-family:"Source Sans 3", Inter, system-ui, sans-serif;
  font-weight:900;
  letter-spacing:-0.02em;
  font-size:clamp(34px,3.6vw,52px);
  line-height:1.08;
  margin:0 0 12px;
}
.hero__sub{
  margin:0 0 16px;
  color:rgba(11,18,32,.78);
  font-weight:600;
  font-size:15.5px;
  line-height:1.7;
  max-width:68ch;
}
.hero__actions{ display:flex; gap:12px; flex-wrap:wrap; margin:10px 0 0; }
.hero__disclaimer{ margin-top:14px; }

/* SECTIONS */
.section{ padding:44px 0; }
.section.alt{
  background:rgba(18,78,140,.04);
  border-top:1px solid rgba(11,18,32,.10);
  border-bottom:1px solid rgba(11,18,32,.10);
}
.section h2{ margin:0 0 10px; font-size:28px; letter-spacing:-0.01em; }
.section-desc{ margin:0 0 18px; color:var(--muted); max-width:70ch; }

/* CARDS */
.card-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}
.card{
  background:var(--paper);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px 18px 18px 22px;
  box-shadow:var(--shadow);
  position:relative;
}
.card h3{ margin:0 0 10px; font-size:15px; font-weight:900; }
.card p{ margin:0; color:rgba(11,18,32,.72); font-weight:600; line-height:1.55; }

.card.accent::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:4px;
  background:var(--accent);
  border-radius:var(--radius) 0 0 var(--radius);
}

/* CTA PILLS */
.service-actions{ display:flex; gap:14px; margin-top:18px; flex-wrap:wrap; }
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-weight:900;
  border:1px solid transparent;
  text-decoration:none !important;
  white-space:nowrap;
}
.pill--call{
  padding:14px 22px;
  background:var(--cta);
  color:#fff;
  box-shadow:0 10px 26px rgba(255,122,0,.24);
}
.pill--call:hover{ opacity:.95; }
.pill--sms{
  height:48px;
  padding:0 18px;
  background:#fff;
  border-color:var(--border);
}
.pill--sms:hover{ background:rgba(18,78,140,.06); }

.suburbs-note{
  display:block;
  margin-top:10px;
  font-size:12.5px;
  font-weight:800;
  color:rgba(11,18,32,.55);
  letter-spacing:.02em;
}

/* FOOTER */
.footer{
  border-top:1px solid rgba(11,18,32,.10);
  background:rgba(255,255,255,.92);
  padding:18px 0;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:rgba(11,18,32,.68);
  font-weight:700;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .header__actions{ display:none; }
  .card-grid{ grid-template-columns:1fr; }
  .hero__card{ padding:24px; }
  .brand{ min-width:auto; }
}

/* MOBILE */
@media (max-width: 760px){
  /* show short message on mobile */
  .topbar__full{ display:none; }
  .topbar__short{ display:inline; }

  .topbar__inner{
    flex-direction:row;
    justify-content:space-between;
    gap:10px;
  }
  .topbar__msg{
    font-size:12.5px;
    white-space:nowrap; /* short stays clean */
  }
  .topbar__links{
    font-size:12.5px;
  }

  .nav__toggle{ display:inline-flex; }

  .nav__menu{
    display:none;
    position:absolute;
    right:0; top:56px;
    width:min(320px, 92vw);
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:var(--shadow);
    padding:14px;
    flex-direction:column;
    gap:10px;
    align-items:stretch;
    z-index:99;
  }
  .nav__menu.is-open{ display:flex; }

  .service-actions{ width:100%; }
  .pill--call{ width:100%; }
}

@media (max-width: 480px){
  .container{
    padding-left: calc(18px + var(--safe-l));
    padding-right: calc(18px + var(--safe-r));
  }

  .hero{ padding:34px 0 28px; }
  .hero__card{ padding:22px; }

  .hero__title{
    font-size:32px;
    line-height:1.12;
  }

  .hero__actions .btn{
    width:100%;
    justify-content:center;
  }
}


