/* ===========================
   ECOMULIA LESTARI GARMENT
   style.css
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --sage: #8FA67A;
  --sage-light: #B5C9A4;
  --sage-dark: #5C7A4A;
  --ink-dark: #6B4A2A;
  --brown: #7A4A2A;
  --brown-mid: #A06B45;
  --brown-pale: #F0E8DF;
  --cream: #FAF7F2;
  --offwhite: #F3EFE8;
  --ink: #8B6240;
  --muted: #7A7570;
  --border: rgba(28, 26, 23, 0.10);
  --border-med: rgba(28, 26, 23, 0.18);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.1;
}

em {
  font-style: italic;
}

/* ===== UTILITIES ===== */
.section-tag {
  display: block;
  font-size: 10px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  margin-bottom: 14px;
}

.section-tag.light {
  color: var(--sage-light);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-title.light {
  color: var(--cream);
}

.section-title em {
  /* color: var(--sage-dark); */
  color: #b6cda6;
}

.section-title.light em {
  color: var(--sage-light);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  text-decoration: none;
  padding: 16px 32px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--sage-dark);
}

.btn-primary.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1px solid var(--brown);
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}

.btn-ghost:hover {
  color: var(--sage-dark);
  border-color: var(--sage-dark);
}

.arrow {
  font-size: 14px;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 60px;
  background: rgba(250, 247, 242, 0.92);
  /* background: var(--ink); */
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
  transition: padding 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  padding: 14px 60px;
  box-shadow: 0 2px 20px rgba(28, 26, 23, 0.06);
}

/* .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
} */

/* Mengatur kontainer logo agar transparan dan fleksibel */
.logo-container {
  display: inline-block;
  background: transparent; /* Memastikan background transparan */
  text-decoration: none;
  padding: 0;
  margin: 0;
  line-height: 0; /* Menghilangkan gap kecil di bawah gambar */
}

/* Mengatur gambar logo */
.logo-img {
  background: transparent; /* Memastikan gambar tidak membawa warna latar belakang */
  display: block;
  
  /* Atur ukuran sesuai kebutuhan desain Anda */
  max-height: 50px; /* Contoh tinggi ideal untuk navbar */
  width: auto;      /* Menjaga rasio foto agar tidak gepeng */
  
  /* Opsional: Efek halus saat di-hover */
  transition: opacity 0.3s ease;
}

/* Efek hover opsional untuk estetika */
.logo-container:hover .logo-img {
  opacity: 0.85; 
}


.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  /* color: rgba(250, 247, 242, 0.92); */
  text-decoration: none;
  font-weight: 400;
  transition: color 0.25s;
}

.nav-links a:hover {
  /* color: var(--ink); */
  color: #B5C9A4;
}

/* untuk bagian button share your needs */
.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  /* color: var(--ink); */
  /* background: rgba(250, 247, 242, 0.92); */
  color: var(--cream);
  background: var(--ink);
  text-decoration: none;
  padding: 12px 24px;
  font-weight: 400;
  transition: background 0.25s;
}

