/* =========================================================================
   Custom Automotive Spoiler Parts Manufacturer — scoped stylesheet
   Visual language: dark asphalt + signal-orange performance theme
   Container: .gc-spoiler  (100% scope-isolated, no global selectors)
   ========================================================================= */
.gc-spoiler {
  --gs-ink: #0c0e11;
  --gs-ink-2: #13171c;
  --gs-panel: #181d24;
  --gs-panel-2: #1f252e;
  --gs-line: rgba(255,255,255,0.08);
  --gs-line-2: rgba(255,255,255,0.16);
  --gs-text: #eaecef;
  --gs-muted: #9aa3af;
  --gs-muted-2: #6f7884;
  --gs-orange: #ff6a1a;
  --gs-orange-2: #ff8c42;
  --gs-orange-soft: rgba(255,106,26,0.12);
  --gs-blue: #0052cc;
  --gs-radius: 14px;
  --gs-shell: 1180px;

  display: block;
  background: var(--gs-ink);
  color: var(--gs-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.gc-spoiler * { box-sizing: border-box; }
.gc-spoiler a { color: var(--gs-orange-2); text-decoration: none; }
.gc-spoiler a:hover { text-decoration: underline; }

/* shell + bands */
.gc-spoiler-shell { max-width: var(--gs-shell); margin: 0 auto; padding: 0 24px; width: 100%; }
.gc-spoiler-block { padding: 72px 0; }
.gc-spoiler-block--tint { background: var(--gs-ink-2); border-top: 1px solid var(--gs-line); border-bottom: 1px solid var(--gs-line); }

/* headings */
.gc-spoiler-h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  margin: 0 0 18px;
  color: #fff;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.gc-spoiler-h3 { font-size: 19px; margin: 0 0 10px; color: #fff; font-weight: 680; }
.gc-spoiler-lead { font-size: 17px; color: var(--gs-muted); max-width: 880px; margin: 0 0 26px; }
.gc-spoiler-note {
  margin-top: 22px; padding: 14px 18px;
  background: var(--gs-orange-soft); border-left: 3px solid var(--gs-orange);
  border-radius: 8px; color: var(--gs-text); font-size: 15px;
}
.gc-spoiler-eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gs-orange-2); font-weight: 700; margin: 0 0 14px;
}

