/* === CSS Custom Properties === */
:root {
  --primary:       #1a3c5e;
  --primary-dark:  #0f2640;
  --primary-light: #2a5a8a;
  --accent:        #c8782a;
  --accent-light:  #e89840;
  --bg:            #ffffff;
  --bg-light:      #f4f7fa;
  --bg-dark:       #0f1a2b;
  --text-dark:     #1e293b;
  --text-mid:      #475569;
  --text-light:    #94a3b8;
  --text-white:    #f1f5f9;
  --border:        #e2e8f0;
  --radius:        10px;
  --shadow:        0 4px 20px rgba(15, 26, 43, 0.08);
  --shadow-hover:  0 8px 32px rgba(15, 26, 43, 0.14);
  --font:          -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max-width:     1140px;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

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

ul { list-style: none; }

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26, 60, 94, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26, 60, 94, 0.2);
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 68px;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  text-decoration: none;
}
.logo:hover { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links li a {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all 0.2s;
}
.nav-links li a:hover { color: var(--primary); background: var(--bg-light); }
.nav-links li a.active {
  color: var(--primary);
  background: var(--bg-light);
  font-weight: 600;
}

.nav-cta { margin-left: 16px; padding: 8px 20px; font-size: 0.88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: 0.2s;
}

/* === Section base === */
.section {
  padding: 80px 0;
}
.bg-light { background: var(--bg-light); }

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

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

/* === Hero === */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(200, 120, 42, 0.1);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(200, 120, 42, 0.07);
}

.hero-content {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-white);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
  opacity: 0.9;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-ctas .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.hero-ctas .btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

/* === Value Props === */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.prop-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.prop-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.prop-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 16px;
}
.prop-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.prop-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* === 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: 32px 24px;
  transition: all 0.25s;
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.service-icon {
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* === About Strip === */
.about-strip {
  background: var(--bg-light);
}
.about-strip-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-strip-text h2 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
}
.about-strip-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
}
.about-strip-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === Credentials Strip === */
.credentials {
  padding: 48px 0;
  background: var(--primary);
  color: #fff;
}
.credentials-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.credential-item {
  text-align: center;
}
.cred-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin-bottom: 4px;
  font-weight: 600;
}
.cred-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

/* === CTA Strip === */
.cta-strip {
  background: var(--bg-light);
  text-align: center;
}
.cta-strip-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}
.cta-strip-content p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.cta-email-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.15rem;
}
.cta-email-link:hover { color: var(--primary); }

/* === Page Hero (inner pages) === */
.page-hero {
  padding: 120px 0 64px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
}
.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === Two Column Layout === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.two-col h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.two-col p {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* === Contact Details === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.3rem;
  line-height: 1.5;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--primary);
  margin-bottom: 2px;
}
.contact-item span, .contact-item a {
  font-size: 0.95rem;
  color: var(--text-mid);
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* === Legal Content === */
.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-content p {
  font-size: 0.96rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}
.legal-content ul li {
  font-size: 0.96rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 4px;
}

/* === Footer === */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-light);
}
.footer-abn {
  margin-top: 12px;
  font-size: 0.82rem;
  opacity: 0.7;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: var(--text-light);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-col ul li span {
  font-size: 0.88rem;
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-light);
  opacity: 0.6;
}

/* === Mobile (max 768px) === */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 16px; font-size: 1rem; }
  .nav-cta { display: none; }

  .hero { padding: 110px 0 70px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .section { padding: 56px 0; }
  .section-title { font-size: 1.5rem; margin-bottom: 32px; }

  .props-grid { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }

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

  .credentials-strip { gap: 24px; }

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

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

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

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

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
}
