:root {
  --navy: #14235a;
  --navy-2: #1f3a8a;
  --ink: #1c2230;
  --muted: #5b6477;
  --line: #dfe3ea;
  --bg: #ffffff;
  --soft: #f3f5f9;
  --accent: #e86a1c;
  --radius: 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo img { width: 130px; display: block; }
.menu-tog { display: none; }
.menu-btn { display: none; }
.nav > ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 6px; }
.nav a:hover { background: var(--soft); }
.has-sub { position: relative; }
.has-sub > ul { display: none; position: absolute; top: 100%; left: 0; min-width: 300px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(20,35,90,.12); }
.has-sub:hover > ul, .has-sub:focus-within > ul { display: block; }

.btn { display: inline-block; background: var(--accent); color: #fff !important; padding: 11px 20px; border-radius: 8px;
  text-decoration: none; font-weight: 600; border: 2px solid var(--accent); }
.btn:hover { filter: brightness(.94); background: var(--accent) !important; }
.btn.ghost { background: transparent; color: var(--navy) !important; border-color: var(--navy); }
.btn.ghost:hover { background: var(--soft) !important; }

/* product page */
.crumbs { font-size: 14px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 24px 0 40px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 6px; }
h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 0 0 14px; color: var(--navy); }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 26px; }
.facts div { background: var(--soft); border-radius: 8px; padding: 10px 14px; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 24px; }
.hero-img img { width: 100%; image-rendering: auto; }

