:root {
  --bg: #0a0e16;
  --bg-soft: #0f1420;
  --surface: #141a28;
  --surface-2: #1a2132;
  --border: #232c40;
  --text: #e9edf5;
  --muted: #97a1b8;
  --primary: #3ddc84;
  --primary-2: #2dd4bf;
  --accent: #2dd4bf;
  --primary-ink: #06170d;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; scroll-padding-top: 68px; }
.hero, .features, .engines, .parts, .contact, .site-footer { scroll-snap-align: start; scroll-snap-stop: always; }
.hero, .features, .engines, .parts, .contact {
  min-height: calc(100vh - 68px); min-height: calc(100dvh - 68px);
  display: flex; flex-direction: column; justify-content: center;
}
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 0.95rem; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--primary-ink);
  box-shadow: 0 8px 24px -8px rgba(61, 220, 132, 0.6);
}
.btn-primary:hover { box-shadow: 0 12px 30px -8px rgba(61, 220, 132, 0.85); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 22, 0.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.04em; transition: color 0.5s ease; }
.site-header.home .logo { color: var(--primary); }
.logo-mark { width: 26px; height: 26px; flex: 0 0 26px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--muted); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-links a.blink { color: var(--primary); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  background: transparent; border: 0; color: var(--muted); font-weight: 600; font-size: 0.8rem;
  padding: 7px 11px; cursor: pointer; transition: 0.2s; font-family: inherit;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { background: var(--primary); color: var(--primary-ink); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }

/* Hero */
.hero {
  position: relative; padding: 96px 0 72px; text-align: center;
  background:
    radial-gradient(800px 400px at 50% -10%, rgba(61, 220, 132, 0.20), transparent 70%),
    radial-gradient(600px 300px at 80% 10%, rgba(45, 212, 191, 0.10), transparent 70%);
}
.eyebrow {
  display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--primary-2);
  background: rgba(61, 220, 132, 0.08); border: 1px solid rgba(61, 220, 132, 0.22);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-2), #7df0c6);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* Hero CTA buttons: ghost by default, turn green (primary) on hover */
