/* ─── CSS CUSTOM PROPERTIES ────────────────────────────────────────────────── */
:root {
  --color-bg:         #FFFFFF;
  --color-bg-soft:    #F8FAFC;
  --color-navy:       #213540;
  --color-blue:       #006A98;
  --color-blue-dark:  #004d7a;
  --color-blue-light: #4DB8E8;
  --color-text:       #1A1A2E;
  --color-text-muted: #64748B;
  --color-border:     #E2E8F0;

  --nav-h: 76px;
  --section-px: clamp(20px, 5vw, 80px);
  --section-py: clamp(60px, 8vw, 100px);
  --radius:  8px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --transition: 0.22s ease;
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  touch-action: pan-y;
  position: relative;
  width: 100%;
  max-width: 100%;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ─── TYPOGRAPHY UTILITIES ──────────────────────────────────────────────── */
.font-display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-blue);
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--color-text);
}
.section-sub {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-blue);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--color-blue-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.08);
}
.btn-outline-dark {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}
.btn-outline-dark:hover { background: var(--color-navy); color: #ffffff; }

/* ─── NAV — all nav CSS lives in components/navbar.html <style> block ─────── */
/* (no nav CSS here — all nav styles are in components/navbar.html)          */

/* ─── SECTIONS ───────────────────────────────────────────────────────────── */
.section-pad {
  padding: var(--section-py) var(--section-px);
}
.section-soft { background: var(--color-bg-soft); }
.section-navy { background: var(--color-navy); }

/* ─── CARDS ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue);
  transform: translateY(-3px);
}

/* ─── CREDENTIAL BADGES ───────────────────────────────────────────────────── */
.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}
.cred-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-blue);
  flex-shrink: 0;
}

/* ─── CREDENTIALS STRIP ─────────────────────────────────────────────────── */
.credentials {
  background: #ffffff;
  padding: 44px var(--section-px);
  border-bottom: 1px solid #E2EAF2;
}
.cred-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 18px;
  border: 1.5px solid #E2EAF2;
  border-radius: 10px;
  transition: all 0.25s;
}
.cred-item:hover {
  border-color: var(--color-blue);
  box-shadow: 0 6px 20px rgba(0,106,152,0.1);
  transform: translateY(-2px);
}
.cred-badge-icon {
  width: 64px; height: 64px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 2px solid; overflow: hidden; padding: 6px;
}
.badge-red  { background: #FFF0F0; border-color: #C53030; }
.badge-tsbc { background: #EFF7FF; border-color: #004a7c; }
.badge-fsr  { background: #EFFFF5; border-color: #27AE60; }
.badge-ins  { background: #FFF8EF; border-color: #E67E22; }
.cred-badge-icon svg { width: 100%; height: 100%; }
.cred-name { font-size: 14px; font-weight: 700; color: #1a2b35; margin-bottom: 3px; }
.cred-sub  { font-size: 11px; color: var(--color-text-muted); }

/* ─── DARK SECTION SERVICE CARDS ─────────────────────────────────────────── */
.section-navy .section-title { color: #ffffff; }
.section-navy .eyebrow { color: var(--color-blue-light); }
.section-navy .svc-tabs {
  border-bottom-color: rgba(255,255,255,0.12);
}
.section-navy .svc-tab {
  color: rgba(255,255,255,0.55);
  border-bottom-color: transparent;
}
.section-navy .svc-tab.active {
  color: var(--color-blue-light);
  border-bottom-color: var(--color-blue-light);
}
.section-navy .svc-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.section-navy .svc-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--color-blue-light);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transform: translateY(-3px);
}
.section-navy .svc-name { color: rgba(255,255,255,0.82); }
.section-navy .svc-icon { background: var(--color-blue-light); opacity: 0.15; }
.section-navy .svc-card:hover .svc-icon { opacity: 0.25; }
.section-navy .svc-arrow { color: var(--color-blue-light); }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}
.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 20px;
}

/* ─── GALLERY ────────────────────────────────────────────────────────────── */
.gallery-grid {
  columns: 3 280px;
  gap: 12px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,35,64,0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}
.gallery-overlay-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover .gallery-overlay { background: rgba(12,35,64,0.45); }
.gallery-item:hover .gallery-overlay-icon { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
  object-fit: contain;
}
.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.22); }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.75);
  padding: 60px var(--section-px) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--color-blue); }
.footer-tagline {
  font-size: 13px;
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 20px;
}
.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: #ffffff; }
.footer-heading.mt { margin-top: 28px; }

/* footer social icons */
.footer-social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px;
  color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.15);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social:hover { color: #ffffff; border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.06); }
.footer-social svg { width: 18px; height: 18px; }
.footer-social .xhs { font-size: 10px; font-weight: 700; line-height: 1; }

/* back to top */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-blue); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s, background 0.2s;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: #004d7a; }
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  padding-right: 32px; /* clear the fixed back-to-top button */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
}

@media (max-width: 768px) {
  .gallery-grid { columns: 2 180px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .credentials { padding: 36px var(--section-px); }
}
@media (max-width: 600px) {
  .cred-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
}
觉