/* ---------- HERO ---------- */
.gc-spoiler-hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 78% -10%, rgba(255,106,26,0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 120%, rgba(0,82,204,0.16), transparent 55%),
    linear-gradient(160deg, #0a0c0f, #12161c 60%, #0c0e11);
  border-bottom: 1px solid var(--gs-line);
  padding: 76px 0 72px;
}
.gc-spoiler-hero__inner {
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 52px; align-items: center;
}
.gc-spoiler-hero__title {
  font-size: clamp(30px, 4vw, 46px); line-height: 1.12; margin: 0 0 18px;
  color: #fff; font-weight: 800; letter-spacing: -0.02em;
}
.gc-spoiler-hero__title em { color: var(--gs-orange); font-style: normal; }
.gc-spoiler-hero__lede { font-size: 17px; color: var(--gs-muted); margin: 0 0 26px; max-width: 560px; }
.gc-spoiler-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.gc-spoiler-chip {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 14px;
  background: var(--gs-panel); border: 1px solid var(--gs-line); border-radius: 10px; min-width: 120px;
}
.gc-spoiler-chip strong { color: #fff; font-size: 15px; }
.gc-spoiler-chip em { color: var(--gs-muted); font-style: normal; font-size: 12px; }
.gc-spoiler-hero__figure { margin: 0; }
.gc-spoiler-hero__figure img {
  width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; object-position: center 60%;
  border-radius: var(--gs-radius); border: 1px solid var(--gs-line-2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.gc-spoiler-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- BUTTONS ---------- */
.gc-spoiler-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; font-size: 15px; font-weight: 700;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease;
  font-family: inherit;
}
.gc-spoiler-btn:hover { text-decoration: none; transform: translateY(-1px); }
.gc-spoiler-btn--primary { background: var(--gs-blue); color: #fff; border-color: var(--gs-blue); }
.gc-spoiler-btn--primary:hover { background: #0a5cdb; }
.gc-spoiler-btn--ghost { background: transparent; color: var(--gs-orange); border-color: var(--gs-orange); }
.gc-spoiler-btn--ghost:hover { background: var(--gs-orange-soft); }

/* ---------- TRUST STRIP ---------- */
.gc-spoiler-trust { background: #0a0c0f; border-bottom: 1px solid var(--gs-line); padding: 30px 0; }
.gc-spoiler-trust__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.gc-spoiler-stat { text-align: center; padding: 6px 8px; border-right: 1px solid var(--gs-line); }
.gc-spoiler-stat:last-child { border-right: 0; }
.gc-spoiler-stat strong { display: block; color: #fff; font-size: 20px; font-weight: 780; }
.gc-spoiler-stat span { color: var(--gs-muted); font-size: 12.5px; }

/* ---------- PERSONAS ---------- */
.gc-spoiler-personas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.gc-spoiler-persona {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start;
  background: var(--gs-panel); border: 1px solid var(--gs-line); border-radius: var(--gs-radius); padding: 20px;
}
.gc-spoiler-persona__no {
  width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--gs-orange-soft); color: var(--gs-orange); font-weight: 800; font-size: 20px; border: 1px solid rgba(255,106,26,0.3);
}
.gc-spoiler-persona h3 { margin: 0 0 6px; font-size: 17px; }
.gc-spoiler-persona p { margin: 0; color: var(--gs-muted); font-size: 14.5px; }

/* ---------- SPOILER TYPES ---------- */
.gc-spoiler-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.gc-spoiler-type {
  background: var(--gs-panel); border: 1px solid var(--gs-line); border-radius: var(--gs-radius);
  padding: 22px; position: relative; transition: border-color .15s ease, transform .15s ease;
}
.gc-spoiler-type:hover { border-color: var(--gs-orange); transform: translateY(-2px); }
.gc-spoiler-type__no {
  font-size: 13px; font-weight: 800; color: var(--gs-orange); letter-spacing: 0.08em; margin-bottom: 10px;
}
.gc-spoiler-type h3 { margin: 0 0 8px; font-size: 18px; }
.gc-spoiler-type p { margin: 0 0 14px; color: var(--gs-muted); font-size: 14.5px; }
.gc-spoiler-type__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gc-spoiler-tag {
  font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--gs-panel-2);
  border: 1px solid var(--gs-line); color: var(--gs-muted);
}

/* ---------- TABLES ---------- */
.gc-spoiler-table-wrap { overflow-x: auto; border: 1px solid var(--gs-line); border-radius: var(--gs-radius); }
.gc-spoiler-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.gc-spoiler-table th, .gc-spoiler-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--gs-line); vertical-align: top; }
.gc-spoiler-table thead th { background: var(--gs-panel-2); color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: 0.02em; }
.gc-spoiler-table tbody tr:last-child td { border-bottom: 0; }
.gc-spoiler-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.gc-spoiler-table td strong { color: #fff; }

/* ---------- FLOW / TIMELINE ---------- */
.gc-spoiler-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gc-spoiler-flow--wide { grid-template-columns: repeat(7, 1fr); gap: 10px; }
.gc-spoiler-flow__step {
  background: var(--gs-panel); border: 1px solid var(--gs-line); border-radius: var(--gs-radius); padding: 18px; position: relative;
}
.gc-spoiler-flow--wide .gc-spoiler-flow__step { padding: 14px 12px; }
.gc-spoiler-flow__no {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--gs-orange); color: #0c0e11; font-weight: 800; font-size: 14px; margin-bottom: 12px;
}
.gc-spoiler-flow--wide .gc-spoiler-flow__no { width: 26px; height: 26px; font-size: 12px; margin-bottom: 8px; }
.gc-spoiler-flow__step h3 { margin: 0 0 6px; font-size: 15.5px; }
.gc-spoiler-flow--wide .gc-spoiler-flow__step h3 { font-size: 13.5px; }
.gc-spoiler-flow__step p { margin: 0; color: var(--gs-muted); font-size: 13.5px; }
.gc-spoiler-flow--wide .gc-spoiler-flow__step p { font-size: 12px; }

/* ---------- FITMENT 4-STEP ---------- */
.gc-spoiler-fit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.gc-spoiler-fit__step {
  background: var(--gs-panel); border: 1px solid var(--gs-line); border-top: 3px solid var(--gs-orange);
  border-radius: var(--gs-radius); padding: 20px;
}
.gc-spoiler-fit__step h3 { margin: 0 0 8px; font-size: 16px; }
.gc-spoiler-fit__step p { margin: 0; color: var(--gs-muted); font-size: 14px; }

/* ---------- QUALIFICATION CHECKLIST ---------- */
.gc-spoiler-checklist { margin: 0; padding-left: 0; list-style: none; counter-reset: gs-q; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.gc-spoiler-checklist li {
  counter-increment: gs-q; position: relative; padding: 14px 16px 14px 50px;
  background: var(--gs-panel); border: 1px solid var(--gs-line); border-radius: 10px; font-size: 14.5px; color: var(--gs-text);
}
.gc-spoiler-checklist li::before {
  content: counter(gs-q); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--gs-orange-soft); color: var(--gs-orange);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; border: 1px solid rgba(255,106,26,0.3);
}

/* ---------- TWO-COL CARDS ---------- */
.gc-spoiler-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gc-spoiler-col { background: var(--gs-panel); border: 1px solid var(--gs-line); border-radius: var(--gs-radius); padding: 22px; }
.gc-spoiler-col h3 { margin: 0 0 12px; font-size: 18px; }
.gc-spoiler-col ul { margin: 0; padding-left: 18px; color: var(--gs-muted); font-size: 14.5px; }
.gc-spoiler-col ul li { margin-bottom: 8px; }

/* ---------- LISTS ---------- */
.gc-spoiler-list { margin: 0; padding-left: 20px; color: var(--gs-muted); font-size: 15px; }
.gc-spoiler-list li { margin-bottom: 10px; }
.gc-spoiler-list strong { color: var(--gs-text); }

/* ---------- FACTS GRID ---------- */
.gc-spoiler-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
.gc-spoiler-fact { background: var(--gs-panel); border: 1px solid var(--gs-line); border-radius: 10px; padding: 16px; }
.gc-spoiler-fact__k { display: block; color: var(--gs-orange-2); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }
.gc-spoiler-fact__v { color: var(--gs-text); font-size: 14px; }

/* ---------- COMPLIANCE ---------- */
.gc-spoiler-compliance { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gc-spoiler-comp {
  background: var(--gs-panel); border: 1px solid var(--gs-line); border-radius: var(--gs-radius); padding: 22px;
}
.gc-spoiler-comp h3 { margin: 0 0 12px; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.gc-spoiler-comp h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--gs-orange); }
.gc-spoiler-comp ul { margin: 0; padding-left: 18px; color: var(--gs-muted); font-size: 14.5px; }
.gc-spoiler-comp ul li { margin-bottom: 9px; }
.gc-spoiler-comp strong { color: var(--gs-text); }

/* ---------- EXAMPLE ---------- */
.gc-spoiler-example { background: var(--gs-panel); border: 1px solid var(--gs-line); border-radius: var(--gs-radius); overflow: hidden; }
.gc-spoiler-example__row { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--gs-line); }
.gc-spoiler-example__row:last-child { border-bottom: 0; }
.gc-spoiler-example__row span { color: var(--gs-orange-2); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.gc-spoiler-example__row p { margin: 0; color: var(--gs-text); font-size: 14.5px; }

/* ---------- WHY (six processes) ---------- */
.gc-spoiler-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gc-spoiler-why__item { background: var(--gs-panel); border: 1px solid var(--gs-line); border-radius: var(--gs-radius); padding: 20px; }
.gc-spoiler-why__item h3 { margin: 0 0 8px; font-size: 16px; }
.gc-spoiler-why__item p { margin: 0; color: var(--gs-muted); font-size: 14px; }
.gc-spoiler-why__item b { color: var(--gs-orange); }

/* ---------- FIGURE RIGHT (in-section) ---------- */
.gc-spoiler-figure { margin: 0; }
.gc-spoiler-figure img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--gs-radius); border: 1px solid var(--gs-line-2); }
.gc-spoiler-split { display: grid; grid-template-columns: 1fr 0.9fr; gap: 40px; align-items: center; }
.gc-spoiler-split__copy { min-width: 0; }

