/* When Should I Use 5-Axis CNC Machining? — Buyer Guide
   Scope: .ws5-page only. No global selectors.
   URL: /when-should-i-use-5-axis-cnc-machining/
*/

.ws5-page {
  --ws5-blue: #0052cc;
  --ws5-navy: #0f2747;
  --ws5-cyan: #00a3c4;
  --ws5-bg: #ffffff;
  --ws5-surface: #f6f8fb;
  --ws5-surface-2: #eef2f7;
  --ws5-text: #1a2332;
  --ws5-text-2: #4a5568;
  --ws5-text-3: #718096;
  --ws5-border: #e2e8f0;
  --ws5-shadow: 0 10px 40px rgba(15, 39, 71, 0.08);
  --ws5-shadow-sm: 0 4px 16px rgba(15, 39, 71, 0.06);
  --ws5-radius: 14px;
  --ws5-radius-sm: 10px;
  --ws5-max: 1180px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ws5-text);
  line-height: 1.65;
  background: var(--ws5-bg);
}

.ws5-page *, .ws5-page *::before, .ws5-page *::after {
  box-sizing: border-box;
}

.ws5-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ws5-page button {
  font-family: inherit;
}

.ws5-container {
  width: min(92%, var(--ws5-max));
  margin: 0 auto;
}

.ws5-section {
  padding: 72px 0;
}

.ws5-section-alt {
  background: var(--ws5-surface);
}

.ws5-section-dark {
  background: var(--ws5-navy);
  color: #fff;
}

/* Headings */
.ws5-h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--ws5-navy);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.ws5-section-dark .ws5-h1,
.ws5-section-dark .ws5-h2,
.ws5-section-dark .ws5-h3 {
  color: #fff;
}

.ws5-h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--ws5-navy);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.ws5-h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ws5-navy);
  margin: 0 0 10px;
}

.ws5-section-title {
  max-width: 760px;
  margin-bottom: 42px;
}

.ws5-section-title-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.ws5-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ws5-text-2);
  line-height: 1.7;
  margin: 0;
}

.ws5-section-dark .ws5-lead {
  color: rgba(255, 255, 255, 0.8);
}

.ws5-small {
  font-size: 0.88rem;
  color: var(--ws5-text-3);
  line-height: 1.6;
}

/* Buttons */
.ws5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ws5-btn:hover {
  transform: translateY(-2px);
}

.ws5-btn-primary {
  background: var(--ws5-blue);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.25);
}

.ws5-btn-primary:hover {
  background: #0043a8;
  box-shadow: 0 8px 26px rgba(0, 82, 204, 0.32);
}

.ws5-btn-secondary {
  background: transparent;
  color: var(--ws5-blue);
  border: 2px solid var(--ws5-blue);
}

.ws5-btn-secondary:hover {
  background: rgba(0, 82, 204, 0.06);
}

.ws5-section-dark .ws5-btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.ws5-section-dark .ws5-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.ws5-hero {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, #fff 0%, var(--ws5-surface) 100%);
  position: relative;
  overflow: hidden;
}

.ws5-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 82, 204, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ws5-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.ws5-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--ws5-border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ws5-text-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  box-shadow: var(--ws5-shadow-sm);
}

.ws5-hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ws5-cyan);
}

.ws5-hero-text p {
  font-size: 1.15rem;
  color: var(--ws5-text-2);
  margin: 0 0 22px;
  line-height: 1.75;
}

.ws5-hero-note {
  padding: 14px 18px;
  background: #fff;
  border-left: 4px solid var(--ws5-cyan);
  border-radius: 0 var(--ws5-radius-sm) var(--ws5-radius-sm) 0;
  font-size: 0.92rem;
  color: var(--ws5-text-2);
  margin: 24px 0 28px;
  box-shadow: var(--ws5-shadow-sm);
}

.ws5-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ws5-hero-visual {
  position: relative;
}

.ws5-hero-img {
  border-radius: var(--ws5-radius);
  box-shadow: var(--ws5-shadow);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ws5-border);
}

.ws5-hero-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ws5-hero-stat {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--ws5-navy);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--ws5-radius-sm);
  box-shadow: var(--ws5-shadow);
}

