:root {
  --primary: #1a3a6b;
  --primary-dark: #0f2647;
  --accent: #e8a020;
  --accent-hover: #cc8a18;
  --bg: #f8f9fa;
  --text-dark: #1a1a2e;
  --text-light: #666;
  --white: #ffffff;
  --section-pad: 80px 0;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(26,58,107,0.08);
  --shadow-hover: 0 6px 24px rgba(26,58,107,0.14);
}

*, *::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(--white);
  line-height: 1.7;
  font-size: 16px;
}

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

img { max-width: 100%; }

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

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  padding: 0 24px;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.navbar .logo {
  font-size: 1.25rem; font-weight: 700;
  color: var(--primary);
  display: flex; align-items: center; gap: 8px;
}
.navbar .logo svg { flex-shrink: 0; }
.nav-links {
  display: flex; align-items: center; gap: 28px; list-style: none;
}
.nav-links a {
  color: var(--text-dark); font-weight: 500; font-size: 0.95rem;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; bottom: -2px; 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 { margin-left: 12px; }

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

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 12px 28px;
  border-radius: var(--radius); font-weight: 600;
  font-size: 0.95rem; cursor: pointer;
  transition: all 0.2s; text-align: center;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent); color: var(--primary-dark);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover); border-color: var(--accent-hover);
  color: var(--primary-dark);
}
.btn-outline {
  background: transparent; color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white); color: var(--primary);
}
.btn-outline-dark {
  background: transparent; color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary); color: var(--white); 
}

/* ── Hero ── */
.hero {
  background: var(--primary);
  color: var(--white);
  padding: var(--section-pad);
  text-align: center;
}
.hero h1 {
  font-size: 2.75rem; font-weight: 800;
  margin-bottom: 20px; line-height: 1.2;
}
.hero p {
  font-size: 1.15rem; max-width: 640px;
  margin: 0 auto 32px; opacity: 0.9;
}
.hero .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 56px 0 48px;
  text-align: center;
}
.page-hero h1 { font-size: 2.25rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* ── Stats / Value Props ── */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.stat-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
}
.stat-card .stat-icon { font-size: 2rem; margin-bottom: 8px; }
.stat-card .stat-number { font-size: 2rem; font-weight: 800; display: block; }
.stat-card .stat-label { font-size: 0.9rem; opacity: 0.85; margin-top: 4px; }

/* ── Sections ── */
.section {
  padding: var(--section-pad);
}
.section-alt { background: var(--bg); }
.section-title {
  text-align: center; margin-bottom: 48px;
}
.section-title h2 {
  font-size: 2rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-light); max-width: 560px; margin: 0 auto;
}
.section-title .accent-line {
  width: 48px; height: 3px; background: var(--accent);
  border-radius: 2px; margin: 12px auto 0;
}

/* ── Services Grid ── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white); border: 1px solid #e8eaee;
  border-radius: var(--radius); padding: 32px 24px;
  transition: box-shadow 0.25s, transform 0.25s;
  text-align: center;
}
.service-card:hover {
  box-shadow: var(--shadow-hover); transform: translateY(-4px);
}
.service-card .card-icon {
  font-size: 2.5rem; margin-bottom: 16px; display: block;
}
.service-card h3 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 10px;
  color: var(--primary);
}
.service-card p { color: var(--text-light); font-size: 0.95rem; }

.services-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* ── About Strip ── */
.about-strip {
  display: flex; align-items: center; gap: 48px;
}
.about-strip .about-text { flex: 1; }
.about-strip .about-text h2 {
  font-size: 1.75rem; font-weight: 700; margin-bottom: 16px; color: var(--primary);
}
.about-strip .about-text p { color: var(--text-light); margin-bottom: 16px; }
.about-strip .about-visual {
  flex: 0 0 320px; background: var(--bg);
  border-radius: var(--radius); padding: 40px;
  display: flex; flex-direction: column; gap: 16px;
  align-items: center; justify-content: center; text-align: center;
}
.about-strip .about-visual .big-icon { font-size: 4rem; }