/* ---------- FAQ ---------- */
.gc-spoiler-faq { display: grid; gap: 10px; }
.gc-spoiler-faq__item {
  background: var(--gs-panel); border: 1px solid var(--gs-line); border-radius: 10px; padding: 0; overflow: hidden;
}
.gc-spoiler-faq__item summary {
  cursor: pointer; padding: 16px 18px; font-weight: 650; color: #fff; font-size: 15.5px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.gc-spoiler-faq__item summary::-webkit-details-marker { display: none; }
.gc-spoiler-faq__item summary::after { content: "+"; color: var(--gs-orange); font-size: 22px; font-weight: 700; line-height: 1; }
.gc-spoiler-faq__item[open] summary::after { content: "\2212"; }
.gc-spoiler-faq__item p { margin: 0; padding: 0 18px 16px; color: var(--gs-muted); font-size: 14.5px; }

/* ---------- CTA BAND ---------- */
.gc-spoiler-cta {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(255,106,26,0.18), transparent 60%),
    linear-gradient(160deg, #15110d, #0e1116);
  border-top: 1px solid var(--gs-line); padding: 72px 0;
}
.gc-spoiler-cta__inner { max-width: 760px; }
.gc-spoiler-cta__title { font-size: clamp(24px, 3vw, 34px); color: #fff; margin: 0 0 14px; font-weight: 760; }
.gc-spoiler-cta__text { color: var(--gs-muted); font-size: 17px; margin: 0 0 26px; }

/* ---------- MODAL ---------- */
.gc-spoiler-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.gc-spoiler-modal[hidden] { display: none; }
.gc-spoiler-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(2px); }
.gc-spoiler-modal__box {
  position: relative; width: min(960px, 94vw); height: min(86vh, 760px);
  background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.gc-spoiler-modal__iframe { width: 100%; height: 100%; border: 0; }
.gc-spoiler-modal__close {
  position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,0.5); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}

/* ---------- ANSWER CALLOUT + UTILITIES ---------- */
.gc-spoiler-answer {
  background: var(--gs-orange-soft); border-left: 3px solid var(--gs-orange);
  border-radius: 8px; padding: 16px 18px; margin-bottom: 26px; font-size: 16px; color: var(--gs-text);
}
.gc-spoiler-answer p { margin: 0; color: var(--gs-text); }
.gc-spoiler-mt-22 { margin-top: 22px; }
.gc-spoiler-mt-24 { margin-top: 24px; }
.gc-spoiler-mt-28 { margin-top: 28px; }
.gc-spoiler-fig-s { max-width: 560px; }
.gc-spoiler-fig-m { max-width: 680px; }
.gc-spoiler-fine { margin-top: 22px; color: var(--gs-muted-2); font-size: 13px; }

/* image duo gallery (material section) */
.gc-spoiler-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.gc-spoiler-duo .gc-spoiler-figure { margin: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .gc-spoiler-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .gc-spoiler-trust__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gc-spoiler-stat { border-right: 0; border-bottom: 1px solid var(--gs-line); }
  .gc-spoiler-personas, .gc-spoiler-types, .gc-spoiler-why { grid-template-columns: 1fr; }
  .gc-spoiler-duo { grid-template-columns: 1fr; }
  .gc-spoiler-flow, .gc-spoiler-flow--wide, .gc-spoiler-fit { grid-template-columns: 1fr 1fr; }
  .gc-spoiler-facts { grid-template-columns: 1fr 1fr; }
  .gc-spoiler-cols, .gc-spoiler-compliance, .gc-spoiler-split { grid-template-columns: 1fr; }
  .gc-spoiler-checklist { grid-template-columns: 1fr; }
  .gc-spoiler-example__row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .gc-spoiler-block { padding: 52px 0; }
  .gc-spoiler-flow, .gc-spoiler-flow--wide, .gc-spoiler-fit, .gc-spoiler-facts { grid-template-columns: 1fr; }
  .gc-spoiler-trust__grid { grid-template-columns: 1fr 1fr; }
}
