:root{
  --text:#0b1220;
  --muted:#5b6475;

  --nav:#0b2c55;
  --nav2:#0e3a75;

  --hero:#0c2f5f;
  --hero2:#1a56a8;

  --accent:#2f7cf6;
  --accent2:#1d5fd1;

  --border:rgba(15,23,42,.12);
  --border2:rgba(15,23,42,.18);
  --shadow:0 10px 25px rgba(2,6,23,.10);

  --r:14px;
  --max:1100px;
  --pad:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.5;
  background:#fff;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{color:inherit}
p{margin:0 0 14px;color:var(--muted)}
h1,h2,h3{margin:0 0 10px;line-height:1.15}
h1{font-size:clamp(30px,3.2vw,46px)}
h2{font-size:clamp(22px,2.2vw,30px)}
h3{font-size:18px}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--pad);
}

hr{
  border:0;
  border-top:1px solid rgba(15,23,42,.08);
  margin:18px 0;
}

/* =========================
   Buttons
   ========================= */

.primary-btn,
.secondary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:12px 18px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  border:1px solid transparent;
  white-space:nowrap;
}

.primary-btn{
  background:linear-gradient(180deg,var(--accent),var(--accent2));
  color:#fff;
  box-shadow:0 10px 18px rgba(47,124,246,.22);
}

.primary-btn:hover{filter:brightness(1.03)}

.secondary-btn{
  background:rgba(255,255,255,.10);
  color:#fff;
  border-color:rgba(255,255,255,.18);
}

.secondary-btn:hover{
  background:rgba(255,255,255,.16);
}

/* =========================
   NAVIGATION
   ========================= */

.site-header{
  background:linear-gradient(180deg,var(--nav),var(--nav2));
  color:#fff;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 10px 24px rgba(3,7,18,.12);
}

.nav-wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:12px var(--pad);
  display:flex;
  align-items:center;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
  text-decoration:none;
}

/* ONLY logo class used in nav */
.nav-icon{
  height:96px;
  width:96px;
  border-radius:10px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  padding:6px;
  flex:0 0 auto;
}

.brand-text{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.brand-title{
  font-weight:800;
  line-height:1.05;
}

.brand-subtitle{
  font-size:12px;
  color:rgba(255,255,255,.78);
}

.site-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.site-nav a{
  color:rgba(255,255,255,.92);
  text-decoration:none;
  font-weight:650;
  font-size:13px;
  padding:9px 10px;
  border-radius:999px;
}

.site-nav a:hover{
  background:rgba(255,255,255,.10);
  color:#fff;
}

.site-nav a.is-active{
  background:rgba(255,255,255,.16);
  color:#fff;
}

/* Hamburger */

.nav-toggle{display:none}

.nav-toggle-label{
  display:none;
  margin-left:auto;
  width:44px;
  height:40px;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  cursor:pointer;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
}

.nav-toggle-label span{
  display:block;
  width:22px;
  height:2px;
  background:#fff;
  margin:4px 0;
  border-radius:2px;
}

/* =========================
   HERO
   ========================= */

.hero{
  background:
    radial-gradient(900px 520px at 20% 15%, rgba(47,124,246,.36), rgba(47,124,246,0) 60%),
    linear-gradient(180deg,var(--hero),#0a2951);
  color:#fff;
  padding:70px 0 60px;
}

.hero p{
  color:rgba(255,255,255,.82);
  max-width:65ch;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}

/* =========================
   SECTIONS & CARDS
   ========================= */

.section{
  padding:52px 0;
}

.section.alt{
  background:#f5f7fb;
  border-top:1px solid rgba(15,23,42,.06);
  border-bottom:1px solid rgba(15,23,42,.06);
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:18px;
  box-shadow:var(--shadow);
}

.card p:last-child{margin-bottom:0}

.wide-card{
  margin: 0 auto;
  max-width: var(--max);
}
.wide-card > .container{
  padding-left: 0;
  padding-right: 0;
}
/* =========================
   FORMS
   ========================= */

.form-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:18px;
  box-shadow:var(--shadow);
}

.form-grid{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:12px 14px;
  align-items:center;
  max-width:820px;
}

.form-grid label{
  font-weight:650;
}

.form-grid input,
.form-grid select,
.form-grid textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border2);
  background:#fff;
  outline:none;
  font:inherit;
}

.form-grid textarea{
  min-height:110px;
  resize:vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus{
  border-color:rgba(47,124,246,.55);
  box-shadow:0 0 0 4px rgba(47,124,246,.14);
}

/* =========================
   FOOTER
   ========================= */

.footer{
  background:#0a1f3d;
  color:rgba(255,255,255,.92);
  margin-top:28px;
}

.footer .container{
  padding-top:22px;
  padding-bottom:22px;
}

.footer a{
  color:#fff;
  text-decoration:none;
}

.footer a:hover{
  text-decoration:underline;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width:900px){

  .nav-toggle-label{display:flex}

  .site-nav{
    display:none;
    width:100%;
    margin-left:0;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    padding:12px;
    border-radius:14px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12);
  }

  .site-nav a{
    width:100%;
    padding:10px 12px;
    border-radius:12px;
  }

  .nav-toggle:checked ~ .site-nav{
    display:flex;
  }

  .grid-3{
    grid-template-columns:1fr;
  }
}

@media (max-width:720px){
  .form-grid{
    grid-template-columns:1fr;
  }
}
.disclaimer{
  font-size:12px;
  color:#6b7280;
  margin-top:18px;
  line-height:1.4;
}
/* === CITY HERO (Perth & QLD only) === */

.city-hero{
  position:relative;
  min-height:420px;
  display:flex;
  align-items:center;
  color:#fff;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}

.city-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(11,44,85,.65);
}

.city-hero-content{
  position:relative;
  z-index:1;
  max-width:1100px;
  margin:0 auto;
  padding:100px 18px 80px; /* top/right-left/bottom */
}

@media (max-width:768px){
  .city-hero{
    min-height:320px;
  }
  .city-hero-content{
    padding:80px 18px 60px;
  }
}
/* === CITY PAGE BACKGROUNDS === */

body.perth-bg .city-hero{
  background-image: url('images/perth.jpg');
}

body.brisbane-bg .city-hero{
  background-image: url('images/brisbane.jpg');
}

