/* =========================================================================
   EPOXINDOTEC - Design System
   Mengikuti aturan desain Metland: tipografi Plus Jakarta Sans, palet
   navy/gold/dark ink, tanpa emoji, tanpa long dash, ikon SVG saja.
   Aksen tambahan (swatch strip) khusus untuk identitas Epoxindotec,
   merepresentasikan filosofi "Making a Colorful Life".
   ========================================================================= */

:root {
  /* Palet inti - diambil dari logo Epoxindotec (navy + silver) */
  --navy: #1b2560;
  --navy-2: #26317a;
  --ink: #12162e;
  --silver: #c7cbd6;
  --silver-light: #eceef3;
  --paper: #f7f7f6;
  --white: #ffffff;

  /* Aksen brass/gold, senada dengan aturan navy/gold Metland */
  --gold: #b8933e;
  --gold-light: #d9bd7c;

  /* Warna swatch - dipakai HANYA pada motif signature (strip warna epoxy) */
  --swatch-1: var(--navy);
  --swatch-2: #b8933e;
  --swatch-3: #1f8a75;
  --swatch-4: #c1652f;
  --swatch-5: var(--silver);

  --text-body: #3a3f52;
  --text-muted: #6b7086;
  --border-soft: #e2e4ea;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(18, 22, 46, 0.06);
  --shadow-md: 0 12px 32px rgba(18, 22, 46, 0.10);
  --shadow-lg: 0 24px 64px rgba(18, 22, 46, 0.16);

  --container-w: 1180px;

  --font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 700; }

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section {
  padding: 96px 0;
}

.section--tight { padding: 64px 0; }

.section--alt {
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section--dark {
  background: linear-gradient(160deg, var(--ink) 0%, var(--navy) 100%);
  color: var(--silver-light);
}

.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .eyebrow { color: var(--gold-light); }
.section--dark .eyebrow::before { background: var(--gold-light); }
.section--dark p { color: var(--silver-light); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head--center {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--gold-light); box-shadow: var(--shadow-md); }

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: inherit;
}
.btn--outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn--outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }

.btn--sm { padding: 10px 18px; font-size: 13.5px; }

/* ---------------------------------------------------------------------
   Header / Navigasi
   ------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 247, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
}

.brand img { height: 50px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav ul {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.main-nav a:hover { color: var(--navy); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle svg { width: 24px; height: 24px; color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.main-nav__mobile-actions { display: none; }

/* ---------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--ink) 0%, var(--navy) 55%, var(--navy-2) 100%);
  color: var(--white);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active { opacity: 1; }

.hero-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(150deg, rgba(18,22,46,0.92) 0%, rgba(27,37,96,0.86) 55%, rgba(38,49,122,0.82) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 96px 0 104px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 4.4vw, 40px);
  margin-bottom: 20px;
}

.container.hero__grid {
    padding: 107px 24px;
}

.hero__sub {
  font-size: 17px;
  color: var(--silver-light);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-slider__dots {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider__dot.is-active {
  background: var(--gold-light);
  transform: scale(1.25);
}

/* Strip pembatas antar-section, motif "fandeck" warna epoxy */
.swatch-divider {
  display: flex;
  height: 6px;
}
.swatch-divider span { flex: 1; }
.swatch-divider span:nth-child(1) { background: var(--swatch-1); }
.swatch-divider span:nth-child(2) { background: var(--swatch-2); }
.swatch-divider span:nth-child(3) { background: var(--swatch-3); }
.swatch-divider span:nth-child(4) { background: var(--swatch-4); }
.swatch-divider span:nth-child(5) { background: var(--swatch-5); }

/* ---------------------------------------------------------------------
   Stat row (mengikuti pola tabel Kategori/Jumlah pada situs Metland)
   ------------------------------------------------------------------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.stat-row__item {
  padding: 24px 20px;
  border-right: 1px solid var(--border-soft);
  text-align: center;
}
.stat-row__item:last-child { border-right: none; }

.stat-row__value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.stat-row__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------------------------------------------------------------------
   Tentang
   ------------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.about__points {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about__points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-body);
}

.about__points svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.about__aside {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.about__aside-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.about__stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.about__stat:last-child { border-bottom: none; }

.about__stat-label { font-size: 14px; color: var(--text-body); }
.about__stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--navy);
}

/* ---------------------------------------------------------------------
   Grid kartu generik (Produk, Keunggulan)
   ------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.tech-group { margin-bottom: 56px; }
.tech-group:last-child { margin-bottom: 0; }

.tech-group__head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
}

.tech-group__tag {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-group__head h3 { font-size: 20px; margin-bottom: 6px; }
.tech-group__head p { color: var(--text-muted); font-size: 14.5px; margin: 0; max-width: 640px; }

.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--silver-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card__icon svg { width: 22px; height: 22px; color: var(--navy); }

.card h3 { font-size: 17.5px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---------------------------------------------------------------------
   Proses (langkah bernomor - urutan pengerjaan yang sesungguhnya)
   ------------------------------------------------------------------- */

