/* =========================================================
   =========================================================
   SUSHYDECOR
   MASTER STYLE.CSS
   FULL FINAL
   CLEAN / CONSOLIDATED / RESPONSIVE
   =========================================================

   WEBSITE:
   - Katalog jasa dekorasi
   - Wedding
   - Lamaran
   - Khitanan
   - Aqiqah
   - Portfolio
   - Testimonial
   - WhatsApp Consultation

   SISTEM:
   - Sticky header
   - Mobile navigation
   - Template showcase
   - Portfolio filter
   - Portfolio carousel
   - Portfolio modal / lightbox
   - Testimonial
   - Scroll reveal
   - Back to top

   CATATAN:
   - BUKAN SaaS
   - BUKAN pembayaran online
   - Konsultasi melalui WhatsApp

   ========================================================= */

/* =========================================================
   01. VARIABLES
   ========================================================= */

:root {
  /* BRAND */

  --color-primary: #68764a;
  --color-primary-dark: #526038;
  --color-primary-light: #879568;

  --color-gold: #c6a15b;
  --color-gold-light: #dfc78e;

  /* NEUTRAL */

  --color-white: #ffffff;
  --color-ivory: #fffdf9;
  --color-cream: #f8f3e9;
  --color-cream-dark: #eee5d6;

  --color-text: #292722;
  --color-text-light: #6d685e;

  --color-border: #e5ddd0;

  /* WHATSAPP */

  --color-whatsapp: #5f7544;
  --color-whatsapp-dark: #4c6036;

  /* SHADOW */

  --shadow-soft: 0 8px 30px rgba(80, 65, 40, 0.08);
  --shadow-card: 0 6px 22px rgba(80, 65, 40, 0.1);
  --shadow-hover: 0 15px 35px rgba(80, 65, 40, 0.15);

  /* RADIUS */

  --radius-small: 8px;
  --radius-medium: 14px;
  --radius-large: 22px;

  /* CONTAINER */

  --container-width: 1200px;

  /* TRANSITION */

  --transition: 0.3s ease;
}

/* =========================================================
   02. RESET / BASE
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;

  scroll-behavior: smooth;

  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;

  overflow-x: hidden;

  font-family: Arial, Helvetica, sans-serif;

  line-height: 1.6;

  background: var(--baju-bodo-gold-dark);

  color: var(--color-text);
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;

  max-width: 100%;

  height: auto;
}

a {
  color: inherit;

  text-decoration: none;
}

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

button {
  border: 0;

  background: transparent;

  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

figure {
  margin: 0;
}

address {
  font-style: normal;
}

section[id] {
  scroll-margin-top: 90px;
}

/* =========================================================
   03. GLOBAL SAFETY
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;

  overflow-x: hidden;
}

.site-header,
.site-header > .container,
.header-container,
.main-navigation,
main,
section,
.container {
  min-width: 0;
}

main,
section {
  width: 100%;
  max-width: 100%;
}

/* =========================================================
   LAZY IMAGE DIMENSION SAFETY
   Mencegah layout shift pada gambar loading="lazy"
   ========================================================= */

/* CATEGORY */
.category-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* FEATURED TEMPLATE */
.template-featured-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* TEMPLATE CARDS */
.template-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* =========================================================
   04. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
  color: var(--color-text);

  font-family: Georgia, "Times New Roman", serif;

  font-weight: 500;

  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--color-text-light);
}

/* =========================================================
   05. CONTAINER
   ========================================================= */

.container {
  width: min(calc(100% - 40px), var(--container-width));

  margin-inline: auto;
}

/* =========================================================
   06. SECTION HEADER
   ========================================================= */

.section-header {
  position: relative;

  width: min(100%, 700px);

  max-width: 700px;

  margin: 0 auto 38px;

  text-align: center;
}

.section-header::before {
  content: "✦";

  display: block;

  margin-bottom: 8px;

  color: var(--color-gold);

  font-size: 0.8rem;
}

.section-header h2 {
  position: relative;

  color: #444443;

  display: inline-block;

  margin-bottom: 14px;

  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

#category-title {
  position: relative;

  color: #dfdedb;

  display: inline-block;

  margin-bottom: 14px;

  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.section-header h2::before,
.section-header h2::after {
  content: "";

  position: absolute;

  top: 50%;

  width: 65px;

  height: 1px;

  background: var(--color-gold);
}

.section-header h2::before {
  right: calc(100% + 18px);
}

.section-header h2::after {
  left: calc(100% + 18px);
}

.section-header > p:last-child {
  width: min(100%, 600px);

  max-width: 600px;

  margin-inline: auto;

  font-size: 0.9rem;

  line-height: 1.7;
}

.section-label {
  display: inline-block;

  margin-bottom: 10px;

  color: var(--color-primary);

  font-size: 0.8rem;

  font-weight: 700;

  letter-spacing: 0.15em;

  text-transform: uppercase;
}

/* =========================================================
   07. BUTTONS
   ========================================================= */

.button {
  display: inline-flex;

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

  min-height: 46px;

  padding: 0 22px;

  border: 1px solid var(--color-primary);

  border-radius: var(--radius-small);

  background: transparent;

  color: var(--color-primary);

  font-size: 0.85rem;

  font-weight: 600;

  line-height: 1;

  transition: var(--transition);

  -webkit-tap-highlight-color: transparent;
}

.button:hover {
  background: var(--color-primary);

  color: var(--color-white);

  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-whatsapp {
  border-color: var(--color-whatsapp);

  background: var(--color-whatsapp);

  color: var(--color-white);
}

.button-whatsapp:hover {
  border-color: var(--color-whatsapp-dark);

  background: var(--color-whatsapp-dark);

  color: var(--color-white);
}

/* =========================================================
   02. HEADER / NAVBAR
   SUSHYDECOR
   TRANSPARENT OVER HERO
   ========================================================= */

/* =========================================================
   1. SITE HEADER
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;

  z-index: 1000;

  width: 100%;

  background: transparent;

  border-bottom: none;
  box-shadow: none;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  transition:
    background 0.35s ease,
    box-shadow 0.35s ease;
}

/* =========================================================
   2. HEADER SAAT SCROLL
   ========================================================= */

.site-header.is-scrolled {
  background: rgba(35, 34, 25, 0.82);

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* =========================================================
   3. HEADER CONTAINER
   ========================================================= */

.site-header > .container,
.header-container {
  width: min(100% - 48px, 1280px);

  min-height: 82px;

  margin: 0 auto;

  display: flex;
  align-items: center;

  gap: 28px;

  position: relative;
}

/* =========================================================
   4. BRAND
   ========================================================= */

.brand {
  flex: 0 0 auto;

  margin-right: 18px;

  position: relative;
  z-index: 2;
}

.brand > a,
.brand a {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: #ffffff;

  text-decoration: none;
}

/* =========================================================
   5. BRAND LOGO
   ========================================================= */

.brand img {
  display: block;

  width: 58px;
  height: 58px;

  flex: 0 0 58px;

  box-sizing: border-box;
  padding: 5px;

  object-fit: contain;
  object-position: center;

  /*
     CIRCLE BRAND NAVBAR
     Membuat logo tampil sebagai badge lingkaran premium,
     tetap jelas di atas hero maupun saat navbar di-scroll.
  */
  /* background: linear-gradient(145deg, #fffdf8 0%, #f3e5c5 100%); */

  border: 1.5px solid #d6b66a;
  border-radius: 50%;

  box-shadow:
    0 0 0 3px rgba(214, 182, 106, 0.14),
    0 5px 16px rgba(0, 0, 0, 0.16);

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

/* Logo hover */

.brand > a:hover .brand img,
.brand a:hover .brand img {
  transform: scale(1.04);

  box-shadow:
    0 0 0 4px rgba(214, 182, 106, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.2);

  filter: brightness(1.02);
}

.brand > a:focus-visible .brand img,
.brand a:focus-visible .brand img {
  outline: 2px solid #e7c77b;
  outline-offset: 4px;
}

/* =========================================================
   6. BRAND TEXT
   ========================================================= */

.brand-text {
  display: flex;

  flex-direction: column;

  justify-content: center;

  min-width: 0;

  line-height: 1.15;
}

/* Nama brand */

.brand-name {
  display: block;

  color: #ffffff;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 1.25rem;

  font-weight: 500;

  line-height: 1.15;

  letter-spacing: 0.01em;

  white-space: nowrap;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Tagline */

.brand-tagline {
  display: block;

  margin-top: 4px;

  color: rgba(255, 255, 255, 0.78);

  font-family: Arial, Helvetica, sans-serif;

  font-size: 0.62rem;

  font-weight: 400;

  line-height: 1;

  letter-spacing: 0.06em;

  white-space: nowrap;

  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   7. MAIN NAVIGATION
   ========================================================= */

/*
   TIDAK ADA BACKGROUND PADA NAVIGASI
*/

.main-navigation {
  margin-left: auto;

  position: relative;
  z-index: 2;

  background: transparent;

  border: none;

  box-shadow: none;
}

/* =========================================================
   8. NAVIGATION LIST
   ========================================================= */

.main-navigation ul {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 30px;

  margin: 0;
  padding: 0;

  list-style: none;

  background: transparent;
}

/* =========================================================
   9. NAVIGATION LINK
   ========================================================= */

.main-navigation a {
  position: relative;

  display: inline-flex;

  align-items: center;

  padding: 29px 0;

  color: rgba(255, 255, 255, 0.94);

  background: transparent;

  border: none;

  box-shadow: none;

  font-size: 0.88rem;

  font-weight: 500;

  line-height: 1;

  white-space: nowrap;

  text-decoration: none;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);

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

/* =========================================================
   10. NAVIGATION UNDERLINE
   ========================================================= */

.main-navigation a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 20px;

  width: 0;
  height: 2px;

  background: #e7c77b;

  border-radius: 999px;

  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);

  transition: width 0.3s ease;
}

/* =========================================================
   11. NAVIGATION HOVER
   ========================================================= */

.main-navigation a:hover {
  color: #ffffff;

  background: transparent;
}

.main-navigation a:hover::after,
.main-navigation a[aria-current="page"]::after {
  width: 100%;
}

/* =========================================================
   12. NAVIGATION ACTIVE
   ========================================================= */

.main-navigation a:hover::after,
.main-navigation a[aria-current="page"]::after,
.main-navigation a.active::after {
  width: 100%;
}

.main-navigation a[aria-current="page"],
.main-navigation a.active {
  color: #e7c77b;
}

/* =========================================================
   13. HEADER ACTION / WHATSAPP
   ========================================================= */

.header-action {
  flex: 0 0 auto;

  position: relative;

  z-index: 2;

  margin-left: 10px;
}

/* =========================================================
   14. WHATSAPP BUTTON
   ========================================================= */

.header-action a {
  display: inline-flex;

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

  min-height: 48px;

  padding: 0 22px;

  border-radius: 999px;

  /*
     Hijau olive transparan seperti referensi
  */
  background: rgba(75, 86, 53, 0.88);

  border: 1px solid rgba(255, 255, 255, 0.2);

  color: #ffffff;

  font-size: 0.82rem;

  font-weight: 500;

  line-height: 1;

  white-space: nowrap;

  text-decoration: none;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

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

/* WhatsApp hover */

.header-action a:hover {
  background: rgba(91, 103, 64, 0.96);

  transform: translateY(-1px);

  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.2);

  color: #ffffff;
}

/* =========================================================
   15. MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-toggle {
  display: none;

  position: relative;

  z-index: 1001;

  width: 44px;
  height: 44px;

  padding: 0;

  margin: 0;

  border: 1px solid rgba(255, 255, 255, 0.35);

  border-radius: 8px;

  background: transparent;

  box-shadow: none;

  cursor: pointer;
}

/* =========================================================
   16. MOBILE MENU LINES
   ========================================================= */

.mobile-menu-toggle span {
  display: block;

  width: 22px;
  height: 2px;

  margin: 4px auto;

  background: #ffffff;

  border-radius: 999px;

  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);

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

.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   SUSHYDECOR
   HERO / BERANDA
   LANDING PAGE PREMIUM
   ========================================================= */

/* =========================================================
   01. HERO BASE
========================================================= */

#beranda.hero-section {
  position: relative;

  display: flex;
  align-items: center;

  width: 100%;
  min-height: 720px;

  overflow: hidden;
  isolation: isolate;

  background-color: #2f3027;

  background-image:
    linear-gradient(
      90deg,
      rgba(27, 28, 22, 0.94) 0%,
      rgba(34, 35, 27, 0.88) 24%,
      rgba(43, 42, 31, 0.64) 46%,
      rgba(43, 42, 31, 0.22) 68%,
      rgba(43, 42, 31, 0.04) 100%
    ),
    url("../assets/images/hero/hero-wedding.png");

  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* =========================================================
   02. HERO ATMOSPHERIC OVERLAY
========================================================= */

#beranda.hero-section::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  pointer-events: none;

  background: radial-gradient(
    circle at 76% 48%,
    rgba(255, 238, 193, 0.1) 0%,
    rgba(255, 238, 193, 0.03) 30%,
    transparent 60%
  );

  opacity: 1;
}

/* =========================================================
   03. HERO BOTTOM FADE
========================================================= */

#beranda.hero-section::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  z-index: 1;

  height: 90px;

  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(255, 253, 249, 0) 0%,
    rgba(255, 253, 249, 0.28) 55%,
    rgba(255, 253, 249, 0.88) 100%
  );
}

/* =========================================================
   04. HERO CONTAINER
========================================================= */

#beranda.hero-section > .container {
  position: relative;

  z-index: 2;

  width: min(100% - 48px, 1180px);

  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   05. HERO CONTENT
========================================================= */

#beranda .hero-content {
  position: relative;

  z-index: 3;

  width: min(100%, 620px);

  margin: 0;

  padding-top: 105px;
  padding-bottom: 105px;

  text-align: left;
}

/* =========================================================
   06. HERO LABEL
========================================================= */

#beranda .hero-label {
  display: flex;

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

  gap: 14px;

  width: fit-content;

  margin: 0 0 22px;

  color: #dfa736;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 0.72rem;

  font-weight: 600;

  line-height: 1;

  letter-spacing: 0.3em;

  text-align: left;

  text-transform: uppercase;
}

/* =========================================================
   07. HERO LABEL DECORATION
========================================================= */

#beranda .hero-label::before {
  display: none;
}

#beranda .hero-label::after {
  content: "";

  display: block;

  width: 48px;
  height: 1px;

  flex: 0 0 48px;

  background: linear-gradient(
    90deg,
    rgba(216, 183, 119, 0.9),
    rgba(216, 183, 119, 0.2)
  );
}

/* =========================================================
   08. HERO TITLE
========================================================= */

#beranda .hero-content h1 {
  width: min(100%, 620px);

  margin: 0;

  color: #ffffff;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(3.6rem, 6vw, 5.25rem);

  font-weight: 500;

  line-height: 0.98;

  letter-spacing: -0.045em;

  text-align: left;

  text-wrap: balance;

  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   09. HERO TITLE HIGHLIGHT
========================================================= */

#beranda .hero-content h1 span {
  display: block;

  margin-top: 8px;

  color: #e1bd7a;

  font-weight: 500;

  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   10. HERO DESCRIPTION
========================================================= */

#beranda .hero-description {
  width: min(100%, 560px);

  margin: 28px 0 0;

  color: rgba(255, 255, 255, 0.86);

  font-family: Arial, Helvetica, sans-serif;

  font-size: 1rem;

  font-weight: 400;

  line-height: 1.8;

  letter-spacing: 0.005em;

  text-align: left;

  text-wrap: balance;
}

/* =========================================================
   11. HERO ACTIONS
========================================================= */

#beranda .hero-actions {
  display: flex;

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

  flex-wrap: wrap;

  gap: 14px;

  margin: 34px 0 32px;
}

/* =========================================================
   12. HERO BUTTON BASE
========================================================= */

#beranda .hero-actions .button {
  display: inline-flex;

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

  min-width: 190px;

  min-height: 54px;

  padding: 0 27px;

  border-radius: 6px;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 0.82rem;

  font-weight: 600;

  line-height: 1;

  letter-spacing: 0.01em;

  text-decoration: none;

  white-space: nowrap;

  cursor: pointer;

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

/* =========================================================
   13. PRIMARY BUTTON
========================================================= */

