/* =========================================================
   ROOT & BASE
========================================================= */
:root {
  /* === COLOR === */
  --color-accent: #e6c36a;

  /* === SPACING SCALE === */
  --space-xxs: 0.25rem;   /* 4px */
  --space-xs:  0.5rem;    /* 8px */
  --space-sm:  0.75rem;   /* 12px */
  --space-md:  1rem;      /* 16px */
  --space-lg:  1.5rem;    /* 24px */
  --space-xl:  2rem;      /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */

  /* Section padding */
  --section-padding-x: clamp(1.5rem, 5vw, 6rem);
  --section-padding-y: clamp(5rem, 10vh, 8rem);

  /* Panel padding */
  --panel-padding-v: 1.5rem;
  --panel-padding-x: 3.5rem;
  --panel-padding-y: 4.5rem;

  --panel-radius: 22px;
  --panel-lift: -18px;
  --panel-depth: 18px;

  /* TIMING */
  --t-fast: 0.3s;
  --t-normal: 0.5s;
  --t-slow: 0.8s;

  /* NAVBAR */
   --navbar-padding-x: 3rem;
  --hero-padding-top: 110px;

  --glow-blur: 18px;
  --glow-size: -22px;

  --ease-smooth: cubic-bezier(.16,1,.3,1);
  --ease-premium: cubic-bezier(.22,1,.36,1); /* FIX */
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
}

@media (max-width: 768px) {
  :root {
    --navbar-padding-x: 1.5rem;
    --panel-padding-x: 1.8rem;
    --panel-padding-y: 4rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

html, body {
  margin: 0;
}

body {
  font-family: 'Lexend', system-ui, -apple-system, sans-serif;
  background: #0b0e13;
  color: hsl(0, 0%, 92%);
}

img {
  max-width: 100%;
  display: block;
}

/* === UNIVERSAL PANEL GRID SYSTEM === */

.horizontal-sections,
.horizontal-sections-1,
.horizontal-section-layanan,
.tim-row-top,
.tim-row-bottom {
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}

.horizontal-sections > .panel,
.horizontal-sections-1 > .panel,
.horizontal-section-layanan > .panel,
.tim-row-top > .panel,
.tim-row-bottom > .panel {
  width: 100%;
}

.nav-link:focus-visible,
.btn-gold:focus-visible {
  outline: 1px solid rgba(255,255,255,0.5);
  outline-offset: 4px;
}

/* =========================================================
   NAVBAR
========================================================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: linear-gradient(
    180deg,
    rgba(8,10,14,0.95),
    rgba(8,10,14,0.75),
    rgba(8,10,14,0.35)
  );
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.navbar-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding-inline: var(--navbar-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  letter-spacing: 4px;
  font-weight: 600;
}

.navbar img {
  height: 50px;
  width: auto;
}

.navbar-nav {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.6);
  transition: width var(--t-fast) var(--ease-standard);
}

.nav-link:hover::after {
  width: 100%;
}

/* =========================================================
   BURGER
========================================================= */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  position: relative;
  z-index: 1200;
}

.burger span {
  width: 22px;
  height: 2px;
  background: #eaeaea;
  transition: all 0.45s var(--ease-premium);
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 120px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
 background: url(../img/ban.jpg) center top / cover no-repeat;
}

.page-tim.hero {
  background: url(../img/bg-a.jpeg) center top / cover no-repeat;
  position: relative;
  min-height: 160svh;
  padding-top: 120px;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  padding-left: 4rem;
  padding-right: 4rem;
  box-sizing: border-box;
}

.hero-wrapper {
  max-width: 820px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: hero-reveal 1.4s var(--ease-premium) both;
}

.hero-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.6rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 20%,
    rgba(255,255,255,0.08),
    transparent 60%
  );
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

