/* ============================================================
   Precision CNC Plastic Machining — Goldcattle
   Scope-isolated under .gc-plast (no global selectors)
   Visual: "material lab" — navy + jade/teal accent + amber risk
   Layout v2: full-bleed bands (hero/tint/CTA) + inner .gc-plast-shell
   ============================================================ */
.gc-plast {
  --gp-blue: #0052cc;
  --gp-navy: #0f2747;
  --gp-jade: #0f9d8a;
  --gp-jade-d: #0a7e6e;
  --gp-amber: #e0922a;
  --gp-steel: #5b7aa6;
  --gp-paper: #f5f8f9;
  --gp-line: #e2e8ec;
  --gp-ink: #1f2a36;
  --gp-muted: #5a6b7a;
  --gp-radius: 14px;
  --gp-shadow: 0 10px 30px rgba(15, 39, 71, 0.08);

  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gp-ink);
  line-height: 1.65;
  background: #ffffff;
}
.gc-plast *, .gc-plast *::before, .gc-plast *::after { box-sizing: border-box; }

/* ---------- INNER SHELL (content constraint) ---------- */
.gc-plast-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- HERO (full-bleed band) ---------- */
.gc-plast-hero {
  padding: 60px 0 44px;
  background: linear-gradient(180deg, #0f2747 0%, #16365e 100%);
  color: #fff;
}
.gc-plast-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: #7fd9cb;
  margin: 0 0 12px;
}
.gc-plast-hero__title {
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 800;
  color: #fff;
  max-width: 860px;
}
.gc-plast-hero__lede {
  font-size: 17px;
  max-width: 760px;
  color: #d7e2ee;
  margin: 0 0 26px;
}
.gc-plast-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.gc-plast-chip {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(127, 217, 203, 0.35);
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 130px;
}
.gc-plast-chip strong { font-size: 16px; color: #fff; }
.gc-plast-chip em { font-style: normal; font-size: 12px; color: #9fb6cc; margin-top: 2px; }
.gc-plast-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }
.gc-plast-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.gc-plast-hero__copy { min-width: 0; }
.gc-plast-hero__figure {
  margin: 0;
  max-width: none;
}
.gc-plast-hero__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 55%;
  border-radius: var(--gp-radius);
  border: 1px solid rgba(255,255,255,0.12);
  display: block;
}

/* ---------- BUTTONS ---------- */
.gc-plast-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.gc-plast-btn--primary { background: var(--gp-blue); color: #fff; box-shadow: 0 6px 16px rgba(0,82,204,.28); }
.gc-plast-btn--primary:hover { background: #0040a3; transform: translateY(-1px); }
.gc-plast-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.gc-plast-btn--ghost:hover { background: rgba(255,255,255,0.10); }

/* ---------- BLOCKS (full-bleed bands) ---------- */
.gc-plast-block { padding: 46px 0; border-bottom: 1px solid var(--gp-line); }
.gc-plast-block--tint { background: var(--gp-paper); }
.gc-plast-h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--gp-navy);
  margin: 0 0 14px;
  font-weight: 800;
  line-height: 1.25;
}
.gc-plast-h3 { font-size: 18px; color: var(--gp-navy); margin: 0 0 8px; font-weight: 700; }
.gc-plast-lead { font-size: 16px; color: var(--gp-muted); margin: 0 0 20px; max-width: 820px; }
.gc-plast-note {
  margin: 18px 0 0;
  padding: 12px 16px;
  background: #eef6f4;
  border-left: 4px solid var(--gp-jade);
  border-radius: 8px;
  font-size: 14.5px;
  color: #2c4a44;
}

/* ---------- ANSWER BLOCK ---------- */
.gc-plast-answer {
  background: #fff;
  border: 1px solid var(--gp-line);
  border-left: 5px solid var(--gp-jade);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: var(--gp-shadow);
}
.gc-plast-answer p { margin: 0 0 12px; }
.gc-plast-answer p:last-child { margin-bottom: 0; }

