/* ==========================================================
   1. NILAI DESAIN — warna dan pengaturan foto utama
   ========================================================== */
:root {
  --color-primary: #182388;
  --color-accent: #e80511;
  --color-surface: #e8e9f4;
  --color-white: #fff;
  --color-placeholder: #d9d9d9;
  --content-width: 1312px;

  /* Ubah tiga nilai ini untuk mengatur foto hero desktop. */
  --hero-image-size: 130% auto;
  --hero-image-position: 10% 22%;
  --hero-overlay: 0.63;
}

/* 2. DASAR HALAMAN */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--color-primary);
  background: var(--color-white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
section[id] {
  scroll-margin-top: 16px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffb800;
  outline-offset: 5px;
}
.container {
  width: calc(100% - 128px);
  max-width: var(--content-width);
  margin-inline: auto;
}
.section-tinted {
  background: var(--color-surface);
}
.section-title {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
}
.section-intro {
  margin: 10px 0 22px;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
}
.image-placeholder {
  background: var(--color-placeholder);
}
.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 12px 18px;
  background: white;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}

/* 3. HEADER */
.site-header {
  color: white;
  background: var(--color-primary);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  max-width: 1440px;
  margin-inline: auto;
  padding: 16px 20px 16px 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 16px;
  white-space: nowrap;
}
/* Menu biasa */
.main-navigation > a:not(.button) {
  font-weight: 400;
}

/* Menu untuk section yang sedang aktif */
.main-navigation > a.is-active:not(.button) {
  font-weight: 700;
}
.main-navigation > a:not(.button):hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: white;
}

/* 4. TOMBOL */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px 30px;
  border: 3px solid transparent;
  border-radius: 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background-color 160ms ease;
}
.button-primary {
  color: white;
  background: var(--color-accent);
}
.button-primary:hover {
  background: #c8040f;
}
.button-outline {
  color: white;
  border-color: white;
  background: transparent;
}
.button-outline:hover {
  background: rgb(255 255 255 / 12%);
}
.header-cta {
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 4px;
  font-size: 16px;
}

/* 5. HERO
   --photo diisi oleh PHP. Layer pertama adalah lapisan biru,
   layer kedua adalah foto. Masing-masing diberi ukuran terpisah.
*/
.hero {
  color: white;
  background-color: var(--color-primary);
  background-image:
    linear-gradient(
      rgb(24 35 136 / var(--hero-overlay)),
      rgb(24 35 136 / var(--hero-overlay))
    ),
    var(--photo, none);
  background-size:
    100% 100%,
    var(--hero-image-size);
  background-position: center, var(--hero-image-position);
  background-repeat: no-repeat;
}
.hero-content {
  min-height: 500px;
  padding-block: 72px 40px;
}
.hero-eyebrow {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
}
.hero-eyebrow::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin-top: 10px;
  background: var(--color-accent);
}
.hero h1 {
  font-size: clamp(40px, 4.45vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.hero-description {
  margin: 14px 0 28px;
  font-size: 20px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.hero-actions .button {
  min-width: 268px;
}

/* 6. TENTANG KAMI */
.about {
  padding-block: 60px;
}
.about-layout {
  display: grid;
  grid-template-columns: 450fr 812fr;
  align-items: center;
  gap: 50px;
}
.about-layout > * {
  min-width: 0;
}
.about-image {
  aspect-ratio: 414 / 234;
  border-radius: 28px;
  overflow: hidden;
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 700;
}
.section-eyebrow::after {
  content: "";
  width: 80px;
  height: 2px;
  background: currentColor;
}
.about h2 {
  margin-bottom: 16px;
  font-size: 48px;
  line-height: 1.15;
}
.about-copy > p:last-child {
  font-size: 16px;
  line-height: 1.6;
}

/* 7. LAYANAN */
.services {
  padding-block: 24px 22px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 24px;
}
.service-card {
  text-align: center;
}
.service-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 420 / 226;
  padding: 24px;
  border-radius: 20px;
  color: white;
  background-color: var(--color-primary);
  background-image:
    linear-gradient(rgb(24 35 136 / 60%), rgb(24 35 136 / 60%)),
    var(--photo, none);
  background-size: cover;
  background-position: center;
}
.service-card h3 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}
.service-card p {
  margin: 12px 4px 0;
  font-size: 16px;
  line-height: 1.2;
}

/* 8. PRODUK */
.products {
  padding-block: 24px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
}
.product-card {
  text-align: center;
}
.product-image {
  aspect-ratio: 315 / 217;
  overflow: hidden;
}
.product-card h3 {
  margin: 10px 0 6px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}
.product-card p {
  font-size: 14px;
  line-height: 1.2;
}

/* 9. MATERIAL DAN SEKTOR */
.materials-band {
  padding-block: 30px 30px;
  color: white;
  background: var(--color-primary);
}
.materials-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.materials-layout > * {
  min-width: 0;
}
.material-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.material-list li {
  padding: 6px 10px;
  border-radius: 4px;
  background: #747bb8;
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
}
.material-list li:last-child {
  grid-column: span 2;
}
.industries {
  padding-left: 56px;
  border-left: 2px solid white;
}
/* Daftar sektor: dua kolom */
.industry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;

  font-size: 17px;
  line-height: 1.4;
}