/* ======== BUTTON ======== */
.btn-gold {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 2.2rem;
  pointer-events: auto;
  transform: translateZ(0);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2.8px;
  text-transform: uppercase;

  color: #111;
  background: linear-gradient(135deg, #e6c36a, #c9a84e);
  border-radius: 999px;
  text-decoration: none;

  box-shadow:
    0 14px 34px rgba(0,0,0,0.55),
    0 0 0 rgba(233,198,108,0);

  transition:
    transform var(--t-fast) var(--ease-premium),
    box-shadow var(--t-fast) var(--ease-premium),
    filter var(--t-fast) var(--ease-standard);

  will-change: transform, box-shadow;
}

/* ========= HERO ACTION BUTTON ========= */
.hero-actions .btn-gold:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow:
    0 22px 52px rgba(0,0,0,0.7),
    0 0 32px rgba(233,198,108,0.55);
  filter: brightness(1.08);
}

/* ========= HERO BADGE ========= */
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 44px;
  padding: 0 1.2rem;

  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2.8px;
  text-transform: uppercase;

  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);

  color: rgba(255,255,255,0.85);
}

/* =========================================================
   HORIZONTAL SECTION – LAYANAN (3 PANEL)
========================================================= */
.horizontal-section-layanan {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  padding: var(--section-padding-y)
           var(--section-padding-x);
  background: #0b0e13;
}

/* Panel behavior khusus layanan */
.horizontal-section-layanan .panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
}

/* CTA selalu di bawah */
.horizontal-section-layanan .panel-cta {
  margin-top: auto;
  align-self: flex-start;
}

/* =========================================================
   TIM SECTION
========================================================= */
.section-tim {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  padding: var(--section-padding-y) var(--section-padding-x);
  background: #0b0e13;
  align-items: center;
  text-align: center;
}

/* ROW ATAS */
.tim-row-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3xl);
  width: 100%;
  max-width: 1250px;
  justify-items: stretch;
}

/* ROW BAWAH */
.tim-row-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1250px;
  justify-items: stretch;
}

.section-tim .panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-radius: 22px;
}

.team-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.team-list img {
  display: flex;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 25px;
  margin: 0 auto;
}

.team-list p {
  margin: 0;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.panel .section-title {
  font-size: 0.75rem;
  letter-spacing: 2px;
  opacity: 0.6;
}

.panel .section-heading {
  font-size: 1.3rem;
  margin-top: 0.4rem;
}

/* =========================================================
   Team Avatar Hover - Cinematic Version
========================================================= */
.avatar-wrapper {
  position: relative;
  display: inline-block;
  perspective: 50px; /* memberi efek kedalaman 3D */
}

.avatar-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  box-shadow: 0 8px 20px rgba(105, 103, 103, 0.411); /* bayangan lembut */
  transition:
  transform var(--t-normal) var(--ease-smooth),
  box-shadow var(--t-normal) var(--ease-smooth);
}

.avatar-link img {
  display: block;
  width: 100%;
  height: auto;
  transition:
  transform var(--t-normal) var(--ease-smooth),
  filter var(--t-fast) var(--ease-standard);
}

.avatar-link:hover img,
.avatar-link:focus img {
  transform: scale(1.12) translateY(12px);
  filter: brightness(1.1) contrast(1.1);
}

.avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(202, 202, 202, 0.144); /* overlay lebih gelap */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition:
    opacity var(--t-normal) var(--ease-smooth),
    transform var(--t-normal) var(--ease-smooth);
  font-weight: bold;
  font-size: 1rem;
  color: #000000;
  text-shadow: 5px 2px 10px rgba(255, 255, 255, 0.966); /* teks lebih menonjol */
  border-radius: 25px;
  transform: translateY(20px); /* mulai sedikit di bawah */
}

/* Efek glow halus saat hover */
.avatar-link:hover {
  box-shadow: 0 12px 30px rgba(245, 247, 243, 0.212), 0 0 15px rgba(255,255,255,0.1) inset;
}

