/* Contact / Request a Quote — /contact/
   Dibangun ulang 21 Okt 2026 dari "Revision Figma/Contact New.css" + preview "Contact/Request a Quote.png" (1440x2674).
   Ukuran = angka asli Figma; posisi relatif container (margin 72). Hero = komponen .pl-hero (components.css).
   Bar kontak sticky di bawah header (Figma lama) DIHAPUS — tidak ada lagi di Figma.
   Ikon biru Figma (Info/500: cloud_upload, check_box, tautan) tetap HIJAU (revisi klien 5 Okt: ikon biru -> hijau).
   Halaman ini TIDAK punya CTA bar. Cadangan: temp contact-index/style/js-sebelum-21okt. */


/* ============ HERO (Frame 564: 651 di bawah header, foto + 2 lapisan miring + pita fitur) ============
   Geometri dari SVG Figma (download_assets): Rect 249 mint  x 921.2 (atas) -> 1239.35 (bawah, 651)
                                              Rect 250 gelap x 843.26 -> 1159.35
   -> dihitung dari tepi kiri konten (Figma 96): mint +825/+1143, gelap +747/+1063 (lebih curam dari Products). */
.pl-hero--quote {
  min-height: 651px;
  padding-bottom: 331px;                /* teks y182..418, pita y451..536, dasar hero 749 (Figma) */
}
.pl-hero--quote .pl-hero__bg::before {
  /* mint 180deg #048C4D -> rgba(214,255,236,.5) sampai y472 (sama dengan Products), lalu tetap .5 */
  background: linear-gradient(180deg, #048C4D -2.9px, rgba(214, 255, 236, .5) 472px);
  clip-path: polygon(0 0, calc(var(--edge-pad, 72px) + 825px) 0, calc(var(--edge-pad, 72px) + 1143px) 100%, 0 100%);
}
.pl-hero--quote .pl-hero__bg::after {
  /* gelap 90deg rgba(1,38,31,.8) x875.7 -> rgba(6,213,142,0) x1198.7; titik antara = campuran LURUS (Figma) */
  background: linear-gradient(90deg,
    rgba(1, 38, 31, .8) calc(var(--edge-pad, 72px) + 780px),
    rgba(2, 73, 53, .64) calc(var(--edge-pad, 72px) + 844px),
    rgba(3, 108, 75, .48) calc(var(--edge-pad, 72px) + 909px),
    rgba(4, 143, 98, .32) calc(var(--edge-pad, 72px) + 974px),
    rgba(5, 178, 120, .16) calc(var(--edge-pad, 72px) + 1038px),
    rgba(6, 213, 142, 0) calc(var(--edge-pad, 72px) + 1103px));
  clip-path: polygon(0 0, calc(var(--edge-pad, 72px) + 747px) 0, calc(var(--edge-pad, 72px) + 1063px) 100%, 0 100%);
}
/* Foto asli Figma (raw 1600x1200, node 2011:3859). Di PNG: lebar 1554, kiri -27, atas -209 dari frame (template-matching,
   selisih 1.2). Dijangkar ke tepi konten: titik pria (frame x1150, y400) tetap di edge+1054 / y302 hero; foto membesar
   bila perlu agar tetap menutup layar kiri-kanan. 100cqw = lebar hero (container query). */
@media (min-width: 861px) {
  .pl-hero--quote .pl-hero__bg { container-type: inline-size; }
  .pl-hero--quote .pl-hero__bg img {
    --w: max(1554px, calc((100cqw - var(--edge-pad, 72px) - 1054px) / .2426), calc((var(--edge-pad, 72px) + 1054px) / .7574));
    width: var(--w);
    height: auto;
    left: calc(var(--edge-pad, 72px) + 1054px - .7574 * var(--w));
    top: calc(302px - .3919 * var(--w));
  }
  /* pita (Rect 251): 791 x 85 di y451, tepi kanan miring 752.5 -> 791.4 (39px) */
  .pl-hero--quote .pl-hero__strip {
    bottom: 213px;
    clip-path: polygon(0 0, calc(100% - 39px) 0, 100% 100%, 0 100%);
  }
}
@media (max-width: 860px) {
  .pl-hero--quote { min-height: 0; padding-bottom: 150px; }
  .pl-hero--quote .pl-hero__bg img { object-position: 78% 50%; }
}
/* butir pita: x96 / 331 / 554 -> jarak 26 */
.pl-hero--quote .pl-feats { column-gap: 26px; }


/* ============ FORM ============
   Kolom kiri 343 (kartu langkah) + 21 + kolom kanan 884 (4 kartu form).
   Keduanya mulai y582 = 167px menumpuk dasar hero (749). Kartu terakhir berakhir 2202, footer 2300 -> 98. */
.rq-main {
  position: relative;
  margin-top: -167px;
  padding-bottom: 98px;
  scroll-margin-top: 110px;             /* link #request-quote tidak tertutup header sticky */
}
.rq-layout {
  display: grid;
  grid-template-columns: minmax(0, 343fr) minmax(0, 884fr);
  gap: 21px;
  align-items: start;
}

/* -- Kartu langkah (Frame 102): 343x666, putih, radius 12, padding 28 --
      lingkaran 46 tiap 86px; judul x+98 (y+13), sub +4 */
.rq-steps,
.rq-card {
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}
.rq-steps { padding: 28px; }
.rq-steps__list li { position: relative; }
.rq-steps__list li + li { margin-top: 29px; }   /* pitch 86 = blok teks 57 + 29 */
/* Line 3: 2px Primary/100 #C8F8D0, dari pusat lingkaran ke pusat berikutnya */
.rq-steps__list li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 22px; top: 23px;
  width: 2px; height: calc(100% + 29px);
  background: #C8F8D0;
}
.rq-steps__list a {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  color: #242424;
}
.rq-steps__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: none;
  width: 46px; height: 46px;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  background: #048C4D;                  /* Primary/500 */
  font-size: 16px;                      /* Body S. 16/600/24 */
  font-weight: 600;
  line-height: 24px;
  color: #FFFFFF;
}
.rq-steps__list a > span:last-child { padding-top: 13px; }
.rq-steps__list strong {
  display: block;
  font-size: 14px;                      /* Figma 14/800/20 */
  font-weight: 800;
  line-height: 20px;
}
.rq-steps__list small {
  display: block;
  margin-top: 4px;
  font-size: 14px;                      /* Caption R. 14/400/20 Grayscale/800 */
  font-weight: 400;
  line-height: 20px;
  color: #393939;
}
.rq-steps__list a:hover strong { color: #048C4D; }

/* -- "Need help?" (Frame 101): y+411, 287x227, Success/200 #A4F6AA, radius 8, padding 28/24 --
      ikon 48 +8 judul +8 desc +20 link */
.rq-help {
  margin-top: 68px;
  padding: 28px 24px;
  border-radius: 8px;
  background: #A4F6AA;
  color: #242424;
}
.rq-help__icon { display: block; width: 48px; height: 48px; }
main .rq-help__title {
  margin-top: 8px;
  font-family: var(--pmi-font);
  font-size: 18px;                      /* Body Large S. 18/600/27 */
  font-weight: 600;
  line-height: 27px;
  letter-spacing: 0;
  color: #242424;
}
.rq-help__desc {
  margin-top: 8px;
  font-size: 14px;                      /* Caption R. 14/400/20 */
  font-weight: 400;
  line-height: 20px;
  color: #393939;
}
.rq-help__link {
  display: flex;                        /* inline-flex menambah 2px (strut baris) -> kotak 229, Figma 227 */
  width: max-content;
  margin-top: 20px;
  gap: 12px;
  font-size: 14px;                      /* Button 14/600/20 Primary/500 */
  font-weight: 600;
  line-height: 20px;
  color: #048C4D;
}
.rq-help__link svg { width: 20px; height: 20px; }
.rq-help__link:hover svg { transform: translateX(3px); }

/* -- Kartu form: 884 lebar, radius 12, padding 34, judul -> isi 34, antar kartu 22 -- */
.rq-form { display: flex; flex-direction: column; gap: 22px; }
.rq-card { padding: 34px; scroll-margin-top: 110px; }
main .rq-card__title {
  font-family: var(--pmi-font);
  font-size: 18px;                      /* Figma 18/700/27 Grayscale/900 */
  font-weight: 700;
  line-height: 27px;
  letter-spacing: 0;
  color: #242424;
  text-wrap: wrap;
}
.rq-card__desc {
  margin-top: 12px;
  font-size: 14px;                      /* PMI/Navigation 14/500/20 Grayscale/800 */
  font-weight: 500;
  line-height: 20px;
  color: #393939;
  text-wrap: wrap;
}

/* Grid isian: 2 kolom 394, jarak 26 (lebar isi 816); baris tiap 90 (label 14 +8 kotak 44 +24) */
.rq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 26px;
  margin-top: 34px;
}
.rq-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rq-field--full { grid-column: 1 / -1; }
.rq-field label {
  font-size: 12px;                      /* Label S. 12/600/14 .03em */
  font-weight: 600;
  line-height: 14px;
  letter-spacing: .03em;
  color: #242424;
}

