/* ============================================================
   PT. Indonesia Lestari Group — shared stylesheet
   Static site, hand-written CSS. No frameworks.
   Structure:
     1. Tokens (:root)
     2. Base reset & typography
     3. Layout helpers (.container, .section)
     4. Buttons
     5. Header
     6. Footer
     7. WhatsApp FAB
     8. Beranda sections (hero, features, about, services,
        commitment, certifications, gallery, cta)
     9. Responsive
   Other page agents: APPEND page-specific styles at the end,
   under a clearly-commented /* === Page: xxx === * / block.
   ============================================================ */

/* === 1. Tokens === */
:root {
  /* Colors */
  --green-900: #0c3d25;   /* brand dark green (wordmark, footer, dark cards) */
  --green-700: #166534;   /* primary green (buttons, links, badges text) */
  --green-heading: #0e3620; /* big headings */
  --green-ink-on-yellow: #0e2e1c; /* text on yellow buttons */
  --green-badge-bg: #e7f4ec; /* light green badge / icon circles */
  --green-tint: #eff7f2;  /* pale green section tint / hero gradient end */
  --yellow: #f2c230;      /* accent yellow (CTA pills, ratings) */
  --gray-700: #374151;    /* nav links, strong body text */
  --gray-500: #6b7280;    /* body copy */
  --gray-400: #9ca3af;    /* muted small text */
  --white: #ffffff;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Radii */
  --radius-pill: 26px;    /* buttons */
  --radius-badge: 20px;   /* small badges */
  --radius-lg: 20px;      /* large images / banners */
  --radius-md: 16px;      /* cards */
  --radius-sm: 12px;      /* small cards / chips */

  /* Layout */
  --container-max: 1312px; /* 1440 - 2*64 */
  --gutter: 64px;

  /* Shadows */
  --shadow-card: 0 10px 30px rgba(12, 61, 37, 0.08);
  --shadow-soft: 0 4px 16px rgba(12, 61, 37, 0.06);
}

/* === 2. Base reset & typography === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* === 3. Layout helpers === */
.container {
  max-width: calc(var(--container-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
}

/* === 4. Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn--primary {
  background: var(--green-700);
  color: var(--white);
}

.btn--outline {
  background: var(--white);
  border: 1.5px solid var(--green-700);
  color: var(--green-700);
}

.btn--yellow {
  background: var(--yellow);
  color: var(--green-ink-on-yellow);
}

/* === 5. Header === */
.header {
  background: var(--white);
  height: 78px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(12, 61, 37, 0.06);
}

.header__inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  width: 46px;
  height: 44px;
  object-fit: contain;
}

.brand__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--green-900);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--green-700);
}

.nav__link--active {
  color: var(--green-700);
  font-weight: 600;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header__login {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  white-space: pre;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === Hero === */
.hero {
  background: linear-gradient(to right, var(--white), var(--green-tint));
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.hero__copy {
  flex: 1 0 0;
  min-width: 1px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero__badge {
  display: inline-flex;
  background: var(--green-badge-bg);
  padding: 8px 16px;
  border-radius: var(--radius-badge);
  font-size: 12px;
  font-weight: 600;
  color: var(--green-700);
  white-space: pre;
}

.hero__title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-heading);
  max-width: 560px;
}

.hero__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-500);
  max-width: 470px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
}

.hero__image {
  width: 620px;
  max-width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  flex-shrink: 0;
}

/* === Features Strip === */
.features {
  background: var(--white);
  padding-bottom: 56px;
}

.features__card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature {
  flex: 1 0 0;
  min-width: 1px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-badge-bg);
  flex-shrink: 0;
}

.feature__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.feature__title {
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  color: #171c26;
  white-space: nowrap;
}

.feature__text {
  font-size: 12px;
  line-height: normal;
  color: var(--gray-500);
  max-width: 200px;
}

/* === Tentang Kami (About) === */
.about {
  background: var(--white);
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.about__copy {
  flex: 1 0 0;
  min-width: 1px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.about__title {
  font-size: 30px;
  font-weight: 700;
  line-height: normal;
  color: #171c26;
}

.about__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--gray-500);
  max-width: 560px;
}