#beranda .hero-actions .button-primary {
  border: 1px solid #e0b96f;

  background: linear-gradient(135deg, #e8c57f 0%, #c99645 100%);

  color: #30281c;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

#beranda .hero-actions .button-primary:hover {
  border-color: #f0cf8c;

  background: linear-gradient(135deg, #f0cf8c 0%, #d5a653 100%);

  color: #241e15;

  transform: translateY(-3px);

  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

/* =========================================================
   14. WHATSAPP BUTTON
========================================================= */

#beranda .hero-actions .button-whatsapp {
  border: 1px solid rgba(255, 255, 255, 0.72);

  background: rgba(255, 255, 255, 0.07);

  color: #ffffff;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

#beranda .hero-actions .button-whatsapp:hover {
  border-color: #ffffff;

  background: rgba(255, 255, 255, 0.15);

  color: #ffffff;

  transform: translateY(-3px);

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   15. HERO FEATURES
========================================================= */

#beranda .hero-features {
  display: flex;

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

  flex-wrap: nowrap;

  gap: 0;

  width: 100%;

  margin: 0;
  padding: 0;

  list-style: none;

  text-align: left;
}

/* =========================================================
   16. HERO FEATURE ITEM
========================================================= */

#beranda .hero-features li {
  display: inline-flex;

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

  gap: 9px;

  min-height: 26px;

  padding-right: 28px;
  margin-right: 28px;

  border-right: 1px solid rgba(255, 255, 255, 0.28);

  color: rgba(255, 255, 255, 0.88);

  font-family: Arial, Helvetica, sans-serif;

  font-size: 0.73rem;

  font-weight: 500;

  line-height: 1;

  letter-spacing: 0.02em;

  text-align: left;

  white-space: nowrap;
}

/* =========================================================
   17. REMOVE LAST DIVIDER
========================================================= */

#beranda .hero-features li:last-child {
  padding-right: 0;
  margin-right: 0;

  border-right: 0;
}

/* =========================================================
   18. FEATURE CHECK ICON
========================================================= */

#beranda .hero-features li span {
  display: inline-flex;

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

  width: 20px;
  height: 20px;

  flex: 0 0 20px;

  border: 1px solid rgba(224, 185, 111, 0.7);

  border-radius: 50%;

  background: rgba(224, 185, 111, 0.12);

  color: #e2bd77;

  font-size: 0.62rem;

  font-weight: 700;
}

/* =========================================================
   19. BUTTON FOCUS
========================================================= */

#beranda .hero-actions .button:focus-visible {
  outline: 2px solid #e2bd77;

  outline-offset: 4px;
}

/* =========================================================
   20. LARGE DESKTOP
   1200px+
========================================================= */

@media (min-width: 1200px) {
  #beranda.hero-section {
    min-height: 740px;
  }

  #beranda .hero-content {
    padding-top: 110px;
    padding-bottom: 110px;
  }

  #beranda .hero-content h1 {
    font-size: clamp(4rem, 5.4vw, 5.5rem);
  }
}

/* =========================================================
   21. TABLET
   769px — 1024px
========================================================= */

@media (min-width: 769px) and (max-width: 1024px) {
  #beranda.hero-section {
    min-height: 650px;

    background-position: 62% center;
  }

  #beranda.hero-section {
    background-image:
      linear-gradient(
        90deg,
        rgba(28, 29, 23, 0.94) 0%,
        rgba(35, 35, 28, 0.87) 30%,
        rgba(42, 41, 31, 0.55) 58%,
        rgba(42, 41, 31, 0.14) 100%
      ),
      url("../assets/images/hero/hero-wedding.png");
  }

  #beranda.hero-section > .container {
    width: min(calc(100% - 50px), 900px);
  }

  #beranda .hero-content {
    width: min(100%, 570px);

    padding-top: 90px;
    padding-bottom: 90px;
  }

  #beranda .hero-label {
    font-size: 0.67rem;

    letter-spacing: 0.24em;
  }

  #beranda .hero-label::after {
    width: 38px;

    flex-basis: 38px;
  }

  #beranda .hero-content h1 {
    font-size: clamp(3.1rem, 6vw, 4.3rem);

    line-height: 1;
  }

  #beranda .hero-description {
    width: min(100%, 510px);

    font-size: 0.9rem;

    line-height: 1.75;
  }

  #beranda .hero-actions {
    margin-top: 29px;

    margin-bottom: 30px;

    gap: 11px;
  }

  #beranda .hero-actions .button {
    min-width: 165px;

    min-height: 50px;

    padding: 0 21px;

    font-size: 0.76rem;
  }

  #beranda .hero-features li {
    padding-right: 18px;
    margin-right: 18px;

    font-size: 0.66rem;
  }
}

/* =========================================================
   22. MOBILE
   320px — 768px
========================================================= */

@media (max-width: 768px) {
  #beranda.hero-section {
    min-height: 700px;

    align-items: flex-end;

    background-image:
      linear-gradient(
        180deg,
        rgba(30, 30, 24, 0.24) 0%,
        rgba(30, 30, 24, 0.6) 38%,
        rgba(25, 26, 21, 0.94) 72%,
        rgba(25, 26, 21, 0.98) 100%
      ),
      url("../assets/images/hero/hero-wedding.png");

    background-position: 64% center;

    background-size: cover;
  }

  #beranda.hero-section::before {
    background: radial-gradient(
      circle at 65% 28%,
      rgba(226, 189, 119, 0.13) 0%,
      rgba(226, 189, 119, 0.04) 32%,
      transparent 65%
    );
  }

  #beranda.hero-section::after {
    height: 50px;

    background: linear-gradient(
      to bottom,
      rgba(255, 253, 249, 0) 0%,
      rgba(255, 253, 249, 0.78) 100%
    );
  }

  #beranda.hero-section > .container {
    width: min(calc(100% - 30px), 620px);
  }

  #beranda .hero-content {
    width: 100%;

    padding-top: 65px;
    padding-bottom: 70px;

    text-align: left;
  }

  #beranda .hero-label {
    gap: 9px;

    margin-bottom: 18px;

    font-size: 0.59rem;

    letter-spacing: 0.18em;
  }

  #beranda .hero-label::after {
    width: 28px;

    flex-basis: 28px;
  }

  #beranda .hero-content h1 {
    width: 100%;

    max-width: 560px;

    font-size: clamp(2.7rem, 11vw, 4rem);

    line-height: 0.99;

    letter-spacing: -0.04em;

    text-align: left;
  }

  #beranda .hero-content h1 span {
    margin-top: 5px;
  }

  #beranda .hero-description {
    width: min(100%, 500px);

    margin-top: 21px;

    font-size: 0.84rem;

    line-height: 1.7;

    text-align: left;
  }

  #beranda .hero-actions {
    align-items: stretch;

    justify-content: flex-start;

    flex-direction: column;

    width: min(100%, 320px);

    margin: 27px 0 27px;

    gap: 9px;
  }

  #beranda .hero-actions .button {
    width: 100%;

    min-width: 0;

    min-height: 48px;

    padding: 0 18px;

    font-size: 0.75rem;
  }

  #beranda .hero-features {
    align-items: center;

    justify-content: flex-start;

    flex-wrap: nowrap;

    gap: 0;

    width: 100%;

    overflow: hidden;
  }

  #beranda .hero-features li {
    flex: 1 1 0;

    gap: 5px;

    min-width: 0;

    padding-right: 10px;

    margin-right: 10px;

    font-size: 0.6rem;

    white-space: nowrap;
  }

  #beranda .hero-features li span {
    width: 17px;
    height: 17px;

    flex-basis: 17px;

    font-size: 0.55rem;
  }
}

/* =========================================================
   23. EXTRA SMALL MOBILE
   320px — 380px
========================================================= */

@media (max-width: 380px) {
  #beranda.hero-section {
    min-height: 680px;

    background-position: 63% center;
  }

  #beranda.hero-section > .container {
    width: calc(100% - 24px);
  }

  #beranda .hero-content {
    padding-top: 55px;
    padding-bottom: 62px;
  }

  #beranda .hero-label {
    gap: 7px;

    margin-bottom: 16px;

    font-size: 0.53rem;

    letter-spacing: 0.14em;
  }

  #beranda .hero-label::after {
    width: 22px;

    flex-basis: 22px;
  }

  #beranda .hero-content h1 {
    font-size: clamp(2.35rem, 10.8vw, 3rem);

    line-height: 1;
  }

  #beranda .hero-description {
    margin-top: 18px;

    font-size: 0.77rem;

    line-height: 1.65;
  }

  #beranda .hero-actions {
    width: min(100%, 285px);

    margin-top: 23px;

    margin-bottom: 23px;
  }

  #beranda .hero-actions .button {
    min-height: 45px;

    font-size: 0.7rem;
  }

  #beranda .hero-features li {
    gap: 4px;

    padding-right: 7px;

    margin-right: 7px;

    font-size: 0.53rem;
  }

  #beranda .hero-features li span {
    width: 15px;
    height: 15px;

    flex-basis: 15px;

    font-size: 0.5rem;
  }
}

/* =========================================================
   24. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  #beranda .hero-actions .button {
    transition: none;
  }
}

/* =========================================================
   END HERO
========================================================= */

/* =========================================================
   14. CATEGORY
   ========================================================= */
#kategori {
  background: #1d1b17;
}

.category-section {
  padding: 80px 0;

  background: var(--color-white);
}

.category-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 18px;
}

.category-card {
  position: relative;

  overflow: hidden;

  border: 1px solid var(--color-border);

  border-radius: var(--radius-medium);

  background: #f7f2eb;

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

  transition: var(--transition);
}

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

  box-shadow: var(--shadow-hover);
}

.category-image {
  position: relative;

  aspect-ratio: 4 / 3;

  overflow: hidden;
}

.category-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.05);
}

.category-content {
  padding: 18px 16px 20px;

  background: #1d1b17;

  text-align: center;
}

.category-icon {
  display: block;

  margin-bottom: 7px;

  font-size: 1.3rem;
}

.category-content h3 {
  margin-bottom: 6px;

  color: #b1922d;

  font-size: 1.15rem;
}

.category-content p {
  margin-bottom: 16px;

  font-size: 0.78rem;
}

.category-content .button {
  min-height: 40px;

  padding-inline: 17px;

  font-size: 0.76rem;

  color: #e6e3da;
}

/* =========================================================
   CATEGORY SECTION — PREMIUM REPEAT ON SCROLL ANIMATION
   ========================================================= */

/*
 * DEFAULT STATE
 *
 * Kategori tetap terlihat secara normal.
 * Ini penting agar section tidak blank apabila JavaScript
 * gagal dijalankan.
 */
#kategori .section-header,
#kategori .category-card {
  opacity: 1;
  transform: none;
  will-change: transform, opacity;
}

/* =========================================================
   STATE SIAP ANIMASI
   =========================================================
 *
 * Class ini hanya diberikan oleh JavaScript ketika section
 * sudah siap untuk menggunakan sistem scroll animation.
 *
 * Tanpa class ini, elemen tetap terlihat.
 */
#kategori.section-reveal-ready .section-header,
#kategori.section-reveal-ready .category-card {
  opacity: 0;
}

/* =========================================================
   KEYFRAMES — DESKTOP
   ========================================================= */

/* HEADER — BOTTOM → TOP */

@keyframes kategoriHeaderReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 45px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* WEDDING — LEFT → CENTER */

@keyframes kategoriWeddingReveal {
  0% {
    opacity: 0;
    transform: translate3d(-70px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* LAMARAN — BOTTOM → TOP */

@keyframes kategoriLamaranReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 60px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* KHITANAN — TOP → BOTTOM */

@keyframes kategoriKhitananReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, -60px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* AQIQAH — RIGHT → CENTER */

@keyframes kategoriAqiqahReveal {
  0% {
    opacity: 0;
    transform: translate3d(70px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* =========================================================
   DESKTOP — SECTION MASUK VIEWPORT
   ========================================================= */

#kategori.section-reveal-visible .section-header {
  animation: kategoriHeaderReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

#kategori.section-reveal-visible .category-card:nth-child(1) {
  animation: kategoriWeddingReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s
    both;
}

#kategori.section-reveal-visible .category-card:nth-child(2) {
  animation: kategoriLamaranReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.3s
    both;
}

#kategori.section-reveal-visible .category-card:nth-child(3) {
  animation: kategoriKhitananReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.42s
    both;
}

#kategori.section-reveal-visible .category-card:nth-child(4) {
  animation:
    kategoriAqiqahReveal 1,
    2s cubic-bezier(0.22, 1, 0.36, 1) 0.54s both;
}

/* =========================================================
   MOBILE KEYFRAMES
   ========================================================= */

@media (max-width: 768px) {
  /* HEADER — BOTTOM → TOP */

  @keyframes kategoriHeaderRevealMobile {
    0% {
      opacity: 0;
      transform: translate3d(0, 30px, 0);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* WEDDING — LEFT → CENTER */

  @keyframes kategoriWeddingRevealMobile {
    0% {
      opacity: 0;
      transform: translate3d(-40px, 0, 0);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* LAMARAN — BOTTOM → TOP */

  @keyframes kategoriLamaranRevealMobile {
    0% {
      opacity: 0;
      transform: translate3d(0, 35px, 0);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* KHITANAN — TOP → BOTTOM */

  @keyframes kategoriKhitananRevealMobile {
    0% {
      opacity: 0;
      transform: translate3d(0, -35px, 0);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* AQIQAH — RIGHT → CENTER */

  @keyframes kategoriAqiqahRevealMobile {
    0% {
      opacity: 0;
      transform: translate3d(40px, 0, 0);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* =======================================================
     MOBILE — SECTION MASUK VIEWPORT
     ======================================================= */

  #kategori.section-reveal-visible .section-header {
    animation:
      kategoriHeaderRevealMobile 1,
      2s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
  }

  #kategori.section-reveal-visible.category-card:nth-child(1) {
    animation:
      kategoriWeddingRevealMobile 1,
      2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  }

  #kategori.section-reveal-visible .category-card:nth-child(2) {
    animation:
      kategoriLamaranRevealMobile 1,
      2s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
  }

  #kategori.section-reveal-visible .category-card:nth-child(3) {
    animation:
      kategoriKhitananRevealMobile 1,
      2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
  }

  #kategori.section-reveal-visible .category-card:nth-child(4) {
    animation:
      kategoriAqiqahRevealMobile 1,
      2s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  #kategori .section-header,
  #kategori .category-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    will-change: auto;
  }
}

/* =========================================================
   15. TEMPLATE SECTION
   ========================================================= */

#template.template-section {
  position: relative;

  width: 100%;

  padding: 82px 0 88px;

  overflow: hidden;

  background: linear-gradient(180deg, #fffdfa 0%, #faf7f0 48%, #f8f3e9 100%);

  border-top: 1px solid rgba(221, 209, 187, 0.45);

  isolation: isolate;
}

#template.template-section::before {
  content: "";

  position: absolute;

  top: 0;

  left: 50%;

  width: min(760px, 78%);

  height: 1px;

  transform: translateX(-50%);

  background: linear-gradient(
    90deg,
    transparent,
    rgba(164, 137, 84, 0.45),
    transparent
  );

  pointer-events: none;
}

#template > .container {
  position: relative;

  z-index: 2;

  width: min(calc(100% - 48px), 1120px);

  max-width: 1120px;

  margin-inline: auto;
}

/* =========================================================
   16. TEMPLATE HEADER
   ========================================================= */

#template .template-header {
  width: min(100%, 780px);

  max-width: 780px;

  margin: 0 auto 38px;

  text-align: center;
}

#template .template-header .section-label {
  position: relative;

  width: fit-content;

  margin: 0 auto 14px;

  color: #a07e48;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.18em;

  line-height: 1.2;

  text-transform: uppercase;
}

#template .template-header .section-label::before,
#template .template-header .section-label::after {
  content: "";

  position: absolute;

  top: 50%;

  width: 34px;

  height: 1px;

  background: rgba(160, 126, 72, 0.48);
}

#template .template-header .section-label::before {
  right: calc(100% + 13px);
}

#template .template-header .section-label::after {
  left: calc(100% + 13px);
}

#template .template-header h2 {
  margin-bottom: 14px;

  font-size: clamp(2rem, 4vw, 2.8rem);
}

#template .template-header > p:last-child {
  max-width: 600px;

  margin-inline: auto;

  font-size: 0.9rem;

  line-height: 1.7;
}

/* =========================================================
   17. TEMPLATE SHOWCASE
   ========================================================= */

.template-showcase {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: 24px;

  width: 100%;

  min-width: 0;
}

/* =========================================================
   18. TEMPLATE FEATURED
   ========================================================= */