/* Kotak isian 44 tinggi, garis 1px Grayscale/300 #C3C3C3, radius 8, padding 14;
   placeholder Label M. 12/500/14 Grayscale/200 #DEDEDE */
.rq-field input,
.rq-field select,
.rq-field textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #C3C3C3;
  border-radius: 8px;
  background: #FFFFFF;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: .03em;
  color: #242424;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rq-field ::placeholder { color: #DEDEDE; opacity: 1; }
.rq-field input:focus,
.rq-field select:focus,
.rq-field textarea:focus {
  outline: none;
  border-color: #048C4D;
  box-shadow: 0 0 0 3px rgba(4, 140, 77, .12);
}
.rq-field textarea {
  height: 88px;
  padding: 14px;
  resize: vertical;
}

/* Select: chevron 20 Grayscale/200 di kanan 14; placeholder sewarna placeholder input */
.rq-select,
.rq-date { position: relative; display: block; }
.rq-select select { padding-right: 48px; appearance: none; cursor: pointer; }
.rq-select select:invalid,
.rq-select select:has(option[value=""]:checked) { color: #DEDEDE; }
.rq-select option { color: #242424; }
.rq-select svg,
.rq-date svg {
  position: absolute;
  top: 12px;
  width: 20px; height: 20px;
  color: #DEDEDE;
  pointer-events: none;
}
.rq-select svg { right: 14px; }

/* Tanggal: ikon kalender 20 di kiri 14, teks mulai +12 (x47) */
.rq-date svg { left: 14px; }
.rq-date input { padding-left: 46px; }
.rq-date input::-webkit-calendar-picker-indicator { opacity: .5; cursor: pointer; }

/* -- Unggah berkas (Frame 118): 816x140, garis putus 1px Grayscale/500 #8C8C8C, radius 8, padding 24/0, jarak 12 --
      ikon cloud 38 (+12) judul Label B. 12/700/14 .04em #555 (+12) petunjuk Label M. #8C8C8C */
.rq-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 140px;
  margin-top: 34px;
  padding: 0 24px;
  border: 1px dashed #8C8C8C;
  border-radius: 8px;
  background: #FFFFFF;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
.rq-upload:hover,
.rq-upload.is-drag { border-color: #048C4D; background: rgba(4, 140, 77, .04); }
.rq-upload:focus-within { border-color: #048C4D; }
.rq-upload svg { width: 38px; height: 38px; color: #048C4D; }   /* Figma Info/500 biru -> hijau (revisi 5 Okt) */
.rq-upload__title {
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: .04em;
  color: #555555;
  overflow-wrap: anywhere;
}
.rq-upload.has-file .rq-upload__title { color: #242424; }
.rq-upload__hint {
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: .03em;
  color: #8C8C8C;
}

/* -- Baris kirim (Frame 146): persetujuan (kiri) + tombol 182x44 (kanan), 34 di bawah kotak unggah -- */
.rq-submit {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  margin-top: 34px;
}
.rq-agree {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;                      /* Label M. 12/500/14 .03em Grayscale/800 */
  font-weight: 500;
  line-height: 14px;
  letter-spacing: .03em;
  color: #393939;
  cursor: pointer;
}
.rq-agree input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.rq-agree__box {
  flex: none;
  width: 24px; height: 24px;            /* ikon check_box 24 */
  color: #048C4D;
}
.rq-agree__box svg { width: 24px; height: 24px; }
/* belum dicentang: kotak kosong */
.rq-agree input:not(:checked) + .rq-agree__box svg { display: none; }
.rq-agree input:not(:checked) + .rq-agree__box::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  margin: 3px;
  border: 1.5px solid #8C8C8C;
  border-radius: 2px;
}
.rq-agree input:focus-visible + .rq-agree__box { outline: 2px solid var(--pmi-primary-300); outline-offset: 1px; border-radius: 3px; }
.rq-agree a { color: #048C4D; text-decoration: underline; }
.rq-agree a:hover { color: var(--pmi-secondary); }
/* Frame 69: 182x44, padding 12/20/12/24, jarak 10, radius 8, Primary/500, Button 14/600/20, panah 20 */
.rq-submit__btn {
  flex: none;
  gap: 10px;
  min-height: 44px;
  padding: 11px 19px 11px 23px;         /* + garis 1px .btn = 12/20/12/24 */
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.rq-submit__btn svg { width: 20px; height: 20px; }


/* ============ RESPONSIVE ============ */

@media (max-width: 1100px) {
  .rq-layout { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .rq-steps { padding: 24px; }
}

/* Satu kolom: daftar langkah disembunyikan, kotak bantuan pindah ke bawah form */
@media (max-width: 960px) {
  .rq-layout { grid-template-columns: minmax(0, 1fr); }
  .rq-steps { order: 2; padding: 0; background: none; box-shadow: none; }
  .rq-steps__list { display: none; }
  .rq-help { margin-top: 0; }
}

@media (max-width: 860px) {
  .rq-main { margin-top: -110px; }
}

@media (max-width: 768px) {
  .rq-main, .rq-card { scroll-margin-top: 110px; }
  .rq-card { padding: 24px; }
  .rq-grid, .rq-upload { margin-top: 24px; }
}

@media (max-width: 640px) {
  .rq-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .rq-field--full { grid-column: auto; }
  .rq-submit { flex-direction: column; align-items: stretch; gap: 24px; }
  .rq-submit__btn { justify-content: center; }
}

/* ============ OPTIMASI HP & TABLET (29 Sep 2026) ============ */
@media (max-width: 768px) {
  .rq-main { padding-bottom: 48px; }
  /* input 16px: di bawah itu iPhone memperbesar layar saat mengetik */
  .rq-field input, .rq-field select, .rq-field textarea { font-size: 16px; line-height: 20px; }
  .rq-submit__btn { min-height: 48px; }
}

/* ============ OPTIMASI HP & TABLET (22 Okt) ============ */
@media (max-width: 1100px) {
  .rq-help__link { padding-block: 12px; margin-block: 8px -12px; }   /* area sentuh 44 */
}

/* 12 Nov (user: foto hero pas dengan lebar hero, tidak ter-zoom, subjek tidak tertutup gradasi/teks): foto = hasil GPT
   (tools/bahan-gpt-hero.py) dipotong ber-RASIO KOTAK HERO 1440 dengan subjek di sisi kanan (zona jernih) -> menutup kotak
   hero penuh; 1920 memotong atas-bawah sedikit, tablet & HP memperlihatkan sisi KANAN (subjek). Penjangkaran Figma lama
   (--w, top -98, cermin box-reflect) tidak dipakai lagi. Cek: python tools/ukur-hero.py */
.pl-hero--quote .pl-hero__bg img { --w: 100%; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%;
  -webkit-box-reflect: none; }

/* ===== AUDIT 18 NOV (F-02/F-04/S-04): pesan form, galat berkas, hapus berkas — dibuat contact.js ===== */
.rq-pesan { margin: 0; padding: 14px 18px; border: 1px solid #F0C36D; border-left-width: 4px; border-radius: 8px;
  background: #FFF8E6; color: #5A3E00; font-size: 14px; font-weight: 600; line-height: 21px; }
.rq-upload__err { margin: 10px 0 0; color: #B42318; font-size: 14px; font-weight: 600; line-height: 20px; }
.rq-upload__hapus { margin-top: 10px; padding: 0; border: 0; background: none; color: #036F4A; font: inherit; font-size: 14px;
  font-weight: 700; line-height: 20px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
  min-height: 44px; }   /* area sentuh 44 */
.rq-upload__hapus:hover { color: #048C4D; }
.rq-upload__hapus[hidden], .rq-upload__err[hidden] { display: none; }