.nav-cta:hover {
  background: var(--sage-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #614124; /* MENGUBAH WARNA DI SINI (Opsional untuk fallback/ikon berbasis teks) */
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #614124; /* KUNCI: Mengubah warna garis burger menjadi cokelat */
  transition: transform 0.3s;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: flex; /* KUNCI: Memunculkan tombol burger di mobile */
  }
  .nav-menu {
    display: none; 
    /* Nantinya class ini bisa ditambahkan class '.active' via JS 
       untuk mengubah display menjadi flex/block saat burger diklik */
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-menu ul a {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 80px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px;
}

.hero-title {
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 540px; /* Menambahkan batas lebar yang sama dengan deskripsi */
}

.hero-title em {
  color: #b6cda6;
}

.hero-desc {
  font-size: 20px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 540px; /* Diubah dari 400px ke 540px agar judul tidak terlalu terpotong pendek */
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 32px;
  border-top: 0.5px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-divider {
  width: 0.5px;
  height: 40px;
  background: var(--border-med);
}

.hero-right {
  position: relative;
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 2;
}

.hero-logo-art {
  width: 220px;
  height: auto;
  opacity: 0.85;
}

.hero-place-tag {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.hero-bg-text {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  font-weight: 700;
  color: rgba(143, 166, 122, 0.06);
  letter-spacing: 0.05em;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}

/* ===== MARQUEE ===== */
.marquee-bar {
  background: var(--sage-light);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-item {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-dark);
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}

.marquee-item::after {
  content: '✦';
  margin-left: 56px;
  font-size: 7px;
  color: rgba(250, 247, 242, 0.3);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 60px;
}

.section-intro {
  max-width: 600px;
  margin-bottom: 56px;
}

/* ===== VALUES ===== */
.values-section {
  background: var(--cream);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.val-card {
  background: var(--cream);
  padding: 40px 36px;
  border-top: 2px solid var(--sage);
  transition: background 0.3s;
}

.val-card:hover {
  background: var(--offwhite);
}

.val-num {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--sage-light);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 16px;
}

.val-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
  font-weight: 500;
}

.val-body {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

/* ===== PROCESS ===== */
.process-section {
  background: var(--ink);
  padding: 100px 0;
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.process-intro-text {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(250, 247, 242, 0.45);
  max-width: 500px;
  margin-top: 16px;
  margin-bottom: 56px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.step {
  background: rgba(28, 26, 23, 0.95);
  padding: 36px 32px;
  border-top: 1px solid rgba(143, 166, 122, 0.3);
  transition: background 0.3s;
}

.step:hover {
  background: rgba(92, 122, 74, 0.1);
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--sage-dark);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 12px;
}

.step-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 10px;
  font-weight: 400;
}

.step-body {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(250, 247, 242, 0.4);
}

/* ===== COLLECTIONS ===== */
.collections-section {
  background: var(--offwhite);
}

.collections-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

.col-card {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
}

.col-card--tall {
  grid-row: span 2;
}

.col-img {
  width: 100%;
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
  height: 220px;
  transition: transform 0.6s ease;
}

.col-card--tall .col-img {
  height: 100%;
  min-height: 460px;
}

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

.col-img-1 { background: linear-gradient(145deg, #CDDABE, #B0C8A0); }
.col-img-2 { background: linear-gradient(145deg, #DDD5C8, #C4B49C); }
.col-img-3 { background: linear-gradient(145deg, #BDD0C8, #9DBFB0); }
.col-img-4 { background: linear-gradient(145deg, #D0CFC8, #B8B5AA); }
.col-img-5 { background: linear-gradient(145deg, #C8D0C0, #AABDA0); }

.col-img-label {
  position: relative;
  z-index: 2;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  align-self: center;
}

.col-info {
  padding: 24px 28px;
  background: var(--cream);
}

.col-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}

.col-sub {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.col-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--sage-dark);
  border: 0.5px solid var(--sage);
  padding: 5px 12px;
}

.collections-cta {
  margin-top: 48px;
  text-align: center;
}

/* ===== CERTIFICATIONS ===== */
.cert-section {
  background: var(--cream);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 80px 60px;
}

.cert-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cert-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 16px;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.cert-badge {
  background: var(--offwhite);
  padding: 32px 28px;
  text-align: center;
  transition: background 0.3s;
}

.cert-badge:hover {
  background: var(--cream);
}

.cert-badge-icon {
  font-size: 14px;
  color: var(--sage);
  margin-bottom: 10px;
}

.cert-badge-title {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 500;
  margin-bottom: 6px;
}

.cert-badge-sub {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== ABOUT ===== */
.about-section {
  background: var(--offwhite);
  padding: 100px 60px;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.about-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo {
  width: 100%;
  max-width: 300px;
  height: auto;
  opacity: 0.8;
}

.about-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 20px;
}

.about-quote {
  margin-top: 36px;
  padding-left: 20px;
  border-left: 2px solid var(--sage);
}

.about-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 10px;
}

.about-quote cite {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-style: normal;
}

/* ===== CONTACT / CTA ===== */
.cta-section {
  background: var(--brown-pale);
  padding: 100px 60px;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cta-title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}

.cta-title em {
  color: var(--brown);
}

.cta-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  border: 0.5px solid var(--border-med);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.25s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(122, 117, 112, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  padding: 80px 60px 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
}

.footer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 12px;
  line-height: 1.9;
  color: rgba(250, 247, 242, 0.3);
  max-width: 220px;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 247, 242, 0.4);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: border-color 0.25s, color 0.25s;
}

.social-link:hover {
  border-color: var(--sage-light);
  color: var(--sage-light);
}

.footer-col-title {
  font-size: 9px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-links li {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.35);
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: rgba(250, 247, 242, 0.7);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 11px;
  color: rgba(250, 247, 242, 0.18);
  letter-spacing: 0.06em;
}

.footer-legal {
  display: flex;
  gap: 28px;
}

.footer-legal a {
  font-size: 11px;
  color: rgba(250, 247, 242, 0.18);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.25s;
}

.footer-legal a:hover {
  color: rgba(250, 247, 242, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  #navbar {
    padding: 18px 32px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-right {
    height: 320px;
  }

  .hero-left {
    padding: 60px 32px 48px;
  }

  .section {
    padding: 72px 32px;
  }

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

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

  .process-inner {
    padding: 0 32px;
  }

  .collections-grid {
    grid-template-columns: 1fr 1fr;
  }

  .col-card--tall {
    grid-row: span 1;
    grid-column: span 2;
  }

  .cert-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-left {
    display: none;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .cert-section {
    padding: 72px 32px;
  }

  .about-section {
    padding: 72px 32px;
  }

  .cta-section {
    padding: 72px 32px;
  }

  footer {
    padding: 60px 32px 36px;
  }
}

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

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }

  .col-card--tall {
    grid-column: span 1;
  }

  .hero-stats {
    gap: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cert-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== CERT LOGOS ===== */
.cert-section {
  background: var(--cream);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 80px 60px;
}
.cert-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cert-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 16px;
}
.cert-logos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
.cert-logo-card {
  background: var(--offwhite);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: background 0.3s;
}
.cert-logo-card:hover { background: var(--cream); }
.cert-logo-wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-logo-dark {
  background: #1A2E30;
  border-radius: 6px;
  padding: 10px 14px;
  width: 100%;
  max-width: 160px;
}
.cert-logo-img {
  max-height: 52px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}
.cert-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
}
.cert-logo-applies {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== SECTION BODY ===== */
.section-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 580px;
  margin-top: 12px;
}

/* ===== CONTACT DETAILS ===== */
.contact-details {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.contact-item a, .contact-item span {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.25s;
}
.contact-item a:hover { color: var(--sage-dark); }

/* ===== VALUES SECTION EMOJI NUMS ===== */
.val-num {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 1;
  color: var(--ink);
}

@media (max-width: 1024px) {
  .cert-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cert-section { padding: 72px 32px; }
}
@media (max-width: 640px) {
  .cert-logos-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== WHAT WE OFFER ===== */
.offer-section {
  background: var(--offwhite);
  padding: 100px 60px;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.offer-card {
  background: var(--cream);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.offer-card:hover { background: #fff; border-top-color: var(--sage); }
.offer-num {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  color: var(--sage-light);
  letter-spacing: 0.16em;
}
.offer-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.offer-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 400;
  color: var(--ink); line-height: 1.2;
}
.offer-body {
  font-size: 13px; line-height: 1.75;
  color: var(--muted); flex: 1;
}
.offer-cta-card {
  background: var(--sage-dark) !important;
  border-top-color: var(--sage-dark) !important;
  justify-content: center;
}
.offer-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; color: #FAF7F2;
  line-height: 1.3;
}
.offer-cta-body {
  font-size: 13px;
  color: rgba(250,247,242,0.6);
  line-height: 1.75;
}
.offer-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #FAF7F2; border: 1px solid rgba(250,247,242,0.4);
  text-decoration: none; padding: 13px 24px; align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-section { padding: 72px 32px; }
}
@media (max-width: 640px) {
  .offer-grid { grid-template-columns: 1fr; }
}

/* ===== PHOTO COLLECTION CARDS ===== */
.col-img-photo {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.col-card--tall .col-img-photo {
  background-position: center center;
}

/* ===== WHO IS THIS FOR ===== */
.for-whom-block {
  background: var(--ink);
  padding: 52px 56px;
  margin-bottom: 72px;
}
.for-whom-block .section-tag { color: var(--sage-light); }
.for-whom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 48px;
  margin-top: 20px;
}
.for-whom-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(250,247,242,0.75);
  line-height: 1.6;
  padding: 10px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

/* ===== FABRIC SECTIONS ===== */
.fabric-cat-block {
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 0.5px solid var(--border);
}
.fabric-cat-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.fabric-cat-header {
  margin-bottom: 36px;
}
.fabric-two-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
.fabric-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.fabric-card {
  background: var(--offwhite);
  padding: 36px 32px;
  border-top: 2px solid var(--sage);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fabric-icon { font-size: 24px; }
.fabric-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
}
.fabric-body {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  flex: 1;
}
.fabric-cert {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--sage-dark);
  border-top: 0.5px solid var(--border);
  padding-top: 12px;
  line-height: 1.7;
}

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  border-radius: 50px;
  padding: 14px 22px 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}
.wa-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: white;
  letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  .for-whom-grid { grid-template-columns: 1fr; }
  .fabric-two-grid { grid-template-columns: 1fr; }
  .fabric-three-grid { grid-template-columns: 1fr; }
  .for-whom-block { padding: 36px 32px; }
}

/* ===== NEW FABRIC TABS LAYOUT ===== */
.fabrics-section {
  background: var(--cream);
  padding: 10px 60px;
}
.fabrics-intro {
  max-width: 640px;
  margin-bottom: 64px;
}
.fabric-tab {
  padding: 52px 0;
  border-top: 0.5px solid var(--sage);
}
.fabric-tab:last-child {
  border-bottom: 0.5px solid var(--sage);
}
.fabric-tab-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 36px;
}
.fabric-cols {
  display: flex;
  gap: 0;
}
.fabric-col {
  flex: 1;
  padding: 0 40px 0 0;
  border-right: 0.5px solid var(--border);
  margin-right: 40px;
}
.fabric-col:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.fabric-col-icon {
  font-size: 28px;
  margin-bottom: 20px;
  line-height: 1;
}
.fabric-col-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.4;
}
.fabric-col-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
}
.fabric-col-cert-img {
  height: 52px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.fabric-col-cert-img img {
  max-height: 44px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
}
.cert-dark-bg {
  background: #1A2E30;
  border-radius: 4px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
}
.cert-dark-bg img {
  max-height: 36px;
  max-width: 100px;
}

@media (max-width: 1024px) {
  .fabric-cols { flex-direction: column; gap: 36px; }
  .fabric-col { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 0.5px solid var(--border); padding-bottom: 32px; }
  .fabric-col:last-child { border-bottom: none; padding-bottom: 0; }
  .fabrics-section { padding: 4px 32px; }
}

/* ===== SIMPLIFIED FABRIC TABS ===== */
.fabric-tab-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
  max-width: 680px;
}
.fabric-cert-row {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.fabric-cert-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.fabric-cert-item .fabric-col-name {
  font-size: 11px;
}

/* ===== 3-COLUMN FABRICS ===== */
.fabric-three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--sage);
  padding-top: 48px;
}
.fabric-main-col {
  padding: 0 40px 0 0;
  margin-right: 40px;
  border-right: 0.5px solid var(--border);
}
.fabric-main-col:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}
.cert-logos-inline {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.cert-logos-inline img {
  max-height: 32px;
  max-width: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
}

/* ===== MISSION SECTION ===== */
.mission-section {
  background: var(--brown-pale);
  padding: 100px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  border-top: 0.5px solid var(--border);
}
.mission-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 12px;
  margin-bottom: 28px;
}
.mission-title em { color: var(--sage-dark); }
.mission-rule {
  width: 48px;
  height: 1px;
  background: var(--ink);
  margin-top: 8px;
}
.mission-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 300;
}
.mission-points {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mission-point {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
}
.mission-cta-text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 4px;
}

/* ===== MINIMAL FOOTER ===== */
/* Container Utama Footer */
.footer-minimal {
  background-color: #614124; /* Warna cokelat sesuai gambar Anda */
  padding: 20px 0;
  width: 100%;
}

/* Mengatur posisi elemen agar sejajar ke samping (horizontal) */
.footer-minimal-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center; /* Membuat logo dan teks sejajar di tengah secara vertikal */
  gap: 15px; /* Jarak antara logo, teks, dan link */
  flex-wrap: wrap; /* Agar responsif jika dibuka di layar HP */
}

/* KUNCI: Mengatur ukuran Gambar Logo agar muncul */
.footer-minimal-logo {
  height: 40px; /* Atur tinggi logo sesuai kebutuhan Anda */
  width: auto;  /* Proporsi lebar akan menyesuaikan otomatis */
  display: block;
  object-fit: contain;
  background: transparent; /* Memastikan background gambar tetap transparan */
}

/* Mengatur Teks Hak Cipta */
.footer-minimal-copy {
  color: #c2b4a6; /* Warna krem/abu terang agar kontras dengan background cokelat */
  font-size: 14px;
  margin: 0;
  flex-grow: 1; /* Membuat teks mengambil sisa ruang (mendorong link ke kanan jika ada) */
}

/* Mengatur Link Kebijakan Privasi */
.footer-minimal-links a {
  color: #c2b4a6;
  text-decoration: none;
  font-size: 14px;
}

.footer-minimal-links a:hover {
  text-decoration: underline;
  color: #ffffff;
}
/* .footer-minimal {
  background: var(--ink-dark);
  padding: 25px 60px;
  border-top: 0.5px solid rgba(255,255,255,0.06);
} */

/* .footer-minimal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
} */

/* .footer-minimal-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.65;
} */

/* Menggeser teks copy ke kiri agar mepet/mengikuti logo */
/* .footer-minimal-copy {
  margin-right: auto;
  text-align: left;
  color: var(--muted);
  font-size: 14px;
} */
.footer-minimal-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
/* .footer-minimal-links a {
  font-size: 11px;
  color: rgba(250,247,242,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-minimal-links a:hover { color: rgba(250,247,242,0.6); } */

@media (max-width: 1024px) {
  .mission-section { grid-template-columns: 1fr; gap: 40px; padding: 72px 32px; }
  .footer-minimal { padding: 28px 32px; }
  .footer-minimal-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ===== EMAIL CTA STRIP ===== */
.email-strip {
  background: var(--ink-dark);
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}
.email-strip-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(250,247,242,0.5);
  letter-spacing: 0.02em;
}
.email-strip-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 0.5px solid rgba(250,247,242,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.email-strip-link:hover {
  color: var(--sage-light);
  border-color: var(--sage-light);
}

/* ===== CTA CARD SMALLER TITLE ===== */
.offer-cta-card .offer-cta-title,
.offer-cta-card .offer-cta-title {
  font-size: 16px !important;
  line-height: 1.4 !important;
}


/* ===== CONTAINER UTAMA ===== */
.fabric-container {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Jarak antara baris gambar dan baris tulisan */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BARIS 1: KOTAK GAMBAR (3 Kolom Sejajar) ===== */
.fabric-media-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Kolom sama rata */
  gap: 32px; /* Jarak antar kotak gambar */
  width: 100%;
}

/* Kunci utama semua media berasio 3:4 */
.fabric-item {
  width: 100%;
  aspect-ratio: 3 / 4; 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px; /* Sudut melengkung halus */
  overflow: hidden;
  box-sizing: border-box;
}

/* Background image placeholder */
.fabric-row-img-1 { background-color: #C8D5BE; }
.fabric-people-photo { 
  background-color: #D5C8B8; 
  /* Jika ada file fotonya, aktifkan baris bawah ini: */
  /* background-image: url('assets/nama-foto-penjahit.png'); */
}

/* Panel Sertifikasi (Logo Grid) */
.fabric-cert-panel {
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  padding: 24px;
  width: 100%;
  align-items: center;
  justify-items: center;
}

.cert-panel-img {
  width: 100%;
  height: 70px;
  max-width: 130px;
  object-fit: contain;
  background: transparent;
}


/* ===== BARIS 2: TULISAN (Fit Mengikuti Panjang Teks) ===== */
.fabric-text-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Kolom sejajar di bawah gambar pas */
  gap: 32px; /* Jarak antar kolom teks disamakan dengan gap gambar */
  width: 100%;
}

.fabric-text-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: auto; /* Mengembalikan ukuran fit menyesuaikan konten tulisan */
  padding: 10px 0;
}

.fabric-col-name {
  font-size: 20px;
  font-weight: bold;
  color: #614124; /* Sesuaikan dengan brand warna Anda */
}

.fabric-col-body {
  font-size: 14px;
  line-height: 1.6;
  color: #4a4a4a;
}


/* ===== RESPONSIVE TAMPILAN MOBILE (Layar < 768px) ===== */
@media (max-width: 768px) {
  /* Mengubah container utama menjadi grid tunggal memanjang ke bawah */
  .fabric-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px; /* Jarak vertikal antar elemen (Gambar ke Tulisan, Tulisan ke Gambar) */
  }

  /* KUNCI: Membuat baris pembungkus "melebur" sehingga item di dalamnya 
     bisa diurutkan langsung dari container utama */
  .fabric-media-row, 
  .fabric-text-row {
    display: contents; 
  }

  /* --- MENGATUR URUTAN SELANG-SELING (Order) --- */
  
  /* Kelompok 1 (Better Fabrics) */
  .fabric-media-row .fabric-row-img-1 { order: 1; }
  .fabric-text-row .fabric-text-col:nth-child(1) { order: 2; margin-bottom: 24px; } /* Margin bawah sebagai pemisah antar kelompok */

  /* Kelompok 2 (Responsible Sourcing / Panel Logo) */
  .fabric-media-row .fabric-item:nth-child(2)  { order: 3; }
  .fabric-text-row .fabric-text-col:nth-child(2) { order: 4; margin-bottom: 24px; }

  /* Kelompok 3 (People Matter) */
  .fabric-media-row .fabric-people-photo      { order: 5; }
  .fabric-text-row .fabric-text-col:nth-child(3) { order: 6; }

  /* --- PENGATURAN GAMBAR DI MOBILE --- */
  .fabric-item {
    width: 100%;
    aspect-ratio: 3 / 4 !important; /* Memaksa ukuran gambar tetap presisi 3:4 di mobile */
  }

  /* Sedikit penyesuaian padding logo di mobile agar tidak terlalu padat */
  .cert-panel-grid {
    padding: 16px;
    gap: 16px;
  }
  
  .cert-panel-img {
    height: 60px;
  }
}



/* ===== HERO VIDEO ===== */
.hero-video-side {
  position: relative;
  overflow: hidden;
  background: var(--ink-dark);
}
.hero-video {
  width: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

/* ===== 1. KONTEN UTAMA PANEL (Menyatu dengan Background) ===== */
.fabric-cert-panel {
  background: transparent !important; /* Mengubah warna kotak menjadi transparan agar menyatu dengan belakangnya */
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 100%; /* Mengikuti tinggi rasio 3:4 dari .fabric-item */
}

/* ===== 2. INNER CONTAINER (Jika Digunakan) ===== */
.cert-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 56px;
}

/* ===== 3. GRID INTERNAL (2x2) ===== */
.cert-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 32px;             /* Jarak antar logo sedikit diperlebar agar rapi */
  padding: 32px;         /* Padding luar agar tidak menempel ke tepi kotak 3:4 */
  width: 100%;
  align-items: center;
  justify-items: center;
}

