/* ============================================================
   BLOK CSS RESET MODERN
   Fungsi: menormalkan tampilan browser agar layout konsisten.
   Bagian ini jarang perlu diubah.
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

/* ============================================================
   BLOK VARIABLE WARNA, UKURAN, DAN EFEK
   Fungsi: pusat pengaturan desain. Jika ingin mengubah nuansa warna
   perusahaan, ubah nilai warna pada :root ini.
============================================================ */
:root {
  --color-primary: #0b2f78;
  --color-primary-2: #1647d9;
  --color-accent: #ef1d2d;
  --color-accent-dark: #b9111e;
  --color-dark: #0b1220;
  --color-text: #344054;
  --color-muted: #667085;
  --color-line: #e4e7ec;
  --color-soft: #f7f9fc;
  --color-white: #ffffff;
  --color-warning: #f59e0b;
  --shadow-soft: 0 18px 60px rgba(12, 25, 66, 0.12);
  --shadow-card: 0 14px 36px rgba(16, 24, 40, 0.1);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-height: 112px;
  --hero-cycle-duration: 80s;
  --operations-overlay-start: rgba(11, 47, 120, 0.72);
  --operations-overlay-end: rgba(7, 18, 39, 0.74);
  --operations-card-border: rgba(191, 224, 255, 0.44);
  --operations-card-bg: linear-gradient(140deg, rgba(224, 242, 255, 0.34), rgba(255, 255, 255, 0.22));
  --operations-card-bg-spotlight: linear-gradient(140deg, rgba(236, 248, 255, 0.4), rgba(255, 255, 255, 0.26));
  --operations-step-border: rgba(196, 226, 255, 0.46);
  --operations-step-bg: rgba(225, 241, 255, 0.24);
  --transition: 220ms ease;
  --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-heading: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ============================================================
   BLOK DASAR BODY
   Fungsi: mengatur font, background, warna teks, dan menghindari
   overflow horizontal pada mobile.
============================================================ */
body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(22, 71, 217, 0.11), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #ffffff 100%);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
}

h1,
h2,
#hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
}

h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}

main {
  padding-top: var(--header-height);
}

main section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* ============================================================
   BLOK UTILITY UMUM
   Fungsi: class reusable seperti container, section, tombol,
   headline, dan animasi reveal.
============================================================ */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 9vw, 120px);
}

.section-heading {
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 42px;
  text-align: center;
}

.section-heading h2,
.section-copy h2,
.cta-card h2 {
  margin-top: 10px;
  color: var(--color-dark);
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p,
.section-copy p,
.cta-card p {
  margin-top: 18px;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-white);
  box-shadow: 0 14px 30px rgba(239, 29, 45, 0.28);
}

.btn-whatsapp {
  gap: 0.5em;
}

.whatsapp-cta-logo {
  width: 1.2em;
  height: 1.2em;
  flex: 0 0 1.2em;
  object-fit: contain;
}

