/* ==========================================================================
   IGB — Inter G Queen Bumindo · Frontend stylesheet (light theme)
   Visual language follows the 2025 Company Profile: white pages, IG&B red,
   blue + yellow accents, diagonal slash motifs, rounded display type.
   Served directly from /public (no build step).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Monochrome palette, matched to the official IG&B logo gray (#4A4A4A).
     "--red"/"--blue"/"--yellow" are kept as token names (used throughout)
     but now hold graphite / mid-gray / light-gray. Real status colours
     (errors, success, WhatsApp) live in --danger / --success. */
  --red: #2E3035;          /* primary: graphite (CTA, accents) */
  --red-dark: #17181B;
  --red-soft: #F1F2F4;
  --blue: #6E727B;         /* secondary: mid gray */
  --blue-soft: #F3F4F6;
  --yellow: #D3D6DB;       /* tertiary: light gray (slashes, highlights) */
  --yellow-soft: #F4F5F7;
  --cream: #F6F7F8;

  --ink: #1D1F23;
  --ink-2: #3B3E45;
  --muted: #6B7079;
  --line: #E6E7EA;
  --paper: #FFFFFF;
  --paper-2: #FAFAFB;
  --logo-gray: #4A4A4A;
  --success: #12965C;
  --danger: #C0272D;
  --danger-soft: #FDEEEE;
  --em: #8A8E96;           /* second tone in headings, like the logo tagline */

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --shadow-xs: 0 1px 2px rgba(29, 31, 35, 0.06);
  --shadow-sm: 0 4px 16px rgba(29, 31, 35, 0.06);
  --shadow-md: 0 14px 40px rgba(29, 31, 35, 0.09);
  --shadow-lg: 0 24px 70px rgba(29, 31, 35, 0.12);
  --shadow-red: 0 10px 26px rgba(29, 31, 35, 0.22);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.28s var(--ease);
  --font-head: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --nav-h: 78px;
  --section-y: clamp(72px, 9vw, 112px);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) - 8px); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-2);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 3000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; transition: top var(--transition); }
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: var(--section-y) 0; position: relative; }
.section--tint { background: var(--paper-2); }
.section--cream { background: var(--cream); }
.section--page { padding-top: calc(var(--nav-h) + 56px); min-height: 70vh; }
.section-head { margin-bottom: 52px; max-width: 720px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 26px; height: 6px; background: var(--ink); transform: skewX(-24deg); border-radius: 1px; }
.section-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
.section-title .lite { font-weight: 500; display: block; font-size: 0.62em; color: var(--ink-2); letter-spacing: 0; margin-bottom: 4px; }
.section-title em { font-style: normal; color: var(--em); }
.section-sub { font-size: 17px; color: var(--muted); margin-top: 16px; line-height: 1.75; }
.section-head--center .section-sub { margin-inline: auto; max-width: 620px; }

/* Diagonal slash decorations (brochure motif) */
.slash { position: absolute; pointer-events: none; transform: skewY(-18deg); border-radius: 2px; }
.slash--red { background: var(--red); }
.slash--blue { background: var(--blue); }
.slash--yellow { background: var(--yellow); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-head); font-weight: 600; font-size: 16px; border-radius: 999px; padding: 13px 26px; transition: var(--transition); white-space: nowrap; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn-red { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; color: var(--red); transition: gap var(--transition); }
.link-arrow svg { width: 16px; height: 16px; fill: currentColor; }
.link-arrow:hover { gap: 10px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
#navbar { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h); display: flex; align-items: center; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow 0.3s ease, border-color 0.3s ease, height 0.3s ease; }
#navbar.scrolled, #navbar.solid { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(28, 33, 48, 0.06); }
#navbar.scrolled { --nav-h: 66px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
#footer .brand img { height: 44px; }

.nav-links { display: flex; list-style: none; gap: 2px; align-items: center; }
.nav-links a { display: block; font-family: var(--font-head); font-weight: 500; font-size: 15.5px; color: var(--ink-2); padding: 8px 13px; border-radius: 999px; transition: var(--transition); position: relative; }
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); background: var(--red-soft); }
.nav-cta { padding: 11px 22px; font-size: 15px; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-right: -10px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }

.mobile-nav { position: fixed; inset: 0; z-index: 1100; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; overflow: hidden; }
.mobile-nav::before { content: ''; position: absolute; right: -60px; bottom: -40px; width: 70%; height: 38%; background: var(--cream); transform: skewY(-18deg); }
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a { position: relative; font-family: var(--font-head); font-size: 24px; font-weight: 600; color: var(--ink); }
.mobile-nav a:hover { color: var(--red); }
.mobile-nav .btn { margin-top: 10px; font-size: 16px; color: #fff; }
.mobile-close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; font-size: 26px; color: var(--ink); z-index: 1; }

/* ==========================================================================
   HERO
   ========================================================================== */
#hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: #fff; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
.hero-photo { position: absolute; inset: 0; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo > img { position: absolute; inset: 0; }
.hero-band { opacity: 0.94; position: absolute; left: -10%; right: -10%; bottom: -16%; height: 46%; background: var(--red); transform: skewY(-18deg); transform-origin: left; }
.hero-band-white { position: absolute; right: 6%; bottom: 25%; width: 46%; height: 30px; background: #fff; transform: skewY(-18deg); }
.hero-band-yellow { position: absolute; left: 3%; top: 20%; width: 20%; height: 28px; z-index: 1; background: var(--yellow); transform: skewY(-18deg); }

.hero-content { position: relative; z-index: 2; width: 100%; padding: calc(var(--nav-h) + 48px) 0 80px; }
.hero-copy { max-width: 560px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; }
.hero-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hero-headline { font-family: var(--font-head); font-weight: 700; font-size: clamp(42px, 6vw, 72px); line-height: 1.04; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 22px; }
.hero-headline .line { display: block; }
.hero-headline .line:nth-child(2) { color: var(--em); }
.hero-headline .line:nth-child(3) { position: relative; display: inline-block; }
.hero-headline .line:nth-child(3)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 12px; background: var(--yellow); z-index: -1; transform: skewX(-18deg); opacity: 0.85; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-facts { display: flex; gap: 36px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-fact-num { font-family: var(--font-head); font-weight: 700; font-size: 38px; line-height: 1; color: var(--ink); }
.hero-fact-num span { color: var(--red); }
.hero-fact-label { font-size: 14px; color: var(--muted); margin-top: 6px; max-width: 150px; line-height: 1.35; }

.hero-card { position: absolute; z-index: 3; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; }
.hero-card img { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; }
.hero-card-title { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.2; }
.hero-card-sub { font-size: 12.5px; color: var(--muted); }
.hero-card--1 { right: 6%; top: calc(var(--nav-h) + 40px); }
.hero-card--2 { right: 30%; bottom: 13%; }

/* ==========================================================================
   CLIENTS STRIP
   ========================================================================== */
.clients { border-block: 1px solid var(--line); background: #fff; padding: 26px 0; }
.clients-inner { display: flex; align-items: center; gap: 28px; }
.clients-label { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); flex-shrink: 0; line-height: 1.3; max-width: 150px; }
.clients-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.clients-list li { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink-2); padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.about-visual { position: relative; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-md); position: relative; z-index: 1; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .slash--red { left: -22px; bottom: 40px; width: 70%; height: 46%; z-index: 0; }
.about-visual .slash--blue { right: -18px; top: 26px; width: 90px; height: 22px; z-index: 2; }
.about-quote { position: absolute; z-index: 3; right: -20px; bottom: -26px; background: #fff; border-radius: var(--radius-md); padding: 18px 22px; box-shadow: var(--shadow-md); max-width: 260px; }
.about-quote strong { display: block; font-family: var(--font-head); font-size: 22px; color: var(--red); line-height: 1.1; }
.about-quote span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; margin-top: 4px; }
.hi-there { font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 5vw, 58px); color: var(--ink); line-height: 1; letter-spacing: 0.01em; }
.hi-there::after { content: ''; display: block; width: 64px; height: 7px; background: var(--yellow); margin-top: 14px; border-radius: 2px; }
.about-body { margin-top: 24px; color: var(--ink-2); }
.about-body p + p { margin-top: 14px; }
.challenge-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 26px; }
.challenge-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; }
.challenge-list li::before { content: ''; width: 10px; height: 10px; flex-shrink: 0; background: var(--red); transform: rotate(45deg); border-radius: 2px; }
.solution-box { border-left: 5px solid var(--red); background: var(--red-soft); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 18px 22px; color: var(--ink); }
.solution-box strong { color: var(--red); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.service-card { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px 28px; position: relative; overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
.service-card::after { content: ''; position: absolute; right: -40px; top: -30px; width: 120px; height: 30px; background: var(--yellow); transform: skewY(-18deg) translateY(-60px); transition: transform 0.35s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::after { transform: skewY(-18deg) translateY(0); }
.service-icon { width: 60px; height: 60px; display: grid; place-items: center; margin: 6px 0 22px 6px; position: relative; }
.service-icon::before { content: ''; position: absolute; inset: 0; background: var(--red); border-radius: 12px; transform: rotate(45deg); transition: var(--transition); }
.service-card:hover .service-icon::before { background: var(--blue); }
.service-icon svg { width: 26px; height: 26px; fill: #fff; position: relative; }
.service-num { position: absolute; top: 22px; right: 26px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--line); }
.service-title { font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--ink); line-height: 1.25; margin-bottom: 10px; }
.service-desc { font-size: 15.5px; color: var(--muted); flex: 1; }
.service-card .link-arrow { margin-top: 18px; font-size: 15px; }

/* ==========================================================================
   SOLUTION FEATURE BLOCKS (display / iot / surveillance)
   ========================================================================== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 88px; }
.feature--flip .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media > img, .feature-media .media-frame { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); position: relative; z-index: 1; width: 100%; }
.media-frame { overflow: hidden; background: #fff; }
.media-frame img { width: 100%; }
.feature-media .slash--red { left: -18px; top: 30px; width: 46%; height: 70%; z-index: 0; }
.feature-media .slash--yellow { right: -16px; bottom: 26px; width: 110px; height: 24px; z-index: 2; }
.feature-media .slash--blue { right: -16px; top: 18px; width: 90px; height: 20px; z-index: 2; }
.feature-text p + p { margin-top: 14px; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip-list li { font-size: 14px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 6px 13px; border-radius: 999px; }
.chip-list--red li { color: var(--red); background: var(--red-soft); }

.solution-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.solution-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 30px; position: relative; overflow: hidden; }
.solution-col::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--blue); }
.solution-col:nth-child(2)::before { background: var(--red); }
.solution-col h3 { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 14px; }
.solution-col:nth-child(2) h3 { color: var(--red); }
.check-list { list-style: none; display: grid; gap: 9px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.check-list li::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232E3035'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat; }
.solution-col:nth-child(2) .check-list li::before { background-color: var(--red-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232E3035'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"); }

/* Design → realisation pairs */
.realisation { margin-top: 64px; }
.realisation-title { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--ink); margin-bottom: 20px; }
.realisation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.realisation-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px; }
.realisation-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; }
.realisation-pair figure { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.realisation-pair img { width: 100%; height: 100%; object-fit: cover; }
.realisation-pair figcaption { position: absolute; left: 8px; top: 8px; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(255, 255, 255, 0.92); color: var(--ink); padding: 3px 9px; border-radius: 999px; }
.realisation-pair figure:last-child figcaption { background: var(--ink); color: #fff; }
.realisation-pair::after { content: '→'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 800; box-shadow: var(--shadow-sm); }
.realisation-card p { font-weight: 700; color: var(--ink); margin: 12px 4px 2px; font-size: 15px; }

/* Project gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; }
.gallery-item figcaption { padding: 14px 18px 16px; }
.gallery-item .g-type { font-family: var(--font-head); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red); }
.gallery-item .g-client { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); line-height: 1.3; }
.gallery-item .g-tech { font-size: 13px; color: var(--muted); margin-top: 2px; }
.wide-photo { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.wide-photo img { width: 100%; max-height: 460px; object-fit: cover; }
.wide-photo figcaption { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: var(--radius-sm); padding: 10px 16px; box-shadow: var(--shadow-sm); }
.wide-photo figcaption strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 17px; }
.wide-photo figcaption span { font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   SOFTWARE APPS
   ========================================================================== */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); }