/* ---------- LINKS LIST ---------- */
.gc-plast-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.gc-plast-links li { padding: 12px 16px; background: #fff; border: 1px solid var(--gp-line); border-radius: 10px; font-size: 15px; }
.gc-plast-links a { color: var(--gp-blue); font-weight: 700; text-decoration: none; }
.gc-plast-links a:hover { text-decoration: underline; }

/* ---------- QUAD (4 behaviors) ---------- */
.gc-plast-quad { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gc-plast-quad__item {
  background: #fff;
  border: 1px solid var(--gp-line);
  border-top: 4px solid var(--gp-amber);
  border-radius: 12px;
  padding: 20px;
}
.gc-plast-quad__no {
  display: inline-block;
  font-weight: 800;
  color: var(--gp-amber);
  font-size: 14px;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.gc-plast-quad__item p { margin: 0; font-size: 14.5px; color: var(--gp-muted); }

/* ---------- TABLES ---------- */
.gc-plast-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--gp-line); }
.gc-plast-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.5px; min-width: 620px; }
.gc-plast-table th, .gc-plast-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--gp-line); vertical-align: top; }
.gc-plast-table thead th { background: var(--gp-navy); color: #fff; font-weight: 700; position: sticky; top: 0; }
.gc-plast-table tbody tr:nth-child(even) { background: #f7fafb; }
.gc-plast-table tbody tr:hover { background: #eef6f4; }
.gc-plast-table td:first-child { border-left: 3px solid var(--gp-jade); }

/* ---------- SUB BEHAVIORS ---------- */
.gc-plast-sub {
  background: #fff;
  border: 1px solid var(--gp-line);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.gc-plast-sub p { margin: 0; font-size: 15px; color: var(--gp-ink); }
.gc-plast-sub strong { color: var(--gp-jade-d); }

/* ---------- FIGURE (capped width, banner crop) ---------- */
.gc-plast-figure {
  margin: 0 auto 22px;
  max-width: 820px;
}
.gc-plast-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: var(--gp-radius);
  border: 1px solid var(--gp-line);
  display: block;
}
.gc-plast-mat__top {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 24px;
}
.gc-plast-mat__intro { min-width: 0; }
.gc-plast-figure--right {
  margin: 0;
  max-width: none;
}
.gc-plast-figure--right img {
  aspect-ratio: 4 / 3;
  object-position: center;
}

/* ---------- FLOW (process steps) ---------- */
.gc-plast-flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gc-plast-flow__step {
  background: #fff;
  border: 1px solid var(--gp-line);
  border-radius: 12px;
  padding: 20px;
  position: relative;
}
.gc-plast-flow__no {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gp-jade); color: #fff;
  border-radius: 50%; font-weight: 800; font-size: 15px;
  margin-bottom: 10px;
}
.gc-plast-flow__step p { margin: 0; font-size: 14.5px; color: var(--gp-muted); }

/* ---------- COLS ---------- */
.gc-plast-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gc-plast-col { background: #fff; border: 1px solid var(--gp-line); border-radius: 12px; padding: 20px; }
.gc-plast-col p { margin: 0; }

/* ---------- LISTS ---------- */
.gc-plast-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.gc-plast-list li { font-size: 15px; color: var(--gp-ink); }
.gc-plast-list strong { color: var(--gp-navy); }
.gc-plast-checklist { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.gc-plast-checklist li { font-size: 15px; color: var(--gp-ink); padding-left: 4px; }

/* ---------- FACTS ---------- */
.gc-plast-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gc-plast-fact {
  background: #fff;
  border: 1px solid var(--gp-line);
  border-left: 4px solid var(--gp-blue);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gc-plast-fact__k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--gp-steel); font-weight: 700; }
.gc-plast-fact__v { font-size: 15px; color: var(--gp-ink); }

/* ---------- EXAMPLE ---------- */
.gc-plast-example { background: #fff; border: 1px solid var(--gp-line); border-radius: 12px; overflow: hidden; }
.gc-plast-example__row { display: grid; grid-template-columns: 140px 1fr; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--gp-line); }
.gc-plast-example__row:last-child { border-bottom: none; }
.gc-plast-example__row span { font-weight: 800; color: var(--gp-jade-d); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.gc-plast-example__row p { margin: 0; font-size: 15px; color: var(--gp-ink); }

/* ---------- FAQ ---------- */
.gc-plast-faq { display: grid; gap: 10px; }
.gc-plast-faq__item {
  background: #fff;
  border: 1px solid var(--gp-line);
  border-radius: 10px;
  padding: 0;
}
.gc-plast-faq__item summary {
  cursor: pointer;
  padding: 15px 18px;
  font-weight: 700;
  color: var(--gp-navy);
  font-size: 15.5px;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.gc-plast-faq__item summary::-webkit-details-marker { display: none; }
.gc-plast-faq__item summary::after {
  content: "+";
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--gp-jade); font-weight: 700;
}
.gc-plast-faq__item[open] summary::after { content: "−"; }
.gc-plast-faq__item p { margin: 0; padding: 0 18px 16px; font-size: 14.5px; color: var(--gp-muted); }

/* ---------- CTA (full-bleed band) ---------- */
.gc-plast-cta { padding: 56px 0; background: linear-gradient(180deg, #0f2747, #16365e); color: #fff; }
.gc-plast-cta__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.gc-plast-cta__title { font-size: clamp(22px, 3vw, 30px); margin: 0 0 12px; color: #fff; font-weight: 800; }
.gc-plast-cta__text { font-size: 16px; color: #d7e2ee; margin: 0 0 24px; }
.gc-plast-cta .gc-plast-hero__actions { justify-content: center; margin-bottom: 0; }
.gc-plast-cta .gc-plast-btn--ghost { color: #fff; border-color: rgba(255,255,255,0.45); }

/* ---------- MODAL (standard #gcqModal) ---------- */
.gc-plast-modal { position: fixed; inset: 0; z-index: 99998; display: flex; align-items: center; justify-content: center; }
.gc-plast-modal[hidden] { display: none; }
.gc-plast-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 20, 38, 0.62); }
.gc-plast-modal__box {
  position: relative;
  width: min(560px, 92vw);
  height: min(680px, 88vh);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  z-index: 1;
}
.gc-plast-modal__close {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  border: none; background: rgba(15,39,71,0.85); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer; z-index: 2;
}
.gc-plast-modal__close:hover { background: var(--gp-blue); }
.gc-plast-modal__iframe { width: 100%; height: 100%; border: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  .gc-plast-quad, .gc-plast-flow, .gc-plast-cols, .gc-plast-facts { grid-template-columns: 1fr; }
  .gc-plast-example__row { grid-template-columns: 1fr; gap: 4px; }
  .gc-plast-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .gc-plast-mat__top { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  .gc-plast-hero { padding-top: 44px; }
  .gc-plast-shell { padding: 0 16px; }
  .gc-plast-chip { min-width: calc(50% - 6px); }
  .gc-plast-hero__actions, .gc-plast-cta .gc-plast-hero__actions { flex-direction: column; align-items: stretch; }
  .gc-plast-btn { width: 100%; }
}
