/* SWOMB homepage | 12-premium.css: v11 refinements: uniform black, tabbed product panel, premium technology stack */

/* 1. One uniform black across every section (matches the home screen) */
html, body { background: #04070f !important; background-image: none !important }
section:not(.intro), .marq, footer, #contact, .est { background-color: #04070f !important }
.mapbox { overflow: hidden }

/* 2. Products: equal-height list + detail, image on top, tabs below */
.rk-body { height: 700px; align-items: stretch }
.rk-left { position: static; align-self: stretch; height: 100%; min-height: 0 }
.rk-left .rk-rack { flex: 1; display: flex; flex-direction: column; min-height: 0 }
.rk-cat { display: none !important }
.rk-bay { flex: 1; min-height: 0; justify-content: flex-start; transform-style: flat }
.rk-bay > .rk-u:not(.slot) { flex: 1 1 0; height: auto !important; min-height: 46px; max-height: 76px }
.rk-bay > .rk-u.on { transform: translateX(-8px) }
.rk-det { height: 100%; padding: 0; gap: 0; min-height: 0 }
.rk-det.has-hero { padding-top: 0 }
.rk-hero { flex: none; height: 236px; margin: 0 }
.rk-main { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px 32px 26px }
.rk-det > .rk-main { animation: pcIn .5s both }
.rk-main h3 { margin: 0 }
.rk-dt { display: flex; gap: 4px; padding: 4px; width: max-content; max-width: 100%; border-radius: 12px; background: #ffffff08; border: 1px solid #ffffff14 }
.rk-dt button { border: 0; background: none; cursor: pointer; padding: 8px 16px; border-radius: 9px; color: #9db0d6; font: 600 13px Inter, sans-serif; transition: background .2s, color .2s }
.rk-dt button:hover { color: #fff }
.rk-dt button[aria-selected=true] { background: linear-gradient(115deg, #ffc01e, #ff8a00); color: #111 }
.rk-pane { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; display: flex; flex-direction: column; gap: 14px }
.rk-pane > * { animation: fadeIn .35s both }
.rk-pane > p { color: #c3cfe6; font-size: 15.5px; line-height: 1.75 }
.rk-sm { list-style: none; display: flex; flex-wrap: wrap; gap: 8px }
.rk-sm li { padding: 6px 12px; border-radius: 99px; border: 1px solid #ffffff1c; background: #ffffff08; font-size: 12.5px; color: #dbe5fa }
.rk-pane .rk-cl { margin-top: 2px }
.rk-act { margin-top: auto; padding-top: 0 }
@media (max-width: 980px) {
  .rk-body { height: auto }
  .rk-left { height: auto }
  .rk-bay > .rk-u:not(.slot) { flex: none; height: 54px !important }
  .rk-det { height: auto; min-height: 560px }
}
@media (max-width: 600px) { .rk-main { padding: 20px 18px 22px } .rk-hero { height: 200px } }

/* 3. Technology: premium "what we deliver" + layered stack */
@media (min-width: 961px) {
  .apx-slot { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) }
}
@media (max-width: 960px) {
  .apx-slot { grid-template-columns: 1fr !important }
  .apx-l { border-right: 0 !important; border-bottom: 1px solid #263653 !important; padding: 24px 20px !important }
  .apx-r { min-height: 380px !important; border-radius: 0 0 24px 24px !important }
  #axK { grid-template-columns: 1fr }
}
@media (max-width: 600px) {
  .apx-slot { border-radius: 20px !important }
  .apx-l { padding: 20px 16px !important }
  .apx-r { border-radius: 0 0 20px 20px !important }
  .apx-body { min-height: 330px !important }
  .apx-code, .apx-out { padding: 16px !important }
  .apx-bar { padding: 10px 14px !important }
  .apx-layers .apx-layer { padding: 10px 12px; gap: 10px }
  .apx-ic { width: 32px; height: 32px }
}
.apx-l { padding: 34px 32px; gap: 16px }
.apx-del small, .apx-stack > small { display: block; font: 700 10.5px Inter, sans-serif; letter-spacing: .18em; color: #ffc01e }
#axK { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin-top: 10px }
#axK li { position: relative; padding-left: 20px; font-size: 13.5px; line-height: 1.5; color: #d3ddf1 }
#axK li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 6px; height: 10px; border: solid #ffc01e; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.75); transform-origin: center }
.apx-stack { margin-top: 4px }
.apx-layers { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding: 0; position: relative }
.apx-layers::before, .apx-layers::after, .apx-layers .apx-layer::before { display: none !important }
.apx-layers .apx-layer { display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; margin: 0; border-radius: 14px; border: 1px solid #ffffff10; background: #ffffff05; opacity: .42; transition: opacity .45s, border-color .45s, background .45s }
.apx-layers .apx-layer.lit { opacity: 1; border-color: #ffc01e40; background: linear-gradient(90deg, #ffc01e14, #ffffff04 70%) }
.apx-layers .apx-layer.now { border-color: #ffc01e; box-shadow: 0 0 0 3px #ffc01e18 }
.apx-ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid #ffffff1c; color: #7f93c4; background: #ffffff08; transition: .45s }
.apx-ic svg { width: 18px; height: 18px }
.apx-layer.lit .apx-ic { color: #ffc01e; border-color: #ffc01e55; background: #ffc01e14 }
.apx-layers .apx-layer > .apx-lt { display: block; flex: 1; min-width: 0; margin: 0; padding: 0; border: 0; background: none }
.apx-lt b { display: block; font: 700 13.5px Sora, Inter, sans-serif; color: #fff; letter-spacing: 0; text-transform: none; margin: 0 }
.apx-lt small { display: block; margin-top: 2px; font: 400 12px/1.45 Inter, sans-serif; color: #8fa2cc; letter-spacing: 0; text-transform: none }
.apx-lt small::after { display: none }
.apx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px }
.apx-layers .apx-layer .apx-chips i { font: 600 11.5px Inter, sans-serif; font-style: normal; padding: 4px 10px; border-radius: 99px; border: 1px solid #ffffff1f; background: #ffffff0a; color: #dbe5fa; box-shadow: none; transform: none }
.apx-layer.lit .apx-chips i { border-color: #ffc01e44; background: #ffc01e10; color: #ffe3a1 }
@media (max-width: 600px) { #axK { grid-template-columns: 1fr } .apx-l { padding: 24px 20px } }