.process-list {
  display: flex;
  flex-direction: column;
}

.process-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.process-item:first-child { padding-top: 0; }
.process-item:last-child { border-bottom: none; padding-bottom: 0; }

.process-item__num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.process-item h3 { color: var(--white); margin-bottom: 6px; font-size: 17px; }
.process-item p { color: var(--silver-light); margin: 0; font-size: 14.5px; max-width: 620px; }

/* ---------------------------------------------------------------------
   Proyek / Galeri
   ------------------------------------------------------------------- */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.gallery-filters button {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gallery-filters button.is-active,
.gallery-filters button:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-soft);
}

.gallery-card__media {
  aspect-ratio: 4 / 3;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(135deg, var(--swatch-1), var(--swatch-2) 45%, var(--swatch-3) 75%, var(--swatch-4));
}

.gallery-card__placeholder span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(18, 22, 46, 0.35);
  padding: 6px 10px;
  border-radius: 999px;
}

.gallery-card__body { padding: 16px 18px; }
.gallery-card__body h4 { font-size: 14.5px; margin-bottom: 2px; }
.gallery-card__body span { font-size: 12.5px; color: var(--text-muted); }

.gallery-empty {
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-md);
  padding: 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ---------------------------------------------------------------------
   Testimoni
   ------------------------------------------------------------------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px;
}

.testimonial-card p {
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 20px;
}

.testimonial-card__name { font-weight: 700; color: var(--navy); font-size: 14.5px; }
.testimonial-card__role { font-size: 13px; color: var(--text-muted); }

/* ---------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------- */

.faq-list { display: flex; flex-direction: column; gap: 4px; }

.faq-item {
  border-bottom: 1px solid var(--border-soft);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary svg {
  width: 20px;
  height: 20px;
  color: var(--navy);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary svg { transform: rotate(45deg); }

.faq-item p {
  padding-bottom: 20px;
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 720px;
}

/* ---------------------------------------------------------------------
   Kontak
   ------------------------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 22px; }

.contact-info__item { display: flex; gap: 14px; align-items: flex-start; }

.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info__icon svg { width: 20px; height: 20px; color: var(--gold-light); }

.contact-info__label { font-size: 12.5px; color: var(--silver-light); opacity: 0.8; }
.contact-info__value { font-weight: 600; color: var(--white); font-size: 15px; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }

.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--paper);
}

.form-field textarea { resize: vertical; min-height: 110px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.form-status {
  font-size: 13.5px;
  margin-top: -4px;
  margin-bottom: 12px;
  min-height: 18px;
}
.form-status--success { color: #1f8a75; font-weight: 600; }
.form-status--error { color: #b3402c; font-weight: 600; }

/* ---------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--silver-light);
  padding: 72px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__brand img { height: 60px;filter: brightness(0) invert(1); }
.footer__brand span { font-weight: 800; color: var(--white); font-size: 18px; }

.footer__desc { font-size: 14px; color: rgba(233,234,240,0.7); max-width: 320px; }

.footer__heading {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__list a { font-size: 14px; color: rgba(233,234,240,0.8); }
.footer__list a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(233,234,240,0.55);
  flex-wrap: wrap;
  gap: 12px;
}

.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__social svg { width: 16px; height: 16px; }

/* Tombol WhatsApp mengambang */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1f8a75;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 26px; height: 26px; color: var(--white); }

/* ---------------------------------------------------------------------
   Responsif
   ------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero__content { padding: 72px 0 88px; }
  .about__grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-row__item:nth-child(2) { border-right: none; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; inset: 72px 0 0 0; background: var(--paper); flex-direction: column; padding: 24px; display: none; overflow-y: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 4px; width: 100%; }
  .main-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border-soft); }
  .main-nav__mobile-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; width: 100%; }
  .main-nav__mobile-actions .btn { width: 100%; }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .section { padding: 64px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}