/* =============================================================
   page-8-color-flexo.css
   8-Color Flexo Printing Machines — LQ-8S Series
   URL: /flexo-printers/8-color/
   Prefix: ec- (eight-color)
   依赖: Global.css (tokens, btn, section-dark/light, container)
   规则: 无 :root{} / 无硬编码颜色值 / 无 !important
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================================
   S1 — HERO
   ============================================================= */

.ec-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ec-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.ec-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: cb-hero-breathe 8s ease-in-out infinite;
  transform-origin: center center;
}

.ec-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(215,25,32,.22), transparent 32%),
    radial-gradient(circle at 85% 25%, rgba(255,255,255,.05), transparent 34%),
    linear-gradient(135deg, rgba(11,13,16,.93) 0%, rgba(23,26,31,.86) 55%, rgba(36,39,46,.80) 100%);
}

.ec-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px,
      rgba(255,255,255,0.025) 59px, rgba(255,255,255,0.025) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px,
      rgba(255,255,255,0.025) 59px, rgba(255,255,255,0.025) 60px);
}

.ec-hero__inner {
  position: relative;
  z-index: 2;
  padding: var(--sp-8) var(--sp-5);
}

.ec-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 760px;
}

.ec-hero__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-mid);
  background: rgba(215,25,32,.12);
  border: 1px solid rgba(215,25,32,.22);
  border-radius: 100px;
  padding: 5px var(--sp-2);
  width: fit-content;
}

.ec-hero__title {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.5px;
  margin: 0;
}

.ec-hero__title em {
  font-style: normal;
  color: var(--brand-mid);
}

.ec-hero__subtitle {
  font-size: var(--text-md);
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 640px;
  margin: 0;
}

/* Trust Bar */
.ec-hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  width: fit-content;
}

.ec-hero__trust-item {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 0 var(--sp-4);
}

.ec-hero__trust-num {
  font-family: 'DM Mono', monospace;
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  position: relative;
}

.ec-hero__trust-plus {
  font-size: var(--text-lg);
  color: var(--brand-mid);
}

.ec-hero__trust-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ec-hero__trust-unit {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,.70);
}

.ec-hero__trust-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

.ec-hero__trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

.ec-hero__cta-group {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* =============================================================
   S2 — WHY 8 COLORS
   ============================================================= */

.ec-why { padding: var(--sp-7) var(--sp-5); }

/* Machine type note */
.ec-why__type-note {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-6);
  color: var(--gray-600);
}

.ec-why__type-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gray-400);
}

.ec-why__type-note p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin: 0;
  color: var(--gray-600);
}

.ec-why__type-note strong { color: var(--gray-800); }

/* Module structure */
.ec-why__module {
  margin-top: var(--sp-7);
  padding-top: var(--sp-7);
  border-top: 1px solid var(--gray-100);
}

.ec-why__module-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.ec-why__module-num {
  font-family: 'DM Mono', monospace;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-tint);
  border-radius: var(--r-md);
  padding: 3px 10px;
  flex-shrink: 0;
}

.ec-why__module-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gray-800);
  margin: 0;
  line-height: 1.3;
}

.ec-why__module-desc {
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 0 var(--sp-5);
}

/* Scenario cards */
.ec-why__scenario-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.ec-why__scenario {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--sp-4);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-card);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ec-why__scenario:hover {
  border-color: rgba(215,25,32,.20);
  box-shadow: var(--shadow-lift);
}

.ec-why__scenario-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ec-why__scenario-icon--ecg     { background: rgba(168,85,247,.10); color: #9333ea; }
.ec-why__scenario-icon--white   { background: var(--gray-100);      color: var(--gray-600); }
.ec-why__scenario-icon--pantone { background: var(--brand-tint);    color: var(--brand); }

.ec-why__scenario-body h4 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 var(--sp-2);
}

.ec-why__scenario-body p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0 0 var(--sp-2);
}

.ec-why__scenario-signal {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--green-fg);
  background: var(--green-bg);
  border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-3);
  line-height: 1.55;
  margin-top: var(--sp-2);
}

