/* ================================================================
   SITE — shared header, navigation, footer and base rules for the
   main pages. Loaded before each page's own <style>, so a page can
   still override anything here.
   ================================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Instrument Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.display {
  font-family: 'Fraunces', serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 12px;
  z-index: 990;
  padding: 0 20px;
  margin-bottom: -12px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px 7px 22px;
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  border: 1px solid rgba(220, 231, 249, 0.75);
  box-shadow: 0 8px 26px rgba(15, 29, 61, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.25s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: #16264A;
}

.brand-name small {
  display: block;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #56627A;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: .9rem;
  color: #5C6B85;
  transition: color .2s ease, font-weight .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1E56C7;
  font-weight: 600;
}

.nav-cta {
  background: #1E56C7;
  color: #ffffff !important;
  padding: 8.5px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .87rem;
  box-shadow: 0 4px 12px rgba(11, 23, 54, 0.18);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}

.nav-cta:hover {
  background: #123C93 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(11, 23, 54, 0.26);
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(220, 231, 249, 0.75);
  border-radius: 10px;
  cursor: pointer;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: #16264A;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: #E4EEFF;
  border-color: #1E56C7;
  color: #1E56C7;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle .ic-close {
  display: none;
}

.nav.open .nav-toggle .ic-open {
  display: none;
}

.nav.open .nav-toggle .ic-close {
  display: inline;
}

.page-hero {
  background: linear-gradient(180deg, #F7FAFF, #EAF1FF);
  color: var(--text);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 64px 20px 72px;
  text-align: center;
  --glow: rgba(30, 86, 199, .14);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -25% -15% auto auto;
  width: 65%;
  height: 130%;
  background: radial-gradient(closest-side, var(--glow), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}

.hero-badge i {
  color: var(--accent);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--ink);
}

.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

footer {
  background: #0F1D3D;
  color: #C7D3E8;
  padding: 56px 0 30px;
  border-top: 4px solid var(--sky);
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

@media (max-width: 860px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-col h2 {
  font-family: 'Fraunces', serif;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
  position: relative;
}

.footer-col h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--sky);
  margin-top: 6px;
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: #A3B5D9;
  font-size: 0.9rem;
  transition: color .2s ease, transform .2s ease;
  display: inline-block;
}

.footer-col ul a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-map h2 {
  font-family: 'Fraunces', serif;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.map-card a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.map-card a:hover {
  background: rgba(76, 134, 240, 0.15);
  border-color: var(--sky);
  transform: translateY(-2px);
}

.map-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.map-content h3 {
  font-family: 'Instrument Sans', sans-serif;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.map-content p {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: #A3B5D9;
}

.map-content span {
  font-size: 12px;
  color: #8DB0F7;
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .2s;
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

.footer-phone {
  font-size: 0.84rem;
  color: #A3B5D9;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.footer-bottom {
  max-width: 1140px;
  margin: 36px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.82rem;
  color: #9AABCB;
}