.ws5-hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.ws5-hero-stat span {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Tables */
.ws5-table-wrap {
  overflow-x: auto;
  border-radius: var(--ws5-radius);
  box-shadow: var(--ws5-shadow-sm);
  border: 1px solid var(--ws5-border);
  background: #fff;
}

.ws5-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ws5-table th,
.ws5-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--ws5-border);
  vertical-align: top;
}

.ws5-table th {
  background: var(--ws5-navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: none;
}

.ws5-table th:first-child {
  border-radius: var(--ws5-radius) 0 0 0;
}

.ws5-table th:last-child {
  border-radius: 0 var(--ws5-radius) 0 0;
}

.ws5-table tr:last-child td {
  border-bottom: none;
}

.ws5-table td:first-child {
  font-weight: 600;
  color: var(--ws5-navy);
}

.ws5-table tr:nth-child(even) td {
  background: var(--ws5-surface);
}

/* Decision matrix specific */
.ws5-matrix th.ws5-col-3,
.ws5-matrix th.ws5-col-4,
.ws5-matrix th.ws5-col-5 {
  text-align: center;
}

.ws5-matrix td.ws5-col-3,
.ws5-matrix td.ws5-col-4,
.ws5-matrix td.ws5-col-5 {
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.ws5-check { color: #16a34a; }
.ws5-warn { color: #d97706; }
.ws5-cross { color: #dc2626; }

/* Situation cards */
.ws5-situations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ws5-sit-card {
  background: #fff;
  border: 1px solid var(--ws5-border);
  border-radius: var(--ws5-radius);
  padding: 28px;
  box-shadow: var(--ws5-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.ws5-sit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ws5-shadow);
}

.ws5-sit-num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(0, 82, 204, 0.08);
  line-height: 1;
}

.ws5-sit-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 82, 204, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--ws5-blue);
  font-size: 1.3rem;
}

.ws5-sit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.ws5-sit-card p {
  font-size: 0.94rem;
  color: var(--ws5-text-2);
  margin: 0;
  line-height: 1.65;
}

/* Not needed section */
.ws5-not-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.ws5-not-card {
  background: #fff;
  border-radius: var(--ws5-radius);
  padding: 32px;
  border: 1px solid var(--ws5-border);
}

.ws5-not-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ws5-not-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ws5-text-2);
}

.ws5-not-card li {
  margin-bottom: 10px;
  line-height: 1.55;
}

.ws5-not-negative h3 { color: #dc2626; }
.ws5-not-positive h3 { color: #16a34a; }

.ws5-not-negative h3::before { content: "✕"; }
.ws5-not-positive h3::before { content: "✓"; }

/* Comparison panels */
.ws5-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ws5-compare-card {
  background: #fff;
  border-radius: var(--ws5-radius);
  padding: 28px;
  border: 2px solid var(--ws5-border);
  position: relative;
}

.ws5-compare-card.featured {
  border-color: var(--ws5-blue);
  box-shadow: var(--ws5-shadow);
}

.ws5-compare-tag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--ws5-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}

.ws5-compare-card h3 {
  margin-top: 8px;
  font-size: 1.3rem;
}

.ws5-compare-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ws5-compare-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--ws5-border);
  font-size: 0.92rem;
  color: var(--ws5-text-2);
  display: flex;
  justify-content: space-between;
}

.ws5-compare-card li:last-child {
  border-bottom: none;
}

