  :root {
    --hijau-tua: #1a3a1e;
    --hijau-mid: #2d5a2e;
    --hijau-terang: #4a8c3f;
    --hijau-muda: #7ab648;
    --coklat-tua: #3b2006;
    --coklat-mid: #6b3a1f;
    --coklat-muda: #c47a3a;
    --krem: #f5eedf;
    --krem-muda: #faf6ed;
    --putih: #ffffff;
  }

  * { box-sizing: border-box; }

  body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--krem-muda);
    color: var(--coklat-tua);
    margin: 0;
  }

  /* ── HERO ── */
  .hero {
    position: relative;
    background:
      linear-gradient(160deg, rgba(26,58,30,.88), rgba(59,32,6,.75)),
      url('/img/bg.jpg') center center/cover no-repeat;
  }

  .hero::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--krem-muda);
    clip-path: ellipse(60% 100% at 50% 100%);
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 80px 60px 160px 80px;
    animation: fadeUp 1s ease both;
    max-width: 720px;
  }

  .hero-content {
    /* konten teks hero */
  }

  .hero-badge {
    display: inline-block;
    background: rgba(196,122,58,0.25);
    border: 1px solid rgba(196,122,58,0.6);
    color: #e8c48a;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
  }

  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    color: var(--putih);
    line-height: 1.12;
    margin: 0 0 20px;
  }

  .hero h1 em {
    color: #e8c48a;
    font-style: italic;
  }

  .hero p {
    color: rgba(255,255,255,0.78);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 0 36px;
  }

  .hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }

  .btn-primary-custom {
    background: var(--coklat-muda);
    color: var(--putih);
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
  }

  .btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196,122,58,0.45);
    color: var(--putih);
  }

  .btn-outline-custom {
    background: transparent;
    color: var(--putih);
    border: 1.5px solid rgba(255,255,255,0.55);
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    display: inline-block;
  }

  .btn-outline-custom:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.85);
    color: var(--putih);
  }

  .hero-stats {
    position: absolute;
    bottom: 140px;
    right: 60px;
    display: flex;
    gap: 28px;
    z-index: 2;
    animation: fadeUp 1.2s ease both;
  }

  .stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 18px 24px;
    text-align: center;
    color: var(--putih);
  }

  .stat-card .num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #e8c48a;
    display: block;
  }

  .stat-card .lbl {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
  }

  /* ── SECTION KOPI LAMPUNG BARAT ── */
  .section-kopi {
    padding: 90px 0 80px;
    background: var(--krem-muda);
  }

  .container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
  }

  .section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .section-label .line {
    width: 40px;
    height: 2px;
    background: var(--coklat-muda);
  }

  .section-label span {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--coklat-mid);
    font-weight: 500;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--hijau-tua);
    line-height: 1.2;
    margin: 0 0 20px;
  }

  .kopi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .kopi-text p {
    color: #5a4a38;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
  }

  .kopi-feature-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .kopi-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: #4a3728;
  }

  .kopi-feature-list .icon-dot {
    width: 28px;
    height: 28px;
    background: var(--hijau-terang);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .kopi-feature-list .icon-dot svg {
    width: 14px;
    height: 14px;
    stroke: white;
    fill: none;
    stroke-width: 2.5;
  }

  .kopi-visual {
    position: relative;
  }

  .kopi-img-main {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
  }

  .kopi-img-accent {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 20px;
    border: 6px solid var(--krem-muda);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  }

  .kopi-tag {
    position: absolute;
    top: 24px;
    right: -16px;
    background: var(--hijau-tua);
    color: var(--putih);
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    max-width: 160px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }

  /* ── GALERI BIBIT ── */
  .section-galeri {
    padding: 200px 0;
    background: var(--hijau-tua);
    position: relative;
    overflow: hidden;
  }

  .section-galeri::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--krem-muda);
    clip-path: ellipse(60% 100% at 50% 0%);
  }

  .section-galeri::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--krem);
    clip-path: ellipse(60% 100% at 50% 100%);
  }

  .galeri-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .galeri-header .section-label {
    justify-content: center;
  }

  .galeri-header .section-title {
    color: var(--krem);
  }

  .galeri-header p {
    color: rgba(245,238,223,0.72);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
  }

  .galeri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
  }

  .galeri-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #2d5a2e;
    height: 200px;
  }

  .galeri-item:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    height: 220px;
  }

  .galeri-item img {
  width: 100%;
  height: 100%; /* lebih kecil & konsisten */
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

  .galeri-item:hover img {
    transform: scale(1.06);
  }

  .galeri-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,58,30,0.85) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 20px;
  }

  .galeri-item:hover .galeri-overlay {
    opacity: 1;
  }

  .galeri-overlay-text {
    color: var(--putih);
    font-size: 14px;
    font-weight: 500;
  }

  .galeri-step {
    display: inline-block;
    background: var(--coklat-muda);
    color: white;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 6px;
    letter-spacing: 1px;
    object-fit: cover;
  }

  /* ── ABOUT UMKM ── */
  .section-about {
    padding: 100px 0 90px;
    background: var(--krem);
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
  }

  .about-img-wrap {
    position: relative;
  }

  .about-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
  }

  .about-badge {
    position: absolute;
    bottom: 30px;
    right: -24px;
    background: var(--coklat-muda);
    color: white;
    border-radius: 16px;
    padding: 20px 24px;
    max-width: 190px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  }

  .about-badge .num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
  }

  .about-badge .txt {
    font-size: 12px;
    opacity: 0.88;
    letter-spacing: 0.5px;
  }

  .about-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--hijau-tua);
    margin: 0 0 20px;
    line-height: 1.2;
  }

  .about-info p {
    color: #5a4a38;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 14px;
  }

  .contact-box {
    margin-top: 32px;
    background: var(--hijau-tua);
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .contact-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
  }

  .contact-info {
    flex: 1;
  }

  .contact-info .lbl {
    font-size: 12px;
    color: rgba(245,238,223,0.65);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
  }

  .contact-info .num {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--krem);
  }

  .btn-wa {
    background: #25d366;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s;
    white-space: nowrap;
  }

  .btn-wa:hover {
    transform: translateY(-2px);
    color: white;
  }

  /* ── media sosial ── */
  .video-header {
  text-align: center;
  margin: 0 auto 35px auto;
  max-width: 700px;
}

