:root { --ink:#0f172a; --muted:#64748b; --line:#cbd5e1; --brand:#0d6efd; --dark:#1e293b; --bg:#e2e8f0; }
html { scroll-behavior:smooth; }
body { color:var(--ink); background:var(--bg); font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; }
.topstrip { background:var(--dark); color:#fff; font-size:.88rem; padding:10px 0; }
.navbar-brand { font-weight:700; letter-spacing:.2px; }
.hero { background:linear-gradient(135deg,#1e293b,#0f3d91); color:#fff; padding:72px 0; }
.hero p { color:#cbd5e1; max-width:620px; }
.pbox { background:#fff; border:2px solid #94a3b8; border-top:6px solid var(--brand); border-radius:10px; padding:24px; margin-bottom:36px; box-shadow:0 6px 18px rgba(15,23,42,.08); scroll-margin-top:90px; }
.pcard { transition:transform .25s ease, box-shadow .25s ease; }
.pcard:hover { transform:translateY(-5px); box-shadow:0 12px 24px rgba(0,0,0,.14)!important; }
.pcard .pimg { height:200px; display:flex; align-items:center; justify-content:center; background:#fff; border:1px solid var(--line); border-radius:6px; padding:8px; position:relative; }
.pcard .pimg img { max-width:100%; max-height:100%; object-fit:contain; }
.ph { color:var(--muted); font-size:.85rem; font-weight:600; }
/* gallery */
.g-main { position:relative; height:540px; border:1px solid var(--line); border-radius:8px; background:#fff; overflow:hidden; display:flex; align-items:center; justify-content:center; padding:12px; cursor:zoom-in; }
.g-main img { max-width:100%; max-height:100%; object-fit:contain; transition:transform .25s ease; }
.g-main.zoom img { transform:scale(2); }
.g-main .badge { position:absolute; top:12px; left:12px; z-index:4; }
.g-arrow { position:absolute; top:50%; transform:translateY(-50%); width:36px; height:36px; border:0; border-radius:50%; background:rgba(30,41,59,.75); color:#fff; font-size:1.4rem; line-height:1; z-index:4; cursor:pointer; }
.g-arrow:hover { background:var(--brand); }
.g-prev { left:10px; } .g-next { right:10px; }
.g-thumbs { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.g-thumbs button, .g-thumbs .empty { flex:0 0 calc(25% - 6px); height:100px; border:2px solid var(--line); border-radius:6px; background:#f8fafc; display:flex; align-items:center; justify-content:center; padding:4px; overflow:hidden; }
.g-thumbs button { cursor:pointer; transition:border-color .2s, box-shadow .2s; }
.g-thumbs button:hover, .g-thumbs button.active { border-color:var(--brand); }
.g-thumbs button.active { box-shadow:0 0 0 2px rgba(13,110,253,.25); }
.g-thumbs img { max-width:100%; max-height:100%; object-fit:contain; }
footer { background:var(--dark); color:#cbd5e1; }
footer a { color:#fff; }
@media (max-width:576px) { .g-main { height:360px; } .g-thumbs button, .g-thumbs .empty { height:80px; } }
