/* Kitfolio · Job Switch Kit — product-page styles (navy + gold) */
:root {
  --navy: #13233f;
  --navy-2: #1d3257;
  --ink: #1a1f2b;
  --muted: #5f6878;
  --gold: #c9a24b;
  --gold-d: #a8832f;
  --gold-soft: #fbf4e2;
  --gold-line: #ecd9a8;
  --green: #1e8e4e;
  --bg: #f6f7f9;
  --white: #fff;
  --line: #e7e9ee;
  --radius: 14px;
  --max: 1140px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
/* Content protection: no text selection, no image long-press menu on phones, no image dragging */
body.protect { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body.protect img, body.protect svg { -webkit-user-drag: none; user-drag: none; pointer-events: auto; }
body.protect a[href^="mailto:"] { -webkit-user-select: text; user-select: text; }
a { color: var(--navy-2); }
h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.35rem, 3.6vw, 1.85rem); }
h3 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 880px; }

/* ---------- Announcement strip ---------- */
.strip { background: var(--navy); color: #dfe5f0; font-size: .82rem; overflow: hidden; white-space: nowrap; }
.strip-track { display: inline-flex; gap: 48px; padding: 8px 0; animation: marquee 32s linear infinite; }
.strip-track span b { color: var(--white); font-weight: 600; }
.strip-track span::before { content: "✓"; color: var(--gold); margin-right: 8px; font-weight: 700; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; }
.brand svg { width: 34px; height: 34px; }
.brand em { font-style: normal; color: var(--gold-d); }
.header-right { display: flex; align-items: center; gap: 14px; }
.help-pill { display: none; align-items: center; gap: 10px; border: 1px solid var(--gold-line); background: var(--gold-soft); border-radius: 999px; padding: 6px 16px 6px 6px; text-decoration: none; color: var(--navy); }
.help-pill .ic { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--white); }
.help-pill small { display: block; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.help-pill strong { font-size: .86rem; line-height: 1.2; }
.pay-chips { display: none; flex-direction: column; align-items: center; gap: 2px; }
.pay-chips small { font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; gap: 6px; }
.chip { font-size: .72rem; font-weight: 600; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; color: var(--navy); background: var(--white); }
.header-buy { background: var(--navy); color: var(--white); text-decoration: none; font-weight: 600; font-size: .88rem; padding: 9px 16px; border-radius: 8px; }

/* ---------- Product hero ---------- */
.product { padding: 22px 0 40px; }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.crumbs b { color: var(--ink); font-weight: 500; }
.product-grid { display: grid; gap: 24px; }
.gallery-main { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.gallery-main > * { width: 100%; height: 100%; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumb { background: var(--white); border: 2px solid var(--line); border-radius: 10px; padding: 4px; aspect-ratio: 1 / 1; cursor: pointer; display: grid; place-items: center; overflow: hidden; }
.thumb[aria-pressed="true"] { border-color: var(--gold); }
.thumb > * { width: 100%; height: 100%; pointer-events: none; }

.p-title { font-size: clamp(1.35rem, 3.4vw, 1.75rem); margin-bottom: 6px; }
.byline { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.byline b { color: var(--navy); font-weight: 600; }

.price-card { background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 16px 18px; }
.price-card .label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.price-big { font-size: 2.6rem; font-weight: 700; color: var(--green); line-height: 1.1; }
.price-tag { font-size: .76rem; border: 1px solid var(--gold-line); background: var(--white); border-radius: 999px; padding: 2px 10px; color: var(--muted); }
.price-note { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.price-note b { color: var(--ink); font-weight: 600; }

.delivery { display: flex; align-items: center; gap: 12px; border: 1px solid var(--gold-line); background: #fffaf0; border-radius: 10px; padding: 10px 14px; margin-top: 12px; }
.delivery .ic { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--white); display: grid; place-items: center; }
.delivery strong { display: block; font-size: .9rem; color: var(--navy); letter-spacing: .02em; }
.delivery small { color: var(--muted); font-size: .8rem; }

.btn-buy { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: var(--navy); color: var(--white); text-decoration: none; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 15px 20px; border-radius: 10px; margin-top: 12px; font-size: 1rem; transition: background .15s ease, transform .15s ease; }
.btn-buy:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-buy svg { width: 20px; height: 20px; }
.btn-buy.gold { background: var(--gold); color: var(--navy); }
.btn-buy.gold:hover { background: #d4ae58; }
.btn-buy.inline { display: inline-flex; width: auto; padding: 14px 34px; }

.secure { border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 10px; margin-top: 10px; text-align: center; }
.secure small { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.secure .chips { justify-content: center; flex-wrap: wrap; }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 30px; font-size: .92rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 5px; background: var(--navy); color: var(--gold); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.ticks b { color: var(--navy); font-weight: 600; }
.support-line { font-size: .84rem; color: var(--muted); margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.support-line a { color: var(--gold-d); font-weight: 600; text-decoration: none; }

/* ---------- Generic sections ---------- */
.sec { padding: 44px 0; }
.sec.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.sub { color: var(--muted); margin: -4px auto 26px; max-width: 640px; }

.band { background: var(--navy); color: var(--white); text-align: center; border-radius: 12px; padding: 12px 16px; font-weight: 500; font-size: .98rem; }
.band b { color: var(--gold); font-weight: 600; }

/* Problem cards */
.pain { display: grid; gap: 12px; }
.pain div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: .92rem; color: var(--muted); }
.pain strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 2px; }

/* Module tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile { background: var(--white); border: 1.5px solid var(--gold-line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.tile:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(19,35,63,.08); }
.t-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--navy); display: grid; place-items: center; margin-bottom: 8px; }
.t-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .t-ic { background: var(--navy-2); }
.tile .num { font-size: 1.55rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.tile .num small { font-size: .8rem; font-weight: 600; color: var(--gold-d); margin-left: 2px; }
.tile .name { font-weight: 600; font-size: .9rem; color: var(--ink); line-height: 1.3; }
.tile .desc { font-size: .78rem; color: var(--muted); line-height: 1.45; }
.tile .fmt { margin-top: auto; padding-top: 6px; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-d); }

/* Resume previews */
.previews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pv { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pv > img { width: 100%; height: auto; display: block; transition: transform .25s ease; }
.pv { position: relative; }
.pv:hover > img { transform: scale(1.02); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 6px; }
.gallery-main { background: #fff; position: relative; }
.gallery-main > img, .gallery-main > svg { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
.gallery-main img { object-fit: contain; filter: drop-shadow(0 10px 18px rgba(12,24,48,.22)); }
.thumbs { grid-template-columns: repeat(5, 1fr); gap: 8px; }
.thumb { background: #fff; }
.thumb img { object-fit: contain; }
/* "+22 more" teaser card */
.pv.more { display: block; text-decoration: none; background: var(--navy); border-color: var(--navy); overflow: hidden; min-height: 320px; }
.more-stack { position: absolute; inset: 0; }
.more-stack img { position: absolute; width: 62%; height: auto; left: 19%; top: 8%; border-radius: 4px; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.more-stack img:nth-child(1) { transform: rotate(-12deg) translate(-26%, 4%); }
.more-stack img:nth-child(2) { transform: rotate(10deg) translate(26%, 4%); }
.more-stack img:nth-child(3) { transform: rotate(-1deg) translateY(-2%); }
.more-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 18px; color: #fff;
  background: linear-gradient(to top, rgba(13,24,46,.98) 0%, rgba(13,24,46,.92) 42%, rgba(13,24,46,.35) 75%, rgba(13,24,46,.1) 100%); }
.more-num { font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 700; color: var(--gold); line-height: 1; }
.more-title { font-size: 1.05rem; font-weight: 600; }
.more-desc { font-size: .8rem; color: #c3cbda; line-height: 1.45; }
.more-cta { margin-top: 10px; align-self: flex-start; background: var(--gold); color: var(--navy); font-weight: 700; font-size: .85rem; padding: 9px 16px; border-radius: 8px; transition: transform .15s ease; }
.pv.more:hover .more-cta { transform: translateX(3px); }
.pv.more:hover .more-stack img:nth-child(1) { transform: rotate(-15deg) translate(-30%, 3%); }
.pv.more:hover .more-stack img:nth-child(2) { transform: rotate(13deg) translate(30%, 3%); }
.more-stack img { transition: transform .3s ease; }
.pv figcaption { padding: 10px 12px; font-size: .84rem; font-weight: 600; color: var(--navy); border-top: 1px solid var(--line); }
.pv figcaption span { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); }
/* IMAGE PLACEHOLDER box: replace each .ph div with <img src="assets/FILE.png" alt="..."> */
.ph { aspect-ratio: 210 / 297; background: #f2f3f6; position: relative; display: grid; place-items: center; }
.ph::before { content: ""; position: absolute; inset: 10% 14%; background: linear-gradient(var(--ph-accent, var(--navy)) 0 0) top / 100% 13% no-repeat, repeating-linear-gradient(#dcdfe6 0 4px, transparent 4px 13px) 0 100% / 100% 80% no-repeat; border-radius: 3px; opacity: .6; }
.ph-label { position: relative; font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--white); color: var(--muted); padding: 3px 8px; border-radius: 6px; border: 1px dashed #b9bdc7; }

/* What you receive */
.receive { display: grid; gap: 18px; }
.receive > div { display: flex; gap: 14px; align-items: flex-start; }
.receive .ic { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-d); display: grid; place-items: center; }
.receive strong { display: block; color: var(--navy); font-weight: 600; }
.receive p { margin: 0; color: var(--muted); font-size: .9rem; }

.note { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; padding: 14px 18px; margin-top: 28px; font-size: .9rem; }
.note strong { color: #8a6417; display: block; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.steps li::before { content: counter(s); flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }

/* Details table */
.details { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .9rem; }
.details th, .details td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.details th { width: 38%; background: #f8f9fb; font-weight: 600; color: var(--navy); }
.details tr:last-child th, .details tr:last-child td { border-bottom: 0; }

/* Who */
.who { display: grid; gap: 14px; }
.who-box { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.who-box h3 { display: flex; align-items: center; gap: 8px; }
.who-box ul { margin: 0; padding-left: 18px; font-size: .92rem; }
.who-box li { margin-bottom: 7px; }
.who-box.yes { border-top: 4px solid var(--green); }
.who-box.no { border-top: 4px solid #c0392b; }

/* Sectors */
.sectors { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sectors span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .84rem; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 15px 48px 15px 18px; font-weight: 600; color: var(--navy); list-style: none; position: relative; font-size: .95rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--gold-d); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); font-size: .92rem; }

/* Final CTA */
.final { background: var(--navy); color: #d9e0ec; text-align: center; padding: 52px 0; }
.final h2 { color: var(--white); }
.final .price-big { color: var(--gold); margin: 10px 0 4px; }
.final small { display: block; margin-bottom: 18px; color: #aab5c8; }

/* Footer */
footer { background: #0c1730; color: #97a3b9; font-size: .85rem; padding: 28px 0 100px; }
footer a { color: #d2d9e6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 10px; }

/* Sticky price bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s ease; padding-bottom: env(safe-area-inset-bottom); }
.buybar.show { transform: none; }
.buybar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.bb-info { line-height: 1.25; min-width: 0; }
.bb-info strong { display: block; color: var(--navy); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-info span { color: var(--green); font-weight: 700; }
.bb-info small { color: var(--muted); font-size: .76rem; margin-left: 6px; }
.buybar .btn-buy { width: auto; margin: 0; padding: 11px 22px; font-size: .9rem; }

/* Notice when payment link not set */
.notice { position: fixed; left: 16px; right: 16px; top: 16px; z-index: 60; max-width: 520px; margin: 0 auto; background: var(--white); border: 2px solid var(--gold); border-radius: 12px; padding: 14px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.2); display: none; font-size: .92rem; }
.notice.show { display: block; }

/* Policy pages (shared) */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.topbar .brand-mark { width: 30px; height: 30px; }
.topbar .small-link { font-size: .88rem; text-decoration: none; color: var(--navy); font-weight: 500; }
.policy { padding: 36px 0 60px; }
.policy .wrap { max-width: 760px; }
.policy h1 { font-size: clamp(1.6rem, 4.5vw, 2.1rem); }
.policy h2 { font-size: 1.15rem; margin-top: 1.8em; }
.policy .updated { color: var(--muted); font-size: .88rem; }
.policy ul { padding-left: 20px; }
.policy p, .policy li { font-size: .95rem; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .previews { grid-template-columns: repeat(3, 1fr); }
  .pain { grid-template-columns: repeat(3, 1fr); }
  .receive { grid-template-columns: 1fr 1fr; }
  .who { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  body { font-size: 16px; }
  .help-pill, .pay-chips { display: flex; }
  .product { padding: 26px 0 56px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
  .gallery { position: sticky; top: 20px; }
  .tiles { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .previews { grid-template-columns: repeat(4, 1fr); }
  .sec { padding: 60px 0; }
  footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip-track { animation: none; }
  .tile, .btn-buy, .buybar { transition: none; }
}