.avatar-link:hover .avatar-overlay,
.avatar-link:focus .avatar-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   CENTER SECTION HEADING – KHUSUS LAYANAN
========================================================= */
.horizontal-section-layanan .section-header {
  width: 100%;
  align-items: center;
  text-align: center;
}

.horizontal-section-layanan .section-heading {
  text-align: center;
  margin-inline: auto;
}

/* ========= SECTIONS ========= */
.horizontal-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  padding: var(--section-padding-y)
           var(--section-padding-x);
  background: #0b0e13;
}

.horizontal-sections-1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
   padding: var(--section-padding-y)
            var(--section-padding-x);
  background: #0b0e13;
}

/* Panel alamat full width */
.panel-full {
  grid-column: 1 / -1;
}

/* ======== PANEL ======== */
.panel {
  position: relative;
  border-radius: 22px;
  padding: var(--panel-padding-y) var(--panel-padding-x);
  transform: none;
  backface-visibility: hidden;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.015)
  );

  box-shadow:
    0 12px 30px rgba(0,0,0,0.35),
    0 35px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.08);

  transition:
    transform var(--t-normal) var(--ease-smooth),
    box-shadow var(--t-normal) var(--ease-smooth);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  height: 100%;
}

.panel-cta {
  cursor: pointer;              /* pointer saat diarahkan */
  background: transparent;
  border: none;
  color: grey;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition:
    color var(--t-fast) var(--ease-standard),
    transform var(--t-fast) var(--ease-standard);
}

/* Hover effect */
.panel-cta:hover {
  color: var(--color-accent);
  transform: translateX(10px);
  border-bottom-color: currentColor;   /* geser halus ke kanan */
}

/* Optional: focus (aksesibilitas) */
.panel-cta:focus-visible {
  outline: none;
  text-decoration: underline;
}

.panel-full .service-list {
  max-width: 900px;
  margin-inline: auto;
  text-align: justify;
}

.tim-row-bottom .team-list {
  flex-direction: column;
  align-items: center; /* center gambar dan teks */
  text-align: center;
  gap: 0.5rem;
  width: 100%;
}

/* =========================================================
                      PROFILE SECTION
========================================================= */
.container {
    display: grid;
    gap: var(--space-xl);
    padding: var(--section-padding-y) var(--section-padding-x);
    background: #0b0e13;
    max-width: 1300px;
    margin: 0 auto;
}

.top-section {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.profile-img img {
    width: auto;
    height: auto;
    max-width: 300px;
}

.profile-info h1 {
    font-size: 22px;
    margin: 0 0 8px 0;
}

.position {
    color: #c89b2f;
    font-size: 14px;
    margin-bottom: 15px;
}

.profile-info p {
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
}

.email {
    margin-top: 10px;
    font-size: 13px;
}

/* ================= DIVIDER ================= */
.divider {
    border-top: 3px solid #c89b2f;
    margin: 50px 0;
}

/* ================= CONTENT SECTION ================= */
.content {
    display: flex;
    gap: 80px;
}

.column {
    flex: 1;
}

h2 {
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.column p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

ul {
    padding-left: 18px;
}

ul li {
    font-size: 14px;
    margin-bottom: 8px;
}

/* ==============================
   MODAL
=============================== */
.panel-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow) var(--ease-standard);
}

.panel-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.panel-modal-backdrop {
  position: absolute;
  inset: 0;
}

.panel-modal.active .panel-modal-backdrop {
  backdrop-filter: blur(10px);
  background: rgba(8, 8, 8, 0.88);
}

.panel-modal-card {
  max-height: calc(100svh - 4rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 3rem));
  padding: 3rem 2.5rem;
  will-change: transform, opacity;
  background: linear-gradient(
  180deg,
  rgba(54, 52, 52, 0.88),
  rgba(20, 20, 20, 0.98));
  backface-visibility: hidden;
  transition:
    opacity var(--t-slow) var(--ease-smooth),
    transform var(--t-slow) var(--ease-smooth);

  border-radius: 38px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(2px) scale(0.5);
}

