:root {
  --primary: #1a3a5c;
  --primary-dark: #0d2240;
  --primary-light: #2d5b8a;
  --accent: #e85d2c;
  --accent-dark: #c94d1f;
  --accent-light: #f07a4f;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --bg-dark: #0d1829;
  --text-dark: #1e293b;
  --text-light: #5e6f88;
  --text-lightest: #94a3b8;
  --border: #dde3ed;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
}

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

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

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

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

/* Navbar */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
}

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

.navbar .logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.nav-links a {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background var(--transition);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: var(--white) !important;
}

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  justify-content: center;
}

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

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

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

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

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

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

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

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.8;
}

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

.hero .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.hero .btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

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

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

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

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

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

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

.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 600px;
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  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: 16px;
  display: block;
}

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

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

/* 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-dark);
  margin-bottom: 16px;
}

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

.about-strip .visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
}

.about-strip .visual span {
  font-size: 4rem;
  margin-bottom: 16px;
}

.about-strip .visual h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

/* Credentials */
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: center;
  padding: 40px 0;
}

.credentials .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.credentials .item strong {
  color: var(--primary);
}

/* CTA strip */
.cta-strip {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}

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

.cta-strip p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

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

.footer p {
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer ul {
  list-style: none;
}

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

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

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

.footer .abn {
  color: var(--accent-light);
  font-size: 0.85rem;
  margin-top: 12px;
}

.footer .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.footer .contact-item a {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 24px 0;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom span {
  color: var(--accent);
}

/* About page specific */
.values-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.value-item {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.value-item .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.value-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.value-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

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

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  margin-bottom: 18px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Legal pages (privacy, terms) */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 12px 0 20px 24px;
  color: var(--text-light);
  line-height: 1.8;
}

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

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

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

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 8px 0;
    width: 100%;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .btn-group {
    flex-direction: column;
  }

  .hero .btn-group .btn {
    width: 100%;
  }

  .page-hero {
    padding: 40px 0 36px;
  }

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

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

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

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

  .about-strip .visual {
    min-height: 200px;
    padding: 32px;
    order: -1;
  }

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

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 16px;
  }
}
