:root {
  --primary: #1a3a5c;
  --primary-dark: #0f2440;
  --primary-light: #2a5a8a;
  --accent: #c8a45c;
  --accent-dark: #a8873a;
  --accent-light: #e0c88a;
  --bg: #ffffff;
  --bg-alt: #f0f4f8;
  --bg-dark: #0f2440;
  --text-dark: #1a1a2e;
  --text-muted: #5a6a7a;
  --text-light: #f8f9fa;
  --border: #dce4ec;
  --border-light: #eef2f6;
  --shadow: 0 4px 20px rgba(26,58,92,0.08);
  --shadow-lg: 0 12px 40px rgba(26,58,92,0.12);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a { text-decoration: none; color: var(--primary-light); transition: var(--transition); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  height: 72px;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.navbar-brand:hover { color: var(--primary); }

.navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--bg-alt);
}

.nav-links .btn-nav-cta {
  background: var(--primary);
  color: var(--text-light) !important;
  padding: 8px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-left: 8px;
}

.nav-links .btn-nav-cta:hover {
  background: var(--primary-light);
  color: var(--text-light) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,164,92,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* --- Hero --- */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(70% 100% at 50% 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.15);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  max-width: 750px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-light);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Sections --- */
section { padding: 80px 0; }

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.text-center { text-align: center; }

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

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- About Strip --- */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-strip .visual {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  font-size: 80px;
  border: 1px solid var(--border-light);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-strip h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-strip p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* --- Credentials Strip --- */
.credentials {
  background: var(--primary);
  color: var(--text-light);
  padding: 60px 0;
}

.credentials .container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}

.cred-item .cred-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.cred-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  font-weight: 500;
}

/* --- CTA Strip --- */
.cta-strip {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  text-align: center;
  padding: 70px 0;
}

.cta-strip h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.cta-strip p {
  color: var(--primary-dark);
  opacity: 0.85;
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.cta-strip .btn-primary {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-light);
}

.cta-strip .btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* --- Content pages (privacy/terms) --- */
.content-page {
  padding: 60px 0 80px;
}

.content-page .container {
  max-width: 800px;
}

.content-page h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin: 40px 0 16px;
}

.content-page h2:first-of-type {
  margin-top: 0;
}

.content-page h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin: 28px 0 10px;
}

.content-page p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-page ul {
  margin: 0 0 20px 24px;
  color: var(--text-muted);
}

.content-page ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.content-page strong {
  color: var(--text-dark);
}

.content-page .last-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-style: italic;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-details {
  list-style: none;
  margin-top: 30px;
}

.contact-details li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-details .cd-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-details strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-details span,
.contact-details a {
  font-size: 1rem;
  color: var(--text-dark);
}

.contact-form-box {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-form-box p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.mailto-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--primary);
  color: var(--text-light) !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.mailto-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* --- Services Page Full --- */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary-dark);
}

.footer-blurb {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-abn {
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.6;
}

.footer h4 {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer ul a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact .fc-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 14px 16px;
    width: 100%;
  }

  .nav-links .btn-nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero { padding: 110px 0 70px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .page-hero { padding: 100px 0 50px; }
  .page-hero h1 { font-size: 1.8rem; }

  section { padding: 60px 0; }
  .section-title { font-size: 1.7rem; }

  .services-grid { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }

  .about-strip { grid-template-columns: 1fr; gap: 30px; }

  .credentials .container { flex-direction: column; align-items: center; gap: 20px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

  .contact-grid { grid-template-columns: 1fr; }
}