.panel-modal.active .panel-modal-card {
  opacity: 1;
  transform:
    translateY(0)
    scale(1);
}

.modal-eyebrow {
  font-size: .7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: .6;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  margin: .4rem 0 1.2rem;
}

.modal-content {
  font-size: .95rem;
  line-height: 1.7;
  opacity: .9;
}

.modal-content ul {
  padding-left: 1.2rem;
  margin-top: .8rem;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;

  width: 36px;
  height: 36px;

  border-radius: 50%;
  border: none;
  cursor: pointer;

  font-size: 1.4rem;
  color: #ffffff;
  background: rgb(0, 0, 0);
}

.panel-modal.closing .panel-modal-card {
  opacity: 0;
  transform:
    translateY(40px)
    scale(0.94);
}

.panel-modal.closing .panel-modal-backdrop {
  backdrop-filter: blur(0px);
  background: rgba(8, 8, 8, 0.4);
  transition:
    opacity var(--t-fast) var(--ease-standard),
    transform var(--t-normal) var(--ease-standard);
}

/* ==============================
   DEFAULT (RESPONSIVE / TOUCH)
============================== */
.panel-cta .cta-arrow {
  transition: transform var(--t-fast) var(--ease-standard);
}

.panel::before {
  content: '';
  position: absolute;
  border-radius: 30px;
  background: radial-gradient(
    circle at top,
    rgba(121,115,101,0.22),
    transparent 70%
  );
  filter: blur(18px);
  inset: -22px;
  z-index: -1;

  opacity: 1;
  animation: glow-breath 5s var(--ease-smooth) infinite;
}

.panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.22),
      transparent 50%
    ),
    radial-gradient(
      circle at top,
      rgba(255,255,255,0.08),
      transparent 70%
    );

  opacity: 1; /* AKTIF DI MOBILE */
  transition: opacity var(--t-normal) var(--ease-standard);
  pointer-events: none;
}

.panel-a { background: #000000; }
.panel-b { background: #10141a; }
.panel-c { background: #2c2e31; }

/* ========= SECTION HEADER ========= */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xs);
}

.section-header::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  margin: var(--space-lg) auto 0;
  background: rgba(255,255,255,0.35);
  transition: width var(--t-normal) var(--ease-smooth);
}

.section-title {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.65;
}

.section-heading {
  text-shadow:
    0 10px 28px rgba(0,0,0,0.45);
  margin-top: 0.4rem;
  transition: transform var(--t-fast) var(--ease-premium);
}

.btn-gold:active {
  transform: translateY(-1px) scale(0.98);
}

/* ========= CONTENT ========= */
.service-list,
.contact-list {
  text-align: justify;
}

.service-list-1 {
  text-align: left;
}

.team-list > div {
  text-align: left;
}

.team-list h3 {
  margin-top: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ========= FOOTER ========= */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--navbar-padding-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  margin-left: var(--space-lg);
  text-decoration: none;
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
}

