* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Courier New', Courier, monospace;
  background-color: #ffffff;
  min-height: 100vh;
  padding: 70px 20px 40px;
}

/* ══════════════════════════════════════
   TOP BAR  (lang + hamburger)
══════════════════════════════════════ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 20px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  z-index: 200;
}

/* ── Language buttons ── */
.lang-bar {
  display: flex;
  gap: 6px;
}

.lang-btn {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border: 1px solid #bbb;
  border-radius: 3px;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lang-btn:hover {
  background: #f0f0f0;
  border-color: #888;
}

.lang-btn.active {
  background: #333;
  color: #fff;
  border-color: #333;
}

/* ── Hamburger ── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: 1px solid #bbb;
  border-radius: 3px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: background 0.2s;
}

.hamburger:hover span {
  background: #000;
}

/* ══════════════════════════════════════
   NAV OVERLAY
══════════════════════════════════════ */
.nav-overlay {
  position: fixed;
  top: 52px;
  right: -260px;
  width: 220px;
  background: #fff;
  border-left: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 0 24px;
  z-index: 300;
  transition: right 0.3s ease;
  box-shadow: -4px 4px 16px rgba(0,0,0,0.08);
}

.nav-overlay.open {
  right: 0;
}

.nav-close {
  display: block;
  margin-left: auto;
  margin-right: 16px;
  margin-bottom: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #555;
  line-height: 1;
}

.nav-link {
  display: block;
  padding: 12px 24px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover {
  background: #f5f5f5;
  color: #000;
}

.nav-link.active {
  color: #000;
  border-left: 3px solid #333;
  padding-left: 21px;
}

/* ══════════════════════════════════════
   HOME – 2-column grid
══════════════════════════════════════ */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 32px 48px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}

.cell {
  min-width: 0;
}

/* ── Logo ── */
.logo {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}

/* ── Slider ── */
.slider-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.slider-section {
  flex: 1;
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease;
}

.slider-track a {
  width: calc(100% / 3);
  flex-shrink: 0;
  display: block;
}

.slider-track a img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-btn {
  background: #ddd;
  color: #333;
  border: none;
  padding: 10px 14px;
  font-size: 26px;
  cursor: pointer;
  border-radius: 4px;
  line-height: 1;
  flex-shrink: 0;
}

.slider-btn:hover { background: #bbb; }

.slider-dots {
  text-align: center;
  margin-top: 10px;
}

.slider-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bbb;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots span.active { background: #333; }

/* ── Home text ── */
.text-cell h1 {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  color: #111;
  line-height: 1.25;
  margin-bottom: 16px;
}

.text-cell h2 {
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 700;
  color: #222;
  line-height: 1.3;
  margin-bottom: 10px;
}

.text-cell p {
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.75;
  color: #444;
}

.spacer { height: 20px; }

/* ══════════════════════════════════════
   SUBPAGES (Industries, Legal)
══════════════════════════════════════ */
.subpage {
  max-width: 800px;
  margin: 0 auto;
}

.subpage .logo {
  max-width: 380px;
  margin-bottom: 40px;
}

.subpage h1 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: #111;
  margin-bottom: 24px;
  line-height: 1.2;
}

.subpage h2 {
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.subpage p {
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.8;
  color: #444;
}

.legal-address {
  font-style: normal;
  line-height: 2;
}

.legal-address a {
  color: #333;
  text-decoration: underline;
}

.legal-address a:hover {
  color: #000;
}

/* ══════════════════════════════════════
   RESPONSIVE – smartphone
══════════════════════════════════════ */
@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Text first, slider below */
  .logo-cell               { order: 1; }
  .grid > .cell:nth-child(2) { display: none; }
  .text-cell               { order: 2; }
  .slider-cell             { order: 3; }

  .text-cell h1 { font-size: clamp(20px, 5vw, 26px); }

  .nav-overlay {
    width: 100%;
    right: -100%;
  }
}