.video-header .section-label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.video-header .section-title {
  text-align: center;
}

.video-header p {
  text-align: center;
}
  .social-hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 30px;
}

.social-box {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.social-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
  color: #2e5d34;
}

.video-frame iframe {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  border: none;
  display: block;
}

.tiktok-frame {
  display: flex;
  justify-content: center;
  min-height: 300px;
  align-items: center;
}


  /* ── PRODUK ── */
   /* ── Card style katalog (dipakai di home juga) ── */
.card-img-wrap {
  position: relative;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.produk-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(26,58,30,0.85);
  color: #e8c48a;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.card-body-custom {
  padding: 20px 22px 22px;
}

.produk-nama {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--coklat-tua);
  margin: 6px 0 8px;
}

.produk-deskripsi {
  font-size: 13px;
  color: #7a6550;
  line-height: 1.6;
  margin-bottom: 8px;
}

.stok {
  font-size: 12px;
  color: #a08060;
  margin-bottom: 14px;
}

.card-footer-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.btn-coffee {
  background: var(--coklat-muda);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-coffee:hover {
  background: var(--coklat-mid);
  color: white;
}
.produk-harga {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--hijau-mid);
  white-space: nowrap; /* ← ini yang fix harga tidak wrap */
}

.card-footer-custom {
  display: flex;
  flex-direction: column; /* susun vertikal */
  gap: 10px;
  margin-top: 14px;
}