/* =========================================================
   MOBILE (≤ 768px)
========================================================= */
@media (max-width: 768px) {
  .tim-row-top .team-list > div,
  .tim-row-bottom .team-list > div {
    text-align: center;
  }

  .tim-row-top .team-list h3,
  .tim-row-bottom .team-list h3 {
    font-size: 1rem;
  }

  .panel-full .service-list .service-list-1 p {
    text-align: left;
    hyphens: auto;
  }
  
  .team-list {
    flex-direction: column;
  }

  /* ===== LAYOUT ===== */
  .hero-container {
    max-width: 100%;
    padding-inline: var(--navbar-padding-x);
    margin-inline: auto;
    display: flex;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
    text-align: center;
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 3.5vw, 1.05rem);
    text-align: justify;
  }

  .navbar-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  /* ===== MOBILE MENU ===== */
  .mobile-menu {
    position: fixed;
    top: 84px;
    left: 50%;
    transform: translateX(-50%) translateY(-18px) scale(0.96);
    width: min(92%, 420px);
    padding: 2.2rem 0;
    padding-bottom: calc(2.2rem + env(safe-area-inset-bottom));

    background: linear-gradient(
      180deg,
      rgba(18,22,30,0.92),
      rgba(10,12,18,0.88)
    );

    backdrop-filter: blur(18px);
    border-radius: 22px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;

    box-shadow:
      0 30px 80px rgba(0,0,0,0.65),
      inset 0 1px 0 rgba(255,255,255,0.08);

    opacity: 0;
    pointer-events: none;

    transition:
      opacity var(--t-normal) var(--ease-premium),
      transform var(--t-normal) var(--ease-premium);

    z-index: 1050;
  }

  .mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    letter-spacing: 3px;
    text-transform: uppercase;

    color: rgba(255,255,255,0.88);
    text-decoration: none;

    opacity: 0;
    transform: translateY(12px);

    transition:
      opacity var(--t-fast) var(--ease-standard),
      transform var(--t-fast) var(--ease-premium);
  }

  .mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu a:hover {
    opacity: 1;
    transform: translateY(-4px);
  }

  /* ===== MENU STAGGER ===== */
  .mobile-menu.active a:nth-child(1) { transition-delay: 0.08s; }
  .mobile-menu.active a:nth-child(2) { transition-delay: 0.14s; }
  .mobile-menu.active a:nth-child(3) { transition-delay: 0.20s; }
  .mobile-menu.active a:nth-child(4) { transition-delay: 0.26s; }
  .mobile-menu.active a:nth-child(5) { transition-delay: 0.32s; }
  .mobile-menu.active a:nth-child(6) { transition-delay: 0.38s; }
  .mobile-menu.active a:nth-child(7) { transition-delay: 0.44s; }

  /* ===== MENU BACKDROP ===== */
  .menu-backdrop {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);

    opacity: 0;
    pointer-events: none;

    transition: opacity var(--t-normal) var(--ease-premium);
    z-index: 1020;
  }

  .menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* ===== HERO LAYOUT ===== */
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: var(--hero-padding-top);
    padding-bottom: 4rem;

    background:
      linear-gradient(
        180deg,
        rgba(11,14,19,0.85),
        rgba(11,14,19,0.75),
        rgba(11,14,19,0.95)
      ),
           url("../img/ban-mobile.jpg") center / cover no-repeat;
  }

  .hero-wrapper {
    width: 100%;
    max-width: 560px;
    animation: hero-reveal 1.4s var(--ease-premium) both;
  }

  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
  }

  .hero-badge,
  .hero-actions .btn-gold {
    height: 42px;
  }

  .hero-badge {
    align-self: center;
    text-align: center;
  }

  /* ===== HERO TYPOGRAPHY ===== */
  .hero-title {
    max-width: 520px;
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    line-height: 1.25;
    letter-spacing: 0.5px;

    text-shadow:
      0 12px 40px rgba(0,0,0,0.55),
      0 2px 4px rgba(0,0,0,0.45);
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
  }

  /* ===== PANEL ===== */
  .panel > * {
    transform: none;
  }

  .section-heading {
    font-size: 1.75rem;
  }
}

