/* ==========================================================================
   English edition
   ========================================================================== */

.lang-en {
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Impact", "Segoe UI", sans-serif;
}

.lang-en h1,
.lang-en h2,
.lang-en h3 {
  letter-spacing: -0.015em;
}

.lang-en .hero h1 {
  font-size: clamp(4.4rem, 8.2vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.lang-en .hero-sub {
  font-size: 14px;
  letter-spacing: 0.09em;
}

.lang-en .hero-desc {
  max-width: 520px;
  font-size: 13.5px;
  line-height: 1.85;
}

.lang-en .section-head h2 {
  font-size: clamp(2.5rem, 4.4vw, 4.2rem);
}

.lang-en .biz-body h3 { font-size: 29px; }
.lang-en .biz-body p { font-size: 12.5px; }
.lang-en .contact-copy h2 { font-size: clamp(2.6rem, 4vw, 3.6rem); }

.biz-art-photo {
  overflow: hidden;
  border: 1px solid rgba(14, 18, 22, 0.14);
}
.biz-art-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.03);
  transition: transform 0.5s var(--ease), filter 0.4s var(--ease);
}
.biz-card:hover .biz-art-photo img { transform: scale(1.045); filter: saturate(0.95); }

/* Materials */
.en-material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.en-material-card {
  border: 1px solid var(--line-light);
  background: var(--ink-2);
  color: var(--white);
}
.en-material-card > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.82);
}
.en-material-body { padding: 17px 16px 18px; }
.en-material-body h3 { font-size: 22px; margin-bottom: 5px; }
.en-material-body .en-material-spec { color: rgba(255, 255, 255, 0.55); font-size: 10px; line-height: 1.5; }
.en-material-body .en-material-brands { margin-top: 6px; color: rgba(255, 255, 255, 0.42); font-size: 9px; line-height: 1.55; }
.en-material-body p.en-material-desc { margin-top: 8px; color: rgba(255, 255, 255, 0.54); font-size: 10.5px; line-height: 1.65; }
.en-material-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line-light);
}
.en-material-foot span { color: rgba(255, 255, 255, 0.35); font-size: 8.5px; letter-spacing: .04em; }
.en-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid var(--line-light-strong);
  background: transparent;
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.en-add-btn .icon { width: 12px; height: 12px; }
.en-add-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.en-add-btn.is-added { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.equip-card .en-add-btn {
  border-color: var(--line-strong);
  color: var(--ink);
}
.equip-card .en-add-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Parts brands */
.en-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.en-brand-card {
  position: relative;
  min-height: 155px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.en-brand-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,16,.02), rgba(8,12,16,.89));
}
.en-brand-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .68;
  filter: saturate(.78);
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.en-brand-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 153px;
  padding: 11px 12px;
}
.en-brand-no { color: var(--orange); font-family: var(--font-mono); font-size: 8px; }
.en-brand-body strong { margin-top: auto; font-family: var(--font-display); font-size: 26px; line-height: .95; letter-spacing: .01em; }
.en-brand-body small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.en-brand-body em { margin-top: 3px; color: rgba(255,255,255,.38); font-size: 8px; font-style: normal; }
.en-brand-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.en-brand-card:hover img { transform: scale(1.05); opacity: .8; }
.en-brand-other {
  display: flex;
  align-items: stretch;
  background: var(--paper-2);
  color: var(--ink);
}
.en-brand-other::after { display: none; }
.en-brand-other .en-brand-body { justify-content: flex-end; }
.en-brand-other .en-brand-no { color: var(--orange); }
.en-brand-other strong { font-size: 23px; }
.en-brand-other small { color: var(--muted); }
.en-brand-other em { color: var(--muted-2); }
.en-brand-other:hover { border-color: var(--orange); }

.en-system-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 9px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .1em;
}
.en-system-head span:last-child { text-align: right; }
.part-card-index {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1;
  text-align: right;
}