.block { padding: 36px 0; border-top: 1px solid var(--line); }
h2 { font-size: 24px; color: var(--navy); margin: 0 0 18px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.specs th, .specs td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.specs thead th { background: var(--navy); color: #fff; font-weight: 600; }
.specs tbody th { text-align: left; font-weight: 500; color: var(--muted); background: #fafbfd; width: 32%; }
.specs tbody tr:last-child > * { border-bottom: 0; }
.specs tbody td { width: auto; }
.specs .photos td { padding: 10px; background: #fff; }
.specs .photos img { display: block; width: 100%; max-width: 220px; aspect-ratio: 4 / 3; object-fit: contain; margin: 0 auto; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 0 0 12px 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; }
.dl { list-style: none; padding: 0; margin: 0 0 20px; }
.dl a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 8px; margin-bottom: 8px; text-decoration: none; color: var(--ink); font-weight: 500; }
.dl a:hover { border-color: var(--navy-2); }
.dl span { font-size: 12px; font-weight: 700; color: #fff; background: #c0392b; padding: 2px 8px; border-radius: 4px; }
.note { background: #fff6ef; border-left: 4px solid var(--accent); padding: 14px 16px; border-radius: 6px; color: var(--ink); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--navy-2); box-shadow: 0 8px 24px rgba(20,35,90,.08); }
.card img { aspect-ratio: 2 / 1; object-fit: contain; background: #fff; border-radius: 8px; margin-bottom: 12px; width: 100%; }
.card-k { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.card-n { font-weight: 700; color: var(--navy); }

/* footer */
.foot { background: var(--navy); color: #cfd6ea; margin-top: 40px; padding: 40px 0 10px; font-size: 15px; }
.foot a { color: #fff; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.foot strong { color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 6px; }
.foot li a { text-decoration: none; }
.copy { border-top: 1px solid rgba(255,255,255,.15); padding-top: 14px; margin-top: 30px; font-size: 13px; }

/* shared bits */
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; }
.small { font-size: 14px; color: var(--muted); }
.btn.sm { padding: 6px 12px; font-size: 14px; }
.btn.ghost.light { color: #fff !important; border-color: #fff; }
.btn.ghost.light:hover { background: rgba(255,255,255,.12) !important; }
.eyebrow.light { color: #ffb37f; }
.phead { padding: 20px 0 30px; max-width: 860px; }
.phead .lead { margin-bottom: 14px; }
.phead .actions { margin-top: 18px; }
.narrow { max-width: 760px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 28px; }
.prose p, .prose li { font-size: 17px; }
.post h1 { font-size: clamp(26px, 3.4vw, 36px); }
.ok, .err { padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.ok { background: #e8f6ec; color: #17612f; }
.err { background: #fdecea; color: #8a1c12; }

.card-img { display: block; background: #fff; border-radius: 8px; margin-bottom: 12px; }
.card-img img { aspect-ratio: 2 / 1; object-fit: contain; width: 100%; display: block; margin: 0; background: #fff; }
.card-t { color: var(--muted); font-size: 14px; margin-top: 4px; }
.cards.big { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cards.big .card-n { font-size: 18px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; text-align: center; }
.gallery img { aspect-ratio: 3 / 2; object-fit: contain; width: 100%; }
.gallery figcaption { font-weight: 700; color: var(--navy); }

.cta-box { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--soft);
  border-radius: var(--radius); padding: 22px 24px; margin: 20px 0 36px; flex-wrap: wrap; }

/* part catalogue pages */
.toc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.toc a { display: block; padding: 6px 12px; background: var(--soft); border-radius: 20px; text-decoration: none; font-size: 14px; color: var(--navy); }
.toc a:hover { background: #e4e9f3; }
.finder { margin: 22px 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.finder label { font-weight: 700; color: var(--navy); }
.finder input { flex: 1 1 320px; font: inherit; padding: 11px 14px; border: 2px solid var(--line); border-radius: 8px; }
.finder input:focus { outline: none; border-color: var(--navy-2); }
#pfind-n { color: var(--muted); font-size: 14px; }
.sheet-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sheet-h h2 { margin: 0; }
.psec { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.psec h3 { margin: 0 0 12px; color: var(--navy); font-size: 17px; }
.psec-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.psec-in img { width: 100%; border-radius: 6px; }
.parts { width: 100%; border-collapse: collapse; font-size: 15px; }
.parts th, .parts td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.parts thead th { background: var(--soft); color: var(--navy); font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.parts .pn { font-weight: 700; color: var(--navy); white-space: nowrap; }
.dealers td { vertical-align: top; font-size: 14px; }
.dealers td a { display: block; }
[hidden] { display: none !important; }
.msym { display: inline-block; width: 1.3em; text-align: center; color: var(--ink); }
.mkey { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.mkey summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.mkey ul { list-style: none; padding: 0; margin: 10px 0 4px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 6px 20px; }
.mkey li { font-size: 14px; color: var(--muted); }
.mkey strong { color: var(--ink); margin-right: 4px; }

/* home */
.home-hero { background-size: cover; background-position: center; color: #fff; padding: 90px 0 80px; }
.home-hero h1 { color: #fff; max-width: 720px; font-size: clamp(32px, 4.6vw, 52px); }
.home-hero .lead { color: #dfe5f5; max-width: 640px; }
.stats { background: var(--navy); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.stats strong { display: block; font-size: 28px; }
.stats span { color: #c3cbe3; font-size: 14px; }
.links { columns: 2; padding-left: 18px; }
.links li { margin-bottom: 6px; break-inside: avoid; }
.news { list-style: none; padding: 0; }
.news li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.news li a { font-weight: 600; text-decoration: none; }
.news li span { display: block; font-size: 13px; color: var(--muted); }
.news.big li p { margin: 6px 0 0; color: var(--muted); }

/* about / markets */
.brands, .mcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.brands div, .mcard { background: var(--soft); border-radius: var(--radius); padding: 20px; }
.brands strong { display: block; font-size: 22px; color: var(--navy); }
.brands span { color: var(--muted); }
.mcard h2 { font-size: 20px; }

/* contact */
.contact { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; padding-bottom: 20px; }
.form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 4px; font: inherit; font-weight: 400;
  padding: 10px 12px; border: 1px solid #c9cfdb; border-radius: 6px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--navy-2); border-color: transparent; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 4px; margin: 6px 0 14px; }
.form legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.hp { position: absolute; left: -9999px; }
.contact-side { background: var(--soft); border-radius: var(--radius); padding: 20px; }
.contact-side h2 { font-size: 20px; }
.map { width: 100%; height: 240px; border: 0; border-radius: 8px; }

/* videos: thumbnail until clicked, then the YouTube player */
.yt { margin: 0; max-width: 860px; }
.yt button, .yt iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); overflow: hidden; }
.yt button { position: relative; padding: 0; cursor: pointer; background: #000; }
.yt button img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.yt button:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; border-radius: 12px; background: #e62117; }
.yt-play::after { content: ""; position: absolute; left: 29px; top: 15px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* news */
.post-img { margin: 0 0 20px; }
.post-img img { border-radius: var(--radius); max-height: 420px; width: auto; }
.post-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 20px 0; }
.post-gallery img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.news.big li.has-thumb a { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: var(--ink); font-weight: 400; }
.news.big li.has-thumb img { width: 160px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.news.big .nt strong { display: block; color: var(--navy-2); }
.news.big .nt .ex { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* contact */
.banner { margin: 0 0 30px; }
.banner img { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); }
.banner figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* category page with a photo: text left, photo right on wide screens */
.cat-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.cat-photo { margin: 0; }
.cat-photo img { width: 100%; display: block; }

/* phones */
@media (max-width: 860px) {
  .cat-hero { grid-template-columns: 1fr; gap: 0; }
  .cat-photo { margin-bottom: 20px; }
  .news.big li.has-thumb img { width: 96px; }
  .psec-in, .contact, .grid2, .grid3, .brands, .mcards { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .links { columns: 1; }
  .home-hero { padding: 56px 0 48px; }
  .menu-btn { display: block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; font-weight: 600; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .menu-tog:checked ~ .nav { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .has-sub > ul { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .hero, .two, .foot-in { grid-template-columns: 1fr; gap: 24px; }
  .hero-img { order: -1; }
}