/* ===== 4. STYLING LOGO UTAMA (Seragam & Diperbesar) ===== */
.cert-panel-img {
  width: 100%;           /* Memaksa gambar melebar penuhi kolom grid */
  height: 90px;          /* Menentukan tinggi seragam agar posisi sejajar seimbang */
  max-width: 160px;      /* Batas lebar maksimal agar tidak terlalu raksasa */
  object-fit: contain;   /* Menjaga logo transparan tidak gepeng/distorsi */
  background: transparent; /* Memastikan background bawaan gambar tetap transparan */
  box-sizing: border-box;
}


/* ===== PEOPLE PHOTO ===== */
.fabric-people-photo {
  background-image: url('assets/photo-people.jpg');
  background-size: cover;
  background-position: center top;
  min-height: 380px;
}


/* Container Utama */
.fabric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Membagi menjadi 3 kolom sama rata */
  grid-template-rows: auto auto;         /* Membagi menjadi 2 baris */
  gap: 30px;                             /* Jarak antar item (grid gap) */
  padding: 20px;
}

/* Base Styling untuk Setiap Kotak */

/* Styling Khusus Box Teks */
.text-item {
  padding: 15px 0; /* Memberikan ruang vertikal untuk teks */
}

.fabric-col-name {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.fabric-col-body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

/* Styling Khusus Box Gambar */
.img-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;            /* Memastikan background memenuhi tinggi rasio 3:4 */
}

