/* ==========================================================================
   TITLE SQUARE — CORPORATE LEGAL THEME
   Deep Navy #002244 / Red #c8102e / Gold #ffc72c
   Fonts: Plus Jakarta Sans + Inter
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --navy:        #002244;
  --navy-dark:   #00152b;
  --navy-mid:    #003066;
  --red:         #c8102e;
  --red-hover:   #a50d25;
  --gold:        #ffc72c;
  --gold-dark:   #d9a500;
  --green:       #059669;
  --green-bg:    #ecfdf5;
  --green-border:#6ee7b7;

  --bg-page:     #f2f4f7;
  --bg-white:    #ffffff;
  --border:      #dde1e7;
  --border-light:#eef0f3;

  --text-dark:   #0d1b2a;
  --text-mid:    #3d4f63;
  --text-muted:  #5e7286;
  --text-light:  #8fa3b3;

  --font-h:      'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-b:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --r-xs:  3px;
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;

  --shadow-sm:   0 1px 3px rgba(0,34,68,.07), 0 1px 2px rgba(0,34,68,.05);
  --shadow-md:   0 4px 12px rgba(0,34,68,.10), 0 2px 4px rgba(0,34,68,.06);
  --shadow-lg:   0 12px 32px rgba(0,34,68,.14), 0 4px 8px rgba(0,34,68,.08);

  --max-w: 1160px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 64px;
}

@media (min-width: 992px) { body { padding-bottom: 0; } }

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; font-family: var(--font-b); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 12.5px;
  color: #8fa3b3;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
  gap: 16px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8fa3b3;
  transition: color .15s;
}

.top-bar-left a:hover { color: #ffffff; }

.top-bar-right { display: flex; align-items: center; }

.top-bar-city-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #d1dce8;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-xl);
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo-img {
  height: 46px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.mobile-drawer-links {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-h);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-mid);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--navy);
  background: var(--bg-page);
}

.nav-link.active {
  color: var(--navy);
  font-weight: 800;
  background: transparent;
  border-bottom: 2.5px solid var(--navy);
  border-radius: 0;
  padding-bottom: 6px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  white-space: nowrap;
}

.btn:active { transform: scale(.98); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

.btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-red:hover { background: var(--red-hover); border-color: var(--red-hover); }

.btn-yellow {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  font-weight: 800;
}
.btn-yellow:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.mobile-toggle-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--bg-page);
  border: 1.5px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

/* ============================================================
   STATUS BADGES
   ============================================================ */
.badge-active-hub {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-xl);
  white-space: nowrap;
}

.badge-active-hub::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-soon-hub {
  display: inline-flex;
  align-items: center;
  background: #f4f5f7;
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--r-xl);
  white-space: nowrap;
}

/* ============================================================
   SECTION LAYOUTS
   ============================================================ */
.section-white {
  background: var(--bg-white);
  padding: 72px 0;
  border-bottom: 1px solid var(--border-light);
}

.section-gray {
  background: var(--bg-page);
  padding: 72px 0;
  border-bottom: 1px solid var(--border-light);
}

.section-title-wrap {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--red);
  margin-bottom: 10px;
}

.section-heading {
  font-family: var(--font-h);
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: #8fa3b3;
  padding: 56px 0 0;
  border-top: 3px solid var(--red);
}

.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
  height: 36px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 13.5px;
  color: #7a90a3;
  line-height: 1.65;
}

.footer-accreditation {
  margin-top: 12px !important;
  font-size: 12px !important;
  color: #5e7286 !important;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-heading {
  font-family: var(--font-h);
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 16px;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
}

.footer-menu-links li { margin-bottom: 8px; }
.footer-menu-links a {
  font-size: 13.5px;
  color: #7a90a3;
  transition: color .15s;
}
.footer-menu-links a:hover { color: #ffffff; }

.footer-city-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-sm);
  margin-bottom: 6px;
  font-size: 13px;
  color: #d1dce8;
}

.footer-coming-soon-cities {
  font-size: 12px;
  color: #5e7286;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-coming-soon-cities span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #4a5f73;
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-office {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-office strong {
  font-size: 13px;
  color: #d1dce8;
  font-weight: 700;
}

.footer-office span {
  font-size: 12.5px;
  color: #7a90a3;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-contact-links a {
  font-size: 13px;
  color: #7a90a3;
  transition: color .15s;
}
.footer-contact-links a:hover { color: #ffffff; }

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 12.5px;
  color: #4a5f73;
}

.footer-bottom-bar a {
  color: #4a5f73;
  transition: color .15s;
}
.footer-bottom-bar a:hover { color: #8fa3b3; }