.template-featured {
  position: relative;

  min-width: 0;

  display: flex;

  flex-direction: column;

  overflow: hidden;

  border: 1px solid var(--color-border);

  border-radius: var(--radius-medium);

  background: var(--color-white);

  box-shadow: var(--shadow-soft);
}

.template-featured-image {
  position: relative;

  width: 100%;

  aspect-ratio: 4 / 3;

  overflow: hidden;
}

.template-featured-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.template-featured:hover .template-featured-image img {
  transform: scale(1.035);
}

.template-result {
  margin-top: 18px;

  padding-inline: 20px;

  color: var(--color-text-light);

  font-size: 0.78rem;

  text-align: center;
}

.template-result strong {
  color: var(--color-primary);

  font-weight: 700;
}

.template-featured .section-action {
  display: flex;

  justify-content: center;

  margin-top: 15px;

  padding-inline: 20px;
}

.template-featured .section-action .button {
  width: min(100%, 230px);
}

.template-featured-action {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  margin-top: auto;

  padding: 12px 18px 18px;
}

.template-featured-action .template-action {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 44px;

  height: 44px;

  border: 1px solid var(--color-border);

  border-radius: 50%;

  background: var(--color-white);

  color: var(--color-primary);

  font-size: 1.25rem;

  line-height: 1;

  transition: var(--transition);
}

.template-featured-action .template-action:hover {
  background: var(--color-primary);

  border-color: var(--color-primary);

  color: var(--color-white);

  transform: translateX(3px);
}

/* =========================================================
   19. TEMPLATE CARD GRID
   ========================================================= */

#template-list.template-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;

  width: 100%;

  min-width: 0;

  margin: 0;

  padding: 0;
}

.template-card {
  position: relative;

  display: flex;

  flex-direction: column;

  min-width: 0;

  overflow: hidden;

  border: 1px solid var(--color-border);

  border-radius: var(--radius-medium);

  background: var(--color-white);

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

  transition: var(--transition);
}

.template-card:hover {
  transform: translateY(-4px);

  box-shadow: var(--shadow-hover);
}

.template-image {
  position: relative;

  width: 100%;

  aspect-ratio: 4 / 3;

  margin: 0;

  overflow: hidden;
}

.template-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.template-card:hover .template-image img {
  transform: scale(1.04);
}

.template-content {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 10px;

  padding: 14px 15px 15px;
}

.template-category {
  grid-column: 1 / -1;

  color: #a07e48;

  font-size: 0.62rem;

  font-weight: 700;

  letter-spacing: 0.13em;

  text-transform: uppercase;
}

.template-content h3 {
  min-width: 0;

  margin: 0;

  color: var(--color-text);

  font-size: 1rem;
}

.template-actions {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 8px;
}

.template-action {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

  width: 38px;

  height: 38px;

  border: 1px solid var(--color-border);

  border-radius: 50%;

  background: var(--color-white);

  color: var(--color-primary);

  font-size: 1rem;

  line-height: 1;

  transition: var(--transition);
}

.template-action:hover {
  background: var(--color-primary);

  border-color: var(--color-primary);

  color: var(--color-white);

  transform: translateX(2px);
}

/* =========================================================
   20. TEMPLATE EMPTY STATE
   ========================================================= */

.template-empty {
  width: 100%;

  padding: 45px 20px;

  border: 1px solid var(--color-border);

  border-radius: var(--radius-medium);

  background: var(--color-white);

  text-align: center;
}

.template-empty-icon {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 58px;

  height: 58px;

  margin: 0 auto 15px;

  border-radius: 50%;

  background: #f1eee5;

  color: var(--color-gold);

  font-size: 1.4rem;
}

.template-empty h3 {
  margin-bottom: 8px;

  font-size: 1.25rem;
}

.template-empty p {
  max-width: 420px;

  margin: 0 auto 20px;

  color: var(--color-text-light);

  font-size: 0.82rem;

  line-height: 1.6;
}

/* =========================================================
   21. WHATSAPP CTA / KONSULTASI
   ========================================================= */

#konsultasi.whatsapp-cta-section {
  width: 100%;

  padding: 70px 0;

  background: linear-gradient(180deg, #fffdf9 0%, #f8f3e9 100%);
}

#konsultasi .whatsapp-cta-content {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  align-items: stretch;

  width: 100%;

  min-width: 0;

  overflow: hidden;

  border: 1px solid var(--color-border);

  border-radius: var(--radius-large);

  background: var(--color-white);

  box-shadow: var(--shadow-soft);
}

#konsultasi.section-reveal-ready .whatsapp-cta-image {
  width: 100%;

  min-width: 0;

  min-height: 330px;

  overflow: hidden;
}

#konsultasi.section-reveal-ready .whatsapp-cta-image img {
  width: 100%;

  height: 100%;

  min-height: 260px;

  aspect-ratio: 5 / 4;

  object-fit: cover;

  object-position: center;

  transition: transform 0.5s ease;
}

#konsultasi .whatsapp-cta-content:hover .whatsapp-cta-image img {
  transform: scale(1.025);
}

#konsultasi .whatsapp-cta-text {
  min-width: 0;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 42px;

  background: linear-gradient(135deg, #f5f0df 0%, #e7ead8 48%, #d9e1ca 100%);
}

#konsultasi .whatsapp-cta-text .section-label {
  color: var(--color-primary-dark);

  font-size: 0.72rem;
}

#konsultasi .whatsapp-cta-text h2 {
  max-width: 620px;

  margin-bottom: 16px;

  font-size: clamp(1.8rem, 3.4vw, 2.65rem);

  line-height: 1.15;
}

#konsultasi .whatsapp-cta-text > p:not(.section-label) {
  max-width: 570px;

  margin-bottom: 24px;

  font-size: 0.86rem;

  line-height: 1.8;
}

#konsultasi .button-whatsapp {
  width: fit-content;

  min-height: 46px;

  padding-inline: 22px;
}

#konsultasi .cta-benefits {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  align-items: stretch;

  gap: 10px;

  width: 100%;

  margin-top: 22px;
}

#konsultasi .cta-benefits li {
  min-width: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 6px;

  min-height: 38px;

  padding: 8px 6px;

  border: 1px solid rgba(104, 118, 74, 0.18);

  border-radius: 8px;

  background: rgba(255, 255, 255, 0.48);

  color: var(--color-text);

  font-size: 0.72rem;

  font-weight: 600;

  text-align: center;
}

#konsultasi .benefit-icon {
  flex-shrink: 0;

  font-size: 0.9rem;

  line-height: 1;
}

/* =========================================================
   22. PORTFOLIO / GALERI
   =========================================================

   KONSOLIDASI FINAL:
   - Semua style portfolio lama dihapus dari file ini.
   - Tampilan visual tetap mengikuti style portfolio terakhir.
   - Filter selalu terpusat.
   - Konten carousel terpusat di viewport.
   - Mobile menggunakan card lebar viewport dan padding dinamis
     dari main.js agar card aktif dapat benar-benar berada di tengah.
   ========================================================= */

#portfolio .portfolio-section {
  position: relative;

  width: 100%;
  max-width: 100%;

  margin: 0;
  padding: 90px 0 100px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(184, 154, 91, 0.055),
      transparent 45%
    ),
    #fffdf9;

  isolation: isolate;
  box-sizing: border-box;
}

#portfolio,
#portfolio *,
#portfolio *::before,
#portfolio *::after {
  box-sizing: border-box;
}

#portfolio > .container {
  position: relative;

  background: #110b00;

  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  min-width: 0;

  margin-inline: auto;
  padding: 0;

  text-align: center;
}

#portfolio .portfolio-header {
  position: relative;
  z-index: 5;

  width: min(100%, 760px);
  max-width: 760px;

  margin: 0 auto 30px;

  text-align: center;
}

#portfolio .portfolio-header::before {
  content: "✦";

  display: block;

  margin: 0 auto 10px;

  color: #b8954f;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1;
}

#portfolio .portfolio-header .section-label {
  display: inline-flex;

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

  gap: 16px;

  margin: 0 0 13px;

  color: #8a764b;

  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#portfolio .portfolio-header .section-label::before,
#portfolio .portfolio-header .section-label::after {
  content: "";

  display: block;

  width: 52px;
  height: 1px;
  flex: 0 0 52px;

  background: #cdb98b;
}

#portfolio .portfolio-header h2 {
  display: inline-block;

  margin: 0;

  color: #403a31;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

#portfolio .portfolio-header > p:not(.section-label) {
  width: min(100%, 620px);

  margin: 14px auto 0;

  color: var(--color-text-light);

  font-size: 0.88rem;
  line-height: 1.75;
  text-align: center;
}

/* FILTER — SELALU CENTER */
#portfolio .portfolio-filters {
  position: relative;
  z-index: 5;

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

  gap: 9px;

  width: 100%;
  max-width: 850px;

  margin: 0 auto 18px;
  padding: 0;

  overflow: visible;

  text-align: center;
}

#portfolio .portfolio-filter-button {
  display: inline-flex;

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

  flex: 0 0 auto;

  min-height: 38px;

  padding: 9px 18px;

  border: 1px solid #e1d8ca;
  border-radius: 999px;

  background: #ffffff;
  color: #403a31;

  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;

  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;

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

#portfolio .portfolio-filter-button:hover {
  transform: translateY(-1px);

  border-color: #cfc2ad;
  background: #7c5f26;

  color: #ffffff;

  box-shadow: 0 5px 14px rgba(72, 58, 40, 0.08);
}

#portfolio .portfolio-filter-button.is-active,
#portfolio .portfolio-filter-button.active {
  border-color: #78815b;
  background: #7c5f26;
  color: #ffffff;

  box-shadow: 0 7px 18px rgba(93, 103, 68, 0.17);
}

/* RESULT */
#portfolio .portfolio-result {
  display: flex;

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

  width: 100%;
  min-height: 22px;

  margin: 0 auto 28px;

  color: #928878;

  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

#portfolio .portfolio-result strong {
  display: inline-block;
  margin-inline: 4px;

  color: var(--color-primary);
  font-weight: 700;
}

/* CAROUSEL */
#portfolio #portfolio-carousel {
  position: relative;

  width: 100%;
  max-width: 1200px;
  min-width: 0;

  margin-inline: auto;
  overflow: visible;
}

#portfolio #portfolio-carousel-viewport {
  position: relative;

  width: 100%;
  max-width: 1200px;
  min-width: 0;

  margin-inline: auto;
  overflow: hidden;
  isolation: isolate;
}

#portfolio #portfolio-list.portfolio-grid,
#portfolio #portfolio-list.portfolio-carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;

  align-items: stretch;
  justify-content: flex-start;

  width: 100%;
  max-width: none;
  min-width: 0;

  margin: 0;
  padding: 0;
  gap: 0;

  overflow: visible;
  list-style: none;

  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Saat isi tidak memenuhi track, JS menambahkan .is-centered. */
#portfolio #portfolio-list.is-centered {
  justify-content: center;
}

/* CARD */
#portfolio #portfolio-list > .portfolio-card {
  position: relative;

  display: flex;
  flex: 0 0 33.333333%;
  flex-direction: column;

  width: 33.333333%;
  min-width: 0;

  margin: 0;
  padding: 0;

  overflow: hidden;

  border: 0;
  border-radius: 0;

  background: #ffffff;
  box-shadow: none;

  box-sizing: border-box;

  animation: portfolioAppear 0.35s ease;
}

#portfolio #portfolio-list > .portfolio-card:hover {
  transform: none;
  box-shadow: none;
}

#portfolio #portfolio-list > .portfolio-card[hidden] {
  display: none !important;
}

/* IMAGE BUTTON */
#portfolio .portfolio-image-button {
  position: relative;

  display: block;

  width: 100%;
  min-width: 0;
  height: auto;

  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 0;
  outline: none;

  background: transparent;
  color: inherit;

  font: inherit;
  line-height: 0;
  text-align: left;

  cursor: pointer;
  overflow: hidden;

  appearance: none;
  -webkit-appearance: none;
}

#portfolio .portfolio-image-button:focus {
  outline: none;
}

#portfolio .portfolio-image-button:focus-visible {
  outline: 2px solid #c6a15b;
  outline-offset: -3px;
}

/* IMAGE FRAME */
#portfolio .portfolio-image {
  position: relative;

  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;

  margin: 0;
  padding: 0;

  overflow: hidden;
  background: #eee8dc;
  isolation: isolate;
}

#portfolio .portfolio-image img {
  display: block;

  width: 100%;
  height: 100%;
  max-width: none;

  margin: 0;
  padding: 0;

  object-fit: cover;
  object-position: center center;

  transform: scale(1);
  opacity: 1;
  visibility: visible;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  transition:
    transform 0.55s ease,
    filter 0.35s ease;

  user-select: none;
  -webkit-user-drag: none;
}

#portfolio .portfolio-card:hover .portfolio-image img {
  transform: scale(1.035);
}

/* OVERLAY */
#portfolio .portfolio-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

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

  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 20px;

  background: linear-gradient(
    180deg,
    rgba(25, 25, 20, 0.02),
    rgba(25, 25, 20, 0.4)
  );

  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.3s ease;
}

#portfolio .portfolio-card:hover .portfolio-overlay,
#portfolio .portfolio-image-button:focus-visible .portfolio-overlay {
  opacity: 1;
}

#portfolio .portfolio-view-icon {
  display: inline-flex;

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

  width: 46px;
  height: 46px;
  flex: 0 0 46px;

  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;

  background: rgba(35, 35, 30, 0.16);
  color: #ffffff;

  font-size: 1.25rem;
  line-height: 1;

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* CONTENT */
#portfolio .portfolio-content {
  position: relative;
  z-index: 3;

  margin-top: -82px;
  padding: 42px 18px 18px;

  background: linear-gradient(
    to bottom,
    rgba(20, 20, 17, 0),
    rgba(20, 20, 17, 0.78) 55%,
    rgba(20, 20, 17, 0.9) 100%
  );

  color: #ffffff;
  text-align: center;
  pointer-events: none;
}

#portfolio .portfolio-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 22px;
  margin-bottom: 6px;
  padding: 3px 10px;

  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;

  background: rgba(40, 40, 35, 0.5);
  color: #ffffff;

  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

#portfolio .portfolio-content h3 {
  margin: 0 0 6px;

  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.15;
}

#portfolio .portfolio-content p {
  margin: 0;

  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  line-height: 1.55;
}

/* CAROUSEL BUTTONS */
#portfolio #portfolio-carousel-prev,
#portfolio #portfolio-carousel-next {
  position: absolute;
  top: 50%;
  z-index: 20;

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

  width: 44px;
  height: 44px;

  margin: 0;
  padding: 0;

  border: 1px solid rgba(205, 194, 172, 0.65);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.96);
  color: #7c8560;

  font-size: 1.35rem;
  line-height: 1;

  cursor: pointer;
  transform: translateY(-50%);

  box-shadow: 0 8px 24px rgba(72, 58, 40, 0.1);

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

#portfolio #portfolio-carousel-prev {
  left: -22px;
}

#portfolio #portfolio-carousel-next {
  right: -22px;
}

#portfolio #portfolio-carousel-prev:hover,
#portfolio #portfolio-carousel-next:hover {
  background: #7c8560;
  color: #ffffff;

  transform: translateY(-50%) scale(1.04);

  box-shadow: 0 12px 28px rgba(72, 58, 40, 0.16);
}

#portfolio #portfolio-carousel-prev:disabled,
#portfolio #portfolio-carousel-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: translateY(-50%);
}

/* DOTS */
#portfolio #portfolio-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 7px;
  min-height: 12px;

  margin: 20px auto 0;
  padding: 0;
}

#portfolio #portfolio-carousel-dots[hidden] {
  display: none !important;
}

#portfolio #portfolio-carousel-dots button {
  width: 7px;
  height: 7px;

  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 999px;
  background: #d8d0c2;

  cursor: pointer;

  transition:
    width 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

#portfolio #portfolio-carousel-dots button:hover {
  transform: scale(1.15);
}

#portfolio #portfolio-carousel-dots button.active,
#portfolio #portfolio-carousel-dots button.is-active {
  width: 20px;
  background: #78815b;
}

/* EMPTY STATE */
#portfolio .portfolio-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: min(100%, 760px);
  margin: 30px auto 0;
  padding: 45px 20px;

  border: 1px dashed #ddd3c3;
  border-radius: 16px;

  background: #fcfaf5;
  color: var(--color-text-light);
  text-align: center;
}