.ec-why__scenario-signal svg { flex-shrink: 0; margin-top: 2px; }

.ec-why__verify {
  display: block;
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--amber-fg);
  margin-top: 4px;
  font-weight: 400;
}

/* Config grid */
.ec-why__config-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.ec-why__config-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  box-shadow: var(--shadow-card);
  transition: border-color .2s ease, transform .25s ease;
}

.ec-why__config-card:hover {
  border-color: rgba(215,25,32,.20);
  transform: translateY(-2px);
}

.ec-why__config-header { display: flex; flex-direction: column; gap: 6px; }

.ec-why__config-num {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .10em;
  color: var(--brand);
  background: var(--brand-tint);
  border-radius: 100px;
  padding: 3px 12px;
  align-self: flex-start;
}

.ec-why__config-header h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
}

/* Station diagram */
.ec-why__config-stations {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.ec-why__station {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ec-why__station-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  width: 34px;
  height: 34px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.ec-why__station-name {
  font-size: 9px;
  color: var(--gray-400);
  text-align: center;
  white-space: nowrap;
}

/* Station colors */
.ec-why__station--c  .ec-why__station-label { background: #0e7490; }
.ec-why__station--m  .ec-why__station-label { background: #be185d; }
.ec-why__station--y  .ec-why__station-label { background: #ca8a04; }
.ec-why__station--k  .ec-why__station-label { background: var(--gray-800); }
.ec-why__station--w  .ec-why__station-label {
  background: var(--white);
  color: var(--gray-800);
  border: 2px solid var(--gray-200);
}
.ec-why__station--s1 .ec-why__station-label { background: var(--brand); }
.ec-why__station--s2 .ec-why__station-label { background: var(--brand-dark); }
.ec-why__station--s3 .ec-why__station-label { background: #9f1239; }
.ec-why__station--o  .ec-why__station-label { background: #c2410c; }
.ec-why__station--g  .ec-why__station-label { background: #166534; }
.ec-why__station--v  .ec-why__station-label { background: #6b21a8; }

.ec-why__config-desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.ec-why__config-use {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.65;
  padding: var(--sp-2) var(--sp-3);
  background: var(--gray-50);
  border-radius: var(--r-md);
  border: 1px solid var(--gray-100);
}

.ec-why__config-use strong { color: var(--gray-800); }

/* 1200mm width grid */
.ec-why__width-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.ec-why__width-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  box-shadow: var(--shadow-card);
  transition: border-color .2s ease;
}

.ec-why__width-item:hover { border-color: rgba(215,25,32,.20); }

.ec-why__width-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-tint);
  color: var(--brand);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ec-why__width-item h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 var(--sp-1);
}

.ec-why__width-item p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* Redirect */
.ec-why__redirect {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
}

.ec-why__redirect-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ec-why__redirect div {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.7;
}

.ec-why__redirect strong {
  color: var(--gray-800);
  display: block;
  margin-bottom: 4px;
}

.ec-why__redirect-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.ec-why__redirect-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* =============================================================
   S3 — COMPARISON
   ============================================================= */

.ec-compare { padding: var(--sp-7) var(--sp-5); }

.ec-compare__table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.10);
  margin-bottom: var(--sp-6);
}

.ec-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 760px;
}

.ec-compare__table thead tr {
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.ec-compare__table th {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-weight: 700;
  color: rgba(255,255,255,.90);
  white-space: nowrap;
}

.ec-compare__th-dim { color: rgba(255,255,255,.50); width: 18%; }
.ec-compare__th-why { width: 36%; }

.ec-compare__th-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: 100px;
  padding: 2px 8px;
  margin-right: 6px;
  vertical-align: middle;
}

.ec-compare__th-badge--6c {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.70);
}

.ec-compare__th-badge--8c {
  background: rgba(215,25,32,.20);
  color: var(--brand-mid);
}

.ec-compare__table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .15s ease;
}

.ec-compare__table tbody tr:hover { background: rgba(255,255,255,.03); }
.ec-compare__row--alt { background: rgba(255,255,255,.025); }

.ec-compare__table td {
  padding: var(--sp-3) var(--sp-4);
  vertical-align: top;
  line-height: 1.6;
}

.ec-compare__dim {
  font-weight: 600;
  color: rgba(255,255,255,.80);
  white-space: nowrap;
}

.ec-compare__val        { color: rgba(255,255,255,.55); }
.ec-compare__val--8c    { color: rgba(255,255,255,.85); }

.ec-compare__val--yes {
  color: #4ade80;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.ec-compare__val--no {
  color: rgba(255,255,255,.30);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.ec-compare__val--limited {
  color: rgba(255,200,50,.75);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.ec-compare__val--yes svg,
.ec-compare__val--no svg,
.ec-compare__val--limited svg { flex-shrink: 0; margin-top: 3px; }

.ec-compare__why {
  color: rgba(255,255,255,.48);
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* Real decision section */
.ec-compare__real-decision {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
}

.ec-compare__real-decision-header {
  margin-bottom: var(--sp-5);
}

.ec-compare__real-decision-header h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: rgba(255,255,255,.92);
  margin: 0 0 var(--sp-2);
}

.ec-compare__real-decision-header p {
  font-size: var(--text-base);
  color: rgba(255,255,255,.58);
  line-height: 1.7;
  max-width: 680px;
  margin: 0;
}

.ec-compare__versus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.ec-compare__versus-card {
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.ec-compare__versus-card--6c {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}

.ec-compare__versus-card--8c {
  background: rgba(215,25,32,.07);
  border: 1px solid rgba(215,25,32,.22);
}

.ec-compare__versus-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.08);
  color: var(--brand-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-compare__versus-card h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: rgba(255,255,255,.92);
  margin: 0;
}

.ec-compare__versus-pros,
.ec-compare__versus-cons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ec-compare__versus-pros li,
.ec-compare__versus-cons li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--text-sm);
  line-height: 1.6;
}

.ec-compare__versus-pros li { color: rgba(255,255,255,.70); }
.ec-compare__versus-cons li { color: rgba(255,255,255,.40); }

.ec-compare__versus-pros li svg { color: #4ade80; flex-shrink: 0; margin-top: 3px; }
.ec-compare__versus-cons li svg { color: rgba(255,255,255,.25); flex-shrink: 0; margin-top: 3px; }

.ec-compare__versus-verdict {
  font-size: var(--text-sm);
  line-height: 1.65;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  margin-top: auto;
}

.ec-compare__versus-verdict--6c {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.65);
}

.ec-compare__versus-verdict--8c {
  background: rgba(215,25,32,.12);
  color: rgba(255,255,255,.75);
}

.ec-compare__versus-verdict strong { color: rgba(255,255,255,.92); }

/* ============================================================
   S4 — TECHNICAL SPECIFICATIONS (unified compare table)
   ============================================================ */

.ec-specs {
  padding: var(--sp-7) var(--sp-5);
}

/* Machine image */
.ec-specs__machine-img {
  width: 100%;
  max-height: 750px;
  overflow: hidden;
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-4);
  background: var(--gray-50);
}