/* =========================================================
   RESPONSIVE LAYOUT ≤ 420px (SMALL MOBILE)
========================================================= */
@media (max-width: 420px) {

  /* ===== HERO ===== */
  .hero-container {
    max-width: 100%;
    padding-inline: 1.2rem;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .hero-wrapper {
    width: 100%;
  }

  /* ===== TYPOGRAPHY ===== */
  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  /* ===== PANEL ===== */
  .panel {
    padding: 3.5rem 1.6rem;
    transform: none;
  }

  .section-heading {
    font-size: 1.6rem;
  }

  .section-tim {
    padding: 3rem 1.2rem;
  }
  
  .section-publish {
    padding: 3rem 1.2rem;
  }

  .panel .section-heading {
    font-size: 1.2rem;
  }
}

/* ========= KeyFrames ========= */
@keyframes glow-breath {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translateY(42px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gold-breath {
  0% {
    box-shadow:
      0 14px 34px rgba(0,0,0,0.55),
      0 0 0 rgba(233,198,108,0);
  }
  50% {
    box-shadow:
      0 18px 42px rgba(0,0,0,0.65),
      0 0 26px rgba(233,198,108,0.35);
  }
  100% {
    box-shadow:
      0 14px 34px rgba(0,0,0,0.55),
      0 0 0 rgba(233,198,108,0);
  }
}

@supports not (backdrop-filter: blur(10px)) {
  .navbar,
  .mobile-menu {
    background: rgba(10,12,18,0.95);
  }
}

/* =========================================================
   DESKTOP INTERACTION (HOVER + POINTER)
========================================================= */
@media (hover: hover) and (pointer: fine) {
  .btn-gold {
    will-change: transform, box-shadow;
  }
  

  .panel {
    transform-style: preserve-3d;
    will-change: transform;
  }

  .panel:hover .section-header::after {
    width: 64px;
  }

  .panel:hover .section-heading {
    transform: translateZ(42px);
  }

  .panel:hover {
    transform:
      translate3d(0, -12px, 12px)
      rotateX(2deg);
  }

  .panel:hover .panel-cta {
    color: #fff;
  }

  .panel:hover .panel-cta .cta-arrow {
    transform: translateX(4px);
  }

  /* Gradient panel hanya saat hover */
  .panel::after {
    opacity: 0;
  }

  .panel:hover::after {
    opacity: 1;
  }

  /* Glow hanya saat hover */
  .panel::before {
    opacity: 0;
    animation: none;
    will-change: opacity, transform;
  }

  .panel:hover::before {
    opacity: 1;
    animation: glow-breath 5s var(--ease-smooth) infinite;
  }

  /* 3D depth content */
  .panel > * {
    transform: translateZ(6px);
    transition: transform var(--t-normal) var(--ease-premium);
  }

  .panel .section-heading {
    transform: translateZ(12px);
  }

  .panel .section-title {
    transform: translateZ(28px);
  }

  /* Hero button breathing */
  .hero-actions .btn-gold {
    animation: gold-breath 6.5s var(--ease-smooth) infinite;
  }

  .hero-actions .btn-gold:hover {
    animation-play-state: paused;
  }
}

/* =========================================================
   RESPONSIVE LAYOUT (BREAKPOINTS) ≥ 1100px
========================================================= */
@media (min-width: 1100px) {
  .hero-container {
    padding-left: clamp(4rem, 10vw, 4.5rem);
  }
}

/* =========================================================
   RESPONSIVE LAYOUT (BREAKPOINTS) ≤1024px
========================================================= */
@media (max-width: 1024px) {
  .horizontal-section-layanan {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-inline: 1.5rem;
  }

  .horizontal-sections,
  .horizontal-sections-1 {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-inline: 1.5rem;
  }



  .hero-container {
    margin-inline: auto;
  }

  .panel {
    width: 100%;
    min-width: 0;
  }

  .panel::before {
    filter: blur(18px);
    inset: -22px;
  }
}

/* =========================================================
   RESPONSIVE LAYOUT ≤ 900px (TABLET & SMALL LAPTOP)
========================================================= */
@media (max-width: 900px) {

  /* ===== PANEL ===== */
  .panel {
    text-align: center;
  }

  .panel .service-list .service-list-1,
  .panel .contact-list {
    max-width: 520px;
    margin-inline: auto;
  }

    .content {
        flex-direction: column;
        gap: 40px;
    }

    .top-section {
    flex-direction: column;
    align-items: center;   /* ini yang bikin semua isi center */
  }

  .profile-img {
    width: 100%;
    text-align: center;   /* jaga-jaga */
  }

  .profile-img img {
    display: block;
    margin: 0 auto;       /* ini bikin gambar center */
    max-width: 350px;
    width: 100%;
  }

/* =========================================================
   PANEL TIM
========================================================= */
.tim-row-top,
  .tim-row-bottom {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg); /* bisa disesuaikan */
  justify-items: stretch;
  width: 100%;
  max-width: none;
  }

  .tim-row-top .team-list,
  .tim-row-bottom .team-list {
    width: 100%;
    max-width: 320px; /* tetap konsisten dengan ukuran panel */
  }



/* =========================================================
                    PROFILE CONTAINER
========================================================= */
  .profile-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .profile-photo img {
    max-width: 320px;
    margin: 0 auto;
    display: block;
  }

  .profile-content {
    text-align: center;
  }

  .profile-desc {
    margin: 0 auto;
  }

/* =========================================================
   FIX TEXT BREAK – PANEL FULL
========================================================= */
.panel-full .service-list .service-list-1 p {
   max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;

  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
}

/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce){

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .panel,
  .btn-gold {
    transform: none !important;
  }

}

/* =========================================================
                    FLOATING CONTACT
========================================================= */
.floating-wrapper {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1200;

    display: flex;
    flex-direction: column;
    gap: 16px;

    opacity: 1;
    transition:
      opacity var(--t-normal) var(--ease-premium),
      transform var(--t-normal) var(--ease-premium),
      filter var(--t-fast) var(--ease-standard);

    animation: floatCinematic 6s var(--ease-smooth) infinite;
}

/* === Button Base === */
.floating-wrapper a {
    position: relative;

    width: 58px;
    height: 58px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;

    backdrop-filter: blur(14px);
    background: rgba(18,22,30,0.75);

    box-shadow:
        0 18px 40px rgba(0,0,0,0.55),
        0 0 0 rgba(230,195,106,0);

    transition:
      transform var(--t-fast) var(--ease-premium),
      box-shadow var(--t-fast) var(--ease-premium),
      filter var(--t-fast) var(--ease-standard);
}

/* === Gold ambient glow layer === */
.floating-wrapper a::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: inherit;

    background: radial-gradient(
        circle,
        rgba(230,195,106,0.35),
        transparent 70%
    );

    opacity: 0;
    filter: blur(18px);
    transition: opacity var(--t-normal) var(--ease-standard);
    z-index: -1;
}

/* === Hover effect === */
.floating-wrapper a:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow:
        0 28px 60px rgba(0,0,0,0.75),
        0 0 35px rgba(230,195,106,0.6);
}

