/* Brand-only refinements. Original layout, typography and backgrounds retained. */
:root {
  --primary: #284493;
  --primary-dark: #1d3475;
  --primary-light: #a5b9ee;
}
::selection { background: var(--primary); color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid #8fa9ed; outline-offset: 4px; }
/* The supplied image is unchanged. Crop its white margins with a CSS viewport. */
.brand-logo { display: block; position: relative; width: 235px; height: 44px; flex: 0 0 235px; overflow: hidden; background: #fff; border-radius: 4px; }
.brand-logo img, .navbar .brand-logo img { position: absolute; width: 108%; max-width: none; height: auto; left: -4%; top: 50%; transform: translateY(-44.2%); border-radius: 0; }
.footer-logo { margin-bottom: 16px; background: transparent; border-radius: 0; }
/* Navigation uses a white surface so the original royal-blue logo stays legible. */
.navbar { background: #fff; border-bottom: 1px solid #e7eaf2; }
.navbar.scrolled { box-shadow: 0 2px 20px #19294d12; }
.nav-menu a, .site-contact .nav-links a { color: #5a6274; }
.nav-menu a:hover, .site-contact .nav-links a:hover { color: var(--primary); background: #edf1fa; }
.nav-menu a.active, .site-contact .nav-links a.active { color: var(--primary); }
.nav-cta { color: #fff !important; }
/* Lighter blue accents retain contrast on the original dark sections. */
.hero-tag { color: var(--primary-light); border-color: #849bce; }
.hero h1 em, .hero-slogan, .hero-stat-num, .about-stat-num { color: var(--primary-light); }
.advantages .section-tag, .careers .section-tag { color: var(--primary-light); }
.advantage-icon svg { stroke: var(--primary-light); }
.advantage-point::before, .job-section-title, .job-list li::before { color: var(--primary-light); }
.advantages .section-divider, .careers .section-divider { background: var(--primary-light); }
.btn-outline:hover { color: var(--primary-light); border-color: var(--primary-light); }
.site-home .footer-contact-item svg, .site-contact .contact-icon svg { stroke: var(--primary-light); }
.site-contact .contact-tag { color: var(--primary-light); }
.site-contact .contact-info a:hover { color: var(--primary-light); }
/* Four static photographs are always visible. */
.about-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.about-gallery-photo { position: relative; display: block; min-width: 0; aspect-ratio: 1.6; overflow: hidden; border-radius: 12px; background: #f5f5f7; isolation: isolate; }
.about-gallery-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-gallery-photo::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,rgba(15,20,29,.68)); pointer-events: none; }
.about-gallery-photo span { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.5; }
@media (max-width:420px) {
  .about-gallery { gap: 8px; }
  .about-gallery-photo { aspect-ratio: 1.35; border-radius: 10px; }
  .about-gallery-photo span { left: 10px; bottom: 9px; font-size: 11px; }
}
@media (max-width:1024px) {
  .site-home .nav-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; gap: 0; border-bottom: 1px solid #e7eaf2; }
  .site-home .nav-menu.active { display: flex; }
  .site-home .nav-menu a { display: block; padding: 12px 16px; border-bottom: 1px solid #edf0f6; }
  .site-home .mobile-toggle { display: block; }
  .site-home .mobile-toggle span { background: var(--primary); }
  .site-contact .navbar { height: auto; min-height: 70px; flex-wrap: wrap; justify-content: center; padding-block: 14px; gap: 20px; }
  .site-contact .nav-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width:768px) {
  .brand-logo { width: 215px; flex-basis: 215px; height: 40px; }
  .site-contact .nav-links { display: flex; gap: 14px; }
  .site-contact .nav-links a { font-size: 12px; }
  .site-contact .nav-cta { display: inline-block; padding: 7px 12px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