.about__stats {
  display: flex;
  gap: 48px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-badge-bg);
  flex-shrink: 0;
}

.stat__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__value {
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  color: #171c26;
  white-space: nowrap;
}

.stat__label {
  font-size: 11.5px;
  line-height: normal;
  color: var(--gray-500);
  max-width: 100px;
}

.about__visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex-shrink: 0;
}

.about__photo {
  width: 480px;
  max-width: 100%;
  height: 290px;
  border-radius: 18px;
  object-fit: cover;
}

.about__rating {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.about__rating-score {
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  color: #171c26;
}

.about__rating-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about__rating-stars {
  font-size: 14px;
  line-height: normal;
  color: #f5bf24;
}

.about__rating-label {
  font-size: 11.5px;
  line-height: normal;
  color: var(--gray-500);
}

/* === Layanan (Services) === */
.services {
  background: #f9fcfa;
}

.services__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 56px;
  padding-bottom: 64px;
}

.services__title {
  font-size: 30px;
  font-weight: 700;
  line-height: normal;
  color: #171c26;
  text-align: center;
}

.services__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-500);
  text-align: center;
  max-width: 520px;
}

.services__cards {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  padding: 24px 0;
}

.service-card {
  flex: 1 0 0;
  min-width: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 28px 20px;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-badge-bg);
  flex-shrink: 0;
}

.service-card__title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: normal;
  color: #171c26;
  text-align: center;
  max-width: 200px;
}

.service-card__text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--gray-500);
  text-align: center;
  max-width: 200px;
}

/* === Komitmen (Commitment) === */
.commitment {
  background: var(--white);
}

.commitment__inner {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.commitment__copy {
  flex: 1 0 0;
  min-width: 1px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.commitment__title {
  font-size: 30px;
  font-weight: 700;
  line-height: normal;
  color: #171c26;
}

.commitment__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--gray-500);
  max-width: 520px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  line-height: normal;
  color: #333d4a;
}

.checklist__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-700);
  flex-shrink: 0;
}

.stats-card {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 40px 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(156.66deg, #217842 0%, #0d4026 71.429%);
  flex-shrink: 0;
}

.stats-card__row {
  display: flex;
  gap: 56px;
}

.stats-card__stat {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 220px;
}

.stats-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}

.stats-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stats-card__value {
  font-size: 26px;
  font-weight: 700;
  line-height: normal;
  color: var(--white);
  white-space: nowrap;
}

.stats-card__label {
  font-size: 12.5px;
  line-height: 1.4;
  color: #d1e8d9;
  white-space: nowrap;
}

/* === Sertifikasi (Certifications) === */
.certs {
  background: var(--white);
}

.certs__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 40px;
  padding-bottom: 48px;
}

.certs__title {
  font-size: 26px;
  font-weight: 700;
  line-height: normal;
  color: #171c26;
  text-align: center;
}

