/* ---------- Base ---------- */

:root {
  --blue-dark: #003366;
  --blue-main: #0059b3;
  --blue-light: #e6f0ff;
  --accent-gold: #cc9900;
  --gray-light: #f5f5f5;
  --gray-mid: #777777;
  --text-main: #222222;
  --max-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: white;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue-main);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Top bar ---------- */

.top-bar {
  background: var(--blue-dark);
  color: white;
  font-size: 0.9rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.top-bar a {
  color: white;
}

/* ---------- Header / Nav ---------- */

.site-header {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  background: var(--blue-main);
  color: white;
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue-dark);
}

.tagline {
  font-size: 0.9rem;
  color: var(--gray-mid);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap; /* ⬅ prevents second line */
  white-space: nowrap;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--blue-dark);
  padding: 0.3rem 0.4rem;
  border-radius: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--blue-light);
  text-decoration: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-main);
  color: white;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  border: 1px solid var(--blue-main);
  color: var(--blue-main);
  background: transparent;
}

.btn-outline:hover {
  background: var(--blue-light);
}

/* ---------- Hero (Home) ---------- */

.hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-main));
  color: white;
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin: 0 0 0.6rem;
}

.hero-subtitle {
  font-size: 1.02rem;
  max-width: 32rem;
  margin-bottom: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.hero-meta {
  font-size: 0.85rem;
  opacity: 0.9;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.hero-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-pill-list li {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
}

/* ---------- Sections ---------- */

.section {
  padding: 2.4rem 0;
}

.section.alt {
  background: var(--gray-light);
}

.section-header {
  text-align: center;
  margin-bottom: 1.9rem;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
  color: var(--blue-dark);
}

.section-subtitle {
  margin: 0;
  color: var(--gray-mid);
  font-size: 0.98rem;
}

/* ---------- Cards / Grids ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid #e8e8e8;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--blue-dark);
}

.card p {
  margin: 0.2rem 0 0.4rem;
  font-size: 0.95rem;
  color: #444;
}

.card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.card ul li {
  margin-bottom: 0.25rem;
}

/* ---------- Page layout (inner pages) ---------- */

.page-hero {
  background: var(--blue-light);
  padding: 2.4rem 0 2.1rem;
  border-bottom: 1px solid #d6e2ff;
}

.page-hero-title {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  color: var(--blue-dark);
}

.page-hero-subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: var(--gray-mid);
  max-width: 40rem;
}

.page {
  padding: 2.2rem 0 2.8rem;
}

.page-two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.page h2 {
  font-size: 1.3rem;
  margin-top: 0;
  color: var(--blue-dark);
}

.service-block + .service-block {
  margin-top: 1.7rem;
}

.service-block h3 {
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
  color: var(--accent-gold);
}

.service-block ul {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.95rem;
}

.service-block ul li {
  margin-bottom: 0.25rem;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 2fr);
  gap: 2rem;
}

.contact-card {
  background: white;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.contact-details p {
  margin: 0 0 0.4rem;
}

.contact-details strong {
  color: var(--blue-dark);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #cccccc;
  font: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0d1a26;
  color: #d0d7e4;
  padding: 1.4rem 0 1.6rem;
  font-size: 0.85rem;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner a {
  color: #d0d7e4;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner,
  .page-two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 2.6rem;
  }
}
