:root {
  --bg-0: #06131a;
  --bg-1: #0a1f2b;
  --panel: rgba(9, 31, 43, 0.72);
  --panel-strong: rgba(7, 24, 34, 0.92);
  --line: rgba(141, 201, 219, 0.25);
  --line-strong: rgba(141, 201, 219, 0.5);
  --text: #e7f5fa;
  --text-soft: #b8d6df;
  --brand: #24b1d1;
  --brand-strong: #1d8eb4;
  --accent: #84d4c9;
  --ok: #a8e0c4;
  --warning: #ffd998;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-size: 16px;
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(36, 177, 209, 0.22), transparent 34%),
    radial-gradient(circle at 90% 70%, rgba(132, 212, 201, 0.16), transparent 30%),
    linear-gradient(145deg, var(--bg-0), var(--bg-1));
}

body {
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

body::before {
  inset: 0;
  background-image: linear-gradient(rgba(132, 212, 201, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 212, 201, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 46%, transparent 100%);
}

body::after {
  width: 320px;
  height: 320px;
  right: -110px;
  top: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 177, 209, 0.28), transparent 68%);
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  row-gap: 10px;
  padding: 12px 20px;
  background: rgba(13, 32, 44, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(141, 201, 219, 0.2);
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  color: #f2fcff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.nav-brand {
  padding: 0;
  margin-right: 0;
  border-radius: 0;
  flex-shrink: 0;
}

.nav-brand img {
  display: block;
  width: auto;
  height: 40px;
  max-width: min(400px, 48vw);
  object-fit: contain;
}

.nav-brand:hover {
  background: transparent;
  transform: none;
}

nav a:hover {
  background: rgba(132, 212, 201, 0.18);
  transform: translateY(-1px);
}

nav a.active {
  background: linear-gradient(90deg, var(--brand-strong), var(--brand));
  box-shadow: 0 6px 18px rgba(36, 177, 209, 0.35);
}

nav a.shop {
  margin-left: 0;
}

.lang-selector {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  position: relative;
}

.lang-selector button {
  color: white;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 6px 8px;
  gap: 8px;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.24s ease, transform 0.24s ease;
}

.lang-selector button img {
  width: 22px;
  height: 16px;
  display: block;
  object-fit: cover;
}

.lang-selector button:hover {
  background: rgba(132, 212, 201, 0.16);
  transform: translateY(-1px);
}

.lang-selector button.active {
  background: rgba(132, 212, 201, 0.18);
}

.lang-current {
  min-width: 78px;
}

.lang-popup {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(7, 24, 34, 0.95);
  border: 1px solid rgba(141, 201, 219, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.lang-popup[hidden] {
  display: none;
}

.lang-popup button {
  width: 78px;
  justify-content: flex-start;
}

.lang-code {
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text);
}

.page-shell {
  width: min(1120px, 92vw);
  margin: 34px auto 56px;
  display: grid;
  gap: 24px;
}

.hero-panel,
.highlight-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: 38px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 212, 201, 0.32), transparent 70%);
}

.hero-open {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 26px 0;
}

.hero-open::after {
  content: none;
}

.hero-eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

.hero-title {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  max-width: 18ch;
}

.hero-copy {
  color: var(--text-soft);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 60ch;
}

.cta-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  color: #04202a;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.hero-graphic {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
}

.hero-photo-wrap {
  align-self: stretch;
  min-height: 320px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(141, 201, 219, 0.28);
}

.hero-logo-mark {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: none;
  display: block;
}

.hero-workbench-wrap {
  min-height: 320px;
  position: relative;
}

.hero-workbench-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(9, 31, 43, 0.08), rgba(9, 31, 43, 0.3));
  pointer-events: none;
}

.hero-workbench {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.04);
}

.hero-contact-workbench {
  object-position: center 18%;
  filter: saturate(0.92) contrast(1.03) brightness(0.95);
}