.ec-specs__machine-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Table wrapper */
.ec-specs__table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-100);
  margin-bottom: var(--sp-4);
}

/* Base table styles (reused from original) */
.ec-specs__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 640px;
}

/* Compare table — 5-column header */
.ec-specs__table--compare thead tr {
  background: var(--gray-800);
}

.ec-specs__table--compare thead th {
  padding: var(--sp-2) var(--sp-3);
  text-align: left;
  font-weight: 700;
  color: #fff;
  font-size: var(--text-sm);
  vertical-align: bottom;
}

/* First column header (Parameter label) */
.ec-specs__table--compare thead th:first-child {
  color: rgba(255,255,255,.50);
  font-weight: 400;
  width: 220px;
}

/* Flagship column highlight */
.ec-specs__col--flagship {
  background: rgba(215,25,32,.18) !important;
  position: relative;
}

/* Model name + width stacked in header */
.ec-specs__col-model {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
}

.ec-specs__col-width {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.55);
  font-weight: 400;
  margin-top: 2px;
}

.ec-specs__col-flag {
  display: inline-block;
  margin-top: var(--sp-1);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
  border-radius: 100px;
  padding: 1px 7px;
}

/* Table body */
.ec-specs__table--compare tbody tr {
  border-bottom: 1px solid var(--gray-100);
}