/* ── Credentials Strip ── */
.credentials-strip {
  background: var(--primary-dark); color: var(--white);
  padding: 48px 0; text-align: center;
}
.credentials-strip h3 { font-size: 1.25rem; margin-bottom: 24px; font-weight: 700; }
.credentials-grid {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.credential-item { text-align: center; }
.credential-item .cr-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.7; margin-bottom: 4px; }
.credential-item .cr-value { font-size: 1.1rem; font-weight: 700; }

/* ── CTA Strip ── */
.cta-strip {
  background: var(--accent);
  padding: 56px 0; text-align: center;
  color: var(--primary-dark);
}
.cta-strip h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-strip p { font-size: 1.05rem; margin-bottom: 24px; opacity: 0.85; }
.cta-strip .btn { margin: 0 8px; }

/* ── Footer ── */
.footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.78);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 40px;
}
.footer h4 {
  color: var(--white); font-size: 1rem; font-weight: 700;
  margin-bottom: 16px;
}
.footer p { font-size: 0.9rem; line-height: 1.7; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255,255,255,0.78); font-size: 0.9rem; }
.footer ul a:hover { color: var(--accent); }
.footer .cr-line { font-size: 0.78rem; opacity: 0.65; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; text-align: center;
  font-size: 0.85rem; opacity: 0.7;
}

/* ── Legal Pages ── */
.legal-content {
  max-width: 800px; margin: 0 auto;
  padding: 0 24px;
}
.legal-content h2 {
  font-size: 1.35rem; font-weight: 700; color: var(--primary);
  margin: 32px 0 12px;
}
.legal-content h3 {
  font-size: 1.1rem; font-weight: 600; color: var(--text-dark);
  margin: 24px 0 8px;
}
.legal-content p { margin-bottom: 14px; color: var(--text-light); }
.legal-content ul { margin: 0 0 14px 20px; color: var(--text-light); }
.legal-content ul li { margin-bottom: 6px; }

/* ── Contact Section ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.contact-info-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 32px;
}
.contact-info-card h3 { font-size: 1.15rem; margin-bottom: 16px; color: var(--primary); }
.contact-info-card .ci-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px; font-size: 0.95rem;
}
.contact-info-card .ci-icon { font-size: 1.3rem; }
.contact-form-card {
  background: var(--white); border: 1px solid #e8eaee;
  border-radius: var(--radius); padding: 32px;
}
.contact-form-card h3 { font-size: 1.15rem; margin-bottom: 16px; color: var(--primary); }
.contact-form-card .form-group { margin-bottom: 18px; }
.contact-form-card label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
  width: 100%; padding: 10px 14px;
  border: 1px solid #d0d3d9; border-radius: var(--radius);
  font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus {
  outline: none; border-color: var(--primary);
}
.contact-form-card textarea { resize: vertical; min-height: 120px; }

/* ── About Page ── */
.about-values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white); border: 1px solid #e8eaee;
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
}
.value-card .val-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.value-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.value-card p { color: var(--text-light); font-size: 0.9rem; }

.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white); border: 1px solid #e8eaee;
  border-radius: var(--radius); padding: 28px; text-align: center;
}
.team-card .team-icon { font-size: 3rem; margin-bottom: 12px; display: block; }
.team-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.team-card .role { color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.team-card p { color: var(--text-light); font-size: 0.9rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); padding: 16px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    gap: 12px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }

  .hero h1 { font-size: 2rem; }
  .hero { padding: 56px 0; }
  .stats-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid.cols-2 { grid-template-columns: 1fr; }
  .about-strip { flex-direction: column; }
  .about-strip .about-visual { flex: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .credentials-grid { gap: 24px; }
  .page-hero h1 { font-size: 1.75rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}