.btn-secondary {
  border-color: rgba(11, 47, 120, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.skip-link {
  position: fixed;
  z-index: 999;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 10px 16px;
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BLOK HEADER DAN NAVIGASI
   Fungsi: membuat header sticky transparan yang berubah saat scroll,
   sekaligus menu mobile yang bisa dibuka/tutup.
============================================================ */
.site-header {
  position: fixed;
  z-index: 50;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  border-color: rgba(228, 231, 236, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-logo {
  width: auto;
  height: auto;
  max-width: min(260px, 58vw);
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

/* BLOK NAMA PERUSAHAAN: ukuran dan kerapian teks utama di samping logo. */
.brand-text strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

/* BLOK TAGLINE BRAND: teks kecil di bawah nama perusahaan. */
.brand-text small {
  color: var(--color-muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(228, 231, 236, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 6px;
}

.main-nav a {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 800;
  transition: color var(--transition), background var(--transition);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  background: rgba(22, 71, 217, 0.1);
  color: var(--color-primary);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: #25d366;
  color: var(--color-white);
  padding: 10px 14px 10px 18px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.28);
  transition: transform var(--transition), background var(--transition);
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
  background: #1fb85a;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--color-dark);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   BLOK HERO
   Fungsi: layout beranda dengan background foto, overlay warna,
   headline besar, dan kartu informasi.
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-block-start: clamp(68px, 9vh, 108px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #070f22;
}

.hero-photo {
  position: absolute;
  inset: -3%;
  z-index: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.08);
  animation:
    heroPhotoCycle var(--hero-cycle-duration) linear infinite,
    heroPhotoDrift 18s ease-in-out infinite alternate;
}

.hero-photo-1 {
  background-image: url("assets/hero/img/1.webp");
  animation-delay: 0s;
}

.hero-photo-2 {
  background-image: url("assets/hero/img/2.webp");
  animation-delay: 8s;
}

.hero-photo-3 {
  background-image: url("assets/hero/img/3.webp");
  animation-delay: 16s;
}

.hero-photo-4 {
  background-image: url("assets/hero/img/4.webp");
  animation-delay: 24s;
}

.hero-photo-5 {
  background-image: url("assets/hero/img/5.webp");
  animation-delay: 32s;
}

.hero-photo-6 {
  background-image: url("assets/hero/img/6.webp");
  animation-delay: 40s;
}

.hero-photo-7 {
  background-image: url("assets/hero/img/7.webp");
  animation-delay: 48s;
}

.hero-photo-8 {
  background-image: url("assets/hero/img/8.webp");
  animation-delay: 56s;
}

.hero-photo-9 {
  background-image: url("assets/hero/img/9.webp");
  animation-delay: 64s;
}

.hero-photo-10 {
  background-image: url("assets/hero/img/10.webp");
  animation-delay: 72s;
}

.hero-bg::before {
  position: absolute;
  inset: -16%;
  z-index: 1;
  background:
    radial-gradient(circle at 22% 28%, rgba(239, 29, 45, 0.27), transparent 44%),
    radial-gradient(circle at 74% 58%, rgba(22, 71, 217, 0.24), transparent 48%);
  animation: heroGradientShift 24s ease-in-out infinite alternate;
  content: "";
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    repeating-linear-gradient(
      108deg,
      rgba(255, 255, 255, 0.1) 0,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px,
      transparent 46px
    );
  mix-blend-mode: overlay;
  opacity: 0.34;
  animation: heroHarborLines 54s linear infinite;
  content: "";
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: auto -18vw -22vw auto;
  width: 52vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 29, 45, 0.42), transparent 65%);
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(112deg, rgba(8, 14, 32, 0.36) 0%, rgba(8, 14, 32, 0.58) 46%, rgba(8, 14, 32, 0.48) 100%),
    radial-gradient(circle at 76% 42%, rgba(17, 39, 88, 0.25), transparent 48%);
  pointer-events: none;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 74px);
}

.hero-content {
  max-width: min(980px, 100%);
  color: rgba(255, 255, 255, 0.9);
}

.hero-content .eyebrow {
  color: rgba(255, 198, 203, 0.84);
}

.hero-content h1 {
  max-width: 850px;
  margin-top: 14px;
  font-size: clamp(2.65rem, 7vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  color: rgba(255, 255, 255, 0.93);
  text-shadow: 0 10px 36px rgba(7, 18, 39, 0.38);
  opacity: 0;
  transform: translateY(16px);
  animation: heroTitleReveal 1600ms cubic-bezier(0.18, 0.9, 0.24, 1) 300ms forwards;
}

@keyframes heroTitleReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPhotoCycle {
  0% {
    opacity: 0;
  }

  2.2% {
    opacity: 1;
  }

  10.2% {
    opacity: 1;
  }

  14% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes heroPhotoDrift {
  from {
    transform: scale(1.08) translate3d(-1.2%, 0.4%, 0);
  }

  to {
    transform: scale(1.14) translate3d(1.2%, -0.4%, 0);
  }
}

@keyframes heroGradientShift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(2%, 1.5%, 0) scale(1.04);
  }
}

@keyframes heroHarborLines {
  from {
    transform: translate3d(-4%, 0, 0);
  }

  to {
    transform: translate3d(4%, 0, 0);
  }
}

.hero-lead {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.trust-strip article {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  background: rgba(10, 20, 44, 0.28);
  padding: 16px;
  backdrop-filter: blur(10px);
}

.trust-strip strong {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1;
}

.trust-strip span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

/* ============================================================
   BLOK CREDIBILITY BAND
   Fungsi: bar pendek setelah hero untuk menekankan kepercayaan.
============================================================ */
.credibility-band {
  background: var(--color-white);
  border-block: 1px solid var(--color-line);
}

.credibility-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.credibility-inner p {
  max-width: 780px;
  color: var(--color-dark);
  font-weight: 800;
}

.credibility-inner a {
  color: var(--color-accent);
  font-weight: 900;
  white-space: nowrap;
}

/* ============================================================
   BLOK TENTANG DAN VISI MISI
   Fungsi: layout dua kolom dengan kartu visi/misi.
============================================================ */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.vision-grid {
  display: grid;
  gap: 18px;
}

.value-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 4vw, 34px);
}

.value-card::before {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 8px;
  height: 100%;
  background: var(--color-primary-2);
  content: "";
}

.value-card.accent::before {
  background: var(--color-accent);
}

.value-card span {
  color: var(--color-primary-2);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.value-card.accent span {
  color: var(--color-accent);
}

.value-card h3 {
  margin-top: 12px;
  color: var(--color-dark);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.value-card p {
  margin-top: 14px;
  color: var(--color-muted);
}

/* ============================================================
   BLOK KEUNGGULAN
   Fungsi: empat kartu alasan memilih perusahaan.
============================================================ */
.advantages {
  background: var(--color-soft);
}

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

.advantage-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(228, 231, 236, 0.92);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.advantage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 71, 217, 0.26);
  box-shadow: var(--shadow-card);
}

.card-number {
  color: rgba(22, 71, 217, 0.18);
  font-size: 3.2rem;
  font-weight: 950;
  line-height: 1;
}

.advantage-card h3 {
  margin-top: auto;
  color: var(--color-dark);
  font-size: 1.3rem;
}

.advantage-card p {
  margin-top: 10px;
  color: var(--color-muted);
}

/* ============================================================
   BLOK LAYANAN
   Fungsi: grid kartu layanan utama.
============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  padding: 26px;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card::after {
  position: absolute;
  inset: auto -60px -60px auto;
  width: 140px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(239, 29, 45, 0.08);
  content: "";
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 29, 45, 0.26);
  box-shadow: var(--shadow-card);
}

.service-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(22, 71, 217, 0.12), rgba(239, 29, 45, 0.12));
  color: var(--color-primary);
  font-weight: 950;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}

.icon-port {
  color: #1246b8;
  background: linear-gradient(135deg, rgba(18, 70, 184, 0.2), rgba(27, 132, 252, 0.14));
}

.icon-stevedoring {
  color: #9b1239;
  background: linear-gradient(135deg, rgba(155, 18, 57, 0.2), rgba(251, 113, 133, 0.14));
}

.icon-piloting {
  color: #0f766e;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.2), rgba(45, 212, 191, 0.14));
}

.icon-coal {
  color: #7c3f00;
  background: linear-gradient(135deg, rgba(124, 63, 0, 0.22), rgba(251, 146, 60, 0.16));
}

.icon-trucking {
  color: #6d28d9;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.2), rgba(167, 139, 250, 0.14));
}

.icon-permit {
  color: #0f5f75;
  background: linear-gradient(135deg, rgba(15, 95, 117, 0.2), rgba(34, 211, 238, 0.14));
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.16);
}

.service-card:hover .service-icon svg {
  animation: serviceIconFloat 700ms ease;
}

@keyframes serviceIconFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  40% {
    transform: translateY(-2px) rotate(-4deg);
  }

  75% {
    transform: translateY(1px) rotate(3deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.service-card h3 {
  margin-top: 22px;
  color: var(--color-dark);
  font-size: 1.35rem;
}

.service-card p {
  margin-top: 10px;
  color: var(--color-muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 700;
}

.service-card li::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--color-accent);
  content: "";
}

/* ============================================================
   BLOK OPERATIONS / TIMELINE
   Fungsi: timeline operasi interaktif.
============================================================ */
.operations {
  background:
    linear-gradient(135deg, var(--operations-overlay-start), var(--operations-overlay-end)),
    url("assets/hero/img/7.webp") center 44% / cover fixed;
  color: var(--color-white);
}

.operations .section-copy h2,
.operations .section-copy p {
  color: var(--color-white);
}

.operations .section-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.operations .eyebrow {
  color: #ffb4bb;
}

.operations-grid {
  align-items: center;
}

.timeline-info {
  margin-top: 28px;
  border: 1px solid var(--operations-card-border);
  border-radius: var(--radius-lg);
  background: var(--operations-card-bg);
  padding: 24px;
  transition: border-color 320ms ease, box-shadow 320ms ease, background-color 320ms ease;
  backdrop-filter: blur(7px);
}

.timeline-info.is-spotlight {
  border-color: rgba(255, 206, 122, 0.72);
  background: var(--operations-card-bg-spotlight);
  box-shadow: 0 0 0 3px rgba(255, 210, 100, 0.14), 0 14px 30px rgba(5, 20, 48, 0.22);
}

.timeline-info span {
  color: #ffb4bb;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-info h3 {
  margin-top: 8px;
  font-size: 1.45rem;
}

.timeline-info p {
  margin-top: 8px;
}

.timeline-card {
  border: 1px solid var(--operations-card-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(230, 245, 255, 0.28), rgba(255, 255, 255, 0.2));
  padding: 20px;
  box-shadow: 0 20px 54px rgba(3, 16, 38, 0.22);
  backdrop-filter: blur(7px);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.timeline-step {
  min-height: 72px;
  border: 1px solid var(--operations-step-border);
  border-radius: 18px;
  background: var(--operations-step-bg);
  color: rgba(245, 250, 255, 0.9);
  cursor: pointer;
  font-weight: 900;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.timeline-step:hover,
.timeline-step:focus-visible,
.timeline-step.is-active {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-2));
  color: var(--color-white);
}

/* ============================================================
   BLOK WILAYAH OPERASI
   Fungsi: daftar area operasi dengan tampilan premium.
============================================================ */
.area-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 34px;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(22, 71, 217, 0.12), transparent 22rem),
    var(--color-white);
  box-shadow: var(--shadow-soft);
  padding: clamp(26px, 5vw, 46px);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.area-list li {
  border: 1px solid rgba(22, 71, 217, 0.14);
  border-radius: 999px;
  background: rgba(22, 71, 217, 0.06);
  color: var(--color-primary);
  padding: 12px 16px;
  font-weight: 900;
}

/* ============================================================
   BLOK LEGALITAS
   Fungsi: kartu dokumen dengan gambar dan penjelasan.
============================================================ */
.legal {
  background: var(--color-soft);
}

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

.document-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
}

.document-preview {
  position: relative;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.document-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  background: #eef2f7;
}

.document-count {
  position: absolute;
  inset-inline-end: 14px;
  inset-block-end: 14px;
  border-radius: 999px;
  background: rgba(7, 18, 39, 0.84);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 7px 11px;
}

.document-preview:hover .document-count,
.document-preview:focus-visible .document-count {
  background: var(--color-primary);
}

.legal-number-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  aspect-ratio: 4 / 3;
  align-content: center;
  gap: 14px;
  padding: 22px;
}