/* ==========================================
   TAMPILAN WEBSITES (DESKTOP)
   ========================================== */
.fabric-grid {
  display: grid;
  /* Membuat 3 kolom sama rata */
  grid-template-columns: repeat(3, 1fr); 
  /* Baris 1 (Gambar) tinggi fixed 360px, Baris 2 (Tulisan) lebih pendek/menyesuaikan isi */
  grid-template-rows: 360px minmax(200px, auto); 
  gap: 24px;
}

/* Mengatur posisi default di desktop agar gambar berjejer di atas, tulisan di bawah */
.fabric-grid .img-item {
  grid-row: 1;
}
.fabric-grid .text-item {
  grid-row: 2;
  padding: 32px 24px;
  background: var(--cream);
  border: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* ==========================================
   TAMPILAN MOBILE (HP)
   ========================================== */
@media (max-width: 768px) {
  .fabric-grid {
    /* Ubah menjadi 1 kolom memanjang ke bawah */
    grid-template-columns: 1fr;
    /* Reset otomatis tinggi baris */
    grid-template-rows: auto;
    gap: 16px;
  }

  /* Buat semua item mengalir satu per satu */
  .fabric-grid .img-item,
  .fabric-grid .text-item {
    grid-row: auto;
  }

  /* Berikan tinggi fixed untuk box gambar saat di HP */
  .fabric-grid .img-item {
    height: 280px; 
  }

  /* Atur urutan selang-seling (Gambar -> Tulisan) menggunakan CSS Order */
  .pos-1 { order: 1; }
  .pos-2 { order: 2; }
  .pos-3 { order: 3; }
  .pos-4 { order: 4; }
  .pos-5 { order: 5; }
  .pos-6 { order: 6; }
}


/* FLOATING EMAIL */
/* Container Utama Floating Email */
.email-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #1A2E30; /* Warna utama gelap (bisa diganti sesuai brand Anda) */
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;       /* Membuat bentuk pil/kapsul melingkar */
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 9999;             /* Memastikan selalu berada di lapisan paling atas */
}