.ec-specs__table--compare tbody tr:last-child {
  border-bottom: none;
}

.ec-specs__row--alt {
  background: var(--gray-50);
}

.ec-specs__table--compare td {
  padding: var(--sp-2) var(--sp-3);
  color: var(--gray-600);
  line-height: 1.6;
  vertical-align: middle;
}

.ec-specs__table--compare td:first-child {
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
}

/* Shared (colspan) cells */
.ec-specs__cell--shared {
  color: var(--gray-500);
  font-style: italic;
}

/* Inch annotation */
.ec-specs__inch {
  color: var(--gray-400);
  font-size: var(--text-xs);
}

/* Floor note (amber) */
.ec-specs__floor-note {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  background: rgba(146,64,14,.06);
  border: 1px solid rgba(146,64,14,.15);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-5);
  color: var(--amber-fg);
}

.ec-specs__floor-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.ec-specs__floor-note p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--gray-800);
  margin: 0;
}

.ec-specs__floor-note strong {
  color: var(--amber-fg);
}

/* Width selection guide */
.ec-specs__width-guide {
  margin-bottom: var(--sp-6);
}

.ec-specs__width-guide-title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: var(--sp-3);
}

.ec-specs__width-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.ec-specs__width-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-3);
  position: relative;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.ec-specs__width-card:hover {
  box-shadow: var(--shadow-lift);
  border-color: rgba(215,25,32,.20);
}

.ec-specs__width-card--popular {
  border-color: rgba(215,25,32,.25);
  background: var(--brand-subtle);
}

.ec-specs__width-card--flagship {
  border-color: rgba(215,25,32,.20);
}

.ec-specs__width-popular-tag,
.ec-specs__width-flagship-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
  border-radius: 100px;
  padding: 1px 8px;
  margin-bottom: var(--sp-1);
}

.ec-specs__width-flagship-tag {
  background: var(--gray-800);
}

.ec-specs__width-label {
  display: block;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: var(--sp-1);
}

.ec-specs__width-card p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* Section CTA */
.ec-specs__section-cta {
  text-align: center;
  padding-top: var(--sp-4);
}

.ec-specs__cta-note {
  font-size: var(--text-sm);
  color: var(--gray-400);
  margin-top: var(--sp-2);
  margin-bottom: 0;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 960px) {
  .ec-specs__width-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ec-specs__table--compare thead th:first-child {
    width: 140px;
  }
}

@media (max-width: 600px) {
  .ec-specs__width-grid {
    grid-template-columns: 1fr;
  }

  .ec-specs__machine-img {
    max-height: 260px;
  }
}

/* =============================================================
   S5 — BUILD STANDARD (dark-surface)
   ============================================================= */

.ec-build { padding: var(--sp-7) var(--sp-5); }

.ec-build__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.ec-build__card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.ec-build__card:hover {
  transform: translateY(-3px);
  border-color: rgba(215,25,32,.40);
  background: rgba(255,255,255,.07);
}

.ec-build__card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}

.ec-build__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.ec-build__card:hover .ec-build__card-img img { transform: scale(1.04); }

.ec-build__card-body {
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.ec-build__card-icon {
  width: 40px;
  height: 40px;
  background: rgba(215,25,32,.15);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-mid);
}

.ec-build__card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: rgba(255,255,255,.90);
  margin: 0;
}

.ec-build__card-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* FAT Block */
.ec-build__fat {
  display: grid;
  grid-template-columns: 400px 1fr;
  align-items: stretch;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.ec-build__fat-img {
  overflow: hidden;
  min-height: 260px;
}

.ec-build__fat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ec-build__fat-body {
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  justify-content: center;
}

.ec-build__fat-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-mid);
}