.card-footer-custom .btn-pesan {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: 14px;
  white-space: nowrap;
  border-radius: 12px;
}
  /* produk */
  
  .section-produk {
    padding: 90px 0 100px;
    background: var(--krem-muda);
  }

  .produk-header {
    text-align: center;
    margin-bottom: 56px;
  }

  .produk-header .section-label {
    justify-content: center;
  }

  .produk-header p {
    color: #7a6550;
    max-width: 480px;
    margin: 0 auto;
  }

  .produk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

  .produk-card {
    background: var(--putih);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(58,32,6,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .produk-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(58,32,6,0.15);
  }

  .produk-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
  }

  .produk-card-body {
    padding: 22px 24px 24px;
  }

  .produk-tag {
    display: inline-block;
    background: #eaf3de;
    color: #3b6d11;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
    text-transform: uppercase;
  }

  .produk-card h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--coklat-tua);
    margin: 0 0 8px;
  }

  .produk-harga {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--hijau-mid);
    margin-bottom: 18px;
  }

  .btn-pesan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
  }

  .btn-pesan:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    color: white;
  }

  .btn-pesan svg {
    width: 18px;
    height: 18px;
    fill: white;
    flex-shrink: 0;
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .kopi-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .galeri-grid { grid-template-columns: repeat(2, 1fr); }
    .galeri-item:first-child { grid-column: 1 / 3; grid-row: auto; }
    .about-badge { display: none; }
    .hero-stats { gap: 12px; }
  }
  /* ── RESPONSIVE 768px (MOBILE) — hanya hero ── */
  @media (max-width: 768px) {

    /* Hero: susun vertikal, hapus absolute pada stats */
    .hero {
      display: flex;
      flex-direction: column;
      min-height: auto;
    }

    .hero-inner {
      padding: 68px 20px 16px 20px;  
      gap: 12px;                      
      max-width: 100%;
      animation: none;
    }

    .hero h1 {
      font-size: clamp(1.6rem, 6.5vw, 2.2rem);
      line-height: 1.2;
      margin: 0;
    }

    .hero p {
      font-size: 0.92rem;
      line-height: 1.65;
      margin: 0;
      max-width: 100%;
    }

    .hero-badge {
      font-size: 10px;
      letter-spacing: 2px;
      padding: 5px 14px;
      margin-bottom: 0;            
    }

    .hero-cta {
      gap: 10px;
      margin-top: 0;
    }

    .btn-primary-custom,
    .btn-outline-custom {
      padding: 11px 20px;
      font-size: 14px;
    }

    /* Stat cards: lepas dari absolute, susun di bawah CTA */
    .hero-stats {
      position: static;             
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: center;
      align-items: stretch;
      gap: 8px;
      padding: 14px 16px 60px 16px;
      margin-bottom: 60px; /* padding bawah untuk kurva ::before */
      animation: none;
      z-index: 3;
    }

    .stat-card {
      flex: 1 1 0;
      min-width: 0;
      padding: 12px 6px;
      border-radius: 12px;
    }

    .stat-card .num {
      font-size: 1.2rem;
    }

    .stat-card .lbl {
      font-size: 9.5px;
      letter-spacing: 0.3px;
      white-space: normal;
      word-break: keep-all;
      line-height: 1.4;
    }
    
  }


/* ==========================
   VIDEO SECTION
========================== */

.section-video{
    padding:80px 0;
    background:#f8f6f0;
}
.video-header{
    width:100%;
    max-width:700px;
    margin:0 auto 35px auto;
    text-align:center;
}

.video-header .section-label{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
}

.video-header .section-title{
    text-align:center;
    margin-top:15px;
    margin-bottom:15px;
}

.video-header p{
    text-align:center;
    margin:0 auto;
    max-width:600px;
    color:#666;
    line-height:1.7;
}

.video-grid{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:25px;
    flex-wrap:wrap;
}

.video-card{
    width:420px;
    max-width:100%;
    background:#fff;
    border-radius:18px;
    padding:15px;
    border-top:4px solid #8B5E3C;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.video-card iframe{
    width:100%;
    height:220px;
    border:none;
    border-radius:12px;
}
/* TikTok */
.video-card blockquote{
    max-width:320px !important;
    min-width:auto !important;
    margin:0 auto !important;
}
/* Mobile */
@media(max-width:768px){

    .section-video{
        padding:60px 20px;
    }

    .video-grid{
        grid-template-columns:1fr;
    }

    .video-card iframe{
        height:220px;
    }

}
.social-hub{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 30px;
}

.social-box{
    background: #fff;
    border-radius: 18px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.social-box:hover{
    transform: translateY(-5px);
}

.social-title{
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
    color: #2e5d34;
}

.video-frame iframe{
    width: 100%;
    height: 280px;
    border-radius: 12px;
}

.tiktok-frame{
    display: flex;
    justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 768px){
    .social-hub{
        grid-template-columns: 1fr;
    }

    .video-frame iframe{
        height: 220px;
    }
}

@media (max-width: 900px) {
  .produk-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 kolom di tablet */
  }
}

@media (max-width: 600px) {
  .produk-grid {
    grid-template-columns: 1fr !important;
  }
  .card-img-wrap img {
    height: 260px !important;
  }
  .card-body-custom {
    padding: 16px 18px 18px !important;
  }
  .produk-harga {
    font-size: 1.3rem !important;
    text-align: center !important;
  }
  .card-footer-custom {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .card-footer-custom .btn-pesan {
    width: 100% !important;
    padding: 14px !important;
    font-size: 15px !important;
    border-radius: 12px !important;
  }
}