:root {
  --primary: #1a3c5e;
  --primary-light: #2a5a8a;
  --accent: #c8a24e;
  --accent-light: #e0c078;
  --bg: #f8f9fb;
  --bg-dark: #0f1f2e;
  --text-dark: #1a1a2e;
  --text-light: #f0f2f5;
  --text-muted: #6b7a8a;
  --border: #dce1e8;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1140px;
}

*, *::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;
}

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

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

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

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

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

.navbar .logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

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

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
  position: relative;
}

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

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

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

.nav-links .btn-cta {
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s;
}

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

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: 0.25s;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
  color: var(--text-light);
  padding: 100px 0 90px;
  text-align: center;
}

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

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

.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 36px;
  opacity: 0.85;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}

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

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

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

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

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

.page-hero h1 { font-size: 2.2rem; margin-bottom: 8px; }
.page-hero p { font-size: 1rem; opacity: 0.8; }

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

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

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-title-centered { text-align: center; }

/* Value props */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.value-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.value-card .icon { font-size: 2.4rem; margin-bottom: 16px; }

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.value-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

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

.service-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.07); }

.service-card .icon { font-size: 2rem; margin-bottom: 14px; }

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

.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }

/* About strip */
.about-strip {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 24px;
}

.about-strip h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 16px; }
.about-strip p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }
.about-strip .icon-large { font-size: 4rem; text-align: center; }

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

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

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

.cred-item .cred-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
  margin-bottom: 4px;
}

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

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

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

.cta-strip p {
  opacity: 0.7;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Content sections (inner pages) */
.content-section {
  padding: 64px 0;
}

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

.content-section h2:first-of-type { margin-top: 0; }

.content-section p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.content-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-muted);
}

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

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.contact-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}

.contact-card .icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { color: var(--primary); margin-bottom: 6px; }
.contact-card p { font-size: 0.95rem; color: var(--text-muted); }
.contact-card a { font-weight: 600; }

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 56px 0 0;
}

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

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.footer-col p, .footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

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

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }

.footer-brand { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.footer-brand span { color: var(--accent); }

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

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  }

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

  .hamburger { display: block; }

  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }

  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: 1.6rem; }

  .value-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-strip .container { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .credentials-grid { gap: 24px; }

  .section { padding: 48px 0; }
  .section-title { font-size: 1.5rem; }
}