.ws5-compare-yes { color: #16a34a; font-weight: 700; }
.ws5-compare-no { color: #dc2626; font-weight: 700; }
.ws5-compare-lim { color: #d97706; font-weight: 700; }

/* 3+2 vs simultaneous */
.ws5-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.ws5-mode-card {
  background: #fff;
  border-radius: var(--ws5-radius);
  padding: 32px;
  border: 1px solid var(--ws5-border);
}

.ws5-mode-card h3 {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.ws5-mode-32 h3 {
  background: rgba(0, 163, 196, 0.1);
  color: var(--ws5-cyan);
}

.ws5-mode-sim h3 {
  background: rgba(0, 82, 204, 0.1);
  color: var(--ws5-blue);
}

.ws5-mode-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ws5-text-2);
}

.ws5-mode-card li {
  margin-bottom: 8px;
}

/* Key statement / pull quote */
.ws5-pull {
  background: var(--ws5-navy);
  color: #fff;
  padding: 38px 42px;
  border-radius: var(--ws5-radius);
  margin: 28px 0;
  position: relative;
}

.ws5-pull p {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
  font-style: italic;
}

.ws5-chain-step a { color: inherit; text-decoration: none; }

.ws5-mt-1 { margin-top: 16px; }
.ws5-mt-3 { margin-top: 48px; }

.ws5-pull::before {
  content: """;
  position: absolute;
  top: 18px;
  left: 22px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  font-family: Georgia, serif;
}

/* Accuracy chain */
.ws5-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.ws5-chain-step {
  background: #fff;
  border: 1px solid var(--ws5-border);
  border-radius: var(--ws5-radius-sm);
  padding: 16px 22px;
  font-weight: 700;
  color: var(--ws5-navy);
  box-shadow: var(--ws5-shadow-sm);
}

.ws5-chain-arrow {
  color: var(--ws5-cyan);
  font-size: 1.4rem;
  font-weight: 800;
}

/* Cost example */
.ws5-cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.ws5-cost-card {
  background: #fff;
  border-radius: var(--ws5-radius);
  padding: 28px;
  border: 1px solid var(--ws5-border);
}

.ws5-cost-card h4 {
  margin: 0 0 18px;
  font-size: 1.1rem;
  color: var(--ws5-navy);
}

.ws5-cost-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--ws5-border);
  font-size: 0.94rem;
}

.ws5-cost-row:last-child {
  border-bottom: none;
}

.ws5-cost-row span:first-child {
  color: var(--ws5-text-2);
}

.ws5-cost-row span:last-child {
  font-weight: 700;
  color: var(--ws5-navy);
}

.ws5-cost-total {
  background: var(--ws5-surface-2);
  padding: 14px 18px;
  border-radius: var(--ws5-radius-sm);
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

/* Checklist */
.ws5-checklist {
  background: #fff;
  border-radius: var(--ws5-radius);
  padding: 32px;
  border: 1px solid var(--ws5-border);
  box-shadow: var(--ws5-shadow-sm);
}

.ws5-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.ws5-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--ws5-surface);
  border-radius: var(--ws5-radius-sm);
  font-size: 0.95rem;
  color: var(--ws5-text);
}

.ws5-check-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--ws5-blue);
  margin-top: 2px;
  flex-shrink: 0;
}

.ws5-check-result {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ws5-check-result span {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.ws5-result-low { background: #dcfce7; color: #166534; }
.ws5-result-mid { background: #fef3c7; color: #92400e; }
.ws5-result-high { background: #dbeafe; color: #1e40af; }

/* Industries */
.ws5-industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ws5-ind-card {
  background: #fff;
  border-radius: var(--ws5-radius);
  padding: 26px;
  border: 1px solid var(--ws5-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ws5-ind-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ws5-shadow);
}

.ws5-ind-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.ws5-ind-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ws5-text-2);
  font-size: 0.9rem;
}

.ws5-ind-card li {
  margin-bottom: 6px;
}

/* Case studies */
.ws5-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ws5-case {
  background: #fff;
  border-radius: var(--ws5-radius);
  overflow: hidden;
  border: 1px solid var(--ws5-border);
  box-shadow: var(--ws5-shadow-sm);
}

.ws5-case-img {
  height: 200px;
  overflow: hidden;
  background: var(--ws5-surface);
}

.ws5-case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws5-case-body {
  padding: 24px;
}

.ws5-case-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(0, 82, 204, 0.08);
  color: var(--ws5-blue);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.ws5-case-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.ws5-case-body p {
  font-size: 0.92rem;
  color: var(--ws5-text-2);
  margin: 0 0 14px;
}

.ws5-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ws5-case-meta span {
  font-size: 0.8rem;
  padding: 5px 10px;
  background: var(--ws5-surface);
  border-radius: 6px;
  color: var(--ws5-text-3);
}

/* Capability table */
.ws5-cap-table th:first-child,
.ws5-cap-table td:first-child {
  width: 40%;
}

.ws5-cap-status {
  font-weight: 700;
}

.ws5-status-yes { color: #16a34a; }
.ws5-status-confirm { color: var(--ws5-cyan); }

/* Before/After */
.ws5-beforeafter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.ws5-ba-card {
  background: #fff;
  border-radius: var(--ws5-radius);
  padding: 28px;
  border: 1px solid var(--ws5-border);
}

.ws5-ba-card h3 {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ws5-border);
}

.ws5-ba-flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ws5-ba-step {
  background: var(--ws5-surface);
  padding: 12px 16px;
  border-radius: var(--ws5-radius-sm);
  font-weight: 600;
  color: var(--ws5-navy);
  text-align: center;
}

.ws5-ba-arrow {
  text-align: center;
  color: var(--ws5-text-3);
  font-size: 1.2rem;
}

.ws5-ba-single {
  background: var(--ws5-blue);
  color: #fff;
}

/* RFQ list */
.ws5-rfq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.ws5-rfq-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--ws5-radius-sm);
  border: 1px solid var(--ws5-border);
  font-size: 0.95rem;
}

.ws5-rfq-item::before {
  content: "→";
  color: var(--ws5-blue);
  font-weight: 800;
}

/* FAQ */
.ws5-faq {
  max-width: 860px;
  margin: 0 auto;
}

.ws5-faq-item {
  border-bottom: 1px solid var(--ws5-border);
}

.ws5-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ws5-navy);
  text-align: left;
  cursor: pointer;
}

.ws5-faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--ws5-blue);
  transition: transform 0.2s ease;
}

.ws5-faq-item.active .ws5-faq-icon {
  transform: rotate(45deg);
}

.ws5-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  color: var(--ws5-text-2);
  font-size: 0.96rem;
  line-height: 1.7;
}

.ws5-faq-item.active .ws5-faq-a {
  max-height: 500px;
  padding-bottom: 22px;
}

/* CTA */
.ws5-cta {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.ws5-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px;
}

.ws5-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Topic cluster */
.ws5-cluster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ws5-cluster-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--ws5-border);
  border-radius: var(--ws5-radius-sm);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ws5-cluster-card:hover {
  border-color: var(--ws5-blue);
  box-shadow: var(--ws5-shadow-sm);
  transform: translateY(-2px);
}

.ws5-cluster-tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ws5-cluster-tag-process { background: rgba(0, 82, 204, 0.1); color: var(--ws5-blue); }
.ws5-cluster-tag-precision { background: rgba(0, 163, 196, 0.1); color: var(--ws5-cyan); }
.ws5-cluster-tag-guide { background: rgba(15, 39, 71, 0.08); color: var(--ws5-navy); }

.ws5-cluster-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ws5-navy);
}

.ws5-cluster-desc {
  font-size: 0.82rem;
  color: var(--ws5-text-2);
  line-height: 1.5;
}

/* Modal */
#gcqModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 39, 71, 0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#gcqModal.active {
  display: flex;
}

#gcqModal .modal-box {
  position: relative;
  width: min(920px, 100%);
  height: min(760px, 90vh);
  background: #fff;
  border-radius: var(--ws5-radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

#gcqModal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

#gcqModal .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ws5-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .ws5-hero-grid { grid-template-columns: 1fr; }
  .ws5-hero-stat { left: 16px; bottom: -16px; }
  .ws5-situations { grid-template-columns: repeat(2, 1fr); }
  .ws5-cluster { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ws5-section { padding: 52px 0; }
  .ws5-situations,
  .ws5-compare-grid,
  .ws5-industries,
  .ws5-cases,
  .ws5-cost-grid,
  .ws5-mode-grid,
  .ws5-not-grid,
  .ws5-beforeafter,
  .ws5-checklist-grid,
  .ws5-rfq-list { grid-template-columns: 1fr; }
  .ws5-cluster { grid-template-columns: 1fr; }
  .ws5-chain { flex-direction: column; align-items: stretch; }
  .ws5-chain-arrow { text-align: center; transform: rotate(90deg); }
}