.app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.app-shot { position: relative; background: var(--blue-soft); aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.app-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.app-num { position: absolute; left: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 3px solid var(--yellow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }
.app-card:nth-child(even) .app-num { border-color: var(--blue); }
.app-body { padding: 18px 22px 22px; }
.app-name { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.2; }
.app-client { font-size: 13px; font-weight: 700; color: var(--blue); margin: 3px 0 8px; }
.app-desc { font-size: 15px; color: var(--muted); }

/* ==========================================================================
   IOT / SURVEILLANCE
   ========================================================================== */
.iot-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.iot-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.iot-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.iot-card-body { padding: 20px 22px 24px; }
.iot-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--blue); margin-bottom: 8px; }
.iot-card p { font-size: 15px; color: var(--muted); }

.layer-stack { list-style: none; display: grid; gap: 6px; margin-top: 22px; counter-reset: layer 8; }
.layer-stack li { counter-increment: layer -1; display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; }
.layer-stack li::before { content: counter(layer); width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 13px; flex-shrink: 0; }
.layer-stack li:nth-child(odd)::before { background: var(--red); }

.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.ai-grid li { list-style: none; text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--ink); background: var(--yellow-soft); border-radius: var(--radius-sm); padding: 12px 8px; font-size: 15px; }

/* ==========================================================================
   MEDIA CARDS (blog / portfolio)
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.media-card { border-radius: var(--radius-md); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: var(--transition); display: flex; flex-direction: column; }
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.media-thumb { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.media-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.media-card:hover .media-thumb img { transform: scale(1.04); }
.media-thumb::after { content: ''; position: absolute; left: -10%; bottom: -18px; width: 60%; height: 34px; background: var(--red); transform: skewY(-8deg); opacity: 0.9; }
.media-thumb-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.media-thumb-icon { width: 56px; height: 56px; background: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 24px; box-shadow: var(--shadow-sm); }
.media-thumb-label { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--ink-2); letter-spacing: 0.06em; text-transform: uppercase; }
.media-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.media-cat { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--red); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }
.media-date { font-size: 13px; color: var(--muted); }
.media-title { font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--ink); line-height: 1.3; margin: 6px 0 8px; }
.media-title a:hover { color: var(--red); }
.media-desc { font-size: 15px; color: var(--muted); flex: 1; }
.media-link { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--red); display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; transition: gap var(--transition); }
.media-link svg { width: 15px; height: 15px; fill: currentColor; }
.media-link:hover { gap: 10px; }

/* Testimonials */
.testi-card { background: #fff; border-radius: var(--radius-md); padding: 28px; border: 1px solid var(--line); transition: var(--transition); display: flex; flex-direction: column; }
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testi-stars { color: #E2B200; letter-spacing: 3px; margin-bottom: 12px; }
.testi-text { font-size: 15.5px; color: var(--ink-2); margin-bottom: 20px; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; background: var(--blue); flex-shrink: 0; }
.testi-card:nth-child(1) .testi-avatar { background: var(--red); }
.testi-card:nth-child(3) .testi-avatar { background: var(--ink); }
.testi-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.2; }
.testi-role { font-size: 13px; color: var(--muted); }

.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 56px; flex-wrap: wrap; }
.pager-info { color: var(--muted); font-size: 15px; }
.empty-state { text-align: center; color: var(--muted); padding: 48px 16px; }
.center-cta { text-align: center; margin-top: 44px; }