/* Efek Hover (Saat Kursor Diatas Tombol) */
.email-float:hover {
  background-color: #2c474a; /* Warna sedikit lebih terang saat di-hover */
  transform: translateY(-3px); /* Efek sedikit naik ke atas */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Styling Tulisan "Email us" */
.email-label {
  font-size: 15px;
  font-weight: 500;
  font-family: sans-serif; /* Sesuaikan dengan font project Anda */
}

/* Opsional: Menyembunyikan tulisan di layar HP kecil agar hanya muncul ikon saja */
@media (max-width: 480px) {
  .email-float {
    padding: 14px; /* Membuat bentuk menjadi bulat lingkaran di HP */
    bottom: 20px;
    right: 20px;
  }
  .email-label {
    display: none; /* Menghilangkan teks */
  }
}


/* ==========================================
   PERBAIKAN RESPONSIF TAMPILAN MOBILE (HP) 
   ========================================== */

@media (max-width: 768px) {
  /* UTILITIES & PADDING */
  .section {
    padding: 60px 24px;
  }
  
  /* NAVBAR & MOBILE MENU BUTTON */
  #navbar {
    padding: 16px 24px;
  }
  #navbar.scrolled {
    padding: 12px 24px;
  }
  .nav-links, .nav-cta {
    display: none !important; /* Sembunyikan menu desktop di HP */
  }
  .nav-toggle {
    display: flex !important; /* Tampilkan burger menu button */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 210;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink-dark) !important; /* Pastikan terlihat kontras pada navbar */
    transition: transform 0.3s;
  }

  /* HERO AREA (INDEX) */
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
    min-height: auto;
  }
  .hero-left {
    padding: 40px 24px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
  }
  .stat-divider {
    display: none; /* Sembunyikan garis pembatas kaku */
  }
  .hero-right {
    min-height: 300px;
    padding: 40px 24px;
  }

  /* GRID SISTEM UMUM (VALUES, PROCESS, CERTS) */
  .values-grid,
  .steps-grid,
  .cert-grid,
  .cert-inner {
    grid-template-columns: 1fr !important;
    gap: 20px;
    background: none;
  }
  .val-card, .step, .cert-badge {
    border: 0.5px solid var(--border);
  }

  /* COLLECTIONS PAGE & INDEX SECTION */
  .collections-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .col-card--tall {
    grid-row: auto;
  }
  .col-card--tall .col-img {
    min-height: 300px;
    height: 300px;
  }

  /* ABOUT PAGE (BELIEF & COMMITMENT SECTIONS) */
  .about-hero {
    padding: 100px 24px 40px;
  }
  .about-inner {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  .belief-section {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }
  .belief-grid-images,
  .belief-grid-contents {
    grid-template-columns: 1fr !important;
  }
  .belief-content {
    padding: 32px 24px;
  }
  .how-section {
    padding: 60px 24px;
  }
  .how-steps {
    flex-direction: column;
  }
  .how-step {
    border-right: none;
    border-bottom: 0.5px solid var(--border);
    padding: 24px 0;
  }
  .how-step:last-child {
    border-bottom: none;
  }
  .commit-section {
    grid-template-columns: 1fr !important;
    padding: 40px 24px;
    gap: 32px;
  }
  .commit-pillars {
    grid-template-columns: 1fr !important;
    gap: 16px;
    background: none;
  }
  .commit-pillar {
    padding: 24px !important;
    border: 0.5px solid rgba(255,255,255,0.1);
  }

  /* FLOATING EMAIL */
  .email-float {
    bottom: 20px;
    right: 20px;
    padding: 10px 16px;
    font-size: 12px;
  }
}