#portfolio .portfolio-empty[hidden] {
  display: none !important;
}

#portfolio .portfolio-empty-icon {
  margin-bottom: 12px;
  color: var(--color-gold);
  font-size: 2rem;
}

#portfolio .portfolio-empty h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

#portfolio .portfolio-empty p {
  font-size: 0.8rem;
}

@keyframes portfolioAppear {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* TABLET */
@media (max-width: 900px) {
  #portfolio.portfolio-section {
    padding: 75px 0 85px;
  }

  #portfolio > .container {
    width: min(100%, calc(100% - 30px));
  }

  #portfolio .portfolio-header {
    width: min(100%, 650px);
    margin-bottom: 26px;
  }

  #portfolio .portfolio-header h2 {
    font-size: clamp(1.9rem, 5vw, 2.45rem);
  }

  #portfolio .portfolio-filters {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  #portfolio .portfolio-filter-button {
    min-height: 37px;
    padding: 8px 15px;
    font-size: 0.7rem;
  }

  #portfolio #portfolio-list > .portfolio-card {
    flex: 0 0 50%;
    width: 50%;
  }

  #portfolio #portfolio-carousel-prev {
    left: 8px;
  }

  #portfolio #portfolio-carousel-next {
    right: 8px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  #portfolio.portfolio-section {
    padding: 65px 0 70px;
  }

  #portfolio > .container {
    width: calc(100% - 24px);
    max-width: 100%;
    padding: 0;
  }

  #portfolio .portfolio-header {
    width: 100%;
    padding-inline: 6px;
    margin-bottom: 22px;
  }

  #portfolio .portfolio-header::before {
    margin-bottom: 8px;
  }

  #portfolio .portfolio-header .section-label {
    gap: 10px;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  #portfolio .portfolio-header .section-label::before,
  #portfolio .portfolio-header .section-label::after {
    width: 28px;
    flex-basis: 28px;
  }

  #portfolio .portfolio-header h2 {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
  }

  #portfolio .portfolio-header > p:not(.section-label) {
    width: 100%;
    margin-top: 12px;
    font-size: 0.78rem;
    line-height: 1.65;
  }

  #portfolio .portfolio-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    width: 100%;
    max-width: 100%;

    margin: 0 auto 18px;
    padding: 0;
    gap: 8px;

    overflow: visible;
    text-align: center;
  }

  #portfolio .portfolio-filter-button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 13px;
    font-size: 0.68rem;
  }

  #portfolio .portfolio-result {
    min-height: 20px;
    margin-bottom: 20px;
    font-size: 0.68rem;
  }

  #portfolio #portfolio-carousel {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  #portfolio #portfolio-carousel-viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  #portfolio #portfolio-list.portfolio-grid,
  #portfolio #portfolio-list.portfolio-carousel-track {
    width: 100%;
    gap: 0;
  }

  #portfolio #portfolio-list > .portfolio-card {
    flex: 0 0 84vw;
    width: 84vw;
    max-width: none;
  }

  #portfolio .portfolio-image {
    aspect-ratio: 4 / 3;
  }

  #portfolio .portfolio-content {
    margin-top: -76px;
    padding: 40px 17px 17px;
  }

  #portfolio .portfolio-content h3 {
    font-size: 1.05rem;
  }

  #portfolio .portfolio-content p {
    font-size: 0.66rem;
  }

  #portfolio .portfolio-view-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 1.1rem;
  }

  #portfolio #portfolio-carousel-prev,
  #portfolio #portfolio-carousel-next {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  #portfolio #portfolio-carousel-prev {
    left: 7px;
  }

  #portfolio #portfolio-carousel-next {
    right: 7px;
  }

  #portfolio #portfolio-carousel-dots {
    margin-top: 18px;
  }
}

/* SMALL MOBILE */
@media (max-width: 420px) {
  #portfolio > .container {
    width: calc(100% - 18px);
  }

  #portfolio .portfolio-header .section-label {
    gap: 7px;
  }

  #portfolio .portfolio-header .section-label::before,
  #portfolio .portfolio-header .section-label::after {
    width: 22px;
    flex-basis: 22px;
  }

  #portfolio #portfolio-list > .portfolio-card {
    flex-basis: 88vw;
    width: 88vw;
  }

  #portfolio .portfolio-content {
    padding: 38px 16px 16px;
  }
}

/* EXTRA SMALL */
@media (max-width: 340px) {
  #portfolio > .container {
    width: calc(100% - 14px);
  }

  #portfolio .portfolio-filters {
    gap: 6px;
  }

  #portfolio .portfolio-filter-button {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.63rem;
  }

  #portfolio #portfolio-list > .portfolio-card {
    flex-basis: 90vw;
    width: 90vw;
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  #portfolio #portfolio-list.portfolio-grid,
  #portfolio #portfolio-list.portfolio-carousel-track {
    transition: none;
  }

  #portfolio .portfolio-card,
  #portfolio .portfolio-image img,
  #portfolio .portfolio-filter-button,
  #portfolio .portfolio-overlay {
    transition: none;
  }
}

/* =========================================================
   35. TESTIMONIAL
   ========================================================= */

#testimonial.testimonial-section {
  padding: 70px 0;

  overflow: hidden;

  background: var(--color-white);
}

#testimonial .testimonial-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 20px;

  width: 100%;

  min-width: 0;
}

#testimonial .testimonial-card {
  position: relative;

  min-width: 0;

  min-height: 100%;

  padding: 28px 25px;

  border: 1px solid #e5dccd;

  border-radius: 12px;

  background: var(--color-white);

  box-shadow: 0 5px 18px rgba(70, 55, 35, 0.06);

  text-align: center;

  transition: var(--transition);
}

#testimonial .testimonial-card:hover {
  transform: translateY(-4px);

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

#testimonial .testimonial-card::before {
  content: "“";

  display: block;

  margin-bottom: -5px;

  color: var(--color-gold);

  font-family: Georgia, serif;

  font-size: 3rem;

  line-height: 1;
}

#testimonial .testimonial-rating {
  margin-bottom: 15px;

  color: var(--color-gold);

  letter-spacing: 3px;

  font-size: 0.9rem;
}

#testimonial .testimonial-card blockquote {
  margin-bottom: 18px;

  color: var(--color-text);

  font-family: Georgia, serif;

  font-size: 0.9rem;

  line-height: 1.8;
}

#testimonial .testimonial-card cite {
  color: var(--color-text-light);

  font-size: 0.8rem;

  font-style: normal;
}

/* =========================================================
   36. SERVICE AREA
   ========================================================= */

.service-area-section {
  padding: 60px 0;

  background: #f7f1e7;
}

.service-area-list {
  display: flex;

  align-items: center;

  justify-content: center;

  flex-wrap: wrap;

  gap: 10px;
}

.service-area-list span {
  padding: 9px 18px;

  border: 1px solid #ded3c2;

  border-radius: 30px;

  background: rgba(255, 255, 255, 0.8);

  color: var(--color-primary);

  font-size: 0.8rem;

  font-weight: 600;

  box-shadow: 0 3px 8px rgba(70, 55, 35, 0.04);
}

/* =========================================================
   PARTNER & COLLABORATION
   ========================================================= */

#partner {
  width: 100%;
  padding: 55px 0;
  background: linear-gradient(135deg, #000000, #110b00);
  overflow: hidden;
}

#partner .container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 34px;
  /* background: #f1efef; */
  border: none;
  border-radius: 18px;
  /* box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28); */
}

/* =========================================================
   HEADER PARTNER
   ========================================================= */

#partner .section-header {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

#partner .section-header .section-label {
  margin-bottom: 8px;
  color: rgb(180, 174, 170);
}

#partner .section-header h2 {
  margin-bottom: 10px;
  color: #c99645;
}

#partner .section-header > p:not(.section-label) {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

/* =========================================================
   PARTNER LIST
   ========================================================= */

#partner .partner-list {
  width: 100%;

  display: flex;
  flex-wrap: wrap;

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

  gap: 12px;
}

/* =========================================================
   PARTNER ITEM
   Transparan — tanpa background, border, dan shadow
   ========================================================= */

#partner .partner-item {
  min-width: 0;
  flex: 0 1 220px;

  padding: 12px 14px;
  text-align: center;

  background: transparent;
  border: none;
  box-shadow: none;

  border-radius: 0;

  transition:
    transform 0.35s ease,
    opacity 0.35s ease;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hover hanya menggeser item,
   tidak menambahkan kotak/background */
#partner .partner-item:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: translateY(-4px);
}

/* =========================================================
   LOGO PARTNER
   ========================================================= */

#partner .partner-logo {
  width: 100%;
  min-height: 58px;

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

  margin: 0 auto 10px;

  background: transparent;
  border: none;
  box-shadow: none;
}

/* Logo gambar */
#partner .partner-logo img {
  display: block;

  width: auto;
  max-width: 125px;
  max-height: 52px;

  margin-inline: auto;

  object-fit: contain;
}

/* Placeholder LOGO jika belum memakai gambar */
#partner .partner-logo span {
  display: block;

  color: rgba(255, 255, 255, 0.45);

  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* =========================================================
   NAMA PARTNER
   ========================================================= */

#partner .partner-item h3 {
  margin: 0 0 4px;

  color: #ffffff;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 150;

  line-height: 1.2;
}

/* =========================================================
   BIDANG PARTNER
   ========================================================= */

#partner .partner-item > p {
  margin: 0;

  color: rgba(255, 255, 255, 0.55);

  font-size: 13px;
  line-height: 1.45;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  #partner {
    padding: 45px 0;
  }

  #partner .container {
    width: min(100% - 32px, 760px);
    padding: 28px 24px;
    border-radius: 16px;
  }

  #partner .section-header {
    margin-bottom: 24px;
  }

  #partner .partner-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;

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

  #partner .partner-item {
    flex: 0 1 220px;
    padding: 10px 12px;
  }

  #partner .partner-logo {
    min-height: 55px;
  }

  #partner .partner-logo img {
    max-width: 115px;
    max-height: 48px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
  #partner {
    padding: 36px 0;
  }

  #partner .container {
    width: calc(100% - 24px);
    padding: 24px 16px;
    border-radius: 14px;
  }

  #partner .section-header {
    margin-bottom: 20px;
  }

  #partner .section-header > p:not(.section-label) {
    font-size: 14px;
    line-height: 1.55;
  }

  #partner .partner-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 16px 8px;
  }

  #partner .partner-item {
    flex: 0 1 170px;
    padding: 8px 6px;
  }

  #partner .partner-logo {
    min-height: 48px;
    margin-bottom: 8px;
  }

  #partner .partner-logo img {
    max-width: 100px;
    max-height: 60px;
  }

  #partner .partner-logo span {
    font-size: 15px;
  }

  #partner .partner-item h3 {
    font-size: 18px;
    line-height: 1.15;
  }

  #partner .partner-item > p {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* =========================================================
   MOBILE SANGAT KECIL
   ========================================================= */

@media (max-width: 380px) {
  #partner .container {
    width: calc(100% - 18px);
    padding: 20px 12px;
  }

  #partner .partner-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 4px;
  }

  #partner .partner-item {
    flex: 0 1 150px;
    padding: 6px 4px;
  }

  #partner .partner-logo {
    min-height: 44px;
  }

  #partner .partner-logo img {
    max-width: 100px;
    max-height: 180px;
  }

  #partner .partner-item h3 {
    font-size: 12px;
  }

  #partner .partner-item > p {
    font-size: 10px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  #partner .partner-item {
    transition: none;
  }

  #partner .partner-item:hover {
    transform: none;
  }
}

/* =========================================================
   PARTNER — SCROLL REVEAL
   ANIMASI: BOTTOM → TOP
   Dikendalikan oleh main.js universal
   ========================================================= */

/* ---------------------------------------------------------
   KEYFRAME
   --------------------------------------------------------- */

@keyframes partnerRevealFromBottom {
  from {
    opacity: 0;
    transform: translate3d(0, 70px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ---------------------------------------------------------
   READY STATE
   main.js memberikan class:
   #partner.section-reveal-ready

   Semua elemen partner disembunyikan sementara.
   --------------------------------------------------------- */

#partner.section-reveal-ready .section-header,
#partner.section-reveal-ready .partner-item {
  opacity: 0;
  transform: translate3d(0, 70px, 0);
}

/* ---------------------------------------------------------
   VISIBLE STATE
   main.js memberikan class:
   #partner.section-reveal-visible

   Semua elemen muncul dari bawah ke atas.
   --------------------------------------------------------- */

#partner.section-reveal-visible .section-header {
  animation: partnerRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s
    forwards;

  will-change: transform, opacity;
}

/* PARTNER 1 */

#partner.section-reveal-visible .partner-item:nth-child(1) {
  animation: partnerRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s
    forwards;

  will-change: transform, opacity;
}

/* PARTNER 2 */

#partner.section-reveal-visible .partner-item:nth-child(2) {
  animation: partnerRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.5s
    forwards;

  will-change: transform, opacity;
}

/* PARTNER 3 */

#partner.section-reveal-visible .partner-item:nth-child(3) {
  animation: partnerRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.65s
    forwards;

  will-change: transform, opacity;
}

/* PARTNER 4 */

#partner.section-reveal-visible .partner-item:nth-child(4) {
  animation: partnerRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.8s
    forwards;

  will-change: transform, opacity;
}

/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  #partner.section-reveal-ready .section-header,
  #partner.section-reveal-ready .partner-item,
  #partner.section-reveal-visible .section-header,
  #partner.section-reveal-visible .partner-item {
    opacity: 1;
    transform: none;
    animation: none;
    will-change: auto;
  }
}

/* =========================================================
   37. FINAL CTA
   ========================================================= */

.final-cta-section {
  position: relative;

  padding: 85px 0;

  overflow: hidden;

  background: linear-gradient(135deg, #15180e, #110b00);

  color: var(--color-white);

  text-align: center;
}

.final-cta-section::before,
.final-cta-section::after {
  content: "✦";

  position: absolute;

  color: rgba(255, 255, 255, 0.16);

  font-size: 5rem;

  pointer-events: none;
}

.final-cta-section::before {
  left: 8%;

  top: 20%;
}

.final-cta-section::after {
  right: 8%;

  bottom: 10%;
}

.final-cta-content {
  position: relative;

  z-index: 2;

  width: min(100%, 750px);

  max-width: 750px;

  margin-inline: auto;
}

.final-cta-content .section-label {
  color: var(--color-gold-light);
}

.final-cta-content h2 {
  margin-bottom: 20px;

  color: var(--color-white);

  font-size: clamp(2rem, 4vw, 3rem);

  line-height: 1.15;
}

.final-cta-content > p {
  max-width: 600px;

  margin: 0 auto 30px;

  color: rgba(255, 255, 255, 0.85);

  font-size: 0.9rem;

  line-height: 1.8;
}

.final-cta-actions {
  display: flex;

  align-items: center;

  justify-content: center;

  flex-wrap: wrap;

  gap: 12px;
}

.final-cta-actions .button:not(.button-whatsapp) {
  border-color: var(--color-white);

  color: var(--color-white);
}

.final-cta-actions .button:not(.button-whatsapp):hover {
  background: var(--color-white);

  color: var(--color-primary);
}

/* =========================================================
   38. FOOTER
   ========================================================= */

.site-footer {
  position: relative;

  padding: 50px 0 15px;

  background: #f5efe3;

  border-top: 1px solid var(--color-border);
}

.site-footer::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 3px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--color-gold),
    transparent
  );
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.4fr
    1fr
    1fr
    1.2fr;

  gap: 35px;

  padding-bottom: 40px;
}

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

.footer-column h2 {
  margin-bottom: 18px;

  color: var(--color-text);

  font-family: Arial, Helvetica, sans-serif;

  font-size: 0.95rem;

  font-weight: 700;
}

.footer-column > p {
  max-width: 360px;

  font-size: 0.8rem;

  line-height: 1.7;
}

.footer-brand {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 15px;
}

.footer-brand img {
  width: 48px;

  height: auto;

  object-fit: contain;
}

.footer-brand span {
  color: var(--color-primary);

  font-family: Georgia, "Times New Roman", serif;

  font-size: 1.25rem;

  font-style: italic;
}

.footer-column nav ul {
  display: flex;

  flex-direction: column;

  gap: 9px;
}

.footer-column nav a {
  color: var(--color-text-light);

  font-size: 0.78rem;

  transition: var(--transition);
}

.footer-column nav a:hover {
  color: var(--color-primary);

  transform: translateX(2px);
}