.hero-cta .btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--primary-ink); border-color: transparent;
  box-shadow: 0 12px 30px -8px rgba(61, 220, 132, 0.85);
}
.lede { max-width: 640px; margin: 22px auto 0; font-size: 1.15rem; color: var(--muted); }
.lede strong { color: var(--text); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }
.hero-stats { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.hero-stats span { color: var(--muted); font-size: 0.9rem; margin-top: 2px; white-space: nowrap; }

/* Trust strip */
.logos { padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos-label { text-align: center; color: var(--muted); font-size: 0.85rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.08em; }
.logos-row { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; font-weight: 700; font-size: 1.2rem; color: var(--muted); opacity: 0.7; }

/* Section heads */
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin-top: 14px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* Services / feature grid */
.features { padding: 56px 0; }
.features .section-head { margin-bottom: 32px; }
.feature-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.feature-card {
  flex: 0 1 calc(33.333% - 11px); min-width: 230px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(61, 220, 132, 0.5); background: var(--surface-2); }
.feature-icon {
  width: 42px; height: 42px; display: grid; place-items: center; font-size: 1.3rem; border-radius: 11px;
  background: linear-gradient(135deg, rgba(61, 220, 132, 0.18), rgba(45, 212, 191, 0.12)); margin-bottom: 12px;
}
.feature-icon.wrenches { font-size: 0.82rem; letter-spacing: -2px; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature-card p { color: var(--muted); font-size: 0.92rem; }

/* Engines */
.engines { padding: 36px 0 28px; background: var(--bg-soft); justify-content: flex-start; }
/* burning gas flame replacing the dot of the "i" in the engines heading */
@property --ifill { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.flame-i {
  position: relative; display: inline-block;
  background-image: linear-gradient(to top, #3ddc84 var(--ifill), #ffffff var(--ifill));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* when the chapter is in view: fill the "i" green from bottom to top */
.engines.lit .flame-i { animation: iFill 2s ease 0.15s both; }
@keyframes iFill { from { --ifill: 0%; } to { --ifill: 100%; } }
.flame {
  position: absolute; left: 50%; bottom: 1.12em; transform: translateX(-50%);
  width: 0.25em; height: 0.37em; transform-origin: 50% 100%;
  filter: drop-shadow(0 0 3px rgba(255, 140, 60, 0.85));
  opacity: 0;
}
/* after the fill: the dot lights up and burns continuously */
.engines.lit .flame { animation: flameIgnite 0.8s ease 2.1s forwards, gasflicker 0.5s ease-in-out 2.1s infinite alternate; }
@keyframes flameIgnite { from { opacity: 0; } to { opacity: 1; } }
@keyframes gasflicker {
  0% { transform: translateX(-50%) scale(0.9, 0.88); }
  100% { transform: translateX(-50%) scale(1.06, 1.16); }
}
.engines .section-head { margin-bottom: 22px; }
.engine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.engine-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
}
.engine-card { transition: border-color 0.25s ease, transform 0.2s ease; }
.engine-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.engine-card h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.engine-power { color: var(--primary-2); font-weight: 700; margin: 4px 0 8px; }
.engine-card > p { color: var(--muted); margin-bottom: 18px; }
.engine-card ul { list-style: none; display: grid; gap: 8px; }
.engine-card li { position: relative; padding-left: 24px; }
.engine-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
/* B&W engine photo — picture only, no frame, no grid */
.engine-photo {
  aspect-ratio: 16 / 9; margin: 6px 0 10px; background: transparent;
}
.engine-photo img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  filter: grayscale(1) contrast(1.32) brightness(1.08);
}
.engine-card:hover .engine-photo img { filter: grayscale(1) contrast(1.4) brightness(1.14); }
/* Engine media slideshow: B&W render slide (with typewriter) + colour repair photos */
.eng-media { position: relative; aspect-ratio: 16 / 9; margin: 6px 0 10px; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.eng-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.eng-slide.active { opacity: 1; }
.eng-slide img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); }
.eng-slide-render img { object-fit: contain; filter: grayscale(1) contrast(1.32) brightness(1.08); }
.eng-typer {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 4;
  font-family: ui-monospace, "Courier New", monospace; font-size: 0.96rem; line-height: 1.4;
  color: #66ffa6; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 9px rgba(102, 255, 166, 0.6);
  opacity: 0; transition: opacity 0.2s ease; pointer-events: none;
}
.eng-media.typing .eng-typer { opacity: 1; }
.tw-caret { color: #66ffa6; animation: twcaret 0.8s step-end infinite; }
@keyframes twcaret { 50% { opacity: 0; } }
.engine-card .badge {
  position: absolute; top: -13px; left: 50%; z-index: 5;
  transform: translateX(-50%) translateY(5px);
  background: var(--primary); color: #06140d; border: 1.5px solid var(--primary-2);
  font-size: 0.78rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.engine-card:hover .badge { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.engine-msg {
  position: absolute; top: -13px; left: 50%; z-index: 6;
  transform: translateX(-50%) translateY(5px);
  background: var(--primary); color: #06140d; border: 1.5px solid var(--primary-2);
  font-size: 0.78rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.engine-msg.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.engines-note { text-align: center; color: var(--muted); margin-top: 32px; font-size: 0.95rem; }
.genset-head { text-align: center; font-size: 1.1rem; margin-top: 34px; color: var(--text); }
.genset-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.genset-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; transition: border-color 0.2s, transform 0.2s; }
.genset-card:hover { border-color: rgba(61, 220, 132, 0.5); transform: translateY(-3px); }
.genset-card .engine-art { margin: 0; }
.genset-card figcaption { text-align: center; font-weight: 600; font-size: 0.85rem; color: var(--text); margin-top: 8px; }
@media (max-width: 940px) { .genset-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .genset-gallery { grid-template-columns: 1fr; } }

.engine-offer {
  display: flex; gap: 18px; align-items: center; margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 24px;
}
.engine-offer h3 { font-size: 1.2rem; margin-bottom: 6px; }
.es-num { display: inline-block; transition: color 0.25s ease, transform 0.25s ease; transform-origin: center; }
.es-num.lit { color: var(--primary); font-weight: 700; transform: scale(1.1); }
.engine-offer p { color: var(--muted); }
.svc-abbr { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 16px; }

/* Futuristic engine illustration */
.engine-art { width: 100%; height: auto; display: block; margin: 8px 0 16px; }
.engine-art .blk { fill: rgba(61, 220, 132, 0.08); stroke: var(--primary-2); stroke-width: 1.6; }
.engine-art .head { fill: rgba(45, 212, 191, 0.10); stroke: var(--primary); stroke-width: 1.5; }
.engine-art .base { fill: rgba(255, 255, 255, 0.03); stroke: var(--primary); stroke-width: 1.4; }
.engine-art .ln { fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; opacity: 0.85; }
.engine-art .ln2 { fill: none; stroke: var(--primary-2); stroke-width: 1.4; opacity: 0.7; }
.engine-art .dot { fill: var(--primary-2); }
.engine-art .scan { fill: none; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.2; }

/* Alternating light chapters (black/white mix) */
section.light { background: #ffffff; }
section.light .section-head h2 { color: #0a0e16; }
section.light .section-head p { color: #475264; }
section.light .feature-card { background: #ffffff; border-color: #e3e8ee; }
section.light .feature-card:hover { background: #f6f8fa; border-color: rgba(61, 220, 132, 0.6); }
section.light .feature-card h3 { color: #0a0e16; }
section.light .feature-card p { color: #475264; }
section.light .svc-abbr { color: #5a6678; }
section.light .part-swipe { background-color: #ffffff; border-color: #e3e8ee; }
section.light .part-block figcaption { color: #06140d; }
section.light .pslide-ph { color: #6b7480; }
section.light .psw-dots span { background: rgba(0, 0, 0, 0.3); }
section.light .psw-dots span.active { background: #000000; }

/* Parts */
.parts { padding: 36px 0 28px; justify-content: flex-start; }
.parts .section-head { margin-bottom: 22px; }
.parts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.part-block { position: relative; transition: transform 0.2s; }
.part-block:hover { transform: translateY(-3px); }
.part-swipe {
  position: relative; aspect-ratio: 6 / 5; display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  touch-action: pan-x; overscroll-behavior-x: contain;
  border: 1px solid var(--border); border-radius: var(--radius);
  background-color: var(--surface);
  background-image: url("assets/watermark.svg"); background-repeat: repeat; background-size: 142px 71px;
  scrollbar-width: none; transition: border-color 0.2s; cursor: pointer;
}
.part-swipe::-webkit-scrollbar { display: none; }
.part-block:hover .part-swipe { border-color: rgba(61, 220, 132, 0.5); }
.pslide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; overflow: hidden; }
.pslide-ph { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.pslide video.clip { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.part-block figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 20px 10px 8px; text-align: center; font-weight: 700; font-size: 0.85rem;
  color: #06140d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.9));
  border-radius: 0 0 var(--radius) var(--radius);
}
.psw-dots { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 5; display: flex; gap: 7px; justify-content: center; }
.psw-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(0, 0, 0, 0.3); cursor: pointer; transition: background 0.3s ease, transform 0.3s ease; }
.psw-dots span:hover { background: rgba(0, 0, 0, 0.55); }
.psw-dots span.active { background: #000000; transform: scale(1.3); }
@media (max-width: 900px) { .parts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .parts-grid { grid-template-columns: 1fr; } }
.parts-source { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.source-tag {
  font-weight: 600; font-size: 0.95rem; padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(61, 220, 132, 0.12), rgba(45, 212, 191, 0.08));
  border: 1px solid var(--border);
}

/* Why */
.why { padding: 96px 0; background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
}
.why-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 0.95rem; }

/* Contact */
.contact { padding: 96px 0; }
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: linear-gradient(135deg, rgba(61, 220, 132, 0.10), rgba(45, 212, 191, 0.06));
  border: 1px solid var(--border); border-radius: 24px; padding: 48px;
}
.contact-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.02em; }
.contact-text > p { color: var(--muted); margin: 14px 0 26px; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list span { font-size: 1.2rem; }
.contact-list a:hover { color: var(--primary-2); }
.contact-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 0.95rem; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.15);
}
.form-status { font-size: 0.9rem; color: var(--accent); min-height: 1.2em; text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 26px 0; background: var(--bg-soft); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-company { text-align: right; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.footer-company p { margin: 0; }
.footer-company .fc-name { color: var(--text); font-weight: 700; font-size: 0.95rem; }
.footer-brand p { color: var(--muted); margin-top: 12px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h4 { font-size: 0.9rem; margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--muted); margin-bottom: 10px; transition: color 0.2s; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .engine-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .engine-card.featured { transform: none; }
  .contact-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 12px 24px;
  }
  .site-header.open .nav-links a { padding: 12px 0; }
  .hero-stats { gap: 32px; }
}
@media (max-width: 560px) {
  .feature-grid, .why-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}


/* 10-language dropdown switcher */
.lang-switch select#langSelect{
  -webkit-appearance:none;appearance:none;
  background-color:rgba(255,255,255,.06);color:inherit;
  border:1px solid rgba(255,255,255,.20);border-radius:8px;
  padding:6px 28px 6px 12px;font:inherit;font-size:.82rem;font-weight:600;
  letter-spacing:.04em;cursor:pointer;line-height:1.2;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233ddc84' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 9px center;
}
.lang-switch select#langSelect:hover{border-color:var(--primary,#3ddc84)}
.lang-switch select#langSelect:focus{outline:none;border-color:var(--primary,#3ddc84);box-shadow:0 0 0 2px rgba(61,220,132,.25)}
.lang-switch select#langSelect option{background:#12160f;color:#e9f0ea}

/* Equipment block (engines chapter reworked) */
.engines .engine-card.equip-block{ grid-column:1 / -1; }
.equip-gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:12px 0 16px; }
.equip-gallery img{ width:100%; aspect-ratio:16/10; object-fit:contain; filter:grayscale(1) contrast(1.3) brightness(1.08); }
@media (max-width:640px){ .equip-gallery{ grid-template-columns:1fr; } }

/* Equipment chapter: 3 blocks with auto-rotating slideshows */
.engines .equip-grid{ grid-template-columns:repeat(3,1fr); align-items:start; }
.slideshow{ position:relative; aspect-ratio:16/10; margin:10px 0 14px; border-radius:var(--radius); overflow:hidden; background:var(--bg-soft); }
.slideshow img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; transition:opacity .8s ease; }
.slideshow img.active{ opacity:1; }
.slideshow:not(.slideshow-icon) img{ filter:grayscale(1) contrast(1.3) brightness(1.08); }
.slideshow-photo{ background:#fff; }
.slideshow-photo img{ padding:0; }
@media (max-width:640px){ .engines .equip-grid{ grid-template-columns:1fr; max-width:440px; margin:0 auto; } }

/* Power-generation block: portrait frame so the vertical photos fit */
.slideshow-portrait{ aspect-ratio:3/4; }
.slideshow-portrait img{ object-fit:cover; }
