:root {
  --navy: #0f2a4a;
  --navy-light: #1b3a5c;
  --blue: #2f6fe4;
  --blue-light: #eaf1fe;
  --bg: #f7f9fc;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #5b6472;
  --border: #e3e8f0;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(15, 42, 74, 0.08);
  --shadow-hover: 0 10px 28px rgba(15, 42, 74, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}
.logo:hover { text-decoration: none; }
.logo svg { flex-shrink: 0; }
.logo-badge {
  background: #fff;
  border-radius: 10px;
  padding: 5px 9px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-badge img {
  height: 34px;
  width: auto;
  display: block;
}
.logo .sub {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  color: #b9c8dc;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: #dce6f5;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  nav.main-nav {
    display: none;
    width: 100%;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    padding: 8px 0 16px;
  }
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, var(--blue) 130%);
  color: #fff;
  padding: 64px 0 72px;
}
.hero .container { display: flex; flex-direction: column; gap: 18px; }
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0;
  line-height: 1.2;
}
.hero p.lead {
  font-size: 1.15rem;
  color: #dce6f5;
  max-width: 640px;
  margin: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover { background: #eaf1fe; text-decoration: none; }
.btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-light); text-decoration: none; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--blue-light); }

.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: 1.9rem; margin: 0 0 10px; color: var(--navy); }
.section-head p { color: var(--muted); margin: 0; }

/* Social brand icons (top of page) */
#social-top { padding: 40px 0 8px; }
.brand-row { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.brand-icon {
  display: inline-flex;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  line-height: 0;
}
.brand-icon:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); text-decoration: none; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--navy);
}
.service-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-list a, .contact-list span.value { font-weight: 600; color: var(--text); }

.partner-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  text-align: center;
}
.partner-box img { margin: 0 auto 14px; width: 96px; }
.partner-box h3 { margin: 0 0 8px; font-size: 1rem; color: var(--navy); }
.partner-box p { margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; }

.social-row { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--blue-light); color: var(--navy);
  font-weight: 600; font-size: 0.92rem;
}
.social-btn:hover { background: #dbe8fd; text-decoration: none; }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: #cdd9ec;
  padding: 36px 0 26px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #cdd9ec; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.85rem; color: #8fa2bd; margin-top: 18px; }

/* Legal pages */
.legal-page main { padding: 56px 0 72px; }
.legal-page h1 { color: var(--navy); font-size: 2rem; margin-bottom: 6px; }
.legal-page .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 36px; }
.legal-page h2 { color: var(--navy); font-size: 1.25rem; margin-top: 36px; }
.legal-page h3 { color: var(--navy-light); font-size: 1.05rem; margin-top: 22px; }
.legal-page p, .legal-page li { color: var(--text); }
.legal-page .box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.legal-page .note {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--navy-light);
  margin-bottom: 28px;
}
