:root {
  --primary: #001f4d;
  --accent: #8b0025;
  --bg: #f7f7f9;
  --text: #222222;
  --muted: #666666;
  --border: #e0e0e5;
  --max-width: 1080px;
  --radius: 6px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: white;
}

body {
  line-height: 1.6;
  font-size: 16px;
}

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

header {
  border-bottom: 1px solid var(--border);
  background-color: white;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 48px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
}

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

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

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background-color: var(--primary);
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.btn:hover {
  background-color: #003366;
  border-color: #003366;
}

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

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

.hero {
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  padding: 60px 0 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 800px;
}

.hero h1 {
  font-size: 38px;
  margin: 0 0 16px;
  color: var(--primary);
  line-height: 1.2;
  font-weight: 700;
}

.hero p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
  font-weight: 500;
}

.section {
  padding: 48px 0;
}

.section-alt {
  background-color: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 700;
}

.section p.lead {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 720px;
  font-size: 17px;
  line-height: 1.6;
}

.three-col,
.four-col,
.two-col {
  display: grid;
  gap: 24px;
}

.three-col {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.four-col {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background-color: white;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

ul.clean {
  list-style: none;
  padding-left: 0;
}

ul.clean li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.office-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background-color: white;
}

.office-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
}

.office-card p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.office-card a {
  color: var(--primary);
  text-decoration: none;
}

.office-card a:hover {
  text-decoration: underline;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease;
}

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

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

footer {
  border-top: 1px solid var(--border);
  background-color: white;
  margin-top: 60px;
}

.footer-inner {
  padding: 24px 0;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    font-size: 14px;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .two-col,
  .three-col,
  .four-col,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: 24px;
  }
}