.legal-number-card {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 47, 120, 0.14);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(22, 71, 217, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%),
    var(--color-white);
  gap: 8px;
  padding: 16px;
  text-align: center;
}

.legal-number-card span {
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.legal-number-card strong {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: clamp(0.74rem, 1vw, 0.94rem);
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.document-copy {
  padding: 22px;
}

.document-card h3 {
  color: var(--color-dark);
  font-size: 1.2rem;
}

.document-card p {
  margin-top: 8px;
  color: var(--color-muted);
}

/* ============================================================
   BLOK MITRA
   Fungsi: grid partner yang bisa diganti logo bila sudah tersedia.
============================================================ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.partner-card {
  min-height: 105px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-primary);
  padding: 18px;
  text-align: center;
  font-weight: 950;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.05);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.partner-card-ip {
  align-content: center;
  justify-items: start;
  text-align: left;
  gap: 6px;
  padding: 12px 26px;
}

.partner-card-ip img[src*="logo_ip"] {
  max-width: 150px;
  max-height: 44px;
  object-position: left center;
}

.partner-card img {
  width: 100%;
  max-width: 180px;
  max-height: 58px;
  object-fit: contain;
  object-position: center;
}

.partner-card img[src*="logo_rks"],
.partner-card img[src*="logo_obp"],
.partner-card img[src*="logo_bbp"],
.partner-card img[src*="logo_ba"],
.partner-card img[src*="logo_adc"] {
  max-width: 290px;
  max-height: 95px;
}

.partner-ip-text {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-align: left;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 71, 217, 0.22);
  box-shadow: var(--shadow-card);
}

/* ============================================================
   BLOK GALERI
   Fungsi: filter kategori, grid foto, dan style kartu foto.
============================================================ */
.gallery {
  background: var(--color-soft);
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  border: 1px solid rgba(11, 47, 120, 0.14);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-primary);
  cursor: pointer;
  padding: 10px 16px;
  font-weight: 900;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.filter-btn:hover,
.filter-btn:focus-visible,
.filter-btn.is-active {
  transform: translateY(-2px);
  border-color: transparent;
  background: var(--color-primary);
  color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover,
.gallery-item:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.gallery-button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.gallery-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 500ms ease;
}

.gallery-item:hover .gallery-thumb img {
  transform: scale(1.06);
}

.gallery-badge {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  border-radius: 999px;
  background: rgba(7, 18, 39, 0.78);
  color: var(--color-white);
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-body {
  padding: 20px;
}

.gallery-body h3 {
  color: var(--color-dark);
  font-size: 1.15rem;
  line-height: 1.25;
}

.gallery-body p {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ============================================================
   BLOK MODAL GALERI
   Fungsi: popup foto lebih besar. Menggunakan elemen <dialog> native.
============================================================ */
.gallery-modal {
  width: min(920px, calc(100vw - 28px));
  max-height: 92vh;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-dark);
  padding: 0;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.36);
}

.gallery-modal::backdrop {
  background: rgba(7, 18, 39, 0.7);
  backdrop-filter: blur(8px);
}

.gallery-modal img {
  width: 100%;
  max-height: 64vh;
  object-fit: contain;
  background: #eef2f7;
}

.modal-close {
  position: absolute;
  z-index: 2;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 18, 39, 0.82);
  color: var(--color-white);
  cursor: pointer;
  font-size: 1.5rem;
}

.modal-content {
  padding: 24px;
}

.modal-content span {
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-content h3 {
  margin-top: 8px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
}

.modal-content p {
  margin-top: 10px;
  color: var(--color-muted);
}

.legal-modal {
  width: min(1080px, calc(100vw - 28px));
  max-height: 92vh;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-dark);
  padding: 0;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.36);
}

