:root {
  --primary: #003a70;
  --primary-dark: #002a52;
  --accent: #d4a017;
  --text: #1a1a1a;
  --text-light: #555;
  --text-muted: #777;
  --bg-light: #f5f7fa;
  --bg-card: #fbfcfd;
  --border: #e1e4e8;
  --border-soft: #eef1f4;
  --white: #ffffff;
  --success: #2d7a3e;
  --warning: #c0392b;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 20px; }

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

/* Header */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span { color: var(--accent); }
nav ul { list-style: none; display: flex; gap: 24px; align-items: center; }
nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.93rem;
  transition: color 0.15s;
}
nav a:hover { color: var(--primary); }
.cta-btn {
  background: var(--primary);
  color: var(--white) !important;
  padding: 9px 16px;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s;
}
.cta-btn:hover { background: var(--primary-dark); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 88px 0 72px;
}
.hero h1 {
  font-size: 2.65rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 900px;
}
.hero .subtitle {
  font-size: 1.18rem;
  margin-bottom: 32px;
  max-width: 760px;
  opacity: 0.95;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  font-size: 1rem;
}
.btn-primary { background: var(--accent); color: var(--text); }
.btn-primary:hover { background: #b88813; }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-secondary:hover { background: var(--white); color: var(--primary); }

/* Trust bar */
.trust-bar {
  background: var(--bg-light);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.trust-item strong {
  display: block;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.trust-item span { color: var(--text-light); font-size: 0.88rem; }

/* Sections */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
section.alt { background: var(--bg-light); }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1.08rem;
  margin-bottom: 40px;
  max-width: 760px;
  line-height: 1.6;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px;
  transition: all 0.2s;
}
.card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,58,112,0.08);
  transform: translateY(-2px);
}
.card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.card p { color: var(--text-light); margin-bottom: 14px; font-size: 0.94rem; }
.card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
}
.card a:hover { text-decoration: underline; }

/* Card with accent (for guides/insights) */
.card-accent {
  border-left: 3px solid var(--accent);
}

/* Compact cards (for grids of many items) */
.cards-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.card-compact {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all 0.15s;
  font-size: 0.93rem;
  display: block;
}
.card-compact:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.card-compact small {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 400;
  margin-top: 3px;
}

/* Locations grid */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.location-link {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all 0.15s;
  font-size: 0.95rem;
}
.location-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Content blocks */
.content-block {
  max-width: 820px;
  margin: 0 auto;
}
.content-block h2 {
  color: var(--primary);
  margin: 38px 0 14px;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.content-block h2:first-child { margin-top: 0; }
.content-block h3 {
  color: var(--primary);
  margin: 26px 0 10px;
  font-size: 1.18rem;
}
.content-block p { margin-bottom: 16px; }
.content-block ul, .content-block ol { margin: 0 0 18px 24px; }
.content-block li { margin-bottom: 8px; }
.content-block strong { color: var(--text); }

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Info box */
.info-box {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 4px;
  margin: 24px 0;
}
.info-box strong { color: var(--primary); }
.info-box.warning {
  border-left-color: var(--warning);
  background: #fff5f3;
}
.info-box.warning strong { color: var(--warning); }

/* Data table — for technical guides */
.spec-table {
  width: 100%;
  margin: 18px 0 24px;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.spec-table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--primary);
}
.spec-table tr:hover td { background: #fafbfc; }

/* CTA section */
.cta-section {
  background: var(--primary);
  color: var(--white);
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p { margin-bottom: 28px; opacity: 0.95; font-size: 1.08rem; }

/* Embedded forms (Zoho) */
.form-wrap {
  margin: 20px 0 8px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
}
.form-wrap iframe {
  display: block;
  background: var(--white);
  border-radius: 4px;
}

/* Footer */
footer {
  background: #0a1828;
  color: #c5cad1;
  padding: 52px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 { color: var(--white); margin-bottom: 14px; font-size: 0.95rem; letter-spacing: 0.02em; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 7px; }
.footer-grid a {
  color: #c5cad1;
  text-decoration: none;
  font-size: 0.88rem;
}
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #1f2d40;
  padding-top: 20px;
  text-align: center;
  font-size: 0.83rem;
  color: #8a93a0;
}

/* Breadcrumbs */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.88rem;
  color: var(--text-light);
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }

/* Page hero (smaller, for non-homepage) */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 56px 0 48px;
}
.page-hero h1 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.page-hero .subtitle {
  font-size: 1.08rem;
  max-width: 720px;
  opacity: 0.94;
}

/* Eyebrow label */
.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .cards-grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 1.95rem; }
  .hero .subtitle { font-size: 1.02rem; }
  .page-hero { padding: 40px 0 36px; }
  .page-hero h1 { font-size: 1.7rem; }
  .section-title { font-size: 1.6rem; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  nav ul { gap: 14px; }
  nav .nav-link { display: none; }
  nav .header-phone { display: none; }
  section { padding: 52px 0; }
  .form-wrap iframe { height: 900px !important; }
}

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