/* ============================================================
   page-it.css — IT Services hub (lists_itservice.htm) and the
   IT sub-pages (lists_single_it.htm: RCU, luggage, software).
   Builds on page-av.css (.av_hero, .av_sec_head, .av_cap, .av_chain,
   .av_steps, .av_cta) so IT and AV read as one site. Prefix: .it_
   ============================================================ */

.it_sec { padding: 84px 0; }
.it_sec_alt { background: #f4f6f9; }

/* ---------- hub hero: system map (inline SVG) ---------- */
.it_map { position: relative; width: 400px; aspect-ratio: 1 / 1; perspective: 1100px; }
.it_map_in { width: 100%; height: 100%; transform: rotateX(14deg) rotateY(-12deg); transform-style: preserve-3d; transition: transform 0.4s ease-out; }
.it_map svg { width: 100%; height: 100%; overflow: visible; }
.it_map .it_link { stroke: rgba(200, 169, 106, 0.42); stroke-width: 1.2; fill: none; }
.it_map .it_pulse { fill: #e3cc9c; }
.it_map .it_core { fill: rgba(200, 169, 106, 0.14); stroke: #c8a96a; stroke-width: 1.4; }
.it_map .it_node rect { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; transition: 0.25s; }
.it_map .it_node text { fill: #dbe3ee; font: 600 12px Inter, Arial, sans-serif; text-anchor: middle; }
.it_map .it_node text.it_sub { fill: #8fa3ba; font-weight: 500; font-size: 10px; }
.it_map .it_core_t { fill: #fff; font: 700 14px Inter, Arial, sans-serif; text-anchor: middle; }
.it_map .it_core_s { fill: #c8a96a; font: 600 10px Inter, Arial, sans-serif; letter-spacing: 0.12em; text-anchor: middle; }
.it_map a:hover rect, .it_map a:focus-visible rect { fill: rgba(200, 169, 106, 0.16); stroke: #c8a96a; }
.it_map a { outline: none; }

/* ---------- case card ---------- */
.it_case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: #0a0e17; border-radius: 16px; overflow: hidden; color: #fff; }
.it_case_copy { padding: 44px 46px; }
.it_case_copy .av_sec_tag { color: #c8a96a; }
.it_case_copy .av_sec_tag::before { background: #c8a96a; }
.it_case_copy h3 { margin: 6px 0 14px; font-size: 26px; font-weight: 700; line-height: 1.25; color: #fff; }
.it_case_copy p { margin: 0 0 22px; color: #aab4c3; font-size: 15.5px; line-height: 1.7; }
.it_case_facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.08); align-content: stretch; }
.it_case_facts div { background: #0f1520; padding: 28px 24px; }
.it_case_facts b { display: block; color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.it_case_facts span { color: #8fa3ba; font-size: 13px; line-height: 1.5; }
.it_case_link { display: inline-flex; align-items: center; gap: 8px; color: #e3cc9c !important; font-weight: 600; font-size: 14px; text-decoration: none; }
.it_case_link:hover { text-decoration: underline; }

/* ---------- comparison table (digital vs legacy) ---------- */
.it_table_wrap { overflow-x: auto; border: 1px solid #e3e7ed; border-radius: 12px; background: #fff; }
.it_table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.6; }
.it_table th, .it_table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #eef1f5; }
.it_table thead th { background: #0a0e17; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.it_table tbody th { width: 22%; color: #0a0e17; font-weight: 600; }
.it_table td { color: #3b4655; }
.it_table td.it_old { color: #6b7685; }
.it_table tr:last-child th, .it_table tr:last-child td { border-bottom: 0; }

/* ---------- RCU: 3D DIN-rail module rack ---------- */
.it_rack { position: relative; width: 400px; height: 380px; perspective: 1200px; }
.it_rack_in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(18deg) rotateY(-26deg); transition: transform 0.45s ease-out; }
.it_rack_back { position: absolute; left: 10px; top: 20px; width: 380px; height: 330px; border-radius: 10px;
  background: linear-gradient(160deg, #1a2230, #0e141e); border: 1px solid rgba(255, 255, 255, 0.12); transform: translateZ(-30px); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45); }
.it_rail { position: absolute; left: 24px; width: 352px; height: 12px; border-radius: 2px; background: linear-gradient(#9aa4b2, #5d6676); transform: translateZ(-20px); }
.it_rail_1 { top: 92px; } .it_rail_2 { top: 236px; }
.it_mod { position: absolute; height: 118px; transform-style: preserve-3d; cursor: pointer; transition: transform 0.35s ease; }
.it_mod .f, .it_mod .t, .it_mod .s { position: absolute; display: block; }
.it_mod .f { inset: 0; background: linear-gradient(180deg, #f3f5f8, #d9dee6); border-radius: 4px; transform: translateZ(14px);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 8px 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.it_mod .f::before { content: ''; position: absolute; left: 6px; right: 6px; top: 10px; height: 26px;
  background: repeating-linear-gradient(90deg, #39404c 0 3px, transparent 3px 7px); opacity: 0.55; }
.it_mod .f::after { content: ''; position: absolute; left: 8px; top: 44px; width: 6px; height: 6px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 6px #2ecc71; }
.it_mod .t { left: 0; right: 0; top: 0; height: 28px; background: #c6ccd6; transform-origin: top; transform: rotateX(90deg) translateZ(-14px); }
.it_mod .s { top: 0; bottom: 0; right: 0; width: 28px; background: #aeb6c2; transform-origin: right; transform: rotateY(90deg) translateZ(-14px) translateX(14px); }
.it_mod b { position: relative; font: 700 9.5px/1.2 Inter, Arial, sans-serif; color: #1f2937; letter-spacing: 0.02em; }
.it_mod:hover, .it_mod.is_on { transform: translateZ(34px); }
.it_mod.is_on .f { background: linear-gradient(180deg, #fff6e2, #e9d7ad); }
.it_rack_hint { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; color: #71829a; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- RCU: spec table ---------- */
.it_specs_note { margin: -20px 0 26px; color: #5f6b7a; font-size: 14px; max-width: 760px; }
.it_specs tbody tr { transition: background 0.3s; }
.it_specs tbody tr.is_on { background: #fbf6ea; }
.it_specs td:nth-child(3), .it_specs td:nth-child(4) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.it_common { margin-top: 18px; color: #5f6b7a; font-size: 13.5px; }

/* ---------- RCU: hero photo ---------- */
.it_photo { width: 360px; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); transform: perspective(1000px) rotateY(-10deg); }
.it_photo img { display: block; width: 100%; height: auto; }

/* ---------- feature grid (re-uses .av_app look) ---------- */
.it_feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.it_feats .av_app h4 { font-size: 15px; }

/* ---------- software: dashboard mock (pure CSS, tilted) ---------- */
.it_dash { width: 400px; perspective: 1200px; }
.it_dash_in { border-radius: 12px; background: #0f1520; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  transform: rotateX(12deg) rotateY(-18deg); transition: transform 0.45s ease-out; overflow: hidden; }
.it_dash_bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.it_dash_bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.it_dash_body { display: grid; grid-template-columns: 92px 1fr; min-height: 250px; }
.it_dash_nav { border-right: 1px solid rgba(255, 255, 255, 0.08); padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.it_dash_nav span { font: 600 10px Inter, Arial, sans-serif; color: #8fa3ba; padding: 6px 8px; border-radius: 4px; }
.it_dash_nav span.on { background: rgba(200, 169, 106, 0.16); color: #e3cc9c; }
.it_dash_main { padding: 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-content: start; }
.it_tile { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; padding: 10px; }
.it_tile small { display: block; font: 600 9px Inter, Arial, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: #71829a; }
.it_tile b { display: block; margin-top: 6px; font: 700 13px Inter, Arial, sans-serif; color: #fff; }
.it_tile .it_dots { display: flex; gap: 4px; margin-top: 8px; }
.it_tile .it_dots i { width: 10px; height: 10px; border-radius: 2px; background: #2ecc71; opacity: 0.85; }
.it_tile .it_dots i.w { background: #e3b341; } .it_tile .it_dots i.x { background: #e5534b; }
.it_tile_wide { grid-column: 1 / -1; }
.it_bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 8px; }
.it_bars i { flex: 1; background: linear-gradient(#c8a96a, rgba(200, 169, 106, 0.25)); border-radius: 2px 2px 0 0; }

/* ---------- luggage: phone + tag mock ---------- */
.it_phone { width: 230px; margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 30px; background: #0f1520; border: 8px solid #1c2431;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5); transform: perspective(1000px) rotateY(-16deg) rotateX(6deg); transition: transform 0.45s ease-out; padding: 22px 14px; color: #fff; }
.it_phone h5 { margin: 0 0 12px; font: 700 13px Inter, Arial, sans-serif; color: #fff; }
.it_qr { display: block; width: 112px; height: 112px; margin: 6px auto 14px; border: 7px solid #fff; border-radius: 6px; background: #fff; }
.it_phone dl { margin: 0; font: 500 11px/1.5 Inter, Arial, sans-serif; }
.it_phone dt { color: #71829a; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; }
.it_phone dd { margin: 0; color: #e7edf5; }
.it_phone .it_ok { margin-top: 14px; padding: 8px; border-radius: 6px; text-align: center; background: rgba(46, 204, 113, 0.14); color: #6ee7a8; font: 700 11px Inter, Arial, sans-serif; }

/* ---------- sibling links at the bottom of a sub-page ---------- */
.it_siblings .av_cap_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .it_feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .it_case { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .it_map, .it_rack, .it_dash, .it_photo, .it_phone { justify-self: center; margin: 6px auto 48px; }
}
@media (max-width: 900px) {
  .it_case_facts { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .it_map, .it_dash { width: 100%; }
  .it_photo { width: 88%; }
  .it_rack { zoom: 0.8; }
}
@media (max-width: 768px) {
  .it_sec { padding: 56px 0; }
  .it_feats { grid-template-columns: 1fr; }
  .it_case_copy { padding: 30px 22px; }
  .it_table th, .it_table td { padding: 12px 14px; }
  .it_table { min-width: 560px; }
  .it_siblings .av_cap_grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .it_map_in, .it_rack_in, .it_dash_in, .it_phone, .it_mod { transition: none; }
}

/* ---------- sub-page hero: smaller title than the hub ---------- */
.it_sub .av_hero_title { font-size: 46px; }
.it_sub .av_hero_inner { padding-bottom: 70px; }
@media (max-width: 768px) { .it_sub .av_hero_title { font-size: 34px; } .it_sub .av_hero_inner { padding-bottom: 40px; } }

/* ---------- lists ---------- */
.it_list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.it_list li { position: relative; padding-left: 22px; color: #3b4655; font-size: 15px; line-height: 1.7; }
.it_list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: #c8a96a; }
.it_list b { color: #0a0e17; }
.it_list_cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
@media (max-width: 768px) { .it_list_cols { grid-template-columns: 1fr; } }

/* ---------- five-step process ---------- */
.it_steps5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .it_steps5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .it_steps5 { grid-template-columns: 1fr; } }

/* ---------- sibling-card icons (set by column folder name) ---------- */
.it_ico::before { content: "\f013"; }            /* cogs */
.it_ico_srcs1::before { content: "\f1de"; }      /* sliders */
.it_ico_lmgt::before { content: "\f0f2"; }       /* suitcase */
.it_ico_csms1::before { content: "\f121"; }      /* code */

.it_table a { color: #86672c; font-weight: 600; }

/* ---------- photo + copy split (RCU engineering notes) ---------- */
.it_split { display: grid; grid-template-columns: 0.9fr 1.1fr; background: #fff; border: 1px solid #e8ebf0; border-radius: 16px; overflow: hidden; }
.it_split_img { background: #e9ecf1; }
.it_split_img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.it_split_copy { padding: 44px 46px; }
.it_split_copy h3 { margin: 6px 0 20px; font-size: 26px; font-weight: 700; line-height: 1.25; color: #0a0e17; }
@media (max-width: 900px) {
  .it_split { grid-template-columns: 1fr; }
  .it_split_img { max-height: 320px; overflow: hidden; }
  .it_split_copy { padding: 30px 22px; }
}