.floating-wrapper a:hover::before {
    opacity: 1;
}

/* === WhatsApp tone (lebih dark luxury) === */
.floating-wa {
    background: linear-gradient(135deg, #0f2f24, #1c7c54);
}

/* === Email tone (dark gold elegance) === */
.floating-email {
    background: linear-gradient(135deg, #111, #3a2d00);
}

/* === Hide cinematic exit === */
.floating-wrapper.hide {
    opacity: 0;
    transform: translateY(140px) scale(0.85);
    filter: blur(14px);
    pointer-events: none;
}

/* === Floating idle motion (slow cinematic breathing) === */
@keyframes floatCinematic {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}



/* Publsih */

/* ================= SECTION ================= */
.section-publish {
  padding: 80px 20px;
  background: #0b0e13;
}

/* ================= GRID ================= */
.row-publish {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

/* ================= PANEL ================= */
.panel-publish {
  position: relative;
  border-radius: 20px;
  overflow: hidden; /* penting supaya image tidak keluar radius */
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.015)
  );
  box-shadow:
    0 12px 30px rgba(0,0,0,0.35),
    0 35px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
  height: 100%;
}

.panel-publish:hover {
  transform: translateY(-6px);
}



/* ================= IMAGE ================= */
.panel-publish img {
  width: 100%;
  height: 220px;
  object-fit: cover; /* penting */
  display: block;
}

/* ================= CONTENT ================= */
.publish-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.title-publish {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.date-publish {
  font-size: 14px;
  color: #aaa;
}

/* ================= CTA ================= */
.panel-publish-cta {
  padding: 16px 20px 22px;
  color: #999;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;
}

.panel-publish-cta:hover {
  color: #c9a15c;
  transform: translateX(6px);
}

/* ================= BADGE ================= */
.badge-article {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #5b2d0b;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 1024px) {
  .row-publish {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .row-publish {
    grid-template-columns: 1fr;
  }

  .panel img {
    height: 200px;
  }

  .title-publish {
    font-size: 16px;
  }
}




/* ================= CONTAINER ================= */
.container-article {
    max-width: 900px; /* lebih nyaman untuk baca */
    margin: 60px auto;
    padding: 0 20px;
    font-family: "Inter", sans-serif;
}

/* ================= WRAPPER ================= */
.content-wrapper-article {
    display: flex;
    justify-content: center;
}

/* ================= ARTICLE ================= */
.article {
    width: 100%;
}

/* ================= TITLE ================= */
.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

/* ================= META ================= */
.article-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
}

/* ================= IMAGE ================= */
.article-image-wrapper {
    width: 100%;
    background: #111; /* background supaya tidak kosong putih */
    border-radius: 14px;
    overflow: hidden;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-image {
    max-width: 100%;
    max-height: 600px;  /* batas maksimal tinggi */
    width: auto;
    height: auto;
    object-fit: contain;  /* PENTING */
    display: block;
}


/* ================= CONTENT ================= */
.article-content {
    font-size: 17px;
    line-height: 1.9;
    color: #fff;
    text-align: justify;      /* JUSTIFY OTOMATIS */
}

.article-content p {
    margin-bottom: 18px;
}

.article-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
}

.article-content h3 {
    margin-top: 30px;
    margin-bottom: 12px;
}

.article-content ul,
.article-content ol {
    padding-left: 22px;
    margin-bottom: 20px;
}

.article-content blockquote {
    border-left: 4px solid #d4af37;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}


@media (max-width: 768px) {

    .container-article {
        margin: 30px auto;
    }

    .article-title {
      padding-top: 50px;
        font-size: 24px;
    }

    .article-image-wrapper {
        aspect-ratio: 4 / 3;
    }

    .article-content {
        font-size: 15.5px;
        text-align: left; /* mobile lebih nyaman left */
    }
}




.custom-pagination {
    display: flex;
    justify-content: center;
    margin: 50px 0;
    padding: 0 15px;
}

/* Ganti .pagination-list menjadi .pagination agar sesuai dengan HTML Laravel */
.custom-pagination ul.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.custom-pagination ul.pagination li a, 
.custom-pagination ul.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px; 
    background-color: #1a222f; 
    color: #e0e6ed; 
    border: 1px solid #2d384a; 
}

.custom-pagination ul.pagination li a:hover {
    background-color: #2d384a;
    border-color: #4a5d7c;
    color: white;
}

.custom-pagination ul.pagination li.active span {
    background-color: #e0e6ed; 
    color: #0d121c; 
    border-color: #e0e6ed;
    cursor: default;
    box-shadow: 0 0 10px rgba(224, 230, 237, 0.4); 
}

.custom-pagination ul.pagination li.disabled span {
    color: #4a5d7c;
    background-color: #0d121c;
    border-color: #1a222f;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Tambahkan ini untuk mengecilkan panah SVG bawaan Laravel */
.custom-pagination svg {
    width: 20px;
    height: 20px;
}