/* RFQ */
.en-rfq-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(380px, 1.18fr);
  gap: 40px;
  align-items: start;
}
.rfq-panel {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}
.rfq-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.rfq-kicker { color: var(--orange); font-family: var(--font-mono); font-size: 8px; letter-spacing: .14em; }
.rfq-panel h3 { margin-top: 4px; font-size: 25px; }
.rfq-panel h3 b { color: var(--orange); font-family: var(--font-display); font-size: 27px; }
.rfq-clear { border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--muted); font-size: 9px; cursor: pointer; }
.rfq-clear:hover { color: var(--orange); }
.rfq-selected { min-height: 140px; padding: 8px 0; }
.rfq-empty { padding: 32px 6px; color: var(--muted-2); font-size: 10.5px; line-height: 1.8; text-align: center; }
.rfq-empty strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 3px; }
.rfq-chip {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.rfq-chip-main { display: flex; gap: 9px; align-items: baseline; }
.rfq-chip-main span { color: var(--orange); font-family: var(--font-mono); font-size: 8px; }
.rfq-chip-main strong { font-size: 11px; font-weight: 600; line-height: 1.4; }
.rfq-chip button { border: 0; background: none; color: var(--muted-2); font-size: 8px; cursor: pointer; text-decoration: underline; }
.rfq-chip button:hover { color: var(--orange); }
.rfq-panel-note { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--muted-2); font-size: 8.5px; line-height: 1.7; }

.rfq-form-wrap { min-width: 0; }
.en-rfq-form {
  padding: 24px;
  border: 1px solid var(--ink-3);
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 101, 47, .18), transparent 35%),
    var(--ink);
  color: var(--white);
}
.en-rfq-form .form-head { margin-bottom: 17px; }
.en-rfq-form .form-head h3 { font-size: 28px; }
.en-rfq-form .btn-block { margin-top: 2px; }
.en-rfq-form .field { margin-bottom: 12px; }
.en-rfq-form .field textarea { min-height: 102px; }
.rfq-success {
  padding: 34px 26px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}
.rfq-success .success-icon { background: var(--orange); }
.rfq-success h3 { font-size: 32px; }
.rfq-success p { margin-top: 7px; color: var(--muted); font-size: 11px; }
.rfq-success p strong { color: var(--ink); font-family: var(--font-mono); font-size: 11px; }
.rfq-success-note { max-width: 330px; margin-left: auto !important; margin-right: auto !important; line-height: 1.7; }
.rfq-success .success-actions { justify-content: center; }
.rfq-success .btn-outline { border-color: var(--line-strong); color: var(--ink); }
.rfq-success .text-link { color: var(--muted); }

/* Contact */
.en-contact-card {
  padding: 26px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}
.en-contact-kicker { color: var(--orange); font-family: var(--font-mono); font-size: 8px; letter-spacing: .14em; }
.en-contact-card h3 { margin: 6px 0 18px; font-size: 30px; }
.en-contact-card .btn { margin-bottom: 9px; }
.en-contact-card .btn-outline { color: var(--white); border-color: var(--line-light-strong); }
.en-contact-card .btn-outline:hover { color: var(--orange); border-color: var(--orange); }
.en-contact-card p { margin-top: 12px; color: rgba(255,255,255,.45); font-size: 9.5px; line-height: 1.7; }

/* Process: five steps */
.en-process .process-track { grid-template-columns: repeat(5, 1fr); }
.en-process .process-step p { max-width: 180px; }

@media (max-width: 1080px) {
  .en-rfq-layout { grid-template-columns: 1fr; gap: 24px; }
  .rfq-panel { max-width: 720px; }
  .en-brand-grid { grid-template-columns: repeat(3, 1fr); }
  .en-material-grid { grid-template-columns: repeat(2, 1fr); }
  .en-process .process-track { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .lang-en .hero h1 { font-size: clamp(4.1rem, 14vw, 6.4rem); }
  .lang-en .hero-desc { font-size: 12.5px; }
  .en-material-grid { grid-template-columns: 1fr; }
  .en-brand-grid { grid-template-columns: repeat(2, 1fr); }
  .en-process .process-track { grid-template-columns: repeat(2, 1fr); }
  .en-rfq-form { padding: 18px; }
  .rfq-panel { padding: 16px; }
}

@media (max-width: 600px) {
  .lang-en .hero h1 { font-size: clamp(3.7rem, 15vw, 5rem); }
  .lang-en .hero-sub { font-size: 10.5px; line-height: 1.9; }
  .lang-en .biz-body h3 { font-size: 25px; }
  .en-brand-grid { grid-template-columns: repeat(2, 1fr); }
  .en-brand-body strong { font-size: 21px; }
  .en-process .process-track { grid-template-columns: 1fr; }
  .en-contact-card { padding: 18px; }
}
