/* =========================================================
   PT Lingkar Indo Semesta — Minimal Modern Styles
   ========================================================= */
:root {
  --bg: #FFFFFF;
  --surface: #F6F7F9;
  --surface-2: #EEF0F4;
  --dark: #0F131D;
  --dark-surface: #161B28;
  --ink: #11141C;
  --muted: #586070;
  --muted-light: #949CAB;
  --border: #E2E5EC;
  --border-strong: #C8CEDB;
  --border-dark: #252C3D;
  --wa: #1B9E4B;
  --wa-hover: #15823D;

  --radius: 4px;
  --radius-sm: 3px;

  --font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.028em;
}

address {
  font-style: normal;
}

::selection {
  background: var(--dark);
  color: #FFFFFF;
}

.container {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 14.5px;
}

.btn-block {
  width: 100%;
  padding: 13px 20px;
}

.btn-primary {
  background: var(--dark);
  color: #FFFFFF;
  border-color: var(--dark);
}

.btn-primary:hover {
  background: #22293B;
  border-color: #22293B;
}

.btn-wa {
  background: var(--wa);
  color: #FFFFFF;
  border-color: var(--wa);
}

.btn-wa:hover {
  background: var(--wa-hover);
  border-color: var(--wa-hover);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: var(--surface);
  border-color: var(--ink);
}

/* ---------- Normal Header / Navbar ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--dark);
  flex-shrink: 0;
}

.brand-img {
  height: 48px;
  width: auto;
  display: block;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--surface);
}

.nav-link.active {
  color: var(--ink);
  background: var(--surface);
  font-weight: 600;
}

.nav-cta {
  padding: 9px 15px;
  font-size: 13.5px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #FFFFFF;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.2s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  margin-top: var(--header-h);
  padding: 80px 0 88px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero-lead {
  margin-top: 22px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 3;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.14;
}

.section-sub {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
  max-width: 580px;
}

.section-intro {
  margin-bottom: 44px;
}

/* ---------- About ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-text {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

.about-text strong {
  color: var(--ink);
  font-weight: 600;
}

.pillar-list {
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

.pillar-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.pillar-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pillar-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.media-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #FFFFFF;
}

.media-aspect {
  aspect-ratio: 4 / 3.6;
  overflow: hidden;
  background: var(--surface);
}

.media-aspect img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Services ---------- */
.services {
  background: var(--surface);
}

.divisions-stack {
  display: grid;
  gap: 28px;
}

.division-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.division-info {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.division-info h3 {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 700;
}

.division-desc {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.deliverable-box {
  padding: 16px 18px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.deliverable-box:nth-child(2n) {
  border-right: 0;
}

.deliverable-box:nth-last-child(-n+2) {
  border-bottom: 0;
}

.deliverable-box h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.deliverable-box p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.division-media {
  position: relative;
  border-left: 1px solid var(--border);
  background: var(--surface-2);
}

.division-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

/* ---------- Products Catalog ---------- */
.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.catalog-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.filter-btn {
  padding: 8px 14px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn.active {
  background: #FFFFFF;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 19, 29, 0.06);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.product-card.hidden {
  display: none;
}

.product-card:hover {
  border-color: var(--ink);
}

.product-img {
  aspect-ratio: 4 / 2.8;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.product-card:hover .product-img img {
  transform: scale(1.03);
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.product-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.18s ease;
}

.product-card:hover .product-link svg {
  transform: translate(2px, -2px);
}

.products-cta {
  margin-top: 36px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.products-cta-text h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.products-cta-text p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Projects & Standards ---------- */
.projects {
  background: var(--dark);
  color: #FFFFFF;
  border-bottom: 0;
}

.projects-top {
  margin-bottom: 40px;
}

.light-title {
  color: #FFFFFF;
}

.light-sub {
  color: var(--muted-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: var(--dark-surface);
  margin-bottom: 40px;
}

.why-card {
  padding: 24px;
  border-right: 1px solid var(--border-dark);
}

.why-card:last-child {
  border-right: 0;
}

.why-card h3 {
  color: #FFFFFF;
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--muted-light);
  font-size: 13.5px;
  line-height: 1.6;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.g-item {
  position: relative;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-surface);
  cursor: zoom-in;
}

.g-span-2 {
  grid-column: span 2;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 0.45s var(--ease), opacity 0.25s ease;
}

.g-item:hover img {
  transform: scale(1.03);
  opacity: 1;
}

.g-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 11px;
  background: rgba(15, 19, 29, 0.88);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
}

.g-title {
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: stretch;
}

.quick-wa-form {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--ink);
}

.contact-cards {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.info-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.info-card {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #FFFFFF;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

a.info-card:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.info-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.info-card address {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.info-card p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
  word-break: break-all;
}

.info-card p svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--muted);
}

.contact-right {
  display: flex;
}

.map-frame {
  flex: 1;
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  min-height: 460px;
}

.map-frame iframe {
  width: 100%;
  flex: 1;
  min-height: 460px;
  border: 0;
  filter: grayscale(0.2);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--surface);
  padding: 64px 0 0;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.brand-footer {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  font-size: 13.5px;
}

.footer-col a {
  color: var(--muted);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: #FFFFFF;
  background: var(--wa);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: background-color 0.18s ease;
}

.wa-float svg {
  width: 22px;
  height: 22px;
}

.wa-float:hover {
  background: var(--wa-hover);
}

.wa-tip {
  position: absolute;
  right: 56px;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(4px);
  pointer-events: none;
  transition: 0.18s var(--ease);
}

.wa-float:hover .wa-tip {
  opacity: 1;
  transform: none;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  background: rgba(15, 19, 29, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s var(--ease);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 80vh;
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
}

.lightbox p {
  color: #FFFFFF;
  font-size: 14px;
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
  background: var(--dark-surface);
  color: #FFFFFF;
  font-size: 22px;
  cursor: pointer;
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.05s; }
.reveal[data-delay="2"] { transition-delay: 0.1s; }
.reveal[data-delay="3"] { transition-delay: 0.15s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1100px) {
  .hero-grid,
  .about-layout,
  .division-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .division-media {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-card:nth-child(2) {
    border-right: 0;
  }
  .why-card:nth-child(1),
  .why-card:nth-child(2) {
    border-bottom: 1px solid var(--border-dark);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px 24px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: 0.2s var(--ease);
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-link {
    padding: 10px 12px;
  }
  .nav-actions .btn {
    width: 100%;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .g-span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }
  .section {
    padding: 64px 0;
  }
  .hero {
    padding: 48px 0 56px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .about-gallery,
  .deliverables-grid,
  .product-grid,
  .why-grid,
  .gallery,
  .form-row,
  .info-card-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .deliverable-box {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .deliverable-box:last-child {
    border-bottom: 0;
  }
  .why-card {
    border-right: 0;
    border-bottom: 1px solid var(--border-dark);
  }
  .why-card:last-child {
    border-bottom: 0;
  }
  .g-span-2 {
    grid-column: auto;
  }
  .division-info {
    padding: 28px 20px;
  }
  .products-cta {
    padding: 22px;
  }
  .products-cta .btn {
    width: 100%;
  }
}
