/* ZT Modular – site styles */
:root {
  --navy: #0b2554;
  --navy-2: #12336f;
  --navy-deep: #081c40;
  --yellow: #f5b700;
  --yellow-2: #e0a600;
  --ink: #12203f;
  --text: #4b5568;
  --muted: #7a8599;
  --line: #e3e8f0;
  --soft: #f4f6fa;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 6px 24px rgba(11, 37, 84, .08);
  --shadow-lg: 0 14px 40px rgba(11, 37, 84, .14);
  --wrap: 1200px;
  --header-h: 80px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--yellow-2); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap.narrow { max-width: 920px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.bar { display: block; width: 48px; height: 3px; background: var(--yellow); border-radius: 2px; margin: 14px 0 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 4px; font-weight: 700; font-size: 15px; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; line-height: 1.2; }
.btn .ico { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); color: var(--navy-deep); }
.btn-yellow:hover { background: var(--yellow-2); color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: #25d366; color: #128c4b; }
.btn-ghost-navy { border-color: var(--navy); color: var(--navy); }
.btn-ghost-navy:hover { background: #25d366; border-color: #25d366; color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(11, 37, 84, .08); }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: flex; color: var(--navy); }
.logo-img { height: 52px; width: auto; display: block; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a { display: block; padding: 28px 14px; color: var(--ink); font-weight: 600; font-size: 16px; position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 20px; height: 3px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transition: transform .2s; }
.main-nav > ul > li.active > a, .main-nav > ul > li > a:hover { color: var(--navy); }
.main-nav > ul > li.active > a::after, .main-nav > ul > li > a:hover::after { transform: scaleX(1); }
.has-sub > a { padding-right: 4px !important; }
.has-sub > a::after { right: 4px !important; }
.sub-toggle { background: none; border: 0; padding: 4px; color: var(--ink); display: flex; }
.sub-toggle .ico { width: 16px; height: 16px; transition: transform .2s; }
.sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -10px; min-width: 290px; background: #fff; box-shadow: var(--shadow-lg); border-top: 3px solid var(--yellow); border-radius: 0 0 6px 6px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.sub a { display: block; padding: 11px 24px; color: var(--ink); font-weight: 600; font-size: 15px; }
.sub a:hover { background: var(--soft); color: var(--navy); padding-left: 28px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle .ico { transform: rotate(180deg); }
.header-quote { margin-left: 8px; }
.nav-toggle, .nav-quote-mobile, .nav-contact { display: none; }
.header-contact { display: flex; flex-direction: column; gap: 3px; padding-left: 18px; border-left: 1px solid var(--line); font-size: 13.5px; line-height: 1.3; white-space: nowrap; }
.header-contact a, .nav-contact a { display: flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; }
.header-contact a:hover, .nav-contact a:hover { color: var(--navy-2); }
.header-contact .ico, .nav-contact .ico { width: 15px; height: 15px; color: var(--yellow-2); }

/* Hero slider */
.hero-slider { position: relative; height: clamp(520px, 78vh, 720px); overflow: hidden; background: var(--navy-deep); color: #fff; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; display: flex; align-items: center; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 20, 48, .82) 0%, rgba(6, 20, 48, .55) 45%, rgba(6, 20, 48, .1) 100%); z-index: 1; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-in { position: relative; z-index: 2; }
.slide.is-active .slide-in > * { animation: rise .8s both; }
.slide.is-active .slide-in > *:nth-child(2) { animation-delay: .12s; }
.slide.is-active .slide-in > *:nth-child(3) { animation-delay: .24s; }
.slide.is-active .slide-in > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-title { color: #fff; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.1; margin-bottom: 18px; letter-spacing: -.5px; }
.hero-text { font-size: clamp(16px, 1.6vw, 20px); max-width: 560px; color: rgba(255, 255, 255, .92); margin-bottom: 28px; }
.hero-icons { list-style: none; padding: 0; margin: 0 0 34px; display: flex; flex-wrap: wrap; gap: 34px; }
.hero-icons a { display: flex; flex-direction: column; gap: 10px; color: #fff; font-weight: 700; font-size: 14px; max-width: 130px; line-height: 1.3; }
.hero-icons .ico { width: 40px; height: 40px; color: var(--yellow); stroke-width: 1.4; }
.hero-icons a:hover { color: var(--yellow); }
.hs-prev, .hs-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(8, 28, 64, .35); color: #fff; display: grid; place-items: center; transition: background .2s; }
.hs-prev:hover, .hs-next:hover { background: var(--yellow); color: var(--navy-deep); border-color: var(--yellow); }
.hs-prev { left: 20px; } .hs-next { right: 20px; }
.hs-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hs-dots button { width: 34px; height: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); border-radius: 2px; }
.hs-dots button.is-active { background: var(--yellow); }

/* Sections */
.section { padding: 80px 0; }
.section.soft { background: var(--soft); }
.section.pt0 { padding-top: 0; }
.sec-title { margin-bottom: 44px; }
.sec-title h2 { font-size: clamp(26px, 3vw, 36px); margin: 0; }
.sec-title.center { text-align: center; }
.sec-title.center .bar { margin-inline: auto; }
.sec-title.light h2 { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.center-link { text-align: center; margin: 40px 0 0; }

/* Why choose */
.why { padding: 70px 0 60px; border-bottom: 1px solid var(--line); }
.why .sec-title { margin-bottom: 40px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-ico { width: 52px; height: 52px; color: var(--yellow); stroke-width: 1.4; }
.why-item b { display: block; font-size: 28px; color: var(--ink); line-height: 1.15; }
.why-item span { display: block; font-size: 17px; color: var(--ink); font-weight: 600; }
.why-item p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* Product cards */
.product-grid { display: grid; gap: 28px; }
.product-grid.two { grid-template-columns: repeat(2, 1fr); }
.product-grid.three { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; color: inherit; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.pc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.pc-body { background: var(--navy); color: #fff; padding: 18px 24px 20px; flex: 1; position: relative; }
.pc-body h3 { color: #fff; font-size: 20px; margin: 0 0 6px; }
.pc-body p { color: rgba(255, 255, 255, .78); font-size: 14.5px; margin: 0 0 12px; }
.pc-body .more { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font-weight: 700; font-size: 14px; }
.pc-body .more .ico { width: 16px; transition: transform .2s; }
.product-card:hover .more .ico { transform: translateX(4px); }
.product-grid.three .pc-body h3 { font-size: 18px; }

/* Tiles (home projects) */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tile img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .5s; }
.tile:hover img { transform: scale(1.05); }
.tile span { display: block; background: var(--navy); color: #fff; text-align: center; padding: 12px; font-weight: 700; }
.tile:hover span { color: var(--yellow); }

/* Factory mini grid */
.factory-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.factory-mini a { border-radius: var(--radius); overflow: hidden; display: block; }
.factory-mini img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.factory-mini a:hover img { transform: scale(1.06); }

/* Contact split / forms */
.contact-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: start; }
.ch-info p { font-size: 16px; }
.ch-info .sec-title { margin-bottom: 22px; }
.card { background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 30px; border: 1px solid #edf0f5; }
.form-title { font-size: 22px; margin-bottom: 22px; }
.form-title .bar { margin-top: 10px; }
.inquiry-form .field { display: block; margin-bottom: 16px; }
.inquiry-form .field > span { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.inquiry-form i { color: #d33; font-style: normal; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); padding: 11px 14px; border: 1px solid #d5dbe5; border-radius: 4px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.inquiry-form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8599' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(18, 51, 111, .12); }
.inquiry-form .invalid { border-color: #d33; }
.inquiry-form textarea { resize: vertical; min-height: 110px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-status { margin: 14px 0 0; font-size: 14.5px; min-height: 1em; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #c62828; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ci { width: 46px; height: 46px; border-radius: 6px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.contact-list .ci .ico { width: 22px; height: 22px; }
.contact-list b { display: block; font-size: 14px; color: var(--ink); }
.contact-list span, .contact-list a { color: var(--text); font-size: 15.5px; }
.contact-list a:hover { color: var(--navy-2); }

/* Page hero */
.page-hero { position: relative; background-size: cover; background-position: center; color: #fff; padding: 90px 0 80px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 28, 64, .9) 0%, rgba(8, 28, 64, .7) 50%, rgba(8, 28, 64, .35) 100%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); margin: 0; }
.page-hero .bar { margin: 16px 0 22px; }
.page-hero p { font-size: 18px; max-width: 560px; color: rgba(255, 255, 255, .9); margin: 0; }
.crumbs { font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: var(--yellow); }
.crumbs.dark { color: var(--muted); margin: 0; }
.crumbs.dark a { color: var(--text); }
.crumbs.dark a:hover { color: var(--navy-2); }
.crumbs.dark span { color: var(--ink); font-weight: 600; }
.crumb-bar { background: var(--soft); padding: 14px 0; border-bottom: 1px solid var(--line); }

/* CTA band */
.cta-band { position: relative; background-size: cover; background-position: center; color: #fff; padding: 56px 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(8, 28, 64, .88); }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0 0 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 17px; }
.cta-contacts { flex-basis: 100%; display: flex; gap: 40px; flex-wrap: wrap; padding-top: 26px; margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, .15); }
.cta-contacts a, .cta-contacts span { display: inline-flex; gap: 10px; align-items: center; color: #fff; }
.cta-contacts a:hover { color: var(--yellow); }

/* Products index */
.product-modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.product-module { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.product-module:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pm-img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); }
.pm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-module:hover .pm-img img { transform: scale(1.04); }
.pm-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.pm-body h2 { font-size: 24px; margin-bottom: 6px; }
.pm-body h2 a { color: var(--ink); }
.pm-body h2 a:hover { color: var(--navy-2); }
.pm-sub { color: var(--muted); }
.pm-feats { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.pm-feats li { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ink); font-size: 15px; }
.pm-feats .ico { color: var(--yellow-2); width: 18px; height: 18px; stroke-width: 2.5; }
.pm-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }

/* Product detail */
.product-top { padding: 48px 0 60px; }
.pt-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: start; }
.g-stage { position: relative; border-radius: 8px; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.g-main { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; visibility: hidden; }
.g-main.is-active { opacity: 1; visibility: visible; }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-prev, .g-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2; }
.g-prev { left: 12px; } .g-next { right: 12px; }
.g-prev:hover, .g-next:hover { background: var(--yellow); }
.g-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.g-thumb { padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: none; opacity: .7; transition: .2s; }
.g-thumb img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.g-thumb.is-active, .g-thumb:hover { border-color: var(--yellow); opacity: 1; }
.pt-info h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.pt-sub { font-size: 18px; color: var(--navy-2); font-weight: 600; margin: 0; }
.pt-info .bar { margin: 18px 0 22px; }
.pt-info .pm-feats { margin: 22px 0 30px; }
.tab-nav { position: sticky; top: var(--header-h); z-index: 50; background: var(--navy); }
.tab-nav .wrap { display: flex; overflow-x: auto; scrollbar-width: none; }
.tab-nav .wrap::-webkit-scrollbar { display: none; }
.tab-nav a { color: rgba(255, 255, 255, .85); padding: 16px 22px; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.tab-nav a:hover, .tab-nav a.is-active { color: #fff; border-bottom-color: var(--yellow); }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.overview-grid .sec-title { margin-bottom: 24px; }
.overview-grid p { font-size: 16.5px; }
.rounded { border-radius: 8px; }
.shadow { box-shadow: var(--shadow-lg); }
.product-video video { width: 100%; border-radius: 8px; background: #000; aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { background: #fff; border-radius: 8px; padding: 30px 26px; box-shadow: var(--shadow); border-top: 3px solid var(--yellow); transition: transform .25s; }
.feature:hover { transform: translateY(-4px); }
.feat-ico { width: 46px; height: 46px; color: var(--navy); stroke-width: 1.4; margin-bottom: 16px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 15px; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.app-card { margin: 0; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.app-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.app-card figcaption { color: #fff; text-align: center; padding: 14px 10px; font-weight: 700; }
.table-wrap { overflow-x: auto; border-radius: 8px; box-shadow: var(--shadow); background: #fff; }
.spec-table, .prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.spec-table th, .spec-table td { padding: 16px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 32%; background: #f8fafc; color: var(--ink); font-weight: 700; }
.spec-note { text-align: center; color: var(--muted); font-size: 14.5px; margin: 20px 0 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid.four { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid a { display: block; border-radius: 6px; overflow: hidden; background: var(--soft); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.gallery-grid a:hover img { transform: scale(1.05); }

/* Projects */
.filter-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 4px; font-weight: 600; color: var(--ink); }
.filter-tabs button.is-active, .filter-tabs button:hover { background: var(--navy); color: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #edf0f5; transition: transform .25s, box-shadow .25s; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card[hidden] { display: none; }
.pj-img { display: block; overflow: hidden; }
.pj-img img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .pj-img img { transform: scale(1.05); }
.pj-body { padding: 18px 22px 22px; }
.pj-loc { display: flex; gap: 5px; align-items: center; font-size: 13.5px; color: var(--muted); margin: 0 0 4px; }
.pj-loc .ico { width: 14px; height: 14px; }
.pj-body h3 { font-size: 19px; margin: 0 0 2px; color: var(--navy); }
.pj-prod { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.pj-text { font-size: 14.5px; margin: 0; }
.placeholder { color: #a9b2c3 !important; font-style: italic; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager button { width: 40px; height: 40px; border-radius: 4px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; display: grid; place-items: center; }
.pager button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager button:hover:not(.is-active) { border-color: var(--navy); }

/* About */
.about-hero { position: relative; background-size: cover; background-position: center right; padding: 110px 0 100px; }
.about-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .85) 38%, rgba(255, 255, 255, 0) 70%); }
.about-hero .wrap { position: relative; }
.about-hero h1 { font-size: clamp(38px, 5.5vw, 62px); color: var(--navy); margin: 0 0 8px; }
.ah-sub { font-size: clamp(17px, 2vw, 21px); color: var(--ink); margin: 0; }
.about-hero .bar { margin-top: 26px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.intro-grid .sec-title { margin-bottom: 26px; }
.intro-grid p { font-size: 16.5px; }
.intro-grid .btn { margin-top: 10px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; }
.stat { display: flex; gap: 18px; align-items: center; padding: 6px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-ico { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--soft); color: var(--navy); stroke-width: 1.6; }
.stat b { display: block; white-space: nowrap; font-size: 24px; color: var(--navy); line-height: 1.15; }
.stat span { color: var(--text); font-size: 15px; }
.split-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; margin-bottom: 36px; }
.split-head .sec-title { margin: 0; }
.split-head p { margin: 0; font-size: 16px; }
.fcard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fcard { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); display: block; }
.fcard img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .5s; }
.fcard:hover img { transform: scale(1.05); }
.fcard span { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-weight: 700; color: var(--navy); }
.fcard span .ico { color: var(--yellow-2); width: 18px; }

/* News */
.news-layout { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.news-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.side-box { background: var(--soft); border-radius: 8px; padding: 22px; }
.side-box h3, .search-box label { display: block; font-size: 17px; font-weight: 800; color: var(--ink); margin: 0 0 14px; }
.search-in { display: flex; background: #fff; border: 1px solid #d5dbe5; border-radius: 4px; overflow: hidden; }
.search-in:focus-within { border-color: var(--navy-2); }
.search-in input { flex: 1; border: 0; padding: 11px 14px; font: inherit; font-size: 15px; min-width: 0; }
.search-in input:focus { outline: none; }
.search-in button { border: 0; background: var(--navy); color: #fff; width: 46px; display: grid; place-items: center; }
.recent { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.recent a { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.4; }
.recent a[aria-current] { color: var(--navy-2); }
.recent a:hover { color: var(--navy-2); }
.recent img { width: 70px; height: 52px; object-fit: cover; border-radius: 4px; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; color: var(--ink); font-weight: 600; font-size: 15px; border-bottom: 1px solid #e3e8f0; }
.side-links li:last-child a { border-bottom: 0; }
.side-links .ico { width: 16px; color: var(--muted); }
.side-links a:hover { color: var(--navy-2); }
.quote-box { background: var(--navy); color: rgba(255, 255, 255, .85); }
.quote-box h3 { color: #fff; }
.news-list { display: grid; gap: 28px; }
.news-item { display: grid; grid-template-columns: 320px 1fr; gap: 28px; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #edf0f5; }
.news-item[hidden] { display: none; }
.ni-img { display: block; overflow: hidden; }
.ni-img img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; transition: transform .5s; }
.news-item:hover .ni-img img { transform: scale(1.05); }
.ni-body { padding: 24px 28px 24px 0; }
.ni-body h2 { font-size: 21px; margin-bottom: 10px; }
.ni-body h2 a { color: var(--ink); }
.ni-body h2 a:hover { color: var(--navy-2); }
.ni-body p { font-size: 15px; }
.meta { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin: 0 0 10px; }
.meta .ico { width: 15px; height: 15px; margin-left: 6px; }
.tag { background: rgba(245, 183, 0, .16); color: #8a6400; font-weight: 700; padding: 2px 10px; border-radius: 30px; font-size: 12.5px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-2); }
.more .ico { width: 16px; transition: transform .2s; }
.more:hover .ico { transform: translateX(4px); }
.search-note { margin: 0; padding: 14px 18px; background: var(--soft); border-radius: 6px; }

/* Article */
.article-sec { padding-top: 50px; }
.article h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 26px; }
.prose { font-size: 17px; color: #3d4659; }
.prose .lead { font-size: 19px; color: var(--ink); }
.prose h2 { font-size: 26px; margin: 46px 0 16px; padding-top: 6px; }
.prose h3 { font-size: 19px; margin: 28px 0 12px; }
.prose figure { margin: 30px 0; }
.prose figure img { width: 100%; border-radius: 8px; max-height: 560px; object-fit: cover; }
.prose figure.captioned { position: relative; }
.prose figure.captioned figcaption { position: absolute; right: 12px; bottom: 12px; background: rgba(8, 28, 64, .82); color: #fff; padding: 6px 12px; border-radius: 4px; font-size: 13.5px; }
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.figure-pair figure { margin: 0; }
.figure-pair img { height: 100%; aspect-ratio: 4 / 3; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 8px; }
.checks.cols { grid-template-columns: 1fr 1fr; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b700' stroke-width='3.5'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.prose table th, .prose table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--navy); color: #fff; }
.prose tbody th { background: #f8fafc; color: var(--ink); white-space: nowrap; }
.prose .table-wrap { margin: 24px 0; }
.callout { background: var(--soft); border-left: 4px solid var(--yellow); padding: 16px 20px; border-radius: 0 6px 6px 0; }
.factors { display: grid; grid-template-columns: max-content 1fr; gap: 12px 22px; margin: 0 0 1.2em; }
.factors dt { font-weight: 800; color: var(--ink); }
.factors dd { margin: 0; }
.flow { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: f; }
.flow li { counter-increment: f; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 4px; font-size: 14.5px; font-weight: 700; position: relative; }
.flow li::before { content: counter(f) ". "; color: var(--yellow); }
.article-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--navy); color: rgba(255, 255, 255, .85); padding: 28px 32px; border-radius: 8px; margin: 44px 0 10px; }
.article-cta h3 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.article-cta p { margin: 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.post-nav a { color: var(--ink); font-weight: 700; line-height: 1.4; }
.post-nav a:hover { color: var(--navy-2); }
.post-nav small { display: block; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; margin-bottom: 4px; }
.post-nav .next { text-align: right; }

/* Contact page */
.contact-main { padding-top: 0; }
.contact-main .wrap { margin-top: -40px; position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact-side { display: grid; gap: 24px; }
.wc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.wc-item { display: flex; gap: 12px; }
.wc-ico { width: 32px; height: 32px; color: var(--yellow-2); stroke-width: 1.6; }
.wc-item b { display: block; color: var(--ink); font-size: 15.5px; }
.wc-item p { margin: 2px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.help-card { text-align: center; padding: 30px 22px; border-radius: 8px; box-shadow: var(--shadow); border: 1px solid #edf0f5; background: #fff; transition: transform .25s; }
.help-card:hover { transform: translateY(-4px); }
.help-ico { width: 54px; height: 54px; color: var(--navy); stroke-width: 1.3; margin: 0 auto 16px; }
.help-card h3 { font-size: 18px; margin-bottom: 10px; }
.help-card p { font-size: 14.5px; margin: 0; }
.map-box { display: grid; grid-template-columns: 300px 1fr; margin-top: 34px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); min-height: 260px; }
.map-info { background: var(--navy); color: rgba(255, 255, 255, .85); padding: 30px; display: flex; gap: 12px; }
.map-info > .ico { color: var(--yellow); width: 22px; height: 22px; margin-top: 2px; }
.map-info h3 { color: #fff; font-size: 18px; }
.map-info p { margin: 0 0 10px; }
.map-info .muted { color: rgba(255, 255, 255, .65); font-size: 14.5px; }
.map-box iframe { width: 100%; height: 100%; min-height: 260px; border: 0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .78); padding: 60px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr; gap: 0; }
.footer-grid > div { padding: 0 40px; border-left: 1px solid rgba(255, 255, 255, .12); }
.footer-grid > div:first-child { padding-left: 0; border-left: 0; }
.f-brand .logo-img { height: 50px; margin-bottom: 16px; }
.f-brand p { max-width: 300px; }
.site-footer h3 { color: #fff; font-size: 17px; margin: 0 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.f-links ul { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 10px 20px; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: var(--yellow); }
.f-contact li { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.f-contact .ico { color: #fff; width: 20px; height: 20px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; display: grid; place-items: center; }
.social a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy-deep); }
.social .ico { width: 17px; height: 17px; }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding: 20px 0 24px; font-size: 14px; color: rgba(255, 255, 255, .6); }

/* Floating */
.float-wa { position: fixed; right: 20px; bottom: 84px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); transition: transform .2s; }
.float-wa:hover { transform: scale(1.08); color: #fff; }
.float-wa .ico { width: 28px; height: 28px; }
.to-top { position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .25s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--yellow); color: var(--navy-deep); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 14, 32, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { color: rgba(255, 255, 255, .7); margin-top: 12px; font-size: 14px; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lightbox button:hover { background: var(--yellow); color: var(--navy-deep); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

.notfound { padding: 120px 0; }
.notfound h1 { font-size: 44px; }

/* Responsive */
@media (max-width: 1279px) {
  .header-contact { display: none; }
}

@media (max-width: 1100px) {
  .main-nav > ul > li > a { padding-inline: 10px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .app-grid, .help-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .stat:nth-child(3) { border-left: 0; }
  .footer-grid > div { padding: 0 24px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .logo-img { height: 44px; }
  .header-quote { display: none; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--navy); }
  .nav-toggle .i-close { display: none; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; padding: 10px 20px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; margin: 0; }
  .nav-open .main-nav { transform: none; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { padding: 16px 4px; flex: 1; font-size: 17px; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav > ul > li.active > a { color: var(--yellow-2); }
  .sub-toggle { width: 44px; height: 44px; justify-content: center; align-items: center; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; flex-basis: 100%; padding: 0 0 10px; display: none; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub-toggle .ico { transform: none; }
  .has-sub.open .sub-toggle .ico { transform: rotate(180deg); }
  .sub a { padding: 10px 16px; font-size: 15.5px; color: var(--text); }
  .nav-quote-mobile { display: flex; margin-top: 24px; width: 100%; }
  .nav-contact { display: grid; gap: 14px; margin-top: 22px; font-size: 15.5px; }
  .nav-contact .ico { width: 18px; height: 18px; }
  .product-grid.three { grid-template-columns: repeat(2, 1fr); }
  .tile-grid, .factory-mini, .fcard-grid, .gallery-grid.four { grid-template-columns: repeat(2, 1fr); }
  .contact-split, .contact-grid, .pt-grid, .overview-grid, .intro-grid, .split-head { grid-template-columns: 1fr; gap: 34px; }
  .project-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .news-side { position: static; }
  .news-layout > .news-side { order: 2; }
  .news-layout:has(.news-list) > .news-side { order: 0; }
  .news-layout:has(.news-list) > .news-side > :not(.search-box) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .footer-grid > div:first-child { grid-column: 1 / -1; border: 0; padding: 0; }
  .footer-grid > div:nth-child(2) { border-left: 0; padding-left: 0; }
  .map-box { grid-template-columns: 1fr; }
  .contact-main .wrap { margin-top: -30px; }
}

@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .section { padding: 56px 0; }
  .sec-title { margin-bottom: 30px; }
  .wrap { width: calc(100% - 32px); }
  .hero-slider { height: auto; min-height: 600px; }
  .slide { padding: 70px 0 90px; }
  .hero-icons { gap: 18px 22px; margin-bottom: 28px; }
  .hero-icons a { max-width: 120px; font-size: 13px; }
  .hero-icons .ico { width: 32px; height: 32px; }
  .hs-prev, .hs-next { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-grid.two, .product-grid.three, .product-modules, .project-grid, .feature-grid, .help-grid { grid-template-columns: 1fr; }
  .app-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .app-card figcaption { font-size: 14px; padding: 10px 6px; }
  .pm-feats, .checks.cols { grid-template-columns: 1fr; }
  .grid-2, .wc-grid { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .stat { flex-direction: column; text-align: center; padding: 6px 10px; gap: 10px; border: 0; }
  .stat b { font-size: 21px; }
  .page-hero { padding: 60px 0 56px; }
  .about-hero { padding: 64px 0 60px; }
  .about-hero::before { background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .78)); }
  .news-item { grid-template-columns: 1fr; gap: 0; }
  .ni-img img { min-height: 0; aspect-ratio: 16 / 9; }
  .ni-body { padding: 20px; }
  .figure-pair { grid-template-columns: 1fr; }
  .factors { grid-template-columns: 1fr; gap: 4px; }
  .factors dd { margin-bottom: 10px; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 22px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .tab-nav a { padding: 14px 16px; font-size: 14.5px; }
  .spec-table th, .spec-table td { display: block; width: 100%; padding: 12px 16px; }
  .spec-table th { border-bottom: 0; padding-bottom: 4px; }
  .cta-contacts { gap: 14px; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { border-left: 0; padding: 0; }
  .g-thumbs { grid-template-columns: repeat(4, 1fr); }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.news-layout > *, .contact-split > *, .contact-grid > *, .pt-grid > *, .overview-grid > *, .intro-grid > * { min-width: 0; }

/* Honeypot field (hidden from people, bots fill it in) */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* WordPress: admin bar offset and server pagination */
.admin-bar .site-header { top: 32px; }
.admin-bar .tab-nav { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .tab-nav { top: calc(var(--header-h) + 46px); }
}
.wp-pager .page-numbers { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 4px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; display: grid; place-items: center; }
.wp-pager .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.wp-pager .page-numbers.dots { border: 0; }
.prose img { max-width: 100%; height: auto; border-radius: 8px; }
.prose .wp-caption, .prose .wp-block-image { margin: 30px 0; }
.prose .aligncenter { margin-inline: auto; }
