:root {
  --bg: #f3f5f8;
  --bg-alt: #e9edf3;
  --text: #17202a;
  --muted: #4d5b6b;
  --accent: #1f4d7a;
  --accent-2: #2a7f62;
  --line: #c9d2dd;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 85% 8%, #dce7f5, transparent 34%),
    linear-gradient(180deg, #f3f5f8 0%, #ecf1f7 100%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

body {
  line-height: 1.5;
}

.topbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6vw;
  backdrop-filter: blur(8px);
  background: rgba(243, 245, 248, 0.86);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f4d7a 0%, #2e679d 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.92rem;
}

.brand-text small {
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 500;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a.nav-current {
  color: var(--accent);
  font-weight: 700;
}

nav a:hover {
  color: #173c61;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.38rem 0.72rem;
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--accent);
  color: #fff;
}

main {
  width: min(1120px, 92vw);
  margin: 0 auto 4rem;
}

.hero {
  padding: 5rem 0 2rem;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  margin: 0.4rem 0 1rem;
  max-width: 900px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}

.page-head h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-top: 0;
}

.page-head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.25rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #173c61;
}

.btn-ghost {
  border-color: #35597d;
  color: #24486d;
}

.btn-ghost:hover {
  background: #e9f0f8;
}

.disclaimer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.6rem 0 2.4rem;
}

.stats article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem;
}

.stats h2 {
  margin: 0;
  font-size: 1.8rem;
}

.stats p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.panel {
  margin: 1rem 0;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
}

.panel.alt {
  background: linear-gradient(135deg, #f7f9fc 0%, #ebf0f6 100%);
}

.section-intro {
  margin: 0 0 1rem;
  color: var(--muted);
}

h2 {
  font-family: "Archivo", sans-serif;
  margin: 0 0 1rem;
  font-size: 1.6rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
}

.card h3,
.faq h3 {
  margin-top: 0;
}

.card p,
.faq p {
  color: var(--muted);
}

.product-cards {
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-thumb {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f3f7fc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem;
  display: block;
  flex: 0 0 220px;
}

.product-card .image-placeholder {
  height: 220px;
  min-height: 220px;
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
}

.epc-feature ul {
  margin-top: 0.7rem;
}

.feature-list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
}

.feature-list li {
  color: var(--text);
}

.spec-table {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.spec-row {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.spec-row + .spec-row {
  border-top: 1px solid var(--line);
}

.spec-row div {
  padding: 0.65rem 0.75rem;
}

.spec-row div:first-child {
  background: #f6f8fb;
  color: #2e4d6f;
  font-weight: 700;
}

.epc-summary {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: start;
}

.epc-hero-image {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.6rem;
}

.epc-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.epc-hero-image figcaption,
.epc-gallery figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.45rem;
}

.epc-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.epc-gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.55rem;
}

.epc-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.product-panels {
  display: grid;
  gap: 1rem;
}

.product-panel {
  display: grid;
  grid-template-columns: 240px 1fr;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.image-placeholder {
  background: linear-gradient(160deg, #d9e4f1 0%, #c8d8e9 100%);
  color: #274564;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}

.image-placeholder img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.product-panel-body {
  padding: 1rem;
}

.product-panel-body h3 {
  margin: 0.2rem 0 0.5rem;
}

.product-panel-body p {
  margin: 0;
  color: var(--muted);
}

.badge {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #e3ecf7;
  color: #214f7d;
}

ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  display: flex;
  gap: 0.9rem;
  align-items: center;
  background: #fff;
}

.steps span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-2);
  color: #fff;
  font-weight: 700;
}

.steps p {
  margin: 0;
}

.faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.faq article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.contact p {
  margin-top: 0;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.form label {
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
  gap: 0.35rem;
}

.form label:last-of-type {
  grid-column: span 2;
}

input,
textarea {
  border: 1px solid #b4c0b1;
  border-radius: 10px;
  padding: 0.65rem;
  font: inherit;
}

button.btn {
  width: fit-content;
}

.contact-links {
  margin-top: 1rem;
}

.contact-links a {
  color: var(--accent);
  font-weight: 700;
}

.inline-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

footer {
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  padding: 1.4rem;
}

@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .topbar-right {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .brand-text small {
    display: none;
  }

  .product-panel {
    grid-template-columns: 1fr;
  }

  .image-placeholder {
    min-height: 140px;
  }

  .epc-summary,
  .epc-gallery {
    grid-template-columns: 1fr;
  }

  .spec-row {
    grid-template-columns: 1fr;
  }

  .cards,
  .faq {
    grid-template-columns: 1fr;
  }

  .two-col,
  .form,
  .stats {
    grid-template-columns: 1fr;
  }

  .form label:last-of-type {
    grid-column: auto;
  }

  .hero-actions {
    flex-wrap: wrap;
  }
}