/* Tampilan setiap sektor */
.industry-list > li {
  display: flex;
  align-items: center;

  min-width: 0;
  min-height: 48px;
  padding: 12px 16px;

  color: white;
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 4px;

  text-align: center;
  overflow-wrap: anywhere;
}

/* Custom Project memenuhi baris terakhir */
.industry-list > li:last-child {
  grid-column: 1 / -1;
  justify-content: center;
  text-align: center;
}

/* 10. KEUNGGULAN — garis hanya di antara item, tanpa bingkai luar */
.advantages {
  padding-block: 34px 34px;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}
.advantage-card {
  padding: 28px 32px 22px;
  text-align: center;
}
.advantage-card:not(:nth-child(3n)) {
  border-right: 1px solid #b4b4b4;
}
.advantage-card:nth-child(-n + 3) {
  border-bottom: 1px solid #b4b4b4;
}
.advantage-card > .bi {
  display: block;
  color: var(--color-accent);
  font-size: 80px;
  line-height: 1;
}
.advantage-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}
.advantage-card p {
  font-size: 14px;
  line-height: 1.2;
}

/* 11. TAHAPAN PRODUKSI */
.process {
  padding-block: 30px 34px;
}
.process-list {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.process-step {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
.process-step > span {
  min-width: 0;
  flex: 0 1 auto;
  text-align: left;
}
.process-icon {
  color: var(--color-accent);
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}
.process-arrow {
  margin-left: auto;
  font-size: 20px;
  font-weight: 400;
}

/* 12. KONTAK DAN FOOTER */
.contact {
  color: white;
  background-color: var(--color-primary);
  background-image:
    linear-gradient(
      90deg,
      #182388 0%,
      rgb(24 35 136 / 90%) 56%,
      rgb(24 35 136 / 15%) 100%
    ),
    var(--photo, none);
  background-size: cover;
  background-position: center, center;
  background-repeat: no-repeat;
}
.contact-content {
  min-height: 530px;
  padding-block: 50px 66px;
}
.contact h2 {
  max-width: 760px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
}
.contact-intro {
  margin-top: 10px;
  font-size: 16px;
}
.whatsapp-button {
  margin-top: 38px;
  min-height: 70px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 24px;
}
.whatsapp-button .bi {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}
.contact-location {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 40px;
}
.location-icon {
  color: var(--color-accent);
  font-size: 48px;
  line-height: 1.5;
  flex-shrink: 0;
}
.contact-location address {
  font-style: normal;
  font-size: 20px;
  line-height: 1.2;
}
.contact-location address span {
  display: block;
}
.maps-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 6px 28px;
  border: 2px solid white;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1.2;
}
.maps-button:hover {
  background: rgb(255 255 255 / 12%);
}
.site-footer {
  padding: 8px 20px;
  text-align: center;
}
.site-footer small {
  font-size: 20px;
}

/* 13. TABLET DAN DESKTOP KECIL */
@media (max-width: 1279px) {
  .container {
    width: calc(100% - 64px);
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 16px;
    padding-inline: 24px;
  }
  .brand {
    flex: 1;
  }
  .brand-name {
    font-size: 20px;
  }
  .menu-toggle {
    display: flex;
  }
  .main-navigation {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 8px;
    border-top: 1px solid rgb(255 255 255 / 25%);
  }
  .main-navigation > a {
    padding: 12px 16px;
  }
  .main-navigation .header-cta {
    margin-top: 8px;
  }
  .about-layout {
    gap: 32px;
  }
  .about h2 {
    font-size: 36px;
  }
  .service-card h3 {
    font-size: 26px;
  }
  .materials-layout {
    gap: 28px;
  }
  .industries {
    padding-left: 28px;
  }
  .material-list li {
    font-size: 16px;
  }
  .industry-list {
    font-size: 16px;
  }
  .process-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
  .process-step {
    align-self: stretch;
  }
  .process-step:nth-child(3) .process-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 991px) {
  /* cover memastikan foto tetap menutup hero yang lebih tinggi di layar kecil. */
  .hero {
    --hero-image-size: cover;
    --hero-image-position: border-right;
  }
  .section-title {
    font-size: 28px;
  }
  .about {
    padding-block: 28px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-image {
    max-width: 560px;
    width: 100%;
  }
  .about-copy > p:last-child {
    line-height: 1.5;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
  }
  .materials-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .industries {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid white;
  }
  .material-list {
    max-width: 640px;
  }
  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .advantage-card {
    padding: 24px;
  }
  .advantage-card:nth-child(n) {
    border: 0;
  }
  .advantage-card:nth-child(odd) {
    border-right: 1px solid #b4b4b4;
  }
  .advantage-card:nth-child(-n + 4) {
    border-bottom: 1px solid #b4b4b4;
  }
  .process-step {
    gap: 12px;
    font-size: 20px;
  }
  .process-icon {
    font-size: 32px;
  }
  .process-arrow {
    font-size: 18px;
  }
  .contact h2 {
    font-size: 36px;
  }
}

/* 14. HP */
@media (max-width: 599px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 72px;
    padding: 12px 16px;
  }
  .brand {
    gap: 10px;
  }
  .brand-logo {
    width: 38px;
    height: 38px;
  }
  .brand-name {
    max-width: 250px;
    font-size: 14px;
  }
  .hero-content {
    min-height: 0;
    padding-block: 36px;
  }
  .hero-eyebrow {
    font-size: 14px;
  }
  .hero h1 {
    font-size: clamp(28px, 7.8vw, 44px);
    letter-spacing: -0.3px;
  }
  .hero h1 br {
    display: none;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    font-size: 18px;
    border-radius: 10px;
  }
  .section-title {
    font-size: 26px;
  }
  .section-intro {
    line-height: 1.5;
  }
  .about h2 {
    font-size: 32px;
  }
  .about-image {
    border-radius: 18px;
  }
  .section-eyebrow {
    font-size: 14px;
  }
  .services,
  .products,
  .advantages,
  .process {
    padding-block: 28px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-card h3 {
    font-size: 28px;
  }
  .service-card p {
    line-height: 1.4;
  }
  .products-grid {
    gap: 24px 14px;
  }
  .product-card h3 {
    font-size: 16px;
  }
  .product-card p {
    font-size: 14px;
    line-height: 1.35;
  }
  .material-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .material-list li {
    font-size: 16px;
  }
  .industry-list {
    gap: 10px;
    font-size: 15px;
  }

  .industry-list > li {
    padding: 12px;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .advantage-card:nth-child(n) {
    border: 0;
    padding: 26px 12px;
  }
  .advantage-card:not(:last-child) {
    border-bottom: 1px solid #b4b4b4;
  }
  .advantage-card > .bi {
    font-size: 64px;
  }
  .advantage-card p {
    max-width: 350px;
    margin-inline: auto;
    font-size: 15px;
    line-height: 1.4;
  }
  .process-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-step {
    position: relative;
    gap: 20px;
    padding-bottom: 38px;
    font-size: 20px;
  }
  .process-step:last-child {
    padding-bottom: 0;
  }
  .process-icon {
    width: 36px;
    text-align: center;
  }
  .process-arrow {
    position: absolute;
    left: 9px;
    bottom: 10px;
    margin: 0;
    transform: rotate(90deg);
  }
  .contact {
    background-image:
      linear-gradient(90deg, rgb(24 35 136 / 95%), rgb(24 35 136 / 75%)),
      var(--photo, none);
  }
  .contact-content {
    min-height: 0;
    padding-block: 40px;
  }
  .contact h2 {
    font-size: 30px;
  }
  .contact h2 br {
    display: none;
  }
  .contact-intro {
    font-size: 16px;
  }
  .whatsapp-button {
    width: 100%;
    margin-top: 28px;
    min-height: 60px;
    padding: 12px;
    gap: 10px;
    font-size: 17px;
  }
  .whatsapp-button .bi {
    font-size: 26px;
  }
  .contact-location {
    gap: 12px;
    margin-top: 30px;
  }
  .location-icon {
    font-size: 48px;
  }
  .contact-location address {
    font-size: 16px;
    line-height: 1.4;
  }
  .maps-button {
    padding-inline: 18px;
    font-size: 16px;
  }
  .site-footer small {
    font-size: 14px;
  }
}

@media (max-width: 359px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}

/* Ruang atas dan bawah bagian Layanan Utama */
#layanan {
  padding-block: 35px;
}

/* Ruang lebih ringkas untuk tablet dan HP */
@media (max-width: 991px) {
  #layanan {
    padding-block: 30px;
  }
}

/* Perapian bagian Produk & Aplikasi */
#produk {
  padding-block: 30px;
}