.legal-modal::backdrop {
  background: rgba(7, 18, 39, 0.7);
  backdrop-filter: blur(8px);
}

.legal-modal-head {
  padding: 26px 24px 8px;
}

.legal-modal-head span {
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-modal-head h3 {
  margin-top: 8px;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
}

.legal-modal-head p {
  margin-top: 8px;
  color: var(--color-muted);
}

.legal-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding: 10px 24px 24px;
}

.legal-modal-item {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: #eef2f7;
  cursor: zoom-in;
}

.legal-modal-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.legal-zoom-overlay {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 18, 39, 0.88);
  padding: clamp(16px, 3vw, 28px);
}

.legal-zoom-overlay[hidden] {
  display: none;
}

.legal-zoom-close {
  inset-block-start: clamp(16px, 3vw, 24px);
  inset-inline-end: clamp(16px, 3vw, 24px);
}

.legal-zoom-overlay img {
  width: auto;
  height: auto;
  max-width: min(1280px, 94vw);
  max-height: 82vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: #0b1220;
}

.legal-zoom-overlay p {
  margin-top: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 700;
}

.legal-zoom-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 18, 39, 0.82);
  color: var(--color-white);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.legal-zoom-prev {
  inset-inline-start: clamp(16px, 3vw, 24px);
}

.legal-zoom-next {
  inset-inline-end: clamp(16px, 3vw, 24px);
}

.legal-zoom-nav[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ============================================================
   BLOK CTA
   Fungsi: ajakan kontak menjelang akhir halaman.
============================================================ */
.cta-section {
  padding-block: clamp(64px, 7vw, 92px);
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 22rem),
    linear-gradient(135deg, var(--color-primary), #071227);
  color: var(--color-white);
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow-soft);
}

.cta-card h2,
.cta-card p {
  color: var(--color-white);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.78);
}

/* ============================================================
   BLOK KONTAK
   Fungsi: layout alamat dan kartu kontak person.
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

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

.contact-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
}

.contact-card > span,
.contact-person-head > div > span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card h3 {
  margin-top: 8px;
  color: var(--color-dark);
  font-size: 1.35rem;
}

.contact-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--color-primary-2);
  font-weight: 900;
}

.contact-person-card {
  display: grid;
  gap: 18px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.contact-person-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 211, 102, 0.34);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.11);
}

.contact-person-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11, 47, 120, 0.12), rgba(22, 71, 217, 0.2));
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.contact-person-head h3 {
  margin-top: 3px;
}

.contact-card .whatsapp-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 0;
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(255, 255, 255, 0.96));
  color: #126b35;
  padding: 11px 12px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.contact-card .whatsapp-link:hover,
.contact-card .whatsapp-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, 0.62);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.16), var(--color-white));
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.16);
}

.whatsapp-link-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: #25d366;
  color: var(--color-white);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.3);
}

.whatsapp-link-logo {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.whatsapp-link-copy {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.whatsapp-link-copy strong {
  color: #126b35;
  font-size: 0.95rem;
}

.whatsapp-link-copy small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whatsapp-link-arrow {
  color: #168645;
  font-size: 1.1rem;
  font-weight: 900;
}


/* ============================================================
   BLOK OPTIMASI RENDER BAGIAN BAWAH
   Fungsi: browser menunda proses render section berat sampai mendekati viewport.
============================================================ */
.legal,
.partners,
.gallery,
.contact,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}

