:root {
  --emerald: #046c4e;
  --emerald-light: #0e9f6e;
  --gold: #facc15;
  --dark: #0b1b16;
  --gray: #f7faf7;
  --surface: #ffffff;
  --border: rgba(4, 108, 78, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
@font-face {
  font-family: "Brush Script Std";
  src:
    url("font/BrushScriptStd.woff2") format("woff2"),
    url("font/BrushScriptStd.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background:
    radial-gradient(circle at 20% 20%, #e8fff4 0, transparent 35%),
    radial-gradient(circle at 80% 0%, #fef7d7 0, transparent 30%), var(--gray);
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

section {
  padding: 120px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

.lead {
  font-size: 18px;
  color: #1f2a24;
}

a {
  color: inherit;
}

/* BUTTONS */
.btn-primary,
.btn-ghost,
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, #facc15, #f4b400);
  color: #1a1500;
  box-shadow: 0 14px 40px rgba(250, 204, 21, 0.35);
}

.btn-ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--dark);
  backdrop-filter: blur(8px);
}

.btn-nav {
  border: 1px solid rgba(4, 108, 78, 0.25);
  background: rgba(4, 108, 78, 0.08);
  color: var(--emerald);
  padding-inline: 18px;
  font-weight: 600;
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--emerald);
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo span {
  font-family: "Brush Script Std", cursive;
  font-size: 30px;
  font-weight: normal;
  font-style: italic;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .logo-img {
    height: 32px;
  }
}

.nav {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 12px;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition:
    width 0.2s ease,
    left 0.2s ease;
}

.nav a:hover::after {
  width: 80%;
  left: 10%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 140px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(4, 108, 78, 0.9), rgba(4, 108, 78, 0.65)),
    url("https://images.unsplash.com/photo-1604908177522-402c64c3c59f");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.hero-shape {
  position: absolute;
  width: 360px;
  height: 360px;
  background: rgba(250, 204, 21, 0.28);
  border-radius: 50%;
  filter: blur(2px);
}

.hero-left {
  top: -120px;
  left: -140px;
}
.hero-right {
  bottom: -160px;
  right: -140px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  color: #f8fff5;
}

.hero-text h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 12px 0 12px;
}

.hero-text h1 span {
  display: block;
  color: var(--gold);
  font-size: 20px;
  font-weight: 400;
}

.hero-text .lead {
  color: #e2f7ea;
  margin: 16px 0 24px;
  max-width: 620px;
}

.hero-highlights {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-highlights span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 22px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 14px;
  border-radius: 14px;
}

.hero-stats strong {
  display: block;
  font-size: 16px;
}

.hero-stats small {
  color: rgba(255, 255, 255, 0.75);
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.hero-card-image {
  height: 240px;
  background:
    linear-gradient(135deg, rgba(4, 108, 78, 0.75), rgba(4, 108, 78, 0.55)),
    url(asset/asset.png);
  background-size: cover;
  background-position: center;
}

.hero-card-body {
  padding: 24px;
  color: #0f172a;
}

.hero-pill {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(4, 108, 78, 0.1);
  color: var(--emerald);
  font-weight: 700;
  margin-top: 12px;
}

/* TRUST */
.trust-strip {
  background: #fefce8;
  padding: 32px 0;
  border-bottom: 1px solid #f3e8a3;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.trust-item {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  color: #854d0e;
  border: 1px solid #f3e8a3;
  box-shadow: 0 10px 24px rgba(250, 204, 21, 0.12);
}

/* ABOUT */
.about {
  background: var(--gray);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.about-text h2 {
  margin: 6px 0 12px;
}
.about p {
  color: #273329;
  margin-bottom: 14px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.about-stats div {
  background: #fff;
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.about-stats strong {
  display: block;
  color: var(--emerald);
  font-size: 20px;
}
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.about-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(4, 108, 78, 0.92);
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(4, 108, 78, 0.35);
}
.about-badge small {
  display: block;
  opacity: 0.85;
}

/* PRODUCTS */

.section-desc {
  max-width: 720px;
  margin: 12px 0px 48px;
  color: #4b5563;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.product-card {
  background: #fff;
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: 0.3s;
  border: 1px solid var(--border);
}
.product-card:hover {
  transform: translateY(-10px);
}
.product-tag {
  display: inline-block;
  background: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.product-image {
  height: 400px;
  margin: 16px 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #e5e7eb, #fef3c7);
  border: 1px solid #f3e8a3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.btn-secondary {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(4, 108, 78, 0.08);
  color: var(--emerald);
  font-weight: 600;
}

.swipe-hint {
  display: none;
}

.catalog-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #6b7280;
}

.product-image {
  width: 100%;
  height: 500px;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
  margin-bottom: 14px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* foto tidak gepeng */
  display: block;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 9999;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

@keyframes zoomIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* biar kelihatan bisa diklik */
.product-image img {
  cursor: zoom-in;
}

/* CLIENTS */
/* CLIENTS – STRONG SECTION */
.clients {
  background: linear-gradient(180deg, #03543f 0%, #046c4e 100%);
  color: #ffffff;
  position: relative;
}

/* Optional decorative divider */
.clients::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* HEADER */
.clients-header h2 {
  color: #ffffff;
}

.clients-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* BOX */
.clients-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 56px 64px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}

/* LEFT – HIGHLIGHT */
.clients-highlight {
  border-left: 4px solid var(--emerald);
  padding-left: 24px;
}

.clients-number {
  font-size: 52px;
  font-weight: 700;
  color: var(--emerald);
  font-family: "Playfair Display", serif;
}

.clients-text {
  color: #374151;
  font-size: 16px;
}

/* LIST */
.client-list li {
  color: #111827;
}

/* CONTACT SECTION */
.contact-section {
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 56px;
}

/* GRID */
.contact-grid.clean {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: flex-start;
}

/* INFO */
.contact-info.clean {
  padding: 0; /* HILANGKAN BOX */
  background: none;
  box-shadow: none;
}

.contact-block + .contact-block {
  margin-top: 32px;
}

.contact-block h3 {
  font-size: 18px;
  color: var(--emerald);
  margin-bottom: 8px;
}

.contact-block p {
  color: #374151;
  line-height: 1.7;
}

.note {
  font-size: 14px;
  color: #6b7280;
}

/* LINKS */
.map-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--emerald);
  font-weight: 600;
  text-decoration: none;
}

.map-link:hover {
  text-decoration: underline;
}

.btn-contact {
  display: inline-block;
  margin-top: 12px;
  background: var(--emerald);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.social-link {
  color: var(--emerald);
  text-decoration: none;
  font-weight: 500;
}
/* MAP */
.contact-map iframe {
  width: 100%;
  height: 600px;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* FOOTER */
.footer {
  background: #111827;
  color: #d1d5db;
  padding: 60px 0;
  text-align: center;
}
.footer p + p {
  margin-top: 8px;
}
.security-note {
  font-size: 12px;
  opacity: 0.7;
}

/* WHATSAPP */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #22c55e;
  color: #fff;
  padding: 16px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 2fr);
  }
}

/* =========================
   RESPONSIVE – TABLET
========================= */
@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    padding-inline: 16px;
    grid-template-areas:
      "logo cta"
      "nav nav";
  }

  .logo {
    grid-area: logo;
  }

  .nav {
    grid-area: nav;
    justify-content: flex-start;
  }

  .btn-nav {
    grid-area: cta;
    justify-self: end;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-image {
    height: 180px;
  }
}

/* =========================
   RESPONSIVE – MOBILE
========================= */
@media (max-width: 768px) {
  /* GLOBAL */
  section {
    padding: 56px 0;
  }

  /* HEADER */
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo cta"
      "nav nav";
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);

    /* keadaan tertutup */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--emerald);
    border-radius: 2px;
  }

  .nav a {
    padding: 14px 24px;
    width: 100%;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .btn-nav {
    display: none;
    padding: 8px 14px;
    font-size: 14px;
  }

  /* HERO */
  .hero {
    padding: 96px 0 56px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text h1 span {
    font-size: 16px;
  }

  .hero-highlights span {
    font-size: 12px;
    padding: 6px 10px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  /* HERO STATS */
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-stats div {
    padding: 10px 12px;
  }

  .hero-stats strong {
    font-size: 14px;
  }

  .hero-stats small {
    font-size: 12px;
  }

  /* HERO CARD */
  .hero-card {
    max-width: 100%;
    margin-top: 8px;
  }

  .hero-card-image {
    height: 140px;
  }

  .hero-card-body {
    padding: 14px;
    font-size: 14px;
  }

  /* GRID */
  .about-grid,
  .contact-grid.clean {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  /* CLIENTS */
  .clients-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  /* CONTACT & MAP */
  .contact-section h2 {
    margin-bottom: 24px;
  }

  .contact-map iframe {
    height: 260px;
    border-radius: 16px;
  }

  /* FLOATING WHATSAPP */
  .wa-float {
    right: 16px;
    bottom: 16px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .wa-float {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.3s ease;
  }

  .hero-text h1,
  .hero-text h1 span,
  .hero-actions,
  .hero-highlights {
    text-align: center;
    justify-content: center;
  }

  /* Tetap kiri untuk teks panjang */
  .hero-text .lead {
    text-align: left;
  }

  .hero-text {
    text-align: center;
  }

  .hero-highlights {
    justify-content: center;
  }

  .hero-actions {
    align-items: center;
  }

  /* //product */
  .product-grid {
    display: flex;
    gap: 16px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;

    padding-bottom: 8px;
  }

  .product-grid::-webkit-scrollbar {
    display: none;
  }

  .product-card {
    flex: 0 0 80%;
    scroll-snap-align: start;

    padding: 20px;
    border-radius: 20px;
  }

  .product-image {
    height: 140px;
    margin-bottom: 12px;
  }

  .product-card h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .product-card p {
    font-size: 14px;
    line-height: 1.5;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .swipe-hint {
    display: block;
    font-size: 12px;
    opacity: 0.6;
    text-align: center;
    margin-bottom: 12px;
  }
}
