:root {
  --primary: #0f3b5e;
  --primary-dark: #0a2a42;
  --primary-light: #1a5a8a;
  --accent: #0d9488;
  --accent-hover: #0f7663;
  --bg: #ffffff;
  --bg-alt: #f0f5fa;
  --bg-dark: #0f3b5e;
  --text-dark: #1a2332;
  --text-mid: #475569;
  --text-light: #f8fafc;
  --border: #d1d9e6;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(15, 59, 94, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 59, 94, 0.12);
  --transition: 0.3s ease;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 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.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

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

/* ── Navbar ── */
.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.nav-logo svg { flex-shrink: 0; }

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

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: background var(--transition), color var(--transition);
}

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

.nav-links a.active { color: var(--primary); background: #e8f0fe; font-weight: 600; }

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

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

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

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover { background: var(--primary-light); }

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

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

.btn-accent {
  background: var(--accent);
  color: var(--text-light);
}

.btn-accent:hover { background: var(--accent-hover); }

/* ── Hero ── */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, #e2edf7 100%);
}

.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual svg { width: 100%; max-width: 440px; height: auto; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat h3 { font-size: 2rem; font-weight: 800; color: var(--primary); }

.stat p { font-size: 0.9rem; color: var(--text-mid); margin-top: 4px; }

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

.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.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);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.service-card .icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: block;
}

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

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

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

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

.about-strip p { color: var(--text-mid); margin-bottom: 14px; }

.about-strip .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }

.about-strip .stat-item {
  background: var(--bg-alt);
  padding: 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.about-strip .stat-item strong { display: block; font-size: 1.1rem; color: var(--primary); }

/* ── Credentials ── */
.credentials {
  background: var(--primary);
  color: var(--text-light);
  text-align: center;
  padding: 48px 0;
}

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

.cred-item { font-weight: 600; font-size: 1rem; }

.cred-item span { opacity: 0.7; font-weight: 400; display: block; font-size: 0.85rem; margin-top: 4px; }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tcard {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.tcard .stars { color: #f59e0b; font-size: 1rem; margin-bottom: 12px; }

.tcard p { font-size: 0.95rem; color: var(--text-mid); font-style: italic; margin-bottom: 16px; }

.tcard .author { font-weight: 600; color: var(--primary); font-style: normal; font-size: 0.9rem; }

/* ── CTA strip ── */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  text-align: center;
  padding: 72px 0;
}

.cta-strip h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }

.cta-strip p { opacity: 0.85; margin-bottom: 28px; font-size: 1.05rem; }

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

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

/* ── Page hero band ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  padding: 72px 0 60px;
  text-align: center;
}

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

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

/* ── Content pages ── */
.content-page { padding: 64px 0; }

.content-page h2 { color: var(--primary); font-size: 1.5rem; margin-top: 36px; margin-bottom: 12px; }

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

.content-page h3 { color: var(--primary); font-size: 1.15rem; margin-top: 24px; margin-bottom: 8px; }

.content-page p, .content-page li { color: var(--text-mid); line-height: 1.7; margin-bottom: 12px; }

.content-page ul { padding-left: 24px; margin-bottom: 16px; }

.content-page li { margin-bottom: 6px; }

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

.legal-meta { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }

/* ── Contact page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h2 { margin-top: 0 !important; }

.contact-detail { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }

.contact-detail .icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }

.contact-detail strong { display: block; color: var(--text-dark); }

.contact-detail span { color: var(--text-mid); }

.contact-detail a { color: var(--primary); font-weight: 500; }

.contact-detail a:hover { text-decoration: underline; }

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

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

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

.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-top: 10px; }

.footer-brand .abn { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 10px; }

.footer-links ul, .footer-legal ul { list-style: none; }

.footer-links li, .footer-legal li { margin-bottom: 10px; }

.footer-links a, .footer-legal a { font-size: 0.9rem; transition: color var(--transition); }

.footer-links a:hover, .footer-legal a:hover { color: var(--text-light); }

.footer-contact p { font-size: 0.9rem; margin-bottom: 10px; }

.footer-contact a { color: var(--accent); font-weight: 500; }

.footer-contact a:hover { text-decoration: underline; }

.footer-bottom {
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

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

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

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

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

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

  .hero .container { grid-template-columns: 1fr; gap: 40px; }

  .hero-content h1 { font-size: 2rem; }

  .hero-stats { grid-template-columns: 1fr; gap: 16px; }

  .hero-visual { display: none; }

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

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

  .about-strip .stats { grid-template-columns: 1fr; }

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

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

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

  .section-head h2 { font-size: 1.6rem; }

  .page-hero h1 { font-size: 1.8rem; }

  .credentials-grid { gap: 24px; flex-direction: column; align-items: center; }

  .cta-strip h2 { font-size: 1.5rem; }
}
