:root {
  --brand-primary: #44649c;
  --brand-accent: #0170B9;
  --brand-cta: #304770;
  --brand-light: #f5f5f5;
  --brand-text: #292d32;
  --color-secondary: #5a6370;
  --color-muted: #718096;
  --color-border: #e2e8f0;
  --radius: 0.5rem;
  --gradient-brand: linear-gradient(135deg, var(--brand-cta) 0%, var(--brand-primary) 100%);

  /* Type Scale */
  --text-xs: 0.8rem;
  --text-sm: 0.875rem;
  --text-base: 1.05rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.625rem;
  --text-2xl: 2.5rem;
}

address { font-style: normal; }

body {
  font-family: "Proxima Nova", "proxima-nova", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--text-base);
  color: var(--brand-text);
}

/* Top Bar */
.top-bar {
  background: var(--brand-primary);
  color: #fff;
  padding: 0.4rem 0;
  font-size: var(--text-sm);
}
.top-bar a { color: rgba(255,255,255,0.9); text-decoration: none; }
.top-bar a:hover { color: #fff; }

/* Navbar */
.navbar { border-bottom: 1px solid var(--color-border); padding: 0.75rem 0; }
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
.navbar .dropdown-item { padding: 0.5rem 1.25rem; }
.navbar .dropdown-toggle::after { vertical-align: 0.15em; }
.navbar-brand { color: var(--brand-primary) !important; font-weight: 700; font-size: var(--text-lg); }
.nav-link { color: var(--color-secondary) !important; font-weight: 500; }
.nav-link:hover { color: var(--brand-primary) !important; }
.btn-cta {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff !important;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 0.375rem;
}
.btn-cta:hover { background: var(--brand-cta); border-color: var(--brand-cta); }

/* Hero */
.hero {
  background: var(--gradient-brand);
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}
.hero-overlay {
  background: linear-gradient(135deg,
    rgba(48, 71, 112, var(--hero-overlay-opacity, 0.8)) 0%,
    rgba(68, 100, 156, var(--hero-overlay-opacity, 0.8)) 100%);
  padding: 4rem 0 3.5rem;
}
.hero h1 { font-size: var(--text-2xl); font-weight: 700; line-height: 1.2; }
.hero .lead { font-size: var(--text-md); color: rgba(255,255,255,0.9); }
.btn-gold {
  background: var(--brand-cta);
  border-color: var(--brand-cta);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
}
.btn-gold:hover { background: #243454; border-color: #243454; color: #fff; }


/* Section Headings */
.section-heading h2 { color: var(--brand-primary); font-weight: 700; }
.section-heading p { color: var(--color-muted); }

/* Service Cards */
.service-card {
  display: block;
  position: relative;
  border: none;
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  height: 100%;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #2c3e5a;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(25, 64, 103, 0.84);
  border-radius: var(--radius);
  transition: background-color 0.2s;
}
.service-card:hover::after { background-color: rgba(25, 64, 103, 0.92); }
.service-card > * { position: relative; z-index: 1; }
.service-card h3 { color: #fff; font-size: var(--text-md); font-weight: 700; margin-bottom: 1rem; }
.service-card hr { border-color: rgba(255,255,255,0.3); margin: 0 0 0.75rem; }
.service-card .learn-more { color: #fff; font-weight: 500; }
.service-icon { width: 56px; height: 56px; margin: 0 auto 1rem; display: block; }

/* Why Us */
.why-us-icon { width: 36px; height: 36px; color: var(--brand-text); margin-bottom: 0.5rem; }
.why-us-item h3 { color: var(--brand-primary); font-size: var(--text-md); font-weight: 600; margin-bottom: 0.25rem; }
.why-us-item p { color: var(--color-secondary); }

/* Team Section */
.team-photo {
  border-radius: var(--radius);
  overflow: hidden;
}

/* CTA */
.cta-section { background: var(--gradient-brand); }

/* Image Placeholders */
.img-placeholder {
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
  border-radius: var(--radius);
}

/* Footer */
.footer-bar { background: #fff; border-top: 1px solid var(--color-border); }
.footer-brand { color: var(--brand-primary); font-weight: 700; font-size: var(--text-lg); }
.footer-heading { color: var(--brand-primary); font-weight: 600; font-size: var(--text-md); }
.footer-bar p { color: var(--color-secondary); }

/* Footer contact list */
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: var(--color-secondary);
}
.footer-contact-list svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--brand-primary); }
.footer-contact-list a { color: var(--color-secondary); text-decoration: none; }
.footer-contact-list a:hover { color: var(--brand-primary); }

/* Footer nav list */
.footer-nav-list { list-style: none; padding: 0; margin: 0; }
.footer-nav-list li { margin-bottom: 0.5rem; }
.footer-nav-list a { color: var(--color-secondary); text-decoration: none; }
.footer-nav-list a:hover { color: var(--brand-primary); }

/* Footer social icons */
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { color: var(--brand-primary); text-decoration: none; transition: color 0.2s; }
.footer-social a:hover { color: var(--brand-accent); }

/* Copyright bar */
.footer-bottom { background: var(--brand-light); border-top: 1px solid var(--color-border); }
.footer-bottom p { color: var(--color-muted); font-size: var(--text-xs); margin: 0; }
.footer-bottom a { color: var(--color-muted); text-decoration: underline; }
.footer-bottom a:hover { color: var(--brand-primary); }

/* Service Page Template */
.service-hero {
  background: var(--gradient-brand);
  color: #fff;
  padding: 3.5rem 0;
}
.service-hero h1 { font-size: var(--text-2xl); font-weight: 700; line-height: 1.2; }
.service-content h2 { color: var(--brand-primary); font-weight: 700; }
.service-content h3 { color: var(--brand-primary); font-weight: 600; }

/* Gutenberg content alignment */
.entry-content > * { max-width: 760px; }
.entry-content > .alignwide { max-width: 1100px; }
.entry-content > .alignfull { max-width: none; }

@media (max-width: 768px) {
  .hero h1, .service-hero h1 { font-size: 1.75rem; }

}
