/* =========================================================
   PT. Dimensi Teknik Gemilang — Company Profile
   Clean White Corporate-Tech Theme · Responsive
   Headings: Plus Jakarta Sans · Body/UI/Tables: Inter
   ========================================================= */
:root {
  --blue: #0e75b8;
  --blue-dark: #0a5a8e;
  --sky: #33aed7;
  --green: #a3d037;
  --orange: #f5951d;
  --red: #f31432;
  --ink: #0f1d2e;
  --text: #475569;
  --muted: #64748b;
  --line: #e5ebf2;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(15, 29, 46, .05);
  --shadow: 0 10px 30px rgba(15, 29, 46, .07);
  --shadow-lg: 0 20px 48px rgba(14, 117, 184, .14);
  --header-h: 70px;
  --container: 1160px;
  --font-heading: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 14.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .55em;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
h2 { font-size: clamp(20px, 2.1vw, 26px); font-weight: 800; }
h3 { font-size: 16.5px; font-weight: 700; line-height: 1.35; }
h4 { font-size: 14.5px; font-weight: 700; }
p { margin: 0 0 .95em; }
ul { padding-left: 1.2em; }
button, input, select, textarea, table { font-family: var(--font-body); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 68px 0; }
.section-soft { background: var(--bg-soft); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  font-family: var(--font-heading);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2.5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky), var(--green));
}
.section-head { max-width: 650px; margin: 0 auto 42px; text-align: center; }
.section-head p { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 13.5px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-1.5px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(14,117,184,.24); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.26); }
.btn-wa:hover { background: #1eb858; color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 8px 15px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-text strong { font-family: var(--font-heading); font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }
.brand-text span { font-family: var(--font-body); font-size: 10.5px; color: var(--muted); font-weight: 600; letter-spacing: .05em; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu a:not(.btn) {
  display: block; padding: 8px 13px; border-radius: 9px; color: var(--text);
  font-weight: 500; font-size: 13.5px; position: relative;
}
.nav-menu a:not(.btn):hover { color: var(--blue); background: var(--bg-soft); }
.nav-menu a:not(.btn).active { color: var(--blue); font-weight: 600; }
.nav-menu a:not(.btn).active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--blue);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
main { padding-top: var(--header-h); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 54px 0 68px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 540px; height: 540px; right: -160px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(51,174,215,.12), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(26px, 2.9vw, 37px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.022em;
  margin-bottom: .5em;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--blue), var(--sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 14.8px; color: var(--text); max-width: 530px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 16px;
}
.badge-pill b {
  background: var(--blue); color: #fff; padding: 2.5px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}

/* Compact Hero Statistics (20-22px numbers, 12-13px labels) */
.hero-stats {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.hero-stats div { position: relative; padding-right: 22px; }
.hero-stats div:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line);
}
.hero-stats div:last-child { padding-right: 0; }
.hero-stats div strong {
  font-family: var(--font-heading);
  display: block; font-size: 21px; color: var(--ink); font-weight: 800; line-height: 1.2;
}
.hero-stats div span {
  font-family: var(--font-body);
  display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px;
}

/* High-resolution diamond collage */
.hero-visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 490px; margin-left: auto; }
.diamond {
  position: absolute; overflow: hidden; border-radius: 24px; transform: rotate(45deg);
  box-shadow: var(--shadow-lg); background: var(--bg-soft); border: 3px solid #fff;
}
.diamond img {
  width: 144%; height: 144%; max-width: none; object-fit: cover;
  transform: rotate(-45deg); position: absolute; left: -22%; top: -22%;
}
.d1 { width: 50%; height: 50%; left: 14%; top: 5%; }
.d2 { width: 37%; height: 37%; left: 52%; top: 43%; }
.d3 { width: 33%; height: 33%; left: 8%; top: 58%; }
.shape { position: absolute; border-radius: 18px; transform: rotate(45deg); }
.s-red { width: 15%; height: 15%; right: 5%; top: 19%; background: linear-gradient(135deg, #ff5a6e, var(--red)); }
.s-sky { width: 11%; height: 11%; left: -1%; top: 41%; background: var(--sky); opacity: .9; }
.s-green { width: 9%; height: 9%; left: 46%; bottom: 0%; background: var(--green); }
.s-orange { width: 6.5%; height: 6.5%; right: 18%; bottom: 7%; background: var(--orange); }
.floating-card {
  position: absolute; left: 48%; top: 2%; background: #fff; border-radius: 14px; padding: 11px 15px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-size: 12px; animation: float 5s ease-in-out infinite; z-index: 2;
  border: 1px solid var(--line);
}
.floating-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(163,208,55,.18); color: #6e9a12; flex: none; }
.floating-card strong { font-family: var(--font-heading); display: block; color: var(--ink); font-size: 13px; font-weight: 700; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 50px 0 44px; background: linear-gradient(180deg, var(--bg-soft), #fff);
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: ""; position: absolute; right: 6%; top: 50%; width: 140px; height: 140px; transform: translateY(-50%) rotate(45deg);
  border-radius: 28px; background: linear-gradient(135deg, rgba(14,117,184,.09), rgba(51,174,215,.03)); pointer-events: none;
}
.page-hero h1 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: .35em; }
.page-hero p { max-width: 620px; color: var(--muted); font-size: 14.5px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 14px; font-weight: 500; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8e3ef; }
.card p { margin-bottom: 0; font-size: 14px; }
.icon-box {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(14,117,184,.1); color: var(--blue);
}
.icon-box svg { width: 22px; height: 22px; }
.c-green .icon-box { background: rgba(163,208,55,.18); color: #6e9a12; }
.c-orange .icon-box { background: rgba(245,149,29,.15); color: #d97a06; }
.c-red .icon-box { background: rgba(243,20,50,.1); color: var(--red); }
.c-sky .icon-box { background: rgba(51,174,215,.15); color: #1b8fb8; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 13.5px; }
.card-link svg { width: 15px; height: 15px; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.media-frame { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.1; background: var(--bg-soft); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-wrap { position: relative; }
.media-wrap::before {
  content: ""; position: absolute; left: -16px; bottom: -16px; width: 110px; height: 110px; border-radius: 20px;
  background: linear-gradient(135deg, var(--green), #c6e57a); z-index: -1;
}
.media-badge {
  position: absolute; right: -10px; bottom: 20px; background: #fff; border-radius: 14px; padding: 13px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
}
.media-badge strong { font-family: var(--font-heading); font-size: 22px; color: var(--blue); line-height: 1; font-weight: 800; }
.media-badge span { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.check-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: 14px; }
.check-list li::before {
  content: ""; flex: none; width: 19px; height: 19px; margin-top: 2px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- Values & Motto ---------- */
.value-card { text-align: center; padding: 24px 18px; }
.value-card .icon-box { margin: 0 auto 14px; }
.motto {
  margin-top: 42px; border-radius: 20px; padding: 36px 28px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--blue), var(--sky));
}
.motto::before, .motto::after { content: ""; position: absolute; border-radius: 24px; transform: rotate(45deg); background: rgba(255,255,255,.12); }
.motto::before { width: 130px; height: 130px; left: -40px; top: -50px; }
.motto::after { width: 90px; height: 90px; right: 32px; bottom: -45px; background: rgba(163,208,55,.45); }
.motto small { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .18em; font-weight: 700; opacity: .88; font-size: 11px; }
.motto h2 { color: #fff; margin: 8px 0 0; font-size: clamp(20px, 2.5vw, 28px); font-style: italic; }

.vm-card { padding: 28px; border-radius: 18px; }
.vm-card h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.vm-card p { font-size: 14.5px; color: var(--text); }

/* ---------- Data table ---------- */
.info-table {
  width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
}
.info-table th, .info-table td {
  text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line);
  vertical-align: top; font-size: 13.8px;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 35%; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.info-table td { color: var(--ink); font-weight: 500; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* ---------- Services page ---------- */
.service-block {
  display: grid; grid-template-columns: 300px 1fr; gap: 36px; padding: 32px;
  border: 1px solid var(--line); border-radius: 18px; background: #fff; margin-bottom: 22px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.service-block .num { font-family: var(--font-heading); font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .12em; }
.service-block h2 { font-size: clamp(19px, 1.9vw, 22px); margin-top: 6px; }
.service-block p { font-size: 14px; }
.tag-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0; }
.tag-list li {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 11px; background: var(--bg-soft);
  color: var(--ink); font-weight: 500; font-size: 13.5px; border: 1px solid transparent; transition: .2s;
}
.tag-list li:hover { border-color: var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.tag-list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--blue); flex: none; }
.c-green .tag-list li::before { background: var(--green); }
.c-orange .tag-list li::before { background: var(--orange); }
.c-red .tag-list li::before { background: var(--red); }
.c-sky .tag-list li::before { background: var(--sky); }
.tag-list li small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.tag-list.one { grid-template-columns: 1fr; }
.sub-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.sub-nav a {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink);
  font-weight: 600; font-size: 13px; background: #fff;
}
.sub-nav a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Methodology timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 16px; }
.step { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; transition: .25s; }
.step:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.step .n {
  font-family: var(--font-heading); font-size: 28px; font-weight: 800; line-height: 1; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin-bottom: 6px; font-size: 15.5px; }
.step p { font-size: 13.5px; margin: 0; }

/* ---------- Projects (Clean Structured List/Table — No Photos) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.filter-btn {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 600; font-size: 13px; cursor: pointer; transition: .2s;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(14,117,184,.22); }
.filter-btn .count { opacity: .75; font-weight: 500; margin-left: 4px; }

.project-list-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.project-table { width: 100%; border-collapse: collapse; }
.project-table thead th {
  background: var(--bg-soft); color: var(--muted); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; text-align: left;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
}
.project-table tbody tr { border-bottom: 1px solid var(--line); transition: background .18s; }
.project-table tbody tr:last-child { border-bottom: 0; }
.project-table tbody tr:hover { background: #f9fbfe; }
.project-table tbody tr.hide { display: none; }
.project-table td { padding: 15px 18px; vertical-align: middle; font-size: 13.8px; color: var(--text); }
.project-table .col-no {
  width: 54px; font-family: var(--font-heading); font-weight: 700; color: var(--muted);
  font-variant-numeric: tabular-nums; font-size: 13px;
}
.project-table .col-cat { width: 165px; }
.cat-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.cat-badge i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.project-table .col-title { font-family: var(--font-heading); font-weight: 700; color: var(--ink); font-size: 14.2px; }
.project-table .col-client { font-weight: 600; color: var(--blue-dark); font-size: 13.5px; width: 23%; }
.project-table .col-loc { width: 19%; color: var(--muted); font-size: 13px; }
.project-table .col-loc span { display: inline-flex; align-items: center; gap: 5px; }
.project-table .col-loc svg { width: 14px; height: 14px; flex: none; color: var(--sky); }
.project-table .col-act { width: 110px; text-align: right; }
.project-wa-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 12px; font-weight: 600;
  white-space: nowrap; transition: .2s;
}
.project-wa-link svg { width: 14px; height: 14px; color: #25d366; }
.project-wa-link:hover { border-color: #25d366; color: #15803d; background: #f0fdf4; }

/* Clients strip */
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.client-chip {
  padding: 10px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink);
  font-size: 13px; transition: .2s;
}
.client-chip:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Legal docs & KBLI ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.doc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; padding: 0; text-align: left;
  font: inherit; color: inherit; transition: .25s; width: 100%;
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doc-card .thumb { aspect-ratio: 3/4; background: var(--bg-soft); overflow: hidden; border-bottom: 1px solid var(--line); }
.doc-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .45s; }
.doc-card:hover .thumb img { transform: scale(1.04); }
.doc-card .meta { padding: 12px 14px; }
.doc-card .meta strong { font-family: var(--font-heading); display: block; color: var(--ink); font-size: 13.2px; line-height: 1.35; }
.doc-card .meta span { font-size: 12px; color: var(--muted); }
.legal-highlight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.legal-highlight .card { padding: 20px 22px; }
.legal-highlight .card small { display: block; color: var(--muted); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; }
.legal-highlight .card strong { font-family: var(--font-heading); display: block; color: var(--ink); font-size: 16.5px; margin-top: 5px; word-break: break-word; }

.kbli-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kbli-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink); font-weight: 600; line-height: 1.45;
  transition: border-color .2s, box-shadow .2s;
}
.kbli-item:hover { border-color: #cbd8e6; box-shadow: var(--shadow-sm); }
.kbli-item code {
  flex: none; font-family: var(--font-heading); font-weight: 800; font-size: 12.5px; padding: 4px 10px; border-radius: 8px;
  background: rgba(14,117,184,.1); color: var(--blue);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(10, 20, 35, .88); display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden; transition: .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-inner {
  background: #fff; border-radius: 18px; max-width: 760px; width: 100%; max-height: calc(100vh - 48px); overflow: auto;
  display: grid; grid-template-columns: 1fr; transform: scale(.96); transition: transform .3s;
}
.lightbox.open .lb-inner { transform: none; }
.lb-media { background: var(--bg-soft); display: flex; align-items: center; justify-content: center; min-height: 300px; }
.lb-media img { max-height: calc(100vh - 150px); width: auto; max-width: 100%; object-fit: contain; }
.lb-caption { padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; font-size: 14px; }
.lb-close, .lb-nav {
  position: fixed; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow); z-index: 310; transition: .2s;
}
.lb-close:hover, .lb-nav:hover { background: var(--blue); color: #fff; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-close svg, .lb-nav svg { width: 20px; height: 20px; }
body.no-scroll { overflow: hidden; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: start; }
.contact-item {
  display: flex; gap: 15px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; margin-bottom: 14px; transition: .2s;
}
.contact-item:hover { box-shadow: var(--shadow-sm); border-color: #d6e2ee; }
.contact-item .icon-box { margin: 0; flex: none; width: 42px; height: 42px; border-radius: 10px; }
.contact-item h3 { font-size: 15px; margin-bottom: 3px; }
.contact-item p, .contact-item a { margin: 0; font-size: 13.8px; color: var(--text); word-break: break-word; }
.contact-item a:hover { color: var(--blue); }
.form-card { padding: 30px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 13.8px; color: var(--ink);
  background: var(--bg-soft); transition: .2s; outline: none;
}
.field textarea { min-height: 115px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(14,117,184,.1); }
.field.error input, .field.error textarea, .field.error select { border-color: var(--red); }
.field .err { color: var(--red); font-size: 12px; margin-top: 5px; display: none; }
.field.error .err { display: block; }
.form-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.map-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); height: 390px; background: var(--bg-soft); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 20px; padding: 38px 42px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: var(--bg-soft); border: 1px solid var(--line); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: 160px; top: -50px; width: 130px; height: 130px; border-radius: 24px; transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(163,208,55,.3), rgba(163,208,55,.04)); pointer-events: none;
}
.cta-band h2 { margin-bottom: .3em; font-size: clamp(19px, 2vw, 24px); }
.cta-band p { margin: 0; color: var(--muted); max-width: 540px; font-size: 14px; }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }

/* ---------- Footer (Left-Aligned Logo & Company Info) ---------- */
.site-footer { background: #0f1d2e; color: #aab6c6; padding: 56px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .9fr 1fr 1.35fr; gap: 36px; align-items: start; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: -.01em; }
.site-footer a { color: #aab6c6; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.footer-logo-icon { height: 38px; width: auto; margin: 0 0 10px 0; display: block; object-position: left center; }
.footer-company-name {
  font-family: var(--font-heading); color: #fff; font-size: 14px; font-weight: 800;
  letter-spacing: .02em; margin: 0 0 10px 0; display: block;
}
.footer-brand p { font-size: 13.5px; max-width: 310px; margin: 0 0 10px 0; line-height: 1.6; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 13.5px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--sky); }
.footer-bottom {
  margin-top: 44px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px;
}
.color-bar { display: flex; height: 4px; }
.color-bar span { flex: 1; }

/* ---------- Floating WhatsApp + back to top ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff; padding: 12px; border-radius: 999px; box-shadow: 0 10px 26px rgba(37,211,102,.38);
  font-weight: 600; font-size: 13.5px; transition: .3s;
}
.wa-float:hover { color: #fff; transform: translateY(-3px); padding-right: 18px; }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s; }
.wa-float:hover span { max-width: 180px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: pulse 2.2s infinite; pointer-events: none;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.32); opacity: 0; } }
.to-top {
  position: fixed; right: 26px; bottom: 84px; z-index: 199; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.to-top svg { width: 18px; height: 18px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 10px; font-size: 13px; font-weight: 600; z-index: 400; opacity: 0; visibility: hidden; transition: .3s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .floating-card, .wa-float::before { animation: none; }
}

/* =================== Responsive =================== */
@media (max-width: 1080px) {
  .nav-menu a:not(.btn) { padding: 8px 10px; font-size: 13px; }
  .nav-cta .btn-wa span { display: none; }
  .nav-cta .btn-wa { padding: 9px; }
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
  .kbli-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff;
    padding: 12px 18px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-10px); opacity: 0; visibility: hidden; transition: .25s; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-menu a:not(.btn) { padding: 12px 14px; font-size: 14.5px; }
  .nav-menu a:not(.btn).active { background: rgba(14,117,184,.08); }
  .nav-menu a:not(.btn).active::after { display: none; }
  .nav-menu .mobile-wa { display: block; margin-top: 8px; }
  .nav-cta .btn-wa { display: none; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 38px 0 54px; }
  .hero-visual { max-width: 420px; margin: 8px auto 0; }
  .grid-3, .grid-4, .legal-highlight { grid-template-columns: repeat(2, 1fr); }
  .service-block { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .section { padding: 54px 0; }
  .media-wrap { max-width: 520px; }

  /* Responsive project table -> clean structured cards without photos */
  .project-table thead { display: none; }
  .project-table, .project-table tbody, .project-table tr, .project-table td { display: block; width: 100%; }
  .project-table tbody tr { padding: 16px 18px; }
  .project-table td { padding: 0; border: 0; }
  .project-table .col-no { display: inline-block; width: auto; margin-right: 8px; font-size: 12px; }
  .project-table .col-cat { display: inline-block; width: auto; margin-bottom: 8px; }
  .project-table .col-title { font-size: 15px; margin-bottom: 4px; }
  .project-table .col-client { width: 100%; font-size: 13px; margin-bottom: 4px; }
  .project-table .col-loc { width: 100%; font-size: 12.5px; margin-bottom: 10px; }
  .project-table .col-act { width: 100%; text-align: left; }
}
@media (min-width: 961px) { .nav-menu .mobile-wa { display: none; } }

@media (max-width: 640px) {
  body { font-size: 14px; }
  .container { padding: 0 18px; }
  .brand img { height: 30px; }
  .brand-text strong { font-size: 13.5px; }
  .brand-text span { display: none; }
  .grid-2, .grid-3, .grid-4, .legal-highlight, .kbli-grid, .tag-list, .form-row { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 14px 18px; }
  .hero-stats div { padding-right: 16px; }
  .hero-stats div strong { font-size: 19px; }
  .hero-stats div span { font-size: 11.5px; }
  .floating-card { left: auto; right: 0; top: -2%; padding: 9px 12px; font-size: 11.5px; }
  .card, .form-card { padding: 20px; }
  .service-block { padding: 20px; }
  .cta-band { padding: 26px 20px; }
  .cta-band .btns, .cta-band .btns .btn { width: 100%; }
  .motto { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .info-table th, .info-table td { padding: 10px 14px; font-size: 13px; display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 3px; }
  .info-table td { padding-top: 2px; }
  .media-badge { right: 8px; bottom: 12px; padding: 10px 14px; }
  .lb-close { top: 12px; right: 12px; }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 54px); }
  .lb-next { right: calc(50% - 54px); }
  .lightbox { padding: 12px 12px 74px; }
  .page-hero { padding: 36px 0 32px; }
  .page-hero::after { width: 96px; height: 96px; right: -24px; }
  .wa-float { right: 14px; bottom: 14px; }
  .to-top { right: 20px; bottom: 78px; }
  .map-frame { height: 300px; }
}
