/* Custom Properties */
:root {
  --primary: #0a4b78;
  --primary-light: #16659c;
  --primary-dark: #063152;
  --accent: #d9381e;
  --accent-hover: #b82d16;
  --text-main: #333333;
  --text-muted: #555555;
  --bg-main: #ffffff;
  --bg-light: #f4f7f9;
  --bg-dark: #111111;
  --border: #e0e6ed;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
  --radius: 6px;
  --container-width: 1140px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

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

a:hover {
  color: var(--primary-light);
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
p { margin-bottom: 1.5rem; }

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-dark {
  background-color: var(--primary-dark);
  color: white;
}

.section-dark h2, .section-dark h3, .section-dark p {
  color: white;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1.125rem;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

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

/* Header & Nav */
.site-header {
  background: var(--bg-main);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  display: inline-block;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-main);
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-main);
  font-weight: 500;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.header-cta {
  margin-left: 2rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(6, 49, 82, 0.85), rgba(6, 49, 82, 0.95)), url('../images/hero-bg.webp') center/cover;
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Content Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.text-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.image-wrapper img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Service Cards */
.service-card {
  background: var(--bg-main);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  flex: 1;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
}

/* Call Box */
.call-box {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.call-box-content h3 {
  margin-bottom: 0.5rem;
}

.call-box-content p {
  margin-bottom: 0;
  color: var(--text-muted);
}

/* Checklist */
.checklist {
  margin: 2rem 0;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.25rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--bg-light);
  padding: 1rem 0;
  font-size: 0.875rem;
}

.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumbs li {
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--primary);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--border);
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #a0aec0;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #a0aec0;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Mobile Sticky Call Bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-main);
  padding: 0.75rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

.mobile-call-bar .btn {
  width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .call-box {
    flex-direction: column;
    text-align: center;
  }
  .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-main);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    display: none;
  }
  .main-nav.active {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 0;
    display: none;
  }
  .nav-item.dropdown.active .dropdown-menu {
    display: block;
  }
  .dropdown-item {
    padding-left: 2rem;
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 3rem 0;
  }
  .hero {
    padding: 4rem 0;
  }
  .mobile-call-bar {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
}
