:root {
  color-scheme: light;
  --blue-950: #00354f;
  --blue-900: #004664;
  --blue-800: #005d7e;
  --blue-700: #08779d;
  --line: #d4d9dc;
  --muted: #68747a;
  --paper: #ffffff;
  --page: #dedede;
  --shadow: 0 14px 32px rgba(0, 48, 71, .22);
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--page); }

body {
  margin: 0;
  color: #171b1d;
  background: linear-gradient(#dadada 0, #eeeeee 180px, #dddddd 100%);
  font-size: 14px;
  line-height: 1.55;
}

a { color: var(--blue-700); text-underline-offset: 2px; }
a:hover { color: var(--blue-950); }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  padding: .65rem .9rem;
  color: #fff;
  background: #111;
  border-radius: .2rem;
}

.skip-link:focus { transform: none; }

.site-shell {
  width: min(946px, calc(100% - 32px));
  margin: 0 auto 40px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.masthead {
  position: relative;
  min-height: 108px;
  padding: 10px 12px 0 28px;
  background: linear-gradient(105deg, #fff 0, #f6f6f6 68%, #e8e8e8 100%);
}

.brand img { width: 165px; height: 89px; object-fit: contain; }

.header-tools {
  position: absolute;
  top: 17px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.languages { display: flex; gap: 8px; font-size: 12px; }
.languages a { color: #111; text-decoration: none; }
.languages .disabled { color: #777; cursor: help; }

.search-form {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-form label { font: italic 12px Georgia, serif; color: #333; }
.search-form input {
  width: 133px;
  height: 25px;
  border: 1px solid #d8d8d8;
  background: #fff;
  padding: 3px 8px;
}
.search-form button {
  width: 28px;
  height: 25px;
  border: 0;
  color: #fff;
  background: var(--blue-800);
  cursor: pointer;
}

.primary-nav {
  background: linear-gradient(#086d91, #003b59);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 5px 14px rgba(0,0,0,.28);
}

.primary-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0 18px;
  display: flex;
}

.nav-item { position: relative; border-right: 1px solid rgba(255,255,255,.2); }
.nav-item:first-child { border-left: 1px solid rgba(255,255,255,.12); }
.nav-item > a {
  display: block;
  padding: 15px 13px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
}
.nav-item:hover > a, .nav-item:focus-within > a, .nav-item.active > a { background: rgba(0,0,0,.16); }

.subnav {
  display: none;
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  min-width: 210px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--blue-950);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.nav-item:hover .subnav, .nav-item:focus-within .subnav { display: block; }
.subnav a { display: block; padding: 8px 14px; color: #fff; text-decoration: none; }
.subnav a:hover, .subnav a:focus { background: var(--blue-700); }

.hero {
  margin: 25px 28px 0;
  height: 233px;
  overflow: hidden;
  border: 1px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  background: #5a2e21;
}
.hero img { width: 100%; height: 100%; object-fit: cover; display: block; animation: hero-fade 18s infinite; }
@keyframes hero-fade { 0%, 100% { opacity: 1 } 48% { opacity: .86 } 52% { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .hero img { animation: none; } }

.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 255px; min-height: 380px; }
.page-body.home-body { grid-template-columns: minmax(0, 1fr) 255px; }
.main-content { padding: 24px 30px 38px; min-width: 0; }
.sidebar { padding: 24px 22px; border-left: 1px solid #e0e0e0; box-shadow: -5px 0 11px rgba(0,0,0,.09); }

.breadcrumb { margin-bottom: 16px; color: #758087; font-size: 12px; }
.breadcrumb a { color: #65737a; }

h1, h2 { font-family: Georgia, "Times New Roman", serif; color: var(--blue-800); line-height: 1.16; }
h1 { margin: 0 0 18px; font-size: 26px; font-weight: 400; }
h2 { margin: 24px 0 10px; font-size: 19px; }
p { margin: 0 0 15px; }
ul { padding-left: 22px; }
.prose { font-family: Georgia, "Times New Roman", serif; font-size: 15px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: #15191b; }

.home-award { width: 150px; height: 150px; margin-top: 2px; }
.certificate-list h2 { color: #111; text-align: center; margin-top: 0; }
.certificate-list a { display: block; padding: 9px 0; color: #111; text-align: center; text-decoration: none; line-height: 1.25; }
.certificate-list a:hover { color: var(--blue-700); }

.side-menu { list-style: none; margin: 0; padding: 0; }
.side-menu li { border-bottom: 1px solid #e3e3e3; }
.side-menu a { display: block; padding: 11px 8px; color: var(--blue-900); text-decoration: none; font-weight: 700; }
.side-menu a:hover, .side-menu a.active { color: #999; }

.product-list { display: grid; gap: 28px; }
.product-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: start; }
.product-item img { width: 200px; height: 133px; object-fit: cover; }
.product-item h2 { margin-top: 0; }
.section-heading { padding-top: 8px; border-top: 1px solid var(--line); }

.file-link { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.file-link img { width: 23px; height: 23px; }
.hotline-card { padding: 20px; border-left: 5px solid var(--blue-700); background: #edf5f7; }
.button-link { display: inline-block; padding: 10px 18px; color: #fff; background: var(--blue-800); text-decoration: none; font-weight: 700; }
.button-link:hover { color: #fff; background: var(--blue-950); }

.search-results { list-style: none; padding: 0; }
.search-results li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-results a { font-size: 17px; font-weight: 700; }

.footer-nav { background: linear-gradient(#004965, #003d5b); color: #fff; padding: 30px; }
.footer-columns { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.footer-column { border-right: 1px solid rgba(255,255,255,.36); padding-right: 12px; }
.footer-column:last-child { border-right: 0; }
.footer-column h3 { margin: 0 0 8px; font-size: 14px; line-height: 1.05; }
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column li { margin: 3px 0; line-height: 1.2; }
.footer-column a { color: #fff; text-decoration: none; font-size: 12px; }
.footer-column a:hover { text-decoration: underline; }
.copyright { margin-top: 28px; text-align: center; font-size: 11px; }

.mobile-toggle { display: none; }

@media (max-width: 780px) {
  .site-shell { width: 100%; margin: 0; box-shadow: none; }
  .masthead { min-height: 102px; padding-left: 16px; }
  .brand img { width: 145px; }
  .header-tools { top: 12px; }
  .search-form { display: none; }
  .mobile-toggle { display: block; width: 100%; padding: 13px 16px; border: 0; color: #fff; background: var(--blue-950); text-align: left; font-weight: 700; }
  .primary-nav > ul { display: none; padding: 0; flex-direction: column; }
  .primary-nav.open > ul { display: flex; }
  .nav-item { border: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .nav-item > a { padding: 12px 16px; }
  .subnav { display: block; position: static; box-shadow: none; background: rgba(0,0,0,.14); }
  .subnav a { padding-left: 32px; }
  .hero { height: 180px; margin: 16px; }
  .page-body, .page-body.home-body { grid-template-columns: 1fr; }
  .main-content { padding: 24px 20px 34px; }
  .sidebar { border: 0; border-top: 1px solid var(--line); box-shadow: none; padding: 22px 20px; }
  .product-item { grid-template-columns: 150px minmax(0, 1fr); gap: 14px; }
  .product-item img { width: 150px; height: 100px; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
  .footer-column:nth-child(even) { border-right: 0; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .hero { height: 132px; }
  h1 { font-size: 24px; }
  .product-item { grid-template-columns: 1fr; }
  .product-item img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .footer-columns { grid-template-columns: 1fr; }
  .footer-column { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: 14px; }
}