.footer-column address {
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.footer-column address p {
  font-size: 0.78rem;

  line-height: 1.6;
}

.footer-column address a {
  color: var(--color-primary);

  font-weight: 600;
}

.footer-column .button-whatsapp {
  margin-top: 15px;

  min-height: 40px;

  padding-inline: 17px;

  font-size: 0.76rem;
}

.social-links {
  display: flex !important;

  flex-direction: column;

  gap: 8px !important;

  margin-top: 17px;
}

.social-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  width: fit-content;
}

.social-icon {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 25px;

  height: 25px;

  border: 1px solid var(--color-border);

  border-radius: 50%;

  background: var(--color-white);

  color: var(--color-primary);

  font-size: 0.75rem;

  transition: var(--transition);
}

.social-link:hover .social-icon {
  background: var(--color-primary);

  border-color: var(--color-primary);

  color: var(--color-white);
}

.footer-bottom {
  padding-top: 15px;

  border-top: 1px solid var(--color-border);

  text-align: center;
}

.footer-bottom p {
  color: #777063;

  font-size: 0.7rem;
}

/* =========================================================
   39. BACK TO TOP
   ========================================================= */

.back-to-top {
  position: fixed;

  right: 25px;

  bottom: 25px;

  z-index: 900;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 44px;

  height: 44px;

  border: 1px solid var(--color-border);

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.96);

  color: var(--color-primary);

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

  opacity: 0;

  visibility: hidden;

  transform: translateY(10px);

  transition: var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary);

  border-color: var(--color-primary);

  color: var(--color-white);
}

/* =========================================================
   40. TEMPLATE DETAIL PAGE
   ========================================================= */

.template-detail-section {
  padding: 50px 0 80px;

  background: var(--color-ivory);
}

.template-detail-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(0, 0.85fr);

  gap: 45px;

  align-items: start;
}

.template-detail-main-image {
  overflow: hidden;

  border-radius: var(--radius-medium);

  background: var(--color-white);

  box-shadow: var(--shadow-soft);
}

.template-detail-main-image img {
  width: 100%;

  height: auto;

  object-fit: cover;
}

.template-detail-info {
  min-width: 0;
}

.template-detail-info .detail-category {
  display: inline-block;

  margin-bottom: 10px;

  color: var(--color-primary);

  font-size: 0.7rem;

  font-weight: 700;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}

.template-detail-info h1 {
  margin-bottom: 15px;

  font-size: clamp(2rem, 4vw, 3.2rem);
}

.template-detail-description {
  margin-bottom: 25px;

  font-size: 0.88rem;

  line-height: 1.8;
}

.detail-price {
  display: flex;

  flex-direction: column;

  gap: 4px;

  margin-bottom: 20px;
}

.detail-price span {
  color: var(--color-text-light);

  font-size: 0.75rem;
}

.detail-price strong {
  color: var(--color-primary);

  font-family: Georgia, serif;

  font-size: 1.5rem;
}

.detail-whatsapp {
  width: 100%;

  min-height: 50px;
}

.detail-note {
  margin-top: 15px;

  font-size: 0.72rem;

  line-height: 1.6;
}

.detail-package-section {
  margin-top: 80px;
}

.package-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 15px;
}

.package-item {
  display: flex;

  align-items: center;

  gap: 12px;

  min-height: 65px;

  padding: 15px;

  border: 1px solid var(--color-border);

  border-radius: 10px;

  background: var(--color-white);

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

  font-size: 0.85rem;
}

.package-check {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

  width: 28px;

  height: 28px;

  border-radius: 50%;

  background: #edf1e6;

  color: var(--color-primary);

  font-weight: 700;
}

.package-empty {
  grid-column: 1 / -1;

  padding: 30px;

  border: 1px solid var(--color-border);

  border-radius: 10px;

  text-align: center;
}

.detail-notes {
  max-width: 850px;

  margin: 80px auto 0;

  padding: 35px;

  border: 1px solid var(--color-border);

  border-radius: 12px;

  background: #f8f3e9;
}

.detail-notes h2 {
  margin-bottom: 18px;

  font-size: 1.6rem;
}

.detail-notes-content {
  display: flex;

  flex-direction: column;

  gap: 10px;
}

.detail-notes-content p {
  font-size: 0.82rem;

  line-height: 1.8;
}

.detail-back {
  display: flex;

  justify-content: center;

  margin-top: 40px;
}

/* =========================================================
   41. GENERIC MODAL / PORTFOLIO LIGHTBOX
   =========================================================

   IMPORTANT:
   Tidak menggunakan selector lama:
   - (legacy selector omitted)
   - (legacy selector omitted)-image
   - (legacy selector omitted)-close
   - (legacy selector omitted)-prev
   - (legacy selector omitted)-next
   - (legacy selector omitted)
   - (legacy selector omitted)
   - (legacy selector omitted)
   - (legacy selector omitted)
   - (legacy selector omitted)
   - (legacy selector omitted)
   - (legacy selector omitted)
   - (legacy selector omitted)
   - (legacy selector omitted)

   Modal ditargetkan melalui struktur ARIA
   yang dihasilkan JavaScript.
   ========================================================= */

body
  > div:has(> [role="dialog"][aria-modal="true"])
  > [role="dialog"][aria-modal="true"] {
  position: fixed;

  inset: 0;

  z-index: 3000;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 100vw;

  min-width: 0;

  padding: 55px 70px 35px;

  overflow: hidden;

  background: rgba(20, 20, 17, 0.92);

  backdrop-filter: blur(6px);

  -webkit-backdrop-filter: blur(6px);
}

body
  > div:has(> [role="dialog"][aria-modal="true"])
  > [role="dialog"][aria-modal="true"]
  figure {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  justify-content: center;

  width: auto;

  max-width: 100%;

  max-height: 100%;

  margin: 0;
}

body
  > div:has(> [role="dialog"][aria-modal="true"])
  > [role="dialog"][aria-modal="true"]
  figure
  img {
  display: block;

  width: auto;

  max-width: min(86vw, 1100px);

  max-height: 78dvh;

  height: auto;

  object-fit: contain;

  border-radius: 8px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

body
  > div:has(> [role="dialog"][aria-modal="true"])
  > [role="dialog"][aria-modal="true"]
  figcaption {
  position: absolute;

  left: 50%;

  bottom: 15px;

  z-index: 4;

  width: min(calc(100vw - 140px), 1000px);

  transform: translateX(-50%);

  color: var(--color-white);

  text-align: center;
}

body
  > div:has(> [role="dialog"][aria-modal="true"])
  > [role="dialog"][aria-modal="true"]
  figcaption
  h2 {
  color: var(--color-white);

  font-size: 1.1rem;
}

body
  > div:has(> [role="dialog"][aria-modal="true"])
  > [role="dialog"][aria-modal="true"]
  figcaption
  p {
  margin-top: 3px;

  color: rgba(255, 255, 255, 0.78);

  font-size: 0.72rem;
}

body
  > div:has(> [role="dialog"][aria-modal="true"])
  > [role="dialog"][aria-modal="true"]
  button {
  position: fixed;

  z-index: 10;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 46px;

  height: 46px;

  border: 1px solid rgba(255, 255, 255, 0.45);

  border-radius: 50%;

  background: rgba(0, 0, 0, 0.28);

  color: var(--color-white);

  font-size: 1.5rem;

  line-height: 1;

  transition: var(--transition);
}

body
  > div:has(> [role="dialog"][aria-modal="true"])
  > [role="dialog"][aria-modal="true"]
  button:hover {
  background: rgba(0, 0, 0, 0.58);

  transform: scale(1.04);
}

body
  > div:has(> [role="dialog"][aria-modal="true"])
  > [role="dialog"][aria-modal="true"]
  button[aria-label*="sebelumnya"] {
  left: 22px;

  top: 50%;

  transform: translateY(-50%);
}

body
  > div:has(> [role="dialog"][aria-modal="true"])
  > [role="dialog"][aria-modal="true"]
  button[aria-label*="sebelumnya"]:hover {
  transform: translateY(-50%) scale(1.04);
}

body
  > div:has(> [role="dialog"][aria-modal="true"])
  > [role="dialog"][aria-modal="true"]
  button[aria-label*="berikutnya"] {
  right: 22px;

  top: 50%;

  transform: translateY(-50%);
}

body
  > div:has(> [role="dialog"][aria-modal="true"])
  > [role="dialog"][aria-modal="true"]
  button[aria-label*="berikutnya"]:hover {
  transform: translateY(-50%) scale(1.04);
}

body
  > div:has(> [role="dialog"][aria-modal="true"])
  > [role="dialog"][aria-modal="true"]
  button[aria-label*="Tutup"] {
  top: 18px;

  right: 22px;

  font-size: 1.35rem;
}

/* =========================================================
   18. TABLET
   ========================================================= */

@media (max-width: 1100px) {
  .site-header > .container,
  .header-container {
    width: min(100% - 36px, 1180px);

    gap: 20px;
  }

  .main-navigation ul {
    gap: 20px;
  }

  .main-navigation a {
    font-size: 0.82rem;
  }

  .header-action {
    margin-left: 4px;
  }

  .header-action a {
    padding: 0 17px;

    font-size: 0.78rem;
  }
}

/* =========================================================
   19. MOBILE
   ========================================================= */

@media (max-width: 900px) {
  .site-header > .container,
  .header-container {
    min-height: 72px;

    width: min(100% - 32px, 1180px);
  }

  /* -----------------------------------------
     MOBILE BUTTON
     ----------------------------------------- */

  .mobile-menu-toggle {
    display: block;

    margin-left: auto;
  }

  /* -----------------------------------------
     DESKTOP ACTION
     ----------------------------------------- */

  .header-action {
    display: none;
  }

  /* -----------------------------------------
     MOBILE NAVIGATION
     ----------------------------------------- */

  .main-navigation {
    position: absolute;

    top: calc(100% + 10px);

    right: 0;

    width: min(280px, calc(100vw - 32px));

    margin: 0;

    padding: 14px;

    background: rgba(35, 34, 25, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 14px;

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-8px);

    pointer-events: none;

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

  /* -----------------------------------------
     MOBILE NAV OPEN
     ----------------------------------------- */

  .main-navigation.is-open {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
  }

  /* -----------------------------------------
     MOBILE LIST
     ----------------------------------------- */

  .main-navigation ul {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 2px;

    width: 100%;
  }

  /* -----------------------------------------
     MOBILE LINK
     ----------------------------------------- */

  .main-navigation a {
    display: flex;

    width: 100%;

    padding: 13px 12px;

    color: rgba(255, 255, 255, 0.92);

    border-radius: 8px;

    text-shadow: none;
  }

  .main-navigation a:hover,
  .main-navigation a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.08);

    color: #e7c77b;
  }

  .main-navigation a::after {
    display: none;
  }
}

/* =========================================================
   20. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
  .site-header > .container,
  .header-container {
    width: calc(100% - 24px);

    min-height: 68px;
  }

  .brand img {
    width: 50px;
    height: 50px;

    flex-basis: 50px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-tagline {
    font-size: 0.55rem;
  }

  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
  }
}

/* =========================================================
   44. MOBILE — 767px
   ========================================================= */

@media (max-width: 768px) {
  .brand-name {
    font-size: 1.2rem;
  }

  .brand-tagline {
    display: none;
  }

  .section-header {
    width: 100%;

    margin-bottom: 30px;
  }

  .section-header h2::before,
  .section-header h2::after {
    display: none;
  }

  .category-section,
  .template-section,
  #konsultasi.whatsapp-cta-section,
  #testimonial.testimonial-section {
    padding-top: 60px;

    padding-bottom: 60px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;
  }

  .category-content {
    padding: 15px 10px;
  }

  .category-content h3 {
    font-size: 1.05rem;
  }

  .category-content p {
    font-size: 0.7rem;
  }

  #template > .container {
    width: calc(100% - 32px);

    max-width: 620px;
  }

  .template-showcase {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .template-featured {
    width: 100%;
  }

  #template-list.template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;
  }

  .template-content {
    padding: 13px 12px 14px;
  }

  .template-content h3 {
    font-size: 0.95rem;
  }

  .template-action {
    width: 36px;

    height: 36px;
  }

  #konsultasi .whatsapp-cta-content {
    grid-template-columns: 1fr;

    width: 100%;
  }

  #konsultasi.section-reveal-ready .whatsapp-cta-image {
    min-height: 0;

    height: auto;
  }

  #konsultasi.section-reveal-ready .whatsapp-cta-image img {
    width: 100%;

    height: auto;

    min-height: 0;

    max-height: 300px;

    object-fit: cover;
  }

  #konsultasi.section-reveal-ready .whatsapp-cta-text {
    padding: 32px 26px;
  }

  #konsultasi.section-reveal-ready .whatsapp-cta-text h2 {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
  }

  #konsultasi .whatsapp-cta-text > p:not(.section-label) {
    font-size: 0.82rem;
  }

  #konsultasi .cta-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 7px;
  }

  #konsultasi .cta-benefits li {
    min-height: 42px;

    padding: 7px 4px;

    font-size: 0.65rem;

    line-height: 1.25;
  }

  #konsultasi .benefit-icon {
    font-size: 0.78rem;
  }

  #testimonial .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 10px;
  }

  #testimonial .testimonial-card {
    padding: 22px 14px;
  }

  #testimonial .testimonial-card blockquote {
    font-size: 0.78rem;

    line-height: 1.65;
  }

  #testimonial .testimonial-card cite {
    font-size: 0.68rem;
  }

  .service-area-list {
    gap: 8px;
  }

  .service-area-list span {
    padding: 8px 14px;

    font-size: 0.75rem;
  }

  .final-cta-section {
    padding: 70px 0;
  }

  .final-cta-actions {
    flex-direction: column;

    align-items: stretch;

    width: min(100%, 300px);

    margin-inline: auto;
  }

  .final-cta-actions .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 30px;
  }

  .template-detail-layout {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .template-detail-info {
    max-width: 700px;

    margin-inline: auto;
  }

  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"] {
    padding: 58px 50px 35px;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    figure
    img {
    max-width: calc(100vw - 100px);

    max-height: calc(100dvh - 175px);
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    figcaption {
    width: calc(100vw - 100px);

    max-width: 100%;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    button {
    width: 36px;

    height: 36px;

    font-size: 1.1rem;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    button[aria-label*="sebelumnya"] {
    left: 14px;

    font-size: 1.1rem;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    button[aria-label*="berikutnya"] {
    right: 14px;

    font-size: 1.1rem;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    button[aria-label*="Tutup"] {
    top: 14px;

    right: 14px;

    font-size: 1.05rem;
  }
}

/* =========================================================
   45. MOBILE — 600px
   ========================================================= */

@media (max-width: 600px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  #template > .container {
    width: calc(100% - 28px);
  }

  .template-featured-image {
    aspect-ratio: 4 / 3;
  }

  #template-list.template-grid {
    grid-template-columns: 1fr;

    gap: 14px;
  }

  .template-card {
    border-radius: 12px;
  }

  .template-image {
    aspect-ratio: 4 / 3;

    border-radius: 8px;
  }

  .template-content {
    padding: 14px 12px;
  }

  .template-content h3 {
    font-size: 1rem;
  }

  #konsultasi .whatsapp-cta-text {
    padding: 28px 20px 30px;
  }

  #konsultasi.section-reveal-ready .whatsapp-cta-image img {
    max-height: 240px;
  }

  #konsultasi .whatsapp-cta-text .section-label {
    font-size: 0.62rem;
  }

  #konsultasi .whatsapp-cta-text h2 {
    max-width: 100%;

    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }

  #konsultasi .whatsapp-cta-text > p:not(.section-label) {
    max-width: 100%;

    font-size: 0.76rem;
  }

  #konsultasi .button-whatsapp {
    width: min(100%, 240px);

    min-height: 42px;

    font-size: 0.7rem;
  }

  #konsultasi .cta-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 5px;

    margin-top: 18px;
  }

  #konsultasi .cta-benefits li {
    min-height: 40px;

    padding: 6px 3px;

    gap: 3px;

    font-size: 0.58rem;

    white-space: normal;
  }

  #konsultasi .benefit-icon {
    font-size: 0.72rem;
  }

  #testimonial .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 6px;
  }

  #testimonial .testimonial-card {
    padding: 18px 7px;
  }

  #testimonial .testimonial-card::before {
    margin-bottom: -4px;

    font-size: 2.1rem;
  }

  #testimonial .testimonial-rating {
    margin-bottom: 8px;

    letter-spacing: 1px;

    font-size: 0.62rem;
  }

  #testimonial .testimonial-card blockquote {
    margin-bottom: 10px;

    font-size: 0.62rem;

    line-height: 1.5;
  }

  #testimonial .testimonial-card cite {
    font-size: 0.56rem;
  }

  .service-area-list {
    flex-direction: column;

    width: 100%;
  }

  .service-area-list span {
    width: min(100%, 320px);

    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .footer-column > p {
    max-width: 100%;
  }

  .final-cta-actions {
    width: 100%;
  }

  .back-to-top {
    right: 15px;

    bottom: 15px;

    width: 40px;

    height: 40px;
  }

  .template-detail-section {
    padding: 30px 0 60px;
  }

  .template-detail-layout {
    gap: 25px;
  }

  .template-detail-main-image {
    border-radius: 12px;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .detail-notes {
    margin-top: 55px;

    padding: 25px 18px;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"] {
    padding: 58px 44px 24px;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    figure {
    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 100%;

    max-width: 100%;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    figure
    img {
    max-width: calc(100vw - 88px);

    max-height: calc(100dvh - 175px);

    border-radius: 7px;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    figcaption {
    position: static;

    left: auto;

    bottom: auto;

    width: 100%;

    max-width: 100%;

    margin-top: 10px;

    transform: none;

    text-align: center;

    box-sizing: border-box;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    figcaption
    h2 {
    font-size: 0.9rem;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    figcaption
    p {
    font-size: 0.62rem;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    button {
    width: 32px;

    height: 32px;

    font-size: 1rem;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    button[aria-label*="sebelumnya"] {
    left: 14px;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    button[aria-label*="berikutnya"] {
    right: 14px;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    button[aria-label*="Tutup"] {
    top: 14px;

    right: 14px;

    font-size: 1rem;
  }
}

/* =========================================================
   46. VERY SMALL PHONE — 380px
   ========================================================= */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 20px);
  }

  .site-header > .container,
  .header-container {
    min-height: 60px;

    gap: 8px;
  }

  .brand img,
  .brand a img,
  .site-header .brand img {
    width: 44px;
  }

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

  .mobile-menu-toggle {
    width: 38px;

    height: 38px;
  }

  .mobile-menu-toggle span {
    width: 18px;
  }

  #template > .container {
    width: calc(100% - 20px);
  }

  #konsultasi .whatsapp-cta-text {
    padding: 24px 14px 27px;
  }

  #konsultasi .whatsapp-cta-text h2 {
    font-size: 1.4rem;
  }

  #konsultasi .whatsapp-cta-text > p:not(.section-label) {
    font-size: 0.68rem;
  }

  #konsultasi .cta-benefits {
    gap: 3px;
  }

  #konsultasi .cta-benefits li {
    min-height: 38px;

    padding: 5px 2px;

    font-size: 0.51rem;
  }

  #konsultasi .benefit-icon {
    font-size: 0.65rem;
  }

  #testimonial .testimonial-grid {
    gap: 4px;
  }

  #testimonial .testimonial-card {
    padding: 15px 5px;
  }

  #testimonial .testimonial-rating {
    font-size: 0.55rem;

    letter-spacing: 0;
  }

  #testimonial .testimonial-card blockquote {
    font-size: 0.55rem;
  }

  #testimonial .testimonial-card cite {
    font-size: 0.5rem;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"] {
    padding: 58px 42px 25px;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    figure
    img {
    max-width: calc(100vw - 84px);

    max-height: calc(100dvh - 165px);
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    button {
    width: 29px;

    height: 29px;

    font-size: 0.9rem;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    button[aria-label*="sebelumnya"] {
    left: 12px;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    button[aria-label*="berikutnya"] {
    right: 12px;
  }

  body
    > div:has(> [role="dialog"][aria-modal="true"])
    > [role="dialog"][aria-modal="true"]
    button[aria-label*="Tutup"] {
    top: 12px;

    right: 12px;

    font-size: 0.9rem;
  }
}

/* =========================================================
   47. FOCUS / ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-gold);

  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* =========================================================
   48. REDUCED MOTION
   ========================================================= */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

    scroll-behavior: auto !important;
  }

  #konsultasi .whatsapp-cta-content:hover .whatsapp-cta-image img {
    transform: none;
  }
}