/* ============================================================
   BLOK FOOTER
   Fungsi: footer dengan logo, navigasi cepat, dan tombol kembali ke atas.
============================================================ */
.site-footer {
  background: #071227;
  color: rgba(255, 255, 255, 0.74);
  padding-block: 34px 16px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.footer-logo {
  width: min(65px, 58vw);
  height: 60px;
  padding: 8px 9px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  object-fit: contain;
  filter: none;
}

.footer-inner p {
  margin-top: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}

.back-to-top {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  cursor: pointer;
  font-size: 1.2rem;
}

/* ============================================================
   BLOK RESPONSIVE TABLET
   Fungsi: menyesuaikan grid dari 3/4 kolom menjadi 2 kolom.
============================================================ */
@media (max-width: 1080px) {
  :root {
    --header-height: 76px;
    --hero-cycle-duration: 72s;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .two-column,
  .area-shell,
  .contact-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .advantage-grid,
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid,
  .document-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   BLOK RESPONSIVE MOBILE
   Fungsi: menu berubah menjadi dropdown, tombol lebih mudah disentuh,
   dan layout menjadi satu kolom penuh.
============================================================ */
@media (max-width: 820px) {
  :root {
    --hero-cycle-duration: 62s;
  }

  /* Background fixed dan blur tebal lebih berat pada GPU ponsel. */
  .operations {
    background-attachment: scroll;
  }

  .site-header,
  .timeline-info,
  .timeline-card {
    backdrop-filter: none;
  }

  body {
    font-size: 14.5px;
  }

  .header-inner {
    gap: 12px;
  }

  .section-heading h2,
  .section-copy h2,
  .cta-card h2 {
    font-size: clamp(1.68rem, 6.2vw, 2.25rem);
    line-height: 1.16;
    letter-spacing: -0.025em;
  }

  .section-heading p,
  .section-copy p,
  .cta-card p {
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.66;
  }

  .hero-content h1 {
    font-size: clamp(1.82rem, 8.6vw, 2.7rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
  }

  .hero-lead {
    font-size: 0.93rem;
    line-height: 1.68;
  }

  .btn {
    min-height: 44px;
    font-size: 0.92rem;
    padding: 10px 16px;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .advantage-card h3,
  .service-card h3,
  .document-card h3,
  .gallery-body h3,
  .contact-card h3,
  .timeline-info h3 {
    font-size: 1.08rem;
  }

  .advantage-card p,
  .service-card p,
  .document-card p,
  .gallery-body p,
  .contact-card a,
  .timeline-info p {
    font-size: 0.9rem;
  }

  .legal-number-grid {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    gap: 10px;
    padding: 16px;
  }

  .legal-number-card {
    min-height: 120px;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    inset-block-start: calc(var(--header-height) + 10px);
    inset-inline: 12px;
    display: grid;
    justify-content: stretch;
    gap: 4px;
    border-radius: 22px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 10px 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 13.5px;
  }

  .brand-logo {
    max-width: min(220px, 64vw);
    max-height: 58px;
  }

  .hero {
    min-height: auto;
  }

  .trust-strip,
  .timeline,
  .area-list {
    grid-template-columns: 1fr;
  }

  .credibility-inner,
  .footer-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    gap: 12px;
    padding-bottom: 14px;
  }

  .footer-bottom {
    gap: 10px;
    padding-top: 12px;
  }

  .credibility-inner a {
    white-space: normal;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

/* ============================================================
   BLOK RESPONSIVE MOBILE KECIL
   Fungsi: mengurangi gap dan memastikan kartu tidak terlalu sempit.
============================================================ */
@media (max-width: 620px) {
  :root {
    --hero-cycle-duration: 54s;
  }

  .contact-card .whatsapp-link {
    min-height: 60px;
  }

  body {
    font-size: 13.5px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding-block: 56px;
  }

  .hero {
    padding-block-start: 46px;
  }

  .section-heading h2,
  .section-copy h2,
  .cta-card h2 {
    font-size: clamp(1.42rem, 6.9vw, 1.8rem);
    line-height: 1.2;
  }

  .section-heading p,
  .section-copy p,
  .cta-card p,
  .hero-lead {
    font-size: 0.88rem;
    line-height: 1.68;
  }

  .card-number {
    font-size: 2.1rem;
  }

  .hero-actions,
  .contact-actions {
    margin-top: 22px;
    gap: 10px;
  }

  .trust-strip {
    margin-top: 24px;
    gap: 10px;
  }

  .trust-strip article {
    padding: 12px;
    border-radius: 14px;
  }

  .credibility-inner {
    min-height: 72px;
    gap: 12px;
  }

  .value-card,
  .service-card,
  .contact-card,
  .timeline-info,
  .timeline-card,
  .gallery-body,
  .document-copy,
  .advantage-card {
    padding: 20px;
  }

  .advantage-card {
    min-height: auto;
  }

  .timeline-step {
    min-height: 62px;
    border-radius: 14px;
    font-size: 0.86rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .advantage-grid,
  .service-grid,
  .document-grid,
  .partner-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .legal-number-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: clamp(1.6rem, 9.2vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  .section-heading {
    text-align: left;
  }

  .gallery-toolbar {
    justify-content: flex-start;
  }
}

/* ============================================================
   BLOK RESPONSIVE MOBILE COMPACT
   Fungsi: optimasi tambahan untuk layar sangat kecil agar teks
   tetap terbaca dan layout tidak terasa padat.
============================================================ */
@media (max-width: 390px) {
  :root {
    --hero-cycle-duration: 48s;
  }

  body {
    font-size: 13px;
  }

  .container {
    width: min(100% - 20px, var(--container));
  }

  .section {
    padding-block: 50px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .section-copy h2,
  .cta-card h2 {
    font-size: clamp(1.32rem, 6.6vw, 1.64rem);
    line-height: 1.22;
  }

  .section-heading p,
  .section-copy p,
  .cta-card p {
    margin-top: 12px;
  }

  .hero-content h1 {
    font-size: clamp(1.48rem, 8.8vw, 1.92rem);
    margin-top: 10px;
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .hero {
    padding-block-start: 40px;
  }

  .hero-lead {
    margin-top: 16px;
  }

  .hero-actions,
  .contact-actions {
    gap: 8px;
    margin-top: 16px;
  }

  .trust-strip,
  .timeline,
  .area-list {
    gap: 8px;
  }

  .section-heading p,
  .section-copy p,
  .cta-card p,
  .hero-lead,
  .advantage-card p,
  .service-card p,
  .document-card p,
  .gallery-body p,
  .timeline-info p {
    font-size: 0.84rem;
    line-height: 1.7;
  }

  .btn {
    min-height: 40px;
    font-size: 0.88rem;
    padding: 8px 12px;
  }

  .value-card,
  .service-card,
  .contact-card,
  .timeline-info,
  .timeline-card,
  .gallery-body,
  .document-copy {
    padding: 16px;
  }

  .site-footer {
    padding-block: 24px 12px;
  }

  .footer-inner {
    gap: 10px;
    padding-bottom: 10px;
  }

  .footer-bottom {
    gap: 8px;
    padding-top: 10px;
  }

  .advantage-card {
    min-height: auto;
    padding: 16px;
  }

  .gallery-toolbar {
    gap: 8px;
    margin-bottom: 20px;
  }

  .contact-cards,
  .vision-grid,
  .service-grid,
  .document-grid,
  .advantage-grid,
  .gallery-grid,
  .partner-grid {
    gap: 12px;
  }

  .advantage-card h3,
  .service-card h3,
  .document-card h3,
  .gallery-body h3,
  .contact-card h3,
  .timeline-info h3 {
    font-size: 1rem;
  }

  .card-number {
    font-size: 1.85rem;
  }
}

/* ============================================================
   BLOK RESPONSIVE EXTRA COMPACT (<=360px)
   Fungsi: pemadatan tambahan untuk layar Android kecil.
============================================================ */
@media (max-width: 360px) {
  .contact-avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 13px;
  }

  .contact-card .whatsapp-link {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    border-radius: 15px;
    padding: 9px;
  }

  .whatsapp-link-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .whatsapp-link-arrow {
    display: none;
  }

  :root {
    --header-height: 106px;
  }

  body {
    font-size: 12.5px;
  }

  .container {
    width: min(100% - 16px, var(--container));
  }

  .section {
    padding-block: 44px;
  }

  .header-inner {
    gap: 8px;
  }

  .brand-logo {
    max-width: min(172px, 62vw);
    max-height: 44px;
  }

  .brand-text strong {
    font-size: 12.5px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .main-nav {
    inset-inline: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .main-nav a {
    padding: 9px 10px;
    font-size: 0.84rem;
  }

  .hero {
    padding-block-start: 36px;
  }

  .hero-content h1 {
    font-size: clamp(1.34rem, 8.2vw, 1.72rem);
    line-height: 1.14;
  }

  .hero-lead {
    margin-top: 12px;
  }

  .hero-actions,
  .contact-actions {
    gap: 7px;
    margin-top: 14px;
  }

  .btn {
    min-height: 38px;
    font-size: 0.82rem;
    padding: 7px 10px;
  }

  .trust-strip {
    margin-top: 18px;
    gap: 7px;
  }

  .trust-strip article {
    padding: 10px;
    border-radius: 12px;
  }

  .trust-strip span {
    margin-top: 4px;
    font-size: 0.8rem;
  }

  .value-card,
  .service-card,
  .contact-card,
  .timeline-info,
  .timeline-card,
  .gallery-body,
  .document-copy,
  .advantage-card,
  .legal-card {
    padding: 14px;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .service-icon svg {
    width: 24px;
    height: 24px;
  }

  .timeline-step {
    min-height: 56px;
    border-radius: 12px;
    font-size: 0.8rem;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading h2,
  .section-copy h2,
  .cta-card h2 {
    font-size: clamp(1.22rem, 6.1vw, 1.5rem);
  }

  .section-heading p,
  .section-copy p,
  .cta-card p,
  .hero-lead,
  .advantage-card p,
  .service-card p,
  .document-card p,
  .gallery-body p,
  .timeline-info p {
    font-size: 0.8rem;
    line-height: 1.65;
  }
}

/* ============================================================
   BLOK PREFERENSI REDUCED MOTION
   Fungsi: menghormati pengunjung yang mematikan animasi di perangkatnya.
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero-content h1 {
    opacity: 1;
    transform: none;
  }

  .hero-photo {
    opacity: 0;
    transform: none;
  }

  .hero-photo-1 {
    opacity: 1;
  }
}


/* ============================================================
   BLOK TOMBOL WHATSAPP PROFESIONAL
   Fungsi: menyamakan tampilan tombol WhatsApp pada preview lokal,
   hosting desktop, tablet, dan mobile. Logo selalu memakai aset:
   assets/icons/logo_wa.svg
============================================================ */
.header-cta,
.btn-whatsapp,
.contact-card .whatsapp-link {
  -webkit-tap-highlight-color: transparent;
}

.header-cta {
  min-height: 46px;
  flex: 0 0 auto;
  gap: 9px;
  border: 1px solid rgba(20, 148, 73, 0.22);
  background: linear-gradient(135deg, #25d366 0%, #17b957 100%);
  padding: 7px 16px 7px 8px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.24);
}

.whatsapp-cta-logo,
.whatsapp-link-logo {
  display: block;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: linear-gradient(135deg, #20c960 0%, #119f48 100%);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.32);
}

.main-nav-cta {
  display: none;
}

.btn-whatsapp {
  min-height: 50px;
  gap: 10px;
  border: 1px solid rgba(20, 148, 73, 0.2);
  background: linear-gradient(135deg, #25d366 0%, #16b955 100%);
  color: #fff;
  padding-inline: 20px;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.26);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: linear-gradient(135deg, #20c960 0%, #109f47 100%);
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.34);
}

.whatsapp-cta-logo {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.contact-card .whatsapp-link {
  min-height: 68px;
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.11), rgba(255, 255, 255, 0.98));
  padding: 11px 13px;
}

.whatsapp-link-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #25d366, #16b955);
}

.whatsapp-link-logo {
  width: 25px;
  height: 25px;
}

.whatsapp-link-copy strong {
  color: #116c35;
  font-size: 0.96rem;
}

.whatsapp-link-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.13);
  color: #168645;
}

@media (max-width: 1080px) {
  .header-cta {
    display: inline-flex;
    min-width: 46px;
    width: 46px;
    height: 46px;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
  }
}

@media (max-width: 820px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .header-cta {
    order: 2;
  }

  .nav-toggle {
    order: 3;
  }

  .brand {
    order: 1;
    min-width: 0;
    overflow: hidden;
  }

  .header-cta {
    display: none;
  }

  .main-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    border: 1px solid rgba(20, 148, 73, 0.22);
    border-radius: 16px;
    background: linear-gradient(135deg, #25d366 0%, #17b957 100%);
    color: var(--color-white);
    padding: 11px 14px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.24);
  }

}

@media (max-width: 620px) {
  .contact-card .whatsapp-link {
    min-height: 64px;
    gap: 10px;
  }

  .whatsapp-link-copy small {
    white-space: normal;
    line-height: 1.25;
  }
}


/* ============================================================
   REDESAIN HEADER & FOOTER KORPORAT
   Referensi visual: bidang geometris dan gelombang modern.
   Branding tetap menggunakan biru dan merah PT Rusamas Suralaya.
============================================================ */
.corporate-header {
  height: var(--header-height);
  display: block;
  overflow: visible;
  border-bottom: 1px solid rgba(10, 53, 111, 0.1);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(9, 41, 88, 0.08);
  backdrop-filter: blur(16px);
}

.header-accent {
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  pointer-events: none;
  overflow: hidden;
}

.header-accent::before,
.header-accent::after {
  position: absolute;
  inset: 0 -8% auto;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  content: "";
}

.header-accent::before {
  height: 13px;
  background: linear-gradient(90deg, rgba(16, 95, 177, 0.68), rgba(35, 182, 210, 0.58));
  opacity: 0.75;
}

.header-accent::after {
  top: 3px;
  height: 9px;
  background: linear-gradient(90deg, rgba(7, 47, 117, 0.9), rgba(24, 143, 186, 0.8));
}

.header-topbar {
  height: 32px;
  background: linear-gradient(110deg, #082247 0%, #0f3f81 52%, #17619b 100%);
  color: rgba(255, 255, 255, 0.84);
  font-size: .75rem;
}
.header-topbar-inner { height: 100%; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.header-topbar p { font-weight:700; letter-spacing:.025em; }
.header-meta { display:flex; align-items:center; gap:10px; }
.header-meta a:hover { color:#fff; }

.corporate-header .header-inner {
  height: 80px;
  position: relative;
  align-items: center;
  padding-block: 8px;
}
.corporate-header .brand { min-width:255px; gap:12px; }
.brand-mark { width:52px; height:52px; display:grid; place-items:center; flex:0 0 52px; border-radius:15px; background:#fff; box-shadow:0 8px 24px rgba(11,47,120,.13); }
.corporate-header .brand-logo { width:44px; height:44px; max-width:none; max-height:none; object-fit:contain; }
.corporate-header .brand-text strong { color:var(--color-primary); font-size:15px; }
.corporate-header .brand-text small { margin-top:3px; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; }
.corporate-header .main-nav {
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid rgba(123, 28, 54, 0.2);
  background:
    linear-gradient(120deg, rgba(239, 29, 45, 0.16) 0%, rgba(41, 97, 205, 0.2) 58%, rgba(255, 255, 255, 0.88) 100%),
    rgba(245, 251, 255, 0.9);
  padding: 8px;
  gap: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 6px 18px rgba(14, 57, 126, 0.08);
}

.corporate-header .main-nav a:not(.main-nav-cta) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  position: relative;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: .83rem;
  line-height: 1.2;
  color: #153b71;
}

.corporate-header .main-nav a:not(.main-nav-cta):hover,
.corporate-header .main-nav a:not(.main-nav-cta):focus-visible,
.corporate-header .main-nav a.is-active:not(.main-nav-cta) {
  background: linear-gradient(135deg, rgba(224, 67, 83, 0.22), rgba(29, 98, 188, 0.24));
  color: #0c2b59;
}

.corporate-header .header-cta,
.corporate-header .main-nav-cta { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; border-radius:12px; border:1px solid rgba(21,95,163,.26); background:linear-gradient(135deg, #2b6ea8 0%, #347fb6 62%, #4f97bf 100%); color:#fff; padding:9px 14px; font-size:.82rem; font-weight:800; box-shadow:0 8px 18px rgba(15,63,115,.2); }
.corporate-header .header-cta img,
.corporate-header .main-nav-cta img { width:20px; height:20px; object-fit:contain; }
.corporate-header .main-nav-cta { display:none; }

/* ============================================================
   BLOK FOOTER KORPORAT RINGKAS
   Fungsi: menjaga footer tetap profesional tanpa terlalu tinggi,
   terutama ketika ditampilkan pada layar smartphone.
============================================================ */
.corporate-footer {
  position: relative;
  overflow: hidden;
  padding: 30px 0 0;
  background: linear-gradient(115deg, #06142d 0%, #0a2855 58%, #0b2f78 100%);
  color: rgba(255, 255, 255, 0.76);
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

/* Gelombang diperkecil agar tidak memakan ruang vertikal berlebihan. */
.footer-wave {
  position: absolute;
  inset: 0 0 auto;
  height: 48px;
  overflow: hidden;
  background: #ffffff;
  pointer-events: none;
}

.footer-wave::before {
  position: absolute;
  inset: 10px -6% -30px;
  border-radius: 50% 46% 0 0 / 100% 100% 0 0;
  background: #0a2855;
  content: "";
  transform: rotate(-0.7deg);
}

.footer-wave-blue,
.footer-wave-red {
  position: absolute;
  left: -4%;
  width: 110%;
  border-radius: 50%;
}

.footer-wave-blue {
  top: 12px;
  height: 16px;
  border-top: 3px solid var(--color-primary-2);
  transform: rotate(-1deg);
}

.footer-wave-red {
  top: 20px;
  height: 14px;
  border-top: 2px solid var(--color-accent);
  opacity: 0.98;
  transform: rotate(0.6deg);
}

/* Tiga kolom pada desktop dengan jarak yang lebih efisien. */
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.68fr) minmax(220px, 0.95fr);
  gap: clamp(18px, 3.2vw, 40px);
  padding-block: 18px 20px;
}

.footer-company,
.footer-column {
  min-width: 0;
}

.footer-company p {
  max-width: 500px;
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.62;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.footer-logo-wrap {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  place-items: center;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.corporate-footer .footer-logo {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.25;
}

.footer-brand small {
  display: block;
  margin-top: 3px;
  color: #70d3e7;
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-column h3 {
  position: relative;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 0.96rem;
  line-height: 1.3;
}

.footer-column h3::after {
  display: block;
  width: 30px;
  height: 3px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--color-accent);
  content: "";
}

.corporate-footer .footer-nav,
.footer-contact {
  display: grid;
  gap: 7px;
}

.corporate-footer .footer-nav {
  justify-content: start;
}

.corporate-footer .footer-nav a,
.footer-contact,
.footer-contact a {
  font-size: 0.86rem;
  line-height: 1.45;
}

.corporate-footer .footer-nav a {
  font-weight: 600;
  transition: color var(--transition), transform var(--transition);
}

.corporate-footer .footer-nav a:hover,
.corporate-footer .footer-nav a:focus-visible {
  color: #6ed6ea;
  transform: translateX(3px);
}

.footer-contact {
  margin: 0;
  font-style: normal;
}

.footer-contact a {
  display: block;
  overflow-wrap: anywhere;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #ffffff;
}

.corporate-footer .footer-bottom {
  min-height: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 8px;
}

.corporate-footer .footer-bottom small {
  font-size: 0.75rem;
  line-height: 1.45;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}

.footer-bottom-links a:hover,
.footer-bottom-links a:focus-visible {
  color: #ffffff;
}

@media (max-width:1080px) {
  :root { --header-height: 108px; }
  .corporate-header .header-cta { display:none; }
  .corporate-header .main-nav-cta { display:inline-flex; margin-top:8px; }
  .corporate-header .main-nav { top:calc(100% - 2px); }
}
@media (max-width:820px) {
  :root { --header-height: 102px; }
  .header-topbar {
    display: block;
    height: auto;
    min-height: 28px;
    padding-block: 4px;
  }

  .header-topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 12px;
  }

  .header-topbar p {
    width: 100%;
    text-align: center;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .header-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.7rem;
  }

  .corporate-header .header-inner {
    height: 74px;
    padding-block: 6px;
  }

  .corporate-header .main-nav {
    padding: 12px;
    gap: 6px;
    border-radius: 20px;
    background:
      linear-gradient(120deg, rgba(239, 29, 45, 0.2) 0%, rgba(22, 71, 217, 0.24) 58%, rgba(255, 255, 255, 0.94) 100%),
      rgba(245, 251, 255, 0.95);
  }

  .corporate-header .main-nav a:not(.main-nav-cta) {
    min-height: 38px;
    padding: 9px 12px;
  }

  .corporate-header .main-nav-cta {
    min-height: 40px;
    margin-top: 6px;
  }

  .corporate-header .brand { min-width:0; }
  .brand-mark { width:46px; height:46px; flex-basis:46px; border-radius:13px; }
  .corporate-header .brand-logo { width:39px; height:39px; }
  .corporate-header .brand-text strong { font-size:13px; }
  .corporate-header .brand-text small { font-size:8.5px; }
  .corporate-footer {
    padding-top: 32px;
  }

  .footer-wave {
    height: 32px;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px 24px;
    padding-block: 16px;
  }

  .footer-company {
    grid-column: 1 / -1;
  }

  .corporate-footer .footer-bottom {
    align-items: center;
    flex-direction: row;
  }
}
@media (max-width:560px) {
  :root { --header-height: 112px; }

  .header-topbar {
    min-height: 44px;
    padding-block: 4px;
  }

  .header-topbar p {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.62rem;
    line-height: 1.2;
    white-space: normal;
  }

  .header-topbar-inner {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    justify-content: center;
    gap: 3px;
  }

  .header-meta {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .header-meta a {
    overflow-wrap: anywhere;
    text-align: center;
  }

  .corporate-header .header-inner {
    height: 66px;
    padding-block: 4px;
  }

  .corporate-header .brand {
    gap: 8px;
    max-width: calc(100% - 48px);
    overflow: hidden;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 11px;
  }

  .corporate-header .brand-logo {
    width: 33px;
    height: 33px;
  }

  .corporate-header .brand-text {
    min-width: 0;
    overflow: hidden;
  }

  .corporate-header .brand-text strong,
  .corporate-header .brand-text small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .corporate-header .brand-text strong {
    font-size: 11.5px;
  }

  .corporate-header .brand-text small {
    font-size: 7.5px;
  }

  .corporate-header .brand-text small { display:block; }
  .corporate-header .main-nav { border-radius:0 0 20px 20px; }
  .corporate-footer {
    padding-top: 28px;
  }

  .footer-wave {
    height: 28px;
  }

  .footer-wave::before {
    inset: 8px -8% -24px;
  }

  .footer-wave-blue {
    top: 9px;
    height: 12px;
    border-top-width: 2px;
  }

  .footer-wave-red {
    top: 15px;
    height: 10px;
    border-top-width: 2px;
  }

  /* Identitas penuh di atas; navigasi dan kontak berdampingan. */
  .footer-main {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 14px 12px;
    padding-block: 12px;
  }

  .footer-company {
    grid-column: 1 / -1;
  }

  .footer-brand {
    gap: 10px;
  }

  .footer-logo-wrap {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 14px;
  }

  .corporate-footer .footer-logo {
    width: 41px;
    height: 41px;
  }

  .footer-brand strong {
    font-size: 0.94rem;
  }

  .footer-brand small {
    font-size: 0.61rem;
  }

  .footer-company p {
    max-width: none;
    margin-top: 11px;
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .footer-column h3 {
    margin-bottom: 11px;
    font-size: 0.88rem;
  }

  .footer-column h3::after {
    width: 27px;
    margin-top: 6px;
  }

  .corporate-footer .footer-nav,
  .footer-contact {
    gap: 6px;
  }

  .corporate-footer .footer-nav a,
  .footer-contact,
  .footer-contact a {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .corporate-footer .footer-bottom {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-block: 7px;
  }

  .corporate-footer .footer-bottom small,
  .footer-bottom-links a {
    font-size: 0.69rem;
  }

  .footer-bottom-links {
    gap: 12px;
  }
}