.ec-build__fat-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: rgba(255,255,255,.95);
  margin: 0;
  line-height: 1.3;
}

.ec-build__fat-body p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.58);
  line-height: 1.7;
  margin: 0;
}

.ec-build__fat-certs {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.ec-build__fat-cert {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,.70);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: 4px var(--sp-2);
}

/* =============================================================
   S6 — WHO THIS IS RIGHT FOR
   ============================================================= */

.ec-fit { padding: var(--sp-7) var(--sp-5); }

.ec-fit__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.ec-fit__card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}

.ec-fit__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.ec-fit__card--yes { border: 1px solid var(--gray-100); }
.ec-fit__card--no  { border: 1px solid var(--gray-100); background: var(--gray-50); }

.ec-fit__card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
}

.ec-fit__card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ec-fit__card-icon--yes { background: var(--green-bg); color: var(--green-fg); }
.ec-fit__card-icon--no  { background: var(--gray-100); color: var(--gray-400); }

.ec-fit__card-header h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
  line-height: 1.4;
}

.ec-fit__card p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.ec-fit__verify {
  display: block;
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--amber-fg);
  margin-top: var(--sp-1);
}

.ec-fit__card-signal {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green-fg);
  background: var(--green-bg);
  border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-3);
  line-height: 1.5;
}

.ec-fit__card-signal--redirect {
  background: var(--brand-tint);
}

.ec-fit__redirect-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color .2s ease, gap .2s ease;
}

.ec-fit__redirect-link:hover {
  color: var(--brand-dark);
  gap: 10px;
}

/* After-Sales strip */
.ec-fit__aftersales {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
}

.ec-fit__aftersales-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 var(--sp-4);
}

.ec-fit__aftersales-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.ec-fit__aftersales-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--sp-3);
  align-items: flex-start;
}

.ec-fit__aftersales-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-tint);
  color: var(--brand);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ec-fit__aftersales-item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.ec-fit__aftersales-item p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* =============================================================
   S7 — FAQ (details/summary — RULE H7)
   ============================================================= */

.ec-faq { padding: var(--sp-7) var(--sp-5); }

.ec-faq__list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ec-faq__item summary { list-style: none; }
.ec-faq__item summary::-webkit-details-marker { display: none; }

.ec-faq__item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s ease;
}

.ec-faq__item[open] { border-color: rgba(215,25,32,.35); }

.ec-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(255,255,255,.88);
  cursor: pointer;
  user-select: none;
  transition: color .2s ease, background .2s ease;
}

.ec-faq__q:hover {
  color: #fff;
  background: rgba(255,255,255,.03);
}

.ec-faq__q:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.ec-faq__chevron {
  color: rgba(255,255,255,.40);
  flex-shrink: 0;
  transition: transform .25s ease, color .2s ease;
}

.ec-faq__item[open] .ec-faq__chevron {
  transform: rotate(180deg);
  color: var(--brand-mid);
}

.ec-faq__a {
  padding: 0 var(--sp-4) var(--sp-4);
  border-top: 1px solid rgba(255,255,255,.06);
}

.ec-faq__a p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.58);
  line-height: 1.75;
  margin: var(--sp-3) 0 0;
}

/* =============================================================
   S8 — RELATED
   ============================================================= */

.ec-related { padding: var(--sp-7) var(--sp-5); }

.ec-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.ec-related__card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ec-related__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brand);
}

.ec-related__card--featured {
  border-color: rgba(215,25,32,.15);
}

.ec-related__card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-50);
}

.ec-related__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.ec-related__card:hover .ec-related__card-img img { transform: scale(1.04); }

.ec-related__card-body {
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
  position: relative;
}

.ec-related__card-arrow {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  color: var(--gray-400);
  transition: color .2s ease, transform .2s ease;
}

.ec-related__card:hover .ec-related__card-arrow {
  color: var(--brand);
  transform: translateX(3px);
}

.ec-related__card-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  border-radius: 100px;
  padding: 3px 10px;
  align-self: flex-start;
}

.ec-related__card-tag--compare {
  background: rgba(215,25,32,.12);
  color: var(--brand);
}

