:root {
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-head: var(--font-body);

  --c-primary: #0B2E8D;
  --c-primary-hover: #082370;
  --c-primary-soft: #EAF0FB;
  --c-accent: #1F6FEB;
  --c-dark: #0B1530;

  --c-text: #1F2937;
  --c-sub: #4B5563;
  --c-muted: #6B7280;

  --c-bg: #E9EDF2;
  --c-panel: #FFFFFF;
  --c-head: #F3F5F8;
  --c-line: #D5DAE1;
  --c-line-soft: #E6E9EE;
  --c-line-strong: #BFC6D1;

  --wrap: 1200px;
  --nav-h: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: -0.006em;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.topbar { background: var(--c-dark); color: #AEB7C7; font-size: 12px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 34px; }
.topbar p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar ul { display: flex; gap: 20px; flex-shrink: 0; }
.topbar a { color: #D6DCE6; }

.masthead { background: var(--c-panel); border-bottom: 1px solid var(--c-line); }
.masthead-in { display: flex; align-items: center; gap: 20px; height: 88px; }
.logo { display: block; flex-shrink: 0; }
.logo img { display: block; height: 40px; width: auto; }
.qsearch { display: flex; width: 420px; max-width: 100%; margin-left: auto; border: 1px solid var(--c-line-strong); background: #fff; }
.qsearch:focus-within { border-color: var(--c-primary); }
.qsearch input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 0; font: inherit; color: var(--c-text); background: none; }
.qsearch input:focus { outline: none; }
.qsearch button { padding: 0 18px; border: 0; border-left: 1px solid var(--c-line-strong); background: var(--c-head); color: var(--c-text); font-weight: 500; }
.qsearch button:hover { background: var(--c-primary-soft); color: var(--c-primary); }
.quote-btn {
  display: inline-flex; align-items: center; flex-shrink: 0;
  height: 42px; padding: 0 20px;
  background: var(--c-primary); color: #fff;
  font-family: var(--font-head); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .01em;
}
.quote-btn:hover { background: var(--c-primary-hover); text-decoration: none; }

.navbar { position: sticky; top: 0; z-index: 50; background: var(--c-primary); box-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
.nav { display: flex; margin-left: -20px; }
.nav > li { position: relative; }
.nav > li > a {
  display: block; padding: 0 20px; line-height: var(--nav-h);
  color: #fff; font-family: var(--font-head); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .01em;
  white-space: nowrap;
}
.nav > li > a::after {
  content: ""; display: inline-block; margin-left: 8px; vertical-align: middle;
  border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; opacity: .7;
}
.nav > li:hover > a, .nav > li:focus-within > a, .nav > li.is-current > a { background: var(--c-primary-hover); text-decoration: none; }
.nav > li.is-current > a { box-shadow: inset 0 -3px 0 var(--c-accent); }

.drop {
  position: absolute; top: 100%; left: 0; display: none;
  min-width: 250px; padding: 10px 0;
  background: #fff; border: 1px solid var(--c-line); border-top: 3px solid var(--c-accent);
  box-shadow: 0 10px 24px rgba(11, 21, 48, .14);
}
.nav > li:hover .drop, .nav > li:focus-within .drop { display: block; }
.drop a { display: block; padding: 7px 18px; color: var(--c-text); }
.drop a:hover { background: var(--c-primary-soft); color: var(--c-primary); text-decoration: none; }
.drop.mega { width: 760px; padding: 22px 8px; grid-template-columns: repeat(3, 1fr); }
.nav > li:hover .drop.mega, .nav > li:focus-within .drop.mega { display: grid; }
.mega-col { padding: 0 14px; border-left: 1px solid var(--c-line-soft); }
.mega-col:first-child { border-left: 0; }
.mega-tit { margin: 0 0 8px; padding: 0 0 8px; border-bottom: 1px solid var(--c-line); }
.mega-tit a { padding: 0; font-family: var(--font-head); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: var(--c-primary); }
.mega-tit a:hover { background: none; text-decoration: underline; }
.mega-col .sub a { padding: 5px 0; }
.mega-col .sub a:hover { background: none; }

body { min-width: 1240px; }
.nav > li.no-drop > a::after { display: none; }

.footer { background: var(--c-dark); color: #AEB7C7; font-size: 13px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding: 44px 20px 36px; }
.footer-logo img { display: block; height: 34px; width: auto; filter: brightness(0) invert(1); }
.footer-about p { margin: 14px 0 0; line-height: 1.7; }
.footer h4 { margin: 0 0 12px; font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; color: #fff; }
.footer li + li { margin-top: 6px; }
.footer a { color: #C9D1DD; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; font-size: 12px; }
.ph img { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
