@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --blue: #0A1E4A;
  --blue-dark: #1f4f8c;
  --navy: #0a1e4a;
  --sky: #eef3fa;
  --pink: #fde0e0;
  --text: #4a5568;
  --line: #dbe3ef;
  --radius: 12px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 14.5px; line-height: 1.65; color: var(--text); background: #fff;
}
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
.wrap { width: 92%; max-width: var(--wrap); margin: 0 auto; }
section { scroll-margin-top: 80px; }

/* Top ticker */
.topbar { height: 32px; line-height: 32px; overflow: hidden; white-space: nowrap; font-size: 12px; color: #e6eefb; background: var(--navy); }
.ticker { display: inline-block; padding-left: 100%; animation: tick 40s linear infinite; }
.topbar:hover .ticker { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-100%); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 3px 16px rgba(10,30,74,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 96px; }
.brand img { display: block; width: 360px; max-width: 100%; height: auto; }
.nav { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--navy); text-decoration: none; border-radius: 999px; transition: all .2s; }
.nav a:hover, .nav .active a { color: #fff; background: var(--blue); }
.nav-toggle { display: none; width: 40px; height: 40px; font-size: 18px; color: var(--navy); background: var(--sky); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }

/* Hero: text + sharp framed photo */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 540px;
  padding: 70px 0 130px;
  background:
    linear-gradient(90deg, rgba(10,30,74,.92) 0%, rgba(10,30,74,.72) 42%, rgba(10,30,74,.08) 100%),
    url("../images/hero.jpg") center right / cover no-repeat,
    url("../images/slides/img1.jpg") center / cover no-repeat;
}
.hero .wrap { width: 92%; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--blue), #7fb0ea, var(--pink)); }
.hero-text { max-width: 560px; }
.hero h1 { margin: 0 0 14px; font-size: 34px; text-shadow: 0 2px 12px rgba(0,0,0,.35); line-height: 1.2; font-weight: 700; letter-spacing: -.3px; color: #fff; }
.hero p { margin: 0; font-size: 14.5px; line-height: 1.75; color: #e3ecf9; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* Search card */
div#onos-finder {
  position: relative; z-index: 5;
  width: 92%; max-width: 600px;
  margin: -64px auto 0;
  padding: 24px 26px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(10,30,74,.18);
}
div#onos-finder h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--navy); }
div#onos-finder p.onos-hint { margin: 0 0 14px; font-size: 12.5px; color: #6b7686; }
div#onos-finder form#onos-search-form { display: flex; gap: 8px; margin: 0; }
div#onos-finder input#onos-q { flex: 1; min-width: 0; height: 42px; padding: 0 16px; font: inherit; font-size: 14px; color: var(--navy); background: var(--sky); border: 1px solid transparent; border-radius: 999px; }
div#onos-finder input#onos-q:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,108,181,.2); }
div#onos-finder button[type="submit"] { height: 42px; padding: 0 24px; font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: var(--blue); border: 0; border-radius: 999px; cursor: pointer; transition: background .2s; }
div#onos-finder button[type="submit"]:hover { background: var(--navy); }
div#onos-finder p.small { margin: 14px 0 0; font-size: 12px; color: #6b7686; }
div#onos-finder p.small a { font-weight: 600; }

/* Sections */
.section { padding: 60px 0; }
.section.alt { background: var(--sky); border-top: 1px solid var(--line); }
.section h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.2px; color: var(--navy); }
.section h2::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 10px; background: linear-gradient(90deg, var(--blue), #7fb0ea); border-radius: 3px; }

/* Accordion */
.collapsible { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 20px; font: inherit; text-align: left; color: #fff; background: var(--blue); border: 1px solid var(--blue); border-radius: var(--radius); cursor: pointer; transition: all .2s; }
.collapsible:hover { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 6px 18px rgba(45,108,181,.3); }
.collapsible .ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none; font-size: 16px; color: #fff; background: rgba(255,255,255,.18); border-radius: 10px; }
.collapsible b { flex: 1; font-size: 15px; font-weight: 700; letter-spacing: .4px; }
.collapsible .fa-chevron-down { float: none !important; font-size: 12px; color: #fff; transition: transform .25s; }
.collapsible.active { color: var(--navy); background: #fff; border-color: var(--line); border-bottom-color: var(--line); border-radius: var(--radius) var(--radius) 0 0; box-shadow: none; }
.collapsible.active .ico { color: var(--blue); background: var(--sky); }
.collapsible.active .fa-chevron-down { color: var(--navy); transform: rotate(180deg); }

.content { display: none; gap: 10px; padding: 18px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.content.open { display: block; }
.collapsible b .count { margin-left: 10px; padding: 2px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0; color: #fff; background: rgba(255,255,255,.22); border-radius: 999px; }
.collapsible.active b .count { color: var(--navy); background: var(--sky); }

.jfilter { position: relative; margin-bottom: 14px; }
.jfilter .fa { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--navy); }
.jfilter input { width: 100%; height: 42px; padding: 0 16px 0 40px; font: inherit; font-size: 13.5px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.jfilter input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,108,181,.15); }

.jgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-height: 500px; padding-right: 8px; overflow-y: auto; align-items: start; }
.jgrid::-webkit-scrollbar { width: 8px; }
.jgrid::-webkit-scrollbar-thumb { background: #b9c7dd; border-radius: 8px; }
.content .list-group-item {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  min-height: 62px; margin: 0; padding: 12px 14px;
  font-size: 13px; font-weight: 600; line-height: 1.35;
  color: var(--navy); text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  transition: all .2s;
}
.content .list-group-item .av { display: grid; place-items: center; flex: none; width: 32px; height: 32px; font-family: Georgia, 'Times New Roman', serif; font-size: 15px; font-weight: 700; color: #fff; background: var(--blue); border-radius: 8px; transition: background .2s; }
.content .list-group-item .lbl { flex: 1; min-width: 0; }
.content .list-group-item:hover { border-color: var(--blue); box-shadow: 0 6px 16px rgba(45,108,181,.15); transform: translateY(-1px); }
.content .list-group-item:hover .av { background: var(--navy); }
.steps-toggle { flex-basis: 100%; padding-top: 8px; font-size: 12px; font-weight: 600; color: var(--blue); border-top: 1px dotted var(--line); cursor: pointer; }
.steps-toggle::before { content: "\25B8"; display: inline-block; margin-right: 6px; transition: transform .2s; }
.steps-toggle.on::before { transform: rotate(90deg); }
.tooltip-text { display: none; flex-basis: 100%; font-size: 12px; font-weight: 400; line-height: 1.55; color: var(--text); }
.tooltip-text.show { display: block; }
.tooltip-text br + br { display: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.card { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius); box-shadow: 0 6px 20px rgba(10,30,74,.05); }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { padding: 4px 0; font-size: 13.5px; word-break: break-word; }
.card .fa { width: 22px; font-size: 13px; color: var(--blue); }
.card li:first-child { font-size: 15px; font-weight: 700; color: var(--navy); }
.notice { margin-top: 22px; padding: 12px 18px; font-size: 12.5px; color: var(--navy); background: var(--pink); border-radius: 10px; }
.site-footer { height: 10px; background: var(--navy); }

/* Responsive */
@media (max-width: 1000px) { .jgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .jgrid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: 8px 4%; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .brand img { width: 250px; }
  .hero { min-height: 0; padding: 50px 0 110px; background-position: center, 70% center, center; }
  .hero h1 { font-size: 26px; }
  
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
@media (max-width: 560px) {
  .jgrid { grid-template-columns: 1fr; }
  div#onos-finder form#onos-search-form { flex-direction: column; }
  div#onos-finder button[type="submit"] { width: 100%; }
}