:root {
  --primary: #1a3a5c;
  --primary-light: #2563a8;
  --accent: #0d9488;
  --accent-light: #14b8a6;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --text-dark: #1e293b;
  --text-mid: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --white: #ffffff;
  --footer-bg: #0f172a;
  --footer-text: #cbd5e1;
  --danger: #dc2626;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --radius: 8px;
  --max-width: 1120px;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

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

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

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.navbar-logo:hover {
  text-decoration: none;
}

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

.navbar-logo span {
  white-space: nowrap;
}

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

.nav-links a {
  color: var(--text-mid);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  text-decoration: none;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  text-decoration: none;
}

.btn-nav:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

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

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

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

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger svg {
  display: block;
  color: var(--primary);
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(168deg, var(--white) 0%, var(--bg-alt) 100%);
  text-align: center;
}

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

.hero .lead {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, transform 0.1s, box-shadow 0.2s;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

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

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

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

/* ===== SECTION COMMON ===== */
.section {
  padding: 64px 0;
}

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

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

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

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

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

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

/* ===== CREDENTIALS STRIP ===== */
.credentials-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  padding: 32px 0;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.credential-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

.credential-item strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ===== ABOUT STRIP ===== */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

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

.about-strip .btn {
  margin-top: 8px;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 48px;
}

.about-visual svg {
  width: 120px;
  height: 120px;
  color: var(--accent);
  opacity: 0.7;
}

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

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

.cta-strip p {
  color: var(--footer-text);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.cta-strip .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

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

/* ===== INNER PAGE HERO ===== */
.page-hero {
  padding: 48px 0 40px;
  background: linear-gradient(168deg, var(--primary) 0%, var(--primary-light) 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: 560px;
  margin: 0 auto;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  padding: 48px 0;
}

.main-content p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.main-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 32px 0 12px;
}

.main-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 8px;
}

.main-content ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.main-content li {
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info p {
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-mid);
}

.contact-info-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-form p {
  color: var(--text-mid);
  margin-bottom: 16px;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
  font-size: 0.9rem;
  color: var(--footer-text);
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  color: var(--footer-text);
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.footer-bottom .abn-acn {
  display: flex;
  gap: 16px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

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

  .hamburger {
    display: block;
  }

  .hero {
    padding: 48px 0 40px;
  }

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

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

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

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

  .about-visual {
    padding: 32px;
  }

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

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

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

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

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

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

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .credentials-strip {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}