/* Page-Level Layouts & Compositions — Premium B2B Industrial */

/* ==========================================================================
   01. Homepage Hero
   ========================================================================== */
.hero {
  padding: 80px 0 92px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(480px, 0.95fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  max-width: 17ch;
}

.hero-lead {
  margin-top: 24px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-notes {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--steel-dark);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-notes li::before {
  content: "▪";
  color: var(--teal);
  font-size: 11px;
}

.hero-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--teal);
  top: -16px;
  right: 0;
}

.hero-figure {
  min-height: 220px;
}

.hero-figure-wide {
  grid-column: 1 / -1;
  min-height: 340px;
}

.hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   02. Page Hero (Subpages)
   ========================================================================== */
.page-hero {
  padding: 72px 0 80px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: var(--text-h1);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
  max-width: 22ch;
  color: var(--ink);
}

.page-hero .hero-lead {
  margin-top: 18px;
  font-size: 18px;
}

/* ==========================================================================
   03. Why IKT Layout (Section 08)
   ========================================================================== */
.why-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 48px;
}

.why-copy h2 {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 8px;
}

.why-copy .section-lead {
  margin-top: 20px;
}

/* ==========================================================================
   04. Workshop Layout (Section 10)
   ========================================================================== */
.workshop-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.workshop-media {
  min-height: 440px;
}

.workshop-copy h2 {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 8px;
}

.workshop-copy .section-lead {
  margin-top: 20px;
}

.workshop-copy > p:last-of-type {
  margin-top: 26px;
}

/* ==========================================================================
   05. Final RFQ Panel (Section 11)
   ========================================================================== */
.final-panel {
  background: var(--dark);
  color: #ffffff;
  border-top: 4px solid var(--accent);
  padding: 104px 0;
}

.final-panel h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
  color: #ffffff;
  max-width: 20ch;
}

.final-panel .section-lead {
  color: var(--muted-light);
  font-size: 18px;
}

.final-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.final-meta {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-mono);
  color: var(--muted-light);
}

/* ==========================================================================
   05b. Industries Layout with Map
   ========================================================================== */
.industries-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.indonesia-map-card {
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
}

.indonesia-map-card img {
  width: 100%;
  height: auto;
  padding: 24px 20px;
  display: block;
}

.indonesia-map-card figcaption {
  position: static;
  background: var(--dark);
  color: #ffffff;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line-dark);
}

.about-map-card {
  margin: 20px 0 28px;
  max-width: 580px;
}

/* ==========================================================================
   06. Product Leaf / Detail Layout
   ========================================================================== */
.product-leaf {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.product-leaf-main > h2, .product-leaf-aside > h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 40px;
  color: var(--ink);
}

.product-leaf-main > h2:first-of-type {
  margin-top: 10px;
}

.product-leaf-aside > h2:first-child {
  margin-top: 0;
}

.product-leaf-aside > p {
  margin-top: 20px;
}

.product-leaf-aside .evidence-grid {
  margin-top: 8px;
}

/* ==========================================================================
   07. RFQ Dedicated Page Layout
   ========================================================================== */
.rfq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.rfq-expect {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.rfq-expect li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  font-size: var(--text-small);
  color: var(--muted);
  line-height: 1.5;
}

.rfq-expect li::before {
  content: "✔";
  color: var(--teal);
  font-weight: 800;
  font-size: 14px;
}

/* ==========================================================================
   08. Prose & Longform Templates
   ========================================================================== */
.prose {
  max-width: var(--max-reading);
}

.prose h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  margin-top: 52px;
  color: var(--ink);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 20px;
  font-weight: 800;
  margin-top: 32px;
  color: var(--ink);
}

.prose p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.prose p:first-child {
  margin-top: 0;
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose ul {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.prose ul li {
  padding-left: 24px;
  position: relative;
  color: var(--muted);
  line-height: 1.6;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border: 2px solid var(--steel);
  border-radius: 1px;
}

.prose a {
  color: var(--steel);
  font-weight: 700;
  text-decoration: underline;
}

.prose a:hover {
  color: var(--accent);
}

.prose dl {
  margin-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.prose dl div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.prose dt {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prose dd {
  font-size: var(--text-small);
  font-weight: 650;
  color: var(--ink);
}

/* ==========================================================================
   09. Responsive Adjustments
   ========================================================================== */
@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-media {
    max-width: 720px;
  }
  .why-layout, .workshop-grid, .product-leaf, .industries-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .workshop-media {
    min-height: 340px;
  }
  .rfq-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .rfq-form {
    order: 1;
  }
  .rfq-copy {
    order: 2;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 56px 0 64px;
  }
  .hero h1 {
    font-size: clamp(34px, 9vw, 48px);
  }
  .hero-lead {
    font-size: 16px;
  }
  .hero-figure-wide {
    min-height: 240px;
  }
  .hero-figure {
    min-height: 180px;
  }
  .page-hero {
    padding: 48px 0 56px;
  }
  .workshop-media {
    min-height: 260px;
  }
  .prose dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