/* Jarak pengantar dengan kumpulan produk */
#produk .section-intro {
  margin-bottom: 25px;
}

/* Empat kolom pada desktop */
#produk .products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 35px;
}

#produk .product-card {
  min-width: 0;
  text-align: center;
}

/* Pertahankan proporsi foto seperti sebelumnya */
#produk .product-image {
  width: 100%;
  aspect-ratio: 315 / 217;
  overflow: hidden;
}

#produk .product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sediakan ruang untuk judul hingga dua baris */
#produk .product-card h3 {
  margin: 14px 0 8px;
  padding-inline: 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  /* min-height: 2.6em; */

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Deskripsi lebih renggang */
#produk .product-card p {
  margin: 0;
  padding-inline: 6px;
  font-size: 14px;
  line-height: 1.5;
}

/* Tablet dan desktop kecil */
@media (max-width: 1199px) {
  #produk .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* HP */
@media (max-width: 599px) {
  #produk {
    padding-block: 30px;
  }

  #produk .products-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  #produk .product-card h3 {
    min-height: 0;
  }
}

/* Kelompok ikon + tulisan di tengah setiap kolom */
@media (min-width: 992px) {
  .process-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 32px;
    align-items: center;
  }

  .process-step {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0;
    min-width: 0;
  }

  .process-step > span {
    flex: 0 1 auto;
    min-width: 0;
    text-align: left;
  }

  .process-icon {
    flex-shrink: 0;
  }

  .process-arrow {
    position: absolute;
    top: 50%;
    right: -26px;
    width: 20px;
    margin: 0;
    text-align: center;
    transform: translateY(-50%);
  }
}