/* Article */
.article { max-width: 760px; margin-inline: auto; }
.article-back { display: inline-flex; gap: 6px; font-weight: 700; font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.article-back:hover { color: var(--red); }
.article-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin: 14px 0 28px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; aspect-ratio: 16 / 9; background: var(--cream); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 17.5px; line-height: 1.85; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.3; margin-top: 1.8em; }
.prose h2 { font-size: 27px; }
.prose h3 { font-size: 22px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose blockquote { border-left: 4px solid var(--red); padding-left: 18px; color: var(--muted); font-style: italic; }
.prose img { border-radius: var(--radius-md); height: auto; }
.prose pre { background: var(--ink); color: #eee; padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; font-size: 14px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
#contact { overflow: hidden; }
#contact > .slash--red { right: -80px; top: 60px; width: 42%; height: 120px; background: var(--yellow); opacity: 0.55; }
#contact > .slash--yellow { left: -40px; bottom: 80px; width: 200px; height: 34px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; position: relative; z-index: 1; align-items: start; }
.get-in-touch { font-family: var(--font-head); font-weight: 700; font-size: clamp(38px, 5vw, 54px); color: var(--ink); line-height: 1.02; }
.get-in-touch em { font-style: normal; color: var(--em); }
.contact-intro { color: var(--muted); margin-top: 16px; }
.contact-card { margin-top: 30px; background: var(--cream); border-radius: var(--radius-lg); padding: 26px 28px; }
.contact-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--ink); margin-bottom: 14px; }
.contact-info-list { display: grid; gap: 14px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.contact-info-icon svg { width: 19px; height: 19px; fill: #fff; }
.contact-info-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.contact-info-val { font-weight: 700; color: var(--ink); line-height: 1.5; }
.contact-info-val a:hover { color: var(--red); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); position: relative; }
.contact-form::before { content: ''; position: absolute; left: 36px; top: -1px; width: 80px; height: 6px; background: var(--red); border-radius: 0 0 4px 4px; }
.contact-form-title { font-family: var(--font-head); font-weight: 600; font-size: 24px; color: var(--ink); margin-bottom: 4px; }
.contact-form-sub { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 14px; font-weight: 700; color: var(--ink); }
.form-label .req { color: var(--danger); }
.form-input, .form-textarea { width: 100%; background: var(--paper-2); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 15px; font-family: var(--font-body); font-size: 15.5px; color: var(--ink); transition: var(--transition); }
.form-input::placeholder, .form-textarea::placeholder { color: #A0A5B0; }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-soft); }
.form-input[aria-invalid="true"], .form-textarea[aria-invalid="true"] { border-color: var(--danger); background: #fff; }
select.form-input { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20' fill='%23646B7B'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-error { font-size: 13px; color: var(--danger); font-weight: 600; }
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; padding: 15px; font-size: 17px; }
.form-submit[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.alert { border-radius: var(--radius-sm); padding: 13px 16px; font-size: 15px; margin-bottom: 20px; line-height: 1.5; font-weight: 600; }
.alert-success { background: #E7F7EF; border: 1px solid #A7E3C6; color: #0B6B41; }
.alert-error { background: var(--danger-soft); border: 1px solid #F3B9BB; color: #8E1418; }

/* ==========================================================================
   MARKETPLACE
   ========================================================================== */
.mp-toolbar { display: flex; gap: 12px; background: #fff; padding: 14px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-bottom: 18px; align-items: center; flex-wrap: wrap; }
.mp-search { position: relative; flex: 1; min-width: 240px; }
.mp-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: var(--muted); pointer-events: none; }
.mp-search input, .mp-select { width: 100%; padding: 12px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper-2); font-family: var(--font-body); font-size: 15px; color: var(--ink); transition: var(--transition); }
.mp-search input { padding-left: 46px; }
.mp-select { width: auto; min-width: 180px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20' fill='%23646B7B'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.mp-search input:focus, .mp-select:focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px var(--blue-soft); }
.mp-results-count { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.mp-results-count strong { color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--line); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-thumb { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform 0.4s ease; }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-thumb-empty { width: 100%; height: 100%; display: grid; place-items: center; background: var(--cream); }
.product-thumb-empty svg { width: 54px; height: 54px; stroke: #B7B2A6; fill: none; stroke-width: 1.6; }
.badge-status { display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; color: #fff; background: var(--blue); }
.product-thumb .badge-status { position: absolute; top: 12px; left: 12px; }
.status-baru { background: var(--success); }
.status-bekas { background: #8A8E96; }
.status-digital { background: #4A4E57; }
.badge-cat { display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 10px; border-radius: 6px; margin-bottom: 10px; align-self: flex-start; background: var(--paper-2); color: var(--ink-2); }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 4px; text-align: left; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.product-name:hover { color: var(--red); }
.product-meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.product-price { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--red); margin-bottom: 14px; }
.product-cta { display: grid; gap: 8px; margin-top: auto; }
.btn-wa, .btn-email, .btn-detail { font-family: var(--font-head); font-size: 14px; font-weight: 600; border-radius: 10px; padding: 9px 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: var(--transition); }
.btn-wa { background: #1FAF56; color: #fff; }
.btn-wa:hover { background: #158A43; }
.btn-email { background: var(--ink); color: #fff; }
.btn-email:hover { background: #000; }
.btn-detail { color: var(--ink); border: 1.5px solid var(--line); background: #fff; }
.btn-detail:hover { border-color: var(--ink); }
.btn-wa svg, .btn-email svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.mp-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.mp-modal { border: none; padding: 0; border-radius: var(--radius-lg); width: min(880px, 100% - 32px); max-height: 90vh; box-shadow: var(--shadow-lg); margin: auto; overflow: hidden; }
.mp-modal::backdrop { background: rgba(28, 33, 48, 0.5); backdrop-filter: blur(4px); }
.mp-modal-inner { display: grid; grid-template-columns: 1fr 1.15fr; max-height: 90vh; overflow-y: auto; }
.mp-modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-size: 18px; color: var(--ink); z-index: 5; transition: var(--transition); }
.mp-modal-close:hover { background: var(--line); }
.mp-modal-visual { background: var(--cream); display: flex; align-items: center; justify-content: center; min-height: 320px; }
.mp-modal-visual img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; padding: 24px; }
.mp-modal-visual .product-thumb-empty { min-height: 320px; }
.mp-modal-content { padding: 36px 32px 32px; }
.mp-modal-badges { display: flex; gap: 8px; flex-wrap: wrap; padding-right: 44px; }
.mp-modal-badges .badge-cat { margin-bottom: 0; }
.mp-modal-title { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.25; margin: 14px 0 4px; }
.mp-modal-price { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--red); margin-bottom: 12px; }
.mp-modal-desc { font-size: 15px; color: var(--muted); margin-bottom: 16px; white-space: pre-line; }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.spec-item { background: var(--paper-2); border-radius: 10px; padding: 9px 13px; border: 1px solid var(--line); }
.spec-label { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.spec-value { font-size: 14.5px; color: var(--ink); font-weight: 700; word-break: break-word; }
.mp-note { font-size: 13.5px; color: var(--ink-2); background: var(--yellow-soft); padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; }
body.modal-open { overflow: hidden; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer { position: relative; background: var(--paper-2); border-top: 1px solid var(--line); padding: 64px 0 28px; color: var(--muted); overflow: hidden; }
#footer::before { content: ''; position: absolute; right: -60px; top: -30px; width: 280px; height: 40px; background: var(--red); transform: skewY(-18deg); }
#footer::after { content: ''; position: absolute; right: 200px; top: -10px; width: 120px; height: 18px; background: var(--yellow); transform: skewY(-18deg); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.2fr 1.3fr; gap: 44px; margin-bottom: 44px; position: relative; }
.footer-desc { font-size: 15px; max-width: 300px; margin: 16px 0 18px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--ink-2); transition: var(--transition); }
.footer-social:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-col-title { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.footer-links a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.footer-bottom span { color: var(--red); font-weight: 700; }
.footer-tagline { font-style: italic; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1140px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .grid-3, .apps-grid, .gallery, .iot-projects { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 1; }
  .service-card:nth-child(5) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid, .feature, .contact-grid { gap: 48px; }
  .hero-card--2 { right: 20%; }
}
@media (max-width: 900px) {
  .hero-media { position: relative; width: 100%; height: 340px; order: 2; }
  #hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-content { padding-bottom: 40px; }
  .hero-photo { clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); }
  .hero-band { left: -10%; bottom: -30%; height: 50%; }
  .hero-band-white, .hero-band-yellow { display: none; }
  .hero-card--1 { top: auto; bottom: 28px; right: 20px; }
  .hero-card--2 { display: none; }
  .about-grid, .feature, .contact-grid, .solution-columns, .realisation-grid { grid-template-columns: 1fr; }
  .feature--flip .feature-media { order: 0; }
  .about-quote { right: 12px; }
  .clients-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .clients-label { max-width: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .mp-modal-inner { grid-template-columns: 1fr; }
  .mp-modal-visual, .mp-modal-visual .product-thumb-empty { min-height: 220px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .brand img { height: 34px; }
  .grid-3, .apps-grid, .gallery, .iot-projects, .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(5) { grid-column: span 1; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-fact-num { font-size: 30px; }
  .hero-fact-label { font-size: 12.5px; }
  .challenge-list { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mp-toolbar { flex-direction: column; align-items: stretch; }
  .mp-select { width: 100%; }
  .spec-table { grid-template-columns: 1fr; }
  .mp-modal-content { padding: 28px 20px 24px; }
  .realisation-pair::after { width: 28px; height: 28px; }
  .wide-photo figcaption { position: static; box-shadow: none; border-radius: 0; }
}
@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .hero-media { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
