/* =============================================================
   PT. Pasifik Niaga Globalindo — Design System
   Hand-built static site. Palette: logo blue + black.
   ============================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --navy-900: #05080f;
  --navy-800: #0a1524;
  --navy-700: #0f2440;
  --navy-600: #143b6e;
  --blue-500: #1e5fa8;
  --blue-400: #3a90d8;
  --blue-100: #e6eef8;
  --accent:   #2b7cc4;
  --accent-2: #5aa3e6;
  --ink:      #0b111c;
  --body:     #43536a;
  --muted:    #7a8aa0;
  --line:     #e6ecf4;
  --bg:       #f5f8fc;
  --white:    #ffffff;

  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(10, 31, 60, .06);
  --shadow-md: 0 14px 40px rgba(10, 31, 60, .10);
  --shadow-lg: 0 30px 70px rgba(10, 31, 60, .18);
  --grad-accent: linear-gradient(135deg, #3a90d8 0%, #1e5fa8 55%, #0a1524 125%);
  --grad-blue:   linear-gradient(135deg, #3a90d8 0%, #1e5fa8 55%, #0a1524 130%);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}
/* Default emphasis treatment for .accent on light backgrounds (headings
   inside .hero keep their own gradient rule below, which wins on specificity). */
h1 .accent, h2 .accent, h3 .accent, h4 .accent { color: var(--blue-500); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.eyebrow.center-eb { justify-content: center; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--ink); }
.section-title.on-dark { color: #fff; }
.lead { font-size: 1.12rem; color: var(--body); max-width: 62ch; }
.lead.center { margin-inline: auto; }
.on-dark .lead, .lead.on-dark { color: rgba(255,255,255,.75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 15px 28px; border-radius: 999px; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-accent { background: var(--grad-accent); color: #fff; box-shadow: 0 10px 26px rgba(30,95,168,.35); }
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(30,95,168,.48); }
.btn-blue { background: var(--blue-500); color:#fff; box-shadow: 0 10px 26px rgba(30,127,212,.32); }
.btn-blue:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(30,127,212,.42); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); background: var(--navy-700); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--navy-800); transform: translateY(-3px); }
.btn-outline.on-dark { color:#fff; border-color: rgba(255,255,255,.35); }
.btn-outline.on-dark:hover { border-color:#fff; background: rgba(255,255,255,.08); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37,211,102,.4); }
.btn-sm { padding: 11px 18px; font-size: .86rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 14px 0;
  background: #ffffff;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled {
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(10,20,36,.08);
  padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 46px; width: auto; display: block; transition: height .35s var(--ease); }
.scrolled .brand-logo { height: 40px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  color: var(--body); padding: 10px 15px; border-radius: 10px;
  transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy-800); background: var(--blue-100); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Language switch */
.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .03em;
  padding: 7px 12px; border: 0; background: transparent; color: var(--muted); transition: background .2s, color .2s;
}
.lang-switch button.active { background: var(--navy-800); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px auto; border-radius: 2px; transition: .3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding-top: 120px;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6,19,37,.92) 0%, rgba(10,31,60,.78) 42%, rgba(10,31,60,.35) 100%);
}
.hero-glow { position: absolute; z-index:-1; width: 620px; height: 620px; border-radius: 50%; filter: blur(120px); opacity: .5; }
.hero-glow.a { background: #1e7fd4; top: -160px; right: -120px; }
.hero-glow.b { background: #1e5fa8; bottom: -220px; left: -140px; opacity:.4; }
.hero-inner { max-width: 820px; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: 8px 16px 8px 10px; border-radius: 999px; font-size: .85rem; font-weight: 500;
  backdrop-filter: blur(6px); margin-bottom: 26px;
}
.hero .pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.hero h1 {
  color: #fff; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero h1 .accent { background: linear-gradient(120deg,#7bb8ee,#3a90d8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 60ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 40px; margin-top: 64px;
  padding-top: 34px; border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats .st .n { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: #fff; line-height: 1; }
.hero-stats .st .n .accent { color: var(--accent-2); }
.hero-stats .st .l { font-size: .84rem; color: rgba(255,255,255,.65); margin-top: 6px; letter-spacing: .04em; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); display:flex; flex-direction:column; align-items:center; gap:8px;}
.hero-scroll .mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.4); border-radius: 12px; position: relative; }
.hero-scroll .mouse::after { content:""; position:absolute; top:7px; left:50%; transform:translateX(-50%); width:3px; height:7px; background:#fff; border-radius:2px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0%{opacity:0; transform:translate(-50%,0);} 40%{opacity:1;} 80%{opacity:0; transform:translate(-50%,10px);} }

/* ---------- Trust / logos marquee ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); padding: 30px 0; }
.trust .lbl { text-align: center; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scrollx 28s linear infinite; align-items: center; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #b6c2d4; white-space: nowrap; letter-spacing:.02em;}
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Section header block ---------- */
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }

/* ---------- Services / feature cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ic {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-500); margin-bottom: 22px;
  transition: background .35s, color .35s;
}
.card .ic svg { width: 28px; height: 28px; }
.card:hover .ic { background: var(--grad-accent); color: #fff; }
.card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.card p { font-size: .98rem; }
.card .num { position: absolute; top: 20px; right: 24px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--line); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split-media .badge-float {
  position: absolute; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 18px 22px; display: flex; align-items: center; gap: 14px;
}
.split-media .badge-float.bl { bottom: -26px; left: -26px; }
.split-media .badge-float .bic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-accent); display: grid; place-items: center; color: #fff; }
.split-media .badge-float .bt strong { font-family: var(--font-display); display:block; color: var(--ink); font-size: 1.4rem; line-height:1; }
.split-media .badge-float .bt span { font-size: .8rem; color: var(--muted); }

.check-list { display: grid; gap: 14px; margin: 28px 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list li svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.stats-band::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 15% 20%, rgba(58,144,216,.4), transparent 45%), radial-gradient(circle at 85% 90%, rgba(30,95,168,.5), transparent 48%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stats-grid .s .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem,4.5vw,3.4rem); color: #fff; }
.stats-grid .s .n .accent { color: var(--accent-2); }
.stats-grid .s .l { color: rgba(255,255,255,.68); font-size: .92rem; margin-top: 6px; }

/* ---------- Products / Catalog ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 46px; }
.chip {
  font-family: var(--font-display); font-weight: 500; font-size: .92rem;
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--body); transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--blue-400); color: var(--navy-800); }
.chip.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.type-bar { display: flex; justify-content: center; margin: -20px 0 46px; }
.type-select {
  font-family: var(--font-display); font-weight: 500; font-size: 16px;
  padding: 11px 40px 11px 20px; border-radius: 999px; border: 1.5px solid var(--blue-400);
  background: var(--blue-100) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231e5fa8" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>') no-repeat right 14px center;
  background-size: 16px; color: var(--navy-800); cursor: pointer;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  transition: border-color .25s var(--ease);
}
.type-select::-ms-expand { display: none; }
.type-select:hover, .type-select:focus { border-color: var(--blue-500); outline: none; }

.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.product-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg,#eef3f9,#dde7f2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product-media img { transform: scale(1.06); }
.product-media video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.product-media video.contain { object-fit: contain; background: #fff; }
.product-media .cat {
  position: absolute; top: 14px; left: 14px; background: rgba(6,19,37,.72); color: #fff;
  font-family: var(--font-display); font-weight: 500; font-size: .74rem; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.18rem; margin-bottom: 8px; }
.product-body p { font-size: .92rem; color: var(--muted); margin-bottom: 16px; flex: 1; }
.product-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.product-specs span { font-size: .76rem; background: var(--bg); border: 1px solid var(--line); color: var(--body); padding: 5px 11px; border-radius: 8px; }
.product-actions { display: flex; gap: 10px; }
.product-actions .btn { flex: 1; justify-content: center; }
.btn-wechat { background: var(--blue-100); color: var(--blue-500); }
.btn-wechat:hover { background: var(--blue-500); color:#fff; }
.empty-note { text-align:center; color: var(--muted); padding: 40px; grid-column: 1/-1; }
.ph-tile { width:100%; height:100%; display:grid; place-items:center; align-content:center; gap:10px; color: var(--blue-400); background: linear-gradient(135deg,#eef3f9,#dbe6f3); }
.ph-tile svg { width: 44px; height: 44px; opacity:.7; }
.ph-tile span { font-family: var(--font-display); font-size:.78rem; letter-spacing:.05em; color: var(--muted); }

/* WeChat modal */
#wechatModal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
#wechatModal .wc-backdrop { position: absolute; inset: 0; background: rgba(6,19,37,.6); backdrop-filter: blur(4px); animation: fade .25s var(--ease); }
#wechatModal .wc-dialog { position: relative; background:#fff; border-radius: 22px; padding: 38px 34px; max-width: 420px; width:100%; box-shadow: var(--shadow-lg); text-align:center; animation: pop .3s var(--ease); }
#wechatModal h3 { font-size: 1.5rem; margin-bottom: 8px; }
#wechatModal .wc-dialog > p { color: var(--body); font-size:.95rem; margin-bottom: 22px; }
#wechatModal .wc-close { position:absolute; top:14px; right:18px; background:none; border:0; font-size:1.8rem; line-height:1; color: var(--muted); }
#wechatModal .wc-close:hover { color: var(--ink); }
.wc-ids { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.wc-id { background: var(--bg); border:1px solid var(--line); border-radius: 14px; padding: 16px 12px; }
.wc-id .k { display:block; font-size:.8rem; color: var(--muted); margin-bottom: 6px; }
.wc-id strong { font-family: var(--font-display); color: var(--navy-800); font-size: 1.02rem; word-break: break-all; }
.wc-hint { font-size:.82rem; color: var(--muted); background: var(--blue-100); border-radius: 12px; padding: 12px 14px; margin:0; }
@keyframes fade { from{opacity:0;} }
@keyframes pop { from{opacity:0; transform: translateY(14px) scale(.97);} }

/* Product image: contain (labels) + thumbnail switcher */
.product-media img.contain { object-fit: contain; background: #fff; padding: 10px; }
.product:hover .product-media img.contain { transform: none; }
.pthumbs { position: absolute; bottom: 10px; left: 10px; display: flex; gap: 8px; z-index: 3; }
.pthumb { width: 46px; height: 46px; padding: 2px; border: 2px solid #fff; border-radius: 9px; overflow: hidden; background: #fff; box-shadow: var(--shadow-md); cursor: pointer; opacity: .9; transition: border-color .2s, transform .2s, opacity .2s; }
.pthumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.product:hover .pthumb img { transform: none; }
.pthumb:hover { transform: translateY(-2px); opacity: 1; }
.pthumb.active { border-color: var(--blue-500); opacity: 1; }
.pthumb-video { position: relative; }
.pthumb-video .play-badge { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Activities ---------- */
.activity-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.activity-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer;
}
.activity-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.activity-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg,#eef3f9,#dde7f2); }
.activity-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.activity-card:hover .activity-media img { transform: scale(1.06); }
.activity-count {
  position: absolute; bottom: 12px; right: 12px; background: rgba(6,19,37,.72); color: #fff;
  font-family: var(--font-display); font-weight: 500; font-size: .72rem; letter-spacing: .03em;
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.activity-body { padding: 22px 22px 26px; }
.activity-meta { font-family: var(--font-display); font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.activity-body h3 { font-size: 1.14rem; margin: 8px 0 8px; }
.activity-body p { font-size: .92rem; color: var(--muted); }

/* Lightbox */
#lightbox { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 20px; }
#lightbox.open { display: grid; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(5,8,15,.92); animation: fade .25s var(--ease); }
.lb-stage { position: relative; z-index: 1; max-width: min(1100px, 92vw); max-height: 90vh; width: 100%; display: flex; flex-direction: column; align-items: center; animation: pop .3s var(--ease); }
.lb-stage img { max-width: 100%; max-height: 72vh; width: auto; border-radius: 14px; box-shadow: var(--shadow-lg); object-fit: contain; margin: 0 auto; }
.lb-info { text-align: center; color: #fff; margin-top: 18px; }
.lb-info h3 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.lb-info .lb-meta-text { font-size: .86rem; color: rgba(255,255,255,.6); }
.lb-counter { position: absolute; top: -46px; left: 0; font-family: var(--font-display); font-size: .82rem; color: rgba(255,255,255,.7); }
.lb-close { position: absolute; top: -46px; right: 0; background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; opacity: .8; }
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; display: grid; place-items: center; transition: background .2s;
}
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-nav svg { width: 24px; height: 24px; }
.lb-prev { left: -70px; }
.lb-next { right: -70px; }
@media (max-width: 900px) {
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
  .lb-close { top: -40px; }
}

/* ---------- Network / offices ---------- */
.net-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.net-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.net-card .nc-top { padding: 26px 26px 0; display: flex; align-items: center; justify-content: space-between; }
.net-card .flag { font-size: 1.7rem; }
.net-card .tag { font-size: .72rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; padding: 5px 11px; border-radius: 999px; }
.tag.office { background: var(--blue-100); color: var(--blue-500); }
.tag.wh { background: #e8ecf2; color: var(--ink); }
.net-card h3 { padding: 16px 26px 4px; font-size: 1.25rem; }
.net-card p { padding: 0 26px 24px; color: var(--muted); font-size: .92rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px; }
.gallery a { border-radius: 14px; overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: 66px 56px;
  background: var(--navy-800); color: #fff; text-align: center;
}
.cta::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 20% 0%, rgba(58,144,216,.55), transparent 50%), radial-gradient(circle at 90% 100%, rgba(30,95,168,.5), transparent 48%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(2rem,4vw,3rem); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,.8); max-width: 56ch; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.contact-card .rep-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.contact-card .rep-av { width: 58px; height: 58px; border-radius: 50%; background: var(--grad-blue); display: grid; place-items: center; color:#fff; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.contact-card .rep-top .who strong { font-family: var(--font-display); color: var(--ink); font-size: 1.2rem; display:block; }
.contact-card .rep-top .who span { font-size: .86rem; color: var(--accent); font-weight:600; }
.info-row { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.info-row svg { width: 20px; height: 20px; color: var(--blue-500); flex-shrink: 0; margin-top: 3px; }
.info-row .k { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.info-row .v { color: var(--ink); font-weight: 500; }
.qr-box { text-align:center; }
.qr-box img, .qr-box .qr-ph { width: 150px; height: 150px; border-radius: 14px; margin: 0 auto 10px; border: 1px solid var(--line); background:#fff; display:grid; place-items:center; }

/* ---------- Form ---------- */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; font-family: var(--font-display); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font-family: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px var(--blue-100); }
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; padding: 170px 0 80px; color: #fff; overflow: hidden; }
.page-hero-bg { position:absolute; inset:0; z-index:-2; }
.page-hero-bg img { width:100%; height:100%; object-fit: cover; }
.page-hero-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(120deg, rgba(6,19,37,.94), rgba(10,31,60,.7)); }
.page-hero h1 { color:#fff; font-size: clamp(2.2rem,5vw,3.6rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 60ch; font-size: 1.1rem; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 20px; letter-spacing:.03em; }
.crumbs a:hover { color:#fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .brand-text { display:flex; flex-direction:column; line-height:1.15; }
.footer-brand .brand-text .b1 { font-family: var(--font-display); font-weight:700; font-size:1.32rem; letter-spacing:.06em; color:#fff; }
.footer-brand .brand-text .b2 { font-size:.58rem; letter-spacing:.2em; text-transform:uppercase; color:rgba(255,255,255,.6); }
.footer-brand .brand-badge { width:46px; height:46px; border-radius:12px; background: var(--grad-blue); display:grid; place-items:center; flex-shrink:0; }
.footer-brand .brand-badge svg { width:26px; height:26px; }
.footer-logo { height: 52px; width: auto; }
.footer-brand p { margin-top: 18px; font-size: .95rem; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s, transform .25s; }
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: .94rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.5);
  transition: transform .3s var(--ease);
}
.fab:hover { transform: scale(1.08) translateY(-2px); }
.fab svg { width: 30px; height: 30px; color: #fff; }
.fab::after { content:""; position:absolute; inset:0; border-radius:50%; border:2px solid #25D366; animation: pulse 2s infinite; }
@keyframes pulse { 0%{transform:scale(1); opacity:.7;} 100%{transform:scale(1.6); opacity:0;} }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4, .product-grid, .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 40px 20px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .site-header .nav-cta .btn-accent { display: none; }
  .nav-menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 16px; right: 16px; margin-top: 10px;
    background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow-lg);
  }
  .nav-menu-open .nav-links a { color: var(--body); }
  .grid-3, .grid-4, .product-grid, .grid-2, .contact-grid, .footer-grid, .activity-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .hero-stats .st .n { font-size: 1.9rem; }
  .cta { padding: 48px 26px; }
  .footer-grid { gap: 32px; }
  .split-media .badge-float.bl { left: 12px; bottom: -20px; }
}
