.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* ========================================
   Header Brand
======================================== */

.brand {
  display: inline-flex;
  align-items: center;

  gap: 0.9rem;

  flex-shrink: 0;
}


/* Logo */

.brand img {
  width: 78px;
  height: 58px;

  object-fit: contain;

  /*
   * Sebelum scroll:
   * logo dibuat putih.
   */
  filter:
    brightness(0)
    invert(1);

  transition:
    filter 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}


/* Nama perusahaan */

.brand-name {
  display: flex;
  flex-direction: column;

  justify-content: center;

  gap: 0.08rem;

  color: white;

  font-family: var(--font-heading);

  line-height: 1.05;

  white-space: nowrap;

  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}


.brand-name > span {
  font-size: 0.72rem;

  font-weight: 600;

  letter-spacing: 0.08em;
}


.brand-name strong {
  font-size: 1rem;

  font-weight: 800;

  letter-spacing: 0.16em;
}


/* ========================================
   Header Setelah Scroll
======================================== */

.site-header.is-scrolled .brand img {

  /*
   * Kembalikan logo ke warna aslinya.
   */
  filter: none;
}


.site-header.is-scrolled .brand-name {
  color: var(--navy);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
}

.primary-nav a {
  position: relative;
  color: white;
}

.site-header.is-scrolled .primary-nav a {
  color: var(--graphite);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--ocean);
  transition: right 0.25s ease;
}

.primary-nav a:hover::after {
  right: 0;
}

.primary-nav .nav-cta {
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  background: white;
  color: var(--navy);
}

.site-header.is-scrolled .primary-nav .nav-cta {
  background: var(--blue);
  color: white;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s ease;
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.site-footer {
  background: #111d2c;
  color: rgba(255, 255, 255, 0.68);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 1fr;
  gap: 3rem;
  padding-bottom: 46px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-grid h3 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-grid a:hover {
  color: white;
}

.footer-logo {
  width: 90px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  margin-bottom: 0.6rem;
}

.footer-grid p {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

/* ========================================
   Product Grid
======================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;

  align-items: stretch;
}


/* ========================================
   Product Card
======================================== */

.product-card {
  height: 100%;

  border: 1px solid var(--line);
  border-radius: var(--radius-md);

  overflow: hidden;

  background: white;

  box-shadow: var(--shadow-card);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}


/* Link membungkus seluruh card */
.product-card > a {
  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;
}


.product-card:hover {
  transform: translateY(-5px);

  box-shadow: var(--shadow);

  border-color: rgba(18, 97, 168, 0.28);
}


/* ========================================
   Product Image
======================================== */

.product-card img {
  width: 100%;
  height: 220px;

  object-fit: cover;

  background: var(--ice);

  flex-shrink: 0;
}


/* ========================================
   Product Body
======================================== */

.product-card-body {
  display: flex;
  flex-direction: column;

  flex: 1;

  padding: 1.25rem;
}


.product-card-code {
  font-size: 0.72rem;

  font-family: var(--font-heading);

  font-weight: 800;

  color: var(--ocean);

  text-transform: uppercase;

  letter-spacing: 0.08em;
}


.product-card h3 {
  margin-top: 0.45rem;

  /* Supaya area judul lebih konsisten */
  min-height: 2.7em;
}


.product-card p {
  margin-top: 0.65rem;

  font-size: 0.93rem;

  display: -webkit-box;

  -webkit-line-clamp: 3;
  line-clamp: 3;

  -webkit-box-orient: vertical;

  overflow: hidden;
}


/* ========================================
   View Product
======================================== */

.product-card-link {
  display: inline-flex;
  align-items: center;

  /* Dorong link ke bawah */
  margin-top: auto;

  /* Jarak antara deskripsi dengan link */
  padding-top: 1.25rem;

  color: var(--blue);

  font-weight: 800;

  font-family: var(--font-heading);

  font-size: 0.82rem;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}


.product-card:hover .product-card-link {
  color: var(--ocean);

  transform: translateX(3px);
}

.split-intro,
.content-grid,
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.pillar {
  padding: 1.7rem;
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius-md);
}

.pillar span {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--ocean);
}

.pillar h3 {
  font-size: 1.5rem;
  margin: 0.8rem 0;
}

.quality-list {
  display: grid;
  gap: 1rem;
}

.quality-list > div {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
}

.quality-list strong {
  font-family: var(--font-heading);
  color: var(--navy);
}

.check-list {
  list-style: none;
  margin: 1.4rem 0;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ocean);
  position: absolute;
  left: 0;
  top: 0.62em;
}

.cta-card {
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--ice);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cta-card p {
  max-width: 650px;
  margin-top: 0.7rem;
}

.value-band {
  background: var(--navy);
}

.value-band h2,
.value-band p {
  color: white;
}

.value-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.value-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
}

.value-points div {
  padding: 1.5rem;
  border-right: 1px solid var(--line-light);
}

.value-points strong {
  color: #b8dfff;
  font-family: var(--font-heading);
}

.value-points p {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}