.certs__logos {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 118px;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

.cert-card__img {
  max-width: 190px;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cert-card__img--oss {
  max-width: 180px;
  max-height: 54px;
}

.cert-card--iso {
  gap: 4px;
}

.cert-card__iso-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cert-card__iso-word {
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
  color: #134f9e;
}

.cert-card__iso-num {
  font-size: 13px;
  font-weight: 600;
  line-height: normal;
  color: #134f9e;
}

/* === Galeri (Gallery) === */
.gallery {
  background: var(--white);
}

.gallery__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.gallery__title {
  font-size: 30px;
  font-weight: 700;
  line-height: normal;
  color: #171c26;
  text-align: center;
}

.gallery__text {
  font-size: 14px;
  line-height: normal;
  color: var(--gray-500);
  text-align: center;
  max-width: 560px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  padding-top: 16px;
}

.gallery-card {
  position: relative;
  height: 264px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  display: flex;
  align-items: flex-end;
  padding: 0 18px 12px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(5, 31, 18, 0.85));
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
}

/* === CTA === */
.cta {
  background: var(--white);
  padding-bottom: 64px;
}

.cta__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(to right, #0d4026, #268047);
}

.cta__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta__title {
  font-size: 26px;
  font-weight: 700;
  line-height: normal;
  color: var(--white);
}

.cta__text {
  font-size: 14px;
  line-height: 1.6;
  color: #d1e8d9;
  max-width: 520px;
}

/* === 6. Footer === */
.footer {
  background: #0b3722;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 28px;
}

.footer__columns {
  display: flex;
  align-items: flex-start;
  gap: 72px;
  width: 100%;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.brand__logo--footer {
  width: 56px;
  height: 48px;
  padding: 8px 9px;
  object-fit: contain;
  background: linear-gradient(156.66deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
}

.brand__name--footer {
  font-size: 14px;
  line-height: 1.2;
  color: var(--white);
}

.footer__tagline {
  font-size: 13px;
  line-height: normal;
  color: #c7dbcf;
  max-width: 280px;
}

.footer__social {
  width: 110px;
  height: 30px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__heading {
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  color: var(--white);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__link {
  font-size: 13px;
  line-height: normal;
  color: #c7dbcf;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--white);
}

.footer__contact {
  font-size: 13px;
  line-height: normal;
  color: #c7dbcf;
  white-space: pre-wrap;
}

.footer__contact-indent {
  padding-left: 1.9em;
}

.footer__contact-link {
  color: inherit;
  transition: color 0.2s ease;
}

.footer__contact-link:hover {
  color: var(--white);
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.footer__copyright {
  font-size: 12px;
  line-height: normal;
  color: #c7dbcf;
  text-align: center;
}

/* === 7. WhatsApp FAB === */
.wa-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-fab__label {
  display: inline-flex;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  font-weight: 600;
  line-height: normal;
  color: #171c26;
  white-space: nowrap;
}

.wa-fab__bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 18px rgba(13, 128, 51, 0.45);
  transition: transform 0.2s ease;
}

.wa-fab:hover .wa-fab__bubble {
  transform: scale(1.05);
}

/* === 9. Responsive === */
@media (max-width: 1024px) {
  :root {
    --gutter: 32px;
  }

  /* Header: collapse nav to hamburger */
  .nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(12, 61, 37, 0.08);
    box-shadow: 0 12px 24px rgba(12, 61, 37, 0.08);
    padding: 8px 0;
  }

  .nav--open {
    display: flex;
  }

  .nav__link {
    width: 100%;
    padding: 12px var(--gutter);
  }

  .header__login {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero stacks */
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__image {
    width: 100%;
    height: auto;
    aspect-ratio: 620 / 420;
  }

  /* Features 2x2 */
  .features__card {
    flex-wrap: wrap;
  }

  .feature {
    flex: 1 0 40%;
  }

  /* About stacks */
  .about__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .about__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 480 / 290;
  }

  /* Services wrap */
  .services__cards {
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 0 30%;
  }

  /* Commitment stacks */
  .commitment__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .stats-card {
    width: 100%;
  }

  .stats-card__row {
    gap: 32px;
  }

  /* Gallery 2 columns */
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA stacks */
  .cta__banner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Footer wraps */
  .footer__columns {
    flex-wrap: wrap;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__buttons {
    flex-wrap: wrap;
  }

  .feature {
    flex: 1 0 100%;
  }

  .about__stats {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .service-card {
    flex: 1 0 100%;
  }

  .stats-card {
    padding: 28px 24px;
  }

  .stats-card__row {
    flex-direction: column;
    gap: 24px;
  }

  .stats-card__stat {
    width: auto;
  }

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

  .cta__banner {
    padding: 32px 24px;
  }

  .footer__columns {
    flex-direction: column;
  }

  .wa-fab__label {
    display: none;
  }
}

/* ============================================================
   Page-specific styles appended below by other page agents.
   Keep the /* === Page: name === * / comment convention.
   ============================================================ */
