/* =========================================================================
   Vinaweb – Trang Bản quyền SketchUp (pages/bang-gia-sketchup.php)
   Nạp SAU gws.css + m365.css: bố cục khối (gw-apps, gw-plan, gw-cmp, gw-faq…)
   dùng chung. File này gồm phần riêng của trang và điểm nhấn SketchUp (nhẹ),
   bọc trong .sku (tiền tố sku-).
   ========================================================================= */

.sku-logo { width: 22px; height: 22px; flex: none; border-radius: 6px; }

/* ---------- Banner: quỹ đạo icon công cụ quanh SketchUp ---------- */
.gw-orbit--sku .gw-orbit__chip { background: transparent; box-shadow: 0 12px 26px -8px rgba(0,0,0,.6); }
.gw-orbit--sku .gw-orbit__chip img { width: 100%; height: 100%; }
.gw-orbit--sku .gw-orbit__chip > span { display: block; width: 100%; height: 100%; }
.gw-orbit.gw-orbit--sku .gw-orbit__core { background: transparent; overflow: hidden; }
.gw-orbit.gw-orbit--sku .gw-orbit__core img { width: 100%; height: 100%; }

/* ---------- Điểm nhấn SketchUp: chấm nhãn hình khối, dải màu công cụ ở khối bản quyền ---------- */
.sku { --brand-stripe: linear-gradient(90deg, #d42a2a, #ef7d1a 34%, #2f6fd6 67%, #1a9e55); }
.sku .badge::before { width: 11px; height: 12px; border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: #d42a2a; }

/* ---------- SketchUp Pro: cửa sổ minh hoạ + 4 thẻ nhu cầu ---------- */
.sku-pro { padding-block: var(--sec); background: var(--beige); }
.sku-h2 { max-width: 900px; margin: 22px auto 0; }
.sku-pro__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; margin-top: 44px; }
.sku-pro__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sku-pro__cta { grid-column: 1 / -1; margin-top: 8px; }
.sku-use { padding: 22px 20px; border-radius: 20px; background: #fff; transition: opacity .8s var(--ease), translate .8s var(--ease), box-shadow .35s; }
.sku-use__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.sku-use__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sku-use h3 { margin-top: 14px; font-size: 17px; font-weight: 700; color: var(--black); }
.sku-use p { margin-top: 6px; font-size: 14.5px; line-height: 1.65; }
@media (hover: hover) { .sku-use:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 45%, #fff), 0 22px 40px -26px color-mix(in srgb, var(--c) 70%, transparent); } }

/* Cửa sổ SketchUp (giao diện sáng) */
.sku-win { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -36px rgba(33,34,82,.5), 0 0 0 1px rgba(33,34,82,.08); }
.sku-win__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #ececec; color: #555; font-size: 12.5px; }
.sku-win__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.sku-win__bar i:nth-child(2) { background: #febc2e; }
.sku-win__bar i:nth-child(3) { background: #28c840; }
.sku-win__bar span { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sku-win__body { display: grid; grid-template-columns: 46px 1fr 128px; min-height: 360px; }
.sku-win__tools { display: grid; align-content: start; gap: 6px; padding: 12px 7px; background: #f6f6f6; border-right: 1px solid #e3e3e3; }
.sku-win__tools span { display: grid; place-items: center; height: 32px; border-radius: 7px; color: #555; }
.sku-win__tools span.is-on { color: #fff; background: #d42a2a; }
.sku-win__tools svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.sku-win__canvas { position: relative; display: grid; place-items: center; padding: 24px 18px; background: linear-gradient(#e9f1fb 0 55%, #e4e2d9 55%); }
.sku-model { width: min(86%, 300px); height: auto; overflow: visible; }
.sku-axes path { fill: none; stroke-width: 1; opacity: .7; }
.sku-face { opacity: 0; animation: skuFill 10s var(--ease, ease) infinite; }
.sku-face--l { fill: #e8e2d6; }
.sku-face--r { fill: #f7f4ee; }
.sku-face--g { fill: #ddd5c6; }
.sku-face--rf { fill: #ba131a; animation-delay: .2s; }
.sku-face--rb { fill: #8f0f15; animation-delay: .2s; }
.sku-open path { fill: #9fb7d6; stroke: #333; stroke-width: .9; opacity: 0; animation: skuFill 10s var(--ease, ease) infinite .45s; }
.sku-edge { fill: none; stroke: #222; stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: skuDraw 10s ease-in-out infinite; }
/* Vòng 10s: vẽ nét → tô mặt → đẩy/kéo khối nhà cao lên (Push/Pull) → mờ đi */
.sku-house { transform-box: view-box; transform-origin: 100px 172px; animation: skuPush 10s var(--ease, ease) infinite; }
@keyframes skuDraw { 0% { stroke-dashoffset: 1400; opacity: 1; } 30%, 94% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes skuFill { 0%, 32% { opacity: 0; } 40%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes skuPush { 0%, 46% { scale: 1 .86; } 58%, 100% { scale: 1 1; } }
.sku-win__tip { position: absolute; left: 16px; top: 14px; padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 600; color: #fff; background: #d42a2a; }
.sku-win__tray { display: grid; align-content: start; gap: 9px; padding: 14px 12px; background: #f6f6f6; border-left: 1px solid #e3e3e3; color: #444; font-size: 11.5px; }
.sku-win__tray b { margin-top: 4px; font-weight: 600; color: #222; }
.sku-win__sw { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.sku-win__sw i { height: 30px; border-radius: 6px; }
.sku-win__sw i:nth-child(1) { background: #ba131a; }
.sku-win__sw i:nth-child(2) { background: #f7f4ee; box-shadow: inset 0 0 0 1px #ddd; }
.sku-win__sw i:nth-child(3) { background: repeating-linear-gradient(90deg, #b07a4a 0 5px, #c48c58 5px 9px); }
.sku-win__sw i:nth-child(4) { background: #9fb7d6; }
.sku-win__tag { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px #e3e3e3; }
.sku-win__tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: #2f6fd6; }
.sku-win__status { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 36px; padding: 0 12px; background: #ececec; font-size: 12px; color: #555; }
.sku-win__status > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sku-win__status label { display: flex; align-items: center; gap: 8px; flex: none; }
.sku-win__status em { min-width: 88px; padding: 3px 8px; border-radius: 4px; font-style: normal; font-variant-numeric: tabular-nums; color: #222; background: #fff; box-shadow: inset 0 0 0 1px #cfcfcf; }
.sku-win__status em::after { content: ""; display: inline-block; width: 1.5px; height: 12px; margin-left: 2px; vertical-align: -1px; background: #222; animation: skuBlink 1s steps(1) infinite; }
@keyframes skuBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sku-face, .sku-open path, .sku-edge, .sku-house, .sku-win__status em::after { animation: none; }
  .sku-face, .sku-open path { opacity: 1; } .sku-edge { stroke-dashoffset: 0; }
}

/* ---------- Bảng quản lý giấy phép (minh hoạ) ---------- */
.sku-console { position: relative; width: min(100%, 440px); margin-inline: auto; padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 34px 70px -30px rgba(33,34,82,.4), 0 0 0 1px rgba(33,34,82,.06); }
.sku-console::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 20px 20px 0 0; background: var(--brand-stripe); }
.sku-console__top { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--black); }
.sku-console__top img { border-radius: 6px; }
.sku-console__top span { margin-left: auto; padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--red); background: rgba(186,19,26,.08); white-space: nowrap; }
.sku-console__stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.sku-console__stat div { padding: 10px 12px; border-radius: 12px; background: var(--beige); }
.sku-console__stat b { display: block; font-size: 22px; line-height: 1.1; color: var(--black); }
.sku-console__stat span { font-size: 12px; color: var(--gray); }
.sku-console__list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.sku-console__list li { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--black); opacity: 0; translate: 12px 0; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.sku-console.is-in .sku-console__list li { opacity: 1; translate: 0; }
.sku-console__list li:nth-child(2) { transition-delay: .12s; } .sku-console__list li:nth-child(3) { transition-delay: .24s; } .sku-console__list li:nth-child(4) { transition-delay: .36s; } .sku-console__list li:nth-child(5) { transition-delay: .5s; }
.sku-console__list i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: hsl(var(--h, 0) 70% 86%); }
.sku-console__list span { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sku-console__list img { width: 20px; height: 20px; border-radius: 5px; }
.sku-console__list em { flex: none; padding: 3px 8px; border-radius: 100px; font-size: 11px; font-style: normal; font-weight: 600; color: #17733d; background: rgba(23,146,74,.1); }
.sku-console__list li.is-free { box-shadow: inset 0 0 0 1.5px rgba(186,19,26,.35); background: rgba(186,19,26,.03); }
.sku-console__list li.is-free i { background: repeating-linear-gradient(45deg, #f1d3d4 0 4px, #fff 4px 8px); }
.sku-console__list li.is-free em { color: var(--red); background: rgba(186,19,26,.08); }
@media (prefers-reduced-motion: reduce) { .sku-console__list li { opacity: 1; translate: 0; transition: none; } }
.sku-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Bảng giá ---------- */
.sku-pricing .gw-plan__price { flex-wrap: wrap; }
.sku .ms-pricing + section { margin-top: 0; padding-top: var(--sec); }
/* Icon công cụ chính gắn cạnh ảnh đại diện gói */
.sku-plan__app { position: absolute; z-index: 2; left: calc(50% + 26px); bottom: 34px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.16); }
.sku-plan__app img { width: 34px; height: 34px; border-radius: 8px; }
.sku .gw-cmp__grp img, .sku .ms-apps img, .sku .gw-app__ic img { border-radius: 22%; }

@media (max-width: 1024px) {
  .sku-pro__grid { grid-template-columns: 1fr; gap: 30px; }
  .sku-win { max-width: 620px; width: 100%; margin-inline: auto; }
}
@media (max-width: 680px) {
  .sku-pro__cards { grid-template-columns: 1fr; gap: 12px; }
  .sku-win__body { grid-template-columns: 40px 1fr; min-height: 300px; }
  .sku-win__tray { display: none; }
  .sku-win__status > span { display: none; }
  .sku-win__status { justify-content: flex-end; }
  .sku-console { padding: 16px; }
  .sku-actions .btn { width: 100%; justify-content: space-between; }
}