/* =========================================================
   49. FINAL SAFETY
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;

  overflow-x: hidden;
}

main,
section,
.container,
.site-header,
.site-footer {
  min-width: 0;
  max-width: 100%;
}

#template-list {
  min-width: 0;
}

#konsultasi .whatsapp-cta-content {
  min-width: 0;

  max-width: 100%;
}

/* =========================================================
   TEMPLATE SECTION — PREMIUM REPEAT ON SCROLL ANIMATION
   ========================================================= */

/*
 * DEFAULT STATE
 *
 * Section tetap terlihat apabila JavaScript gagal.
 * Tidak boleh ada kondisi default opacity: 0.
 */
#template .template-header,
#template .template-featured,
#template .template-grid {
  opacity: 1;
  transform: none;
  will-change: transform, opacity;
}

/* =========================================================
   STATE SIAP ANIMASI
   =========================================================
 *
 * Class ini hanya diberikan oleh JavaScript setelah
 * section berhasil dipersiapkan untuk IntersectionObserver.
 */
#template.section-reveal-ready .template-header,
#template.section-reveal-ready .template-featured,
#template.section-reveal-ready .template-grid {
  opacity: 0;
}

/* =========================================================
   KEYFRAMES — DESKTOP
   ========================================================= */

/* HEADER
   BOTTOM → TOP
 */
@keyframes templateHeaderReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 55px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* FEATURED
   LEFT → CENTER
 */
@keyframes templateFeaturedReveal {
  0% {
    opacity: 0;
    transform: translate3d(-80px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* TEMPLATE GRID
   RIGHT → CENTER
 */
@keyframes templateGridReveal {
  0% {
    opacity: 0;
    transform: translate3d(80px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* =========================================================
   DESKTOP — ANIMATION ACTIVE
   ========================================================= */

#template.section-reveal-visible .template-header {
  animation: templateHeaderReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.05s
    both;
}

#template.section-reveal-visible .template-featured {
  animation: templateFeaturedReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s
    both;
}

#template.section-reveal-visible .template-grid {
  animation: templateGridReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
  /* HEADER — BOTTOM → TOP */

  @keyframes templateHeaderRevealMobile {
    0% {
      opacity: 0;
      transform: translate3d(0, 35px, 0);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* FEATURED — LEFT → CENTER */

  @keyframes templateFeaturedRevealMobile {
    0% {
      opacity: 0;
      transform: translate3d(-45px, 0, 0);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* GRID — RIGHT → CENTER */

  @keyframes templateGridRevealMobile {
    0% {
      opacity: 0;
      transform: translate3d(45px, 0, 0);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* =======================================================
     MOBILE — ANIMATION ACTIVE
     ======================================================= */

  #template.section-reveal-visible .template-header {
    animation: templateHeaderRevealMobile 0.72s cubic-bezier(0.22, 1, 0.36, 1)
      0.05s both;
  }

  #template.section-reveal-visible .template-featured {
    animation: templateFeaturedRevealMobile 0.78s cubic-bezier(0.22, 1, 0.36, 1)
      0.15s both;
  }

  #template.section-reveal-visible .template-grid {
    animation: templateGridRevealMobile 0.78s cubic-bezier(0.22, 1, 0.36, 1)
      0.28s both;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  #template .template-header,
  #template .template-featured,
  #template .template-grid {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    will-change: auto;
  }
}

/* =========================================================
   BAJU BODO — PREMIUM COLLECTION
   Visual:
   - Foto utama = background collection
   - Semua .baju-bodo-card overlay di atas background
   - Warm beige / cream / gold
   ========================================================= */

/* ---------------------------------------------------------
   1. SECTION UTAMA
   --------------------------------------------------------- */

#baju-bodo.baju-bodo-section {
  --baju-bodo-bg: #eadcc8;
  --baju-bodo-cream: #f8f0e3;
  --baju-bodo-cream-soft: rgba(248, 240, 227, 0.94);
  --baju-bodo-gold: #a77b36;
  --baju-bodo-gold-dark: #6d4a20;
  --baju-bodo-brown: #4f351c;
  --baju-bodo-text: #5d4a36;
  --baju-bodo-white: #fffaf2;

  position: relative;
  overflow: hidden;

  background: radial-gradient(
    circle at 50% 15%,
    rgba(255, 250, 240, 0.92),
    rgba(239, 226, 207, 0.96) 55%,
    rgba(222, 204, 178, 0.98) 100%
  );

  color: var(--baju-bodo-text);
}

/* ---------------------------------------------------------
   2. CONTAINER
   --------------------------------------------------------- */

#baju-bodo.baju-bodo-section > .container {
  position: relative;
  width: min(100% - 48px, 1460px);
  margin-inline: auto;

  padding-top: 100px;
  padding-bottom: 100px;

  isolation: isolate;
}

/* ---------------------------------------------------------
   3. HEADER
   --------------------------------------------------------- */

#baju-bodo .baju-bodo-header {
  position: relative;
  z-index: 10;

  max-width: 950px;
  margin: 0 auto 42px;

  text-align: center;
}

#baju-bodo .baju-bodo-header .section-label {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 22px;

  margin: 0 0 8px;

  color: var(--baju-bodo-gold-dark);

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

#baju-bodo .baju-bodo-header .section-label::before,
#baju-bodo .baju-bodo-header .section-label::after {
  content: "";

  width: 62px;
  height: 1px;

  background: linear-gradient(90deg, transparent, var(--baju-bodo-gold));
}

#baju-bodo .baju-bodo-header .section-label::after {
  background: linear-gradient(90deg, var(--baju-bodo-gold), transparent);
}

#baju-bodo .baju-bodo-header h2 {
  position: relative;

  margin: 0;

  color: var(--baju-bodo-brown);

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(58px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.95;

  letter-spacing: -0.045em;
}

#baju-bodo .baju-bodo-header h2::after {
  content: "✦";

  display: block;

  margin: 15px auto 12px;

  color: var(--baju-bodo-gold);

  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1;
}

#baju-bodo .baju-bodo-header > p:last-child {
  max-width: 820px;

  margin: 18px auto 0;

  color: #695844;

  font-size: 16px;
  line-height: 1.75;
}

/* ---------------------------------------------------------
   4. FEATURED = BACKGROUND BESAR
   --------------------------------------------------------- */

#baju-bodo .baju-bodo-featured {
  position: relative;
  z-index: 1;

  width: 100%;

  min-height: 650px;

  margin: 0;

  border: 2px solid rgba(255, 250, 240, 0.9);
  border-radius: 28px;

  overflow: hidden;

  background: #d9c2a2;

  box-shadow:
    0 24px 70px rgba(79, 53, 28, 0.16),
    0 8px 25px rgba(79, 53, 28, 0.08);
}

/* ---------------------------------------------------------
   5. FOTO UTAMA MENJADI BACKGROUND
   --------------------------------------------------------- */

#baju-bodo .baju-bodo-featured-image {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  margin: 0;

  z-index: 0;

  overflow: hidden;
}

#baju-bodo .baju-bodo-featured-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(247, 237, 222, 0.14) 0%,
    rgba(247, 237, 222, 0.04) 38%,
    rgba(72, 47, 24, 0.1) 100%
  );

  pointer-events: none;
}

#baju-bodo .baju-bodo-featured-image img {
  display: block;

  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;

  object-fit: cover;
  object-position: center;

  transform: scale(1.01);

  filter: saturate(0.88) contrast(0.96) brightness(1.04);

  transition: transform 0.8s ease;
}

#baju-bodo .baju-bodo-featured:hover .baju-bodo-featured-image img {
  transform: scale(1.025);
}

/* ---------------------------------------------------------
   6. HILANGKAN BLOK INFORMASI SAMPING
   Karena foto utama sekarang menjadi background
   --------------------------------------------------------- */

/* =========================================================
   BAJU BODO — FEATURED CONTENT
   Tombol Lihat Koleksi tetap tampil sebagai overlay
   ========================================================= */

#baju-bodo .baju-bodo-featured-content {
  position: absolute;

  inset: 0;

  z-index: 20;

  display: block;

  padding: 0;

  pointer-events: none;
}

/* ---------------------------------------------------------
   SEMBUNYIKAN INFORMASI FEATURED
   --------------------------------------------------------- */

#baju-bodo .baju-bodo-featured-content > .section-label,
#baju-bodo .baju-bodo-featured-content > h3,
#baju-bodo .baju-bodo-featured-content > p,
#baju-bodo .baju-bodo-featured-content > .baju-bodo-benefits {
  display: none;
}

/* ---------------------------------------------------------
   TOMBOL LIHAT KOLEKSI
   --------------------------------------------------------- */

#baju-bodo .baju-bodo-featured-content > .button {
  position: absolute;

  left: 50%;
  bottom: 34px;

  z-index: 30;

  transform: translateX(-50%);

  display: inline-flex;

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

  min-width: 190px;
  min-height: 48px;

  padding: 12px 28px;

  border: 1px solid rgba(255, 250, 239, 0.95);
  border-radius: 999px;

  background: linear-gradient(135deg, #caa45f 0%, #a87931 100%);

  color: #fffaf0;

  font-family: inherit;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 0.08em;

  text-decoration: none;

  box-shadow:
    0 10px 25px rgba(62, 42, 21, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);

  pointer-events: auto;

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

#baju-bodo .baju-bodo-featured-content > .button:hover {
  transform: translateX(-50%) translateY(-4px);

  filter: brightness(1.06);

  box-shadow:
    0 15px 32px rgba(62, 42, 21, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* ---------------------------------------------------------
   7. GRID CARD DIATAS FOTO BACKGROUND
   --------------------------------------------------------- */

#baju-bodo #baju-bodo-koleksi.baju-bodo-grid {
  position: relative;
  min-width: 60%;
  z-index: 5;

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 12px;

  width: calc(100% - 36px);

  margin-top: -600px;
  margin-left: auto;
  margin-right: auto;

  margin-bottom: 70px;

  align-items: stretch;
}

/* ---------------------------------------------------------
   8. CARD
   --------------------------------------------------------- */

#baju-bodo .baju-bodo-card {
  position: relative;

  min-height: 400px;

  display: flex;
  flex-direction: column;

  min-width: 0;

  overflow: visible;

  border: 2px solid rgba(255, 250, 242, 0.94);
  border-radius: 20px;

  background: linear-gradient(
    180deg,
    rgba(249, 242, 231, 0.98),
    rgba(242, 229, 211, 0.94)
  );

  box-shadow:
    0 14px 34px rgba(67, 44, 22, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  transform: translateY(0);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

#baju-bodo .baju-bodo-card:hover {
  transform: translateY(-8px);

  box-shadow:
    0 22px 45px rgba(67, 44, 22, 0.2),
    0 0 0 1px rgba(167, 123, 54, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* ---------------------------------------------------------
   9. FOTO SETIAP CARD
   --------------------------------------------------------- */

#baju-bodo .baju-bodo-image {
  position: relative;

  width: 100%;
  height: 250px;

  margin: 0;

  overflow: hidden;

  border-radius: 18px 18px 0 0;

  background: #dfccb1;
}

#baju-bodo .baju-bodo-image img {
  display: block;

  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;

  object-fit: cover;
  object-position: center;

  transition:
    transform 0.55s ease,
    filter 0.55s ease;
}

#baju-bodo .baju-bodo-card:hover .baju-bodo-image img {
  transform: scale(1.045);

  filter: saturate(1.04);
}

/* ---------------------------------------------------------
   11. CONTENT CARD
   --------------------------------------------------------- */

#baju-bodo .baju-bodo-content {
  position: relative;

  display: flex;
  flex: 1;

  flex-direction: column;

  align-items: center;

  padding: 5px 15px 10px;

  text-align: center;

  background: linear-gradient(
    180deg,
    rgba(250, 243, 232, 0.97),
    rgba(242, 228, 209, 0.96)
  );

  border-radius: 0 0 18px 18px;
}

/* ---------------------------------------------------------
   12. JUDUL CARD
   --------------------------------------------------------- */

#baju-bodo .baju-bodo-content h3 {
  margin: 0 0 10px;

  color: var(--baju-bodo-brown);

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(27px, 2.4vw, 39px);
  font-weight: 200;

  font-size: 24px;

  line-height: 1.05;

  letter-spacing: -0.025em;
}