.stats-grid,
.cards-grid,
.process-grid {
  display: grid;
  gap: 16px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.stat-card {
  padding: 10px 4px 0;
  background: transparent;
  border-top: 1px solid var(--line-strong);
}

.stat-value {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: var(--ok);
  font-weight: 700;
}

.stat-label {
  margin-top: 6px;
  color: var(--text-soft);
}

.section-panel {
  padding: 10px 4px;
  position: relative;
}

.section-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.section-heading {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.section-copy {
  color: var(--text-soft);
  margin-top: 12px;
  line-height: 1.72;
}

.cards-grid {
  margin-top: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.home-stat {
  padding: 8px 8px 8px 0;
}

.home-stat + .home-stat {
  border-left: 1px solid rgba(141, 201, 219, 0.22);
  padding-left: 18px;
}

.home-services {
  padding: 10px 0;
}

.home-service-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.home-service-item {
  padding: 10px 0 10px 14px;
  border-left: 1px solid var(--line-strong);
}

.consumer-showcase {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1fr;
  gap: 24px;
  align-items: center;
}

.consumer-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.consumer-heading {
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}

.section-open {
  padding: 8px 0;
}

.section-open::before {
  left: 0;
  right: 0;
}

.open-list {
  gap: 24px;
}

.open-item {
  padding: 10px 0 10px 14px;
  border-left: 1px solid var(--line-strong);
  background: transparent;
}

.highlight-open {
  border: none;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 10px 0;
}

.feature-card,
.process-card,
.material-card {
  padding: 8px 0 8px 14px;
  background: transparent;
  border-left: 1px solid var(--line-strong);
}

.card-title {
  font-size: 1.08rem;
  margin-top: 10px;
}

.card-copy {
  color: var(--text-soft);
  margin-top: 10px;
  line-height: 1.65;
}

.icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(132, 212, 201, 0.28), rgba(36, 177, 209, 0.2));
  border: 1px solid rgba(132, 212, 201, 0.55);
}

.highlight-panel {
  padding: 26px;
  background:
    linear-gradient(130deg, rgba(36, 177, 209, 0.2), rgba(132, 212, 201, 0.14)),
    var(--panel-strong);
}

.inline-link {
  color: #95f3e5;
  text-underline-offset: 3px;
}

.inline-link:hover {
  color: #b7fff4;
}

.section-copy a,
.card-copy a,
.highlight-panel a,
.highlight-open a {
  color: #95f3e5;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.section-copy a:visited,
.card-copy a:visited,
.highlight-panel a:visited,
.highlight-open a:visited {
  color: #95f3e5;
}

.section-copy a:hover,
.card-copy a:hover,
.highlight-panel a:hover,
.highlight-open a:hover {
  color: #b7fff4;
}

.list-clean {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.list-clean li {
  color: var(--text-soft);
  position: relative;
  padding-left: 26px;
  line-height: 1.55;
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), var(--brand));
  box-shadow: 0 0 0 3px rgba(132, 212, 201, 0.16);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-panel {
  padding: 6px 0 6px 14px;
  border-left: 1px solid var(--line-strong);
}

.mail-link {
  display: inline-block;
  margin-top: 8px;
  color: #8ff3e5;
  font-size: 1.2rem;
  text-decoration: none;
}

.mail-link:hover {
  text-decoration: underline;
}

.contact-form {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.form-status {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(141, 201, 219, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.92rem;
}

.form-status.is-success {
  border-color: rgba(168, 224, 196, 0.45);
  background: rgba(168, 224, 196, 0.1);
}

.form-status.is-error {
  border-color: rgba(255, 179, 179, 0.45);
  background: rgba(255, 179, 179, 0.08);
}

.contact-form label {
  color: var(--text);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(141, 201, 219, 0.35);
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.file-dropzone {
  position: relative;
  border: 1px dashed rgba(141, 201, 219, 0.5);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  min-height: 74px;
  display: grid;
  place-items: center;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.file-dropzone:hover,
.file-dropzone:focus-within,
.file-dropzone.drag-active {
  border-color: var(--accent);
  background: rgba(132, 212, 201, 0.1);
  box-shadow: 0 0 0 3px rgba(132, 212, 201, 0.16);
}

.file-dropzone-label {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.file-dropzone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(132, 212, 201, 0.2);
}

.contact-form button {
  justify-self: start;
  margin-top: 4px;
}

.form-help {
  margin: -2px 0 2px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.form-file-feedback {
  margin: 8px 0 0;
  color: #aee9de;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 600;
}

.form-file-feedback[hidden] {
  display: none;
}

.form-file-list {
  margin: 2px 0 4px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.form-file-list:empty {
  display: none;
}

.form-file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(141, 201, 219, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.file-name {
  color: var(--text-soft);
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-remove {
  border: 1px solid rgba(141, 201, 219, 0.45);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  cursor: pointer;
}

.file-remove:hover {
  background: rgba(132, 212, 201, 0.14);
  border-color: var(--accent);
}

.process-grid {
  margin-top: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.svg-fit {
  width: 100%;
  max-width: 430px;
  height: auto;
}

.fade-rise {
  animation: fade-rise 0.7s ease both;
}

.fade-delay-1 {
  animation-delay: 0.14s;
}

.fade-delay-2 {
  animation-delay: 0.26s;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-logo-wrap {
    display: none;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .stats-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: 100%;
  }

  .home-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .consumer-showcase {
    grid-template-columns: 1fr;
  }

  .home-stat + .home-stat {
    border-left: none;
    border-top: 1px solid rgba(141, 201, 219, 0.22);
    padding-left: 0;
    padding-top: 14px;
  }
}

@media (max-width: 768px) {
  nav .nav-link {
    padding: 8px 15px;
    font-size: 14px;
    min-height: 36px;
  }

  .nav-brand img {
    height: 54px;
  }

  .page-shell {
    width: min(1120px, 94vw);
    margin: 24px auto 38px;
  }

  .section-panel,
  .highlight-panel,
  .contact-panel {
    padding: 22px;
  }

  .feature-card,
  .process-card,
  .material-card,
  .contact-panel {
    padding: 4px 0 4px 12px;
  }

  .hero-copy,
  .card-copy,
  .section-copy,
  .list-clean li {
    font-size: 15px;
  }
}

@media (min-width: 769px) {
  .nav-brand img {
    height: 75px;
  }
}

@media (max-width: 480px) {
  html,
  body {
    font-size: 14px;
  }

  nav {
    gap: 10px;
    padding: 15px;
  }

  nav .nav-link {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 34px;
  }

  .nav-brand {
    margin-right: 0;
  }

  .nav-brand img {
    height: 44px;
  }

  .lang-selector {
    width: 100%;
    justify-content: center;
    order: 100;
  }

  .lang-popup {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-panel {
    padding: 22px;
  }

  .hero-open {
    padding: 12px 0;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-graphic {
    min-height: 240px;
  }

  .hero-photo {
    max-height: 280px;
  }
}