/* Enam tahap sejajar pada desktop lebar */
@media (min-width: 1280px) {
  .process-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Rapikan lebar label dua baris agar ikon + teks tepat di tengah */
@media (min-width: 992px) {
  .process-step:nth-child(2) > span,
  .process-step:nth-child(5) > span {
    width: min-content;
    flex: 0 0 auto;
    text-align: left;
  }
}

/* Media sosial pada bagian kontak */
.contact-socials-label {
  margin: 24px 0 0;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 580px;
  margin-top: 10px;
}

.contact-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;

  color: #fff;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 8px;

  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.contact-socials .bi {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.contact-socials a:hover {
  background: rgb(255 255 255 / 16%);
  border-color: #fff;
}

.contact-socials a:hover span {
  text-decoration: none;
}

.contact-socials a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* Susun vertikal pada HP */
@media (max-width: 599px) {
  .contact-socials {
    grid-template-columns: 1fr;
    max-width: 180px;
  }

  .contact-socials a {
    justify-content: flex-start;
    padding-inline: 16px;
  }
}

.contact-accent {
  width: 80px;
  height: 3px;
  margin: 0 0 16px;
  background-color: var(--color-accent);
}

/* Rata tengah deskripsi Tentang Kami, Layanan, dan Produk */
p.description-center {
  text-align: center;
}

/* Rapikan sektor industri pada desktop */
@media (min-width: 992px) {
  .industry-list {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
  }

  .industry-list > li {
    /* Empat item pada baris pertama */
    grid-column: span 3;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 34.4px;
    padding: 5px 8px;

    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    border-radius: 4px;
  }

  /* Tiga item pada baris kedua, termasuk Custom Project */
  .industry-list > li:nth-child(n + 5) {
    grid-column: span 4;
  }
}

/* Samakan tinggi kotak sektor dengan kotak material di desktop lebar */
@media (min-width: 1280px) {
  .industry-list > li {
    min-height: 40px;
    font-size: 18px;
  }
}

/* Samakan tinggi kotak sektor dengan material pada HP */
@media (max-width: 599px) {
  .industry-list > li {
    min-height: 0;
    padding: 5px 10px;
    font-size: 16px;
    line-height: 1.4;

    justify-content: center;
    text-align: center;
  }
}

/* Tambah panjang garis pemisah ke bawah pada desktop */
@media (min-width: 992px) {
  .industries {
    padding-bottom: 8px;
  }
}

/* Samakan tinggi kotak sektor dengan material pada desktop */
@media (min-width: 992px) {
  .industry-list {
    grid-auto-rows: auto;
  }

  .industry-list > li {
    height: auto;
    min-height: 0;
    padding: 5px 10px;
    border: 1px solid rgb(255 255 255 / 30%);
    font-size: 16px;
    line-height: 1.4;
  }
}

@media (min-width: 1280px) {
  .industry-list > li {
    font-size: 18px;
  }
}

/* Rata tengah judul hero, layanan, dan produk */
#about-title,
#services-title,
#products-title {
  text-align: center;
}

/* Empat tombol hero */
.hero-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hero-actions .button {
  width: 100%;
  min-width: 0;
  padding-inline: 16px;
  font-size: 20px;
}

/* Tablet: dua kolom */
@media (max-width: 991px) {
  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* HP: satu kolom */
@media (max-width: 599px) {
  .hero-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-actions .button {
    font-size: 18px;
  }
}

/* Halaman Event */
.events-page {
  padding-block: 40px 60px;
}

.events-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 16px;
  font-weight: 600;
}

.events-back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.events-intro {
  margin-top: 12px;
  line-height: 1.6;
}

.events-empty {
  margin-top: 28px;
  padding: 32px 20px;
  border-radius: 12px;
  background: var(--color-surface);
  text-align: center;
}

/* Persempit tiga tombol pendamping pada desktop */
@media (min-width: 992px) {
  .hero-actions {
    grid-template-columns:
      calc((100% - 48px) / 4)
      repeat(3, 210px);

    gap: 16px;
    justify-content: start;
  }
}