/* ---------------------------------------------------------
   13. DESKRIPSI
   --------------------------------------------------------- */

#baju-bodo .baju-bodo-content > p {
  max-width: 400px;

  margin: 0 auto;

  color: #685640;

  font-size: 12px;
  line-height: 1.65;
}

/* ---------------------------------------------------------
   14. META + GARIS GOLD
   --------------------------------------------------------- */

#baju-bodo .baju-bodo-meta {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;

  margin-top: auto;
  padding-top: -150px;
}

#baju-bodo .baju-bodo-meta::before {
  content: "";

  width: 50px;
  height: 1px;

  margin-bottom: 20px;

  background: var(--baju-bodo-gold);
}

#baju-bodo .baju-bodo-meta span {
  display: none;
}

#baju-bodo .baju-bodo-meta strong {
  color: #6e4b20;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 14px;
  font-weight: 600;

  margin-bottom: -30px;

  white-space: nowrap;
}

/* ---------------------------------------------------------
   15. BUTTON TANYA KETERSEDIAAN
   --------------------------------------------------------- */

#baju-bodo .baju-bodo-rent {
  width: 100%;

  margin-top: 10px;

  margin: 40px;

  min-height: 40px;

  border: 1px solid rgba(167, 123, 54, 0.5);
  border-radius: 999px;

  background: linear-gradient(135deg, #9d7131, #bd9250);

  color: #fffaf1;

  font-size: 12px;
  font-weight: 300;

  letter-spacing: 0.04em;

  box-shadow: 0 7px 16px rgba(93, 61, 24, 0.17);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

#baju-bodo .baju-bodo-rent:hover {
  transform: translateY(-2px);

  box-shadow: 0 10px 22px rgba(93, 61, 24, 0.24);
}

/* ---------------------------------------------------------
   16. CTA MENYATU DENGAN BACKGROUND
   --------------------------------------------------------- */

#baju-bodo .baju-bodo-cta {
  position: relative;
  z-index: 8;

  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);

  align-items: center;

  gap: 30px;

  width: calc(100% - 90px);

  margin: 20px auto 0;

  padding: 22px 28px;

  box-sizing: border-box;

  border: 1px solid rgba(255, 250, 240, 0.65);

  border-radius: 18px;

  background: rgba(83, 70, 26, 0.72);

  color: #fff8ed;

  box-shadow: 0 16px 38px rgba(60, 39, 20, 0.18);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#baju-bodo .baju-bodo-cta-content {
  min-width: 0;
}

#baju-bodo .baju-bodo-cta .section-label {
  margin: 0 0 4px;

  color: #dfbd7c;

  font-size: 10px;

  letter-spacing: 0.2em;

  text-transform: uppercase;
}

#baju-bodo .baju-bodo-cta h3 {
  margin: 0;

  color: #fff8ed;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 22px;

  font-weight: 500;
}

#baju-bodo .baju-bodo-cta p:last-child {
  margin: 5px 0 0;

  color: rgba(255, 248, 237, 0.78);

  font-size: 13px;

  line-height: 1.5;
}

/* =========================================================
   CTA ACTIONS
   ========================================================= */

#baju-bodo .baju-bodo-cta-actions {
  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

  align-items: stretch;

  gap: 12px;

  width: 100%;

  max-width: 520px;

  margin-left: auto;
  margin-right: auto;

  box-sizing: border-box;
}

#baju-bodo .baju-bodo-cta-actions .button {
  display: flex;

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

  width: 100%;

  min-width: 0;

  min-height: 46px;

  padding: 11px 18px;

  box-sizing: border-box;

  text-align: center;

  white-space: nowrap;

  font-size: 0.8rem;

  line-height: 1.2;

  border-radius: 10px;
}

#baju-bodo .baju-bodo-collection-button {
  color: #fff;

  background-color: #cac24c;
}

#baju-bodo .baju-bodo-cta-actions .button-whatsapp {
  min-width: 0;
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {
  #baju-bodo .baju-bodo-cta {
    grid-template-columns: 1fr;

    gap: 20px;

    text-align: center;
  }

  #baju-bodo .baju-bodo-cta-actions {
    width: 100%;

    max-width: 520px;

    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 640px) {
  #baju-bodo .baju-bodo-cta {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    width: 100%;

    margin: 0;

    padding: 22px 18px;

    text-align: center;
  }

  #baju-bodo .baju-bodo-cta-actions {
    grid-template-columns: 1fr;

    gap: 10px;

    width: 100%;

    max-width: 100%;

    margin-left: auto;
    margin-right: auto;
  }

  #baju-bodo .baju-bodo-cta-actions .button {
    width: 100%;

    min-width: 0;

    min-height: 44px;

    padding: 10px 16px;

    font-size: 0.78rem;

    border-radius: 9px;
  }
}

/* =========================================================
   RESPONSIVE — HP KECIL
   ========================================================= */

@media (max-width: 480px) {
  #baju-bodo #baju-bodo-koleksi.baju-bodo-grid {
    grid-template-columns: 1fr;
  }

  #baju-bodo .baju-bodo-cta-actions {
    gap: 8px;
  }

  #baju-bodo .baju-bodo-cta-actions .button {
    min-height: 42px;

    padding: 9px 14px;

    font-size: 0.74rem;

    border-radius: 8px;
  }
}

/* =========================================================
   RESPONSIVE — HP SANGAT KECIL
   ========================================================= */

@media (max-width: 360px) {
  #baju-bodo .baju-bodo-cta-actions .button {
    min-height: 41px;

    padding: 9px 12px;

    font-size: 0.72rem;
  }
}

/* =========================================================
   BAJU BODO SECTION — PREMIUM REPEAT ON SCROLL ANIMATION
   Efek mengikuti pola animasi #template
   ========================================================= */

/*
 * DEFAULT STATE
 *
 * Baju Bodo tetap terlihat normal apabila JavaScript
 * gagal dijalankan.
 */
#baju-bodo .baju-bodo-header,
#baju-bodo .baju-bodo-featured,
#baju-bodo .baju-bodo-grid,
#baju-bodo .baju-bodo-cta {
  opacity: 1;
  transform: none;
  will-change: transform, opacity;
}

/* =========================================================
   STATE SIAP ANIMASI
   ========================================================= */

#baju-bodo.section-reveal-ready .baju-bodo-header,
#baju-bodo.section-reveal-ready .baju-bodo-featured,
#baju-bodo.section-reveal-ready .baju-bodo-grid,
#baju-bodo.section-reveal-ready .baju-bodo-cta {
  opacity: 0;
}

/* =========================================================
   KEYFRAMES — DESKTOP
   ========================================================= */

/* HEADER — BOTTOM → TOP */

@keyframes bajuBodoHeaderReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 55px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* FEATURED — LEFT → CENTER */

@keyframes bajuBodoFeaturedReveal {
  0% {
    opacity: 0;
    transform: translate3d(-80px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* COLLECTION GRID — RIGHT → CENTER */

@keyframes bajuBodoGridReveal {
  0% {
    opacity: 0;
    transform: translate3d(80px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* CTA — BOTTOM → TOP */

@keyframes bajuBodoCtaReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 55px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* =========================================================
   DESKTOP — SECTION MASUK VIEWPORT
   ========================================================= */

#baju-bodo.section-reveal-visible .baju-bodo-header {
  animation: bajuBodoHeaderReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.05s
    both;
}

#baju-bodo.section-reveal-visible .baju-bodo-featured {
  animation: bajuBodoFeaturedReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s
    both;
}

#baju-bodo.section-reveal-visible .baju-bodo-grid {
  animation: bajuBodoGridReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

#baju-bodo.section-reveal-visible .baju-bodo-cta {
  animation: bajuBodoCtaReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.46s both;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
  /* HEADER — BOTTOM → TOP */

  @keyframes bajuBodoHeaderRevealMobile {
    0% {
      opacity: 0;
      transform: translate3d(0, 35px, 0);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* FEATURED — LEFT → CENTER */

  @keyframes bajuBodoFeaturedRevealMobile {
    0% {
      opacity: 0;
      transform: translate3d(-45px, 0, 0);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* GRID — RIGHT → CENTER */

  @keyframes bajuBodoGridRevealMobile {
    0% {
      opacity: 0;
      transform: translate3d(45px, 0, 0);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* CTA — BOTTOM → TOP */

  @keyframes bajuBodoCtaRevealMobile {
    0% {
      opacity: 0;
      transform: translate3d(0, 35px, 0);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* =======================================================
     MOBILE ACTIVE
     ======================================================= */

  #baju-bodo.section-reveal-visible .baju-bodo-header {
    animation: bajuBodoHeaderRevealMobile 0.72s cubic-bezier(0.22, 1, 0.36, 1)
      0.05s both;
  }

  #baju-bodo.section-reveal-visible .baju-bodo-featured {
    animation: bajuBodoFeaturedRevealMobile 0.78s cubic-bezier(0.22, 1, 0.36, 1)
      0.15s both;
  }

  #baju-bodo.section-reveal-visible .baju-bodo-grid {
    animation: bajuBodoGridRevealMobile 0.78s cubic-bezier(0.22, 1, 0.36, 1)
      0.28s both;
  }

  #baju-bodo.section-reveal-visible .baju-bodo-cta {
    animation: bajuBodoCtaRevealMobile 0.72s cubic-bezier(0.22, 1, 0.36, 1)
      0.41s both;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  #baju-bodo .baju-bodo-header,
  #baju-bodo .baju-bodo-featured,
  #baju-bodo .baju-bodo-grid,
  #baju-bodo .baju-bodo-cta {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    will-change: auto;
  }
}

/* =========================================================
   HERO — PREMIUM ENTRANCE ANIMATION
   Animasi berjalan satu kali saat halaman dibuka
   ========================================================= */

/* ---------------------------------------------------------
   01. BASE ANIMATION
   --------------------------------------------------------- */

@keyframes heroRevealFromTop {
  from {
    opacity: 0;
    transform: translateY(-55px);
  }

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

@keyframes heroRevealFromLeft {
  from {
    opacity: 0;
    transform: translateX(-65px);
  }

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

@keyframes heroRevealFromRight {
  from {
    opacity: 0;
    transform: translateX(65px);
  }

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

@keyframes heroRevealFromBottom {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

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

/* ---------------------------------------------------------
   02. HERO LABEL
   "Dekorasi untuk Momen Spesial"
   Arah: ATAS → BAWAH
   --------------------------------------------------------- */

#beranda .hero-content .hero-label {
  opacity: 0;
  animation: heroRevealFromTop 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.15s
    forwards;
}

/* ---------------------------------------------------------
   03. HERO TITLE
   "Abadikan Momen Spesial Anda"
   Arah: KIRI → KANAN
   --------------------------------------------------------- */

#beranda .hero-content h1 {
  opacity: 0;
  animation: heroRevealFromLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s
    forwards;
}

/* ---------------------------------------------------------
   04. HERO DESCRIPTION
   Arah: KANAN → KIRI
   --------------------------------------------------------- */

#beranda .hero-content .hero-description {
  opacity: 0;
  animation: heroRevealFromRight 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.7s
    forwards;
}

/* ---------------------------------------------------------
   05. HERO BUTTONS
   "Lihat Katalog"
   "Konsultasi Sekarang"
   Arah: BAWAH → ATAS
   --------------------------------------------------------- */

#beranda .hero-content .hero-actions {
  opacity: 0;
  animation: heroRevealFromBottom 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1s
    forwards;
}

/* ---------------------------------------------------------
   06. HERO FEATURES
   Respon Cepat
   Gratis Konsultasi
   Harga Transparan

   Arah: KIRI → KANAN
   Dibuat stagger agar muncul berurutan.
   --------------------------------------------------------- */

#beranda .hero-content .hero-features li {
  opacity: 0;
  animation: heroRevealFromLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Feature 1 */
#beranda .hero-content .hero-features li:nth-child(1) {
  animation-delay: 1.35s;
}

/* Feature 2 */
#beranda .hero-content .hero-features li:nth-child(2) {
  animation-delay: 1.55s;
}

/* Feature 3 */
#beranda .hero-content .hero-features li:nth-child(3) {
  animation-delay: 1.75s;
}

/* ---------------------------------------------------------
   07. ACCESSIBILITY
   Hormati pengguna yang memilih reduced motion.
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  #beranda .hero-content .hero-label,
  #beranda .hero-content h1,
  #beranda .hero-content .hero-description,
  #beranda .hero-content .hero-actions,
  #beranda .hero-content .hero-features li {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* =========================================================
   TESTIMONIAL — PREMIUM ENTRANCE ANIMATION
   Efek: dari bawah ke atas
   Durasi: 1.2 detik
   Berjalan satu kali saat halaman dibuka
   ========================================================= */

@keyframes testimonialRevealFromBottom {
  from {
    opacity: 0;
    transform: translateY(70px);
  }

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

#testimonial.section-reveal-ready .section-header,
#testimonial.section-reveal-ready .testimonial-card {
  opacity: 0;
}

/* =========================================================
   TESTIMONIAL — ANIMATION ACTIVE
   ========================================================= */

#testimonial.section-reveal-visible .section-header,
#testimonial.section-reveal-visible .testimonial-card {
  animation: testimonialRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1)
    forwards;
}

/* Header */
#testimonial.section-reveal-visible .section-header {
  animation-delay: 0.15s;
}

/* Card */
#testimonial.section-reveal-visible .testimonial-card:nth-child(1) {
  animation-delay: 0.35s;
}

#testimonial.section-reveal-visible .testimonial-card:nth-child(2) {
  animation-delay: 0.5s;
}

#testimonial.section-reveal-visible .testimonial-card:nth-child(3) {
  animation-delay: 0.65s;
}

/* =========================================================
   ACCESSIBILITY — REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  #testimonial.section-reveal-ready .section-header,
  #testimonial.section-reveal-ready .testimonial-card,
  #testimonial.section-reveal-visible .section-header,
  #testimonial.section-reveal-visible .testimonial-card {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* =========================================================
   KONSULTASI — PREMIUM ENTRANCE ANIMATION
   ---------------------------------------------------------
   Efek:
   1. Foto                 : BOTTOM → TOP
   2. Konsultasi Gratis    : TOP → BOTTOM
   3. Judul                : RIGHT → LEFT
   4. Deskripsi            : BOTTOM → TOP
   5. Button               : RIGHT → LEFT
   6. Benefit              : BOTTOM → TOP

   Durasi setiap gerakan : 1.2 detik
   Animasi berjalan satu kali saat halaman dibuka
   ========================================================= */

/* ---------------------------------------------------------
   KEYFRAME — BOTTOM → TOP
   --------------------------------------------------------- */

@keyframes konsultasiRevealFromBottom {
  from {
    opacity: 0;
    transform: translate3d(0, 70px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ---------------------------------------------------------
   KEYFRAME — TOP → BOTTOM
   --------------------------------------------------------- */

@keyframes konsultasiRevealFromTop {
  from {
    opacity: 0;
    transform: translate3d(0, -60px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ---------------------------------------------------------
   KEYFRAME — RIGHT → LEFT
   --------------------------------------------------------- */

@keyframes konsultasiRevealFromRight {
  from {
    opacity: 0;
    transform: translate3d(70px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* =========================================================
   KONSULTASI — ANIMATION ACTIVE
   ========================================================= */

/* 1. FOTO — BOTTOM → TOP */

#konsultasi.section-reveal-visible .whatsapp-cta-image {
  animation: konsultasiRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1)
    0.15s forwards;

  will-change: transform, opacity;
}

/* 2. LABEL — TOP → BOTTOM */

#konsultasi.section-reveal-visible .whatsapp-cta-text .section-label {
  animation: konsultasiRevealFromTop 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s
    forwards;

  will-change: transform, opacity;
}

/* 3. JUDUL — RIGHT → LEFT */

#konsultasi.section-reveal-visible .whatsapp-cta-text h2 {
  animation: konsultasiRevealFromRight 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.55s
    forwards;

  will-change: transform, opacity;
}

/* 4. DESKRIPSI — BOTTOM → TOP */

#konsultasi.section-reveal-visible .whatsapp-cta-text > p:not(.section-label) {
  animation: konsultasiRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1)
    0.75s forwards;

  will-change: transform, opacity;
}

/* 5. BUTTON — RIGHT → LEFT */

#konsultasi.section-reveal-visible .button-whatsapp {
  animation: konsultasiRevealFromRight 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.95s
    forwards;

  will-change: transform, opacity;
}

/* 6. BENEFIT — BOTTOM → TOP */

#konsultasi.section-reveal-visible .cta-benefits li {
  animation: konsultasiRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  will-change: transform, opacity;
}

/* STAGGER BENEFIT */

#konsultasi.section-reveal-visible .cta-benefits li:nth-child(1) {
  animation-delay: 1.15s;
}