.ec-related__card-body h3 {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--gray-800);
  margin: 0;
}

.ec-related__card-body p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* =============================================================
   S9 — FINAL CTA
   ============================================================= */

.ec-cta { padding: var(--sp-8) var(--sp-5); }

.ec-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.ec-cta__content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.ec-cta__title {
  font-size: clamp(28px, 3.5vw, var(--text-3xl));
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.15;
}

.ec-cta__title em {
  font-style: normal;
  color: var(--brand-mid);
}

.ec-cta__desc {
  font-size: var(--text-md);
  color: rgba(255,255,255,.62);
  line-height: 1.7;
  margin: 0;
}

.ec-cta__actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.ec-cta__meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.ec-cta__meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.52);
}

.ec-cta__meta-item svg { color: var(--brand-mid); flex-shrink: 0; }

/* =============================================================
   RESPONSIVE — max-width: 960px
   ============================================================= */

@media (max-width: 960px) {

  .ec-hero { min-height: auto; }
  .ec-hero__inner { padding: var(--sp-7) var(--sp-4); }
  .ec-hero__title { font-size: clamp(28px, 6vw, 42px); }
  .ec-hero__trust { width: 100%; }
  .ec-hero__trust-item { padding: 0 var(--sp-2); }

  .ec-why__scenario { grid-template-columns: 1fr; gap: var(--sp-3); }
  .ec-why__scenario-icon { width: 36px; height: 36px; }
  .ec-why__config-grid { grid-template-columns: 1fr; }
  .ec-why__width-grid { grid-template-columns: 1fr; }

  .ec-compare__versus-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .ec-compare__real-decision { padding: var(--sp-4); }

  .ec-specs__tabs { width: 100%; overflow-x: auto; }
  .ec-specs__tab { flex: 1; min-width: 80px; }
  .ec-specs__width-grid { grid-template-columns: repeat(2, 1fr); }

  .ec-build__grid { grid-template-columns: repeat(2, 1fr); }
  .ec-build__fat { grid-template-columns: 1fr; }
  .ec-build__fat-img { min-height: 220px; }
  .ec-build__fat-body { padding: var(--sp-4); }

  .ec-fit__grid { grid-template-columns: 1fr; }
  .ec-fit__aftersales-grid { grid-template-columns: 1fr; }
  .ec-fit__aftersales { padding: var(--sp-4); }

  .ec-related__grid { grid-template-columns: repeat(2, 1fr); }

  .ec-cta__inner { flex-direction: column; align-items: flex-start; }
  .ec-cta__meta { flex-direction: row; flex-wrap: wrap; gap: var(--sp-3); }
}

/* =============================================================
   RESPONSIVE — max-width: 600px
   ============================================================= */

@media (max-width: 600px) {

  .ec-hero__trust-divider { display: none; }
  .ec-hero__trust-item { padding: 0 var(--sp-1); }
  .ec-hero__cta-group { flex-direction: column; }

  .ec-why__config-stations { gap: 3px; }
  .ec-why__station-label { width: 28px; height: 28px; font-size: 9px; }
  .ec-why__module-title { font-size: var(--text-lg); }
  .ec-why__width-grid { grid-template-columns: 1fr; }

  .ec-compare__table-wrap { font-size: var(--text-xs); }
  .ec-compare__real-decision-header h3 { font-size: var(--text-lg); }

  .ec-specs__width-grid { grid-template-columns: 1fr; }
  .ec-specs__tabs { flex-wrap: wrap; width: 100%; }
  .ec-specs__tab { flex: 1 1 calc(50% - 4px); }

  .ec-build__grid { grid-template-columns: 1fr; }

  .ec-fit__aftersales-item { grid-template-columns: 1fr; }
  .ec-fit__aftersales-icon { display: none; }

  .ec-related__grid { grid-template-columns: 1fr; }

  .ec-cta__title { font-size: var(--text-2xl); }
  .ec-cta__actions { flex-direction: column; }
}

@keyframes cb-hero-breathe {
  0%   { transform: scale(1.00); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1.00); }
}
