/* ============================================================
   Jahit.co.id — landing page styles (Lamonte design system)
   Tokens come from ds/styles.css; this file holds layout,
   component styling, hover/focus states, and responsive rules.
   ============================================================ */

:root {
  --wa-green: #1FA855;
  --wa-green-dark: #178C46;
}

html { scroll-behavior: smooth; }
::selection { background: #F7E23E; color: #121309; }

body {
  margin: 0;
  background: #FCFDF6;
  color: #121309;
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

/* ---- shared typographic helpers ---- */
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #927905;
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: #F4D511; }

h1, h2, h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; }
.h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.container { max-width: 1200px; margin: 0 auto; }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .16s var(--ease-out, ease), box-shadow .16s, transform .16s, border-color .16s;
}
.btn:active { transform: translateY(1px); }
.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: var(--wa-green-dark); }
.btn-lemon { background: #F4D511; color: #121309; box-shadow: 0 8px 22px rgba(244,213,17,0.32); }
.btn-lemon:hover { background: #F7E23E; }
.btn-ink { background: #121309; color: #fff; }
.btn-ink:hover { background: #2C2F1D; }
.btn-outline {
  background: #fff;
  border: 1.5px solid rgba(20,21,9,0.16);
  color: #121309;
}
.btn-outline:hover { border-color: rgba(20,21,9,0.34); }
.btn-outline-dark {
  background: transparent;
  border: 1.5px solid rgba(244,245,233,0.26);
  color: #F4F5E9;
}
.btn-outline-dark:hover { border-color: rgba(244,245,233,0.5); }

/* ---- header ---- */
.site-header {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(20,21,9,0.10);
  background: rgba(252,253,246,0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 200;
}
.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.wordmark .dot { color: #927905; }
.site-header nav { flex: 1; display: flex; gap: 26px; margin-left: 16px; }
.site-header nav a { font-size: 14px; color: #43472F; text-decoration: none; }
.site-header nav a:hover { color: #121309; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 6px;
  font-size: 14px; box-shadow: 0 6px 16px rgba(31,168,85,0.28);
}

/* ---- hero ---- */
.hero {
  position: relative; max-width: 1200px; margin: 0 auto;
  padding: 76px 40px 64px;
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-weight: 600; font-size: 52px; line-height: 1.05; letter-spacing: -0.025em;
}
.hi { background: linear-gradient(180deg, transparent 60%, #F7E23E 60%); padding: 0 3px; }
.hero-sub { font-size: 18px; line-height: 1.6; color: #43472F; max-width: 560px; margin: 24px 0 18px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.hero-eyebrow .tick { width: 26px; height: 1px; background: #927905; }
.hero-eyebrow .label {
  font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: #686C4F;
}
.hero-ctas { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-ctas .btn { height: 52px; padding: 0 26px; border-radius: 8px; font-size: 16px; }
.hero-ctas .btn-wa { box-shadow: 0 10px 24px rgba(31,168,85,0.30); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid rgba(20,21,9,0.12);
  border-radius: 100px; background: #fff; font-size: 12.5px; color: #43472F;
}
.badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--wa-green); }

.consult-card {
  border: 1px solid rgba(20,21,9,0.12); border-radius: 14px; background: #fff;
  padding: 28px; box-shadow: 0 16px 44px rgba(20,21,9,0.07);
}
.consult-card .k {
  font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: #686C4F; margin-bottom: 18px;
}
.consult-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.consult-list .row { display: flex; align-items: flex-start; gap: 12px; }
.consult-list .row .ck { color: var(--wa-green); font-size: 16px; line-height: 1.4; }
.consult-list .row span:last-child { font-size: 14.5px; line-height: 1.45; color: #2A2C1C; }
.consult-card .btn { width: 100%; height: 48px; border-radius: 8px; font-size: 15px; margin-bottom: 12px; }
.consult-phone { text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #686C4F; letter-spacing: 0.02em; }

/* ---- trust strip ---- */
.trust-strip { border-top: 1px solid rgba(20,21,9,0.08); border-bottom: 1px solid rgba(20,21,9,0.08); background: #FAFBEF; }
.trust-strip .inner {
  max-width: 1200px; margin: 0 auto; padding: 22px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.trust-stat { text-align: center; flex: 1; min-width: 120px; }
.trust-stat .n { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 26px; color: #121309; }
.trust-stat .l { font-size: 12.5px; color: #686C4F; margin-top: 2px; }
.trust-div { width: 1px; height: 36px; background: rgba(20,21,9,0.12); }

/* ---- generic section ---- */
section .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-lead { font-size: 16px; color: #43472F; }
.link-underline {
  font-size: 14px; font-weight: 600; color: #121309;
  border-bottom: 2px solid #F4D511; padding-bottom: 3px; text-decoration: none; white-space: nowrap;
}

/* ---- need cards ---- */
.need-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.kain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.need-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: #fff; border: 1px solid rgba(20,21,9,0.12); border-radius: 12px;
  padding: 22px 20px 24px; cursor: pointer;
  transition: border-color .16s, box-shadow .16s, transform .16s;
  text-align: left; font-family: inherit; width: 100%;
}
.kain-grid .need-card { padding: 24px 22px; }
.need-card:hover { border-color: #F4D511; box-shadow: 0 12px 28px rgba(20,21,9,0.09); transform: translateY(-3px); }
.need-card .ic {
  width: 40px; height: 40px; border-radius: 9px; background: #FEF9D6;
  display: flex; align-items: center; justify-content: center; color: #927905;
  margin-bottom: 16px; font-size: 18px;
}
.kain-grid .need-card .ic { width: 42px; height: 42px; border-radius: 10px; font-size: 19px; }
.need-card h3 { font-weight: 600; font-size: 16px; line-height: 1.25; margin: 0 0 8px; color: #121309; }
.kain-grid .need-card h3 { font-size: 17px; }
.need-card p { font-size: 13px; line-height: 1.5; color: #43472F; margin: 0; flex: 1; }
.kain-grid .need-card p { font-size: 13.5px; line-height: 1.55; }
.need-card .go { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: #927905; margin-top: 16px; }

/* ---- services grid ---- */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid rgba(20,21,9,0.12); border-radius: 14px; overflow: hidden; background: #fff;
}
.svc-cell { padding: 30px 26px; border-right: 1px solid rgba(20,21,9,0.08); border-bottom: 1px solid rgba(20,21,9,0.08); }
.svc-cell .no { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 13px; color: #927905; margin-bottom: 16px; }
.svc-cell h3 { font-weight: 600; font-size: 18px; margin: 0 0 9px; color: #121309; }
.svc-cell p { font-size: 14px; line-height: 1.6; color: #43472F; margin: 0; }

/* ---- products (dark) ---- */
.dark { background: #0B0C06; color: #F4F5E9; }
.dark .h2 { color: #F4F5E9; }
.product-chips, .fabric-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.fabric-chips { gap: 10px; }
.chip {
  display: inline-flex; align-items: center; padding: 11px 18px;
  border: 1px solid rgba(244,213,17,0.28); border-radius: 8px; background: rgba(244,213,17,0.05);
  font-size: 15px; font-weight: 500; color: #F4F5E9;
}
.chip-light {
  display: inline-flex; align-items: center; padding: 9px 15px;
  border: 1px solid rgba(20,21,9,0.14); border-radius: 8px; background: #fff;
  font-size: 14px; font-weight: 500; color: #2A2C1C;
}

/* ---- beli kain vs kain+jahit ---- */
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.opt-card { border-radius: 14px; padding: 34px 30px; display: flex; flex-direction: column; }
.opt-card.light { background: #fff; border: 1px solid rgba(20,21,9,0.12); }
.opt-card.dark-card { background: #0B0C06; border: 1px solid rgba(244,213,17,0.4); box-shadow: 0 16px 40px rgba(20,21,9,0.14); }
.opt-card .tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; margin-bottom: 10px; }
.opt-card.light .tag { color: #927905; }
.opt-card.dark-card .tag { color: #F4D511; }
.opt-card h3 { font-weight: 600; font-size: 24px; margin: 0 0 8px; }
.opt-card.light h3 { color: #121309; }
.opt-card.dark-card h3 { color: #F4F5E9; }
.opt-card > p { font-size: 14.5px; line-height: 1.6; margin: 0 0 20px; }
.opt-card.light > p { color: #43472F; }
.opt-card.dark-card > p { color: #C2C5A8; }
.opt-benefits { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.opt-benefits .row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.opt-card.light .opt-benefits .ck { color: var(--wa-green); font-size: 15px; }
.opt-card.dark-card .opt-benefits .ck { color: #F4D511; font-size: 15px; }
.opt-card.light .opt-benefits .row span:last-child { color: #2A2C1C; }
.opt-card.dark-card .opt-benefits .row span:last-child { color: #E7E9D5; }
.opt-card .btn { margin-top: auto; height: 48px; border-radius: 8px; font-size: 15px; }

/* ---- fabric recommendations ---- */
.rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rec-card { background: #fff; border: 1px solid rgba(20,21,9,0.12); border-radius: 12px; padding: 22px; }
.rec-card h3 { font-weight: 600; font-size: 17px; margin: 0 0 8px; color: #121309; }
.rec-card p { font-size: 13.5px; line-height: 1.55; color: #43472F; margin: 0; }
.rec-card .k { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: #927905; text-transform: uppercase; }

/* ---- steps ---- */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid rgba(20,21,9,0.12); border-radius: 14px; overflow: hidden; background: #fff;
}
.step-cell { padding: 26px 22px; border-right: 1px solid rgba(20,21,9,0.08); border-bottom: 1px solid rgba(20,21,9,0.08); }
.step-cell .no {
  width: 30px; height: 30px; border-radius: 7px; background: #121309; color: #F4D511;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step-cell h3 { font-weight: 600; font-size: 16px; margin: 0 0 6px; color: #121309; }
.step-cell p { font-size: 13px; line-height: 1.5; color: #43472F; margin: 0; }

/* ---- benefits ---- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card { background: #fff; border: 1px solid rgba(20,21,9,0.10); border-radius: 12px; padding: 26px 24px; }
.benefit-card .ic {
  width: 42px; height: 42px; border-radius: 10px; background: #FEF9D6;
  display: flex; align-items: center; justify-content: center; color: #927905;
  margin-bottom: 16px; font-size: 18px;
}
.benefit-card h3 { font-weight: 600; font-size: 17px; margin: 0 0 8px; color: #121309; }
.benefit-card p { font-size: 14px; line-height: 1.6; color: #43472F; margin: 0; }

/* ---- portfolio ---- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 14px; }
.portfolio-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 12px; background: rgba(0,0,0,0.04); }
.portfolio-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-grid .tall { grid-row: span 2; }
.portfolio-grid .wide { grid-column: span 2; }
.portfolio-grid figcaption {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; background: rgba(11,12,6,0.62);
  padding: 4px 9px; border-radius: 5px; backdrop-filter: blur(6px);
}

/* ---- lead form ---- */
.form-section .inner {
  max-width: 1080px; margin: 0 auto; padding: 84px 40px;
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: start;
}
.form-intro h2 { font-weight: 600; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; color: #F4F5E9; }
.form-intro p { font-size: 16px; line-height: 1.6; color: #C2C5A8; margin: 0 0 28px; }
.form-steps { display: flex; flex-direction: column; gap: 14px; }
.form-steps .row { display: flex; align-items: center; gap: 12px; }
.form-steps .n {
  width: 30px; height: 30px; border-radius: 8px; background: rgba(244,213,17,0.14); color: #F4D511;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 12px; flex-shrink: 0;
}
.form-steps .row span:last-child { font-size: 14.5px; color: #E7E9D5; }

.form-card { background: #12130C; border: 1px solid rgba(244,245,233,0.12); border-radius: 14px; padding: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: span 2; }
.field label {
  font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: #B7BA9C; margin-bottom: 7px;
}
.field input, .field select, .form-card textarea {
  width: 100%; box-sizing: border-box; padding: 11px 12px;
  background: #0B0C06; border: 1.5px solid rgba(244,245,233,0.16); border-radius: 6px;
  color: #F4F5E9; font-family: 'Sora', sans-serif; font-size: 14px; outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.field input::placeholder, .form-card textarea::placeholder { color: #6C6F55; }
.field input:focus, .field select:focus, .form-card textarea:focus {
  border-color: #F4D511; box-shadow: 0 0 0 3px rgba(244,213,17,0.16);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23B7BA9C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.form-card .textarea-wrap { margin-top: 16px; display: flex; flex-direction: column; }
.form-card textarea { margin-top: 7px; min-height: 74px; resize: vertical; }
.form-submit { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.form-submit .btn { height: 52px; border-radius: 8px; font-size: 16px; }
.form-submit .note { text-align: center; font-size: 12px; color: #8C8F73; margin: 0; }

/* ---- faq ---- */
.faq { max-width: 840px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid rgba(20,21,9,0.12); border-radius: 10px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: transparent; border: none; cursor: pointer; text-align: left;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16.5px; color: #121309;
}
.faq-q .sign {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 6px; background: #FEF9D6; color: #927905;
  font-size: 18px; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace;
}
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; font-size: 15px; line-height: 1.65; color: #43472F; transition: max-height .24s var(--ease-out, ease), padding .24s; }
.faq-item.open .faq-a { padding: 0 22px 22px; max-height: 320px; }

/* ---- final cta ---- */
.final-cta { text-align: center; }
.final-cta h2 { font-weight: 600; font-size: 40px; line-height: 1.08; letter-spacing: -0.02em; margin: 0 auto 14px; max-width: 640px; color: #F4F5E9; }
.final-cta p { font-size: 17px; line-height: 1.6; color: #C2C5A8; max-width: 520px; margin: 0 auto 30px; }
.final-cta .ctas { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn { height: 54px; padding: 0 28px; border-radius: 8px; font-size: 16px; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid rgba(20,21,9,0.10); background: #FCFDF6; }
.site-footer .inner { max-width: 1200px; margin: 0 auto; padding: 44px 40px; }
.site-footer .brand-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.site-footer .brand-row .sub { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #969A77; }
.site-footer .desc { font-size: 14px; line-height: 1.65; color: #43472F; max-width: 840px; margin: 0 0 22px; }
.site-footer .bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; border-top: 1px solid rgba(20,21,9,0.08); padding-top: 20px; }
.site-footer .bottom span { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #969A77; }

/* ---- sticky whatsapp ---- */
.sticky-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px;
  border-radius: 30px; background: var(--wa-green); color: #fff; font-size: 15px; font-weight: 600;
  text-decoration: none; box-shadow: 0 12px 30px rgba(31,168,85,0.4);
  transition: background .16s, transform .16s;
}
.sticky-wa:hover { background: var(--wa-green-dark); transform: translateY(-2px); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .need-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid, .rec-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .site-header { gap: 16px; padding: 0 20px; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 44px 20px 40px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 16px; }
  .kain-grid, .need-grid, .svc-grid, .rec-grid, .benefit-grid, .opt-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-section .inner { grid-template-columns: 1fr; gap: 32px; padding: 56px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .h2, .final-cta h2, .form-intro h2 { font-size: 30px; }
  .trust-div { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid .wide { grid-column: span 2; }
  section > .container, .trust-strip .inner, .site-footer .inner { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 520px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid .tall, .portfolio-grid .wide { grid-row: auto; grid-column: auto; }
  .hero-ctas .btn, .final-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