#konsultasi.section-reveal-visible .cta-benefits li:nth-child(2) {
  animation-delay: 1.3s;
}

#konsultasi.section-reveal-visible .cta-benefits li:nth-child(3) {
  animation-delay: 1.45s;
}

/* =========================================================
   ACCESSIBILITY — REDUCED MOTION
   ---------------------------------------------------------
   Pengguna yang memilih mengurangi animasi tetap melihat
   seluruh konten konsultasi tanpa efek gerakan.
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  #konsultasi.section-reveal-ready .whatsapp-cta-image,
  #konsultasi.section-reveal-ready .whatsapp-cta-text .section-label,
  #konsultasi.section-reveal-ready .whatsapp-cta-text h2,
  #konsultasi.section-reveal-ready .whatsapp-cta-text > p:not(.section-label),
  #konsultasi.section-reveal-ready .button-whatsapp,
  #konsultasi.section-reveal-ready .cta-benefits li {
    opacity: 0;
  }
}

/* =========================================================
   HOMEPAGE PORTFOLIO — PREMIUM ENTRANCE ANIMATION
   ---------------------------------------------------------
   Semua elemen di dalam #portfolio:
   BOTTOM → TOP

   Durasi   : 1.2 detik
   Arah     : bawah ke atas
   Efek     : fade + smooth reveal
   Trigger  : saat halaman dibuka
   ========================================================= */

@keyframes portfolioHomepageRevealFromBottom {
  from {
    opacity: 0;
    transform: translate3d(0, 70px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* =========================================================
   PORTFOLIO TRACK — FADE ONLY
   ========================================================= */

@keyframes portfolioHomepageRevealFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =========================================================
   PORTFOLIO — READY STATE
   ========================================================= */

#portfolio.section-reveal-ready .section-header,
#portfolio.section-reveal-ready .portfolio-grid,
#portfolio.section-reveal-ready .portfolio-card,
#portfolio.section-reveal-ready .portfolio-view-all,
#portfolio.section-reveal-ready .portfolio-actions {
  opacity: 0;
}

/* =========================================================
   PORTFOLIO — ANIMATION ACTIVE
   ========================================================= */

/*
 * PENTING:
 *
 * .portfolio-grid adalah #portfolio-list.
 *
 * #portfolio-list digunakan oleh main.js
 * sebagai CAROUSEL TRACK.
 *
 * Karena main.js menggunakan:
 *
 * transform: translate3d(...)
 *
 * maka .portfolio-grid TIDAK BOLEH
 * menggunakan animation transform.
 *
 * Track hanya diberi efek opacity.
 */

/* ---------------------------------------------------------
   HEADER
   BOTTOM → TOP
   --------------------------------------------------------- */

#portfolio.section-reveal-visible .section-header {
  animation-name: portfolioHomepageRevealFromBottom;
  animation-duration: 1.2s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
  animation-delay: 0.15s;
}

/* ---------------------------------------------------------
   CAROUSEL TRACK
   FADE ONLY
   --------------------------------------------------------- */

#portfolio.section-reveal-visible .portfolio-grid {
  animation-name: portfolioHomepageRevealFade;
  animation-duration: 0.8s;
  animation-timing-function: ease;
  animation-fill-mode: both;
  animation-delay: 0.35s;

  /*
   * Jangan memberikan transform animation
   * kepada carousel track.
   */
}

/* ---------------------------------------------------------
   PORTFOLIO CARD
   BOTTOM → TOP
   --------------------------------------------------------- */

#portfolio.section-reveal-visible .portfolio-card {
  animation-name: portfolioHomepageRevealFromBottom;
  animation-duration: 1.2s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}

/* ---------------------------------------------------------
   CTA / ACTION
   BOTTOM → TOP
   --------------------------------------------------------- */

#portfolio.section-reveal-visible .portfolio-view-all,
#portfolio.section-reveal-visible .portfolio-actions {
  animation-name: portfolioHomepageRevealFromBottom;
  animation-duration: 1.2s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
  animation-delay: 1.35s;
}

/* =========================================================
   STAGGER
   ========================================================= */

#portfolio.section-reveal-visible .section-header {
  animation-delay: 0.15s;
}

#portfolio.section-reveal-visible .portfolio-grid {
  animation-delay: 0.35s;
}

#portfolio.section-reveal-visible .portfolio-card:nth-child(1) {
  animation-delay: 0.45s;
}

#portfolio.section-reveal-visible .portfolio-card:nth-child(2) {
  animation-delay: 0.6s;
}

#portfolio.section-reveal-visible .portfolio-card:nth-child(3) {
  animation-delay: 0.75s;
}

#portfolio.section-reveal-visible .portfolio-card:nth-child(4) {
  animation-delay: 0.9s;
}

#portfolio.section-reveal-visible .portfolio-card:nth-child(5) {
  animation-delay: 1.05s;
}

#portfolio.section-reveal-visible .portfolio-card:nth-child(6) {
  animation-delay: 1.2s;
}

#portfolio.section-reveal-visible .portfolio-view-all,
#portfolio.section-reveal-visible .portfolio-actions {
  animation-delay: 1.35s;
}

/* =========================================================
   PERFORMANCE
   ========================================================= */

#portfolio .section-header,
#portfolio .portfolio-card,
#portfolio .portfolio-view-all,
#portfolio .portfolio-actions {
  will-change: transform, opacity;
}

/*
 * #portfolio-list / .portfolio-grid adalah
 * carousel track.
 *
 * Transform-nya dikontrol oleh main.js.
 */
#portfolio .portfolio-grid {
  will-change: transform, opacity;
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  #portfolio.section-reveal-ready .section-header,
  #portfolio.section-reveal-ready .portfolio-grid,
  #portfolio.section-reveal-ready .portfolio-card,
  #portfolio.section-reveal-ready .portfolio-view-all,
  #portfolio.section-reveal-ready .portfolio-actions,
  #portfolio.section-reveal-visible .section-header,
  #portfolio.section-reveal-visible .portfolio-grid,
  #portfolio.section-reveal-visible .portfolio-card,
  #portfolio.section-reveal-visible .portfolio-view-all,
  #portfolio.section-reveal-visible .portfolio-actions {
    opacity: 1;
    animation: none;
    will-change: auto;
  }
}

/* =========================================================
   AREA LAYANAN — PREMIUM ENTRANCE ANIMATION
   ---------------------------------------------------------
   1. Area Layanan       : LEFT → RIGHT
   2. Melayani Acara Anda: RIGHT → LEFT
   3. Deskripsi          : BOTTOM → TOP
   4. Button             : TOP → BOTTOM

   Durasi animasi        : 1.2 detik
   Gaya                  : Premium / Smooth
   Animasi               : Satu kali saat halaman dibuka
   ========================================================= */

/* =========================================================
   KEYFRAMES
   ========================================================= */

@keyframes serviceAreaRevealFromLeft {
  from {
    opacity: 0;
    transform: translate3d(-70px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes serviceAreaRevealFromRight {
  from {
    opacity: 0;
    transform: translate3d(70px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes serviceAreaRevealFromBottom {
  from {
    opacity: 0;
    transform: translate3d(0, 70px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes serviceAreaRevealFromTop {
  from {
    opacity: 0;
    transform: translate3d(0, -60px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* =========================================================
   AREA LAYANAN — READY STATE
   ========================================================= */

#area-layanan.section-reveal-ready .section-header .section-label,
#area-layanan.section-reveal-ready .section-header h2,
#area-layanan.section-reveal-ready .section-header > p:not(.section-label),
#area-layanan.section-reveal-ready .service-area-list {
  opacity: 0;
}

/* =========================================================
   AREA LAYANAN — ANIMATION ACTIVE
   ========================================================= */

/* 1. LABEL — LEFT → RIGHT */

#area-layanan.section-reveal-visible .section-header .section-label {
  animation: serviceAreaRevealFromLeft 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s
    forwards;

  will-change: transform, opacity;
}

/* 2. JUDUL — RIGHT → LEFT */

#area-layanan.section-reveal-visible .section-header h2 {
  animation: serviceAreaRevealFromRight 1.2s cubic-bezier(0.22, 1, 0.36, 1)
    0.35s forwards;

  will-change: transform, opacity;
}

/* 3. DESKRIPSI — BOTTOM → TOP */

#area-layanan.section-reveal-visible .section-header > p:not(.section-label) {
  animation: serviceAreaRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1)
    0.55s forwards;

  will-change: transform, opacity;
}

/* 4. DAFTAR AREA — BOTTOM → TOP */

#area-layanan.section-reveal-visible .service-area-list {
  animation: serviceAreaRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1)
    0.75s forwards;

  will-change: transform, opacity;
}

/* =========================================================
   ACCESSIBILITY
   Pengguna yang memilih Reduced Motion tidak mendapatkan
   animasi gerakan.
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  #area-layanan.section-reveal-ready .section-header .section-label,
  #area-layanan.section-reveal-ready .section-header h2,
  #area-layanan.section-reveal-ready .section-header > p:not(.section-label),
  #area-layanan.section-reveal-ready .service-area-list,
  #area-layanan.section-reveal-visible .section-header .section-label,
  #area-layanan.section-reveal-visible .section-header h2,
  #area-layanan.section-reveal-visible .section-header > p:not(.section-label),
  #area-layanan.section-reveal-visible .service-area-list {
    opacity: 1;
    transform: none;
    animation: none;
    will-change: auto;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  main > section.section-reveal-ready:not(#beranda) > .container,
  main > section.section-reveal-visible:not(#beranda) > .container {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    will-change: auto;
  }
}

/* =========================================================
   FINAL CTA — UNIVERSAL SCROLL REVEAL
   ---------------------------------------------------------
   1. Sushydecor        : BOTTOM → TOP
   2. Judul             : BOTTOM → TOP
   3. Deskripsi         : BOTTOM → TOP
   4. Lihat Katalog     : LEFT → RIGHT
   5. Konsultasi WA     : RIGHT → LEFT

   Durasi gerakan      : 1.2 detik
   Trigger             : main.js universal
   ========================================================= */

/* =========================================================
   KEYFRAMES
   ========================================================= */

/* BOTTOM → TOP */

@keyframes finalCtaRevealFromBottom {
  from {
    opacity: 0;
    transform: translate3d(0, 70px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* LEFT → RIGHT */

@keyframes finalCtaRevealFromLeft {
  from {
    opacity: 0;
    transform: translate3d(-70px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* RIGHT → LEFT */

@keyframes finalCtaRevealFromRight {
  from {
    opacity: 0;
    transform: translate3d(70px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* =========================================================
   READY STATE
   ---------------------------------------------------------
   main.js universal akan menambahkan:
   .section-reveal-ready

   Saat status ini aktif, elemen disembunyikan sementara.
   ========================================================= */

#kontak.section-reveal-ready .final-cta-content .section-label,
#kontak.section-reveal-ready .final-cta-content h2,
#kontak.section-reveal-ready .final-cta-content > p:not(.section-label),
#kontak.section-reveal-ready .final-cta-actions .button {
  opacity: 0;
}

/* =========================================================
   ANIMATION ACTIVE
   ---------------------------------------------------------
   main.js universal akan mengubah:
   .section-reveal-ready
   →
   .section-reveal-visible
   ========================================================= */

/* 1. SUSHYDECOR
      BOTTOM → TOP */

#kontak.section-reveal-visible .final-cta-content .section-label {
  animation: finalCtaRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s
    forwards;

  will-change: transform, opacity;
}

/* 2. JUDUL
      BOTTOM → TOP */

#kontak.section-reveal-visible .final-cta-content h2 {
  animation: finalCtaRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s
    forwards;

  will-change: transform, opacity;
}

/* 3. DESKRIPSI
      BOTTOM → TOP */

#kontak.section-reveal-visible .final-cta-content > p:not(.section-label) {
  animation: finalCtaRevealFromBottom 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.55s
    forwards;

  will-change: transform, opacity;
}

/* 4. LIHAT KATALOG
      LEFT → RIGHT */

#kontak.section-reveal-visible
  .final-cta-actions
  .button:not(.button-whatsapp) {
  animation: finalCtaRevealFromLeft 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.75s
    forwards;

  will-change: transform, opacity;
}

/* 5. KONSULTASI WHATSAPP
      RIGHT → LEFT */

#kontak.section-reveal-visible .final-cta-actions .button-whatsapp {
  animation: finalCtaRevealFromRight 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.9s
    forwards;

  will-change: transform, opacity;
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  #kontak .final-cta-content .section-label,
  #kontak .final-cta-content h2,
  #kontak .final-cta-content > p:not(.section-label),
  #kontak .final-cta-actions .button {
    opacity: 1;
    transform: none;
    animation: none;
    will-change: auto;
  }
}

/* =========================================================
   MUSIC PLAYER — FLOATING CIRCLE
   ========================================================= */

#musik {
  position: fixed;
  right: 24px;
  bottom: 24px;

  width: auto;
  height: auto;

  padding: 0;
  margin: 0;

  z-index: 9999;

  pointer-events: none;
}

/* =========================================================
   CONTAINER
   ========================================================= */

#musik .container {
  width: auto;
  margin: 0;
  padding: 0;
}

/* =========================================================
   MUSIC PLAYER
   ========================================================= */

#musik .music-player {
  position: relative;

  width: 58px;
  height: 58px;

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

  padding: 0;
  margin: 0;

  border-radius: 50%;

  background: rgba(20, 20, 20, 0.94);

  border: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  overflow: visible;

  pointer-events: auto;
}

/* =========================================================
   MUSIC ICON
   ========================================================= */

#musik .music-info {
  width: 100%;
  height: 100%;

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

  margin: 0;
  padding: 0;

  pointer-events: none;
}

#musik .music-icon {
  width: 100%;
  height: 100%;

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

  margin: 0;
  padding: 0;

  color: #ffffff;

  font-size: 23px;
  line-height: 1;

  transform-origin: center center;

  /* DEFAULT: BERHENTI */
  animation: none;
}

/* =========================================================
   HIDDEN TEXT
   ========================================================= */

#musik .music-text {
  display: none;
}

/* =========================================================
   MUSIC CONTROLS
   ========================================================= */

#musik .music-controls {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

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

  margin: 0;
  padding: 0;
}

/* =========================================================
   BUTTON
   ========================================================= */

#musik .music-control {
  width: 100%;
  height: 100%;

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

  padding: 0;
  margin: 0;

  border: 0;
  border-radius: 50%;

  background: transparent;

  color: #ffffff;

  font-size: 17px;
  line-height: 1;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    opacity 0.25s ease;

  -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   PLAY BUTTON
   ========================================================= */

#musik #music-play {
  display: flex;
}

/* =========================================================
   MUTE & STOP
   Disembunyikan karena player menggunakan
   satu tombol utama berbentuk circle.
   ========================================================= */

#musik #music-mute,
#musik #music-stop {
  display: none;
}

/* =========================================================
   ROTATING MUSIC ICON
   ========================================================= */

@keyframes musicIconRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/*
 * Saat musik PLAY:
 * icon musik berputar terus menerus.
 */
#musik.is-playing .music-icon {
  animation: musicIconRotate 4s linear infinite;
}

/*
 * Saat musik tidak PLAY:
 * icon berhenti.
 */
#musik:not(.is-playing) .music-icon {
  animation: none;
  transform: rotate(0deg);
}

/* =========================================================
   HOVER
   ========================================================= */

#musik .music-player:hover {
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

#musik .music-control:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: scale(1.06);
}

/* =========================================================
   ACTIVE
   ========================================================= */

#musik .music-control:active {
  transform: scale(0.94);
}

/* =========================================================
   FOCUS ACCESSIBILITY
   ========================================================= */

#musik .music-control:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
  #musik {
    right: 16px;
    bottom: 16px;
  }

  #musik .music-player {
    width: 52px;
    height: 52px;
  }

  #musik .music-icon {
    font-size: 21px;
  }

  #musik .music-control {
    font-size: 15px;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {
  #musik {
    right: 12px;
    bottom: 12px;
  }

  #musik .music-player {
    width: 48px;
    height: 48px;
  }

  #musik .music-icon {
    font-size: 19px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  #musik .music-icon {
    animation: none !important;
    transform: none !important;
  }

  #musik .music-control {
    transition: none;
  }
}
