/* ==========================================================
   ONEX 360 – navy / red, engineering-blueprint feel
   ========================================================== */
:root {
	--navy: #0A1122;
	--navy-2: #121B2F;
	--navy-3: #1A2540;
	--line-d: #27334F;
	--steel: #A9B2C3;
	--red: #E3241B;
	--paper: #F4F5F7;
	--line: #E1E4EA;
	--ink: #0A1122;
	--muted: #525B6E;
	--display: 'Rubik', 'Assistant', sans-serif;
	--body: 'Assistant', 'Segoe UI', Arial, sans-serif;
	--r: 18px;
	--r-sm: 12px;
	--pad: clamp(16px, 3.4vw, 56px);
	--maxw: 1440px;
	--grid-light: linear-gradient(rgba(10, 17, 34, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 17, 34, .045) 1px, transparent 1px);
	--grid-dark: linear-gradient(rgba(169, 178, 195, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 178, 195, .07) 1px, transparent 1px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.65; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 12px; right: 12px; width: auto; height: auto; clip: auto; z-index: 1000; padding: 12px 18px; background: var(--red); color: #fff; border-radius: 10px; }
.onex-wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.red { color: var(--red); }
.blueprint { background-color: var(--paper); background-image: var(--grid-light); background-size: 44px 44px; }
.blueprint-dark { background-color: var(--navy); background-image: var(--grid-dark); background-size: 44px 44px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--r-sm); border: 2px solid transparent; font-weight: 800; font-size: 16px; line-height: 1.2; cursor: pointer; transition: background-color .15s ease, transform .15s ease, border-color .15s ease; }
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #C41A12; color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn .icon { flex-shrink: 0; }
.icon-btn { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-d); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { background: var(--navy-3); }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 800; }
.more .icon { transition: transform .2s ease; }
a:hover .more .icon, .more:hover .icon { transform: translateX(-4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--navy); color: #fff; border-bottom: 1px solid var(--line-d); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.bsd { position: absolute; top: 4px; right: 14px; font-size: 13px; color: var(--steel); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: #fff; flex-shrink: 0; }
.logo-word { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: .02em; direction: ltr; background: linear-gradient(180deg, #fff 30%, #9AA4B6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-word b { font-weight: 500; }
.logo-sub { margin-top: 4px; font-size: 11px; letter-spacing: .2em; color: var(--steel); direction: ltr; }
.custom-logo-link { flex-shrink: 0; }
.custom-logo { max-height: 64px; width: auto; }
.main-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px; }
.main-nav .menu > li { position: relative; }
.main-nav a { display: flex; align-items: center; gap: 4px; padding: 10px 14px; font-size: 17px; font-weight: 600; color: #fff; border-radius: 10px; }
.main-nav a:hover { background: var(--navy-3); }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: #fff; box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.main-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) translateY(-2px); margin-inline-start: 4px; opacity: .8; }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; right: 0; min-width: 260px; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(10, 17, 34, .25); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 5; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { color: var(--ink); font-size: 16px; padding: 10px 14px; }
.main-nav .sub-menu a:hover { background: var(--paper); color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.header-phone .icon { color: var(--red); }
.menu-toggle { display: none; }
.header-search { background: var(--navy-2); border-top: 1px solid var(--line-d); padding-block: 16px; }
.search-form { display: flex; gap: 8px; max-width: 720px; margin-inline: auto; }
.search-form input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(88vh, 860px); display: flex; align-items: center; color: #fff; background: var(--navy); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(10, 17, 34, .97) 0%, rgba(10, 17, 34, .9) 38%, rgba(10, 17, 34, .45) 70%, rgba(10, 17, 34, .25) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grid-dark); background-size: 44px 44px; mask-image: linear-gradient(270deg, #000 20%, transparent 65%); -webkit-mask-image: linear-gradient(270deg, #000 20%, transparent 65%); }
.hero-inner { padding-block: 80px; }
.eyebrow { margin: 0 0 12px; font-weight: 800; font-size: 15px; letter-spacing: .04em; color: var(--red); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.hero-title { margin: 0; max-width: 820px; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6vw, 92px); line-height: 1.02; letter-spacing: -.01em; }
.hero-title .red { font-family: var(--display); }
.hero-text { margin: 22px 0 0; max-width: 620px; font-size: 21px; color: #D6DBE4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { list-style: none; margin: 56px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(169, 178, 195, .25); display: grid; grid-template-columns: repeat(4, minmax(0, 190px)); gap: 20px; }
.hero-points li { display: flex; flex-direction: column; gap: 10px; font-weight: 700; font-size: 16px; line-height: 1.35; }
.hero-points .icon { color: var(--red); }

/* ---------- Clients ---------- */
.clients { background: #fff; border-bottom: 1px solid var(--line); }
.clients-inner { display: flex; align-items: center; gap: 32px; padding-block: 28px; }
.clients-title { flex-shrink: 0; margin: 0; font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--muted); padding-inline-end: 32px; border-inline-end: 1px solid var(--line); }
.clients-track-wrap { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 56px; width: max-content; animation: onex-marquee 40s linear infinite; }
.clients-track-wrap:hover .clients-track { animation-play-state: paused; }
.clients-track li span { font-family: var(--display); font-weight: 700; font-size: 22px; color: #8A93A6; white-space: nowrap; }
.clients-track.has-logos img { height: 58px; width: auto; max-width: 170px; object-fit: contain; transition: transform .2s ease; }
.clients-track.has-logos li:hover img { transform: scale(1.06); }
@keyframes onex-marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .clients-track { animation: none; flex-wrap: wrap; width: auto; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 110px); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.section-head--split > div { max-width: 700px; }
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -.01em; }
.h2.on-dark, .on-dark { color: #fff; }
.eyebrow.on-dark { color: var(--red); }
.section-lead { margin: 16px 0 0; font-size: 19px; color: var(--muted); max-width: 560px; }
.section-head--split .section-lead { margin: 0; }

/* Offers */
.offer-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.offer { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px 28px; transition: transform .2s ease, box-shadow .2s ease; }
.offer::before { content: ""; position: absolute; top: -1px; inset-inline: 26px; height: 4px; border-radius: 0 0 4px 4px; background: var(--red); transform: scaleX(.25); transform-origin: right; transition: transform .25s ease; }
.offer:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 17, 34, .08); }
.offer:hover::before { transform: scaleX(1); }
.offer-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.offer:nth-child(odd) .offer-icon { background: var(--red); }
.offer h3 { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 800; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s ease, transform .2s ease; }
.service:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(10, 17, 34, .1); }
.service-img { display: block; aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service:hover .service-img img { transform: scale(1.05); }
.service-body { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px 26px; flex: 1; }
.service-title { font-family: var(--display); font-size: 23px; font-weight: 700; line-height: 1.25; }
.service-text { color: var(--muted); font-size: 17px; flex: 1; }

/* About */
.dark { color: #fff; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.about .lead { margin: 20px 0 0; color: #C9D0DC; font-size: 19px; }
.stats { display: flex; flex-wrap: wrap; gap: 20px 48px; margin: 36px 0; }
.stat { display: flex; flex-direction: column-reverse; }
.stat dt { color: var(--steel); font-weight: 600; }
.stat dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 60px; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.about-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.about-mosaic figure { margin: 0; border-radius: var(--r); overflow: hidden; }
.about-mosaic .m0 { grid-row: span 2; }
.about-mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* Process */
.steps { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 0 0 28px; }
.step::before { content: ""; position: absolute; top: 36px; right: 84px; left: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step:last-child::before { display: none; }
.step-num { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 999px; border: 2px solid var(--navy); font-family: var(--display); font-weight: 800; font-size: 26px; background: #fff; position: relative; }
.step:first-child .step-num { background: var(--red); border-color: var(--red); color: #fff; }
.step h3 { margin: 20px 0 6px; font-family: var(--display); font-size: 24px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 17px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.checks .icon { color: var(--red); flex-shrink: 0; margin-top: 3px; }
.checks--row { flex-direction: row; flex-wrap: wrap; gap: 14px 36px; padding: 24px 28px; background: var(--paper); border-radius: var(--r); }

/* Why */
.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.why-img { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.why-img img { width: 100%; height: 100%; object-fit: cover; }
.why-list { list-style: none; margin: 30px 0 0; padding: 0; }
.why-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 700; }
.why-icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--line); }

/* Gallery */
.gallery { padding-bottom: clamp(64px, 8vw, 110px); }
.gallery-nav { display: flex; gap: 8px; }
.gallery-nav .icon-btn { border-color: var(--line); color: var(--navy); }
.gallery-nav .icon-btn:hover { background: var(--navy); color: #fff; }
.gallery-nav .js-gal-prev .icon { transform: scaleX(-1); }
.gallery-track { list-style: none; margin: 0; padding: 0 var(--pad) 8px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery-track li { flex: 0 0 clamp(260px, 26vw, 400px); scroll-snap-align: start; }
.gallery-track a { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-track img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-track a:hover img { transform: scale(1.04); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.faq-item[open] { border-color: var(--navy); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 800; font-size: 19px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex-shrink: 0; color: var(--red); transition: transform .2s ease; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--muted); }
.faq-a p { margin: 0; }

/* Articles / post cards */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card-link { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: box-shadow .2s ease; }
.post-card-link:hover { box-shadow: 0 18px 40px rgba(10, 17, 34, .09); }
.post-card-img { display: block; aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.post-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-card-cat { display: inline-block; padding: 3px 10px; border-radius: 6px; background: #FDECEB; color: #B3170F; font-size: 13px; font-weight: 800; }
.post-card-date { font-size: 14px; color: var(--muted); }
.post-card-title { font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.3; }
.post-card-excerpt { color: var(--muted); font-size: 16px; flex: 1; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); background-image: var(--grid-dark); background-size: 44px 44px; color: #fff; padding-block: clamp(64px, 8vw, 110px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.contact .lead { margin: 18px 0 26px; font-size: 19px; color: #C9D0DC; }
.contact .checks li { color: #fff; }
.contact-ways { margin: 32px 0 26px; }
.contact-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; color: #C9D0DC; }
.contact-meta li { display: flex; align-items: center; gap: 8px; }
.contact-meta .icon { color: var(--red); }
.contact-meta a:hover { color: #fff; text-decoration: underline; }
.contact-card { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.contact-card h3 { margin: 0 0 20px; font-family: var(--display); font-size: 28px; font-weight: 800; }
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.field label span { color: var(--red); }
.field input, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font-size: 17px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(10, 17, 34, .12); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; accent-color: var(--red); }
.consent a { color: var(--ink); text-decoration: underline; }
.form-error { margin: -6px 0 14px; padding: 12px 14px; border-radius: 10px; background: #FDECEB; color: #A0160F; font-weight: 700; }
.lead-done { text-align: center; padding: 28px 0; }
.lead-done .icon { color: #1E8E4E; margin-inline: auto; }
.lead-done h3 { margin: 14px 0 6px; }
.lead-done p { margin: 0; color: var(--muted); }

/* ---------- Inner pages ---------- */
.page-banner { color: #fff; padding-block: clamp(40px, 6vw, 80px); }
.crumbs { display: flex; gap: 8px; font-size: 15px; color: var(--steel); margin-bottom: 12px; }
.crumbs a:hover { color: #fff; }
.page-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.12; max-width: 1000px; }
.page-sub { margin: 12px 0 0; color: var(--steel); }
.page-body { padding-block: 56px 72px; }
.page-body .entry, .page-body .article-img { max-width: 900px; margin-inline: auto; }
.list-wrap { padding-block: 56px 80px; }
.article-img { margin: 0 0 36px; border-radius: var(--r); overflow: hidden; }
.article-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.entry { font-size: 19px; line-height: 1.8; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-family: var(--display); font-size: 32px; line-height: 1.25; margin-top: 1.8em; }
.entry h3 { font-family: var(--display); font-size: 25px; line-height: 1.3; margin-top: 1.5em; }
.entry a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: var(--r-sm); }
.entry blockquote { margin-inline: 0; padding: 20px 24px; background: var(--paper); border-inline-start: 4px solid var(--red); border-radius: var(--r-sm); font-weight: 600; }
.entry ul, .entry ol { padding-inline-start: 1.3em; }
.entry li + li { margin-top: .4em; }
.entry table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry th, .entry td { border: 1px solid var(--line); padding: 12px 14px; text-align: start; vertical-align: top; }
.entry th { background: var(--navy); color: #fff; }
.entry tr:nth-child(even) td { background: var(--paper); }
.single-layout { padding-block: 48px 72px; }
.single-layout.has-sidebar { display: grid; grid-template-columns: 360px minmax(0, 1fr); grid-template-areas: "side main"; gap: 56px; align-items: start; }
.single-layout.has-sidebar .single-main { grid-area: main; min-width: 0; }
.single-layout.has-sidebar .single-sidebar { grid-area: side; }
.single-main .entry { max-width: 860px; }
.article-cta { margin-top: 48px; padding: 28px 32px; border-radius: var(--r); background: var(--navy); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.article-cta h2 { margin: 0 0 4px; font-family: var(--display); font-size: 26px; }
.article-cta p { margin: 0; color: #C9D0DC; }
.sidebar-inner { display: flex; flex-direction: column; gap: 20px; }
.pagination { margin-top: 44px; }
.nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.page-numbers { min-width: 46px; min-height: 46px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
.page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { text-align: center; color: var(--muted); }
.notfound { text-align: center; }
.nf-num { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(110px, 18vw, 200px); line-height: 1; color: var(--red); }
.lead-dark { color: var(--muted); margin-bottom: 20px; }
.nf-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.comments { max-width: 860px; margin-top: 56px; }
.comments input[type="text"], .comments input[type="email"], .comments input[type="url"], .comments textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.comments .submit { min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--r-sm); background: var(--red); color: #fff; font-weight: 800; cursor: pointer; }

/* ---------- Single: meta, related ---------- */
.post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 0; color: var(--steel); font-size: 15px; }
.post-meta .post-card-cat { background: var(--red); color: #fff; }
.post-meta .post-card-cat:hover { background: #C41A12; }
.h3 { margin: 0 0 22px; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.4vw, 34px); }
.related { margin-top: 64px; }
.post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.single-layout.has-sidebar .post-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.single-layout.has-sidebar .post-grid--3 > :nth-child(3) { display: none; }

/* ---------- Sidebar: lead form + latest posts ---------- */
.side-lead { background: var(--navy); background-image: var(--grid-dark); background-size: 44px 44px; color: #fff; border-radius: var(--r); padding: 26px 24px; border-top: 5px solid var(--red); }
.side-lead h2 { margin: 0; font-family: var(--display); font-size: 25px; line-height: 1.2; }
.side-lead-sub { margin: 6px 0 18px; color: #C9D0DC; font-size: 16px; }
.side-lead .lead-form { gap: 12px; }
.side-lead .field-row { grid-template-columns: 1fr; gap: 12px; }
.side-lead .field label { color: #fff; font-size: 14px; margin-bottom: 4px; }
.side-lead .field input, .side-lead .field textarea { background: #fff; border-color: #fff; padding: 11px 14px; font-size: 16px; }
.side-lead .consent { color: #C9D0DC; font-size: 13px; }
.side-lead .consent a { color: #fff; }
.side-lead .form-error { margin: 0 0 12px; }
.side-lead-phone { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; color: #C9D0DC; font-weight: 700; font-size: 15px; }
.side-lead-phone:hover { color: #fff; }
.side-lead-phone .icon { color: var(--red); }
.lead-done--side { padding: 12px 0; }
.lead-done--side .icon { color: #4ADE80; }
.lead-done--side p { color: #C9D0DC; }
.side-posts { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 8px; background: #fff; }
.side-posts h2 { margin: 0 0 6px; font-size: 21px; font-family: var(--display); font-weight: 800; padding-bottom: 12px; border-bottom: 3px solid var(--navy); }
.side-posts ul { list-style: none; margin: 0; padding: 0; }
.side-posts li + li { border-top: 1px solid var(--line); }
.side-posts a { display: flex; align-items: center; gap: 14px; padding: 13px 0; }
.side-posts a:hover .side-title { color: var(--red); }
.side-thumb { width: 76px; height: 60px; border-radius: 10px; overflow: hidden; background: var(--paper); flex-shrink: 0; }
.side-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.side-posts a:hover .side-thumb img { transform: scale(1.06); }
.side-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.side-title { font-weight: 700; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-date { font-size: 13px; color: var(--muted); }

/* ---------- Archive: chips + featured post ---------- */
.chips { margin-bottom: 32px; }
.chips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: 15px; background: #fff; }
.chips a span { font-size: 12px; color: var(--muted); background: var(--paper); border-radius: 999px; padding: 1px 8px; }
.chips a:hover { border-color: var(--navy); }
.chips a.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips a.is-current span { background: var(--red); color: #fff; }
.feature-post { margin-bottom: 28px; }
.feature-link { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: box-shadow .2s ease; }
.feature-link:hover { box-shadow: 0 22px 50px rgba(10, 17, 34, .1); }
.feature-img { display: block; min-height: 340px; background: var(--paper); overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-link:hover .feature-img img { transform: scale(1.04); }
.feature-body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(24px, 3vw, 44px); }
.feature-title { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; }
.feature-body .post-card-excerpt { font-size: 17px; flex: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #060B17; color: var(--steel); padding-block: 64px 28px; border-top: 4px solid var(--red); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(5, minmax(0, 1fr)); gap: 40px 32px; }
.footer-brand p { margin: 18px 0 0; max-width: 380px; font-size: 16px; }
.footer-brand .logo { align-items: flex-start; }
.footer-title { margin: 0 0 18px; color: #fff; font-family: var(--display); font-size: 22px; font-weight: 800; }
.footer-title a { color: #fff; }
.footer-title a:hover { color: var(--red); }
.footer-title--big { font-size: 26px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { color: var(--red); flex-shrink: 0; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-d); display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.legal ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 20px; flex-wrap: wrap; }

/* ---------- Floating buttons ---------- */
.to-top { position: fixed; left: 20px; bottom: 20px; z-index: 900; width: 52px; height: 52px; border: 0; border-radius: 999px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); transition: transform .2s ease; }
.to-top[hidden] { display: none; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1280px) {
	.header-phone span { display: none; }
	.main-nav a { padding: 10px 10px; font-size: 16px; }
	.offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
	.menu-toggle { display: inline-flex; }
	.main-nav { position: absolute; top: 100%; inset-inline: 0; display: none; background: var(--navy); border-top: 1px solid var(--line-d); max-height: calc(100vh - 84px); overflow-y: auto; }
	.main-nav.is-open { display: block; }
	.main-nav .menu { flex-direction: column; flex-wrap: nowrap; padding: 12px var(--pad) 20px; gap: 0; }
	.main-nav a { padding: 14px 6px; font-size: 18px; border-bottom: 1px solid var(--line-d); border-radius: 0; }
	.main-nav .current-menu-item > a { box-shadow: inset 4px 0 0 var(--red); }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 16px 0 0; min-width: 0; }
	.main-nav .sub-menu a { color: #C9D0DC; font-size: 16px; }
	.main-nav .sub-menu a:hover { background: transparent; color: #fff; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.header-inner { justify-content: space-between; }
	.service-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.about-grid, .why-grid, .contact-grid, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 0; }
	.step:nth-child(2)::before { display: none; }
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
	.single-layout.has-sidebar { display: flex; flex-direction: column; gap: 48px; }
	.sidebar-inner { position: static; }
}
@media (max-width: 1100px) {
	.single-layout.has-sidebar .post-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.feature-link { grid-template-columns: 1fr; }
	.feature-img { min-height: 0; aspect-ratio: 16 / 10; }
	.single-layout.has-sidebar .post-grid--3, .post-grid--3 { grid-template-columns: 1fr; }
	.single-layout.has-sidebar .post-grid--3 > :nth-child(3) { display: block; }
	.chips ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
	.chips a { white-space: nowrap; }
	body { font-size: 17px; }
	.header-inner { min-height: 70px; gap: 10px; }
	.logo-word { font-size: 26px; }
	.logo-sub { font-size: 9px; }
	.header-cta, .header-phone { display: none; }
	.hero { min-height: 0; }
	.hero::before { background: linear-gradient(180deg, rgba(10, 17, 34, .78), rgba(10, 17, 34, .95)); }
	.hero-inner { padding-block: 56px 48px; }
	.hero-text { font-size: 18px; }
	.hero-actions .btn { flex: 1 1 100%; }
	.hero-points { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
	.clients-inner { flex-direction: column; align-items: stretch; gap: 16px; }
	.clients-title { border: 0; padding: 0; text-align: center; }
	.offer-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.offer { padding: 20px 16px; }
	.offer-icon { width: 52px; height: 52px; margin-bottom: 14px; }
	.offer h3 { font-size: 17px; }
	.service-grid, .post-grid { grid-template-columns: 1fr; }
	.stats { gap: 20px 32px; }
	.stat dd { font-size: 46px; }
	.about-mosaic { grid-template-rows: 150px 150px; }
	.steps { grid-template-columns: 1fr; gap: 28px; }
	.step { padding: 0; display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; }
	.step-num { width: 60px; height: 60px; font-size: 21px; grid-row: span 2; }
	.step h3 { margin: 4px 0 2px; font-size: 21px; }
	.step::before { display: none; }
	.checks--row { flex-direction: column; }
	.field-row { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.to-top { left: 14px; bottom: 14px; width: 48px; height: 48px; }
	.entry { font-size: 17px; }
	.bsd { position: static; display: block; padding: 3px var(--pad) 0; text-align: right; font-size: 11px; line-height: 1.2; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
	.offer:hover, .service:hover { transform: none; }
}
