/* PTK Solutions — ptk-service-detail.css
   Extracted from inline <style id="ptk-service-detail-style">.
   WordPress: enqueue in functions.php (ptk_enqueue_assets). */
:root { --ptk-navy:#071238; --ptk-blue:#1558e8; --ptk-cyan:#64dcff; --ptk-ink:#071238; --ptk-muted:#647084; --ptk-cream:#f6f2e9; }
body.ptk-service-detail { overflow-x:hidden; overflow-x:clip; background:#f5f7fb; }
body.ptk-service-detail img { max-width:100%; }
body.ptk-service-detail h1,
body.ptk-service-detail h2,
body.ptk-service-detail h3,
body.ptk-service-detail p,
body.ptk-service-detail a,
body.ptk-service-detail span { overflow-wrap:break-word; word-break:normal; }
body.ptk-service-detail [class*="col-"] { min-width:0; }
body.ptk-service-detail .header-logo img { width:205px; max-height:58px; object-fit:contain; }
body.ptk-service-detail .tv-header .menu-area > .row,
body.ptk-service-detail .sticky-header .menu-area > .row { flex-wrap:nowrap; }
body.ptk-service-detail .tv-header .nav-outer,
body.ptk-service-detail .sticky-header .nav-menu { min-width:0; flex:0 1 auto; }
body.ptk-service-detail .tv-header .main-menu > ul.navigation,
body.ptk-service-detail .sticky-header .main-menu > ul.navigation { display:flex; align-items:center; flex-wrap:nowrap; white-space:nowrap; }
body.ptk-service-detail .tv-header .main-menu > ul.navigation > li,
body.ptk-service-detail .sticky-header .main-menu > ul.navigation > li { flex:0 0 auto; margin-right:22px; }
body.ptk-service-detail .main-menu ul.sub-menu { white-space:normal; min-width:300px; }
body.ptk-service-detail .main-menu ul.sub-menu li a { line-height:1.35; }
.ptk-detail-hero { position:relative; overflow:hidden; margin:0 30px; padding:76px 0 68px; border-radius:0 0 34px 34px; background:linear-gradient(135deg,#050b24,#0b1c5d 58%,var(--accent)); color:#fff; }
.ptk-detail-hero::before { content:""; position:absolute; inset:0; opacity:.16; background:url("../images/hero/shape-line01.png") center/cover no-repeat; }
.ptk-detail-hero .container { position:relative; z-index:1; }
.ptk-detail-eyebrow { display:inline-flex; align-items:center; gap:12px; color:#8de7ff; font-size:12px; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }
.ptk-detail-eyebrow::before { content:""; width:32px; height:2px; background:currentColor; }
.ptk-detail-hero h1 { margin:16px 0 14px; max-width:760px; color:#fff; font-size:clamp(40px,3.6vw,58px); line-height:1.06; letter-spacing:-.03em; }
.ptk-detail-hero p { max-width:720px; margin:0; color:rgba(255,255,255,.78); font-size:17px; line-height:1.58; }
.ptk-detail-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.ptk-detail-btn { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:11px 22px; border-radius:999px; background:#fff; color:#061153; font-weight:800; }
.ptk-detail-btn.is-outline { border:1px solid rgba(255,255,255,.36); background:transparent; color:#fff; }
.ptk-detail-visual { position:relative; aspect-ratio:15/11; padding:12px; border:1px solid rgba(255,255,255,.18); border-radius:26px; background:#020b25; box-shadow:0 32px 80px rgba(0,0,0,.28); overflow:hidden; }
.ptk-detail-visual img { width:100%; height:100%; object-fit:contain; object-position:center; border-radius:18px; background:#020b25; }
.ptk-detail-visual > canvas { display:none !important; }
.ptk-detail-visual > img { position:static !important; opacity:1 !important; visibility:visible !important; transform:none !important; }
.ptk-detail-proof { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:22px; }
.ptk-detail-proof span { padding:12px 12px 0; border-top:1px solid rgba(255,255,255,.25); color:rgba(255,255,255,.82); font-weight:800; line-height:1.3; }
.ptk-section { padding:96px 0; }
.ptk-section.is-cream { background:var(--ptk-cream); }
.ptk-section.is-white { background:#fff; }
.ptk-section.is-dark { background:#071238; color:#fff; }
.ptk-section-heading { max-width:860px; margin:0 auto 44px; text-align:center; }
.ptk-section-heading h2 { margin:18px 0 14px; color:var(--ptk-ink); font-size:clamp(36px,3.8vw,56px); line-height:1.08; letter-spacing:-.025em; }
.ptk-section.is-dark .ptk-section-heading h2 { color:#fff; }
.ptk-section-heading p { margin:0 auto; max-width:720px; color:var(--ptk-muted); line-height:1.7; }
.ptk-section.is-dark .ptk-section-heading p { color:rgba(255,255,255,.72); }
.ptk-fit-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.ptk-fit-card { min-height:230px; padding:30px; border:1px solid rgba(10,23,59,.09); border-radius:22px; background:#fff; box-shadow:0 16px 40px rgba(7,18,56,.06); }
.ptk-fit-card strong { display:block; margin-bottom:16px; color:var(--accent); font-size:30px; line-height:1; }
.ptk-fit-card p { margin:0; color:#4e596f; line-height:1.65; }
.ptk-solution-panel { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:56px; align-items:center; }
.ptk-solution-image img { width:100%; height:540px; object-fit:cover; border-radius:30px; box-shadow:0 24px 70px rgba(6,17,83,.14); }
.ptk-solution-list { display:grid; gap:18px; }
.ptk-solution-item { display:grid; grid-template-columns:52px minmax(0,1fr); gap:16px; padding:24px; border-radius:20px; background:#f3f7ff; }
.ptk-solution-item span { display:grid; place-items:center; width:52px; height:52px; border-radius:50%; background:var(--accent); color:#fff; font-weight:900; }
.ptk-solution-item h3 { margin:0 0 8px; color:var(--ptk-ink); font-size:22px; line-height:1.25; }
.ptk-solution-item p { margin:0; color:#5b6475; line-height:1.6; }
.ptk-roadmap { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; border:1px solid rgba(255,255,255,.14); border-radius:28px; overflow:hidden; }
.ptk-roadmap div { min-height:245px; padding:30px; border-right:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.06); }
.ptk-roadmap div:last-child { border-right:0; }
.ptk-roadmap strong { display:block; margin-bottom:55px; color:#8de7ff; font-size:30px; }
.ptk-roadmap h3 { margin:0 0 12px; color:#fff; font-size:23px; line-height:1.25; }
.ptk-roadmap p { margin:0; color:rgba(255,255,255,.68); line-height:1.55; }
.ptk-deliverable-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.ptk-deliverable-grid span { min-height:120px; display:flex; align-items:flex-end; padding:22px; border-radius:18px; background:#fff; color:#071238; font-weight:850; box-shadow:0 12px 34px rgba(7,18,56,.055); }
.ptk-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.ptk-related-card { padding:26px; border:1px solid rgba(10,23,59,.1); border-radius:22px; background:#fff; color:var(--ptk-ink); transition:.3s ease; }
.ptk-related-card:hover { transform:translateY(-4px); border-color:var(--accent); box-shadow:0 18px 44px rgba(7,18,56,.1); }
.ptk-related-card img { width:46px; height:46px; object-fit:contain; margin-bottom:22px; }
.ptk-related-card h3 { font-size:22px; line-height:1.25; }
.ptk-detail-cta { margin:0 30px 30px; padding:78px 0; border-radius:32px; background:linear-gradient(135deg,#071238,#1558e8 70%,#22d3ee); color:#fff; }
.ptk-detail-cta-inner { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:30px; align-items:center; }
.ptk-detail-cta h2 { margin:0 0 16px; color:#fff; font-size:clamp(36px,3.8vw,58px); line-height:1.08; }
.ptk-detail-cta p { max-width:820px; margin:0; color:rgba(255,255,255,.76); line-height:1.7; }
.layout-2 .ptk-detail-hero,
.layout-6 .ptk-detail-hero,
.layout-10 .ptk-detail-hero,
.layout-14 .ptk-detail-hero { background:linear-gradient(135deg,#fbf8f1,#e9dfd0); color:#071238; }
.layout-2 .ptk-detail-hero h1,
.layout-6 .ptk-detail-hero h1,
.layout-10 .ptk-detail-hero h1,
.layout-14 .ptk-detail-hero h1 { color:#071238; }
.layout-2 .ptk-detail-hero p,
.layout-6 .ptk-detail-hero p,
.layout-10 .ptk-detail-hero p,
.layout-14 .ptk-detail-hero p { color:#596377; }
.layout-2 .ptk-detail-eyebrow,
.layout-6 .ptk-detail-eyebrow,
.layout-10 .ptk-detail-eyebrow,
.layout-14 .ptk-detail-eyebrow { color:var(--accent); }
.layout-2 .ptk-detail-proof span,
.layout-6 .ptk-detail-proof span,
.layout-10 .ptk-detail-proof span,
.layout-14 .ptk-detail-proof span { border-color:rgba(10,23,59,.14); color:#071238; }
.layout-3 .ptk-solution-panel,
.layout-7 .ptk-solution-panel,
.layout-11 .ptk-solution-panel { grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); }
.layout-3 .ptk-solution-image,
.layout-7 .ptk-solution-image,
.layout-11 .ptk-solution-image { order:2; }
.layout-4 .ptk-fit-card,
.layout-8 .ptk-fit-card,
.layout-12 .ptk-fit-card { background:#071238; color:#fff; }
.layout-4 .ptk-fit-card p,
.layout-8 .ptk-fit-card p,
.layout-12 .ptk-fit-card p { color:rgba(255,255,255,.76); }
@media (min-width:992px) and (max-width:1299px) {
    body.ptk-service-detail .header-logo img { width:165px; }
    body.ptk-service-detail .tv-header .main-menu > ul.navigation > li,
    body.ptk-service-detail .sticky-header .main-menu > ul.navigation > li { margin-right:12px; }
    body.ptk-service-detail .tv-header .main-menu a,
    body.ptk-service-detail .sticky-header .main-menu a { font-size:14px; }
    body.ptk-service-detail .tv-header .header-right-wrapper { display:none; }
}
@media (max-width:1199px) {
    .ptk-detail-visual img { height:100%; }
    .ptk-deliverable-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:991px) {
    body.ptk-service-detail .header-logo img { width:180px; max-height:52px; }
    .ptk-detail-hero { margin:0; padding:68px 0 62px; }
    .ptk-detail-proof,
    .ptk-fit-grid,
    .ptk-solution-panel,
    .ptk-roadmap,
    .ptk-related-grid,
    .ptk-detail-cta-inner { grid-template-columns:1fr; }
    .ptk-solution-image { order:0 !important; }
    .ptk-roadmap div { min-height:0; border-right:0; border-bottom:1px solid rgba(255,255,255,.12); }
    .ptk-roadmap div:last-child { border-bottom:0; }
    .ptk-section { padding:78px 0; }
}
@media (max-width:575px) {
    .ptk-detail-hero { padding:54px 0 50px; }
    .ptk-detail-hero h1 { margin:14px 0 12px; font-size:36px; line-height:1.08; }
    .ptk-detail-hero p { font-size:16px; }
    .ptk-detail-actions { flex-direction:column; align-items:stretch; }
    .ptk-detail-visual img { height:100%; }
    .ptk-solution-image img { height:310px; }
    .ptk-deliverable-grid { grid-template-columns:1fr; }
    .ptk-detail-cta { margin:0 0 20px; border-radius:24px; }
}

/* ==========================================================================
   SỬA LỖI TƯƠNG PHẢN — hero biến thể sáng (layout-2 / 6 / 10 / 14)
   --------------------------------------------------------------------------
   Các biến thể này đổi nền hero sang kem sáng và đã đổi màu h1/p/eyebrow/proof,
   nhưng BỎ SÓT nút bấm và khung ảnh: .ptk-detail-btn giữ nền trắng trên nền kem
   và .is-outline giữ chữ + viền trắng -> gần như không đọc được.
   (Ảnh hưởng 2/6 trang dịch vụ: layout-2 và layout-6.)
   ========================================================================== */
.layout-2 .ptk-detail-btn,
.layout-6 .ptk-detail-btn,
.layout-10 .ptk-detail-btn,
.layout-14 .ptk-detail-btn {
    background: #071238;
    color: #fff;
}

.layout-2 .ptk-detail-btn.is-outline,
.layout-6 .ptk-detail-btn.is-outline,
.layout-10 .ptk-detail-btn.is-outline,
.layout-14 .ptk-detail-btn.is-outline {
    border-color: rgba(7, 18, 56, .32);
    background: transparent;
    color: #071238;
}

.layout-2 .ptk-detail-btn.is-outline:hover,
.layout-6 .ptk-detail-btn.is-outline:hover,
.layout-10 .ptk-detail-btn.is-outline:hover,
.layout-14 .ptk-detail-btn.is-outline:hover {
    border-color: #071238;
    background: rgba(7, 18, 56, .06);
}

/* Khung ảnh hero: viền/nền trắng vốn dành cho hero tối */
.layout-2 .ptk-detail-visual,
.layout-6 .ptk-detail-visual,
.layout-10 .ptk-detail-visual,
.layout-14 .ptk-detail-visual {
    border-color: rgba(7, 18, 56, .14);
    background: rgba(7, 18, 56, .04);
    box-shadow: 0 32px 80px rgba(7, 18, 56, .14);
}
